/* =========================================================================
   Valerii Sharlai — Odoo Architect & Mentor
   Design system: warm paper, ink, editorial serif + clean sans.
   Premium-minimal. No framework.
   ========================================================================= */

:root {
  /* palette — warm neutrals + one restrained accent */
  --paper:      #FBFAF6;
  --paper-2:    #F4F1E9;
  --paper-3:    #ECE8DD;
  --ink:        #18150F;
  --ink-2:      #2E2A22;
  --muted:      #6A6357;
  --faint:      #938C7D;
  --line:       rgba(24, 21, 15, 0.12);
  --line-soft:  rgba(24, 21, 15, 0.06);
  --accent:     #4B43D6;   /* used sparingly */
  --accent-2:   #6E66F0;
  --on-ink:     #F7F5EF;

  --r:      14px;
  --r-lg:   22px;
  --r-pill: 999px;

  --shadow:    0 1px 2px rgba(24,21,15,.05), 0 1px 1px rgba(24,21,15,.03);
  --shadow-lg: 0 28px 64px -34px rgba(24,21,15,.42);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1140px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv05";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* faint vertical grain to make the paper feel material, not flat */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1200px 600px at 78% -8%, rgba(75,67,214,.05), transparent 60%),
    radial-gradient(900px 500px at -5% 8%, rgba(110,102,240,.04), transparent 55%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(75,67,214,.16); }

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

/* ---- layout ----------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--paper2 { background: var(--paper-2); }
.section--ink {
  background: var(--ink);
  color: var(--on-ink);
}

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---- typography ------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 460;
  font-optical-sizing: auto;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

.display {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 420;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); letter-spacing: -0.01em; }

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink-2);
  font-weight: 400;
}

.muted { color: var(--muted); }
.measure { max-width: 62ch; }
.measure-sm { max-width: 48ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.section--ink .eyebrow { color: rgba(247,245,239,.6); }

.serif-num { font-family: var(--font-display); font-weight: 380; letter-spacing: -.02em; }

/* ---- buttons ---------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 550;
  line-height: 1;
  padding: .92em 1.5em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--ink); color: var(--on-ink); }
.btn--primary:hover { box-shadow: var(--shadow-lg); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(24,21,15,.03); }

.section--ink .btn--primary { background: var(--on-ink); color: var(--ink); }
.section--ink .btn--ghost { color: var(--on-ink); border-color: rgba(247,245,239,.28); }
.section--ink .btn--ghost:hover { border-color: var(--on-ink); background: rgba(247,245,239,.06); }

.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 550;
  color: var(--ink);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .3s var(--ease);
  padding-bottom: 1px;
}
.textlink:hover { background-size: 100% 1.5px; }

/* ---- pills / tags ----------------------------------------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-size: .78rem;
  font-weight: 500;
  padding: .42em .85em;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
}
.tag {
  font-size: .76rem;
  color: var(--muted);
  padding: .3em .7em;
  border-radius: var(--r-pill);
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
}
.tag::before { content: "#"; opacity: .5; }

/* ---- header ----------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .5em;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: -.02em;
}
.brand .dot { color: var(--accent); }
.brand small {
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
  padding: .5em .85em;
  border-radius: var(--r-pill);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after {
  content: ""; display: block; height: 1.5px; margin-top: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav .btn { margin-left: 8px; }

.nav-toggle { display: none; }

/* ---- hero ------------------------------------------------------------- */

.hero { padding-block: clamp(72px, 12vw, 152px); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero .display { margin-top: 22px; }
.hero .lead { margin-top: 26px; max-width: 38ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__meta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  padding: 30px;
  box-shadow: var(--shadow);
}
.hero__card h3 { font-family: var(--font-sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.hero__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 2px; }
.hero__list li {
  display: flex; gap: 14px; align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}
.hero__list li:first-child { border-top: 0; }
.hero__list .k { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); flex: 1; }
.hero__list .v { font-size: .85rem; color: var(--muted); text-align: right; }

/* ---- stats ------------------------------------------------------------ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat { background: var(--paper); padding: 30px 26px; }
.section--ink .stats { background: rgba(247,245,239,.14); border-color: rgba(247,245,239,.14); }
.section--ink .stat { background: var(--ink); }
.stat .value { font-family: var(--font-display); font-size: clamp(2rem,3.4vw,2.9rem); font-weight: 380; letter-spacing: -.03em; }
.stat .label { margin-top: 8px; font-size: .9rem; color: var(--muted); line-height: 1.4; }
.section--ink .stat .label { color: rgba(247,245,239,.6); }

/* ---- section heading helper ------------------------------------------ */

.sec-head { max-width: 56ch; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head .h2 { margin-top: 16px; }
.sec-head .lead { margin-top: 16px; }

.sec-head--split {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; max-width: none;
}

/* ---- course cards ----------------------------------------------------- */

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(24,21,15,.2); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__title { font-size: 1.32rem; }
.card__sum { color: var(--muted); font-size: .96rem; }
.card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.card__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--line-soft);
  font-size: .88rem; color: var(--muted);
}
.card__foot .go { color: var(--ink); font-weight: 550; display: inline-flex; gap: .4em; align-items: center; }
.card:hover .card__foot .go .arr { transform: translateX(3px); }

.level {
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--accent);
  padding: .35em .7em; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--accent) 9%, var(--paper));
  white-space: nowrap;
}

/* ---- process / steps -------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.step { background: var(--paper); padding: 32px 26px; }
.step .n { font-family: var(--font-mono); font-size: .82rem; color: var(--accent); letter-spacing: .05em; }
.step h3 { font-size: 1.22rem; margin-top: 14px; }
.step p { margin: 10px 0 0; color: var(--muted); font-size: .95rem; }

/* ---- who-for list ----------------------------------------------------- */

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.checklist li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 0; border-top: 1px solid var(--line);
  font-size: 1.08rem; color: var(--ink-2);
}
.checklist li:first-child { border-top: 0; }
.checklist .mk {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent);
  display: grid; place-items: center; font-size: .8rem; margin-top: 3px;
}

/* ---- testimonials ----------------------------------------------------- */

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex; flex-direction: column; gap: 20px;
}
.quote .mark { font-family: var(--font-display); font-size: 3rem; line-height: .6; color: var(--accent); height: 24px; }
.quote p { margin: 0; font-size: 1.06rem; color: var(--ink-2); line-height: 1.5; }
.quote .who { margin-top: auto; }
.quote .who .name { font-weight: 600; font-size: .95rem; }
.quote .who .ctx { font-size: .86rem; color: var(--faint); }

/* ---- FAQ (CSS-only accordion) ----------------------------------------- */

.faq { border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 4px;
  font-family: var(--font-display); font-size: clamp(1.1rem,1.6vw,1.32rem);
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico {
  flex: none; width: 26px; height: 26px; position: relative;
  border: 1px solid var(--line); border-radius: 50%;
  transition: border-color .25s var(--ease);
}
.faq summary .ico::before, .faq summary .ico::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq summary .ico::before { width: 11px; height: 1.5px; }
.faq summary .ico::after { width: 1.5px; height: 11px; }
.faq details[open] summary .ico { border-color: var(--accent); }
.faq details[open] summary .ico::after { transform: scaleY(0); opacity: 0; }
.faq .ans { padding: 0 4px 26px; color: var(--muted); max-width: 68ch; line-height: 1.6; }

/* ---- CTA band --------------------------------------------------------- */

.cta-band { text-align: center; }
.cta-band .display { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cta-band .lead { margin: 22px auto 0; max-width: 46ch; color: rgba(247,245,239,.72); }
.cta-band .hero__cta { justify-content: center; margin-top: 34px; }

/* ---- footer ----------------------------------------------------------- */

.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-block: 64px 40px;
}
.footer-grid .brand { font-size: 1.4rem; }
.footer-col h4 { font-family: var(--font-sans); font-size: .76rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: var(--muted); padding: 5px 0; font-size: .95rem; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-block: 24px; border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--faint);
}

/* ---- prose (markdown content) ----------------------------------------- */

.prose { color: var(--ink-2); font-size: 1.05rem; line-height: 1.75; }
.prose > *:first-child { margin-top: 0; }
.prose h1 { font-size: clamp(1.8rem,3vw,2.4rem); margin: 1.8em 0 .5em; }
.prose h2 { font-size: clamp(1.5rem,2.4vw,1.95rem); margin: 1.9em 0 .5em;
  padding-top: 1.4em; border-top: 1px solid var(--line-soft); }
.prose h1 + *, .prose h2:first-of-type { border-top: 0; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .4em; }
.prose h4 { font-family: var(--font-sans); font-weight: 650; font-size: 1.02rem; margin: 1.5em 0 .4em; color: var(--ink); }
.prose p { margin: 0 0 1.1em; }
.prose a { color: var(--accent); font-weight: 500;
  background-image: linear-gradient(currentColor,currentColor);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 1.15em; }
.prose ul, .prose ol { margin: 1em 0 1.3em; padding-left: 1.3em; }
.prose li { margin: .45em 0; padding-left: .2em; }
.prose li::marker { color: var(--accent); }
.prose blockquote {
  margin: 1.4em 0; padding: 4px 0 4px 22px;
  border-left: 2px solid var(--accent);
  color: var(--muted); font-style: normal;
}
.prose blockquote p { margin: 0; }
.prose code {
  font-family: var(--font-mono); font-size: .88em;
  background: var(--paper-2); border: 1px solid var(--line-soft);
  padding: .1em .4em; border-radius: 6px;
}
.prose pre {
  background: #16140F; color: #ECE8DD; border-radius: var(--r);
  padding: 20px 22px; overflow-x: auto; margin: 1.4em 0; font-size: .9rem;
}
.prose pre code { background: none; border: 0; color: inherit; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }

/* ---- course detail layout -------------------------------------------- */

.detail-hero {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); min-height: 320px; display: flex; align-items: flex-end;
}
.detail-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-hero__veil { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,12,.15) 0%, rgba(20,18,12,.55) 55%, rgba(20,18,12,.82) 100%); }
.detail-hero__body { position: relative; padding: clamp(28px,4vw,48px); color: #fff; max-width: 760px; }
.detail-hero__body h1 { color: #fff; font-size: clamp(2rem,4.2vw,3.2rem); margin-top: 16px; }
.detail-hero__body p { color: rgba(255,255,255,.86); margin-top: 14px; font-size: 1.1rem; max-width: 52ch; }
.detail-hero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.detail-hero .level { background: rgba(255,255,255,.16); color: #fff; }
.detail-hero .tag { background: rgba(255,255,255,.12); color: rgba(255,255,255,.92); border-color: rgba(255,255,255,.2); }

.detail-grid {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start;
  margin-top: 40px;
}
.aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.panel { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); overflow: hidden; }
.panel__h { padding: 16px 20px; border-bottom: 1px solid var(--line-soft);
  font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.spec { padding: 6px 20px 16px; }
.spec__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: .92rem; }
.spec__row:first-child { border-top: 0; }
.spec__row .k { color: var(--muted); }
.spec__row .v { color: var(--ink); font-weight: 550; text-align: right; }
.panel .btn { margin: 4px 20px 20px; display: flex; justify-content: center; }

.toc { padding: 8px 12px 16px; max-height: 56vh; overflow-y: auto; }
.toc a { display: block; padding: 7px 10px; border-radius: 8px; font-size: .9rem; color: var(--muted);
  border-left: 2px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.toc a:hover { color: var(--ink); background: var(--paper-2); }
.toc a.lvl-2 { padding-left: 22px; font-size: .86rem; }
.toc a.lvl-3 { padding-left: 34px; font-size: .82rem; }

.article {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(28px,4vw,48px);
}

/* ---- contact ---------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.contact-card {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--paper); padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contact-card .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: var(--on-ink); margin-bottom: 18px; }
.contact-card h3 { font-size: 1.2rem; }
.contact-card p { color: var(--muted); font-size: .92rem; margin: 8px 0 16px; }

/* ---- reveal on scroll ------------------------------------------------- */

[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .contact-card:hover { transform: none; }
}

/* ---- responsive ------------------------------------------------------- */

@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { order: 2; }
  .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sec-head--split { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 14px 18px 22px; gap: 4px;
  }
  .nav.is-open a { padding: 12px 10px; }
  .nav.is-open .btn { margin: 8px 0 0; justify-content: center; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 42px; height: 42px;
    border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; gap: 4px;
  }
  .nav-toggle span { display: block; width: 18px; height: 1.6px; background: var(--ink); }
  .stats, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
