/* Smart AI Home - 2026 redesign
   Black canvas, Inter, oversized display type, centred pill nav, full-bleed imagery. */

:root {
  color-scheme: dark;
  --bg: #050608;
  --bg-2: #0b0f16;
  --navy: #0d2d4c;
  --navy-deep: #081c30;
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.72);
  --ink-3: rgba(255, 255, 255, 0.5);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --sky: #8ec5ff;
  --sky-ink: #04101f;
  --glow: rgba(142, 197, 255, 0.18);
  --glow-soft: rgba(142, 197, 255, 0.14);
  --hero-veil: rgba(13, 45, 76, 0.28);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --max: 1480px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 1.25rem;
  /* Live capitals measure 24px against the draft's 28px in the same frame. */
  --type: 0.857;
}

*,
*::before,
*::after { 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);
  font-size: calc(1rem * var(--type));
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.45s var(--ease);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--sky); color: var(--sky-ink); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  color: #000;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 100;
  font-weight: 600;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), 100% - (var(--pad) * 2));
  margin-inline: auto;
}

/* ---------- Type ---------- */
.display {
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0;
}
.display--xl { font-size: clamp(calc(2.85rem * var(--type)), calc(7.6vw * var(--type)), calc(8.25rem * var(--type))); }
.display--lg { font-size: clamp(calc(2.75rem * var(--type)), calc(8.5vw * var(--type)), calc(8.5rem * var(--type))); }
.display--md { font-size: clamp(calc(2.25rem * var(--type)), calc(5.5vw * var(--type)), calc(5.25rem * var(--type))); }
.display--sm { font-size: clamp(calc(1.75rem * var(--type)), calc(3.6vw * var(--type)), calc(3.25rem * var(--type))); }

.kicker {
  margin: 0 0 1rem;
  font-size: calc(0.75rem * var(--type));
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.lede {
  font-size: clamp(calc(1.1rem * var(--type)), calc(1.6vw * var(--type)), calc(1.45rem * var(--type)));
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 46rem;
  margin: 0;
}
.lede strong { color: var(--ink); font-weight: 600; }

.inline-mark {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  vertical-align: -0.02em;
  margin: 0 0.06em;
  animation: spin 14s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 0.85rem var(--pad) 1.15rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.65rem;
  pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 92%, transparent) 68%, transparent 100%);
}
.site-header > * { pointer-events: auto; }

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: calc(1.15rem * var(--type));
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand img { width: 1.45rem; height: auto; }
.brand b { font-weight: 800; }
.brand span { font-weight: 300; color: rgba(255, 255, 255, 0.85); }

.pill-nav {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(12, 14, 20, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.pill-nav a {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: calc(0.72rem * var(--type));
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.pill-nav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.header-cta {
  justify-self: end;
  font-size: calc(0.72rem * var(--type));
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(12, 14, 20, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.header-cta:hover { background: #fff; color: #000; }

.pill-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.pill-nav .nav-book { display: none; }

.nav-toggle {
  display: none;
  justify-self: end;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(12, 14, 20, 0.6);
  color: #fff;
  cursor: pointer;
  place-items: center;
}
.nav-toggle svg { width: 1.2rem; height: 1.2rem; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; }
  .pill-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: grid; }
  .site-header.is-open .pill-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% - 0.35rem);
    left: var(--pad);
    right: var(--pad);
    border-radius: 1.25rem;
    padding: 0.5rem;
    background: color-mix(in srgb, var(--bg) 96%, #fff);
    z-index: 2;
  }
  .site-header.is-open .pill-nav a { padding: 0.9rem 1rem; font-size: calc(0.85rem * var(--type)); }
  .site-header.is-open .pill-nav .nav-book { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: clamp(7rem, 16vh, 11rem) var(--pad) clamp(2rem, 5vh, 3.5rem);
  isolation: isolate;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Match the live hero: silver face large on the left, white face a sliver on the right. */
  object-position: 30% 35%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 55%, transparent) 0%, color-mix(in srgb, var(--bg) 5%, transparent) 35%, color-mix(in srgb, var(--bg) 35%, transparent) 65%, var(--bg) 100%),
    radial-gradient(80% 60% at 70% 40%, var(--hero-veil), transparent 70%);
}
.hero__tag {
  position: absolute;
  top: 4.9rem;
  left: var(--pad);
  font-size: calc(0.78rem * var(--type));
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.hero__tag::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 4px var(--glow);
}
.hero__body {
  width: min(var(--max), 100%);
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 28rem);
  align-items: end;
}
.hero__title {
  max-width: 11em;
  font-size: clamp(calc(2.15rem * var(--type)), calc(4.4vw * var(--type)), calc(4.35rem * var(--type)));
}
.hero__fine,
.hero__trustline {
  margin: 0;
  font-size: calc(0.85rem * var(--type));
  color: var(--ink-2);
}
.hero__trustline {
  letter-spacing: 0.04em;
}
.hero__aside {
  display: grid;
  gap: 1rem;
  justify-items: end;
  text-align: right;
  max-width: 28rem;
  justify-self: end;
  color: var(--ink-2);
  font-size: calc(0.95rem * var(--type));
}
.hero__aside p { margin: 0; }
.hero__aside a {
  color: #fff;
  font-weight: 700;
}
.hero__aside a:hover { color: var(--sky); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: calc(0.95rem * var(--type));
  color: #fff;
}
.arrow-link svg { width: 1.1rem; height: 1.1rem; transition: transform 0.25s var(--ease); }
.arrow-link:hover svg { transform: translateX(0.3rem); }

@media (max-width: 760px) {
  .hero {
    min-height: 0;
    display: block;
    padding: 0 var(--pad) 2.25rem;
  }
  .hero__media {
    top: 0;
    right: 0;
    left: 0;
    height: 100svh;
    bottom: auto;
  }
  .hero__media img {
    object-position: 3% 50%;
  }
  .hero::after {
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--bg) 42%, transparent) 0,
      transparent 7svh,
      transparent 64svh,
      color-mix(in srgb, var(--bg) 82%, transparent) 72svh,
      var(--bg) 80svh
    );
  }
  .hero__body {
    display: block;
    width: 100%;
    margin-top: 71svh;
  }
  .hero__title {
    max-width: 12em;
  }
  .hero__aside {
    justify-items: start;
    text-align: left;
    justify-self: start;
    max-width: none;
    margin-top: 1.25rem;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: calc(0.95rem * var(--type));
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--white { background: #fff; color: #000; }
.btn--white:hover { background: var(--sky); color: var(--sky-ink); }
.btn--ghost { border-color: var(--line-strong); color: #fff; }
.btn--ghost:hover { background: #fff; color: #000; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(5rem, 11vw, 10rem);
}
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--line { border-top: 1px solid var(--line); }

.statement {
  padding-block: clamp(4rem, 10vw, 9rem);
}
.statement .display { max-width: 16ch; }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Service columns */
.services {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.services h3 {
  margin: 0 0 0.9rem;
  font-size: calc(0.78rem * var(--type));
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.services p { margin: 0; color: var(--ink-2); font-size: calc(0.98rem * var(--type)); }
@media (max-width: 1100px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* Capability grid */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.cap {
  padding: 1.75rem 1.5rem 1.9rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.75rem;
  align-content: start;
  transition: background 0.25s var(--ease);
}
.cap:hover { background: rgba(255, 255, 255, 0.03); }
.cap__n {
  font-size: calc(0.72rem * var(--type));
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}
.cap h3 {
  margin: 0;
  font-size: calc(1.2rem * var(--type));
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.cap p { margin: 0; color: var(--ink-2); font-size: calc(0.95rem * var(--type)); }
a.cap { color: inherit; }
.cap__more {
  margin-top: 0.35rem;
  font-size: calc(0.72rem * var(--type));
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
}
.cap--higher .cap__n::after {
  content: "Higher skill";
  margin-left: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: calc(0.6rem * var(--type));
  letter-spacing: 0.12em;
  color: var(--ink-2);
}
.cap-grid--count { counter-reset: cap; }
.cap-grid--count > .cap { counter-increment: cap; }
.cap-grid--count > .cap > .cap__n { font-size: 0; }
.cap-grid--count > .cap > .cap__n::before {
  font-size: calc(0.72rem * var(--type));
  content: counter(cap, decimal-leading-zero);
}
@media (max-width: 900px) { .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } }

/* Two ways - large cards */
.ways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.way {
  position: relative;
  min-height: clamp(26rem, 44vw, 36rem);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 2rem;
  display: grid;
  align-content: end;
  gap: 1rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 100% 0%, var(--glow), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 55%, var(--bg) 100%);
  isolation: isolate;
}
.way--alt {
  background:
    radial-gradient(120% 90% at 0% 100%, var(--glow-soft), transparent 60%),
    linear-gradient(200deg, color-mix(in srgb, var(--bg) 70%, #fff) 0%, var(--bg-2) 60%, var(--bg) 100%);
}
.way__photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.way__n {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-size: calc(0.75rem * var(--type));
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-2);
}
.way__glyph {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: clamp(3rem, 6vw, 5rem);
  opacity: 0.9;
}
.way h3 {
  margin: 0;
  font-size: clamp(calc(1.6rem * var(--type)), calc(2.6vw * var(--type)), calc(2.4rem * var(--type)));
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.way p { margin: 0; color: var(--ink-2); max-width: 36rem; }
.way ul { margin: 0.25rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.4rem; color: var(--ink-2); font-size: calc(0.95rem * var(--type)); }
.way li { padding-left: 1.2rem; position: relative; }
.way li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--sky); }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } .way { min-height: 22rem; } }

/* Investment */
.figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.figure {
  background: var(--bg);
  padding: 2rem 1.75rem 2.1rem;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
.figure__label {
  font-size: calc(0.72rem * var(--type));
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.figure__value {
  font-size: clamp(calc(2.4rem * var(--type)), calc(4.5vw * var(--type)), calc(4rem * var(--type)));
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}
.figure__value small { font-size: 0.4em; font-weight: 600; letter-spacing: 0; color: var(--ink-2); margin-left: 0.2em; }
.figure p { margin: 0; color: var(--ink-2); font-size: calc(0.92rem * var(--type)); }
.figure--hero { background: var(--navy); }
@media (max-width: 900px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .figures { grid-template-columns: 1fr; } }

.need-list,
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}
.need-list li,
.check-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.need-list li:first-child,
.check-list li:first-child { border-top: 1px solid var(--line); }
.need-list li strong,
.check-list li strong { color: var(--ink); font-weight: 600; }
.need-list .n,
.check-list .n {
  font-size: calc(0.72rem * var(--type));
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  min-width: 2rem;
}
.need-list .price {
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}
.check-list li { grid-template-columns: auto 1fr; }

.note {
  margin: 1.5rem 0 0;
  font-size: calc(0.9rem * var(--type));
  color: var(--ink-3);
}
.note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 0.2em; }

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.stepc {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.5rem;
  display: grid;
  gap: 0.9rem;
  align-content: start;
}
.stepc__n {
  font-size: clamp(calc(2.5rem * var(--type)), calc(4vw * var(--type)), calc(3.5rem * var(--type)));
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink-3);
}
.stepc h3 { margin: 0; font-size: calc(1.25rem * var(--type)); font-weight: 700; letter-spacing: -0.02em; }
.stepc p { margin: 0; color: var(--ink-2); font-size: calc(0.95rem * var(--type)); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Band with quote / photo */
.band {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  background:
    radial-gradient(90% 90% at 100% 100%, var(--glow), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 60%, var(--bg) 100%);
  border: 1px solid var(--line);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
}
.band__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.band > * { position: relative; z-index: 1; }
.band p { color: var(--ink-2); margin: 0; }
.band .display { max-width: 12ch; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 0; margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 0;
  font-size: calc(1.15rem * var(--type));
  font-weight: 600;
  letter-spacing: -0.015em;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-weight: 300;
  font-size: calc(1.6rem * var(--type));
  line-height: 1;
  color: var(--ink-3);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.4rem; color: var(--ink-2); max-width: 60ch; }
.faq a, .cap a { color: var(--sky); }

/* Form */
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.audit-dialog {
  width: min(36rem, calc(100vw - 1.5rem));
  max-height: min(92svh, 46rem);
  overflow: auto;
  margin: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  color: #fff;
  padding: clamp(1.4rem, 3vw, 2.25rem);
}
.audit-dialog::backdrop {
  background: rgba(5, 6, 8, 0.78);
}
.audit-pitch {
  margin: 0 0 1.25rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.audit-dialog [hidden] { display: none !important; }
.audit-hold p:last-child {
  margin: 0.75rem 0 0;
  color: var(--ink-2);
  line-height: 1.55;
  font-size: 1.05rem;
}
.audit-ask-actions { margin-top: 1.25rem; display: grid; gap: 0.85rem; }
.audit-close {
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-3);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label {
  font-size: calc(0.72rem * var(--type));
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 1.3rem) 1.25rem, calc(100% - 1rem) 1.25rem; background-size: 0.3rem 0.3rem; background-repeat: no-repeat; }
.field select option { color: #000; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--sky); background: rgba(255, 255, 255, 0.07); }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field .help { margin: 0; font-size: calc(0.85rem * var(--type)); color: var(--ink-3); }
.choice-group {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  margin: 0;
  padding: 0.85rem 1rem 1rem;
}
.choice-group legend {
  padding: 0 0.35rem;
  font-size: calc(0.72rem * var(--type));
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.choice-group .help { margin: 0.35rem 0 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.7rem; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  color: #fff;
  font-size: calc(0.9rem * var(--type));
  cursor: pointer;
}
.choice input { accent-color: var(--sky); }
.choice-more { display: grid; gap: 0.15rem; }
.choice-more[hidden] { display: none; }
.choice-group input[type="text"],
.choice-group input[type="number"],
.choice-group input:not([type="radio"]):not([type="checkbox"]) {
  width: 100%;
  margin-top: 0.7rem;
  font: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.75rem 1rem;
  outline: none;
}
.choice-group input[hidden] { display: none; }
.choice-group input:focus { border-color: var(--sky); background: rgba(255, 255, 255, 0.07); }
.quiet-label {
  display: grid;
  gap: 0.35rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: calc(0.85rem * var(--type));
  font-weight: 600;
  color: var(--ink-2);
}
.device-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; margin-top: 0.7rem; }
.choice-group .device-grid input { margin-top: 0; }
@media (max-width: 620px) { .device-grid { grid-template-columns: 1fr; } }
.hp { position: absolute; opacity: 0; width: 1px; height: 1px; overflow: hidden; pointer-events: none; }
.form-feedback {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  font-size: calc(0.95rem * var(--type));
}
.form-feedback.ok { border-color: rgba(110, 231, 183, 0.5); background: rgba(110, 231, 183, 0.08); color: #c7f9e4; }
.form-feedback.bad { border-color: rgba(248, 113, 113, 0.5); background: rgba(248, 113, 113, 0.08); color: #fecaca; }
.form-foot { margin: 0; font-size: calc(0.82rem * var(--type)); color: var(--ink-3); }
.form-foot a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 0.2em; }

.step-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.step-chip {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.7rem 0.85rem;
  display: grid;
  gap: 0.1rem;
  color: var(--ink-3);
}
.step-chip span:first-child { font-size: calc(0.62rem * var(--type)); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.step-chip span:last-child { font-size: calc(0.85rem * var(--type)); font-weight: 600; }
.step-chip.is-active { border-color: var(--sky); color: #fff; background: rgba(142, 197, 255, 0.08); }
.step-chip.is-done { border-color: rgba(110, 231, 183, 0.5); color: #c7f9e4; }

/* Marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-right: clamp(1.25rem, 3vw, 2.5rem);
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-size: clamp(2.6rem, 8vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  text-transform: uppercase;
}
.marquee__track img { width: clamp(1.8rem, 5vw, 5rem); height: auto; animation: spin 12s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Footer */
.site-footer {
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}
.footer-brand { font-size: clamp(calc(2.2rem * var(--type)), calc(5vw * var(--type)), calc(4rem * var(--type))); letter-spacing: -0.045em; line-height: 1; display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-brand img { width: 0.9em; }
.footer-brand b { font-weight: 800; }
.footer-brand span { font-weight: 300; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: calc(0.72rem * var(--type)); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-links a:hover { color: var(--sky); }
.footer-meta {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: calc(0.78rem * var(--type));
  color: var(--ink-3);
}
.footer-meta a:hover { color: #fff; }
.footer-contact { margin: 1rem 0 0; color: var(--ink-2); font-size: calc(0.95rem * var(--type)); }

.grecaptcha-badge { visibility: hidden !important; }

/* Inner pages */
.page-main {
  padding: clamp(10.75rem, 18vh, 13.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.page-main .display { max-width: 16ch; }
#book, .section, .page-main h1, article[id], .way[id] { scroll-margin-top: 9.5rem; }
.legal {
  width: min(46rem, 100%);
  display: grid;
  gap: 1rem;
}
.legal h1 { max-width: 12ch; }
.legal h2 {
  margin: 1.75rem 0 0;
  font-size: calc(0.78rem * var(--type));
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.legal p,
.legal li { color: var(--ink-2); font-size: calc(1.02rem * var(--type)); line-height: 1.6; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.legal li { padding-left: 1.1rem; position: relative; }
.legal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--sky);
}
.footer-contact a { text-decoration: underline; text-underline-offset: 0.2em; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .inline-mark, .marquee__track img { animation: none; transition: none; }
}

/* Sub-page shell (checkout, agreement) */
.subpage {
  padding: clamp(7rem, 15vh, 10rem) 0 clamp(4rem, 8vw, 6rem);
}
.subpage .display { max-width: 16ch; }
.prose { max-width: 42rem; }
.prose h2 { font-size: calc(1.1rem * var(--type)); font-weight: 700; letter-spacing: -0.01em; margin: 2.25rem 0 0.5rem; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.6; }
.prose p { margin: 0 0 0.75rem; }
.prose a { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
.prose strong { color: #fff; font-weight: 600; }

.page-cta-row { margin-top: 1.5rem; }

.cta-band {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 100% 0%, var(--glow), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 58%, var(--bg) 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}
.cta-band .display { max-width: 12ch; }
.cta-band p { margin: 0.75rem 0 0; color: var(--ink-2); max-width: 34rem; }

.footer-promise {
  max-width: 44rem;
  margin: 0 0 2rem;
  color: var(--ink-2);
  font-size: calc(1.05rem * var(--type));
}
.footer-promise a { color: var(--sky); }

.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;
}

.section--book {
  background:
    radial-gradient(70% 80% at 100% 0%, var(--glow), transparent 60%),
    var(--bg);
}
