/* ==========================================================================
   Lamvoro — "Louvred light" design system
   Warm architectural daylight · graphite slats · gold as raking light.
   ========================================================================== */

:root {
  /* Surfaces — warm limestone / aluminium daylight */
  --limestone: #F1ECE2;
  --paper:     #F8F5EF;
  --aluminium: #E7E0D3;
  --sand:      #EDE6D8;

  /* Structure & ink — graphite is the slat material */
  --graphite:   #1B1C1E;
  --graphite-2: #26272A;
  --graphite-3: #34363A;
  --ink:        #1B1C1E;
  --ink-soft:   #44433E;
  --ink-muted:  #6E695D;

  /* Gold — raking light (the single accent) */
  --gold:       #B9872A;
  --gold-light: #E3B651;
  --gold-dark:  #976E1E;   /* large text / display only on light bg */
  --gold-text:  #7E591A;   /* AA-contrast gold for small text + links on light bg */

  /* Cool shadow note — used sparingly as a neutral, never as a 2nd accent */
  --slate: #6E7C85;
  --field-border: #8C8470;   /* >=3:1 on paper & limestone */

  /* Lines */
  --line:       rgba(27, 28, 30, 0.12);
  --line-soft:  rgba(27, 28, 30, 0.07);
  --line-gold:  rgba(185, 135, 42, 0.35);
  --line-dark:  rgba(243, 239, 231, 0.14);

  /* Type */
  --display: "Archivo Expanded", "Archivo", system-ui, sans-serif;
  --body:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 9vw, 136px);
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-soft: 0 1px 2px rgba(27,28,30,.05), 0 10px 30px -18px rgba(27,28,30,.35);
  --shadow-lift: 0 2px 4px rgba(27,28,30,.06), 0 24px 56px -28px rgba(27,28,30,.45);

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

/* ------------------------------------------------------------------ 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; } }

body {
  font-family: var(--body);
  background: var(--limestone);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.band :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-light); }

/* ------------------------------------------------------------------ type */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.h-display {
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -0.005em; }
p { max-width: 64ch; }
strong { font-weight: 600; }

.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.33rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 54ch;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .02em;
  color: var(--gold-text);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ------------------------------------------------------------------ layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.stack > * + * { margin-top: 1.1rem; }

/* Louvre rule — the recurring structural device (real slats, not decoration) */
.slat-rule {
  height: 10px;
  width: 100%;
  background: repeating-linear-gradient(
    180deg,
    var(--line) 0 1px,
    transparent 1px 5px
  );
  opacity: .5;
  border: 0;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  padding: .92em 1.7em;
  white-space: nowrap;
  font-family: var(--body);
  font-weight: 600;
  font-size: .98rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--graphite);
  color: var(--paper);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover { background: #000; box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.btn--gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #241a06;
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, var(--shadow-soft);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, var(--shadow-lift); }
.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(27,28,30,.03); }
.btn--on-dark.btn--ghost { border-color: var(--line-dark); color: var(--paper); }
.btn--on-dark.btn--ghost:hover { border-color: var(--paper); background: rgba(243,239,231,.06); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--limestone) 82%, transparent);
  backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header[data-scrolled="true"] { border-bottom-color: var(--line); }
.nav {
  display: flex; align-items: center; gap: 2rem;
  height: 74px;
}
.brand { display: flex; align-items: center; }
.brand img, .brand svg { height: 30px; width: auto; display: block; }
.nav__links {
  display: flex; align-items: center; gap: 1.6rem;
  margin-left: auto;
  list-style: none; padding: 0;
}
.nav__links a:not(.btn) {
  font-weight: 500; font-size: .96rem; color: var(--ink-soft);
  padding: .3rem 0; position: relative;
  transition: color .2s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--gold);
  transition: right .25s var(--ease);
}
.nav__links a:not(.btn):hover::after { right: 0; }
.nav__cta { margin-left: .4rem; }
.nav__toggle { display: none; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: clip; padding-top: clamp(40px, 6vw, 72px); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero__eyebrow { margin-bottom: 1.4rem; }
.hero h1 { margin-bottom: 1.4rem; }
.hero h1 .tilt { color: var(--gold-dark); }
.hero .lead { margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero__note {
  margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: 1.3rem;
  font-size: .9rem; color: var(--ink-muted);
}
.hero__note span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__compat { margin-top: 1rem; font-size: .9rem; color: var(--ink-muted); max-width: 48ch; }
.hero__note svg { width: 17px; height: 17px; color: var(--gold-text); }

/* Hero visual — looking up at a louvred roof against warm sky, app in front.
   Defaults to the OPEN/visible state so it works with JS off; the closed
   starting state is gated behind .js and animates open on load. */
.louvre-stage {
  position: relative;
  aspect-ratio: 5 / 4.4;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #7E97A6 0%, #A9BAC2 30%, #D7CFC1 70%, #E7E0D3 100%);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--line);
  overflow: hidden;
  perspective: 1250px;
  perspective-origin: 50% 155%;
}
.louvre-stage__sky {               /* warm low sun behind the slats */
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 62% -2%, rgba(243,201,109,.95), rgba(243,201,109,0) 62%);
}
/* the roof: thick slats seen from below, sky showing between them */
.louvre-roof {
  position: absolute; left: -12%; right: -12%; top: -10%; height: 82%;
  transform: rotateX(41deg);
  transform-origin: 50% 0%;
  transform-style: preserve-3d;
  display: grid; grid-auto-rows: 1fr; gap: 4.2%;
  padding: 1.5% 3% 0;
}
.slat {
  --tilt: 44deg;                   /* OPEN by default (visible mass, sky between) */
  position: relative;
  border-radius: 4px;
  transform: rotateX(var(--tilt));
  transform-origin: center;
  background: linear-gradient(176deg, #5f646b 0%, #2b2d31 48%, #0b0c0d 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 10px 16px -6px rgba(0,0,0,.5);
  transition: transform 1.05s var(--ease);
}
.slat::after {                     /* gold light catching the slat's leading edge */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 58%; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, rgba(246,205,112,.85), rgba(246,205,112,0));
  opacity: 1; transition: opacity 1.05s var(--ease);
}
/* with JS, start closed then animate to the open default */
.js .louvre-stage:not([data-open="true"]) .slat { --tilt: 84deg; }
.js .louvre-stage:not([data-open="true"]) .slat::after { opacity: 0; }
.louvre-stage .slat:nth-child(1) { transition-delay: .05s; }
.louvre-stage .slat:nth-child(2) { transition-delay: .12s; }
.louvre-stage .slat:nth-child(3) { transition-delay: .19s; }
.louvre-stage .slat:nth-child(4) { transition-delay: .26s; }
.louvre-stage .slat:nth-child(5) { transition-delay: .33s; }
.louvre-stage .slat:nth-child(6) { transition-delay: .40s; }
.louvre-stage .slat:nth-child(7) { transition-delay: .47s; }

/* the app, controlling the roof from the front */
.app-phone {
  position: absolute; right: 5%; bottom: -7%;
  width: 45%; max-width: 186px; height: auto;
  filter: drop-shadow(0 28px 42px rgba(20,18,12,.46));
  transform: translateY(0) rotate(2deg);
  opacity: 1;
  transition: transform .9s var(--ease) .45s, opacity .9s var(--ease) .45s;
}
.js .louvre-stage:not([data-open="true"]) .app-phone { transform: translateY(20px) rotate(1.8deg); opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .slat, .app-phone { transition: none; }
}

/* ------------------------------------------------------------------ logos / trust strip */
.trust { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--paper); }
.trust__row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-block: 22px; }
.trust__label { font-size: .82rem; color: var(--ink-muted); font-weight: 600; }
.trust__items { display: flex; gap: clamp(1.2rem, 3vw, 2.6rem); flex-wrap: wrap; color: var(--ink-soft); font-weight: 600; font-size: .95rem; opacity: .9; }
.trust__items span { display: inline-flex; align-items: center; gap: .5rem; }

/* ------------------------------------------------------------------ section heading */
.sec-head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .eyebrow { margin-bottom: 1rem; }
.sec-head p { color: var(--ink-soft); margin-top: 1rem; font-size: 1.1rem; }

/* ------------------------------------------------------------------ problem / contrast split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 28px); }
.panel {
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
}
.panel--before { background: var(--paper); }
.panel--after { background: var(--graphite); color: var(--paper); border-color: transparent; }
.panel h3 { margin-bottom: 1.1rem; display: flex; align-items: center; gap: .7rem; }
.panel--after h3 { color: var(--paper); }
.panel ul { list-style: none; padding: 0; display: grid; gap: .85rem; }
.panel li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1.02rem; }
.panel li svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; }
.panel--before li svg { color: var(--ink-muted); }
.panel--after li { color: rgba(243,239,231,.86); }
.panel--after li svg { color: var(--gold-light); }
.tag { font-family: var(--body); font-size: .72rem; font-weight: 700; letter-spacing: .08em; padding: .25em .7em; border-radius: 999px; }
.tag--before { background: var(--aluminium); color: var(--ink-soft); }
.tag--after { background: rgba(227,182,81,.16); color: var(--gold-light); }

/* ------------------------------------------------------------------ steps (genuine sequence → numbered) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 30px); }
.step { position: relative; padding-top: 2.3rem; }
.step::before {                       /* slat marker that grows 1 -> 2 -> 3 to show progression */
  content: ""; position: absolute; top: 2px; left: 0;
  width: 30px; height: 19px;
  background: repeating-linear-gradient(180deg, var(--gold-dark) 0 3px, transparent 3px 8px);
  transform: rotate(-9deg); transform-origin: left center; border-radius: 1px;
}
.step:nth-child(1)::before { height: 3px; }
.step:nth-child(2)::before { height: 11px; }
.step:nth-child(3)::before { height: 19px; }
.step h3 { margin-bottom: .6rem; }
.step p { color: var(--ink-soft); font-size: 1rem; }

/* ------------------------------------------------------------------ feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px);
  transition: border-color .25s var(--ease);
}
.feature:hover { border-color: var(--line-gold); }
.feature__ic {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--sand);
  color: var(--gold-text);
  margin-bottom: 1.1rem;
  border: 1px solid var(--line);
}
.feature__ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.feature p { color: var(--ink-soft); font-size: .98rem; }

/* ------------------------------------------------------------------ dark reseller band */
.band {
  background: var(--graphite);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.band::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, rgba(243,239,231,.035) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.band::after {
  content: ""; position: absolute; top: -30%; right: -12%; width: 52%; height: 160%;
  background: radial-gradient(closest-side, rgba(227,182,81,.1), transparent 72%);
  pointer-events: none;
}
.band h2, .band h3 { color: var(--paper); }
.band .lead { color: rgba(243,239,231,.78); }
.band .eyebrow { color: var(--gold-light); }
.band .eyebrow::before { background: linear-gradient(90deg, var(--gold-light), transparent); }
.band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.reseller-list { list-style: none; padding: 0; display: grid; gap: 1.1rem; }
.reseller-list li { display: flex; gap: .9rem; align-items: flex-start; }
.reseller-list .k {                   /* single short slat — distinct from the 3-slat step mark */
  flex: 0 0 auto; width: 20px; height: 4px; margin-top: 10px;
  background: var(--gold-light);
  transform: rotate(-9deg); transform-origin: left center; border-radius: 2px;
}
.reseller-list .v { color: rgba(243,239,231,.84); }
.reseller-list .v strong { color: var(--paper); }

/* Badge shown as a floating product shot (transparent cut-out) on the dark band */
.badge-card {
  background: none; border: 0; box-shadow: none; padding: 0;
  align-self: center; max-width: 420px; width: 100%; margin-inline: auto;
}
.badge-card img { width: 100%; height: auto; filter: drop-shadow(0 24px 36px rgba(0,0,0,.55)); }
.badge-card figcaption { margin-top: 20px; font-size: .9rem; color: rgba(243,239,231,.72); display: flex; align-items: center; gap: .5rem; justify-content: center; }
.badge-card figcaption svg { width: 16px; height: 16px; color: var(--gold-light); flex: 0 0 auto; }

/* ------------------------------------------------------------------ spec table */
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(30px, 5vw, 70px); }
.spec { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--ink-muted); font-size: .96rem; }
.spec dd { font-weight: 600; text-align: right; font-size: .98rem; }

/* ------------------------------------------------------------------ FAQ */
.faq { display: grid; gap: 0; max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  list-style: none; cursor: pointer;
  padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink); line-height: 1.2;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 13px; height: 13px;
  background:
    linear-gradient(var(--gold-text), var(--gold-text)) center/13px 2px no-repeat,
    linear-gradient(var(--gold-text), var(--gold-text)) center/2px 13px no-repeat;
  transform: translateY(-50%); transition: transform .3s var(--ease);
}
.faq__item[open] .faq__q::after { transform: translateY(-50%) rotate(45deg); background: linear-gradient(var(--gold-text), var(--gold-text)) center/13px 2px no-repeat; }
.faq__a-inner { padding: 0 2.5rem 1.5rem 0; color: var(--ink-soft); }
.faq__a-inner p { font-size: 1.02rem; }
.faq__a-inner p + p { margin-top: .8rem; }

/* ------------------------------------------------------------------ CTA */
.cta-final { text-align: center; }
.cta-final .wrap { max-width: 760px; }
.cta-final h2 { margin-bottom: 1.1rem; }
.cta-final .lead { margin-inline: auto; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------------ forms */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.field { display: grid; gap: .45rem; min-width: 0; }
.field label { font-weight: 600; font-size: .92rem; }
.field label .req { color: var(--gold-text); }
.field label .opt { color: var(--ink-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; padding: .8em .95em; border-radius: 10px;
  border: 1px solid var(--field-border); background: var(--paper); color: var(--ink);
  width: 100%; min-width: 0;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--gold);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(185,135,42,.18);
}
.field textarea { min-height: 130px; resize: vertical; }
.form__hint { font-size: .86rem; color: var(--ink-muted); }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--graphite); color: rgba(243,239,231,.7); padding-block: clamp(48px, 6vw, 72px) 32px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.footer__brand img, .footer__brand svg { height: 28px; width: auto; display: block; margin-bottom: 1rem; }
.footer__brand p { font-size: .95rem; color: rgba(243,239,231,.6); max-width: 34ch; }
.site-footer h4 { font-family: var(--body); font-size: .8rem; letter-spacing: .04em; color: var(--gold-light); margin-bottom: 1rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.site-footer a { color: rgba(243,239,231,.72); font-size: .95rem; transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--paper); }
.footer__legal a { color: rgba(243,239,231,.72); }
.footer__legal a:hover { color: var(--paper); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .85rem; color: rgba(243,239,231,.62); }

/* ------------------------------------------------------------------ utilities / reveal */
/* Reveal: a single restrained entrance on section intros only (not every card).
   Hidden only when JS is present to bring it back, so it degrades gracefully. */
.js .sec-head.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.sec-head.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .sec-head.reveal { opacity: 1; transform: none; transition: none; } }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--graphite); color: #fff; padding: .6em 1em; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.link-gold { color: var(--gold-text); font-weight: 600; }
.link-gold:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .louvre-stage { max-width: 440px; margin-inline: auto; aspect-ratio: 5/4.6; }
  .band__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { height: auto; min-height: 74px; flex-wrap: wrap; padding-block: 10px; }
  /* no-JS: links wrap and stay usable; with JS: collapse behind the toggle */
  .nav__links { flex-wrap: wrap; row-gap: .2rem; column-gap: 1.1rem; }
  .js .nav__links { display: none; }
  .js .nav__toggle {
    display: inline-grid; place-items: center; margin-left: auto;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
  }
  .spec { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .spec dd { text-align: left; }
  .nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
    content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: .25s var(--ease);
  }
  .nav__toggle span::before { position: absolute; top: -6px; }
  .nav__toggle span::after { position: absolute; top: 6px; }
  .nav[data-open="true"] .nav__toggle span { background: transparent; }
  .nav[data-open="true"] .nav__toggle span::before { top: 0; transform: rotate(45deg); }
  .nav[data-open="true"] .nav__toggle span::after { top: 0; transform: rotate(-45deg); }
  .nav[data-open="true"] .nav__links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--limestone); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.6rem;
  }
  .nav[data-open="true"] .nav__links li { width: 100%; }
  .nav[data-open="true"] .nav__links a { display: block; padding: .9rem 0; width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav[data-open="true"] .nav__cta { margin-top: 1rem; }
  .split, .steps, .features, .specs { grid-template-columns: 1fr; }
  .step { padding-top: 2.1rem; }
  .step::after { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__note { gap: .7rem 1.2rem; }
}

/* ------------------------------------------------------------------ legal pages */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .5rem; }
.legal .updated { color: var(--ink-muted); font-size: .92rem; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 .7rem; }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.65; }
.legal p { margin-bottom: 1rem; max-width: 68ch; }
.legal ul { padding-left: 1.2rem; margin-bottom: 1rem; display: grid; gap: .4rem; }
.legal a { color: var(--gold-text); font-weight: 600; }
.legal .todo { background: rgba(185,135,42,.1); border-left: 3px solid var(--gold); padding: .4em .7em; border-radius: 4px; color: var(--ink-soft); font-size: .92rem; }
.legal dl.meta { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.4rem; margin: 1rem 0 1.5rem; }
.legal dl.meta dt { font-weight: 600; color: var(--ink); }
.legal dl.meta dd { color: var(--ink-soft); }

/* ------------------------------------------------------------------ language switch */
.lang-switch { display: inline-flex; align-items: center; gap: .45rem; margin-left: 1.3rem; font-size: .85rem; font-weight: 600; }
.lang-switch a { color: var(--ink-muted); padding: .2rem .1rem; letter-spacing: .02em; }
.lang-switch a.is-active { color: var(--ink); }
.lang-switch a:hover { color: var(--gold-text); }
.lang-sep { width: 1px; height: 13px; background: var(--line); display: inline-block; }
@media (max-width: 760px) {
  .lang-switch { margin-left: auto; margin-right: .2rem; order: 2; }
  .nav__toggle { order: 3; }
}
