/* Zarevo — "zarevo" is the glow of dawn on the horizon.
   One motif runs the page: the logo tile, a rounded square where night breaks into a warm glow. */

@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/albert-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/albert-sans-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #f6f7f9;
  --surface: #eceff4;
  --surface-2: #e1e6ee;
  --card: #ffffff;
  --ink: #0a1022;
  --ink-soft: #485267;
  --ink-faint: #636c80;
  --primary: #1d5bff;
  --primary-press: #1647d6;
  --primary-tint: #e6edff;
  --night: #0a1230;
  --night-2: #141e47;
  --night-3: #1e2a5a;
  --night-ink: #edf0f8;
  --night-soft: #aab4d0;
  --glow: #ff7a45;
  --glow-soft: #ffe7da;
  --ok: #0b7a4b;
  --ok-tint: #e2f5ec;
  --warn: #b23a0e;

  /* The dawn tile, in two layers so the glow can rise on its own */
  --dawn-sky: linear-gradient( /* taste-skill-ignore: brand logo gradient */180deg, #08102b 0%, #132a7c 46%, #3f6bff 76%, #9db8ff 100%);
  --dawn-glow: radial-gradient( /* taste-skill-ignore: brand logo gradient */85% 62% at 26% 104%, #fff1d6 0%, #ffb067 22%, #ff7a45 40%, rgb(255 122 69 / 0) 72%);

  --motif: 30%;          /* the logo tile's corner, as a share of its size */
  --r: 16px;             /* every other corner on the page */

  --step-small: 0.9375rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.25rem + 3vw, 3.75rem);
  --step-display: clamp(2.75rem, 1.1rem + 5.4vw, 5.75rem);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1320px;
  --section: clamp(96px, 11vw, 176px);
  --header-h: 72px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-move: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 150ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (pointer: fine) { html { overscroll-behavior-y: none; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Albert Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--step-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 2.5px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
a, button, summary, label, input, select, textarea { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

.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 { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 12px; text-decoration: none; font-weight: 600; transition: transform var(--t-fast) var(--ease-out); }
.skip:focus-visible { transform: translateY(76px); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type ---------- */
.display {
  font-size: var(--step-display);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}
.head {
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.lead { font-size: var(--step-lead); line-height: 1.4; letter-spacing: -0.01em; }
.body-lg { font-size: var(--step-body); line-height: 1.6; color: var(--ink-soft); max-width: 46ch; text-wrap: pretty; }

/* ---------- The motif ---------- */
.mark,
.dawn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--dawn-sky);
}
.mark::after,
.dawn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--dawn-glow);
  z-index: -1;
}
.mark { display: inline-block; width: 34px; aspect-ratio: 1; border-radius: var(--motif); flex: none; }
.shape { border-radius: var(--motif); overflow: hidden; }
.shape-sm { border-radius: var(--motif); }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 24px;
  border: 0;
  border-radius: var(--r);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 220ms var(--ease-out); }
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: var(--step-small); border-radius: 13px; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--quiet { background: var(--surface); color: var(--ink); }
.btn--night { background: var(--night-2); color: var(--night-ink); }
@media (hover: hover) {
  .btn--primary:hover { background: var(--primary-press); }
  .btn--quiet:hover { background: var(--surface-2); }
  .btn--night:hover { background: var(--night-3); }
  .btn:hover .icon { transform: translateX(3px); }
  .btn[href="#top"]:hover .icon { transform: translateY(-3px); }
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: var(--bg);
  transition: background-color 200ms var(--ease-out);
}
.header.is-scrolled { background: var(--card); } /* a tone step once you scroll, no line */
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 700; font-size: 1.375rem; letter-spacing: -0.03em; margin-right: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
@media (hover: hover) { .nav__list a:hover { color: var(--ink); background: var(--surface); } }
.nav__list a[aria-current="true"] { color: var(--ink); }
.nav__toggle { display: none; }

@media (max-width: 860px) {
  .header__cta { display: none; }
  .nav__toggle {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 13px;
    background: var(--surface);
  }
  .nav__toggle .icon { width: 22px; height: 22px; grid-area: 1 / 1; transition: opacity 200ms var(--ease-out), transform 300ms var(--ease-out); }
  .nav__toggle .icon--close { opacity: 0; transform: rotate(-45deg) scale(0.6); }
  .nav__toggle[aria-expanded="true"] .icon--menu { opacity: 0; transform: rotate(45deg) scale(0.6); }
  .nav__toggle[aria-expanded="true"] .icon--close { opacity: 1; transform: none; }
  .nav__list {
    position: absolute;
    top: calc(var(--header-h) - 6px);
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    background: var(--card);
    border-radius: 20px;
    box-shadow: 0 1px 2px rgb(10 18 48 / 0.06), 0 18px 40px -12px rgb(10 18 48 / 0.24); /* taste-skill-ignore: open menu floats */
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    visibility: hidden;
    transition: opacity 180ms var(--ease-in), transform 180ms var(--ease-in), visibility 0s linear 180ms;
  }
  .nav__list a { padding: 14px 16px; font-size: var(--step-body); color: var(--ink); }
  .nav.is-open .nav__list {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: opacity 240ms var(--ease-out), transform 300ms var(--ease-out), visibility 0s;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--header-h) + clamp(40px, 6vw, 96px));
  padding-bottom: clamp(88px, 10vw, 152px);
  overflow: clip;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}
.hero__copy { display: grid; gap: 28px; align-content: center; }
.hero__copy .display { max-width: 15ch; }
.hero__lede { color: var(--ink-soft); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 40px; padding-top: 20px; }
.facts__item { display: grid; gap: 2px; }
.facts dt { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.facts dd { font-size: var(--step-small); color: var(--ink-soft); }

.hero__visual { position: relative; padding-bottom: 72px; }
.dawn--hero {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  right: calc(-1 * var(--gutter) - 14%);
  bottom: -4%;
  border-radius: var(--motif);
}
.hero__photo {
  position: relative;
  width: 88%;
  aspect-ratio: 1;
  background: var(--surface);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 70%; }

/* The operations desk: a real interface fragment (data-ui), so it keeps its own lines and shadow. taste-skill-ignore */
.desk {
  position: absolute;
  left: -24%;
  bottom: 0;
  width: min(352px, 74%);
  padding: 18px 18px 16px;
  background: var(--card);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgb(10 18 48 / 0.06), 0 14px 32px -10px rgb(10 18 48 / 0.2), 0 40px 72px -32px rgb(10 18 48 / 0.28); /* taste-skill-ignore: floats over the photo */
  font-size: 0.875rem;
  line-height: 1.35;
}
.desk__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 2px 12px; }
.desk__title { font-weight: 600; font-size: 0.9375rem; letter-spacing: -0.01em; }
.desk__sub { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: 0.8125rem; }
.desk__pulse { position: relative; width: 8px; height: 8px; border-radius: 3px; background: var(--ok); }
.desk__pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ok); opacity: 0; }
.desk__toggle {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  transition: background-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.desk__toggle::before { content: ""; position: absolute; inset: -4px; } /* 44px hit area */
.desk__toggle { position: relative; }
.desk__toggle .icon { width: 16px; height: 16px; grid-area: 1 / 1; stroke-width: 2.2; }
.desk__toggle .icon--play { display: none; fill: currentColor; stroke-width: 1.5; }
.desk__toggle[aria-pressed="true"] .icon--pause { display: none; }
.desk__toggle[aria-pressed="true"] .icon--play { display: block; }
.desk__toggle:active { transform: scale(0.94); }
@media (hover: hover) { .desk__toggle:hover { background: var(--surface-2); } }

.desk__rows { display: grid; }
.desk__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 92px;
  align-items: center;
  gap: 12px;
  padding: 10px 2px;
  border-top: 1px solid var(--surface); /* taste-skill-ignore: data-ui table row */
}
.desk__what { display: grid; min-width: 0; }
.desk__what b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.desk__what small { font-size: 0.8125rem; color: var(--ink-soft); }
.desk__amt { font-variant-numeric: tabular-nums; font-weight: 500; text-align: right; }
.desk__row > * { transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), filter 260ms var(--ease-out); }
.desk__row.is-swapping > :not(.pill) { opacity: 0; transform: translateY(-5px); filter: blur(3px); }

.pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 88px;
  padding: 5px 10px;
  border-radius: 9px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--surface);
  color: var(--ink-soft);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: currentColor; flex: none; }
.pill[data-state="checking"] { background: var(--primary-tint); color: var(--primary-press); }
.pill[data-state="matched"] { background: #e3f0ff; color: #0f4fb8; }
.pill[data-state="settled"],
.pill[data-state="resolved"] { background: var(--ok-tint); color: var(--ok); }
.pill[data-state="flagged"],
.pill[data-state="escalated"] { background: var(--glow-soft); color: var(--warn); }
.pill.is-changing { animation: pill-in 320ms var(--ease-out) both; }
@keyframes pill-in { from { opacity: 0; transform: scale(0.9); filter: blur(3px); } }

.desk__foot { display: flex; align-items: center; gap: 12px; padding: 12px 2px 0; border-top: 1px solid var(--surface); color: var(--ink-soft); font-size: 0.8125rem; } /* taste-skill-ignore: data-ui */
.desk__foot b { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 600; }
.desk__meter { flex: 1; height: 6px; border-radius: 3px; background: var(--surface); overflow: hidden; }
.desk__meter span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--primary); transform-origin: left; transform: scaleX(0.82); transition: transform 600ms var(--ease-out); }

/* ---------- Sectors strip ---------- */
.sectors { background: var(--surface); padding-block: clamp(28px, 3.4vw, 44px); }
.sectors__line { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.015em; line-height: 1.35; color: var(--ink-soft); text-wrap: balance; }
.sectors__line span { display: inline-block; }
.sectors__line span:not(:first-child) { color: var(--ink); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }

/* Solutions */
.solutions__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.solutions__intro { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 24px; justify-items: start; }
.services { display: grid; gap: 4px; margin-top: -24px; }
.service {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 22px;
  padding: 24px 24px 24px 20px;
  border-radius: var(--r);
  transition: background-color 200ms var(--ease-out);
}
.service__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  transition: color 240ms var(--ease-out);
}
.service__icon::before { /* the logo tile, waiting underneath */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--dawn-glow), var(--dawn-sky);
  opacity: 0;
  transform: scale(0.6);
  border-radius: inherit;
  transition: opacity 240ms var(--ease-out), transform 320ms var(--ease-out);
}
.service__icon .icon { width: 22px; height: 22px; stroke-width: 1.8; }
.service__title { display: flex; align-items: center; min-height: 48px; margin-bottom: 4px; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.service p { color: var(--ink-soft); max-width: 52ch; }
@media (hover: hover) {
  .service:hover { background: var(--card); }
  .service:hover .service__icon { color: #fff; }
  .service:hover .service__icon::before { opacity: 1; transform: none; }
}

/* Why */
.why { padding-top: 0; }
.why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.why__photo { aspect-ratio: 1; background: var(--surface); }
.why__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.why__copy { display: grid; gap: 24px; }
.ticks { display: grid; gap: 14px; padding-top: 8px; }
.ticks li { position: relative; padding-left: 34px; max-width: 44ch; }
.ticks li::before { /* the motif at text size */
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 18px;
  height: 18px;
  border-radius: var(--motif);
  background: var(--dawn-glow), var(--dawn-sky);
}

/* Process */
.process { background: var(--night); color: var(--night-ink); padding-block: var(--section); }
.process__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(40px, 6vw, 112px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.process .body-lg { color: var(--night-soft); }
.stages { display: flex; gap: 6px; }
.stage { display: grid; grid-template-rows: auto 1fr; gap: 20px; min-width: 0; }
.stage--discover { flex: 15 1 0; }
.stage--design { flex: 18 1 0; }
.stage--operate { flex: 40 1 0; }
.stage--improve { flex: 27 1 0; }
.stage__bar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(160px, 20vh, 220px);
  padding: 20px;
  border-radius: 14px;
  transform-origin: left center;
}
.stage__name { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.stage__when { font-size: var(--step-small); opacity: 0.8; }
.stage p { font-size: var(--step-small); line-height: 1.55; color: var(--night-soft); max-width: 30ch; padding-right: 8px; }
.stage--discover .stage__bar { background: var(--night-3); }
.stage--design .stage__bar { background: #2a46c9; }
.stage--operate .stage__bar { background: var(--primary); }
.stage--improve .stage__bar { background: var(--glow); color: var(--ink); }
.stage--improve .stage__when { opacity: 0.85; }

/* Industries */
.industries__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(40px, 6vw, 112px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.picker { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.picker__tabs { display: grid; gap: 2px; }
.picker__tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 8px 14px 8px 0;
  border: 0;
  background: none;
  border-radius: 12px;
  text-align: left;
  font-size: var(--step-lead);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-faint);
  transition: color 200ms var(--ease-out), padding 0s;
}
.picker__tab::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: var(--motif);
  background: var(--surface-2);
  transition: transform 300ms var(--ease-out), background-color 200ms var(--ease-out);
}
.picker__tab[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.picker__tab[aria-selected="true"]::before { background: var(--dawn-glow), var(--dawn-sky); transform: scale(1.12); }
@media (hover: hover) { .picker__tab:hover { color: var(--ink); } }
.picker__tab:focus-visible { outline-offset: 0; }

.picker__panels { position: sticky; top: calc(var(--header-h) + 40px); display: grid; }
.panel {
  grid-area: 1 / 1;
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 100%;
  padding: clamp(28px, 4vw, 52px);
  background: var(--card);
  border-radius: var(--r);
}
.panel__title { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.panel > p { font-size: var(--step-lead); line-height: 1.4; letter-spacing: -0.01em; color: var(--ink-soft); max-width: 30ch; }
.panel__list { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.panel__list li { padding: 10px 16px; border-radius: 12px; background: var(--surface); font-size: var(--step-small); font-weight: 500; }
.js .panel[hidden] { display: grid; visibility: hidden; opacity: 0; }
.js .panel { transition: opacity 260ms var(--ease-out), visibility 0s; }
.js .panel[hidden] { transition: opacity 120ms var(--ease-in), visibility 0s linear 120ms; }
.js .panel > * { transition: transform 360ms var(--ease-out), opacity 360ms var(--ease-out); }
.js .panel[hidden] > * { transform: translateY(10px); opacity: 0; }
.js .panel > :nth-child(2) { transition-delay: 40ms; }
.js .panel > :nth-child(3) { transition-delay: 80ms; }
.js .panel[hidden] > * { transition-delay: 0s; }
html:not(.js) .picker__tabs { display: none; }
html:not(.js) .picker { grid-template-columns: 1fr; }
html:not(.js) .picker__panels { position: static; gap: 8px; }
html:not(.js) .panel { grid-area: auto; }

/* Benefits */
.benefits { padding-top: 0; }
.benefits__title { max-width: 16ch; margin-bottom: clamp(40px, 5vw, 64px); }
.benefits__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.benefit { display: grid; align-content: space-between; gap: 64px; min-height: clamp(280px, 26vw, 360px); padding: clamp(28px, 3vw, 40px); border-radius: var(--r); }
.benefit__title { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.benefit p { max-width: 30ch; }
.benefit--night { background: var(--night); color: var(--night-ink); }
.benefit--night p { color: var(--night-soft); }
.benefit--blue { background: var(--primary); color: #fff; }
.benefit--blue p { color: #fff; }
.benefit--glow { background: var(--glow); color: var(--ink); }

/* CTA */
.cta { padding-bottom: var(--section); }
.cta__panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  min-height: clamp(440px, 46vw, 600px);
  padding: clamp(32px, 5vw, 80px);
  border-radius: 24px;
  background: var(--night);
  color: var(--night-ink);
}
.cta__copy { position: relative; z-index: 1; display: grid; gap: 24px; align-content: end; justify-items: start; }
.cta__copy .head { max-width: 13ch; }
.cta .body-lg { color: var(--night-soft); max-width: 40ch; }
.dawn--cta {
  position: absolute;
  z-index: 0;
  width: clamp(360px, 46vw, 680px);
  aspect-ratio: 1;
  right: clamp(-200px, -10vw, -80px);
  top: clamp(-200px, -9vw, -60px);
  border-radius: var(--motif);
}

/* FAQ */
.faq { padding-top: 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 20px; }
.faq__list { display: grid; gap: 8px; }
.qa { border-radius: var(--r); background: var(--card); transition: background-color 240ms var(--ease-out); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 18px 26px;
  font-size: var(--step-lead);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
  border-radius: var(--r);
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon { position: relative; width: 32px; height: 32px; flex: none; border-radius: 10px; background: var(--surface); transition: background-color 240ms var(--ease-out); }
.qa__icon::before,
.qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; border-radius: 2px; background: currentColor; transition: transform 300ms var(--ease-out); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa[open] .qa__icon { background: var(--glow); }
.qa__body { padding: 0 26px 26px; }
.qa__body p { color: var(--ink-soft); max-width: 58ch; }
.qa[open] .qa__body { animation: qa-in 360ms var(--ease-out) both; }
@keyframes qa-in { from { opacity: 0; transform: translateY(-6px); } }
@media (hover: hover) { .qa:not([open]) summary:hover { background: #fbfbfc; } }

/* Contact */
.contact { padding-top: 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.contact__copy { display: grid; gap: 24px; }
.contact__details { display: grid; gap: 14px; padding-top: 8px; }
.contact__details li { display: flex; align-items: center; gap: 14px; }
.contact__details .icon { width: 22px; height: 22px; color: var(--ink-soft); }
.contact__details li:has(address) { align-items: flex-start; }
.contact__details li:has(address) .icon { margin-top: 2px; }
address { font-style: normal; }
.contact__details a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--surface-2); text-underline-offset: 4px; text-decoration-thickness: 2px; transition: text-decoration-color var(--t-fast) var(--ease-out); }
@media (hover: hover) { .contact__details a:hover { text-decoration-color: var(--primary); } }
.status { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 10px 16px; border-radius: 12px; background: var(--surface); font-size: var(--step-small); font-weight: 500; }
.status__dot { width: 10px; height: 10px; border-radius: 3px; background: var(--ink-faint); }
.status.is-open .status__dot { background: var(--ok); }

.form { display: grid; gap: 20px; padding: clamp(24px, 4vw, 48px); background: var(--card); border-radius: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label,
.field legend { font-size: var(--step-small); font-weight: 600; padding: 0; }
.field legend { margin-bottom: 8px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1.5px solid var(--surface-2);
  border-radius: 13px;
  background: var(--bg);
  font-size: 1rem;
  transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23485267' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; color: var(--ink); background-color: var(--bg); }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: #7a8396; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: none; border-color: var(--primary); background-color: #fff; }
@media (hover: hover) { .field input:hover, .field select:hover, .field textarea:hover { border-color: #cdd4df; } }
.field [aria-invalid="true"] { border-color: var(--warn); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--surface);
  font-size: var(--step-small);
  font-weight: 500;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.chip span::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--surface-2); transition: background-color var(--t-fast) var(--ease-out); }
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip input:checked + span::before { background: var(--glow); }
.chip input:focus-visible + span { outline: 2.5px solid var(--primary); outline-offset: 2px; }
.chip input:active + span { transform: scale(0.97); }
@media (hover: hover) { .chip input:not(:checked):hover + span { background: var(--surface-2); } }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding-top: 4px; }
.form__note { font-size: var(--step-small); color: var(--ink-soft); }
.form__error { font-size: var(--step-small); font-weight: 600; color: var(--warn); }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--night-ink); padding-top: clamp(72px, 9vw, 136px); padding-bottom: 32px; overflow: clip; }
.footer__mark { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); margin-bottom: clamp(56px, 7vw, 104px); }
.mark--xl { width: clamp(64px, 14vw, 216px); }
.footer__word { font-size: clamp(4.5rem, 1rem + 17vw, 17rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.8; padding-bottom: 0.06em; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 40px clamp(24px, 4vw, 64px); padding-bottom: 72px; }
.footer__about { font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.015em; max-width: 24ch; }
.footer__col h2 { font-size: var(--step-small); font-weight: 600; color: var(--night-soft); margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a,
.footer__col li { font-size: var(--step-small); color: var(--night-ink); text-decoration: none; }
.footer__col a { transition: color var(--t-fast) var(--ease-out); }
@media (hover: hover) { .footer__col a:hover { color: #ffb48f; } }
.footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; font-size: var(--step-small); color: var(--night-soft); }

/* ---------- Motion ---------- */
/* Section entrances: hidden only when the script is here, revealed once */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.no-reveal) [data-reveal] { opacity: 0; transform: translateY(22px); filter: blur(4px); }
  .js [data-reveal-group].is-in [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: opacity 640ms var(--ease-out), transform 800ms var(--ease-out), filter 640ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .js .why__photo[data-reveal-group] [data-reveal] { transform: scale(1.06); filter: none; }
  .js .why__photo[data-reveal-group].is-in [data-reveal] { transform: none; transition-duration: 900ms, 1400ms, 0ms; }

  /* Signature move: the dawn rises. The glow climbs into the tile once, as it first comes into view */
  .js .mark::after,
  .js .dawn::after { transform: translateY(46%); opacity: 0; }
  .js .is-dawn .mark::after,
  .js .is-dawn.mark::after,
  .js .is-dawn .dawn::after,
  .js .is-dawn.dawn::after { transform: none; opacity: 1; transition: transform 2200ms var(--ease-out), opacity 1600ms var(--ease-out); }
  .js .header .mark::after { transition-delay: 200ms; }

  /* Hero: photo and tile settle, then the desk slides up */
  .js .hero__photo { animation: rise-scale 1100ms var(--ease-out) 120ms both; }
  .js .dawn--hero { animation: rise-tile 1300ms var(--ease-out) 40ms both; }
  .js .desk { animation: rise 900ms var(--ease-out) 520ms both; }
  .js .hero__photo img { animation: settle 2400ms var(--ease-out) 120ms both; }

  /* Process: the bar fills from night to glow */
  .js [data-stages] .stage__bar { transform: scaleX(0.04); opacity: 0.4; }
  .js [data-stages] .stage__bar > * { opacity: 0; }
  .js [data-stages] .stage p { opacity: 0; transform: translateY(12px); }
  .js [data-stages].is-in .stage__bar { transform: none; opacity: 1; transition: transform 900ms var(--ease-move), opacity 400ms var(--ease-out); transition-delay: calc(var(--i) * 140ms); }
  .js [data-stages].is-in .stage__bar > * { opacity: 1; transition: opacity 400ms var(--ease-out); transition-delay: calc(var(--i) * 140ms + 600ms); }
  .js [data-stages].is-in .stage p { opacity: 1; transform: none; transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(var(--i) * 140ms + 500ms); }

  .desk.is-live .desk__pulse::after { animation: pulse 2s var(--ease-out) infinite; }
}

@media (prefers-reduced-motion: reduce) {
  .js:not(.no-reveal) [data-reveal] { opacity: 0; }
  .js [data-reveal-group].is-in [data-reveal] { opacity: 1; transition: opacity 400ms ease; }
  .qa[open] .qa__body { animation: none; }
}

@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes rise-scale { from { opacity: 0; transform: translateY(24px) scale(0.96); } }
@keyframes rise-tile { from { opacity: 0; transform: translate(24px, 40px) scale(0.92); } }
@keyframes settle { from { transform: scale(1.08); } }
@keyframes pulse { 0% { opacity: 0.55; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(2.6); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .desk { left: -10%; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__about { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .hero__grid,
  .solutions__grid,
  .why__grid,
  .picker,
  .faq__grid,
  .contact__grid,
  .process__intro,
  .industries__intro { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 560px; padding-bottom: 0; }
  .hero__photo { width: 100%; }
  .dawn--hero { width: 70%; right: -18%; bottom: 18%; }
  .desk { position: relative; left: auto; bottom: auto; width: calc(100% - 32px); margin: -96px auto 0; }
  .solutions__intro,
  .faq__intro,
  .picker__panels { position: static; }
  .why__photo { max-width: 560px; }
  .stages { flex-direction: column; }
  .stage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; gap: 16px 24px; align-items: center; }
  .stage__bar { min-height: 88px; transform-origin: left center; }
  .stage--operate .stage__bar { min-height: 140px; }
  .stage--improve .stage__bar { min-height: 112px; }
  .stage p { max-width: none; }
  .benefits__grid { grid-template-columns: minmax(0, 1fr); }
  .benefit { min-height: 0; gap: 40px; }
  .cta__panel { grid-template-columns: minmax(0, 1fr); min-height: 560px; }
  .dawn--cta { width: 360px; right: -90px; top: -90px; }
  .picker__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
  .picker__tab { min-height: 44px; padding: 8px 14px; border-radius: 12px; background: var(--card); font-size: var(--step-small); gap: 10px; }
  .picker__tab::before { width: 12px; height: 12px; }
  .picker__tab[aria-selected="true"] { background: var(--ink); color: #fff; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .hero__copy { gap: 22px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .facts { gap: 12px 28px; }
  .desk { width: calc(100% - 16px); margin-top: -72px; padding: 14px 14px 12px; }
  .desk__row { grid-template-columns: minmax(0, 1fr) auto 84px; gap: 8px; }
  .pill { min-width: 80px; padding: 5px 8px; }
  .service { grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; padding: 18px 0; }
  .service__icon { width: 40px; height: 40px; }
  .service__title { min-height: 40px; }
  .services { margin-top: 0; }
  .stage { grid-template-columns: minmax(0, 1fr); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .qa summary { padding: 16px 18px; min-height: 68px; }
  .qa__body { padding: 0 18px 22px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__col:last-child { grid-column: 1 / -1; }
}

/* ---------- Legal pages ---------- */
/* Details still to be supplied are highlighted so they cannot go live unnoticed */
.todo { padding: 0 6px; border-radius: 5px; background: #ffe08a; color: #3a2a00; font-weight: 600; white-space: nowrap; }

.doc-header .header__inner { gap: 10px; }
.doc { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 112px)); padding-bottom: var(--section); }
.doc__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.doc__aside { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 20px; }
.doc__meta { font-size: var(--step-small); color: var(--ink-soft); }
.doc__toc ol { display: grid; gap: 2px; padding-top: 12px; }
.doc__toc a {
  display: block;
  padding: 8px 12px 8px 0;
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-out);
}
@media (hover: hover) { .doc__toc a:hover { color: var(--ink); } }
.doc__body { display: grid; gap: 56px; max-width: 760px; }
.doc__body section { display: grid; gap: 16px; }
.doc__body h2 { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.doc__body h3 { font-size: var(--step-body); font-weight: 600; margin-top: 8px; }
.doc__body p,
.doc__body li { max-width: 68ch; }
.doc__body ul { display: grid; gap: 10px; }
.doc__body ul li { position: relative; padding-left: 26px; }
.doc__body ul li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; border-radius: var(--motif); background: var(--dawn-glow), var(--dawn-sky); }
.doc__body a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--surface-2); text-underline-offset: 4px; text-decoration-thickness: 2px; transition: text-decoration-color var(--t-fast) var(--ease-out); }
@media (hover: hover) { .doc__body a:hover { text-decoration-color: var(--primary); } }
.doc__lede { font-size: var(--step-lead); line-height: 1.4; letter-spacing: -0.01em; color: var(--ink-soft); }

.facts-table { display: grid; margin: 0; padding: clamp(8px, 2vw, 16px) clamp(20px, 3vw, 36px); background: var(--card); border-radius: var(--r); }
.facts-table > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 24px; padding: 18px 0; }
.facts-table > div + div { border-top: 1px solid var(--surface); } /* taste-skill-ignore: a real data table */
.facts-table dt { font-size: var(--step-small); font-weight: 600; color: var(--ink-soft); }
.facts-table dd { margin: 0; }

.footer--compact { padding-top: 40px; }
.footer__legal { max-width: 72ch; }
.footer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.footer__actions > a:not(.btn) { color: var(--night-ink); text-decoration: none; font-weight: 500; transition: color var(--t-fast) var(--ease-out); }
@media (hover: hover) { .footer__actions > a:not(.btn):hover { color: #ffb48f; } }

@media (max-width: 960px) {
  .doc__grid { grid-template-columns: minmax(0, 1fr); }
  .doc__aside { position: static; }
  .doc__toc { display: none; }
}
@media (max-width: 600px) {
  .doc-header .btn--primary { display: none; }
  .facts-table > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
