/* ==========================================================================
   CLEO Business OS — Coming Soon site
   Layout concept: an editorial page that moves from morning light (ivory)
   into a midnight band for the "one team" idea, then back to calm ivory,
   closing on a dawn landscape. Asymmetric 12-column grid, hairline rules
   instead of boxed cards, a single serif voice for every headline.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2-variations"),
       url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2-variations"),
       url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Colour */
  --ivory: #F7F3EC;          /* page ground */
  --ivory-deep: #EFE8DC;     /* quiet bands */
  --paper: #FCFAF6;          /* raised surfaces */
  --midnight: #14233A;       /* ink + dark band */
  --midnight-2: #1B2E48;
  --teal: #2E5E5F;           /* primary action */
  --teal-deep: #234C4D;
  --gold: #A9834C;           /* champagne-gold accent (text-safe on ivory) */
  --gold-soft: #D8C29C;      /* champagne for dark grounds / rules */
  --ink-muted: #4F5A68;      /* secondary text, 7:1 on ivory */
  --line: rgba(20, 35, 58, 0.14);
  --line-light: rgba(247, 243, 236, 0.16);

  /* Type */
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", "Segoe UI", Arial, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  --step-3: clamp(2rem, 1.45rem + 2.2vw, 3.25rem);
  --step-4: clamp(2.6rem, 1.55rem + 4.4vw, 5.1rem);

  /* Space */
  --gutter: clamp(20px, 4.5vw, 56px);
  --section: clamp(5rem, 3.5rem + 6vw, 9.5rem);
  --max: 1240px;
  --radius: 6px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: light;
}

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--midnight);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold-soft); color: var(--midnight); }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--midnight);
  color: var(--ivory);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

section[id] { scroll-margin-top: 84px; }

/* ---------- Shared type pieces ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-title {
  font-size: var(--step-3);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 72;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 34em;
}

.body-copy { display: grid; gap: 1.1rem; max-width: 33em; color: var(--ink-muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: var(--ivory);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 0.9375rem/1 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { --btn-bg: var(--teal-deep); }
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--midnight);
  border-color: var(--line);
  border-color: rgba(20, 35, 58, 0.28);
}
.btn--ghost:hover { --btn-bg: transparent; border-color: var(--midnight); }

.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--midnight); }
.btn--light:hover { --btn-bg: #fff; }

.btn--sm { min-height: 42px; padding: 0.6rem 1.2rem; font-size: 0.875rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--midnight);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.35s var(--ease);
}
.text-link:hover { background-size: 100% 1px; }

/* ---------- Wordmark (typographic placeholder until the official logo is supplied) ---------- */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--midnight);
}
.wordmark__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  margin-right: -0.2em;
}
.wordmark__rule { width: 1px; height: 26px; background: var(--gold); opacity: 0.7; }
.wordmark__sub {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.35;
  white-space: nowrap;
  color: var(--ink-muted);
}

/* ---------- Header ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--ivory);
}

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(247, 243, 236, 0.9);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.site-nav { display: flex; align-items: center; gap: 2.25rem; }
.site-nav__links { display: flex; gap: 2rem; }
.site-nav__links a {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--midnight);
  padding-block: 6px;
}
.site-nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.site-nav__links a:hover::after,
.site-nav__links a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--midnight);
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 18px; height: 10px; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 8.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 4.25px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 4.25px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 1rem + 5vw, 6rem) clamp(4rem, 2rem + 6vw, 8rem); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hero__copy { min-width: 0; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.95rem 0.45rem 0.8rem;
  border: 1px solid rgba(169, 131, 76, 0.45);
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--midnight);
}
.status__dot {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.status__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .status__dot::after { animation: breathe 3.2s var(--ease) infinite; }
}
@keyframes breathe {
  0% { transform: scale(0.6); opacity: 0.7; }
  70%, 100% { transform: scale(1.6); opacity: 0; }
}
.status__sep { width: 1px; height: 12px; background: rgba(20, 35, 58, 0.25); }
.status__muted { color: var(--ink-muted); font-weight: 500; }

.hero__title {
  margin-top: 1.75rem;
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -0.022em;
  font-variation-settings: "opsz" 72;
}
.hero__title-line { display: block; }
.hero__title em {
  display: block;
  margin-top: 0.12em;
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero__rule { width: 56px; height: 1px; margin-block: 2rem 1.75rem; background: var(--gold); }

.hero__lede { max-width: 31em; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.25rem;
}
.hero__note {
  margin-top: 1.25rem;
  font-size: var(--step--1);
  color: var(--ink-muted);
}

/* Hero art: arch-framed dawn landscape (swap for licensed photography later) */
.hero__art { position: relative; min-width: 0; justify-self: end; width: 100%; max-width: 580px; padding-bottom: 2.25rem; }
.arch {
  position: relative;
  width: 70%;
  margin-left: auto;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  background: var(--ivory-deep);
  box-shadow: 0 40px 80px -48px rgba(20, 35, 58, 0.45);
}
.arch > svg, .arch > img { width: 100%; height: 100%; object-fit: cover; }
.arch::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(252, 250, 246, 0.55);
  border-radius: 999px 999px 2px 2px;
  pointer-events: none;
}


@media (prefers-reduced-motion: no-preference) {
  .hero__copy > *, .hero__art { animation: rise 0.9s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: 0.08s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.16s; }
  .hero__copy > :nth-child(4) { animation-delay: 0.22s; }
  .hero__copy > :nth-child(n+5) { animation-delay: 0.28s; }
  .hero__art { animation-duration: 1.2s; animation-delay: 0.1s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Shared product UI atoms ---------- */
.num { font-variant-numeric: tabular-nums; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}
.tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.chip {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.71875rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.chip--ready { background: rgba(46, 94, 95, 0.1); color: var(--teal-deep); }
.chip--you { background: rgba(169, 131, 76, 0.15); color: #6E5124; }
.chip--prep { background: transparent; color: var(--midnight); box-shadow: inset 0 0 0 1px rgba(20, 35, 58, 0.28); }
.chip--done { background: var(--teal); color: var(--ivory); }

/* ---------- Hero briefing card ---------- */
.brief {
  position: absolute;
  left: 0;
  bottom: 4rem;
  width: min(410px, 84%);
  padding: 1.35rem 1.45rem 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 40px 80px -40px rgba(20, 35, 58, 0.45), 0 2px 6px rgba(20, 35, 58, 0.04);
}
.brief__head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.brief__label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.brief__time { font-size: 0.75rem; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.brief__hello { margin-top: 0.85rem; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }
.brief__summary { margin-top: 0.3rem; font-size: 0.875rem; color: var(--ink-muted); }
.brief__list { margin-top: 0.9rem; border-top: 1px solid var(--line); }
.brief__list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 0.75rem;
  align-items: center;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.brief__list .tag { grid-column: 1; }
.brief__item { grid-column: 1; font-size: 0.875rem; font-weight: 500; line-height: 1.35; }
.brief__list .chip { grid-column: 2; grid-row: 1 / span 2; }
.brief__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.6rem 1rem; margin-top: 0.95rem; }
.brief__by { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.78rem; color: var(--ink-muted); }
.brief__mono {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--midnight);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  overflow: hidden;
}
.brief__mono img { display: block; width: 28px; height: 28px; max-width: none; object-fit: cover; object-position: 50% 28%; }
.brief__cta { font-size: 0.875rem; font-weight: 600; color: var(--teal); text-decoration: none; }
.brief__cta span { display: inline-block; transition: transform 0.3s var(--ease); }
.brief__cta:hover span { transform: translateX(3px); }
.hero__sample {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

/* ---------- Interactive walkthrough ---------- */
.experience { padding-block: var(--section); background: var(--ivory-deep); }
.experience__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.experience__head > div { display: grid; gap: 1.5rem; }
.disclosure {
  margin-top: 2.25rem;
  padding: 0.9rem 1.15rem;
  border-left: 2px solid var(--gold);
  background: rgba(252, 250, 246, 0.7);
  font-size: 0.875rem;
  color: var(--ink-muted);
  max-width: 62rem;
}
.disclosure strong { color: var(--midnight); }

.demo { margin-top: 2.75rem; }
.demo__hint {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--midnight);
}
.demo__hint-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: radial-gradient(circle, var(--gold) 0 3px, transparent 3.5px);
}
.demo__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.demo__tab {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  min-height: 76px;
  padding: 0.85rem 1rem 0.85rem 0.9rem;
  border: 1px solid rgba(20, 35, 58, 0.16);
  border-radius: 12px;
  background: var(--paper);
  color: var(--midnight);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(20, 35, 58, 0.04);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease), color 0.25s var(--ease);
}
.demo__tab:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(20, 35, 58, 0.45); }
.demo__tab:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.demo__num {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.demo__label { display: grid; gap: 0.1rem; min-width: 0; }
.demo__name { font-weight: 600; font-size: 0.95rem; line-height: 1.25; }
.demo__sub { font-size: 0.78rem; line-height: 1.3; color: var(--ink-muted); }
.demo__go { color: var(--gold); opacity: 0.7; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.demo__tab:hover .demo__go { transform: translateX(3px); opacity: 1; }
.demo__tab[aria-selected="true"] { background: var(--midnight); border-color: var(--midnight); color: var(--ivory); box-shadow: 0 18px 36px -24px rgba(20, 35, 58, 0.7); transform: none; }
.demo__tab[aria-selected="true"] .demo__num { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--midnight); }
.demo__tab[aria-selected="true"] .demo__sub { color: rgba(247, 243, 236, 0.7); }
.demo__tab[aria-selected="true"] .demo__go { color: var(--gold-soft); opacity: 1; transform: rotate(90deg); }
.demo__tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 12px; height: 12px;
  background: var(--midnight);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 2px;
}

.demo__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: start;
  padding-top: 2.25rem;
}
.demo__panel:focus-visible { outline-offset: 8px; }
.demo__panel + .demo__panel { border-top: 1px solid var(--line); margin-top: 2rem; }
.demo.is-ready .demo__panel + .demo__panel { border-top: 0; margin-top: 0; }
.demo__story { display: grid; gap: 1.1rem; padding-top: 1.25rem; min-width: 0; }
.demo__step { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.demo__story h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.15; letter-spacing: -0.01em; }
.demo__story > p:not([class]) { color: var(--ink-muted); }
.demo__why { padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--midnight); }
.demo__why span { display: block; margin-bottom: 0.2rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.demo__nav { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }

@media (prefers-reduced-motion: no-preference) {
  .demo.is-ready .demo__panel:not([hidden]) .app { animation: rise 0.55s var(--ease) both; }
  .demo.is-ready .demo__panel:not([hidden]) .demo__story { animation: rise 0.45s var(--ease) both; }
}

/* Sample app frame */
.app {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 50px 90px -60px rgba(20, 35, 58, 0.55), 0 2px 6px rgba(20, 35, 58, 0.05);
  font-size: 0.875rem;
  line-height: 1.45;
}
.app__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: #FFFEFB;
}
.app__biz { font-size: 0.8125rem; font-weight: 600; }
.app__sample {
  padding: 0.2rem 0.6rem;
  border: 1px dashed rgba(169, 131, 76, 0.7);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6E5124;
  white-space: nowrap;
}
.app__body { display: grid; grid-template-columns: 168px minmax(0, 1fr); min-height: 480px; }
.app__side {
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 1rem 0.7rem;
  background: var(--midnight);
  color: rgba(247, 243, 236, 0.7);
  font-size: 0.8125rem;
}
.app__side li { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.6rem; border-radius: 5px; }
.app__side li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; border: 1px solid currentColor; opacity: 0.6; }
.app__side .is-active { background: rgba(247, 243, 236, 0.09); color: var(--ivory); }
.app__side .is-active::before { background: var(--gold-soft); border-color: var(--gold-soft); opacity: 1; }
.app__main { display: grid; align-content: start; gap: 0.9rem; padding: 1.5rem 1.65rem 1.65rem; min-width: 0; }
.app__kicker { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.app__title { font-family: var(--font-display); font-size: 1.65rem; line-height: 1.15; margin-top: -0.35rem; }
.app__sub { color: var(--ink-muted); margin-top: -0.5rem; }

.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 1rem;
  align-items: center;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.row .tag { grid-column: 1; }
.row__main { grid-column: 1; display: grid; gap: 0.1rem; min-width: 0; }
.row__main strong { font-weight: 600; font-size: 0.9rem; }
.row__main > span { color: var(--ink-muted); font-size: 0.8125rem; }
.row .chip { grid-column: 2; grid-row: 1 / span 2; }
.app__later { display: grid; gap: 0.2rem; padding: 0.85rem 1rem; border-radius: 7px; background: var(--ivory); color: var(--ink-muted); font-size: 0.8125rem; }
.app__later-label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--midnight); }

.handoffs { border-top: 1px solid var(--line); }
.handoffs li {
  display: grid;
  grid-template-columns: 8.5rem 26px minmax(0, 1fr) auto;
  gap: 0.4rem 0.85rem;
  align-items: center;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.handoff__from { font-weight: 600; font-size: 0.85rem; }
.handoff__arrow { position: relative; height: 1px; background: var(--gold); }
.handoff__arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 6px; height: 6px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  transform: rotate(45deg);
}
.handoff__to { display: grid; gap: 0.15rem; min-width: 0; font-size: 0.85rem; }
.context { padding: 1rem 1.1rem; border-radius: 7px; background: var(--ivory); }
.context__label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.5rem; }
.context ul { display: grid; gap: 0.45rem; }
.context li { position: relative; padding-left: 1rem; font-size: 0.8125rem; color: var(--ink-muted); }
.context li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 1px; background: var(--gold); }

.thread { display: grid; gap: 0.8rem; }
.msg { padding: 0.9rem 1.05rem; border-radius: 10px; min-width: 0; }
.msg p + p { margin-top: 0.5rem; }
.msg__meta { font-size: 0.75rem; color: var(--ink-muted); }
.msg__meta strong { color: var(--midnight); font-weight: 600; }
.msg--in { background: var(--ivory-deep); max-width: 82%; }
.msg--draft { background: #fff; border: 1px dashed rgba(169, 131, 76, 0.75); margin-left: 10%; }
.basis { font-size: 0.78rem; color: var(--ink-muted); }
.basis span { margin-right: 0.6rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.85rem; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 7px; font-size: 0.85rem; }

.queue { display: grid; gap: 0.75rem; }
.review {
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.review__top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.75rem; }
.review__top strong { font-weight: 600; font-size: 0.9rem; }
.review__state {
  margin-left: auto;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(169, 131, 76, 0.15);
  color: #6E5124;
  font-size: 0.71875rem;
  font-weight: 600;
  white-space: nowrap;
}
.review__text { color: var(--ink-muted); font-size: 0.85rem; border-radius: 6px; }
.review__text[contenteditable="true"] { padding: 0.6rem 0.7rem; background: var(--ivory); color: var(--midnight); outline: 1px dashed var(--teal); outline-offset: 0; }
.review__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.review.is-approved { border-color: rgba(46, 94, 95, 0.45); background: #FBFDFC; }
.review.is-approved .review__state { background: rgba(46, 94, 95, 0.12); color: var(--teal-deep); }
.review.is-later { background: var(--paper); }
.review.is-later .review__text { opacity: 0.6; }
.review.is-later .review__state { background: rgba(20, 35, 58, 0.07); color: var(--ink-muted); }

.mini {
  min-height: 34px;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(20, 35, 58, 0.25);
  border-radius: 999px;
  background: transparent;
  color: var(--midnight);
  font: 600 0.78rem/1 var(--font-body);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.mini:hover { border-color: var(--midnight); }
.mini--primary { background: var(--teal); border-color: var(--teal); color: var(--ivory); }
.mini--primary:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.mini:disabled { opacity: 0.4; cursor: default; }
.queue__left { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem; font-size: 0.85rem; }
.queue__note { font-size: 0.78rem; color: var(--ink-muted); padding-left: 0.85rem; border-left: 1px solid var(--gold); }

/* ---------- Hero (V3 additions) ---------- */
.hero__lede { margin-top: 1.5rem; }
.hero .hero__title { font-size: clamp(2.5rem, 1.45rem + 3.7vw, 4.5rem); margin-top: 1.4rem; }
.hero__copy .hero__actions { margin-top: 2rem; }
.hero { padding-top: clamp(2rem, 0.75rem + 3.5vw, 4.25rem); }
.hero__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
  margin-top: 2.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  max-width: 36rem;
}
.hero__points li { display: grid; gap: 0.15rem; }
.hero__points strong {
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__points span { font-size: 0.9375rem; line-height: 1.45; color: var(--midnight); }

/* ---------- Capability status labels ---------- */
.cap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  white-space: nowrap;
}
.cap::before {
  content: "";
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  box-sizing: border-box;
}
.cap--live::before { background: var(--teal); }
.cap--test::before { border: 1.5px solid var(--gold); background: linear-gradient(90deg, var(--gold) 50%, transparent 50%); }
.cap--planned::before { border: 1.5px dashed var(--ink-muted); }

/* ---------- Done for you ---------- */
.handled { padding-block: var(--section); }
.handled__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.handled__head > div { display: grid; gap: 1.5rem; }

.contrast {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.contrast__col { padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.25rem); min-width: 0; }
.contrast__col--todo { background: var(--ivory-deep); color: var(--ink-muted); }
.contrast__col--cleo { background: var(--paper); }
.contrast__label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.75rem; }
.contrast__col--cleo .contrast__label { color: var(--gold); }
.contrast li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-block: 0.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}
.contrast li:first-child { border-top: 0; }
.contrast__col--cleo li { justify-content: space-between; color: var(--midnight); }
.box { flex: none; width: 15px; height: 15px; border: 1px solid rgba(20, 35, 58, 0.3); border-radius: 4px; }

.flow { margin-top: clamp(3rem, 6vw, 4.5rem); }
.flow__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.flow__title { font-family: var(--font-display); font-size: var(--step-2); }
.flow__cols, .flow__row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr);
  gap: 1rem clamp(1.5rem, 3.5vw, 3rem);
}
.flow__cols {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--midnight);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.flow__list { list-style: none; margin: 0; padding: 0; }
.flow__row { padding-block: 1.35rem; border-bottom: 1px solid var(--line); align-items: start; }
.flow__in, .flow__act, .flow__out { min-width: 0; }
.flow__src { display: block; margin-bottom: 0.3rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.flow__in p { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.4; }
.flow__act { display: grid; gap: 0.3rem; position: relative; }
.flow__act p { color: var(--ink-muted); font-size: 0.9375rem; }
.flow__act::before, .flow__out::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(1.5rem, 3.5vw, 3rem) + 0.4rem);
  top: 0.6rem;
  width: calc(clamp(1.5rem, 3.5vw, 3rem) - 0.8rem);
  height: 1px;
  background: var(--gold-soft);
}
.flow__out { position: relative; display: flex; flex-wrap: wrap; align-items: center; align-content: start; gap: 0.5rem 0.75rem; }
.flow__out .chip { justify-self: start; }
.flow__row--summary { background: var(--paper); border-bottom-color: var(--midnight); padding-inline: 1rem; margin-inline: -1rem; }
.flow__act, .flow__out { transition: opacity 0.5s var(--ease); }
.flow.is-playing .flow__row:not(.is-done) .flow__act,
.flow.is-playing .flow__row:not(.is-done) .flow__out { opacity: 0.12; }

.flow__foot {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
  margin-top: 2rem;
  align-items: start;
}
.flow__result { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.45; }
.flow__result strong { font-weight: 500; font-style: italic; color: var(--gold); }
.legend { display: grid; gap: 0.6rem; margin: 0; }
.legend div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0.75rem; align-items: center; }
.legend dt { margin: 0; }
.legend dd { margin: 0; font-size: 0.875rem; color: var(--ink-muted); }

/* ---------- Connected business ---------- */
.connected { padding-block: var(--section); }
.connected__head { display: grid; gap: 1.5rem; max-width: 48rem; }
.connected__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.connected__diagram { min-width: 0; position: sticky; top: 110px; }
.net { width: 100%; height: auto; overflow: visible; }
.net__orbit { fill: none; stroke: rgba(20, 35, 58, 0.12); }
.net__orbit--inner { stroke-dasharray: 2 6; }
.net__spoke { stroke: rgba(20, 35, 58, 0.14); stroke-width: 1; transition: stroke 0.4s var(--ease); }
.net__spoke.is-on { stroke: var(--gold); stroke-width: 1.6; stroke-dasharray: 5 5; }
@media (prefers-reduced-motion: no-preference) {
  .net__spoke.is-on { animation: flow-dash 1.4s linear infinite; }
}
@keyframes flow-dash { to { stroke-dashoffset: -20; } }
.net__core { fill: var(--midnight); }
.net__core-name { font-family: var(--font-display); font-size: 28px; letter-spacing: 0.22em; fill: var(--ivory); }
.net__core-sub { font-family: var(--font-body); font-size: 8.5px; font-weight: 600; letter-spacing: 0.16em; fill: var(--gold-soft); }
.net__ring { fill: var(--paper); stroke: rgba(20, 35, 58, 0.25); transition: stroke 0.3s var(--ease), fill 0.3s var(--ease); }
.net__dot { fill: rgba(20, 35, 58, 0.35); transition: fill 0.3s var(--ease); }
.net__node.is-on .net__ring { stroke: var(--gold); fill: #fff; stroke-width: 1.5; }
.net__node.is-on .net__dot { fill: var(--gold); }
.net__label { font-family: var(--font-body); font-size: 17px; font-weight: 500; fill: var(--ink-muted); transition: fill 0.3s var(--ease); }
.net__label.is-on { fill: var(--midnight); font-weight: 600; }

.journey { min-width: 0; counter-reset: step; }
.journey__title { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); padding-bottom: 0.75rem; border-bottom: 1px solid var(--midnight); }
.journey__list { list-style: none; margin: 0; padding: 0; }
.journey__list li { border-bottom: 1px solid var(--line); }
.journey__step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0.25rem 0.5rem;
  width: 100%;
  padding: 0.9rem 0.9rem 0.95rem 0.75rem;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  color: var(--midnight);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.journey__step::before {
  content: counter(step);
  grid-row: 1 / span 3;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  line-height: 1.3;
}
.journey__step:hover { background: rgba(252, 250, 246, 0.6); }
.journey__step[aria-pressed="true"] { border-left-color: var(--gold); background: var(--paper); }
.journey__name { font-family: var(--font-display); font-size: 1.125rem; line-height: 1.3; }
.journey__desc { font-size: 0.875rem; color: var(--ink-muted); }
.journey__step .cap { margin-top: 0.2rem; }

/* ---------- AI team ---------- */
.crew { padding-block: var(--section); background: var(--midnight); color: var(--ivory); }
.crew .eyebrow { color: var(--gold-soft); }
.crew__head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.crew__head > div { display: grid; gap: 1.5rem; min-width: 0; }
.crew__intro .lede { color: rgba(247, 243, 236, 0.8); }

.crew__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.75rem;
  margin-top: 2rem;
  padding-block: 1.1rem;
  border-block: 1px solid var(--line-light);
}
.crew__points li { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; color: rgba(247, 243, 236, 0.86); }
.crew__points li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-soft); }

.team-ui { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.team-ui__hint { font-size: 0.875rem; color: rgba(247, 243, 236, 0.7); margin-bottom: 1rem; }
.team-ui__list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.4vw, 1.1rem);
}
.mate {
  display: grid;
  gap: 0.15rem;
  align-content: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(247, 243, 236, 0.75);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.mate__photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  margin-bottom: 0.6rem;
  border-radius: 10px;
  overflow: hidden;
  background: var(--midnight-2);
  outline: 1px solid transparent;
  outline-offset: 3px;
  transition: outline-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.mate__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  filter: saturate(0.82);
  opacity: 0.78;
  transition: transform 0.6s var(--ease), opacity 0.3s var(--ease), filter 0.3s var(--ease);
}
.mate:hover .mate__photo img { transform: scale(1.04); opacity: 1; filter: none; }
.mate:hover .mate__photo { transform: translateY(-2px); }
.mate[aria-selected="true"] .mate__photo { outline-color: var(--gold-soft); }
.mate[aria-selected="true"] .mate__photo img { opacity: 1; filter: none; }
.mate:focus-visible { outline: none; }
.mate:focus-visible .mate__photo { outline: 2px solid var(--ivory); }
.mate__name { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.2; color: var(--ivory); }
.mate__role { font-size: 0.75rem; line-height: 1.35; }
.mate[aria-selected="true"] .mate__role { color: var(--gold-soft); }

.spot {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid var(--line-light);
  border-radius: 14px;
  background: var(--midnight-2);
}
.spot + .spot { margin-top: 1.5rem; }
.team-ui.is-ready .spot + .spot { margin-top: clamp(2rem, 4vw, 2.75rem); }
.spot:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .team-ui.is-ready .spot:not([hidden]) .spot__photo { animation: rise 0.55s var(--ease) both; }
  .team-ui.is-ready .spot:not([hidden]) .spot__body { animation: rise 0.45s var(--ease) both; }
}
.spot__photo { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; max-width: 360px; width: 100%; }
.spot__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.spot__body { display: grid; gap: 0.75rem; min-width: 0; max-width: 40rem; padding-top: 0.5rem; }
.spot__eyebrow { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); }
.spot__name { font-size: var(--step-3); line-height: 1.05; color: var(--ivory); }
.spot__help { font-size: var(--step-1); line-height: 1.6; color: rgba(247, 243, 236, 0.82); }

.sample {
  margin-top: 0.75rem;
  padding: 1.1rem 1.25rem 1.2rem;
  border-radius: 10px;
  background: var(--paper);
  color: var(--midnight);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.6);
}
.sample__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.team-ui__swipe { display: none; }
.sample__tag { white-space: nowrap; padding: 0.15rem 0.55rem; border: 1px dashed rgba(169, 131, 76, 0.7); border-radius: 999px; color: #6E5124; letter-spacing: 0.1em; font-size: 0.625rem; }
.sample__kicker { margin-top: 0.8rem; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; }
.sample__body { margin-top: 0.5rem; display: grid; gap: 0.5rem; font-size: 0.9rem; color: var(--ink-muted); }
.sample__rows li { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.45rem; border-bottom: 1px solid var(--line); }
.sample__rows li span:first-child { color: var(--ink-muted); }
.sample__rows li span:last-child { color: var(--midnight); text-align: right; }
.sample__list { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; color: var(--midnight); }
.sample__quote { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; line-height: 1.5; color: var(--midnight); }
.sample__status { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-top: 0.9rem; }

.crew__tech { margin-top: 2rem; max-width: 46rem; border-top: 1px solid var(--line-light); padding-top: 1rem; }
.crew__tech summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-soft);
  list-style: none;
}
.crew__tech summary::-webkit-details-marker { display: none; }
.crew__tech summary::after { content: "+"; font-weight: 400; font-size: 1.1rem; transition: transform 0.3s var(--ease); }
.crew__tech[open] summary::after { transform: rotate(45deg); }
.crew__tech p { margin-top: 0.75rem; font-size: 0.9375rem; color: rgba(247, 243, 236, 0.75); }



/* ---------- Benefits ---------- */
.benefits { padding-block: var(--section); }
.benefits__head { display: grid; gap: 1.5rem; max-width: 46rem; }
.benefits__list { margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--midnight); }
.benefit {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto;
  gap: 0.75rem clamp(1.5rem, 4vw, 3.5rem);
  align-items: baseline;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.benefit h3 { font-size: var(--step-2); line-height: 1.2; }
.benefit__feature { display: block; margin-bottom: 0.35rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.benefit__how p { color: var(--ink-muted); max-width: 36em; }
.benefit__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal);
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: rgba(46, 94, 95, 0.35);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.25s var(--ease);
}
.benefit__link::after { content: " →"; }
.benefit__link:hover { text-decoration-color: currentColor; }



/* ---------- Philosophy ---------- */
.philosophy { padding-block: var(--section); background: var(--ivory-deep); }
.philosophy__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}
.philosophy__title {
  font-size: var(--step-3);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 72;
}
.philosophy__title em { font-style: italic; color: var(--gold); }
.philosophy__left { display: grid; gap: 1.75rem; align-content: start; min-width: 0; }
.philosophy__right { display: grid; gap: 2.5rem; min-width: 0; }
.philosophy__statement {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.5;
  max-width: 30em;
}
.principles { display: grid; gap: 0; }
.principles li {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: 0.5rem 2rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--line);
}
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles h3 { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.02em; }
.principles p { color: var(--ink-muted); font-size: 0.975rem; }

/* ---------- Final CTA (dawn) ---------- */
.dawn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--midnight);
  color: var(--ivory);
  text-align: center;
  padding-block: clamp(6rem, 4rem + 8vw, 11rem) clamp(9rem, 6rem + 10vw, 15rem);
}
.dawn__scene { position: absolute; inset: 0; z-index: -1; }
.dawn__scene svg { width: 100%; height: 100%; }
.dawn__inner { display: grid; justify-items: center; gap: 1.6rem; }
.dawn .eyebrow { color: var(--gold-soft); }
.dawn .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.dawn__title {
  font-size: var(--step-3);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 15em;
  font-variation-settings: "opsz" 72;
}
.dawn__title em { font-style: italic; color: var(--gold-soft); }
.dawn__text { max-width: 33em; color: rgba(247, 243, 236, 0.8); font-size: var(--step-1); line-height: 1.6; }
.dawn__actions { display: grid; justify-items: center; gap: 1.1rem; margin-top: 0.75rem; }

.email-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.35rem 0.3rem 1rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 0.9375rem;
  color: rgba(247, 243, 236, 0.86);
}
.email-chip__addr { user-select: all; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 34px;
  padding: 0.35rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: rgba(247, 243, 236, 0.1);
  color: var(--ivory);
  font: 600 0.8125rem/1 var(--font-body);
  cursor: pointer;
  transition: background-color 0.25s var(--ease);
}
.copy-btn:hover { background: rgba(247, 243, 236, 0.18); }
.dawn__fine { font-size: var(--step--1); color: rgba(247, 243, 236, 0.66); max-width: 34em; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 3.5rem 2.5rem; background: var(--ivory); }
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--line);
}
.site-footer__contact { display: flex; flex-wrap: wrap; gap: 0.75rem 2.5rem; }
.site-footer__contact a { font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.site-footer__contact a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.site-footer__contact span { display: block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.2rem; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.5rem;
  font-size: var(--step--1);
  color: var(--ink-muted);
}
.site-footer__bottom a { color: var(--midnight); text-underline-offset: 3px; text-decoration-color: rgba(20, 35, 58, 0.3); }

/* ---------- Privacy page ---------- */
.legal { padding-block: clamp(3rem, 2rem + 4vw, 6rem) var(--section); }
.legal__inner { max-width: 44rem; display: grid; gap: 1.25rem; }
.legal h1 { font-size: var(--step-3); line-height: 1.1; margin-block: 0.75rem 0.5rem; }
.legal h2 { font-size: var(--step-2); margin-top: 1.5rem; }
.legal p, .legal li { color: var(--ink-muted); }
.legal ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: 0.4rem; }
.legal a { color: var(--teal); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .site-nav__links { gap: 1.5rem; }
  .site-nav { gap: 1.5rem; }
  .experience__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .handled__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .connected__grid { grid-template-columns: minmax(0, 1fr); }
  .connected__diagram { position: static; max-width: 600px; width: 100%; justify-self: center; }
  .crew__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .team-ui__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .demo__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo__panel { grid-template-columns: minmax(0, 1fr); }
  .demo__story { max-width: 40rem; padding-top: 0; }
  .benefit { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .benefit__link { grid-column: 2; }
  .philosophy__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.25rem max(var(--gutter), env(safe-area-inset-right, 0px)) 1.75rem max(var(--gutter), env(safe-area-inset-left, 0px));
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(20, 35, 58, 0.25);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__links { flex-direction: column; gap: 0; }
  .site-nav__links a {
    display: block;
    padding-block: 0.95rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.375rem;
  }
  .site-nav__links a::after { display: none; }
  .site-nav .btn { align-self: flex-start; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { justify-self: start; max-width: 600px; margin-top: 1rem; }
  .contrast { grid-template-columns: minmax(0, 1fr); }
  .flow__cols { display: none; }
  .flow__row { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .flow__act { padding-left: 1rem; border-left: 1px solid var(--gold-soft); }
  .flow__act::before, .flow__out::before { display: none; }
  .flow__foot { grid-template-columns: minmax(0, 1fr); }
  .legend div { grid-template-columns: minmax(0, 1fr); gap: 0.3rem; }

}

@media (max-width: 600px) {
  :root { --step-0: 1rem; }
  .wordmark { gap: 0.6rem; }
  .wordmark__name { font-size: 1.4rem; }
  .wordmark__rule { height: 20px; }
  .wordmark__sub { font-size: 0.625rem; letter-spacing: 0.18em; }
  .hero__actions .btn { width: 100%; }
  .hero__actions { gap: 1.25rem; }
  .hero__art { padding-bottom: 0; }
  .arch { width: 100%; aspect-ratio: 6 / 5; border-radius: 220px 220px var(--radius) var(--radius); }
  .arch::after { border-radius: 210px 210px 2px 2px; }
  .brief { position: relative; left: auto; bottom: auto; width: auto; margin: -6rem 0.75rem 0; }
  .hero__sample { position: static; margin-top: 0.85rem; text-align: center; }


  .demo__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .demo__tab { grid-template-columns: auto minmax(0, 1fr); gap: 0.6rem; min-height: 64px; padding: 0.7rem 0.75rem; }
  .demo__go, .demo__sub { display: none; }
  .demo__num { width: 28px; height: 28px; font-size: 0.9rem; }
  .demo__name { font-size: 0.875rem; }
  .team-ui__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.75rem; padding: 5px 1rem 0.75rem 5px; margin-left: -5px; margin-right: calc(-1 * max(var(--gutter), env(safe-area-inset-right, 0px))); scroll-padding-left: 5px; scrollbar-width: thin; }
  .mate { flex: 0 0 112px; scroll-snap-align: start; }
  .spot { grid-template-columns: minmax(0, 1fr); }
  .spot__photo { max-width: 200px; }
  .team-ui__swipe { display: inline; }
  .app__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app__side { display: none; }
  .app__main { padding: 1.15rem; }
  .handoffs li { grid-template-columns: minmax(0, 1fr) auto; }
  .handoff__arrow { display: none; }
  .handoff__to { grid-column: 1 / -1; grid-row: 2; }
  .msg--in, .msg--draft { max-width: none; margin-left: 0; }
  .benefit { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .hero__points { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .net__label { font-size: 21px; }
  .contrast__col--cleo li { flex-wrap: wrap; gap: 0.4rem 0.85rem; }
  .benefit__link { grid-column: auto; }

  .principles li { grid-template-columns: minmax(0, 1fr); }
  .email-chip { flex-wrap: wrap; justify-content: center; padding: 0.5rem; gap: 0.5rem; border-radius: 20px; }
  .email-chip__addr { padding-inline: 0.5rem; }
  .site-footer__top { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
