/* =========================================================================
   BizTek — marketing site styles
   Brand tokens mirror the app theme (lib/app/theme/app_theme.dart):
   brand green #014428, safety amber #FFB020, Inter body. Dark industrial.
   ========================================================================= */

/* ----- Design tokens ---------------------------------------------------- */
:root {
  /* Surfaces (dark "original look") */
  --bg:            #0A0B0D;
  --bg-deep:       #07080A;
  --surface:       #14161A;
  --surface-2:     #1C1F25;
  --surface-3:     #22262E;
  --outline:       #2A2E36;
  --outline-soft:  #1F2228;

  /* Text */
  --text:          #E8EAEE;
  --text-dim:      #B8BdC7;
  --muted:         #8B919C;

  /* Brand */
  --amber:         #FFB020;
  --amber-soft:    #FFC964;
  --on-amber:      #1A1100;
  --green:         #014428;
  --green-mid:     #0A6E40;
  --green-bright:  #35C66B;
  --blue:          #3D8BFD;

  /* Status */
  --success:       #35C66B;
  --warning:       #E8A93C;
  --error:         #FF5A4E;

  /* Type */
  --font-display: "Archivo", "Inter", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Layout */
  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 48px);

  /* Shadows */
  --shadow-1: 0 1px 2px rgba(0,0,0,.4);
  --shadow-2: 0 8px 30px rgba(0,0,0,.45);
  --shadow-amber: 0 10px 40px -12px rgba(255,176,32,.45);
  --shadow-green: 0 24px 80px -30px rgba(1,68,40,.9);
}

/* ----- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--amber); color: var(--on-amber); }

/* ----- Atmospheric background ------------------------------------------ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 82% -8%, rgba(255,176,32,.10), transparent 60%),
    radial-gradient(1100px 700px at -10% 0%, rgba(1,68,40,.55), transparent 55%),
    radial-gradient(700px 700px at 110% 100%, rgba(1,68,40,.30), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .035;
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%);
}

/* ----- Utility ---------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.center { text-align: center; }
.mono {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
}
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--amber); color: var(--on-amber);
  padding: 10px 16px; border-radius: var(--r-sm); z-index: 200;
  font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----- Eyebrow / section heading --------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--amber);
  padding: 7px 14px;
  border: 1px solid color-mix(in srgb, var(--amber) 35%, transparent);
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--amber) 8%, transparent);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 10px var(--amber);
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
h2.section-title {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  margin-top: 18px;
  max-width: 18ch;
}
.center h2.section-title { margin-inline: auto; }
.section-lead {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 56ch;
  margin-top: 20px;
}
.center .section-lead { margin-inline: auto; }

/* ----- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--amber); color: var(--on-amber);
  box-shadow: var(--shadow-amber);
}
.btn-primary:hover { background: var(--amber-soft); transform: translateY(-2px); }
.btn-ghost {
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--text);
  border-color: var(--outline);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }

/* ----- Navigation ------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in srgb, var(--bg-deep) 78%, transparent);
  border-bottom: 1px solid var(--outline-soft);
}
.nav-inner {
  display: flex; align-items: center; gap: 24px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--shadow-1); }
.brand .tek { color: var(--amber); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 9px 14px; border-radius: var(--r-sm); color: var(--text-dim);
  font-size: .95rem; font-weight: 500; transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--surface); }
.nav-cta { margin-left: 8px; }
/* Win the specificity battle against `.nav-links a` so the CTA keeps its
   dark-on-amber fill (and doesn't pick up the gray link hover background). */
.nav-links a.btn-primary { color: var(--on-amber); background: var(--amber); }
.nav-links a.btn-primary:hover { color: var(--on-amber); background: var(--amber-soft); }
.nav-toggle {
  display: none; margin-left: auto;
  background: var(--surface); border: 1px solid var(--outline);
  color: var(--text); width: 44px; height: 44px; border-radius: var(--r-sm);
  font-size: 1.3rem; align-items: center; justify-content: center;
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--outline);
    padding: 12px var(--gutter) 20px;
    margin-left: 0;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; }
  .nav-cta { margin-left: 0; margin-top: 6px; }
}

/* ----- Hero ------------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(48px, 7vw, 92px); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.7rem, 6.5vw, 4.7rem);
  font-weight: 900;
  letter-spacing: -.035em;
  margin-top: 24px;
}
.hero h1 .hl {
  background: linear-gradient(100deg, var(--amber), var(--amber-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  color: var(--text-dim);
  margin-top: 26px; max-width: 46ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px 28px; margin-top: 34px; }
.hero-meta div { display: flex; flex-direction: column; gap: 2px; }
.hero-meta b { font-family: var(--font-display); font-size: 1.45rem; color: var(--text); }
.hero-meta span { font-size: .82rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 360px; margin-inline: auto; }
}

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 18px; border-radius: var(--r-md);
  border: 1px solid var(--outline); background: var(--surface);
  transition: border-color .2s, transform .2s;
}
.badge:hover { border-color: var(--amber); transform: translateY(-2px); }
.badge svg { width: 26px; height: 26px; flex: none; }
.badge .b-txt { display: flex; flex-direction: column; line-height: 1.15; }
.badge .b-txt small { font-size: .68rem; color: var(--muted); letter-spacing: .04em; }
.badge .b-txt strong { font-size: 1rem; font-weight: 600; }
.badge[aria-disabled="true"] { cursor: default; opacity: .9; }
.badge .soon {
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .14em;
  color: var(--on-amber); background: var(--amber);
  padding: 2px 7px; border-radius: var(--r-pill); margin-left: 4px;
}

/* ----- Phone mockup (CSS only) ----------------------------------------- */
.hero-visual { position: relative; }
.phone {
  position: relative; width: min(330px, 78vw); margin-inline: auto;
  aspect-ratio: 9 / 19;
  background: linear-gradient(165deg, #1a1d22, #0c0e11);
  border-radius: 42px;
  border: 2px solid #2c3038;
  padding: 12px;
  box-shadow: var(--shadow-green), var(--shadow-2);
}
.phone::before { /* notch */
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px; background: #07080A; border-radius: var(--r-pill); z-index: 3;
}
.phone-screen {
  height: 100%; border-radius: 32px; overflow: hidden;
  background: linear-gradient(180deg, #014428 0%, #013a22 38%, #0A0B0D 38%);
  display: flex; flex-direction: column;
}
.ps-top { padding: 40px 18px 16px; color: #EAFBF1; }
.ps-top .ps-hi { font-size: .72rem; opacity: .75; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font-mono); }
.ps-top .ps-title { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; margin-top: 4px; }
.ps-stats { display: flex; gap: 8px; padding: 0 16px; margin-top: -14px; }
.ps-stat { flex: 1; background: var(--surface-2); border: 1px solid var(--outline); border-radius: var(--r-md); padding: 10px 12px; }
.ps-stat b { font-family: var(--font-display); font-size: 1.2rem; display: block; }
.ps-stat.amber b { color: var(--amber); }
.ps-stat.green b { color: var(--green-bright); }
.ps-stat span { font-size: .58rem; color: var(--muted); }
.ps-list { padding: 14px 16px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.ps-job { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--outline-soft); border-radius: var(--r-md); padding: 10px 11px; }
.ps-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.ps-dot.a { background: var(--amber); } .ps-dot.g { background: var(--green-bright); } .ps-dot.b { background: var(--blue); }
.ps-job .ps-j { flex: 1; min-width: 0; }
.ps-job .ps-j i { font-style: normal; font-size: .76rem; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-job .ps-j em { font-style: normal; font-size: .6rem; color: var(--muted); }
.ps-tag { font-family: var(--font-mono); font-size: .52rem; padding: 3px 7px; border-radius: var(--r-pill); border: 1px solid var(--outline); color: var(--text-dim); }
.ps-fab {
  position: absolute; right: 22px; bottom: 24px; width: 50px; height: 50px;
  border-radius: 16px; background: var(--amber); color: var(--on-amber);
  display: grid; place-items: center; font-size: 1.6rem; font-weight: 700;
  box-shadow: var(--shadow-amber); z-index: 4;
}
.float-chip {
  position: absolute; z-index: 5;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid var(--outline);
  border-radius: var(--r-md); padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-2);
  font-size: .82rem; font-weight: 500;
  animation: floaty 5s ease-in-out infinite;
}
.float-chip .ic { font-size: 1.1rem; }
.float-chip.one { top: 14%; left: -8%; }
.float-chip.two { bottom: 16%; right: -10%; animation-delay: -2.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 520px) { .float-chip { display: none; } }

/* ----- Logo / trust strip ---------------------------------------------- */
.trust { border-block: 1px solid var(--outline-soft); padding-block: 30px; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; }
.trust-row .t-item { display: inline-flex; align-items: center; gap: 9px; color: var(--text-dim); font-weight: 500; font-size: .95rem; }
.trust-row .t-item svg { width: 19px; height: 19px; color: var(--green-bright); }

/* ----- Feature grid ----------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 80%, var(--bg)));
  border: 1px solid var(--outline);
  border-radius: var(--r-lg);
  padding: 26px;
  position: relative;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(360px 160px at 100% 0%, rgba(255,176,32,.08), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--amber) 45%, var(--outline)); box-shadow: var(--shadow-2); }
.card:hover::after { opacity: 1; }
.card .ic {
  width: 50px; height: 50px; border-radius: var(--r-md);
  display: grid; place-items: center; font-size: 1.5rem;
  background: color-mix(in srgb, var(--green) 55%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--green-bright) 28%, transparent);
  color: var(--green-bright);
  margin-bottom: 18px;
}
.card.amber .ic { background: color-mix(in srgb, var(--amber) 14%, var(--surface-2)); border-color: color-mix(in srgb, var(--amber) 40%, transparent); color: var(--amber); }
.card h3 { font-size: 1.22rem; letter-spacing: -.01em; }
.card p { color: var(--muted); margin-top: 9px; font-size: .96rem; }

/* Wide feature card */
.card.wide { grid-column: span 2; }
@media (max-width: 600px) { .card.wide { grid-column: span 1; } }

/* ----- Steps ------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px 22px; border: 1px solid var(--outline); border-radius: var(--r-lg); background: var(--surface); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: .8rem; color: var(--amber);
  letter-spacing: .1em;
}
.step h3 { margin-top: 12px; font-size: 1.12rem; }
.step p { color: var(--muted); margin-top: 8px; font-size: .92rem; }

/* ----- Split / highlight ------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split ul.checks { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 14px; }
.split ul.checks li { display: flex; gap: 13px; align-items: flex-start; }
.split ul.checks li svg { width: 22px; height: 22px; flex: none; color: var(--green-bright); margin-top: 2px; }
.split ul.checks li b { display: block; }
.split ul.checks li span { color: var(--muted); font-size: .94rem; }

.panel {
  background: linear-gradient(165deg, var(--green) -10%, #052b1a 60%, var(--surface) 130%);
  border: 1px solid color-mix(in srgb, var(--green-bright) 22%, var(--outline));
  border-radius: var(--r-xl); padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-green);
}
.panel .mono { color: var(--amber-soft); }
.code-line { font-family: var(--font-mono); font-size: .86rem; color: var(--text-dim); display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed color-mix(in srgb, var(--green-bright) 18%, transparent); }
.code-line:last-child { border-bottom: 0; }
.code-line .k { color: var(--green-bright); }

/* ----- CTA band --------------------------------------------------------- */
.cta-band {
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% -20%, rgba(255,176,32,.16), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg));
  border: 1px solid var(--outline);
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px) var(--gutter);
}
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.cta-band p { color: var(--muted); margin: 16px auto 0; max-width: 50ch; }
.cta-band .hero-actions { justify-content: center; }

/* ----- Footer ----------------------------------------------------------- */
.footer { border-top: 1px solid var(--outline-soft); margin-top: 30px; padding-block: 56px 36px; background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand { margin-bottom: 14px; }
.footer p.fdesc { color: var(--muted); font-size: .92rem; max-width: 34ch; }
.footer h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--text-dim); font-size: .94rem; transition: color .2s; }
.footer ul a:hover { color: var(--amber); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--outline-soft); color: var(--muted); font-size: .85rem; }
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--amber); }

/* ----- Document / legal pages ------------------------------------------ */
.doc-head {
  padding-top: clamp(48px, 7vw, 80px); padding-bottom: 36px;
  border-bottom: 1px solid var(--outline-soft);
}
.doc-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.doc-head .updated { color: var(--muted); margin-top: 14px; font-family: var(--font-mono); font-size: .82rem; letter-spacing: .04em; }
.doc-head .lead { color: var(--text-dim); margin-top: 18px; max-width: 62ch; font-size: 1.05rem; }

.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; padding-block: clamp(40px, 6vw, 72px); }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; gap: 28px; } }

.toc { position: sticky; top: 90px; }
@media (max-width: 900px) { .toc { position: static; border: 1px solid var(--outline); border-radius: var(--r-lg); padding: 18px; background: var(--surface); } }
.toc h4 { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 500; }
.toc ul { list-style: none; padding: 0; display: grid; gap: 3px; }
.toc a { display: block; padding: 7px 12px; border-radius: var(--r-sm); color: var(--text-dim); font-size: .9rem; border-left: 2px solid transparent; transition: all .2s; }
.toc a:hover, .toc a.active { color: var(--text); background: var(--surface); border-left-color: var(--amber); }

.prose { max-width: 72ch; }
.prose h2 { font-size: 1.6rem; margin-top: 48px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 30px; font-weight: 700; }
.prose p, .prose li { color: var(--text-dim); }
.prose p { margin-top: 14px; }
.prose ul, .prose ol { margin-top: 14px; padding-left: 22px; display: grid; gap: 8px; }
.prose li { padding-left: 4px; }
.prose a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--amber) 40%, transparent); }
.prose a:hover { text-decoration-color: var(--amber); }
.prose strong { color: var(--text); }
.prose hr { border: 0; border-top: 1px solid var(--outline-soft); margin: 40px 0; }
.prose code { font-family: var(--font-mono); font-size: .86em; background: var(--surface-2); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--outline-soft); color: var(--amber-soft); }
.prose .note {
  border: 1px solid color-mix(in srgb, var(--amber) 35%, var(--outline));
  background: color-mix(in srgb, var(--amber) 7%, var(--surface));
  border-radius: var(--r-md); padding: 16px 20px; margin-top: 22px;
}
.prose .note p { margin-top: 0; }
.prose .note p + p { margin-top: 10px; }
.data-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: .92rem; }
.data-table th, .data-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--outline-soft); vertical-align: top; }
.data-table th { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.data-table td { color: var(--text-dim); }
.data-table tr:hover td { background: color-mix(in srgb, var(--surface) 60%, transparent); }

/* ----- FAQ accordion ---------------------------------------------------- */
.faq-list { max-width: 800px; margin: 48px auto 0; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--outline); border-radius: var(--r-md); background: var(--surface); overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--amber) 40%, var(--outline)); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.06rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: none; width: 26px; height: 26px; position: relative; transition: transform .3s; }
.faq-item summary .plus::before, .faq-item summary .plus::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: var(--amber);
}
.faq-item summary .plus::before { width: 14px; height: 2px; }
.faq-item summary .plus::after { width: 2px; height: 14px; }
.faq-item[open] summary .plus { transform: rotate(135deg); }
.faq-item .faq-body { padding: 0 22px 22px; color: var(--text-dim); }
.faq-item .faq-body p { margin-top: 0; }
.faq-item .faq-body p + p { margin-top: 12px; }
.faq-item .faq-body a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

/* ----- Support cards ---------------------------------------------------- */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
@media (max-width: 820px) { .support-grid { grid-template-columns: 1fr; } }
.support-card { border: 1px solid var(--outline); border-radius: var(--r-lg); padding: 28px; background: var(--surface); display: flex; flex-direction: column; }
.support-card .ic { font-size: 1.7rem; margin-bottom: 14px; }
.support-card h3 { font-size: 1.2rem; }
.support-card p { color: var(--muted); margin-top: 10px; font-size: .95rem; flex: 1; }
.support-card a.link { color: var(--amber); font-weight: 600; margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; }
.support-card a.link:hover { gap: 11px; transition: gap .2s; }

.contact-box {
  margin-top: 40px; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center;
  background: linear-gradient(120deg, color-mix(in srgb, var(--green) 60%, var(--surface)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--green-bright) 22%, var(--outline));
  border-radius: var(--r-xl); padding: 28px 32px;
}
@media (max-width: 700px) { .contact-box { grid-template-columns: 1fr; text-align: center; } }
.contact-box .big-ic { font-size: 2.4rem; }
.contact-box h3 { font-size: 1.3rem; }
.contact-box p { color: var(--text-dim); margin-top: 6px; }
.contact-box a.email { font-family: var(--font-mono); color: var(--amber); font-size: 1.05rem; }

/* ----- Manual specifics ------------------------------------------------- */
.manual-step { border: 1px solid var(--outline); border-radius: var(--r-lg); background: var(--surface); padding: 24px 26px; margin-top: 18px; }
.manual-step .badge-num { font-family: var(--font-mono); font-size: .72rem; color: var(--amber); letter-spacing: .1em; }
.manual-step h3 { margin-top: 8px; font-size: 1.22rem; }
.manual-step p { color: var(--text-dim); margin-top: 10px; }
.manual-step ul { margin-top: 12px; padding-left: 20px; display: grid; gap: 8px; color: var(--text-dim); }

/* ----- Reveal on scroll ------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ----- Misc ------------------------------------------------------------- */
.lang-pill { display: inline-flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: .78rem; color: var(--text-dim); background: var(--surface); border: 1px solid var(--outline); padding: 6px 12px; border-radius: var(--r-pill); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); margin-top: 36px; font-size: .92rem; }
.back-link:hover { color: var(--amber); }
