/* KONO — base, primitives, components. Section blocks go below the sections marker, in page order. */

/* ---------- base ---------- */

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-body);
  color: var(--text-primary);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-heading);
  color: var(--text-primary);
}
h1 { font-size: var(--text-h1-fluid); line-height: var(--leading-tight); }
h2 { font-size: var(--text-h2-fluid); }
h3 { font-size: var(--text-h3-fluid); }
h4 { font-size: var(--text-h4); }
h5 { font-size: var(--text-h5); }
h6 { font-size: var(--text-title); }

p { margin: 0; }

/* The system has no 700, so the browser default would synthesize a faux bold. */
strong, b { font-weight: var(--weight-medium); }

img, svg { display: block; max-width: 100%; }

/* Custom elements default to inline, which collapses the box the reveal observer measures. */
kono-reveal, kono-mesh { display: block; }

/* Excluding .btn stops a:hover repainting a primary button label to 1.08:1 on its own fill. */
a:where(:not(.btn)) {
  color: var(--text-link);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  transition: color var(--duration-fast) var(--ease-standard);
}
a:where(:not(.btn)):hover {
  color: var(--text-link-hover);
  text-decoration-thickness: 2px;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (max-width: 600px) {
  .container { padding-inline: var(--gutter-sm); }
}

/* ---------- reveals ---------- */

/* Keyframes, not transitions: the hidden state is applied before JS runs. */

@keyframes reveal-rise { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
@keyframes reveal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes reveal-pop  { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes reveal-draw { from { stroke-dashoffset: var(--path-length, 400); } to { stroke-dashoffset: 0; } }

/* Scoped to the four primitives: as `:not(:defined) *` it also flattened the tilts sections set. */
kono-reveal:not(:defined) :is(.reveal--rise, .reveal--fade, .reveal--pop) { opacity: 1; transform: none; }
kono-reveal:not(:defined) .reveal--draw { stroke-dasharray: none; stroke-dashoffset: 0; }

/* 400 is the fallback for an unmeasurable path — if it is used, the path draws wrong in silence. */
kono-reveal:defined .reveal--rise { opacity: 0; transform: translate3d(0, 14px, 0); }
kono-reveal:defined .reveal--fade { opacity: 0; }
kono-reveal:defined .reveal--pop  { opacity: 0; transform: scale(0.94); }
kono-reveal:defined .reveal--draw { stroke-dasharray: var(--path-length, 400); stroke-dashoffset: var(--path-length, 400); }

/* A rule scoped `.is-in .thing` loses to those states: write `kono-reveal.is-in .thing` instead. */
.is-in .reveal--rise, .reveal--rise.is-in { animation: reveal-rise 520ms var(--ease-out) var(--stagger, 0ms) both; }
.is-in .reveal--fade, .reveal--fade.is-in { animation: reveal-fade 600ms var(--ease-out) var(--stagger, 0ms) both; }
.is-in .reveal--pop,  .reveal--pop.is-in  { animation: reveal-pop  420ms var(--ease-out) var(--stagger, 0ms) both; }
.is-in .reveal--draw, .reveal--draw.is-in { animation: reveal-draw 900ms var(--ease-out) var(--stagger, 0ms) both; }

@media (prefers-reduced-motion: reduce) {
  /* Matched at (0,2,1) and later, so these beat the hidden states. */
  kono-reveal:defined .reveal--rise,
  kono-reveal:defined .reveal--fade,
  kono-reveal:defined .reveal--pop {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
  kono-reveal:defined .reveal--draw {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    animation: none !important;
  }
}

/* ---------- mesh ---------- */

.mesh {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--kono-navy);
}
.mesh > * { position: relative; z-index: 1; }

/* Must stay after `.mesh > *`: same specificity, so source order is what puts the field behind. */
.mesh__field {
  position: absolute;
  inset: -30%;
  z-index: 0;
  pointer-events: none;
  filter: blur(90px) saturate(120%);
}
@media (max-width: 700px) {
  .mesh__field { filter: blur(60px) saturate(120%); }
}

.mesh__blob {
  position: absolute;
  border-radius: 50%;
}

.mesh__blob--green { background: radial-gradient(circle, color-mix(in oklab, var(--kono-green) 62%, transparent) 0%, transparent 68%); }
/* --aqua-200: there is no --aqua-300, and an invalid color-mix() voids the whole declaration. */
.mesh__blob--cyan  { background: radial-gradient(circle, color-mix(in oklab, var(--aqua-200) 70%, transparent) 0%, transparent 70%); }
.mesh__blob--aqua  { background: radial-gradient(circle, color-mix(in oklab, var(--aqua-500) 78%, transparent) 0%, transparent 72%); }
.mesh__blob--deep  { background: radial-gradient(circle, color-mix(in oklab, var(--aqua-800) 88%, transparent) 0%, transparent 74%); }

@keyframes mesh-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(var(--drift-x, 6%), var(--drift-y, -5%), 0) scale(var(--drift-scale, 1.14)); }
}
.mesh.is-live .mesh__blob {
  animation: mesh-drift var(--drift-duration, 38s) var(--ease-standard) var(--drift-delay, 0s) infinite alternate;
  will-change: transform;
}

.mesh--soft { background: var(--surface-page); }
.mesh--soft .mesh__field { opacity: 0.30; filter: blur(110px) saturate(105%); }
.mesh--soft .mesh__blob--green { display: none; }

.mesh__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--kono-navy) 66%, transparent) 0%,
    color-mix(in oklab, var(--kono-navy) 58%, transparent) 9%,
    color-mix(in oklab, var(--kono-navy) 44%, transparent) 22%,
    color-mix(in oklab, var(--kono-navy) 38%, transparent) 55%,
    color-mix(in oklab, var(--kono-navy) 46%, transparent) 100%);
}

@media (prefers-reduced-motion: reduce) {
  /* will-change has to go too, or four promoted layers stay on a mesh that is not moving. */
  .mesh.is-live .mesh__blob { animation: none !important; will-change: auto; }
}

/* ---------- nav ---------- */

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4) var(--space-8);
  padding: var(--space-5) 0;
}
.nav__brand { display: block; flex: 0 0 auto; line-height: 0; color: var(--text-primary); }
.nav__brand svg { width: 116px; height: auto; }
.nav__links { display: flex; align-items: center; gap: var(--space-6); margin-right: auto; }
.nav__actions { display: flex; align-items: center; gap: var(--space-4); }

.nav__link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--text-body-sm);
}
.nav__link:hover { color: var(--text-primary); text-decoration: none; }

@media (max-width: 780px) {
  .nav__links { display: none; }
  .nav__brand { margin-right: auto; }
}

@media (max-width: 780px), (pointer: coarse) {
  .nav__link { display: inline-flex; align-items: center; min-height: 44px; }
}

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

.hero { padding: var(--space-12) 0 var(--space-13); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: var(--space-11);
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.022em;
  margin: var(--space-5) 0;
  text-wrap: balance;
}
.hero__lead {
  font-size: var(--text-h5);
  line-height: var(--leading-relaxed);
  letter-spacing: var(--tracking-subhead);
  color: var(--text-secondary);
  max-width: 46ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-9); }
.hero__figure { margin: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.hero__image { width: 100%; height: auto; }

@media (max-width: 940px) {
  .hero { padding: var(--space-10) 0 var(--space-11); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-9); }
}

/* ---------- section shell ---------- */

.section { padding: var(--space-13) 0; position: relative; }
@media (max-width: 700px) {
  .section { padding: var(--space-11) 0; }
}

.section__head { max-width: 46ch; margin-bottom: var(--space-10); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 {
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: var(--leading-tight);
  margin: var(--space-3) 0 var(--space-4);
  text-wrap: balance;
}
.section__head p {
  font-size: var(--text-h5);
  line-height: var(--leading-relaxed);
  letter-spacing: var(--tracking-subhead);
  color: var(--text-secondary);
}

.section__folio {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-folio);
  text-transform: uppercase;
  color: var(--text-folio);
}
.section__folio::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

/* ---------- components ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 44px;
  padding: 0 var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-body);
  text-decoration: none;
  white-space: nowrap;
  border: var(--border-width) solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition:
    background-color var(--duration-fast) var(--ease-standard),
    border-color     var(--duration-fast) var(--ease-standard),
    color            var(--duration-fast) var(--ease-standard),
    transform        var(--duration-fast) var(--ease-standard);
}
.btn:active { transform: translateY(1px); }

.btn--sm { height: 36px; padding: 0 var(--space-4); font-size: var(--text-body-sm); }
.btn--lg { height: 52px; padding: 0 var(--space-7); font-size: var(--text-title); }

/* Must sit after .btn--sm or it loses on source order. 44px is the size a thumb hits reliably. */
@media (max-width: 780px), (pointer: coarse) {
  .btn--sm { height: 44px; }
}

.btn--primary {
  background: var(--interactive);
  border-color: var(--interactive);
  color: var(--text-on-interactive);
}
.btn--primary:hover { background: var(--interactive-hover); border-color: var(--interactive-hover); }
.btn--primary:active { background: var(--interactive-active); }

.btn--secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.btn--secondary:hover { background: var(--surface-brand-soft); border-color: var(--text-primary); }

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* nowrap: browsers break after U+2212, and a balance split across two lines is not a balance. */
.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
  white-space: nowrap;
}

/* ---------- sections ---------- */

/* ---------- glass, window ---------- */

.glass {
  border-radius: var(--radius-xl);
  background: color-mix(in oklab, var(--surface-card) 82%, transparent);
  border: var(--border-width) solid color-mix(in oklab, var(--text-primary) 12%, transparent);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px) saturate(130%);
  overflow: hidden;
}

.window {
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.window__bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: var(--border-width) solid var(--border-subtle);
}
.window__dots { display: flex; gap: 6px; }
.window__dots i { width: 9px; height: 9px; border-radius: var(--radius-pill); background: var(--border-control); }
.window__title { font-size: var(--text-micro); letter-spacing: var(--tracking-folio); text-transform: uppercase; color: var(--text-muted); }

/* ---------- figures ---------- */

/* <picture> is inline by default, which leaves a baseline gap under the block <img> inside it. */
.hero__figure picture,
.complexity__figure picture,
.four-steps__figure picture,
.final-cta__frame picture { display: block; }

/* ---------- band: complexity ---------- */

.complexity__open {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-3) var(--space-11);
  align-items: start;
  margin-bottom: var(--space-12);
}
.complexity__folio { grid-column: 1 / -1; grid-row: 1; }

.complexity__title {
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: var(--leading-tight);
  text-wrap: balance;
}
.complexity__copy { display: grid; gap: var(--space-5); }

.complexity__lead {
  font-size: var(--text-h5);
  line-height: var(--leading-relaxed);
  letter-spacing: var(--tracking-subhead);
  color: var(--text-primary);
  text-wrap: pretty;
}
.complexity__body {
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  text-wrap: pretty;
}

.complexity__figure {
  margin: var(--space-11) auto 0;
  max-width: 860px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.complexity__image { width: 100%; height: auto; }

.complexity__close {
  max-width: 640px;
  margin: var(--space-12) auto 0;
  text-align: center;
}
.complexity__turn {
  margin-top: var(--space-5);
  font-size: var(--text-h5);
  line-height: var(--leading-relaxed);
  letter-spacing: var(--tracking-subhead);
  color: var(--text-primary);
  text-wrap: pretty;
}
.complexity__actions { margin-top: var(--space-8); }

@media (max-width: 900px) {
  .complexity__open { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); margin-bottom: var(--space-10); }
}
@media (max-width: 600px) {
  .complexity__close { margin-top: var(--space-10); }
}

/* ---------- band: whole-picture ---------- */

.whole-picture__scrim {
  background: linear-gradient(176deg,
    color-mix(in oklab, var(--kono-navy) 24%, transparent) 0%,
    color-mix(in oklab, var(--kono-navy) 46%, transparent) 18%,
    color-mix(in oklab, var(--kono-navy) 70%, transparent) 44%,
    color-mix(in oklab, var(--kono-navy) 84%, transparent) 72%,
    color-mix(in oklab, var(--kono-navy) 90%, transparent) 100%);
}
@media (max-width: 900px) {
  .whole-picture__scrim {
    background: linear-gradient(180deg,
      color-mix(in oklab, var(--kono-navy) 44%, transparent) 0%,
      color-mix(in oklab, var(--kono-navy) 66%, transparent) 26%,
      color-mix(in oklab, var(--kono-navy) 84%, transparent) 60%,
      color-mix(in oklab, var(--kono-navy) 92%, transparent) 100%);
  }
}

.whole-picture__pillars {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-9) var(--space-11);
}
.whole-picture__pillar {
  position: relative;
  padding-top: var(--space-5);
  border-top: var(--border-width) solid var(--border-subtle);
}
/* On the hairline, not beside it. */
.whole-picture__pillar::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 28px;
  height: var(--border-width-strong);
  background: var(--kono-green);
}
.whole-picture__pillar dt {
  font-size: var(--text-h5);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-heading);
  color: var(--text-primary);
}
.whole-picture__pillar dd {
  margin: var(--space-3) 0 0;
  max-width: 46ch;
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}
.whole-picture__actions { margin-top: var(--space-10); }

@media (max-width: 760px) {
  .whole-picture__pillars { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
}

/* ---------- band: four-steps ---------- */

.four-steps { background: var(--surface-card); }

.four-steps__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: var(--space-11);
  align-items: stretch;
}
.four-steps__head { margin-bottom: var(--space-9); }

.four-steps__figure {
  margin: 0;
  max-width: 620px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: var(--border-width) solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  background: var(--surface-card);
}
.four-steps__image { width: 100%; height: auto; }

.four-steps__right { display: flex; flex-direction: column; justify-content: center; }

.four-steps__list { list-style: none; margin: 0; padding: 0; }
.four-steps__step { position: relative; padding: 0 0 var(--space-8) var(--space-9); }
.four-steps__step:last-child { padding-bottom: 0; }

.four-steps__step::before {
  content: '';
  position: absolute;
  left: 16px; top: 40px; bottom: 0;
  width: 1px;
  background: var(--border-default);
  transform: scaleY(0);
  transform-origin: top;
}
.four-steps__step:last-child::before { display: none; }

@keyframes four-steps-rail { from { transform: scaleY(0); } to { transform: none; } }
.is-in .four-steps__step::before { animation: four-steps-rail 900ms var(--ease-out) var(--stagger, 0ms) both; }
@media (prefers-reduced-motion: reduce) {
  .four-steps__step::before,
  .is-in .four-steps__step::before { transform: none !important; animation: none !important; }
}

.four-steps__number {
  position: absolute;
  left: 0; top: 0;
  width: 33px; height: 33px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--text-primary);
  color: var(--surface-card);
  font-size: var(--text-body-sm);
  line-height: 1;
}
.four-steps__name { font-size: var(--text-h4); margin-bottom: var(--space-2); }
.four-steps__description {
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  max-width: 42ch;
}
.four-steps__note {
  margin-top: var(--space-7);
  padding: var(--space-6) 0 0 var(--space-9);
  border-top: var(--border-width) solid var(--border-subtle);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

@media (max-width: 980px) {
  .four-steps__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-9); }
}
@media (max-width: 560px) {
  .four-steps__step { padding-left: var(--space-8); }
  .four-steps__step::before { left: 13px; top: 34px; }
  .four-steps__number { width: 27px; height: 27px; font-size: var(--text-caption); }
  .four-steps__note { padding-left: var(--space-8); }
}

/* ---------- band: more-than-accounts ---------- */

.more-than-accounts {
  background: var(--surface-card);
  --connector-gap: var(--space-11);
  --connector-ink: var(--border-strong);
  --connector-live: var(--aqua-800);
}

/* Explicit, so the DOM stays in reading order: auto-placement put the folio under the button. */
.more-than-accounts__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: var(--space-8) var(--space-10);
  align-items: start;
  margin-bottom: var(--space-12);
}
.more-than-accounts__folio {
  grid-column: 1; grid-row: 1;
  align-self: end;
  margin-bottom: calc(12px - var(--space-8));
}
.more-than-accounts__title {
  grid-column: 1; grid-row: 2;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: var(--leading-tight);
  text-wrap: balance;
}
.more-than-accounts__lede { grid-column: 2; grid-row: 1 / span 3; max-width: 54ch; }
.more-than-accounts__actions { grid-column: 1; grid-row: 3; align-self: start; }

.more-than-accounts__paragraph {
  margin-bottom: var(--space-5);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}
.more-than-accounts__paragraph--lead { font-size: var(--text-h5); letter-spacing: var(--tracking-subhead); }
.more-than-accounts__paragraph--time { color: var(--text-primary); }

@media (max-width: 900px) {
  /* The explicit placement has to be undone, or the button lands in a phantom second column. */
  .more-than-accounts__top {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    gap: var(--space-6);
    margin-bottom: var(--space-10);
  }
  .more-than-accounts__title,
  .more-than-accounts__lede,
  .more-than-accounts__actions { grid-column: auto; grid-row: auto; }
  .more-than-accounts__folio { margin-bottom: calc(12px - var(--space-6)); }
  .more-than-accounts__lede { max-width: 62ch; }
  .more-than-accounts__actions { margin-top: var(--space-2); }
}

.more-than-accounts__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px) minmax(0, 1fr);
  column-gap: var(--connector-gap);
  align-items: center;
}
.more-than-accounts__rail { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.more-than-accounts__node {
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-1) var(--space-3);
  padding: var(--space-4);
  background: var(--surface-page);
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-md);
}
.more-than-accounts__icon { display: block; color: var(--aqua-800); line-height: 0; }
.more-than-accounts__text { min-width: 0; }
.more-than-accounts__text b,
.more-than-accounts__text em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.more-than-accounts__text b { font-size: var(--text-body-sm); line-height: var(--leading-snug); letter-spacing: var(--tracking-heading); }
.more-than-accounts__text em { font-style: normal; font-size: var(--text-caption); color: var(--text-muted); margin-top: 2px; }
.more-than-accounts__value { font-size: var(--text-body-sm); justify-self: end; text-align: right; }

.more-than-accounts__kind {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 var(--space-3);
  border: var(--border-width) solid var(--border-control);
  border-radius: var(--radius-pill);
  font-size: var(--text-caption);
  color: var(--text-secondary);
  white-space: nowrap;
}

.more-than-accounts__node--goal { grid-template-columns: 20px minmax(0, 1fr); }
.more-than-accounts__goal {
  grid-column: 2;
  justify-self: stretch;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-1);
}
.more-than-accounts__goal-track {
  display: block;
  height: 5px;
  border-radius: var(--radius-pill);
  background: var(--neutral-300);
  overflow: hidden;
}
.more-than-accounts__goal-fill {
  display: block;
  height: 100%;
  width: 54%;                    /* 64,800 of 120,000 */
  border-radius: var(--radius-pill);
  background: var(--aqua-800);
}
.more-than-accounts__goal-figure { font-size: var(--text-caption); color: var(--text-secondary); }

/* The viewBox is 100x14 in a box 14px tall, so the Y scale is 1 and the stroke cannot distort. */
.more-than-accounts__wire {
  position: absolute;
  top: 50%;
  left: 100%;
  width: var(--connector-gap);
  height: 14px;
  margin-top: -7px;
  pointer-events: none;
}
.more-than-accounts__wire svg { width: 100%; height: 100%; overflow: visible; }
.more-than-accounts__wire-line { fill: none; stroke: var(--connector-ink); stroke-width: 2; stroke-linecap: round; }

.more-than-accounts__wire::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1px;
  margin-top: -5px;
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--connector-live);
}

@keyframes more-than-accounts-feed {
  0%   { transform: translateX(0); opacity: 0; }
  14%  { opacity: 1; }
  86%  { opacity: 1; }
  100% { transform: translateX(calc(var(--connector-gap) - 9px)); opacity: 0; }
}
.more-than-accounts__wire--connected::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -3px;
  width: 6px; height: 6px;
  border-radius: var(--radius-pill);
  background: var(--connector-live);
  animation: more-than-accounts-feed 4.6s linear infinite;
  animation-delay: var(--feed-delay, 0s);
}

.more-than-accounts__rail--added .more-than-accounts__wire { left: auto; right: 100%; }
.more-than-accounts__rail--added .more-than-accounts__wire::after {
  right: auto; left: -1px;
  border-left: 0;
  border-right: 7px solid var(--connector-live);
}

.more-than-accounts__core { align-self: center; }
.more-than-accounts__window-body { padding: var(--space-6); }
.more-than-accounts__label { font-size: var(--text-micro); letter-spacing: var(--tracking-folio); text-transform: uppercase; color: var(--text-muted); }
.more-than-accounts__amount {
  margin-top: var(--space-2);
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-heading);
  line-height: 1;
}

.more-than-accounts__tiles {
  list-style: none;
  margin: var(--space-6) 0 0;
  padding: var(--space-6) 0 0;
  border-top: var(--border-width) solid var(--border-subtle);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-2);
}
.more-than-accounts__tile {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--surface-page);
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--aqua-800);
}

.more-than-accounts__stem { display: none; }

@media (min-width: 900px) and (max-width: 1099px) {
  .more-than-accounts { --connector-gap: var(--space-8); }
  .more-than-accounts__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 280px) minmax(0, 1fr); }
  .more-than-accounts__window-body { padding: var(--space-5); }
  .more-than-accounts__node { padding: var(--space-3) var(--space-4); }
}

@keyframes more-than-accounts-stem-feed {
  0%   { transform: translateY(0); opacity: 0; }
  14%  { opacity: 1; }
  86%  { opacity: 1; }
  100% { transform: translateY(38px); opacity: 0; }
}
@media (max-width: 899px) {
  .more-than-accounts__stage {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
    max-width: 520px;
    margin-inline: auto;
  }
  .more-than-accounts__wire { display: none; }

  .more-than-accounts__stem {
    display: block;
    position: relative;
    width: 24px;
    height: 56px;
    margin: var(--space-4) auto;
  }
  .more-than-accounts__stem svg { width: 24px; height: 56px; overflow: visible; }
  .more-than-accounts__stem-line { fill: none; stroke: var(--connector-ink); stroke-width: 2; stroke-linecap: round; }
  .more-than-accounts__stem-tip { fill: none; stroke: var(--connector-live); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
  .more-than-accounts__stem--connected::before {
    content: '';
    position: absolute;
    left: 50%; top: 0;
    margin-left: -3px;
    width: 6px; height: 6px;
    border-radius: var(--radius-pill);
    background: var(--connector-live);
    animation: more-than-accounts-stem-feed 4.6s linear infinite;
  }
}

@media (max-width: 600px) {
  .more-than-accounts__node { padding: var(--space-3) var(--space-4); }
  .more-than-accounts__tiles { gap: 6px; padding-top: var(--space-5); margin-top: var(--space-5); }
  .more-than-accounts__tile .icon { width: 17px; height: 17px; }
}

/* (0,2,1) so it cannot lose. The arrowheads are drawn, so direction survives without the dot. */
@media (prefers-reduced-motion: reduce) {
  .more-than-accounts .more-than-accounts__wire--connected::before,
  .more-than-accounts .more-than-accounts__stem--connected::before {
    animation: none !important;
    opacity: 0;
  }
}

/* ---------- band: collaborate ---------- */

.collaborate .section__head { max-width: 56ch; }

.collaborate__scrim {
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--kono-navy) 26%, transparent) 0%,
    color-mix(in oklab, var(--kono-navy) 48%, transparent) 20%,
    color-mix(in oklab, var(--kono-navy) 72%, transparent) 46%,
    color-mix(in oklab, var(--kono-navy) 86%, transparent) 74%,
    color-mix(in oklab, var(--kono-navy) 92%, transparent) 100%);
}
@media (max-width: 900px) {
  .collaborate__scrim {
    background: linear-gradient(180deg,
      color-mix(in oklab, var(--kono-navy) 44%, transparent) 0%,
      color-mix(in oklab, var(--kono-navy) 64%, transparent) 26%,
      color-mix(in oklab, var(--kono-navy) 84%, transparent) 62%,
      color-mix(in oklab, var(--kono-navy) 92%, transparent) 100%);
  }
}

.collaborate__figure { margin: 0; padding: var(--space-8); }
.collaborate__diagram {
  width: 100%;
  height: auto;
  font-family: var(--font-sans);
  letter-spacing: var(--tracking-body);
}
/* Two builds: <text> scales with the viewBox, so one drawing sets 6px labels on a phone. */
.collaborate__diagram--tall { display: none; max-width: 26rem; margin-inline: auto; }
@media (max-width: 900px) {
  .collaborate__diagram--wide { display: none; }
  .collaborate__diagram--tall { display: block; }
  .collaborate__figure { padding: var(--space-6); }
}
@media (max-width: 600px) {
  .collaborate__figure { padding: var(--space-5); }
}

/* Without this, .reveal--pop resolves its scale against the user-space origin, not the card. */
.collaborate__card,
.collaborate__owner { transform-box: fill-box; transform-origin: 50% 50%; }

.collaborate__owner-tile {
  fill: color-mix(in oklab, var(--navy-950) 78%, transparent);
  stroke: color-mix(in oklab, var(--kono-green) 62%, transparent);
  stroke-width: 1.5;
}
.collaborate__owner-mark { fill: var(--kono-green); stroke: none; }
.collaborate__owner-label {
  fill: var(--text-primary);
  font-size: 17px;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-heading);
}
/* A stroke rather than a filled bar, so .reveal--draw works on it. */
.collaborate__owner-link { fill: none; stroke: var(--kono-green); stroke-width: 10; stroke-linecap: butt; }

.collaborate__card-halo { fill: none; stroke: color-mix(in oklab, var(--kono-green) 14%, transparent); stroke-width: 1; }
.collaborate__card-face {
  fill: color-mix(in oklab, var(--navy-950) 78%, transparent);
  stroke: color-mix(in oklab, var(--kono-green) 52%, transparent);
  stroke-width: 1.5;
}
/* The symbol paints with currentColor. */
.collaborate__mark { color: var(--kono-green); }
.collaborate__card-rule { fill: none; stroke: var(--border-subtle); stroke-width: 1; }
.collaborate__card-label { fill: var(--text-secondary); font-size: 15px; letter-spacing: var(--tracking-folio); text-transform: uppercase; }
.collaborate__card-figure {
  fill: var(--text-primary);
  font-size: 32px;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-heading);
  font-variant-numeric: tabular-nums;
}

.collaborate__gate { fill: var(--kono-green); stroke: var(--navy-950); stroke-width: 2.5; }

.collaborate__wire { fill: none; stroke: var(--viz-1); stroke-width: 2.5; stroke-linecap: round; }

.collaborate__ring { fill: color-mix(in oklab, var(--navy-950) 76%, transparent); stroke: var(--border-subtle); stroke-width: 1; }
/* Cyan, not green: these people are not Kono, and this step is 11.1:1 on navy. */
.collaborate__glyph { fill: none; stroke: var(--aqua-200); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.collaborate__label { fill: var(--text-primary); font-size: 17px; letter-spacing: var(--tracking-heading); }

.collaborate__gauge-track { fill: none; stroke: var(--border-control); stroke-width: 3; }
.collaborate__gauge { fill: none; stroke: var(--kono-green); stroke-width: 3.5; stroke-linecap: round; }

.collaborate__diagram--tall .collaborate__owner-label { font-size: 15px; }
.collaborate__diagram--tall .collaborate__owner-link { stroke-width: 9; }
.collaborate__diagram--tall .collaborate__card-figure { font-size: 26px; }
.collaborate__diagram--tall .collaborate__card-label { font-size: 13px; }
.collaborate__diagram--tall .collaborate__label { font-size: 15px; }
.collaborate__diagram--tall .collaborate__glyph { stroke-width: 2.6; }

.collaborate__caption {
  margin: var(--space-7) auto 0;
  padding-top: var(--space-7);
  border-top: var(--border-width) solid var(--border-subtle);
  max-width: 54ch;
  text-align: center;
  font-size: var(--text-h5);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-subhead);
  text-wrap: pretty;
}
.collaborate__actions { margin-top: var(--space-10); display: flex; justify-content: center; }

/* ---------- band: security ---------- */

.security { background: var(--surface-page); }
.security .section__head { max-width: 54ch; }
.security__body { margin-bottom: var(--space-4); text-wrap: pretty; }
.security__actions { margin-top: var(--space-8); }

.security__flow {
  max-width: 1020px;
  margin-inline: auto;
  padding: var(--space-9) var(--space-8) var(--space-8);
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.security__diagram { width: 100%; height: auto; overflow: visible; }
.security__diagram--tall { display: none; }
@media (max-width: 899px) {
  .security__diagram--wide { display: none; }
  .security__diagram--tall { display: block; max-width: 420px; margin-inline: auto; }
  .security__flow { padding: var(--space-7) var(--space-5) var(--space-6); }
  .security .section__head { margin-bottom: var(--space-9); }
}

/* Unlabelled: every word the reference diagram puts here is unapproved copy. */
.security__chip { fill: var(--surface-page); stroke: var(--border-strong); stroke-width: 1.5; }
.security__chip-icon { fill: none; stroke: var(--aqua-800); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }

.security__wire { fill: none; stroke: var(--border-strong); stroke-width: 2; stroke-linecap: round; }
@keyframes security-packet { from { stroke-dashoffset: 30; } to { stroke-dashoffset: 0; } }
.security__packet {
  fill: none;
  stroke: var(--aqua-800);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 4 26;
  animation: security-packet 4.6s linear infinite;
  animation-delay: var(--flow-delay, 0s);
}
.security__arrow { fill: none; stroke: var(--aqua-800); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.security__port { fill: var(--aqua-800); }

.security__boundary { fill: none; stroke: var(--aqua-800); stroke-width: 2; stroke-linecap: round; }
.security__core { fill: var(--kono-navy); }
.security__core-mark { color: var(--kono-green); }
.security__disc { fill: var(--kono-navy); }
.security__disc-icon { fill: none; stroke: var(--kono-green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.security__hairline { fill: none; stroke: var(--aqua-800); stroke-width: 2; stroke-linecap: round; }
/* Must match the card exactly: it breaks the boundary line behind the lock. */
.security__lock-plate { fill: var(--surface-card); }
.security__lock { fill: none; stroke: var(--aqua-800); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }

.security__stub { fill: none; stroke: var(--neutral-600); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; }
.security__block { fill: var(--surface-card); stroke: var(--neutral-600); stroke-width: 1.5; }
.security__block-icon { fill: none; stroke: var(--neutral-600); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.security__block-slash { fill: none; stroke: var(--kono-navy); stroke-width: 2.5; stroke-linecap: round; }

/* display, not opacity, so this cannot race the shared .reveal--fade rule. */
@media (prefers-reduced-motion: reduce) {
  .security .security__packet { animation: none !important; display: none; }
}

/* ---------- band: pricing ---------- */

.pricing .section__head { max-width: 64ch; }
.pricing .section__head p { max-width: 46ch; margin-inline: auto; text-wrap: balance; }

.pricing .section__head { margin-bottom: var(--space-7); }

.pricing__radio { position: absolute; opacity: 0; width: 0; height: 0; }

.pricing__billing {
  display: flex;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto var(--space-9);
  padding: 4px;
  background: var(--kono-navy);
  border: var(--border-width) solid var(--border-control);
  border-radius: var(--radius-pill);
}
.pricing__billing label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0 var(--space-5);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: color-mix(in oklab, var(--kono-white) 86%, transparent);
  transition:
    background-color var(--duration-fast) var(--ease-standard),
    color            var(--duration-fast) var(--ease-standard);
}
.pricing__billing label:hover { background: color-mix(in oklab, var(--kono-white) 10%, transparent); }

.pricing__save {
  padding: 3px var(--space-2);
  border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--kono-white) 16%, transparent);
  font-size: var(--text-micro);
  letter-spacing: var(--tracking-folio);
  text-transform: uppercase;
  white-space: nowrap;
}

#pricing-monthly:checked ~ .pricing__billing label[for="pricing-monthly"],
#pricing-annual:checked  ~ .pricing__billing label[for="pricing-annual"] {
  background: var(--interactive);
  color: var(--text-on-interactive);
}
/* The radio itself is 0x0, so focus has to show on the label it drives. */
#pricing-monthly:focus-visible ~ .pricing__billing label[for="pricing-monthly"],
#pricing-annual:focus-visible  ~ .pricing__billing label[for="pricing-annual"] { box-shadow: var(--focus-ring); }

/* One plan now, so the grid is a single centred column. */
.pricing__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-7);
  max-width: 520px;
  margin-inline: auto;
}

.pricing__plan {
  display: flex;
  flex-direction: column;
  padding: var(--space-8) var(--space-7);
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.pricing__plan h3 { font-size: var(--text-h5); }

.pricing__lead { margin: var(--space-5) 0 var(--space-6); }
.pricing__price { display: none; }
#pricing-monthly:checked ~ .pricing__grid .pricing__price--monthly,
#pricing-annual:checked  ~ .pricing__grid .pricing__price--annual { display: block; }

.pricing__price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-2); }
.pricing__amount {
  font-size: clamp(40px, 5.2vw, 56px);
  font-weight: var(--weight-medium);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pricing__period { font-size: var(--text-body); color: var(--text-muted); }
.pricing__terms { margin-top: var(--space-3); font-size: var(--text-body-sm); color: var(--text-muted); }

.pricing__included {
  list-style: none;
  margin: 0;
  padding: var(--space-6) 0 0;
  border-top: var(--border-width) solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.pricing__included li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-body-sm);
  line-height: var(--leading-normal);
  color: var(--text-secondary);
}
.pricing__included .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--green-800);
}

.pricing__action { display: flex; width: 100%; margin-top: var(--space-7); }

@media (max-width: 420px) {
  .pricing__plan { padding: var(--space-7) var(--space-5); }
  .pricing__billing label { padding: 0 var(--space-4); }
}

/* ---------- band: final-cta ---------- */

.final-cta { padding-top: var(--space-12); }

.final-cta__scrim {
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--kono-navy) 30%, transparent) 0%,
    color-mix(in oklab, var(--kono-navy) 58%, transparent) 14%,
    color-mix(in oklab, var(--kono-navy) 80%, transparent) 34%,
    color-mix(in oklab, var(--kono-navy) 90%, transparent) 62%,
    color-mix(in oklab, var(--kono-navy) 94%, transparent) 100%);
}

.final-cta__cta {
  max-width: 62ch;
  margin-inline: auto;
  padding: var(--space-8) 0 var(--space-12);
  text-align: center;
}
.final-cta__horizon { width: min(720px, 72vw); height: auto; margin: 0 auto var(--space-7); overflow: visible; }
.final-cta__horizon-line { fill: none; stroke: url(#final-cta-horizon-sweep); stroke-width: 2; stroke-linecap: round; }
.final-cta__horizon-stop--start { stop-color: var(--aqua-200);   stop-opacity: 0.10; }
.final-cta__horizon-stop--mid   { stop-color: var(--kono-green); stop-opacity: 0.46; }
.final-cta__horizon-stop--end   { stop-color: var(--kono-green); stop-opacity: 0.92; }
.final-cta__horizon-dot {
  fill: var(--kono-green);
  filter: drop-shadow(0 0 10px color-mix(in oklab, var(--kono-green) 62%, transparent));
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

.final-cta__cta h2 {
  margin-bottom: var(--space-5);
  font-size: clamp(34px, 5.4vw, 66px);
  line-height: 1;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.final-cta__lead {
  margin-inline: auto;
  max-width: 52ch;
  font-size: var(--text-h5);
  line-height: var(--leading-relaxed);
  letter-spacing: var(--tracking-subhead);
  color: var(--text-secondary);
  text-wrap: pretty;
}
.final-cta__actions { display: flex; justify-content: center; margin-top: var(--space-9); }
.final-cta__actions .btn--primary {
  box-shadow: 0 20px 52px -20px color-mix(in oklab, var(--kono-green) 76%, transparent);
}

.final-cta__figure { margin: 0 auto var(--space-12); max-width: 940px; }
.final-cta__frame { position: relative; width: 100%; aspect-ratio: 3 / 2; }
.final-cta__frame picture { width: 100%; height: 100%; }
.final-cta__image { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* No column headings: "Product" and "Legal" are words the approved copy does not contain. */
.final-cta__footer {
  container-type: inline-size;
  padding: var(--space-11) 0 var(--space-7);
  border-top: var(--border-width) solid var(--border-subtle);
}
.final-cta__footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-9) var(--space-8);
  align-items: start;
}
.final-cta__footer-brand svg { width: 132px; height: auto; color: var(--text-primary); }
.final-cta__footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.final-cta__footer-list a { font-size: var(--text-body-sm); color: var(--text-secondary); text-decoration: none; }
.final-cta__footer-list a:hover { color: var(--text-primary); text-decoration: underline; text-underline-offset: 0.18em; }

.final-cta__footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-10);
  padding-top: var(--space-5);
  border-top: var(--border-width) solid var(--border-subtle);
  font-size: var(--text-caption);
  color: var(--text-secondary);
}

@container (max-width: 640px) {
  .final-cta__footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8); }
  .final-cta__footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .final-cta__horizon { display: none; }
  .final-cta { padding-top: var(--space-10); }
  .final-cta__cta { padding: var(--space-6) 0 var(--space-10); }
  .final-cta__figure { margin-bottom: var(--space-10); }
}

/* ---------- 404 ---------- */

.not-found__scrim {
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--kono-navy) 66%, transparent) 0%,
    color-mix(in oklab, var(--kono-navy) 58%, transparent) 9%,
    color-mix(in oklab, var(--kono-navy) 44%, transparent) 24%,
    color-mix(in oklab, var(--kono-navy) 48%, transparent) 55%,
    color-mix(in oklab, var(--kono-navy) 64%, transparent) 78%,
    color-mix(in oklab, var(--kono-navy) 70%, transparent) 100%);
}

.not-found { max-width: 46ch; margin: var(--space-11) auto; text-align: center; }
.not-found p {
  margin-top: var(--space-5);
  font-size: var(--text-h5);
  line-height: var(--leading-relaxed);
  letter-spacing: var(--tracking-subhead);
  color: var(--text-secondary);
}
.not-found .btn { margin-top: var(--space-8); }

/* ---------- legal ---------- */

/* No mesh behind the body: a drifting gradient under thousands of words is a contrast hazard. */

.legal__masthead { padding-bottom: var(--space-12); }

.legal__scrim {
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--kono-navy) 70%, transparent) 0%,
    color-mix(in oklab, var(--kono-navy) 62%, transparent) 12%,
    color-mix(in oklab, var(--kono-navy) 52%, transparent) 40%,
    color-mix(in oklab, var(--kono-navy) 62%, transparent) 100%);
}

.legal__intro { max-width: 34ch; padding-top: var(--space-10); }
.legal__masthead h1 { text-wrap: balance; }

.legal__effective {
  display: inline-block;
  margin-top: var(--space-6);
  padding: var(--space-2) var(--space-5);
  border: var(--border-width) solid var(--border-control);
  border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--kono-navy) 62%, transparent);
  font-size: var(--text-title);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
}

.legal { padding: var(--space-12) 0 var(--space-13); }

.legal__layout {
    display: grid;
  gap: var(--space-10);
}

/* margin-inline matters on state-rights, which has no index and so is one centred column. */
.legal__body { max-width: var(--container-text); margin-inline: auto; line-height: var(--leading-relaxed); }

.legal__body h2 {
  margin: var(--space-11) 0 var(--space-4);
  padding-top: var(--space-6);
  border-top: var(--border-width) solid var(--border-default);
  font-size: var(--text-h4);
  scroll-margin-top: var(--space-8);
}
.legal__body h3 {
  margin: var(--space-8) 0 var(--space-3);
  font-size: var(--text-h5);
  scroll-margin-top: var(--space-8);
}
.legal__body > :first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__body > :last-child { margin-bottom: 0; }

.legal__body p { margin-bottom: var(--space-5); text-wrap: pretty; }
.legal__body ul, .legal__body ol { margin: 0 0 var(--space-6); padding-left: var(--space-6); }
.legal__body li { margin-bottom: var(--space-3); }
.legal__body li::marker { color: var(--text-muted); }

/* ---------- whats-new ---------- */

/* The post's date sits under its h2, which legal__body spaces for a heading run. */
.legal__body .whats-new__date {
  margin: calc(var(--space-3) * -1) 0 var(--space-6);
  font-size: var(--text-body-sm);
  color: var(--text-muted);
}

/* --tracking-body is negative, which smears the caps these disclaimers are set in. */
.legal__caps { letter-spacing: var(--tracking-folio); }

.legal__toc {
  padding: var(--space-6);
  border: var(--border-width) solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
}
.legal__toc h2 {
  margin-bottom: var(--space-4);
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-folio);
  text-transform: uppercase;
  color: var(--text-folio);
}
.legal__toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.legal__toc ol ol {
  margin: var(--space-2) 0 var(--space-2) var(--space-2);
  padding-left: var(--space-4);
  border-left: var(--border-width) solid var(--border-default);
}
.legal__toc a {
  font-size: var(--text-body-sm);
  line-height: var(--leading-snug);
  color: var(--text-secondary);
  text-decoration: none;
}
.legal__toc a:hover { color: var(--text-primary); text-decoration: underline; text-underline-offset: 0.18em; }

/* Only where there is an index: without the modifier the lone article lands in the 260px track. */
@media (min-width: 1040px) {
  .legal__layout--indexed {
    grid-template-columns: 260px minmax(0, var(--container-text));
    justify-content: center;
    gap: var(--space-11);
  }
  .legal__toc {
    position: sticky;
    top: var(--space-8);
    align-self: start;
    max-height: calc(100vh - var(--space-12));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (max-width: 700px) {
  .legal__masthead { padding-bottom: var(--space-10); }
  .legal__intro { padding-top: var(--space-8); }
  .legal { padding: var(--space-10) 0 var(--space-11); }
}

.legal__foot-scrim,
.help__foot-scrim {
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--kono-navy) 82%, transparent) 0%,
    color-mix(in oklab, var(--kono-navy) 88%, transparent) 40%,
    color-mix(in oklab, var(--kono-navy) 94%, transparent) 100%);
}
.legal__foot .final-cta__footer,
.help__foot .final-cta__footer { padding-top: var(--space-10); border-top: 0; }

/* ---------- help ---------- */

.help__masthead { padding-bottom: calc(var(--space-12) + var(--space-9)); }

.help__scrim {
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--kono-navy) 72%, transparent) 0%,
    color-mix(in oklab, var(--kono-navy) 64%, transparent) 12%,
    color-mix(in oklab, var(--kono-navy) 56%, transparent) 40%,
    color-mix(in oklab, var(--kono-navy) 64%, transparent) 100%);
}

.help__intro { max-width: 46ch; padding-top: var(--space-10); }
.help__masthead h1 { max-width: 22ch; text-wrap: balance; }
.help__lead {
  margin-top: var(--space-5);
  font-size: var(--text-h5);
  line-height: var(--leading-relaxed);
  letter-spacing: var(--tracking-subhead);
  color: var(--text-secondary);
}

.help__support {
  position: relative;
  margin-top: calc(var(--space-11) * -1);
  padding-bottom: var(--space-10);
}
.help__cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
}
.help__cards li { display: flex; }

.help__card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  /* Right side wider than the rest: the cue sits in that margin. */
  padding: var(--space-6) var(--space-10) var(--space-6) var(--space-6);
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
  text-decoration: none;
  transition:
    border-color var(--duration-fast) var(--ease-standard),
    transform    var(--duration-fast) var(--ease-standard);
}
/* The colour is restated because `a:hover` in the base rules is (0,1,1) and beats this. */
.help__card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  color: var(--text-primary);
  text-decoration: none;
}

.help__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--surface-brand-soft);
  color: var(--text-folio);
}
.help__card-icon .icon { width: 22px; height: 22px; }

.help__card-title { font-size: var(--text-h5); }
.help__card-note {
  font-size: var(--text-body-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

.help__card-cue {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  display: flex;
  color: var(--text-muted);
  transition: transform var(--duration-fast) var(--ease-standard);
}
.help__card:hover .help__card-cue { transform: translateX(3px); }

.faq {
  background: var(--surface-card);
  padding-top: var(--space-11);
}

.faq__column { max-width: var(--container-text); margin-inline: auto; }

.faq .section__head { max-width: none; margin-bottom: var(--space-9); }
.faq .section__head h2 { font-size: var(--text-h2-fluid); }
.faq .section__head p { max-width: 52ch; }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  interpolate-size: allow-keywords;   /* lets the answer animate to auto */
}

.faq__list details {
  background: var(--surface-page);
  border: var(--border-width) solid transparent;
  border-radius: var(--radius-lg);
  transition:
    background-color var(--duration-fast) var(--ease-standard),
    border-color     var(--duration-fast) var(--ease-standard),
    box-shadow       var(--duration-fast) var(--ease-standard);
}
.faq__list details:hover { background: var(--surface-brand-soft); }
.faq__list details[open] {
  background: var(--surface-card);
  border-color: var(--border-subtle);
  box-shadow: inset 3px 0 0 0 var(--text-folio), var(--shadow-md);
}

.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  list-style: none;
  font-size: var(--text-title);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-heading);
  color: var(--text-primary);
}
/* The UA triangle goes in all three engines, not one. */
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::marker { content: ''; }
/* The radius matches the box, or the ring reshapes a rounded control into a square one. */
.faq__list summary:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-lg); }

.faq__mark {
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  border: var(--border-width) solid var(--border-default);
  background: var(--surface-card);
  transition:
    border-color     var(--duration-fast) var(--ease-standard),
    background-color var(--duration-fast) var(--ease-standard);
}
.faq__mark::before,
.faq__mark::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 1px;
  background: var(--text-secondary);
  transition:
    transform        320ms var(--ease-out),
    background-color var(--duration-fast) var(--ease-standard);
}
.faq__mark::after { transform: rotate(90deg); }
.faq__list details[open] .faq__mark::after { transform: rotate(180deg); }
.faq__list details[open] .faq__mark {
  border-color: var(--text-folio);
  background: var(--surface-brand-soft);
}
.faq__list details[open] .faq__mark::before,
.faq__list details[open] .faq__mark::after { background: var(--text-folio); }

.faq__answer { padding: 0 var(--space-6) var(--space-6); }
.faq__answer p {
  margin: 0;
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}
/* Room under the descenders: at 0.18em the rule runs through support@joinkono.com. */
.faq__answer a { text-underline-offset: 0.22em; }

/* Gated on the pseudo-element, or a browser without it is left with the panel collapsed. */
@supports selector(::details-content) {
  .faq__list details::details-content {
    block-size: 0;
    overflow: hidden;
    transition:
      block-size 300ms var(--ease-out),
      content-visibility 300ms var(--ease-out) allow-discrete;
  }
  .faq__list details[open]::details-content { block-size: auto; }
}

@media (max-width: 700px) {
  .help__masthead { padding-bottom: var(--space-11); }
  .help__intro { padding-top: var(--space-8); }
  .help__support { margin-top: calc(var(--space-8) * -1); padding-bottom: var(--space-10); }
}
@media (max-width: 560px) {
  .faq__list summary { font-size: var(--text-body); padding: var(--space-4) var(--space-5); gap: var(--space-4); }
  .faq__answer { padding: 0 var(--space-5) var(--space-5); }
}

/* --duration-fast is already 1ms here; these two carry their own timing, so they go by name. */
@media (prefers-reduced-motion: reduce) {
  .help__card,
  .help__card-cue,
  .faq__mark::before,
  .faq__mark::after { transition: none; }
  .help__card:hover { transform: none; }
  .help__card:hover .help__card-cue { transform: none; }
  .faq__list details::details-content { transition: none; }
}
