:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --bg-soft: #111113;
  --panel: rgba(24, 24, 27, 0.94);
  --panel-solid: #18181b;
  --text: #f5f5f2;
  --muted: #b8b8b3;
  --faint: #90908b;
  --line: rgba(245, 245, 242, 0.14);
  --line-strong: rgba(245, 245, 242, 0.3);
  --accent-fill: #ffd84d;
  --accent-fill-hover: #ffe26a;
  --accent-text: #ffe26a;
  --accent-soft: rgba(255, 216, 77, 0.12);
  --accent-foreground: #171300;
  --focus-ring: #ffe26a;
  --success: #65b49b;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.56);
  --radius: 3px;
  font-family: "Segoe UI Variable", "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M48 0H0V48' fill='none' stroke='%23303034' stroke-opacity='.34'/%3E%3C/svg%3E");
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 0;
  background: var(--accent-fill);
  color: var(--accent-foreground);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(18px);
}
.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: min(18vw, 220px);
  height: 2px;
  background: var(--accent-fill);
  content: "";
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 780; letter-spacing: 0.015em; text-decoration: none; }
.brand img { width: 34px; height: 34px; flex: 0 0 34px; object-fit: contain; }
.brand-badge {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 1px;
  color: var(--accent-text);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.76rem; letter-spacing: 0.055em; text-transform: uppercase; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--accent-text); }
.nav-cta { padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 1px; color: var(--text) !important; background: var(--accent-soft); }

.hero { padding: 104px 0 70px; text-align: center; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before { margin-right: 9px; color: var(--accent-text); content: "//"; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 890px; margin: 0 auto; font-size: clamp(3rem, 8vw, 6.5rem); line-height: 0.95; letter-spacing: -0.055em; }
.hero-copy { max-width: 760px; margin: 28px auto 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.actions { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 19px;
  border: 1px solid var(--line-strong);
  border-radius: 1px;
  background: var(--panel-solid);
  box-shadow: inset 3px 0 0 var(--line-strong);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.button:hover { border-color: var(--accent-fill); background: var(--bg-soft); transform: translateY(-2px); }
.button.primary { border-color: var(--accent-fill); background: var(--accent-fill); box-shadow: inset 3px 0 0 rgba(23, 19, 0, 0.22); color: var(--accent-foreground); }
.button.primary:hover { background: var(--accent-fill-hover); }
.proof { margin: 28px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; color: var(--faint); font-size: 0.83rem; }
.proof span::before { content: ""; width: 7px; height: 7px; display: inline-block; margin-right: 8px; background: var(--accent-fill); vertical-align: 0.08em; }

.product-frame {
  position: relative;
  margin: 66px auto 0;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.product-frame::before { position: absolute; top: -1px; left: 10%; width: 18%; height: 3px; background: var(--accent-fill); content: ""; }
.product-frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 0; background: var(--bg-soft); }
.product-frame figcaption { padding: 12px 8px 3px; color: var(--faint); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.72rem; letter-spacing: 0.025em; }

.section { padding: 96px 0; }
.section-heading { max-width: 720px; margin-bottom: 40px; padding-left: 18px; border-left: 3px solid var(--accent-fill); }
.section h2 { margin: 0; font-size: clamp(2.15rem, 5vw, 4rem); line-height: 1.03; letter-spacing: -0.045em; }
.section-intro { margin: 18px 0 0; color: var(--muted); font-size: 1.06rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { position: relative; min-height: 230px; overflow: hidden; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.card::before { position: absolute; top: 0; left: 0; width: 52px; height: 3px; background: var(--accent-fill); content: ""; }
.card-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 44px; border: 1px solid var(--line-strong); border-radius: 0; background: var(--bg-soft); color: var(--accent-text); font-size: 1.15rem; }
.card h3 { margin: 0 0 10px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.trust-panel { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; padding: clamp(28px, 6vw, 64px); border: 1px solid var(--line-strong); border-radius: 0; background: var(--panel-solid); clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
.trust-panel h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.trust-list { display: grid; gap: 20px; }
.trust-item { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.trust-mark { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--success) 55%, var(--line)); border-radius: 0; background: color-mix(in srgb, var(--success) 10%, transparent); color: var(--success); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-weight: 800; }
.trust-item h3, .trust-item p { margin: 0; }
.trust-item p { margin-top: 4px; color: var(--muted); font-size: 0.92rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step { position: relative; padding: 30px 36px 12px 0; border-top: 1px solid var(--line-strong); counter-increment: step; }
.step::before { content: "0" counter(step); display: block; margin-bottom: 44px; color: var(--accent-text); font-size: 0.78rem; font-weight: 780; letter-spacing: 0.12em; }
.step h3 { margin: 0 0 10px; }
.step p { margin: 0; color: var(--muted); }
.community { padding: clamp(30px, 7vw, 72px); border: 1px solid var(--line-strong); border-radius: 0; background: var(--panel-solid); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px)); text-align: center; }
.community p { max-width: 680px; margin: 18px auto 0; color: var(--muted); }

.link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.topic-card { position: relative; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); text-decoration: none; transition: transform 160ms ease, border-color 160ms ease; }
.topic-card::after { position: absolute; top: 12px; right: 14px; color: var(--accent-text); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.68rem; content: "//"; }
.topic-card:hover { border-color: var(--accent-fill); box-shadow: inset 3px 0 0 var(--accent-fill); transform: translateY(-2px); }
.topic-card strong { font-size: 1.16rem; }
.topic-card span { color: var(--muted); font-size: 0.93rem; }

.content-page { padding: 78px 0 110px; }
.content-page article { max-width: 840px; }
.content-page h1 { max-width: 830px; margin: 0; font-size: clamp(2.8rem, 7vw, 5.4rem); }
.content-lead { margin: 28px 0 52px; color: var(--muted); font-size: 1.18rem; }
.content-page h2 { margin: 52px 0 14px; font-size: clamp(1.75rem, 4vw, 2.7rem); line-height: 1.1; letter-spacing: -0.035em; }
.content-page h3 { margin: 28px 0 8px; font-size: 1.22rem; }
.content-page p, .content-page li { color: var(--muted); }
.content-page li + li { margin-top: 9px; }
.content-page .actions { justify-content: flex-start; }
.comparison { width: 100%; margin: 28px 0; border: 1px solid var(--line); border-collapse: collapse; background: var(--panel-solid); }
.comparison th, .comparison td { padding: 15px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison th { color: var(--accent-text); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.82rem; letter-spacing: 0.03em; text-transform: uppercase; }
.comparison td { color: var(--muted); }
.disclaimer { margin-top: 52px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 0; background: var(--panel-solid); color: var(--faint) !important; font-size: 0.86rem; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 24px 4px; cursor: pointer; font-size: 1.08rem; font-weight: 680; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { float: right; color: var(--accent-text); content: "+"; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 850px; margin: -6px 0 24px; color: var(--muted); }

.site-footer { margin-top: 44px; padding: 40px 0 52px; border-top: 1px solid var(--line); background: var(--bg); color: var(--faint); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.74rem; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.legal-page { min-height: 70vh; padding: 92px 0; }
.legal-page article { max-width: 800px; }
.legal-page h1 { margin: 0; font-size: clamp(2.8rem, 7vw, 5rem); }
.legal-page h2 { margin-top: 44px; font-size: 1.45rem; }
.legal-page p, .legal-page li { color: var(--muted); }
.notice { padding: 18px 20px; border: 1px solid var(--accent-fill); border-radius: 0; background: var(--accent-soft); }

@media (max-width: 820px) {
  .nav-links a:not(.nav-cta):not([hreflang]) { display: none; }
  .hero { padding-top: 76px; }
  .grid, .steps, .trust-panel, .link-grid { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .card-icon { margin-bottom: 28px; }
  .step { padding-right: 0; }
  .step::before { margin-bottom: 24px; }
  .footer-row { flex-direction: column; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 24px, 1160px); }
  .brand-badge { display: none; }
  .nav-links { gap: 10px; }
  .nav-cta { padding-inline: 10px; }
  .hero { padding-top: 58px; }
  h1 { font-size: clamp(2.8rem, 17vw, 4.4rem); }
  .actions .button { width: 100%; }
  .section { padding: 72px 0; }
  .product-frame { padding: 5px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
  .trust-panel, .community { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
