/* ==========================================================================
   VELLA — launch site
   Layer 1: tokens · Layer 2: base · Layer 3: components · Layer 4: responsive
   Values are taken verbatim from the source design unless noted.
   ========================================================================== */

/* ---------- Fonts (self-hosted: no third-party origin, tighter CSP) -------- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 600;           /* variable font covers 400/500/600 */
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
                 U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Layer 1: tokens ---------------------------------------------- */
:root {
  --bg: #F6F2EC;
  --surface: #FCFAF7;
  --ink: #23272A;
  --body: #4A5250;
  --muted: #6D7370;
  --faint: #6E685C;              /* design used #8A8377 (~3.2:1) — fails AA */
  --accent: #4C6B58;
  --accent-hover: #3B5445;
  --accent-deep: #3F5C4C;
  --accent-light: #A9C0B0;

  --dark: #23272A;
  --dark-surface: #2E3335;
  --dark-line: #3C4143;
  --dark-ink: #FCFAF7;
  --dark-body: #C9C6C0;
  --dark-muted: #9EA5A2;

  --waitlist-bg: #E4EBE4;
  --waitlist-ink: #1F2623;
  --waitlist-body: #3C4844;
  --waitlist-line: #C6D3C6;

  --line: #E4DED4;
  --line-strong: #E0D9CE;
  --line-input: #B9BEB6;
  --img-bg: #EFE9E0;
  --hover-tint: #EFEAE1;
  --hover-tint-warm: #F1ECE3;

  --font-display: 'Montserrat', Helvetica, Arial, sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --radius-card: 20px;
  --radius-panel: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --radius-pill: 999px;

  --shell: 1360px;
  --header-h: 82px;

  --section-pad-block: clamp(64px, 8vw, 112px);
  --section-pad-inline: clamp(20px, 4vw, 48px);
}

/* ---------- Layer 2: base ------------------------------------------------ */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

img { max-width: 100%; }

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

/* Anchor targets must clear the sticky header — the design scrolls them under it. */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

@keyframes vellaRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.visually-hidden {
  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: -9999px; top: 0; z-index: 99;
  background: var(--ink); color: var(--surface);
  padding: 14px 20px; text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Layer 3: shared components ----------------------------------- */
.shell { max-width: var(--shell); margin: 0 auto; }

.section {
  padding: var(--section-pad-block) var(--section-pad-inline);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}
.eyebrow--light { color: var(--accent-light); }
.eyebrow--deep { color: var(--accent-deep); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.875rem);
  line-height: 1.14;
  margin: 0 0 20px;
  color: var(--ink);
  text-wrap: balance;
}

.section-lede {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.6;
  color: var(--body);
  max-width: 40em;
  margin: 0 0 48px;
}

/* Buttons — the design has three distinct pill variants; keep them distinct. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.btn--accent {              /* header CTA: #4C6B58 -> #3B5445 */
  background: var(--accent);
  color: var(--surface);
  font-size: 17px;
  padding: 16px 28px;
  min-height: 52px;
}
.btn--dark {                /* hero / panel CTA: #23272A -> #3B5445 */
  background: var(--ink);
  color: var(--surface);
  font-size: 19px;
  padding: 20px 38px;
  min-height: 60px;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  font-size: 19px;
  padding: 20px 34px;
  min-height: 60px;
  border: 1.5px solid #C3BBAE;
}
.btn--panel { font-size: 18px; padding: 18px 32px; min-height: 56px; }
.btn--submit {
  font-family: var(--font-display);
  font-size: 20px;
  padding: 20px 34px;
  min-height: 64px;
  justify-self: start;
}
.btn[aria-busy='true'], .btn:disabled { opacity: 0.65; cursor: progress; }

/* Hover only where hover truly exists, so taps don't leave sticky states. */
@media (hover: hover) {
  .btn--accent:hover, .btn--dark:hover, .btn--submit:hover { background: var(--accent-hover); }
  .btn--ghost:hover { border-color: var(--ink); }
}

.fill-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Announcement bar --------------------------------------------- */
.announce {
  background: var(--ink);
  color: #F0EDE7;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 12px 32px;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  text-align: center;
}
.announce__sep { opacity: 0.4; }

/* ---------- Header -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 250, 247, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px var(--section-pad-inline);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.34em;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
}
.nav__links { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.nav__link {
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: var(--radius-xs);
}
@media (hover: hover) { .nav__link:hover { background: var(--hover-tint); } }

/* ---------- Hero ---------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero__copy {
  padding: clamp(56px, 7vw, 104px) var(--section-pad-inline);
  max-width: 760px;
  animation: vellaRise 0.7s ease both;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 1.4rem + 4.2vw, 4.125rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  color: var(--ink);
  text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lede {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  line-height: 1.6;
  color: var(--body);
  margin: 0 0 40px;
  max-width: 33em;
  text-wrap: pretty;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__stats {
  list-style: none;
  margin: 0;
  padding: 32px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px 32px;
  border-top: 1px solid var(--line-strong);
  max-width: 640px;
}
.hero__stats li { font-size: 17px; color: var(--body); }
.hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 4px;
}
.hero__media {
  position: relative;
  background: var(--img-bg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
/* Landscape source in a tall slot: bias toward the product, not the ceiling. */
.hero__media img { object-position: 38% 55%; }

/* ---------- Assurances ---------------------------------------------------- */
.assurances { background: var(--surface); border-bottom: 1px solid var(--line); }
.assurances__list {
  list-style: none;
  margin: 0 auto;
  padding: 36px var(--section-pad-inline);
  max-width: var(--shell);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 40px;
}
.assurances__list li { font-size: 18px; color: var(--body); line-height: 1.5; }
.assurances__list strong { color: var(--ink); font-weight: 600; }

/* ---------- How it works -------------------------------------------------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.step-card__media {
  background: var(--img-bg);
  height: 260px;
  overflow: hidden;
  position: relative;
}
.step-card__media img { object-position: 50% 45%; }
/* Steps 01 and 03 are technical illustrations — the design shows them whole
   rather than cropped, so they letterbox onto the panel colour. */
.step-card__media--contain img { object-fit: contain; padding: 12px; }
.step-card__body { padding: 36px 34px 40px; }
.step-card__kicker {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--faint);
  margin: 0 0 14px;
}
.step-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.6875rem);
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--ink);
}
.step-card__text { font-size: 18px; line-height: 1.65; color: var(--body); margin: 0; }

.cycle {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.cycle__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.6875rem);
  margin: 0 0 14px;
  color: var(--ink);
}
.cycle__intro { font-size: 18px; line-height: 1.65; color: var(--body); margin: 0; }
.cycle__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cycle__row {
  display: grid;
  /* minmax(0,…) lets the text column shrink below its longest word. */
  grid-template-columns: clamp(64px, 22vw, 96px) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  background: var(--bg);
  border-radius: 14px;
  padding: 12px clamp(10px, 3vw, 18px);
}
.cycle__row img {
  width: 100%;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  display: block;
}
.cycle__label { font-size: 17px; color: var(--ink); min-width: 0; overflow-wrap: break-word; }
.cycle__time { font-size: 16px; color: var(--muted); text-align: right; white-space: nowrap; }

/* ---------- Who it's for (tabs) ------------------------------------------- */
.usecases {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 16px);
  margin-bottom: 32px;
}
.tab {
  text-align: left;
  cursor: pointer;
  min-height: 88px;
  padding: clamp(14px, 3vw, 20px);
  border-radius: var(--radius-md);
  font-family: inherit;
  background: var(--bg);
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  min-width: 0;          /* allow the grid cell to shrink */
  overflow-wrap: break-word;
}
/* Keyed off ARIA state so styling can never desync from the widget state. */
.tab[aria-selected='true'] {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
}
/* 0.75 opacity on the green ground is only 4.0:1; 0.85 clears AA at 4.65:1. */
.tab[aria-selected='true'] .tab__kicker { opacity: 0.85; }
.tab__kicker {
  font-family: var(--font-display);
  /* "ACCESSIBILITY" at 0.2em tracking does not fit a 320px two-up cell. */
  font-size: clamp(11px, 3vw, 14px);
  letter-spacing: clamp(0.08em, 0.6vw, 0.2em);
  display: block;
  margin-bottom: 10px;
  opacity: 0.75;
}
.tab__label {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.4375rem);
  font-weight: 500;
  display: block;
  line-height: 1.25;
}

.usecase {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
/* Panels ship visible so no-JS readers get all four; JS adds `hidden`.
   Needs to beat `display:grid` above, hence the explicit rule. */
.usecase[hidden] { display: none; }
.usecase__body { padding: clamp(32px, 4vw, 56px) clamp(24px, 3.5vw, 52px); }
.usecase__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.25rem);
  line-height: 1.18;
  margin: 0 0 18px;
  color: var(--ink);
  text-wrap: balance;
}
.usecase__text {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.65;
  color: var(--body);
  margin: 0 0 30px;
  max-width: 32em;
}
.usecase__points { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 14px; }
.usecase__points li {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
}
.usecase__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 9px;
}
.usecase__media {
  background: var(--img-bg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
}
.usecase__media img { object-position: 50% 45%; }

/* ---------- The device (dark) --------------------------------------------- */
.device { background: var(--dark); color: #F1EEE9; }
.device__intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 56px;
}
.device__title { color: var(--dark-ink); }
.device__lede {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.6;
  color: var(--dark-body);
  margin: 0;
}
.device__mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.device__stack { display: grid; gap: 24px; }
.device__tile {
  background: var(--dark-surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
}
.device__tile--tall { aspect-ratio: 4 / 3; }
/* Portrait dock shot in a landscape tile. `contain` would float it small on a
   mismatched light ground, so crop to the dock's opening — the detail the
   caption is about. */
.device__tile--dock img { object-position: 50% 42%; }

.specs {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--dark-line);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.specs > div { background: var(--dark); padding: 26px 28px; }
.specs dt {
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-muted);
  margin: 0 0 8px;
}
.specs dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--dark-ink);
}

/* ---------- Waitlist ------------------------------------------------------ */
.waitlist { background: var(--waitlist-bg); }
.waitlist__inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.waitlist__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.875rem, 1.25rem + 2.8vw, 3rem);
  line-height: 1.12;
  margin: 0 0 20px;
  color: var(--waitlist-ink);
  text-wrap: balance;
}
.waitlist__lede {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
  line-height: 1.6;
  color: var(--waitlist-body);
  margin: 0 auto 44px;
  max-width: 34em;
}
/* display:grid below would otherwise defeat the `hidden` attribute. */
.waitlist-form[hidden] { display: none; }
.waitlist-form {
  background: var(--surface);
  border: 1px solid var(--waitlist-line);
  border-radius: var(--radius-card);
  padding: 40px clamp(24px, 4vw, 40px) 44px;
  text-align: left;
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 26px;
}
.field { display: grid; gap: 10px; }
.field label { font-size: 18px; font-weight: 600; color: var(--ink); }
.field input,
.field select {
  font-family: inherit;
  font-size: 19px;
  padding: 18px 20px;
  border: 1.5px solid var(--line-input);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--ink);
  min-height: 60px;
  width: 100%;
}
.field input:focus, .field select:focus { border-color: var(--accent); }
.field input[aria-invalid='true'] { border-color: #A3342B; }
.field__hint { font-size: 16px; color: var(--muted); margin: 2px 0 0; }
.form-note { font-size: 16px; color: var(--muted); margin: 0; }

/* Honeypot: off-screen rather than display:none, which bots detect and skip. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin: 0;
  font-size: 17px;
  color: #A3342B;
  font-weight: 600;
}
.form-error:empty { display: none; }

.waitlist-success {
  background: var(--surface);
  border: 1px solid var(--waitlist-line);
  border-radius: var(--radius-card);
  padding: 52px clamp(24px, 4vw, 44px);
  text-align: left;
  max-width: 680px;
  margin: 0 auto;
}
.waitlist-success[hidden] { display: none; }
.waitlist-success__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 1.875rem);
  margin: 0 0 14px;
  color: var(--ink);
}
.waitlist-success__text { font-size: 19px; line-height: 1.6; color: var(--body); margin: 0 0 26px; }
.btn--reset {
  background: transparent;
  border: 1.5px solid var(--line-input);
  color: var(--ink);
  font-size: 18px;
  padding: 16px 30px;
  min-height: 56px;
}
@media (hover: hover) { .btn--reset:hover { border-color: var(--ink); } }

/* ---------- FAQ ----------------------------------------------------------- */
.faq__inner { max-width: 900px; margin: 0 auto; }
.faq__list { display: grid; gap: 14px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq__heading { margin: 0; }
.faq__trigger {
  width: 100%;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  padding: 28px 30px;
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
@media (hover: hover) { .faq__trigger:hover { background: var(--hover-tint-warm); } }
.faq__icon {
  flex: none;
  width: 18px;
  height: 18px;
  position: relative;
}
/* CSS chevron rather than a +/- text node (noise for screen readers). */
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.faq__icon::before { inset: 8px 0; height: 2px; }
.faq__icon::after  { inset: 0 8px; width: 2px; }
.faq__trigger[aria-expanded='true'] .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__panel {
  font-size: 19px;
  line-height: 1.65;
  color: var(--body);
  margin: 0;
  padding: 0 30px 30px;
  max-width: 44em;
}
.faq__panel[hidden] { display: none; }

/* ---------- Footer -------------------------------------------------------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 72px var(--section-pad-inline) 56px;
}
.site-footer__grid {
  max-width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.site-footer__brand {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.34em;
  margin: 0 0 16px;
  color: var(--ink);
}
.site-footer__blurb { font-size: 18px; line-height: 1.6; color: var(--body); margin: 0; max-width: 26em; }
.site-footer h3 {
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 18px;
  font-weight: 600;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-link { font-size: 18px; text-decoration: none; color: var(--ink); }
@media (hover: hover) { .footer-link:hover { color: var(--accent); } }
.footer-link--subtle { font-size: 17px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .footer-link--subtle:hover { color: var(--ink); } }
.site-footer__legal {
  max-width: var(--shell);
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--muted);
}

/* ---------- Standalone pages (thanks / 404) ------------------------------- */
.pagelet {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(64px, 12vh, 140px) var(--section-pad-inline);
  text-align: center;
}
.pagelet h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 1.4rem + 3vw, 3rem);
  line-height: 1.12;
  margin: 0 0 20px;
  color: var(--ink);
  text-wrap: balance;
}
.pagelet p { font-size: 20px; line-height: 1.6; color: var(--body); margin: 0 0 32px; }

/* ---------- Scroll reveal (polish; disabled for reduced motion) ----------- */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ==========================================================================
   Layer 4: responsive — the source design has no media queries at all.
   Desktop appearance is preserved exactly at >= 1024px.
   ========================================================================== */

@media (min-width: 560px) {
  .hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 32px; }
  .assurances__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
  .cycle__row { grid-template-columns: 130px minmax(0, 1fr) 92px; gap: 20px; padding: 12px 18px; }
  .cycle__row img { width: 130px; }
  .cycle__label { font-size: 18px; }
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .device__intro { grid-template-columns: 1fr 1fr; gap: 56px; }
  .device__mosaic { grid-template-columns: 1.15fr 0.85fr; }
  .device__tile { aspect-ratio: auto; min-height: 168px; }
  .device__tile--tall { min-height: 360px; }
  .tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tab { min-height: 108px; padding: 22px 24px; }
}

@media (min-width: 1024px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; align-items: stretch; }
  .hero__copy { padding: 104px 72px 104px 64px; }
  .hero__media { aspect-ratio: auto; min-height: 720px; }
  .assurances__list { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-inline: 48px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cycle { grid-template-columns: 0.9fr 1.1fr; gap: 48px; padding: 40px 44px; }
  .usecase { grid-template-columns: 1fr 1fr; min-height: 440px; }
  .usecase__media { aspect-ratio: auto; }
  .specs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* Below 1024px the four anchor links don't fit beside the logo + CTA.
   They are same-page anchors repeated in the footer, so hiding them is safe. */
@media (max-width: 1023px) {
  .nav__links { display: none; }
  .nav { gap: 16px; justify-content: space-between; }
  .btn--accent { font-size: 16px; padding: 14px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__copy { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .faq__icon::before, .faq__icon::after { transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}
