/* Баавгай — site styles. Tokens mirror Parent/constants/Colors.ts + Kids/ui/theme/Color.kt. */

:root{
  --primary:#7C3AED; --primary-light:#EDE4FF; --primary-dark:#5B21B6;
  --teal:#0D9488; --teal-light:#CCFBF1;
  --amber:#F59E0B; --amber-light:#FEF3C7;
  --success:#16A34A; --success-light:#DCFCE7;
  --danger:#DC2626; --danger-light:#FEE2E2;
  --paper:#F9F8FF; --paper-raised:#FFFFFF;
  --ink:#1E1B2E; --ink-soft:#6B6580; --ink-muted:#A39FB5;
  --mist-line:#ECE7FB;

  --font-display: Georgia, "Noto Serif", "Times New Roman", serif;
  --font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --max: 1120px;
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-pill: 999px;
  --shadow-sm: 0 4px 10px -6px rgba(30, 27, 46, .16);
  --shadow-md: 0 10px 22px -10px rgba(30, 27, 46, .22);
}

@media (prefers-color-scheme: dark){
  :root{
    --paper:#181521; --paper-raised:#221E30; --ink:#EFEAF7; --ink-soft:#B7AECB; --ink-muted:#847C9A;
    --mist-line:#332C46; --primary:#9D6BF5; --primary-light:#3A2A5C; --primary-dark:#C4A6FA;
    --teal:#2DD4C4; --teal-light:#123B36; --amber:#FBBF52; --amber-light:#3A2E12;
    --success:#4ADE80; --success-light:#123322; --danger:#F87171; --danger-light:#3A1414;
    --shadow-sm: 0 4px 10px -6px rgba(0,0,0,.4); --shadow-md: 0 10px 22px -10px rgba(0,0,0,.5);
  }
}
:root[data-theme="dark"]{
  --paper:#181521; --paper-raised:#221E30; --ink:#EFEAF7; --ink-soft:#B7AECB; --ink-muted:#847C9A;
  --mist-line:#332C46; --primary:#9D6BF5; --primary-light:#3A2A5C; --primary-dark:#C4A6FA;
  --teal:#2DD4C4; --teal-light:#123B36; --amber:#FBBF52; --amber-light:#3A2E12;
  --success:#4ADE80; --success-light:#123322; --danger:#F87171; --danger-light:#3A1414;
  --shadow-sm: 0 4px 10px -6px rgba(0,0,0,.4); --shadow-md: 0 10px 22px -10px rgba(0,0,0,.5);
}
:root[data-theme="light"]{
  --primary:#7C3AED; --primary-light:#EDE4FF; --primary-dark:#5B21B6;
  --teal:#0D9488; --teal-light:#CCFBF1; --amber:#F59E0B; --amber-light:#FEF3C7;
  --success:#16A34A; --success-light:#DCFCE7; --danger:#DC2626; --danger-light:#FEE2E2;
  --paper:#F9F8FF; --paper-raised:#FFFFFF; --ink:#1E1B2E; --ink-soft:#6B6580; --ink-muted:#A39FB5;
  --mist-line:#ECE7FB;
  --shadow-sm: 0 4px 10px -6px rgba(30, 27, 46, .16); --shadow-md: 0 10px 22px -10px rgba(30, 27, 46, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-lg { width: 28px; height: 28px; color: var(--primary); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.text-balance { text-wrap: balance; }

h1, h2, h3 { font-weight: 700; margin: 0 0 0.5em; color: var(--ink); font-family: var(--font-body); }
h1.display, .hero h1 { font-family: var(--font-display); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); line-height: 1.25; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; max-width: 62ch; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 0.6em;
}
.eyebrow.center { text-align: center; }
a { color: inherit; }

/* JS adds .in-view on scroll for an early reveal; the animation below is a
   pure-CSS safety net so content is never stuck invisible if JS is blocked,
   errors, or the IntersectionObserver callback doesn't fire. */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; animation: reveal-fallback 0s 1.2s forwards; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.8em 1.4em; border-radius: var(--radius-md);
  font-weight: 600; font-size: 0.96rem; text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary .icon { width: 18px; height: 18px; }
.btn-ghost { background: var(--paper-raised); color: var(--ink); border-color: var(--mist-line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: .4em .9em; border-radius: var(--radius-pill); font-size: .82rem; font-weight: 600; }
.chip .icon { width: 14px; height: 14px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mist-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.2rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 28px; height: 28px; fill: var(--primary); }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { text-decoration: none; font-size: .94rem; font-weight: 500; color: var(--ink-soft); }
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.nav-cta { padding: .55em 1.2em; border-radius: var(--radius-md); background: var(--primary); color: #fff !important; font-weight: 600; }
.nav-cta:hover { background: var(--primary-dark); }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; border: none; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; width: 22px; background: var(--ink); border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 68px 0 56px; }
#mist { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .5; }
.hero-inner { position: relative; z-index: 1; max-width: 620px; }
.badge {
  display: inline-block; font-size: .78rem; font-weight: 600; padding: .4em .9em;
  border-radius: var(--radius-pill); background: var(--paper-raised); border: 1px solid var(--mist-line);
  color: var(--teal); margin: 0 0 1.1em;
}
.hero h1 { margin-bottom: .4em; }
.hero-sub { font-size: 1.06rem; color: var(--ink-soft); max-width: 54ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.5em; }

.hero-mock { position: absolute; right: -30px; top: 54px; z-index: 1; width: 290px; pointer-events: none; }
.phone { background: var(--paper-raised); border: 1px solid var(--mist-line); border-radius: 30px; box-shadow: var(--shadow-md); padding: 14px; transform: rotate(3deg); }
.phone-notch { width: 56px; height: 6px; border-radius: 4px; background: var(--mist-line); margin: 0 auto 12px; }
.phone-screen { display: flex; flex-direction: column; gap: 10px; }
.mock-hero { border-radius: 12px; padding: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.mock-hero .pct { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.mock-hero .lbl { font-size: .68rem; opacity: .85; margin-top: 2px; }
.mock-bar { height: 7px; border-radius: 5px; background: var(--mist-line); }
.mock-bar.dim { opacity: .6; height: 5px; }
.w40{width:40%;} .w50{width:50%;} .w60{width:60%;} .w65{width:65%;} .w70{width:70%;} .w80{width:80%;}
.mock-card { display: flex; align-items: center; gap: 9px; background: var(--paper); border: 1px solid var(--mist-line); border-radius: 11px; padding: 9px 10px; }
.mock-card .icon { width: 16px; height: 16px; color: var(--primary); }
.mock-lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.mock-toggle { width: 28px; height: 15px; border-radius: var(--radius-pill); background: var(--mist-line); position: relative; flex-shrink: 0; }
.mock-toggle::after { content: ""; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper-raised); transition: left .2s ease; }
.mock-toggle.on { background: var(--primary); }
.mock-toggle.on::after { left: 15px; }

/* ---------- guide screen illustrations ---------- */
/* Not real screenshots (no device/emulator was available) -- flat vector
   mockups built from the same tokens/components as the shipped app, clearly
   framed as illustrations rather than photographic captures. */
.shot-row { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; margin: 36px 0 8px; }
.shot { width: 230px; flex-shrink: 0; }
.shot.wide { width: 250px; }
.shot .phone { transform: none; }
.shot-caption { text-align: center; font-size: .82rem; color: var(--ink-soft); margin-top: 10px; }
.shot-caption strong { color: var(--ink); }

.mock-topbar { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.mock-avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--primary-light); flex-shrink: 0; }
.mock-topbar .mock-lines { gap: 4px; }
.mock-bell { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 1px solid var(--mist-line); display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; }
.mock-bell .icon { width: 12px; height: 12px; color: var(--ink-soft); }
.mock-bell .dot { position: absolute; top: -1px; right: -1px; width: 7px; height: 7px; border-radius: 50%; background: var(--danger); border: 1.5px solid var(--paper-raised); }

.mock-btn { text-align: center; font-size: .74rem; font-weight: 700; color: #fff; background: var(--primary); border-radius: var(--radius-md); padding: 9px; }
.mock-btn.ghost { color: var(--primary); background: var(--primary-light); }

.mock-perm-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--mist-line); }
.mock-perm-row:last-child { border-bottom: none; }
.mock-perm-row .icon { width: 14px; height: 14px; color: var(--ink-soft); }
.mock-check { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--mist-line); flex-shrink: 0; margin-left: auto; }
.mock-check.on { background: var(--success); border-color: var(--success); position: relative; }
.mock-check.on::after { content: ""; position: absolute; left: 4.5px; top: 2px; width: 4px; height: 8px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(40deg); }
.mock-progress { font-size: .66rem; font-weight: 700; color: var(--teal); text-align: center; margin-top: 2px; }

.mock-code { text-align: center; background: var(--primary-light); border-radius: var(--radius-md); padding: 14px 8px; }
.mock-code .digits { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: .12em; color: var(--primary-dark); font-variant-numeric: tabular-nums; }
.mock-code .ttl { font-size: .62rem; color: var(--ink-soft); margin-top: 3px; }
.mock-code-boxes { display: flex; gap: 4px; justify-content: center; }
.mock-code-boxes span { width: 16px; height: 20px; border-radius: 4px; border: 1.5px solid var(--mist-line); background: var(--paper); }
.mock-code-boxes span.filled { border-color: var(--primary); background: var(--primary-light); }
.mock-field-label { font-size: .64rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }

.mock-slider-block { margin-bottom: 2px; }
.mock-slider-top { display: flex; justify-content: space-between; font-size: .68rem; color: var(--ink-soft); margin-bottom: 5px; }
.mock-slider-top strong { color: var(--ink); font-size: .74rem; }
.mock-slider-track { height: 6px; border-radius: var(--radius-pill); background: var(--mist-line); position: relative; }
.mock-slider-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: var(--radius-pill); background: var(--primary); }
.mock-slider-track::after { content: ""; position: absolute; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--paper-raised); border: 2.5px solid var(--primary); transform: translate(-50%, -50%); left: var(--handle, 70%); }

.mock-map2 { height: 100px; border-radius: var(--radius-md); background: linear-gradient(160deg, var(--teal-light), var(--primary-light)); position: relative; overflow: hidden; }
.mock-map2::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(30,27,46,.05) 0 2px, transparent 2px 22px); }
.mock-map2 .pin { position: absolute; top: 40%; left: 55%; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--primary); transform: rotate(-45deg) translate(-50%,-50%); box-shadow: var(--shadow-sm); }
.mock-map2 .pin .icon { transform: rotate(45deg); width: 11px; height: 11px; color: #fff; position: absolute; top: 5px; left: 5px; }
.mock-timestamp { font-size: .68rem; color: var(--ink-soft); text-align: center; }

.mock-cat-label { font-size: .64rem; font-weight: 700; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .05em; margin: 6px 0 2px; }
.mock-app-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.mock-app-icon { width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; }
.mock-chip-sm { font-size: .6rem; font-weight: 700; padding: .2em .55em; border-radius: var(--radius-pill); margin-left: auto; flex-shrink: 0; }

.mock-barchart { display: flex; height: 14px; border-radius: var(--radius-pill); overflow: hidden; margin-bottom: 8px; }
.mock-legend { display: flex; flex-direction: column; gap: 5px; }
.mock-legend-row { display: flex; align-items: center; gap: 6px; font-size: .68rem; color: var(--ink-soft); }
.mock-legend-row .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mock-legend-row .pct { margin-left: auto; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

.mock-pin-dots { display: flex; gap: 7px; justify-content: center; margin-bottom: 10px; }
.mock-pin-dots span { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--mist-line); }
.mock-pin-dots span.filled { background: var(--ink); border-color: var(--ink); }
.mock-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mock-keypad span { text-align: center; font-size: .72rem; font-weight: 700; color: var(--ink-soft); background: var(--paper); border: 1px solid var(--mist-line); border-radius: 8px; padding: 6px 0; }

/* ---------- trail / how it works ---------- */
.how { padding: 72px 0; border-top: 1px solid var(--mist-line); }
.trail { list-style: none; margin: 52px 0 0; padding: 0; position: relative; max-width: 740px; margin-left: auto; margin-right: auto; }
.trail::before { content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px; background: repeating-linear-gradient(to bottom, var(--mist-line) 0 6px, transparent 6px 12px); }
.trail-step { display: flex; gap: 20px; margin-bottom: 36px; position: relative; }
.trail-step:last-child { margin-bottom: 0; }
.trail-marker {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%;
  background: var(--paper-raised); border: 1px solid var(--mist-line);
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
}
.trail-marker .icon { color: var(--primary); width: 22px; height: 22px; }
.trail-card { padding-top: 6px; }
.trail-card h3 { margin-bottom: .3em; }
.trail-card p { color: var(--ink-soft); }

/* ---------- features ---------- */
.features { padding: 72px 0; border-top: 1px solid var(--mist-line); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 18px; margin-top: 44px; }
.feature-card { background: var(--paper-raised); border: 1px solid var(--mist-line); border-radius: var(--radius-lg); padding: 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--primary); }
.feature-card h3 { margin: .5em 0 .3em; font-size: 1.02rem; }
.feature-card p { color: var(--ink-soft); font-size: .93rem; margin: 0; }

/* ---------- pricing ---------- */
.pricing { padding: 72px 0; border-top: 1px solid var(--mist-line); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; align-items: start; }
.price-card { background: var(--paper-raised); border: 1px solid var(--mist-line); border-radius: var(--radius-lg); padding: 30px 26px; position: relative; }
.price-featured { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-6px); }
.price-tag { position: absolute; top: -12px; left: 26px; background: var(--primary); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .3em .8em; border-radius: var(--radius-pill); margin: 0; }
.price-card h3 { margin-bottom: .2em; }
.price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin: 0 0 1.1em; font-variant-numeric: tabular-nums; }
.price span { font-family: var(--font-body); font-size: .92rem; font-weight: 400; color: var(--ink-soft); }
.price-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.price-card li { display: flex; align-items: flex-start; gap: 9px; font-size: .92rem; color: var(--ink-soft); }
.price-card li .icon { width: 17px; height: 17px; color: var(--primary); margin-top: 1px; stroke-width: 2; }

/* ---------- guide teaser ---------- */
.guide-teaser { padding: 72px 0; border-top: 1px solid var(--mist-line); }
.guide-teaser-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: var(--paper-raised); border: 1px solid var(--mist-line); border-radius: var(--radius-lg);
  padding: 36px 40px;
}
.guide-teaser-text { max-width: 46ch; }
.guide-teaser-text h2 { margin-bottom: .3em; }
.guide-teaser-text p { color: var(--ink-soft); margin: 0; }

/* ---------- cta / contact ---------- */
.cta { padding: 84px 0 96px; text-align: center; background: var(--primary); color: #fff; margin-top: 0; }
.cta-inner { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.cta-paw { width: 38px; height: 38px; color: var(--amber); margin-bottom: 18px; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.82); }
.cta .btn-primary { background: #fff; color: var(--primary-dark); }
.cta .btn-primary:hover { background: var(--amber-light); }

/* ---------- footer ---------- */
.site-footer { padding: 30px 0; background: var(--primary-dark); border-top: 1px solid rgba(255,255,255,.12); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { fill: #fff; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .88rem; }
.footer-links a:hover { color: #fff; }
.site-footer p { margin: 0; color: rgba(255,255,255,.6); font-size: .86rem; }

/* ================= guide page ================= */
.guide-hero { padding: 52px 0 40px; border-bottom: 1px solid var(--mist-line); }
.guide-hero .eyebrow { margin-bottom: .5em; }
.guide-hero h1 { font-family: var(--font-display); }
.guide-hero p { color: var(--ink-soft); font-size: 1.02rem; max-width: 60ch; }

.guide-toc { position: sticky; top: 66px; z-index: 20; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--mist-line); }
.guide-toc-inner { display: flex; gap: 20px; overflow-x: auto; padding: 12px 0; font-size: .85rem; }
.guide-toc-inner a { white-space: nowrap; text-decoration: none; color: var(--ink-soft); font-weight: 600; }
.guide-toc-inner a:hover { color: var(--primary); }

.guide-section { padding: 56px 0; border-bottom: 1px solid var(--mist-line); }
.guide-section:last-of-type { border-bottom: none; }
.guide-section .kicker { color: var(--ink-muted); font-size: .82rem; margin-bottom: .3em; }

.step-list { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 4px; }
.step-list li { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--mist-line); }
.step-list li:first-child { border-top: none; }
.step-num { counter-increment: step; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--primary-light); color: var(--primary-dark); font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center; }
.step-num::before { content: counter(step); }
.step-body h4 { margin: 0 0 .3em; font-size: 1rem; }
.step-body p { margin: 0; color: var(--ink-soft); font-size: .93rem; }

.perm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 32px; }
.perm-card { background: var(--paper-raised); border: 1px solid var(--mist-line); border-radius: var(--radius-lg); padding: 20px; }
.perm-card .icon-lg { margin-bottom: .5em; }
.perm-card h4 { margin: 0 0 .3em; font-size: .98rem; }
.perm-card p { margin: 0; color: var(--ink-soft); font-size: .88rem; }

.howto-grid { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.howto-card { background: var(--paper-raised); border: 1px solid var(--mist-line); border-radius: var(--radius-lg); padding: 22px 24px; display: flex; gap: 18px; }
.howto-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--radius-md); background: var(--primary-light); display: flex; align-items: center; justify-content: center; }
.howto-icon .icon { color: var(--primary-dark); width: 22px; height: 22px; }
.howto-body h4 { margin: 0 0 .3em; }
.howto-body p { margin: 0 0 .5em; color: var(--ink-soft); font-size: .94rem; }
.howto-tab { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--teal); background: var(--teal-light); padding: .25em .7em; border-radius: var(--radius-pill); margin-bottom: .6em; }

.faq-list { margin-top: 32px; display: flex; flex-direction: column; gap: 2px; }
.faq-item { border-top: 1px solid var(--mist-line); }
.faq-item:last-child { border-bottom: 1px solid var(--mist-line); }
.faq-item summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: .98rem; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--ink-muted); transition: transform .2s ease; flex-shrink: 0; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { padding: 0 0 20px; color: var(--ink-soft); font-size: .93rem; max-width: 68ch; }

.callout { display: flex; gap: 14px; background: var(--amber-light); border: 1px solid color-mix(in srgb, var(--amber) 35%, transparent); border-radius: var(--radius-lg); padding: 18px 20px; margin-top: 28px; }
.callout .icon { color: var(--amber); flex-shrink: 0; margin-top: 2px; }
.callout p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.callout strong { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-mock { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .price-featured { transform: none; }
  .guide-teaser-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute; top: 66px; left: 0; right: 0;
    background: var(--paper-raised); border-bottom: 1px solid var(--mist-line);
    flex-direction: column; align-items: flex-start; padding: 18px 24px 24px; gap: 14px; display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { align-self: flex-start; }
  .hero { padding: 46px 0 36px; }
  .howto-card { flex-direction: column; }
  .guide-toc { top: 0; }
}
