/* =========================================================================
   Vocabeez — website design system
   Palette, type, and shapes are lifted directly from the iOS app:
   honey/charcoal bee stripes, Poppins, rounded capsule bars.
   ========================================================================= */

/* ---- Fonts (self-hosted, subset to Latin) ------------------------------- */
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-ExtraBold.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}

/* ---- Design tokens ------------------------------------------------------ */
:root {
  /* colour — taken from the app's asset catalog */
  --ink:        #181a20;   /* Font colorset — primary text            */
  --charcoal:   #333333;   /* beeBlack — icon body / dark sections     */
  --honey:      #facb73;   /* Button / beeYellow — primary accent     */
  --honey-deep: #e7a938;   /* darker honey for hover / contrast text  */
  --cream:      #ece3da;   /* beeCream                                */
  --paper:      #f9f6f4;   /* Background colorset — page background    */
  --paper-2:    #fffdfb;
  --blue:       #32406f;   /* BiruTua / beeDarkBlue — headings accent  */
  --blue-mid:   #3f679f;   /* beeBlue                                  */
  --coral:      #e7545b;   /* beeRed — cheeks                          */
  --green:      #29a77b;   /* beeGreen                                 */
  --orange:     #e5744e;   /* beeOrange                                */
  --gray:       #5d6472;   /* secondary text                          */
  --line:       #eadfd3;   /* hairline on paper                        */

  /* type */
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* spacing scale (8px base) */
  --sp-1: .5rem; --sp-2: 1rem; --sp-3: 1.5rem; --sp-4: 2rem;
  --sp-5: 3rem; --sp-6: 4rem; --sp-7: 6rem; --sp-8: 8rem;

  /* radii — the app uses ~11px + capsule bars */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;

  /* elevation — soft, warm shadows (never harsh black) */
  --shadow-sm: 0 2px 8px rgba(51, 45, 30, .06);
  --shadow-md: 0 10px 30px rgba(51, 45, 30, .10);
  --shadow-lg: 0 24px 60px rgba(51, 45, 30, .16);

  --wrap: 1120px;
  --nav-h: 72px;
}

/* ---- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blue-mid); text-decoration: none; }
a:hover { color: var(--blue); }

h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
p { margin: 0; }

::selection { background: var(--honey); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--blue-mid);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- Layout helpers ----------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.center { text-align: center; }
.stack > * + * { margin-top: var(--sp-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: #8a5e12; /* dark amber — WCAG AA on the paper background */
}
.eyebrow::before {
  content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--honey); display: inline-block;
}
.eyebrow--center { justify-content: center; }

.section-head { max-width: 660px; margin-inline: auto; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-weight: 800; font-size: clamp(1.85rem, 4vw, 2.7rem); margin-top: .6rem; }
.section-head p { margin-top: .85rem; color: var(--gray); font-size: 1.08rem; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: var(--r-pill);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
  will-change: transform;
}
.btn-primary { background: var(--honey); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--honey-deep); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* App Store badge (built inline, no external asset) */
.appstore {
  display: inline-flex; align-items: center; gap: .7rem;
  background: var(--ink); color: #fff; border-radius: 14px;
  padding: .6rem 1.15rem; transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: var(--shadow-sm);
}
.appstore:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.appstore svg { width: 26px; height: 26px; flex: none; fill: #fff; }
.appstore-txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore-txt small { font-size: .62rem; font-weight: 500; opacity: .82; letter-spacing: .02em; }
.appstore-txt b { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
@media (prefers-reduced-motion: reduce) { .appstore:hover { transform: none; } }

.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.microcopy { font-size: .9rem; color: var(--gray); font-weight: 500; }

/* The bee-stripe signature ships as: the stats band's striped top edge
   (.stats::before), the CTA backdrop (.cta-stripes), and the phone card's
   .beebar — see those sections below. */

/* ---- Header / nav ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249, 246, 244, .82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1rem; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.nav-links a {
  color: var(--ink); font-weight: 500; font-size: .96rem;
  padding: .5rem .8rem; border-radius: var(--r-pill);
}
.nav-links a:hover { background: rgba(250, 203, 115, .28); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav-cta { margin-left: .4rem; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; margin-left: auto; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid var(--line); background: var(--paper-2);
    border-radius: 12px; cursor: pointer; color: var(--ink);
  }
  .nav-links {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--paper-2); border-bottom: 1px solid var(--line);
    padding: .8rem 24px 1.2rem; margin: 0;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem .6rem; font-size: 1.05rem; }
  .nav-cta { margin: .4rem 0 0; }
}

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.hero::before { /* soft honey glow */
  content: ""; position: absolute; inset: -20% 40% auto -10%; height: 520px;
  background: radial-gradient(closest-side, rgba(250,203,115,.45), transparent 70%);
  filter: blur(10px); z-index: 0; pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-weight: 800; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.04; }
.hero h1 .hl { color: var(--blue); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .28em;
  background: var(--honey); border-radius: var(--r-pill); z-index: -1; opacity: .85;
}
.hero-sub { margin-top: 1.3rem; font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--gray); max-width: 34ch; }
.hero .cta-row { margin-top: 1.9rem; }
.hero-note { margin-top: 1rem; }

/* ---- Phone mockup (CSS-illustrated app preview) ------------------------- */
.device-wrap { display: flex; justify-content: center; position: relative; }
.phone {
  position: relative; z-index: 1;
  width: min(300px, 78vw); aspect-ratio: 300 / 620;
  background: var(--ink); border-radius: 46px; padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .phone { animation: none; } }
.phone-screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background: linear-gradient(180deg, var(--paper-2), var(--cream));
  display: flex; flex-direction: column;
}
.phone-island {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; background: var(--ink); border-radius: var(--r-pill); z-index: 3;
}
.scr-top { display: flex; align-items: center; justify-content: space-between; padding: 46px 18px 8px; }
.scr-hello { font-weight: 700; font-size: .95rem; color: var(--ink); }
.scr-hello small { display: block; font-weight: 500; font-size: .68rem; color: var(--gray); letter-spacing: .02em; }
.streak-pill { display: inline-flex; align-items: center; gap: .3rem; background: var(--honey); color: var(--ink); font-weight: 700; font-size: .78rem; padding: .28rem .6rem; border-radius: var(--r-pill); }
.scr-body { flex: 1; padding: 6px 18px 18px; display: flex; flex-direction: column; gap: 12px; }
/* flashcard */
.scr-card {
  background: var(--charcoal); color: #fff; border-radius: 20px; padding: 16px 16px 14px;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.scr-card .lbl { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--honey); font-weight: 600; }
.scr-card .word { font-size: 1.5rem; font-weight: 800; margin-top: 2px; letter-spacing: -.02em; }
.scr-card .def { font-size: .74rem; color: rgba(255,255,255,.72); margin-top: 6px; line-height: 1.45; }
.scr-card .beebar { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; }
.scr-card .beebar span { height: 6px; border-radius: var(--r-pill); }
.scr-card .beebar span:nth-child(1) { width: 70%; background: var(--honey); }
.scr-card .beebar span:nth-child(2) { width: 45%; background: rgba(255,255,255,.22); margin-left: 20%; }
.scr-card .beebar span:nth-child(3) { width: 55%; background: var(--honey); margin-left: 8%; }
/* chat */
.scr-chat { display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 82%; padding: .5rem .7rem; border-radius: 14px; font-size: .74rem; line-height: 1.4; box-shadow: var(--shadow-sm); }
.bubble b { display:block; font-size:.6rem; letter-spacing:.04em; opacity:.7; margin-bottom:2px; font-weight:600; }
.bubble.them { background: #fff; color: var(--ink); border-bottom-left-radius: 4px; align-self: flex-start; }
.bubble.you { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.bubble.you b { color: var(--honey); opacity: 1; }
/* tiny nav bar */
.scr-tabs { display: flex; justify-content: space-around; padding: 10px 8px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.7); border-top: 1px solid var(--line); }
.scr-tabs i { width: 22px; height: 22px; border-radius: 7px; background: var(--cream); display: block; }
.scr-tabs i.on { background: var(--honey); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero .cta-row { justify-content: center; }
  .hero .eyebrow { justify-content: center; }
  .device-wrap { margin-top: 2.25rem; }
  .phone { width: min(280px, 74vw); }
}

/* ---- Trust strip -------------------------------------------------------- */
.trust { background: var(--ink); color: var(--paper); }
.trust .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: center; padding-block: 1.1rem; }
.trust-item { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 500; color: #f2ede7; }
.trust-item svg { width: 18px; height: 18px; fill: none; stroke: var(--honey); stroke-width: 2; }
.trust-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--honey); opacity: .6; }

/* ---- Feature cards ------------------------------------------------------ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }
.card-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 1rem;
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.2rem; font-weight: 700; }
.card p { margin-top: .5rem; color: var(--gray); font-size: .98rem; }
/* per-feature accent tints */
.ic-honey { background: rgba(250,203,115,.24); } .ic-honey svg { stroke: var(--honey-deep); }
.ic-blue  { background: rgba(63,103,159,.16); }  .ic-blue svg  { stroke: var(--blue-mid); }
.ic-coral { background: rgba(231,84,91,.15); }   .ic-coral svg { stroke: var(--coral); }
.ic-green { background: rgba(41,167,123,.16); }  .ic-green svg { stroke: var(--green); }
.ic-orange{ background: rgba(229,116,78,.16); }  .ic-orange svg{ stroke: var(--orange); }

@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

/* ---- How it works (numbered — a real sequence) -------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: .5rem; }
.step-num {
  width: 46px; height: 46px; border-radius: 14px; background: var(--honey); color: var(--ink);
  display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem;
}
.step h3 { font-size: 1.14rem; font-weight: 700; }
.step p { margin-top: .5rem; color: var(--gray); font-size: .98rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 23px; left: 58px; right: -1.5rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--honey) 0 10px, transparent 10px 18px);
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 1.75rem; } .step:not(:last-child)::after { display: none; } }

/* ---- Benefits ----------------------------------------------------------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.benefit { display: flex; gap: 1rem; }
.benefit-mark { flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--blue); display: grid; place-items: center; }
.benefit-mark svg { width: 22px; height: 22px; stroke: var(--honey); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { font-size: 1.08rem; font-weight: 700; }
.benefit p { margin-top: .35rem; color: var(--gray); font-size: .95rem; }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; } }

/* ---- Stats band --------------------------------------------------------- */
.stats { background: var(--charcoal); color: var(--paper); border-radius: var(--r-xl); overflow: hidden; position: relative; }
.stats::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background:
  repeating-linear-gradient(90deg, var(--honey) 0 40px, var(--charcoal) 40px 52px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: clamp(2.2rem, 5vw, 3.2rem) 1.5rem; }
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: var(--honey); letter-spacing: -.02em; }
.stat span { font-size: .92rem; color: #cfc7bd; font-weight: 500; }
@media (max-width: 620px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; } }

/* ---- Privacy highlight -------------------------------------------------- */
.privacy-band { background: var(--blue); color: #fff; border-radius: var(--r-xl); overflow: hidden; }
.privacy-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(2.2rem, 5vw, 3.4rem); }
.privacy-band h2 { color: #fff; font-weight: 800; font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.privacy-band .lede { color: #d7def0; margin-top: .8rem; font-size: 1.05rem; }
.privacy-band .btn-primary { margin-top: 1.5rem; }
.privacy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.privacy-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; color: #eef1f8; }
.privacy-list svg { flex: none; width: 22px; height: 22px; margin-top: 1px; stroke: var(--honey); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 800px) { .privacy-inner { grid-template-columns: 1fr; } }

/* ---- Final CTA ---------------------------------------------------------- */
.cta-band { background: var(--honey); border-radius: var(--r-xl); position: relative; overflow: hidden; }
.cta-band .wrap { padding-block: clamp(2.5rem, 6vw, 4rem); position: relative; z-index: 1; }
.cta-band h2 { font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--ink); max-width: 18ch; }
.cta-band p { margin-top: .8rem; color: #6b5726; font-weight: 500; font-size: 1.08rem; }
.cta-band .cta-row { margin-top: 1.7rem; }
.cta-stripes { position: absolute; right: -30px; top: 0; bottom: 0; width: 40%; opacity: .35; display: flex; flex-direction: column; justify-content: center; gap: 12px; z-index: 0; }
.cta-stripes span { height: 14px; border-radius: var(--r-pill); background: var(--ink); }
.cta-stripes span:nth-child(2) { margin-left: 22%; } .cta-stripes span:nth-child(3) { margin-left: 8%; } .cta-stripes span:nth-child(4) { margin-left: 30%; }
@media (max-width: 700px) { .cta-stripes { display: none; } }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #cfc7bd; border-top: 6px solid var(--honey); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.footer-brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.2rem; color: #fff; }
.footer-brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-about { margin-top: .9rem; max-width: 34ch; font-size: .95rem; color: #a7a29a; }
.footer-col h3 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: .9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-col a { color: #cfc7bd; font-weight: 500; font-size: .96rem; }
.footer-col a:hover { color: var(--honey); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.3rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; justify-content: space-between; font-size: .88rem; color: #8b857c; }
.footer-bottom .platforms { display: inline-flex; gap: 1rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand-col { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Legal / doc pages -------------------------------------------------- */
.doc-hero { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 3vw, 2rem); }
.doc-hero .eyebrow { margin-bottom: .6rem; }
.doc-hero h1 { font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); }
.doc-meta { margin-top: .8rem; color: var(--gray); font-weight: 500; font-size: .95rem; }
.doc-layout { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 20px); font-size: .92rem; }
.toc-title { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); margin: 0 0 .8rem; }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; border-left: 2px solid var(--line); }
.toc a { color: var(--gray); padding-left: 1rem; margin-left: -2px; border-left: 2px solid transparent; display: block; }
.toc a:hover { color: var(--ink); border-left-color: var(--honey); }
.doc { max-width: 720px; }
.doc h2 { font-size: 1.4rem; font-weight: 700; margin-top: 2.6rem; scroll-margin-top: calc(var(--nav-h) + 20px); }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.08rem; font-weight: 600; margin-top: 1.6rem; }
.doc p { margin-top: .9rem; color: #3a3f4a; }
.doc ul, .doc ol { margin-top: .9rem; padding-left: 1.2rem; color: #3a3f4a; }
.doc li { margin-top: .5rem; }
.doc li::marker { color: var(--honey-deep); }
.doc strong { color: var(--ink); font-weight: 600; }
.doc a { font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.callout {
  background: var(--paper-2); border: 1px solid var(--line); border-left: 4px solid var(--honey);
  border-radius: var(--r-md); padding: 1.1rem 1.3rem; margin-top: 1.5rem;
}
.callout p { margin-top: 0; }
.callout strong { color: var(--ink); }
@media (max-width: 860px) { .doc-layout { grid-template-columns: 1fr; gap: 1.5rem; } .toc { position: static; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.2rem; background: var(--paper-2); } .toc ul { border-left: none; } }

/* ---- Support / FAQ ------------------------------------------------------ */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.5rem; }
.contact-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .6rem;
}
.contact-card .chip { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(250,203,115,.28); margin-bottom: .3rem; }
.contact-card .chip svg { width: 24px; height: 24px; stroke: var(--honey-deep); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h3 { font-size: 1.15rem; font-weight: 700; }
.contact-card p { color: var(--gray); font-size: .96rem; }
.contact-card .mail { font-weight: 700; font-size: 1.05rem; color: var(--blue); word-break: break-word; }
@media (max-width: 700px) { .support-grid { grid-template-columns: 1fr; } }

.faq { max-width: 780px; margin-top: 1.5rem; }
.faq details {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md);
  margin-bottom: .8rem; overflow: hidden; transition: border-color .18s ease;
}
.faq details[open] { border-color: var(--honey); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-weight: 600; font-size: 1.03rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--honey-deep);
  border-bottom: 2.5px solid var(--honey-deep); transform: rotate(45deg); transition: transform .2s ease; margin-top: -4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 2px; }
.faq .faq-body { padding: 0 1.3rem 1.2rem; color: #3a3f4a; }
.faq .faq-body p + p { margin-top: .7rem; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---- Utility ------------------------------------------------------------ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff;
  padding: .7rem 1rem; border-radius: 10px; transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }
.mt-0 { margin-top: 0; }
