/* ==========================================================================
   Calyvento — calyvento.com
   Design tokens mirror the app's own palette (Calyvento/Design/VTheme.swift)
   so the site and the product read as one thing.

   No web fonts, no third-party requests: the page renders in the reader's own
   system typefaces. On a Mac — where the app lives — that is New York + SF Pro.
   ========================================================================== */

/* --- tokens --------------------------------------------------------------- */

:root {
  color-scheme: light;

  /* Surfaces */
  --canvas:        #F7F4EE;
  --canvas-deep:   #EEF0EA;
  --surface:       #FFFCF7;
  --surface-alt:   #F2F1EB;
  --line:          #D8DDD6;
  --line-soft:     #E4E7E0;

  /* Ink */
  --ink:           #1B3639;
  --ink-2:         #29484A;
  --muted:         #5A665F;
  --muted-soft:    #66716C;

  /* Brand */
  --brand:         #123D44;
  --brand-hover:   #0C2E34;
  --on-brand:      #FFFCF7;
  --sage:          #DCE9E5;
  --sage-deep:     #A9C6C1;
  --copper:        #A9563E;
  --copper-soft:   #F0DED6;
  --green:         #287953;

  /* Illustrations (body map, AI pause) */
  --figure:        #7A9591;
  --furn:          #CDD5CF;

  /* Depth */
  --shadow-sm: 0 1px 2px rgba(18, 61, 68, .05), 0 2px 8px rgba(18, 61, 68, .04);
  --shadow-md: 0 2px 4px rgba(18, 61, 68, .05), 0 12px 32px rgba(18, 61, 68, .07);
  --shadow-lg: 0 4px 10px rgba(18, 61, 68, .06), 0 30px 70px rgba(18, 61, 68, .12);

  /* Geometry — same radii the app uses */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;

  --gutter: clamp(20px, 5vw, 72px);
  --measure: 1200px;
  --section-y: clamp(64px, 9vw, 124px);

  /* Type */
  --display: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, "Cascadia Mono", Consolas, monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --canvas:        #131A1C;
  --canvas-deep:   #182124;
  --surface:       #1F292C;
  --surface-alt:   #222E31;
  --line:          #354347;
  --line-soft:     #2A3639;

  --ink:           #F4EBDD;
  --ink-2:         #E4DDD1;
  --muted:         #A7B1AD;
  --muted-soft:    #8A9591;

  --brand:         #78A4A1;
  --brand-hover:   #8FB8B5;
  --on-brand:      #10292D;
  --sage:          #294044;
  --sage-deep:     #3C5A5D;
  --copper:        #E4A087;
  --copper-soft:   #3A2A26;
  --green:         #68B989;
  --figure:        #8FAAA6;
  --furn:          #3A4A4D;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 8px rgba(0, 0, 0, .2);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .3);
  --shadow-lg: 0 4px 10px rgba(0, 0, 0, .35), 0 30px 70px rgba(0, 0, 0, .45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --canvas:        #131A1C;
    --canvas-deep:   #182124;
    --surface:       #1F292C;
    --surface-alt:   #222E31;
    --line:          #354347;
    --line-soft:     #2A3639;

    --ink:           #F4EBDD;
    --ink-2:         #E4DDD1;
    --muted:         #A7B1AD;
    --muted-soft:    #8A9591;

    --brand:         #78A4A1;
    --brand-hover:   #8FB8B5;
    --on-brand:      #10292D;
    --sage:          #294044;
    --sage-deep:     #3C5A5D;
    --copper:        #E4A087;
    --copper-soft:   #3A2A26;
    --green:         #68B989;
    --figure:        #8FAAA6;
    --furn:          #3A4A4D;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 8px rgba(0, 0, 0, .2);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .3);
    --shadow-lg: 0 4px 10px rgba(0, 0, 0, .35), 0 30px 70px rgba(0, 0, 0, .45);
  }
}

/* --- reset ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-2);
  font: 400 1.0625rem/1.65 var(--sans);
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.021em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

::selection { background: var(--sage); color: var(--ink); }

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

/* --- layout --------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 820px; }
.wrap--prose  { max-width: 700px; }

section { position: relative; }

.band { padding-block: var(--section-y); }
.band + .band { padding-top: 0; }
.band--ruled { border-top: 1px solid var(--line-soft); padding-top: var(--section-y); }
/* `.band + .band` zeroes the top padding; a ruled band still needs air under its rule. */
.band + .band--ruled { padding-top: calc(var(--section-y) * .8); }

/* --- typography ----------------------------------------------------------- */

.eyebrow {
  font: 500 .75rem/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .5;
  flex: none;
}

h1, .h1 { font-size: clamp(2.5rem, 6.1vw, 4.4rem); line-height: 1.03; }
h2, .h2 { font-size: clamp(1.95rem, 4.1vw, 3rem);  line-height: 1.1; }
h3, .h3 { font-size: clamp(1.25rem, 2.1vw, 1.6rem); line-height: 1.22; }
h4, .h4 { font-size: 1.0625rem; line-height: 1.3; font-family: var(--sans); font-weight: 600; letter-spacing: -0.01em; }

.lede {
  font-size: clamp(1.09rem, 1.55vw, 1.3rem);
  line-height: 1.58;
  color: var(--muted);
  max-width: 62ch;
}

.small { font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.fine  { font-size: .8125rem; line-height: 1.55; color: var(--muted-soft); }

.serif-quote {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.32;
  color: var(--ink);
  letter-spacing: -0.018em;
}

.stack > * + * { margin-top: var(--gap, 20px); }

/* --- links ---------------------------------------------------------------- */

.link {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  padding-bottom: 1px;
  transition: border-color .18s ease, color .18s ease;
}
.link:hover { border-bottom-color: var(--brand); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  font-size: .96rem;
  color: var(--brand);
  text-decoration: none;
}
.link-arrow svg { transition: transform .22s cubic-bezier(.22,1,.36,1); }
.link-arrow:hover svg { transform: translateX(3px); }

/* --- buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: 500 .96rem/1 var(--sans);
  letter-spacing: -0.005em;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease,
              transform .18s cubic-bezier(.22,1,.36,1), box-shadow .18s ease;
}

.btn--primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--brand-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink-2); background: color-mix(in srgb, var(--surface) 70%, transparent); }

.btn--sm { padding: 10px 17px; font-size: .875rem; }


/* --- header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header[data-stuck="true"] { border-bottom-color: var(--line-soft); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.brand__mark { width: 26px; height: 26px; flex: none; color: var(--brand); }
.brand__mark svg { width: 100%; height: 100%; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: .9rem;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 13px;
  border-radius: 999px;
  transition: color .16s ease, background .16s ease;
}
.nav a:hover { color: var(--ink); background: var(--surface-alt); }

.header__tools { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 36px; height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}
.icon-btn:hover { color: var(--ink); border-color: var(--ink-2); }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn .icon-moon { display: none; }
:root[data-theme="dark"] .icon-btn .icon-sun { display: none; }
:root[data-theme="dark"] .icon-btn .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-btn .icon-sun { display: none; }
  :root:not([data-theme="light"]) .icon-btn .icon-moon { display: block; }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font: 500 .78rem/1 var(--mono);
  letter-spacing: .03em;
}
.lang-switch a {
  padding: 9px 11px;
  text-decoration: none;
  color: var(--muted);
  transition: background .16s ease, color .16s ease;
}
.lang-switch a[aria-current="true"] { background: var(--brand); color: var(--on-brand); }
.lang-switch a:not([aria-current="true"]):hover { color: var(--ink); background: var(--surface-alt); }

.nav-toggle { display: none; }

/* Five nav items plus the language switch and the CTA stop fitting on one
   line well before the old 940px mark, so the drawer takes over earlier. */
@media (max-width: 1080px) {
  .nav {
    position: fixed;
    inset: 68px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 22px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav[data-open="true"] { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 13px 4px; font-size: 1.02rem; border-radius: 0; }
  .nav a + a { border-top: 1px solid var(--line-soft); }
  .nav-toggle { display: inline-grid; }
  .header__cta { display: none; }
}

/* --- hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: clamp(52px, 8vw, 104px);
  padding-bottom: clamp(48px, 7vw, 96px);
  overflow: hidden;
}

/* The brand's own edge, standing still. Faded with a mask so it dissolves
   into the page instead of ending on a hard line. */
[data-breeze-decor] {
  color: var(--sage);
  -webkit-mask-image: linear-gradient(to left, #000 8%, rgba(0, 0, 0, .55) 42%, transparent 92%);
  mask-image: linear-gradient(to left, #000 8%, rgba(0, 0, 0, .55) 42%, transparent 92%);
}
[data-breeze-decor][data-tone="dark"] { color: rgba(255, 255, 255, .1); }

.hero__inner { position: relative; z-index: 1; max-width: 880px; }

.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: italic;
  color: var(--brand);
}

.hero__lede { font-size: clamp(1.12rem, 1.7vw, 1.36rem); max-width: 56ch; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 26px;
  font: .84rem/1.5 var(--sans);
  color: var(--muted-soft);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta span::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--sage-deep);
  flex: none;
}

/* --- figures & window chrome ---------------------------------------------- */

.shot {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.shot img { width: 100%; }

.window {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line-soft);
}
.window__bar i {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--line);
  flex: none;
}
.window__bar i:nth-child(1) { background: #E1685C; }
.window__bar i:nth-child(2) { background: #E3B341; }
.window__bar i:nth-child(3) { background: #5DBB63; }
.window__bar span {
  margin-left: 8px;
  font: .78rem/1 var(--sans);
  color: var(--muted-soft);
}
.window__body { background: var(--canvas); }
.window__body img { width: 100%; }

/* Hand-taken shots already carry their own chrome + shadow. */
.bare img { width: 100%; filter: drop-shadow(0 26px 60px rgba(9, 28, 32, .2)); }
:root[data-theme="dark"] .bare img { filter: drop-shadow(0 26px 60px rgba(0, 0, 0, .55)); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .bare img { filter: drop-shadow(0 26px 60px rgba(0, 0, 0, .55)); }
}

figure { margin: 0; }
figcaption { margin-top: 14px; font: .8125rem/1.5 var(--sans); color: var(--muted-soft); }

.theme-swap .only-dark { display: none; }
:root[data-theme="dark"] .theme-swap .only-dark { display: block; }
:root[data-theme="dark"] .theme-swap .only-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-swap .only-dark { display: block; }
  :root:not([data-theme="light"]) .theme-swap .only-light { display: none; }
}

/* --- section headers ------------------------------------------------------ */

.sec-head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 62px); }
.sec-head h1, .sec-head h2 { margin-bottom: 18px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* --- generic cards -------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(24px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.card h3 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.card p { font-size: .9375rem; line-height: 1.6; color: var(--muted); }

.card__icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--sage);
  color: var(--brand);
  margin-bottom: 6px;
}
:root[data-theme="dark"] .card__icon { color: var(--ink); }
.card__icon svg { width: 18px; height: 18px; }

/* --- breeze demo ---------------------------------------------------------- */

.demo__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(90% 70% at 76% 88%, rgba(169, 86, 62, .30), transparent 68%),
    radial-gradient(85% 65% at 14% 6%, rgba(255, 238, 210, .26), transparent 62%),
    linear-gradient(158deg, #3A6068 0%, #21414A 40%, #16323A 100%);
  overflow: hidden;
  isolation: isolate;
}

.demo__menubar {
  position: absolute;
  inset: 0 0 auto;
  height: 5.2%;
  min-height: 20px;
  background: rgba(10, 22, 25, .5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 14px;
  padding-inline: 2.4%;
  font: 500 clamp(7px, .82vw, 11px)/1 var(--sans);
  color: rgba(255, 255, 255, .72);
  z-index: 5;
}
.demo__menubar .spacer { margin-left: auto; }
.demo__menubar .dot-mark { width: 1em; height: 1em; color: #9FC6C1; }

.demo__window {
  position: absolute;
  left: 4%;
  top: 12%;
  width: 62%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  z-index: 2;
}
.demo__window svg { display: block; width: 100%; height: auto; }

/* the ambient glass + its wavy leading edge */
.demo__glass {
  position: absolute;
  inset: 5.2% 0 0 auto;
  width: 100%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(255deg, rgba(226, 240, 237, .30), rgba(190, 216, 212, .17));
  backdrop-filter: blur(22px) saturate(1.5) brightness(1.06);
  -webkit-backdrop-filter: blur(22px) saturate(1.5) brightness(1.06);
  opacity: 0;
  transition: opacity .35s ease;
}
.demo__glass[data-visible="true"] { opacity: 1; }
.demo__edge {
  position: absolute;
  inset: 5.2% 0 0 auto;
  width: 100%;
  z-index: 4;
  pointer-events: none;
  overflow: visible;
  filter: drop-shadow(-6px 0 10px rgba(6, 20, 24, .22));
}

/* the invitation card — a faithful rebuild of the app panel */
.demo__card {
  position: absolute;
  right: 2.6%;
  top: 9.5%;
  width: 27%;
  min-width: 168px;
  background: var(--surface);
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34);
  padding: 4.2% 4.2% 3.6%;
  z-index: 6;
  font-size: clamp(8px, .95vw, 13px);
  transform-origin: 100% 0;
  transition: opacity .3s ease, transform .4s cubic-bezier(.22,1,.36,1);
}
.demo__card[data-hidden="true"] { opacity: 0; transform: translateX(14%) scale(.98); pointer-events: none; }
.demo__card img {
  width: 100%;
  border-radius: 9px;
  margin-bottom: .7em;
  background: var(--surface-alt);
}
.demo__card .kicker {
  font: 500 .66em/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: .55em;
}
.demo__card .title {
  font-family: var(--display);
  font-size: 1.28em;
  line-height: 1.16;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-bottom: .35em;
}
.demo__card .sub { font-size: .85em; color: var(--muted); line-height: 1.4; margin-bottom: .85em; }
.demo__card .row { display: flex; align-items: center; gap: .45em; }
.demo__card .pill {
  font-size: .82em;
  font-weight: 500;
  padding: .55em .95em;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  white-space: nowrap;
}
.demo__card .pill--ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.demo__card .glyph {
  margin-left: auto;
  color: var(--muted-soft);
  font-size: .95em;
  letter-spacing: .1em;
}

/* --- exercise mosaic ------------------------------------------------------ */

.mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
  gap: clamp(8px, 1vw, 14px);
}

.tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--line-soft);
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.22,1,.36,1), filter .3s ease;
}
.tile figcaption {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  padding: 26px 11px 10px;
  background: linear-gradient(to top, rgba(22, 32, 30, .86), rgba(22, 32, 30, 0));
  color: #fff;
  font: 500 .75rem/1.25 var(--sans);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
}
.tile figcaption em { display: block; font-style: normal; font-weight: 400; opacity: .72; font-size: .92em; margin-top: 2px; }
.tile:hover img { transform: scale(1.055); }
.tile:hover figcaption { opacity: 1; transform: none; }
@media (hover: none) {
  .tile figcaption { opacity: 1; transform: none; }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  font: 500 .8125rem/1 var(--sans);
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: all .16s ease;
}
.chip:hover { color: var(--ink); border-color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.chip span { opacity: .6; margin-left: 5px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] span { opacity: .75; }

/* --- set list ------------------------------------------------------------- */

.setlist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.setlist div {
  background: var(--surface);
  padding: 18px 22px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.setlist b { font: 600 .96rem/1.4 var(--sans); color: var(--ink); letter-spacing: -0.01em; }
.setlist span {
  margin-left: auto;
  font: .8125rem/1 var(--mono);
  color: var(--copper);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* --- comparison / pricing ------------------------------------------------- */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
}
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

.plan {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: clamp(26px, 3vw, 38px);
}
.plan--featured {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  position: relative;
}
.plan__tag {
  position: absolute;
  top: -11px; left: clamp(26px, 3vw, 38px);
  font: 500 .7rem/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--brand);
  color: var(--on-brand);
  padding: 6px 12px;
  border-radius: 999px;
}
.plan h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.plan__price {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin: 14px 0 4px;
}
.plan__price small { font-family: var(--sans); font-size: .95rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.plan li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 11px;
  align-items: start;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--muted);
}
.plan li svg { width: 15px; height: 15px; margin-top: .22em; color: var(--green); }
.plan li b { color: var(--ink); font-weight: 600; }
.plan li[data-off] svg { color: var(--muted-soft); opacity: .65; }
.plan li[data-soon] svg { color: var(--muted-soft); }
.plan li .soon {
  display: inline-block;
  margin-left: 2px; /* the space before it does the rest; a wrapped pill stays flush */
  padding: 3px 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font: 500 .66rem/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  vertical-align: .12em;
  white-space: nowrap;
}

/* --- FAQ ------------------------------------------------------------------ */

.faq { border-top: 1px solid var(--line-soft); }
.faq details {
  border-bottom: 1px solid var(--line-soft);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  position: relative;
  font: 600 1.0625rem/1.45 var(--sans);
  letter-spacing: -0.012em;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .24s cubic-bezier(.22,1,.36,1);
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq .faq__a { padding: 0 clamp(0px, 6vw, 80px) 26px 0; }
.faq .faq__a p { color: var(--muted); font-size: .9875rem; line-height: 1.65; }
.faq .faq__a p + p { margin-top: 12px; }

/* --- callout / signup ----------------------------------------------------- */

.callout {
  border-radius: var(--r-xl);
  background: var(--brand);
  color: var(--on-brand);
  padding: clamp(38px, 5vw, 68px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.callout h2 { color: #F5F0E6; }
:root[data-theme="dark"] .callout { background: #17383D; }
:root[data-theme="dark"] .callout h2 { color: #F4EBDD; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .callout { background: #17383D; }
  :root:not([data-theme="light"]) .callout h2 { color: #F4EBDD; }
}
.callout p { color: rgba(245, 240, 230, .78); max-width: 52ch; margin-top: 16px; }
.callout__wave { position: absolute; inset: 0 0 0 auto; width: 55%; z-index: -1; opacity: .5; }
.callout .btn--primary { background: #F5F0E6; color: #123D44; }
.callout .btn--primary:hover { background: #fff; }
.callout .btn--ghost { color: rgba(245, 240, 230, .9); border-color: rgba(245, 240, 230, .3); }
.callout .btn--ghost:hover { border-color: rgba(245, 240, 230, .7); background: rgba(255,255,255,.06); }
.callout .hero__actions { margin-top: 30px; }

/* The notify form: which version, the result line, and a field only bots fill. */
.notify__platform { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; border: 0; }
.notify__platform label { position: relative; cursor: pointer; }
.notify__platform input { position: absolute; inset: 0; opacity: 0; margin: 0; }
.notify__platform span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(245, 240, 230, .3);
  border-radius: 999px;
  font: 500 .86rem/1 var(--sans);
  color: rgba(245, 240, 230, .82);
}
.notify__platform input:checked + span { background: #F5F0E6; border-color: #F5F0E6; color: #123D44; }
.notify__platform input:focus-visible + span { outline: 2px solid #F5F0E6; outline-offset: 2px; }
.callout .notify .hero__actions { margin-top: 14px; }
.callout .notify__status { margin-top: 14px; font-weight: 500; }
.callout .notify__status:empty { display: none; }
.callout .notify__status[data-state="ok"] { color: #CFE3D6; }
.callout .notify__status[data-state="error"] { color: #F2C1A6; }
.notify__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hero__windows { margin-top: 16px; font: .9rem/1.5 var(--sans); color: var(--muted); }
.hero--center .hero__windows { text-align: center; }

/* --- footer --------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(44px, 6vw, 72px) 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 48px);
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__grid .footer__h {
  font: 500 .72rem/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 16px;
}
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__grid a { font-size: .9375rem; color: var(--muted); text-decoration: none; }
.footer__grid a:hover { color: var(--ink); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  margin-top: clamp(36px, 5vw, 60px);
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: .8125rem;
  color: var(--muted-soft);
}
.footer__bottom .spacer { margin-left: auto; }

/* --- prose (legal pages) -------------------------------------------------- */

.prose { max-width: 70ch; }
.prose h1 { margin-bottom: 14px; }
.prose h2 {
  font-size: clamp(1.32rem, 2.3vw, 1.7rem);
  margin-top: 52px;
  margin-bottom: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.prose h3 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; margin-top: 30px; margin-bottom: 8px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.prose p + p { margin-top: 15px; }
.prose ul, .prose ol { margin: 15px 0 0; padding-left: 20px; display: grid; gap: 9px; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: .9375rem; }
.prose th, .prose td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--muted); }
.prose th { color: var(--ink); font-weight: 600; font-size: .82rem; letter-spacing: .02em; text-transform: uppercase; }
.prose strong { color: var(--ink-2); font-weight: 600; }
.page-head { padding-top: clamp(40px, 6vw, 72px); }
.page-head .updated { font: .8125rem/1 var(--mono); color: var(--muted-soft); margin-top: 18px; }

.note {
  border-left: 2px solid var(--copper);
  background: var(--copper-soft);
  padding: 16px 20px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-top: 22px;
}
.note p { color: var(--ink-2); font-size: .9375rem; }

/* --- references ----------------------------------------------------------- */

.refs { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r-md); overflow: hidden; }
.refs li { background: var(--surface); padding: 20px 24px; display: grid; gap: 6px; }
.refs .claim { font-weight: 600; color: var(--ink); font-size: .96rem; line-height: 1.45; }
.refs .src { font: .8125rem/1.5 var(--mono); color: var(--muted); }
.refs .pending { color: var(--copper); }

/* --- home v2: hero ------------------------------------------------------ */
/* One promise, centred, with the break itself underneath (brief §5). */

.hero--center { text-align: center; padding-top: clamp(36px, 6vw, 80px); }
.hero--center::before {
  content: "";
  position: absolute;
  inset: -12% -10% auto;
  height: 820px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(58% 52% at 50% 32%, color-mix(in srgb, var(--sage) 90%, transparent), transparent 72%);
}
.hero--center .wrap { position: relative; z-index: 1; }
.hero--center .hero__inner { max-width: 860px; margin-inline: auto; }
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  font: 500 .8rem/1 var(--sans);
  color: var(--muted);
}
.hero__pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--copper); }
.hero__icon {
  display: block;
  width: clamp(84px, 9vw, 112px);
  height: auto;
  margin: 0 auto 28px;
  border-radius: 22.5%;
  filter: drop-shadow(0 14px 30px rgba(18, 61, 68, .2));
}
.hero--center h1 { font-size: clamp(2.45rem, 6.2vw, 4.6rem); line-height: 1.05; }
.hero--center .hero__lede { margin-inline: auto; }
.hero--center .hero__actions,
.hero--center .hero__meta { justify-content: center; }

.hero__scene { position: relative; max-width: 1040px; margin: clamp(44px, 6vw, 76px) auto 0; }
.hero__scene figcaption { text-align: center; max-width: 66ch; margin: 16px auto 0; }

.scene {
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--surface);
}
.scene__clock {
  font: 500 1em/1 var(--mono);
  font-variant-numeric: tabular-nums;
  padding: .3em .65em;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .88);
}

/* On a phone the screen gets taller and the card narrower, or the card's own
   text runs past the bottom of the screen it sits on. */
@media (max-width: 720px) {
  .demo__screen { aspect-ratio: 4 / 3.5; }
  .demo__menubar { padding-inline: 7%; }
  .demo__window { width: 72%; top: 14%; }
  .demo__card { width: 40%; min-width: 0; top: 9%; right: 3%; font-size: clamp(7.5px, 2.3vw, 11px); }
  .demo__card img { margin-bottom: .5em; }
  .demo__card .row { flex-wrap: wrap; gap: .35em; }
  .demo__card .glyph { display: none; }
}

/* the neutral work window inside the scene */
.ww-bg   { fill: var(--surface); }
.ww-side { fill: var(--surface-alt); }
.ww-bar  { fill: var(--canvas-deep); }
.ww-t    { fill: var(--line); }
.ww-n    { fill: var(--line-soft); }
.ww-k    { fill: var(--sage-deep); }
.ww-s    { fill: var(--copper-soft); }
.ww-sel  { fill: var(--sage); }

/* --- home v2: pillars ---------------------------------------------------- */

.band--pillars { padding-block: clamp(20px, 4vw, 40px) clamp(64px, 9vw, 112px); }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  text-align: center;
}
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }
.pillar__icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--sage);
  color: var(--brand);
}
:root[data-theme="dark"] .pillar__icon { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pillar__icon { color: var(--ink); } }
.pillar h3 { font-family: var(--sans); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.012em; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: .96rem; line-height: 1.6; max-width: 34ch; margin-inline: auto; }

/* --- home v2: facts ------------------------------------------------------ */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 1000px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .facts { grid-template-columns: 1fr; } }
.fact {
  background: var(--surface);
  padding: clamp(24px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fact__k {
  font-family: var(--display);
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  line-height: 1;
  color: var(--brand);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.fact__t { font-size: .96rem; line-height: 1.55; color: var(--ink-2); }

/* every number carries its source, and the source is a link to the study */
.src-link, .fact__s, .area__src, .wcard__s {
  font: .75rem/1.5 var(--mono);
  color: var(--muted-soft);
  text-decoration: none;
  letter-spacing: .005em;
}
.src-link:hover, .fact__s:hover, .area__src:hover, .wcard__s:hover { color: var(--brand); text-decoration: underline; }
.fact__s { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); }

/* --- home v2: the day strip ---------------------------------------------- */

.strip {
  --strip-bg: var(--surface);
  margin: 0;
  background: var(--strip-bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(18px, 3vw, 34px) clamp(16px, 3vw, 36px) 20px;
}
.strip__svg { width: 100%; height: auto; overflow: visible; }
.strip__svg--narrow { display: none; }
@media (max-width: 700px) {
  .strip__svg--wide { display: none; }
  .strip__svg--narrow { display: block; }
}
.strip__svg text { font-family: var(--sans); }
.strip .rowlabel { fill: var(--ink); font-size: 15px; font-weight: 600; }
.strip__svg--narrow .rowlabel { font-size: 14px; }
.strip .hour, .strip .minor { fill: var(--muted-soft); font-size: 12.5px; }
.strip .area { fill: var(--muted); font-size: 12.5px; font-weight: 500; }
.strip .inbar { fill: var(--ink-2); font-size: 13px; font-weight: 500; }
.strip .sit { fill: var(--sage-deep); }
.strip .gap { fill: var(--strip-bg); }
.strip .brk { fill: var(--brand); }
.strip .gym { fill: var(--copper); }
.strip .axis, .strip .tick { stroke: var(--line); stroke-width: 1.2; }
.strip__legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 16px 0 0;
  padding: 0;
  font: .8125rem/1.4 var(--sans);
  color: var(--muted);
}
.strip__legend li { display: inline-flex; align-items: center; gap: 8px; }
.strip__legend i { display: inline-block; width: 18px; height: 10px; border-radius: 3px; }
.strip__legend .k-sit { background: var(--sage-deep); }
.strip__legend .k-brk { background: var(--brand); width: 6px; height: 16px; }
.strip__legend .k-gym { background: var(--copper); }
.strip__pace { margin-top: 16px; font-size: .92rem; color: var(--muted); }

.evidence {
  list-style: none;
  margin: clamp(32px, 4vw, 46px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}
@media (max-width: 900px) { .evidence { grid-template-columns: 1fr; } }
.evidence li { border-top: 2px solid var(--brand); padding-top: 16px; display: grid; gap: 12px; align-content: start; }
.evidence p { color: var(--ink-2); font-size: .98rem; line-height: 1.6; }

.balance {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(16px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 3vw, 38px);
  border-radius: var(--r-lg);
  background: var(--sage);
}
@media (max-width: 800px) { .balance { grid-template-columns: 1fr; } }
.balance .serif-quote { margin: 0; }
.balance .small { color: var(--ink-2); }
.balance .src-link { display: inline-block; margin-top: 8px; }

/* --- home v2: the body map ----------------------------------------------- */

.bodymap {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.bodymap__fig { --bm-bg: var(--canvas); position: sticky; top: 96px; }
@media (max-width: 900px) {
  .bodymap { grid-template-columns: 1fr; }
  .bodymap__fig { position: static; max-width: 420px; width: 100%; margin-inline: auto; }
}
.bm { width: 100%; height: auto; }
.bm-floor { stroke: var(--line); stroke-width: 2; stroke-linecap: round; }
.bm-furn path { fill: none; stroke: var(--furn); stroke-width: 8; stroke-linecap: round; }
.bm-wheel { fill: var(--furn); }
.bm-screen path { fill: none; stroke: var(--brand); stroke-width: 6; stroke-linecap: round; }
.bm-gaze { fill: none; stroke: var(--sage-deep); stroke-width: 2; stroke-dasharray: 1 8; stroke-linecap: round; }
.bm-fig path { fill: none; stroke: var(--figure); stroke-linecap: round; stroke-linejoin: round; }
.bm-head { fill: var(--figure); }
.bm-fig .bm-torso { stroke-width: 30; }
.bm-fig .bm-thigh { stroke-width: 22; }
.bm-fig .bm-shin  { stroke-width: 18; }
.bm-fig .bm-foot  { stroke-width: 12; }
.bm-fig .bm-arm   { stroke-width: 14; }
.bm-fig .bm-arm-gap { stroke: var(--bm-bg); stroke-width: 22; }
.bm-spot { cursor: pointer; }
.bm-ring {
  fill: var(--copper);
  opacity: .16;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .25s ease, transform .25s cubic-bezier(.22,1,.36,1);
}
.bm-dot { fill: var(--copper); }
.bm-num { fill: #fff; font: 700 12px/1 var(--sans); }
:root[data-theme="dark"] .bm-num { fill: #2A1712; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bm-num { fill: #2A1712; } }
.bm-spot.is-active .bm-ring { opacity: .4; transform: scale(1.3); }

.areas { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.area {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.area.is-active { border-color: var(--copper); box-shadow: var(--shadow-sm); }
.area__n {
  width: 26px; height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--copper);
  color: #fff;
  font: 700 .75rem/26px var(--sans);
  text-align: center;
}
:root[data-theme="dark"] .area__n { color: #2A1712; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .area__n { color: #2A1712; } }
.area h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.area p { font-size: .92rem; line-height: 1.58; color: var(--muted); }
.area__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 10px; }
.area__moves {
  font: 500 .75rem/1 var(--sans);
  color: var(--brand);
  background: var(--sage);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
:root[data-theme="dark"] .area__moves { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .area__moves { color: var(--ink); } }

/* --- home v2: how it works ----------------------------------------------- */

.how {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }
.hsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(26px, 3.4vw, 40px); }
.hstep { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; }
.hstep__n {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--sage-deep);
  display: grid; place-items: center;
  font: 500 1rem/1 var(--display);
  color: var(--brand);
}
.hstep h3 { margin-bottom: 8px; }
.hstep p { color: var(--muted); font-size: 1rem; line-height: 1.62; max-width: 54ch; }
.how__shot { width: 100%; max-width: 340px; justify-self: center; }
.how--solo { grid-template-columns: minmax(0, 1fr); }
.how--solo .hsteps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
@media (max-width: 860px) { .how--solo .hsteps { grid-template-columns: 1fr; } }
.how--solo .hstep { grid-template-columns: 1fr; gap: 14px; }

.quiet {
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}
.quiet__title {
  font: 500 .75rem/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.quiet ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.quiet li { display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; color: var(--ink-2); }
.quiet li svg { color: var(--brand); flex: none; }

/* --- home v2: work quality ----------------------------------------------- */

.wcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 900px) { .wcards { grid-template-columns: 1fr; } }
.wcard {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: clamp(22px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wcard__k {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1;
  color: var(--copper);
  letter-spacing: -0.02em;
}
.wcard p { color: var(--ink-2); font-size: .96rem; line-height: 1.6; }
.wcard__s { margin-top: auto; }

/* --- home v2: the AI pause ----------------------------------------------- */

.ai-band__title em { font-style: italic; color: var(--brand); }
.ai-band__art { width: 100%; max-width: 460px; justify-self: center; }
.ai-art { width: 100%; height: auto; }
.ai-screen { fill: var(--surface); }
.ai-frame  { fill: none; stroke: var(--line); stroke-width: 1.5; }
.ai-bar    { fill: var(--surface-alt); }
.ai-me     { fill: var(--sage); }
.ai-bubble { fill: var(--surface-alt); stroke: var(--line); stroke-width: 1; }
.ai-dot    { fill: var(--muted-soft); animation: ai-think 1.4s ease-in-out infinite; }
.ai-dot:nth-of-type(2) { animation-delay: .2s; }
.ai-dot:nth-of-type(3) { animation-delay: .4s; }
@keyframes ai-think { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.ai-text   { fill: var(--muted-soft); font: 500 12px var(--sans); }
.ai-input  { fill: none; stroke: var(--line); stroke-width: 1.2; }
.ai-wave   { fill: var(--sage-deep); opacity: .6; }
.ai-ground { stroke: var(--line); stroke-width: 2; stroke-linecap: round; }
.ai-fig circle { fill: var(--figure); }
.ai-fig path { fill: none; stroke: var(--figure); stroke-linecap: round; stroke-linejoin: round; }
.ai-fig .ai-body { stroke-width: 16; }
.ai-fig .ai-limb { stroke-width: 10; }
.ai-motion { fill: none; stroke: var(--copper); stroke-width: 2; stroke-linecap: round; }

/* --- home v2: trust ------------------------------------------------------ */

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; font-size: .95rem; line-height: 1.58; color: var(--muted); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--sage-deep);
}
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--line-soft);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb figcaption {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  padding: 22px 9px 8px;
  background: linear-gradient(to top, rgba(22, 32, 30, .82), rgba(22, 32, 30, 0));
  color: #fff;
  font: 500 .72rem/1.25 var(--sans);
}
.privacy-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: clamp(20px, 2.4vw, 28px);
}
.privacy-card h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; }
.privacy-card ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 9px; }
.privacy-card li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.privacy-card li svg { width: 15px; height: 15px; margin-top: .22em; color: var(--green); }

/* --- science page: grouped claims ---------------------------------------- */

.refs__h {
  font: 600 .78rem/1.3 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 44px 0 14px;
  scroll-margin-top: 96px;
}
.refs li { scroll-margin-top: 96px; transition: background .4s ease; }
.refs li:target { background: var(--sage); }
.refmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 4px; }
.kind {
  font: 500 .7rem/1 var(--mono);
  letter-spacing: .03em;
  color: var(--brand);
  background: var(--sage);
  padding: 5px 9px;
  border-radius: 999px;
}
:root[data-theme="dark"] .kind { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kind { color: var(--ink); } }
.refmeta .link { font-size: .84rem; }

/* --- utilities ------------------------------------------------------------ */

.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: var(--on-brand);
  padding: 12px 18px;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 100;
  font-size: .9rem;
  text-decoration: none;
}
.skip:focus { left: 0; }

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

.mt-l { margin-top: clamp(30px, 4vw, 48px); }
.mt-m { margin-top: 24px; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.center .lede { margin-inline: auto; }
