/* ==========================================================================
   Karira theme
   --------------------------------------------------------------------------
   Every colour here is sampled from the delivered assets, not invented:

     cold slate   #3c3c39 #424446   scene 01-03 (crowd, office)
     warm sand    #9a816a #b08b6b   scene 07-08 (lake, return)
     cream        #cfc0af           scene 07 highlight
     bronze       #8f775e           the logo itself

   The film's argument is cold -> warm. The page ground makes the same move,
   so warmth is an event rather than wallpaper. That is also the reason this
   build is not the cream-and-brass wellness default: it earns the warm end
   by starting genuinely cold.
   ========================================================================== */

:root {
  /* --- ground: opens COLD. drift interpolates toward warm across the page. */
  --sc-canvas:      #14161a;   /* cold slate, sampled scene 01 shadow        */
  --sc-surface:     #1e2126;   /* raised, same cold family                   */
  --sc-ink:         #EFE9E1;   /* warm bone. never pure white                */
  --sc-ink-soft:    #9E9A94;   /* tinted from the canvas hue, not flat gray  */

  /* --- one accent, the logo's own bronze, lifted for contrast on dark.
         Act 11 flips to the light ground and needs the darker stop; see
         .k-light below. One hue, two lightnesses, per taste.md.            */
  --sc-accent:      #C9A47C;
  --sc-accent-ink:  #17130F;

  --sc-hairline:        color-mix(in oklab, var(--sc-ink) 10%, transparent);
  --sc-hairline-strong: color-mix(in oklab, var(--sc-ink) 20%, transparent);

  /* --- type. Fraunces carries the app's own editorial voice (the product
         UI sets its headings in a serif); Geist carries prose. Two families,
         and the serif is justified by the brand's existing face rather than
         by "it feels premium".                                             */
  --sc-font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sc-font-text:    "Geist", ui-sans-serif, system-ui, sans-serif;

  /* shadows tinted to the canvas hue, never pure black */
  --sc-shadow-color: 220 18% 4%;

  /* the film's warm end, referenced by drift + the close */
  --k-warm-canvas:  #2A2019;
  --k-cream:        #F2E7D8;
  --k-cream-ink:    #221B14;
  --k-accent-dark:  #7A5B3C;   /* bronze, second stop, for light grounds    */
}

/* --------------------------------------------------------------------------
   The light ground (act 11 close).
   Restating `color` here is mandatory, not stylistic: `color` inherits as a
   COMPUTED value, so redefining --sc-ink alone leaves every line rendering in
   the body's bone ink on a cream ground. taste.md flags this as the silent
   failure every ground-inverting page hits.
   -------------------------------------------------------------------------- */
.k-light {
  --sc-canvas:      var(--k-cream);
  --sc-surface:     #E7DACA;
  --sc-ink:         var(--k-cream-ink);
  --sc-ink-soft:    #6B5F51;
  --sc-accent:      var(--k-accent-dark);
  --sc-accent-ink:  #FFFFFF;
  --sc-hairline:        color-mix(in oklab, var(--sc-ink) 14%, transparent);
  --sc-hairline-strong: color-mix(in oklab, var(--sc-ink) 26%, transparent);
  color: var(--sc-ink);
}

/* ==========================================================================
   Chrome: fixed minimal bar. Wordmark + one CTA, per the filmic grammar.
   ========================================================================== */

.k-bar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--sc-z-chrome);
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sc-4) var(--sc-gutter);
  pointer-events: none;
}
.k-bar > * { pointer-events: auto; }

.k-bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom,
    color-mix(in oklab, #000 46%, transparent), transparent);
  opacity: var(--k-bar-scrim, 1);
  transition: opacity var(--sc-d-base) var(--sc-ease-out);
}

.k-wordmark {
  display: flex; align-items: center; gap: var(--sc-3);
  font-family: var(--sc-font-display);
  font-size: var(--sc-t-lg); font-weight: 600;
  letter-spacing: var(--sc-track-snug);
  color: var(--sc-ink); text-decoration: none;
}
.k-wordmark img { width: 28px; height: 28px; display: block; }

/* ==========================================================================
   Buttons. One label per intent, used everywhere: "Download on the App Store".
   ========================================================================== */

.k-btn {
  display: inline-flex; align-items: center; gap: var(--sc-2);
  padding: 0.7rem 1.15rem;
  font-family: var(--sc-font-text);
  font-size: var(--sc-t-sm); font-weight: 560;
  letter-spacing: var(--sc-track-normal);
  white-space: nowrap;                     /* a wrapped CTA is broken */
  border-radius: var(--sc-r-pill);
  background: var(--sc-accent); color: var(--sc-accent-ink);
  border: 1px solid transparent;
  text-decoration: none;
  box-shadow: var(--sc-e1), var(--sc-edge);
  transition: transform var(--sc-d-fast) var(--sc-ease-out),
              filter    var(--sc-d-fast) var(--sc-ease-out),
              box-shadow var(--sc-d-fast) var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .k-btn:hover { filter: brightness(1.06); box-shadow: var(--sc-e2), var(--sc-edge); }
}
.k-btn:active { transform: translateY(1px) scale(0.985); }
.k-btn:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 3px; }

.k-btn--ghost {
  background: transparent; color: var(--sc-ink);
  border-color: var(--sc-hairline-strong);
  box-shadow: none;
}
@media (hover: hover) and (pointer: fine) {
  .k-btn--ghost:hover { border-color: var(--sc-ink); filter: none; }
}

.k-btn--lg { padding: 0.95rem 1.6rem; font-size: var(--sc-t-base); }

/* ==========================================================================
   Copy blocks over film.
   Anchors vary act to act (lead / trail / centre / low) so the page never
   settles into one composition.
   ========================================================================== */

.k-copy { max-width: 34ch; }
.k-copy--wide { max-width: 46ch; }

.k-line {
  font-family: var(--sc-font-display);
  font-weight: 400;
  font-size: var(--sc-t-3xl);
  line-height: var(--sc-leading-tight);
  letter-spacing: var(--sc-track-tight);
  text-wrap: balance;
  /* light-on-dark optical compensation: taste.md asks for a touch more
     tracking and leading than the dark-on-light metrics would give. */
  text-shadow: 0 2px 6px rgba(0,0,0,.55), 0 2px 28px rgba(0,0,0,.55);
}
.k-line--sm  { font-size: var(--sc-t-2xl); }
.k-line--xl  { font-size: var(--sc-t-4xl); }

.k-sub {
  margin-top: var(--sc-4);
  max-width: 44ch;
  font-size: var(--sc-t-lg);
  line-height: 1.5;
  color: var(--sc-ink-soft);
  text-wrap: pretty;
}

/* phones: step the hero down a rung. --sc-t-4xl floors at 3.4rem, which is a
   desktop floor and wraps to six lines at 390px. */
@media (max-width: 700px) {
  .k-line     { font-size: var(--sc-t-2xl); }
  .k-line--xl { font-size: var(--sc-t-2xl); }
  .k-copy, .k-copy--wide { max-width: 24ch; }
}

/* ==========================================================================
   Act 7: the breath scrubber. Signature move.
   The damping itself is JS (page.js), driven off --sc-p. These are only the
   surfaces it moves.
   ========================================================================== */

.k-breath { position: absolute; inset: 0; z-index: var(--sc-z-copy); display: grid; place-items: center; text-align: center; pointer-events: none; }
.k-breath__lines { position: relative; }

.k-breath__line {
  text-shadow: 0 2px 6px rgba(0,0,0,.55), 0 2px 28px rgba(0,0,0,.55);
  font-family: var(--sc-font-display);
  font-size: var(--sc-t-3xl);
  line-height: var(--sc-leading-tight);
  letter-spacing: var(--sc-track-tight);
  opacity: 0;
  /* no transition: every frame is driven from the breath curve in JS */
  will-change: opacity, transform;
}


/* ==========================================================================
   Act 10: the pinned phone rail.
   One device holds still; the interface inside it changes.
   ========================================================================== */

.k-phone {
  position: relative;
  width: min(300px, 62vw);
  aspect-ratio: 1179 / 2556;
  border-radius: 38px;
  background: #0B0A09;
  padding: 8px;
  box-shadow:
    0 0 0 1px color-mix(in oklab, var(--sc-ink) 16%, transparent),
    var(--sc-e3);
  isolation: isolate;
}
.k-phone__screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 31px; overflow: hidden;
  background: #0B0A09;
}
.k-phone__shot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  opacity: 0;
  transform: scale(1.012);
  will-change: opacity, transform;
}
.k-phone__shot[data-active="true"] { opacity: 1; transform: none; }

/* the copy that travels beside the phone */
.k-rail__cap {
  font-family: var(--sc-font-display);
  font-size: var(--sc-t-xl);
  line-height: var(--sc-leading-tight);
  letter-spacing: var(--sc-track-snug);
  text-wrap: balance;
}

@media (max-width: 860px) {
  .k-phone { width: min(260px, 66vw); }
  .k-rail__cap { font-size: var(--sc-t-lg); }
}

/* ==========================================================================
   Act 4: the handoff. Her real phone becomes the real product.
   ========================================================================== */

.k-handoff { display: grid; place-items: center; }
.k-handoff__q {
  font-family: var(--sc-font-display);
  font-size: var(--sc-t-2xl);
  letter-spacing: var(--sc-track-tight);
  text-wrap: balance;
}

/* ==========================================================================
   Close
   ========================================================================== */

.k-close { text-align: center; display: grid; place-items: center; gap: var(--sc-5); }
.k-close__mark { width: 64px; height: 64px; }
.k-close__name {
  font-family: var(--sc-font-display);
  font-size: var(--sc-t-3xl);
  letter-spacing: var(--sc-track-tight);
  line-height: 1;
}
.k-close__line { font-size: var(--sc-t-lg); color: var(--sc-ink-soft); }

.k-foot {
  display: flex; gap: var(--sc-5); flex-wrap: wrap;
  justify-content: center; align-items: center;
  font-size: var(--sc-t-sm); color: var(--sc-ink-soft);
}
.k-foot a { color: inherit; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .k-foot a:hover { color: var(--sc-ink); }
}

/* ==========================================================================
   Reduced motion: fewer and gentler, not zero.
   The engine drops scrub clips to posters on its own; these are the bespoke
   surfaces it does not know about.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .k-breath__line { opacity: 1; transform: none; }
  .k-phone__shot  { transition: opacity var(--sc-d-slow) var(--sc-ease-out); }
}

/* ==========================================================================
   Act layouts
   ========================================================================== */

/* --- act 10: the phone rail --------------------------------------------- */

.k-rail { background: var(--sc-canvas); }

.k-rail__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(var(--sc-5), 4vw, var(--sc-9));
  width: min(var(--sc-maxw), 100%);
  padding-inline: var(--sc-gutter);
  margin-inline: auto;
}

/* phone sits in the middle column, captions in the third; the first column is
   deliberately empty on desktop so the phone lands just left of centre and the
   copy has room to breathe rather than being squeezed against the edge */
.k-rail__phone { grid-column: 2; justify-self: center; }
.k-rail__caps  { grid-column: 3; display: grid; max-width: 26ch; }
.k-rail__caps > * { grid-area: 1 / 1; }   /* all captions share one cell */

@media (max-width: 860px) {
  .k-rail__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: var(--sc-6);
  }
  .k-rail__phone { grid-column: 1; }
  .k-rail__caps  { grid-column: 1; max-width: 24ch; min-height: 4.5em; }
}

/* reduced motion: the crossfade rail becomes a plain readable sequence */
.k-rail--static .sc-stage,
.k-rail--static [data-sc-stage] {
  position: static; height: auto; overflow: visible;
  padding-block: var(--sc-section);
}
.k-rail--static .k-rail__grid { grid-template-columns: 1fr; justify-items: center; gap: var(--sc-6); }
.k-rail--static .k-phone { height: auto; aspect-ratio: 1179 / 2556; }
.k-rail--static .k-phone__screen { display: grid; gap: 0; }
.k-rail--static .k-rail__caps > * { grid-area: auto; }
.k-rail--static .k-rail__caps { max-width: 34ch; gap: var(--sc-4); }

/* --- act 11: the close --------------------------------------------------- */

.k-closewrap {
  background: var(--sc-canvas);
  display: grid; place-items: center;
  padding-inline: var(--sc-gutter);
}
.k-close__mark { border-radius: 14px; }

/* on the cream ground the bar's dark scrim would be a smear */
.k-bar--onlight .k-wordmark { color: var(--k-cream-ink); }


/* ==========================================================================
   Phone frame: hardware detail. A flat rounded rect reads as a mockup;
   the notch and the edge light are what make it read as a device.
   ========================================================================== */

.k-phone::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 38px; pointer-events: none;
  box-shadow: inset 0 1px 0 color-mix(in oklab, #fff 14%, transparent),
              inset 0 0 0 1px color-mix(in oklab, #000 60%, transparent);
}
.k-phone__screen::after {
  content: ""; position: absolute; z-index: 2;
  top: 9px; left: 50%; transform: translateX(-50%);
  width: 31%; height: 22px; border-radius: 999px;
  background: #0B0A09;
}

/* ==========================================================================
   Act 4: the phone takeover.
   One plate, one fixed homography, a camera that moves. The UI never leaves
   the glass; a wake bloom hides the cut to the pristine portrait UI. All of
   it is driven from --sc-p in page.js. The engine is untouched.
   ========================================================================== */

.k-take { position: absolute; inset: 0; overflow: hidden; background: var(--sc-canvas); }

.k-take__cam { position: absolute; inset: 0; will-change: transform; transform-origin: 50% 50%; }
.k-take__bg  { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* the occlusion wrapper: hand + case rim stay on top of the mapped UI */
.k-take__wrap { position: absolute; inset: 0; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

/* the UI box lives at its NATIVE pixel size and is mapped by matrix3d. Never 1px. */
.k-take__screen {
  position: absolute; top: 0; left: 0; transform-origin: 0 0;
  overflow: hidden; will-change: transform, filter;
  backface-visibility: hidden;
}
.k-take__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.k-take__glass {
  position: absolute; top: 0; left: 0; transform-origin: 0 0; pointer-events: none;
  mix-blend-mode: screen; will-change: transform, opacity;
  background: linear-gradient(146deg,
    rgba(255,255,255,.18) 0%, rgba(255,255,255,.06) 16%,
    rgba(255,255,255,.01) 40%, rgba(255,255,255,0) 66%,
    rgba(255,255,255,.035) 86%, rgba(255,255,255,.10) 100%);
}

/* the wake: warm white, never pure */
.k-take__bloom { position: absolute; inset: 0; background: #fff6ea; pointer-events: none; z-index: 5; opacity: 0; }

/* the pristine app. Portrait phone, native ratio, centred on a ground sampled
   from the scene so the vertical app stays beautiful inside a 16:9 viewport. */
.k-take__app {
  position: absolute; inset: 0; z-index: 4; opacity: 0;
  display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: 100%;
  align-items: center; gap: clamp(var(--sc-5), 4vw, var(--sc-9));
  padding-inline: var(--sc-gutter);
  background: radial-gradient(120% 90% at 62% 55%, #2b241e 0%, #15120f 55%, #0b0908 100%);
}
.k-take__phone {
  grid-column: 2; justify-self: center;
  height: min(88svh, 88vh); aspect-ratio: 1179 / 2556; width: auto;
  position: relative; border-radius: 34px; padding: 7px;
  background: #0B0A09; will-change: transform, opacity;
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--sc-ink) 14%, transparent), var(--sc-e3);
  transform-origin: 50% 40%;
}
.k-take__phone > div { position: relative; width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: #0B0A09; }
.k-take__shot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center; opacity: 0;
  will-change: opacity, transform;
}
.k-take__caps { grid-column: 3; display: grid; max-width: 24ch; }
.k-take__caps > * { grid-area: 1 / 1; }
.k-take__cap {
  font-family: var(--sc-font-display); font-size: var(--sc-t-xl);
  line-height: var(--sc-leading-tight); letter-spacing: var(--sc-track-snug); text-wrap: balance;
}

/* the handoff: the player's artwork grows out of the phone toward scene 5 */
.k-take__art {
  position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%; opacity: 0; pointer-events: none;
  will-change: opacity, transform;
}

@media (max-width: 860px) {
  .k-take__app { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; justify-items: center; gap: var(--sc-5); text-align: center; }
  .k-take__phone { grid-column: 1; height: min(66svh, 66vh); }
  .k-take__caps  { grid-column: 1; max-width: 22ch; min-height: 3.2em; }
  .k-take__cap   { font-size: var(--sc-t-lg); }
  .k-take__art   { object-position: 50% 20%; }
}

/* reduced motion: no push, no bloom. The pristine chat is the whole act. */
@media (prefers-reduced-motion: reduce) {
  .k-take__cam, .k-take__bloom, .k-take__art { display: none; }
  .k-take__app { opacity: 1; }
  .k-take__shot[data-take-shot="0"] { opacity: 1; }
}

/* ==========================================================================
   Ambient clips (acts 2, 3, 9). The frame is live but not under the reader's
   hand: a distinct device from scrub. Poster stays underneath; the clip fades
   up once it is actually playing.
   ========================================================================== */

.k-ambient { background: var(--sc-canvas); }
.k-ambient__clip {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; z-index: 0;
  opacity: 0; transition: opacity 700ms var(--sc-ease-out);
}
.k-ambient--live .k-ambient__clip { opacity: 1; }

/* act 3: the wipe. A blurred, dimmed still is the ground; the sharp live
   frame is revealed over it. Change of state, not a loading gap. */
.k-reveal__ground {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(14px) brightness(0.55); transform: scale(1.06); z-index: 0;
}
.k-reveal { position: absolute; inset: 0; margin: 0; z-index: 1; }
.k-reveal .sc-stage__poster, .k-reveal .k-ambient__clip { z-index: auto; }

/* two lines that take turns in the same place */
.k-stack { display: grid; }
.k-stack > * { grid-area: 1 / 1; }

/* ==========================================================================
   App Store badge. The official artwork replaces the custom button.
   Both dimensions are set together: overriding one leaves the other at the
   attribute's raw pixel value and the 960px source renders enormous.
   ========================================================================== */

.k-badge { display: inline-block; line-height: 0; border-radius: 8px; }
.k-badge img { width: auto; height: 40px; display: block; }
.k-badge--lg img { height: 56px; }
.k-badge:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .k-badge img { transition: transform var(--sc-d-fast) var(--sc-ease-out), filter var(--sc-d-fast) var(--sc-ease-out); }
  .k-badge:hover img { transform: translateY(-1px); filter: brightness(1.08); }
}
.k-badge:active img { transform: translateY(1px) scale(0.985); }
@media (max-width: 700px) { .k-badge--bar img { height: 34px; } .k-badge--lg img { height: 50px; } }

@media (prefers-reduced-motion: reduce) {
  .k-ambient__clip { display: none; }
  .k-reveal__ground { filter: none; transform: none; }
}

/* ==========================================================================
   Copy scrim, shaped to where the copy actually sits.
   The engine's corner gradient thins to 30% by its midpoint, which is exactly
   where a three-line display block's upper lines land, and on phones it stays
   a bottom-LEFT corner while the copy goes full width. This one is dense
   through the whole text box and becomes a band below 860px. Sibling of the
   copy, never a child, so the harness can measure it.
   ========================================================================== */
.k-scrim {
  background: linear-gradient(to top right,
    color-mix(in oklab, var(--sc-canvas) 96%, transparent) 0%,
    color-mix(in oklab, var(--sc-canvas) 92%, transparent) 30%,
    color-mix(in oklab, var(--sc-canvas) 86%, transparent) 48%,
    color-mix(in oklab, var(--sc-canvas) 40%, transparent) 62%,
    transparent 78%);
}
@media (max-width: 860px) {
  .k-scrim {
    background: linear-gradient(to top,
      color-mix(in oklab, var(--sc-canvas) 96%, transparent) 0%,
      color-mix(in oklab, var(--sc-canvas) 90%, transparent) 22%,
      color-mix(in oklab, var(--sc-canvas) 84%, transparent) 40%,
      color-mix(in oklab, var(--sc-canvas) 40%, transparent) 54%,
      transparent 68%);
  }
}

/* the three breath lines take turns in one place */
.k-breath__lines { display: grid; place-items: center; text-align: center; }
.k-breath__lines > * { grid-area: 1 / 1; margin: 0; }

/* the product rail fills its stage so the phone sits at the vertical centre */
.k-rail__grid { height: 100%; }

/* ==========================================================================
   The reading act (between act 9 and the close).
   The film has resolved; the reader is deciding. Facts, in the film's own
   type and warmth: cream ground, Fraunces headings, Geist prose, the same
   data-sc-in / stagger reveals the rest of the page uses. No cards, no grid
   of icons, no eyebrow labels. Plain type on space.
   ========================================================================== */

.k-read { background: var(--sc-canvas); padding-block: clamp(4rem, 8vw, 8rem) clamp(3rem, 6vw, 6rem); }
.k-read__wrap { display: grid; gap: clamp(var(--sc-9), 9vw, var(--sc-11)); }
.k-read__block { display: grid; gap: var(--sc-5); max-width: 62rem; }
.k-read__block > * { margin: 0; }

.k-read__h {
  font-family: var(--sc-font-display); font-weight: 400;
  font-size: var(--sc-t-2xl); line-height: var(--sc-leading-tight);
  letter-spacing: var(--sc-track-tight); text-wrap: balance; max-width: 22ch;
}
.k-read__h3 {
  font-family: var(--sc-font-display); font-weight: 500;
  font-size: var(--sc-t-lg); line-height: 1.3; letter-spacing: var(--sc-track-snug); text-wrap: balance;
}
.k-read p, .k-read li, .k-read dd { max-width: var(--sc-measure); text-wrap: pretty; }
.k-read .k-lede { font-size: var(--sc-t-lg); line-height: 1.5; max-width: 46ch; }
.k-read .k-soft { color: var(--sc-ink-soft); }
.k-read a:not(.k-btn) { color: var(--sc-ink); text-decoration-color: color-mix(in oklab, var(--sc-ink) 40%, transparent); text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .k-read a:not(.k-btn):hover { text-decoration-color: var(--sc-ink); } }

/* numbered steps: the number sits in the margin, the sentence runs */
.k-steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: var(--sc-4); }
.k-steps li { counter-increment: step; display: grid; grid-template-columns: 2.4rem 1fr; gap: var(--sc-3); align-items: baseline; }
.k-steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--sc-font-display); font-size: var(--sc-t-sm); color: var(--sc-ink-soft); letter-spacing: var(--sc-track-wide); }
.k-steps b { font-weight: 560; }

/* the contrast: two columns of plain type with a hairline between, never cards */
.k-contrast { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--sc-6), 5vw, var(--sc-9)); margin-top: var(--sc-3); }
.k-contrast > div { display: grid; gap: var(--sc-3); align-content: start; }
.k-contrast > div + div { border-left: 1px solid var(--sc-hairline); padding-left: clamp(var(--sc-6), 5vw, var(--sc-9)); }
.k-contrast .k-label { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); letter-spacing: var(--sc-track-wide); text-transform: uppercase; }
@media (max-width: 700px) {
  .k-contrast { grid-template-columns: 1fr; }
  .k-contrast > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--sc-hairline); padding-top: var(--sc-5); }
}

/* definition lists (what you get, the nine practices, the timeline) */
.k-dl { display: grid; gap: var(--sc-4); margin: 0; }
.k-dl > div { display: grid; grid-template-columns: minmax(9rem, 14rem) 1fr; gap: var(--sc-3) var(--sc-6); align-items: baseline; padding-top: var(--sc-4); border-top: 1px solid var(--sc-hairline); }
.k-dl dt { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-lg); letter-spacing: var(--sc-track-snug); line-height: 1.25; }
.k-dl dd { margin: 0; }
.k-dl sup { font-size: 0.7em; margin-left: 0.15em; color: var(--sc-ink-soft); }
.k-dl--two { grid-template-columns: 1fr 1fr; column-gap: clamp(var(--sc-6), 5vw, var(--sc-9)); }
.k-dl--two > div { grid-template-columns: 1fr; gap: var(--sc-2); }
@media (max-width: 700px) { .k-dl > div { grid-template-columns: 1fr; gap: var(--sc-2); } .k-dl--two { grid-template-columns: 1fr; } }

/* the four trust lines: one row of short type, hairlines between, no icons */
.k-trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sc-5); }
.k-trust li { padding-top: var(--sc-4); border-top: 1px solid var(--sc-hairline-strong); display: grid; gap: var(--sc-2); }
.k-trust b { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-lg); letter-spacing: var(--sc-track-snug); line-height: 1.2; }
.k-trust span { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
@media (max-width: 860px) { .k-trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .k-trust { grid-template-columns: 1fr; } }

.k-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sc-2); }
.k-ticks li::before { content: "\2713\00a0\00a0"; color: var(--sc-accent); }

/* pricing: two typographic columns, not two cards */
.k-plans { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--sc-6), 5vw, var(--sc-9)); }
.k-plan { display: grid; gap: var(--sc-4); align-content: start; padding-top: var(--sc-5); border-top: 1px solid var(--sc-hairline-strong); }
.k-plan__name { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-lg); letter-spacing: var(--sc-track-snug); }
.k-plan__price { font-family: var(--sc-font-display); font-weight: 400; font-size: var(--sc-t-3xl); line-height: 1; letter-spacing: var(--sc-track-tight); }
.k-plan__price small { font-family: var(--sc-font-text); font-size: var(--sc-t-sm); color: var(--sc-ink-soft); letter-spacing: var(--sc-track-normal); margin-left: var(--sc-2); }
.k-plan .k-ticks li::before { color: var(--sc-ink-soft); }
@media (max-width: 700px) { .k-plans { grid-template-columns: 1fr; } }

/* FAQ and references: native disclosure, crawlable, keyboard-native */
.k-faq { display: grid; gap: 0; border-top: 1px solid var(--sc-hairline-strong); }
.k-faq details { border-bottom: 1px solid var(--sc-hairline); }
.k-faq summary {
  cursor: pointer; list-style: none; padding: var(--sc-4) 0; display: flex; justify-content: space-between; gap: var(--sc-4); align-items: baseline;
  font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-lg); letter-spacing: var(--sc-track-snug); line-height: 1.3;
}
.k-faq summary::-webkit-details-marker { display: none; }
.k-faq summary::after { content: "+"; font-family: var(--sc-font-text); color: var(--sc-ink-soft); flex: none; transition: transform var(--sc-d-fast) var(--sc-ease-out); }
.k-faq details[open] summary::after { transform: rotate(45deg); }
.k-faq summary:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 4px; border-radius: 4px; }
.k-faq details > p { padding: 0 0 var(--sc-5); }

.k-refs { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); max-width: 62rem; }
.k-refs summary { cursor: pointer; font-family: var(--sc-font-text); font-weight: 560; color: var(--sc-ink); padding: var(--sc-3) 0; }
.k-refs summary:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 4px; border-radius: 4px; }
.k-refs p { max-width: none; margin: var(--sc-3) 0; }
.k-refs ol { padding-left: 1.25rem; display: grid; gap: var(--sc-3); }
.k-refs li { max-width: none; }

.k-fine { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }

/* duty of care, before the close */
.k-care { display: grid; gap: var(--sc-3); padding-top: var(--sc-6); border-top: 1px solid var(--sc-hairline-strong); font-size: var(--sc-t-sm); color: var(--sc-ink-soft); max-width: 62rem; }
.k-care p { max-width: none; }
.k-care b { color: var(--sc-ink); font-weight: 560; }

/* on the cream ground the bar drops its dark scrim (page.js toggles this) */
.k-bar--onlight::before { opacity: 0; }

/* ==========================================================================
   The waitlist dialog. The site's own tokens: cream surface, Fraunces heading,
   the dark bronze for the primary action. Fixed, above the bar, outside <main>
   so no transformed ancestor can capture it.
   ========================================================================== */

.wl-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(12,10,8,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .42s var(--sc-ease-out); }
.wl-backdrop.is-open { opacity: 1; pointer-events: auto; }
.wl-modal {
  position: fixed; z-index: 201; left: 50%; top: 50%; transform: translate(-50%,-50%) scale(.97);
  width: min(520px, calc(100vw - 32px)); max-height: min(88dvh, 780px);
  display: flex; flex-direction: column;
  background: var(--k-cream); color: var(--k-cream-ink);
  border-radius: var(--sc-r-lg); box-shadow: var(--sc-e3);
  opacity: 0; pointer-events: none;
  transition: opacity .42s var(--sc-ease-out), transform .42s var(--sc-ease-out);
  --sc-ink: var(--k-cream-ink); --sc-ink-soft: #6B5F51; --sc-accent: var(--k-accent-dark); --sc-accent-ink: #fff;
  --sc-hairline: color-mix(in oklab, var(--k-cream-ink) 14%, transparent); --sc-hairline-strong: color-mix(in oklab, var(--k-cream-ink) 26%, transparent);
}
.wl-modal.is-open { opacity: 1; transform: translate(-50%,-50%) scale(1); pointer-events: auto; }
.wl-modal:focus, .wl-modal:focus-visible { outline: none; }
.wl-scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 22px 30px 26px; }
.wl-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: var(--sc-r-pill); cursor: pointer; background: transparent; color: var(--sc-ink-soft); font-size: 19px; line-height: 1; }
.wl-close:hover { background: color-mix(in oklab, var(--k-cream-ink) 8%, transparent); color: var(--sc-ink); }
.wl-close:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 2px; }
.wl-step { animation: wl-in .42s var(--sc-ease-out); }
@keyframes wl-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wl-h { font-family: var(--sc-font-display); font-weight: 400; font-size: clamp(25px, 4.2vw, 31px); line-height: 1.16; letter-spacing: var(--sc-track-tight); margin: 0 34px 8px 0; text-wrap: balance; }
.wl-sub { font-size: 14.5px; line-height: 1.55; color: var(--sc-ink-soft); margin: 0 0 22px; }
.wl-brand { display: flex; align-items: center; gap: 10px; font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-lg); margin-bottom: 14px; }
.wl-brand img { width: 26px; height: 26px; border-radius: 6px; }
.wl-field { margin-bottom: 16px; }
.wl-label, .wl-q-title { display: block; font-size: 12.5px; font-weight: 560; letter-spacing: .04em; text-transform: uppercase; color: var(--sc-ink-soft); margin-bottom: 7px; }
.wl-q-title { text-transform: none; letter-spacing: 0; font-size: 14.5px; color: var(--sc-ink); }
.wl-optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--sc-ink-soft); }
.wl-input, .wl-textarea { width: 100%; font-family: var(--sc-font-text); font-size: 16px; color: var(--sc-ink); background: #fff; border: 1px solid var(--sc-hairline-strong); border-radius: 14px; padding: 13px 15px; transition: border-color .2s var(--sc-ease-out), box-shadow .2s var(--sc-ease-out); }
.wl-textarea { resize: vertical; min-height: 86px; line-height: 1.5; }
.wl-input:focus, .wl-textarea:focus { outline: none; border-color: var(--sc-accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--sc-accent) 25%, transparent); }
.wl-input[aria-invalid="true"] { border-color: #A4553F; }
.wl-error { color: #8a3f2c; font-size: 13px; margin: 6px 0 0; min-height: 1em; }
.wl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wl-chip { position: relative; }
.wl-chip input { position: absolute; opacity: 0; width: 100%; height: 100%; left: 0; top: 0; margin: 0; cursor: pointer; }
.wl-chip span { display: block; font-size: 13.5px; line-height: 1; color: var(--sc-ink); background: #fff; border: 1px solid var(--sc-hairline-strong); border-radius: var(--sc-r-pill); padding: 10px 15px; cursor: pointer; transition: background .2s var(--sc-ease-out), border-color .2s var(--sc-ease-out), color .2s var(--sc-ease-out); }
.wl-chip input:hover + span { border-color: var(--sc-ink); }
.wl-chip input:checked + span { background: var(--sc-accent); border-color: var(--sc-accent); color: #fff; }
.wl-chip input:focus-visible + span { outline: 2px solid var(--sc-accent); outline-offset: 2px; }
.wl-consent { display: flex; gap: 11px; align-items: flex-start; margin: 20px 0 6px; padding: 14px; background: #fff; border: 1px solid var(--sc-hairline); border-radius: 14px; }
.wl-consent input { flex: none; width: 19px; height: 19px; margin: 1px 0 0; cursor: pointer; accent-color: var(--sc-accent); }
.wl-consent label { font-size: 13px; line-height: 1.5; color: var(--sc-ink-soft); cursor: pointer; }
.wl-consent a, .wl-legal a { color: var(--sc-ink); text-underline-offset: 2px; }
.wl-actions { margin-top: 20px; }
.wl-submit { width: 100%; justify-content: center; border: 0; font-family: var(--sc-font-text); font-size: 15px; font-weight: 560; background: var(--sc-accent); color: #fff; border-radius: var(--sc-r-pill); padding: 15px 22px; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; transition: filter .2s var(--sc-ease-out), transform .12s var(--sc-ease-out); }
.wl-submit:hover { filter: brightness(1.08); }
.wl-submit:active { transform: translateY(1px); }
.wl-submit:disabled { opacity: .7; cursor: default; }
.wl-submit:focus-visible { outline: 2px solid var(--sc-ink); outline-offset: 3px; }
.wl-skip { display: block; width: 100%; margin-top: 10px; background: none; border: 0; color: var(--sc-ink-soft); font-family: var(--sc-font-text); font-size: 14px; padding: 10px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.wl-skip:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 2px; border-radius: 6px; }
.wl-legal { font-size: 12px; line-height: 1.5; color: var(--sc-ink-soft); margin: 12px 0 0; }
.wl-q { margin-bottom: 20px; }
.wl-spin { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: wl-spin .8s linear infinite; }
@keyframes wl-spin { to { transform: rotate(360deg); } }
.wl-final { text-align: center; padding: 14px 0 6px; }
.wl-mark { width: 56px; height: 56px; margin: 0 auto 14px; display: block; fill: none; stroke: var(--sc-accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .wl-backdrop, .wl-modal { transition: none; } .wl-step { animation: none; } .wl-spin { animation-duration: 1.6s; } }

/* --- round two on the reading act ----------------------------------------- */

/* over the cream acts the bar is a solid band: text passes under it, never through the wordmark */
.k-bar--onlight::before { opacity: 1; background: var(--k-cream); border-bottom: 1px solid color-mix(in oklab, var(--k-cream-ink) 10%, transparent); }

/* small line icons, bronze, sized to the text */
.k-ico { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; color: var(--sc-accent); flex: none; }
.k-ico svg { width: 1.25rem; height: 1.25rem; }
.k-steps li { grid-template-columns: 2.2rem 1.5rem 1fr; gap: var(--sc-3); }
.k-steps li::before { align-self: baseline; padding-top: .15em; }

/* the comparison gets shape: two panels, the Karira side accented */
.k-contrast > div { padding: var(--sc-5) var(--sc-5) var(--sc-6); border-radius: var(--sc-r-lg); background: color-mix(in oklab, var(--sc-surface) 55%, transparent); }
.k-contrast > div + div { border-left: 0; padding-left: var(--sc-5); background: color-mix(in oklab, var(--sc-accent) 9%, var(--sc-surface)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--sc-accent) 28%, transparent); }
.k-contrast .k-label { display: flex; align-items: center; gap: var(--sc-2); }
.k-contrast .k-label .k-ico { width: 1.6rem; height: 1.6rem; }
@media (max-width: 700px) { .k-contrast > div + div { border-top: 0; padding-top: var(--sc-5); } }

/* the product rail below 860px: phone and caption centred as one group, like act 4 */
@media (max-width: 860px) {
  .k-rail__grid { align-content: center; gap: var(--sc-5); }
  .k-rail .k-phone { width: auto; height: min(64svh, 64vh); aspect-ratio: 1179 / 2556; }
  .k-rail__caps { min-height: 0; }
}

/* duty of care inside the close card */
.k-care--close { border-top: 0; padding-top: var(--sc-2); gap: var(--sc-2); max-width: 56ch; text-align: center; font-size: var(--sc-t-xs); margin-inline: auto; }
.k-care--close p { max-width: none; }

/* --- close card, tightened -------------------------------------------------- */
.k-close { gap: var(--sc-4); }
.k-close > * { margin: 0; }
.k-close__name { margin-top: var(--sc-2); }
.k-close .k-badge--lg { margin-top: var(--sc-2); }
.k-foot { margin-top: var(--sc-3); }
.k-social a { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; color: var(--sc-ink-soft); border: 1px solid var(--sc-hairline-strong); }
.k-social svg { width: 1.1rem; height: 1.1rem; }
@media (hover: hover) and (pointer: fine) { .k-social a:hover { color: var(--sc-ink); border-color: var(--sc-ink); } }
.k-social a:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 3px; }

/* the care block: a label / text grid, left-aligned inside a centred column */
.k-care--close {
  display: grid; grid-template-columns: max-content 1fr; gap: var(--sc-2) var(--sc-5);
  text-align: left; max-width: 44rem; width: 100%; margin: var(--sc-4) auto 0;
  padding-top: var(--sc-4); border-top: 1px solid var(--sc-hairline);
  font-size: var(--sc-t-xs); line-height: 1.5;
}
.k-care--close > div { display: contents; }
.k-care--close dt { color: var(--sc-ink); font-weight: 560; white-space: nowrap; }
.k-care--close dd { margin: 0; color: var(--sc-ink-soft); }
@media (max-width: 560px) { .k-care--close { grid-template-columns: 1fr; gap: var(--sc-1); } .k-care--close dd { margin-bottom: var(--sc-3); } }

/* less air under the reading act: the close now arrives lit */
.k-read { padding-bottom: clamp(2rem, 4vw, 4rem); }

/* --- round three: structure for the rest of the reading act ------------------ */
.k-ico--sm { width: 1.25rem; height: 1.25rem; } .k-ico--sm svg { width: 1rem; height: 1rem; }

/* definition rows with an icon column */
.k-dl--ico > div { grid-template-columns: 1.75rem minmax(9rem, 14rem) 1fr; }
@media (max-width: 700px) { .k-dl--ico > div { grid-template-columns: 1.75rem 1fr; } .k-dl--ico dd { grid-column: 2; } }

/* the nine practices as tiles */
.k-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sc-3); margin: 0; }
.k-tiles > div { display: grid; grid-template-columns: 1fr; gap: var(--sc-2); align-content: start; padding: var(--sc-5); border-radius: var(--sc-r-lg); background: color-mix(in oklab, var(--sc-surface) 55%, transparent); border-top: 0; }
.k-tiles .k-ico { width: 2rem; height: 2rem; margin-bottom: var(--sc-1); } .k-tiles .k-ico svg { width: 1.4rem; height: 1.4rem; }
.k-tiles dt { font-size: var(--sc-t-base); }
.k-tiles dd { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
@media (max-width: 860px) { .k-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .k-tiles { grid-template-columns: 1fr; } }

/* the timeline: a rail with dots */
.k-timeline { list-style: none; margin: 0; padding: 0 0 0 1.75rem; position: relative; display: grid; gap: var(--sc-5); }
.k-timeline::before { content: ""; position: absolute; left: .45rem; top: .6rem; bottom: .6rem; width: 1px; background: var(--sc-hairline-strong); }
.k-timeline li { position: relative; display: grid; gap: var(--sc-1); }
.k-timeline li::before { content: ""; position: absolute; left: -1.75rem; top: .45rem; width: .95rem; height: .95rem; border-radius: 50%; background: var(--sc-canvas); border: 2px solid var(--sc-accent); }
.k-timeline li:last-child::before { background: var(--sc-accent); }
.k-timeline__when { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-lg); letter-spacing: var(--sc-track-snug); }
.k-timeline__what { color: var(--sc-ink-soft); }

/* trust row with icons */
.k-trust .k-ico { width: 2rem; height: 2rem; } .k-trust .k-ico svg { width: 1.4rem; height: 1.4rem; }

/* check-circle bullets, drawn with a mask so they take the accent */
.k-ticks li, .k-chips li { display: grid; grid-template-columns: 1.25rem 1fr; gap: var(--sc-2); align-items: start; }
.k-ticks li::before, .k-chips li::before {
  content: ""; width: 1.15rem; height: 1.15rem; margin-top: .15em; background: var(--sc-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
.k-plan .k-ticks li::before { background: var(--sc-ink-soft); }
.k-plan--premium .k-ticks li::before { background: var(--sc-accent); }

/* pricing as two panels */
.k-plan { padding: var(--sc-6); border-radius: var(--sc-r-lg); border-top: 0; background: color-mix(in oklab, var(--sc-surface) 55%, transparent); }
.k-plan--premium { background: color-mix(in oklab, var(--sc-accent) 9%, var(--sc-surface)); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--sc-accent) 28%, transparent); }
.k-plan__name { display: inline-block; justify-self: start; padding: .35rem .8rem; border-radius: var(--sc-r-pill); font-family: var(--sc-font-text); font-size: var(--sc-t-xs); font-weight: 560; letter-spacing: var(--sc-track-wide); text-transform: uppercase; background: color-mix(in oklab, var(--sc-ink) 8%, transparent); }
.k-plan--premium .k-plan__name { background: var(--sc-accent); color: #fff; }
.k-plan__price small { display: block; margin: var(--sc-2) 0 0; }

/* FAQ rows with a question mark; contact as a note; fine print as chips */
.k-faq summary { justify-content: flex-start; }
.k-faq summary > span { flex: 1; }
.k-faq details > p { padding-left: calc(1.25rem + var(--sc-4)); }
.k-note { display: grid; grid-template-columns: 2rem 1fr; gap: var(--sc-4); align-items: start; padding: var(--sc-5); border-radius: var(--sc-r-lg); background: color-mix(in oklab, var(--sc-surface) 55%, transparent); max-width: 62rem; }
.k-note .k-ico { width: 2rem; height: 2rem; } .k-note .k-ico svg { width: 1.4rem; height: 1.4rem; }
.k-note p { margin: 0; font-size: var(--sc-t-lg); line-height: 1.5; }
.k-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--sc-3); }
.k-chips li { display: inline-grid; grid-template-columns: 1.1rem auto; align-items: center; gap: var(--sc-2); padding: .5rem .9rem; border-radius: var(--sc-r-pill); background: color-mix(in oklab, var(--sc-surface) 55%, transparent); font-size: var(--sc-t-sm); color: var(--sc-ink); }
.k-chips li::before { margin-top: 0; }
.k-refs summary { display: inline-flex; align-items: center; gap: var(--sc-2); }

.k-tiles dd { margin: 0; }

/* Prelaunch: the product and signup are visible before the optional film. */
.k-nav { display: flex; align-items: center; gap: 28px; }
.k-nav a { color: inherit; font-size: 14px; text-decoration: none; }
.k-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.k-nav-cta { padding: 12px 20px; font-size: 14px; white-space: nowrap; }
.k-prelaunch { background: var(--k-cream); color: var(--k-cream-ink); }
.k-prelaunch .k-bar { background: var(--k-cream); color: var(--k-cream-ink); border-bottom: 1px solid #221b1420; }
.k-prelaunch .k-bar::before { display: none; }
.k-prelaunch .k-wordmark { color: inherit; }
.k-prelaunch .k-bar .k-btn { background: var(--k-accent-dark); color: white; }
.k-prelaunch .sc-grain { display: none; }
.k-launch { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 7vw, 110px); align-items: center; max-width: 1260px; margin: auto; padding: 140px 48px 64px; }
.k-eyebrow { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 24px; color: var(--k-accent-dark); }
.k-launch h1 { font-family: var(--sc-font-display); font-weight: 400; font-size: clamp(40px, 4.6vw, 66px); line-height: 1.08; letter-spacing: -.045em; margin: 0 0 24px; text-wrap: balance; }
.k-launch__lede { font-size: 18px; line-height: 1.65; max-width: 540px; margin: 0 0 28px; }
.k-launch__actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.k-launch .k-btn { background: var(--k-accent-dark); color: white; }
.k-launch__link { color: inherit; font-size: 16px; text-underline-offset: 5px; }
.k-launch__note { font-size: 14px; line-height: 1.6; color: #6B5F51; max-width: 510px; margin: 20px 0 0; }
.k-launch__product { margin: 0; text-align: center; }
.k-launch__product img { width: min(100%, 265px); height: auto; display: block; margin: auto; border: 7px solid #292622; border-radius: 38px; box-shadow: 0 24px 50px #221b1429; }
.k-launch__product figcaption { font-size: 14px; color: #6B5F51; margin-top: 20px; }
.k-story-link { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 25px max(24px, calc((100vw - 1164px) / 2)); background: #292622; color: #EFE9E1; font-size: 16px; }
.k-story-link a { color: #E5C5A0; text-underline-offset: 5px; }
.k-prelaunch [id] { scroll-margin-top: 110px; }
.k-prelaunch .k-read { padding-top: 64px; }
.k-prelaunch .k-closewrap { min-height: auto; padding: 64px 24px; }
.k-plan-note { font-size: 14px; line-height: 1.6; }
.k-availability { font-size: 16px; line-height: 1.6; margin-bottom: 20px; }
.wl-modal { max-height: min(780px, calc(100dvh - 32px)); overflow: hidden; padding-top: 48px; }
.wl-scroll { min-height: 0; overscroll-behavior: contain; padding: 8px 30px 30px; }
.wl-close { background: var(--k-cream); width: 40px; height: 40px; top: 4px; }
.wl-h { padding-top: 4px; }
.wl-label, .wl-legal, .wl-consent label, .wl-chip span, .wl-error { font-size: 14px; }
.wl-step[hidden], .wl-modal[hidden], .wl-backdrop[hidden] { display: none; }
@media (max-width: 680px) {
  .k-bar { flex-wrap: wrap; gap: 14px; padding: 14px 20px; }
  .k-nav { order: 3; width: 100%; justify-content: center; gap: 28px; }
  .k-nav-cta { padding: 10px 16px; }
  .k-launch { grid-template-columns: 1fr; gap: 40px; padding: 148px 24px 48px; }
  .k-launch h1 { font-size: clamp(38px, 10vw, 52px); }
  .k-launch__lede { font-size: 16px; }
  .k-launch__product img { width: 235px; }
  .k-story-link { justify-content: center; text-align: center; }
  .wl-scroll { padding: 8px 20px 24px; }
  .wl-modal { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
  .k-prelaunch [id] { scroll-margin-top: 128px; }
}

/* A full-width product walkthrough with a quieter, denser reading rhythm. */
.k-prelaunch .k-read__wrap { max-width: 1260px; width: 100%; padding-inline: 48px; gap: 64px; margin-inline: auto; }
.k-prelaunch .k-read__block { max-width: none; width: 100%; gap: 24px; }
.k-prelaunch .k-read__h { font-size: clamp(30px, 3vw, 42px); max-width: 25ch; line-height: 1.15; }
.k-prelaunch .k-read p, .k-prelaunch .k-read li, .k-prelaunch .k-read dd { max-width: none; }
.k-prelaunch .k-lede { font-size: 17px; line-height: 1.65; }
.k-prelaunch .k-eyebrow { font-size: 13px; margin-bottom: 14px; }
.k-section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.k-section-head h2, .k-section-head p { margin-top: 0; margin-bottom: 0; }
.k-section-head .k-lede { max-width: 43ch; padding-bottom: 4px; }
.k-story-card { display: grid; grid-template-columns: 1.2fr 1fr; max-width: 1164px; margin: 0 auto 12px; overflow: hidden; border-radius: 24px; color: #EFE9E1; background: #292622; text-decoration: none; }
.k-story-image img { display: block; width: 100%; height: 300px; object-fit: cover; object-position: center 43%; }
.k-story-card > div { padding: 32px 40px; align-self: center; }
.k-story-card .k-eyebrow { color: #D5B796; }
.k-story-card h2 { font-family: var(--sc-font-display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; line-height: 1.15; margin: 0 0 14px; max-width: 15ch; }
.k-story-card p:not(.k-eyebrow) { font-size: 16px; line-height: 1.6; margin: 0 0 22px; color: #D4CDC4; }
.k-story-card div > span { font-size: 16px; color: #E5C5A0; text-decoration: underline; text-underline-offset: 5px; }
.k-story-card:hover div > span { color: white; }
.k-story-card:focus-visible { outline: 3px solid var(--k-accent-dark); outline-offset: 5px; }
.k-product-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 12px 0 0; padding: 0; }
.k-product-steps > li { display: flex; flex-direction: column; min-width: 0; }
.k-step-copy { flex: 1; padding: 0 8px 24px; }
.k-step-number { display: inline-block; font-size: 14px; color: var(--k-accent-dark); margin-bottom: 12px; }
.k-step-copy h3 { font-family: var(--sc-font-display); font-size: 24px; line-height: 1.25; font-weight: 400; margin: 0 0 12px; letter-spacing: -.02em; }
.k-step-copy p { font-size: 16px; line-height: 1.6; margin: 0; color: #6B5F51; }
.k-product-steps figure { background: #E7DACA; border-radius: 24px; margin: 0; padding: 24px 20px 18px; text-align: center; }
.k-product-steps img { display: block; width: 100%; max-width: 246px; height: auto; margin: auto; border: 5px solid #292622; border-radius: 29px; box-shadow: 0 12px 28px #221b141c; }
.k-product-steps figcaption { font-size: 14px; line-height: 1.5; color: #6B5F51; margin-top: 16px; }
.k-prelaunch .k-how-end { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 16px; margin: 4px 0 0; padding-bottom: 32px; border-bottom: 1px solid #221b1426; }
.k-prelaunch .k-memory { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.k-memory-art { background: #DDD0BE; border-radius: 28px; padding: 32px; text-align: center; }
.k-memory-art img { display: block; width: min(100%, 244px); height: auto; margin: auto; border-radius: 28px; border: 5px solid #292622; box-shadow: 0 16px 30px #221b1420; }
.k-memory-copy h2 { margin: 0 0 20px; }
.k-memory-features { margin: 24px 0; display: grid; gap: 18px; }
.k-memory-features > div { border-top: 1px solid #221b1426; padding-top: 16px; }
.k-memory-features dt { font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.k-memory-features dd { margin: 0; font-size: 16px; line-height: 1.6; color: #6B5F51; }
.k-prelaunch .k-tiles { gap: 12px; }
.k-prelaunch .k-tiles > div { padding: 22px; }
.k-prelaunch .k-tiles dd { font-size: 15px; line-height: 1.55; }
.k-prelaunch .k-privacy-panel { grid-template-columns: 1fr 1fr; gap: 64px; padding: 32px; border-radius: 24px; border: 1px solid #221b1430; background: #E7DACA; }
.k-privacy-panel h2 { margin: 0; }
.k-privacy-panel p:not(.k-eyebrow) { margin: 0 0 16px; font-size: 16px; line-height: 1.65; }
.k-prelaunch .k-pricing { grid-template-columns: 1fr 1fr; align-items: start; }
.k-pricing > .k-lede { align-self: center; margin: 0; }
.k-pricing .k-plans { grid-column: 1 / -1; gap: 24px; }
.k-prelaunch .k-plan { display: flex; flex-direction: column; gap: 20px; padding: 32px; }
.k-plan .k-plan__name { align-self: flex-start; }
.k-prelaunch .k-plan > p { margin: 0; }
.k-prelaunch .k-plan > p:last-child { margin-top: auto; }
.k-prelaunch .k-plan__price { font-size: 48px; }
.k-prelaunch .k-plan__price small { font-size: 15px; }
.k-prelaunch .k-faq-section { grid-template-columns: .75fr 1.25fr; gap: 64px; padding-top: 32px; border-top: 1px solid #221b1426; align-items: start; }
.k-prelaunch .k-faq summary { font-size: 17px; line-height: 1.45; }
.k-prelaunch .k-faq details > p { font-size: 16px; line-height: 1.65; }
.k-support-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; border-top: 1px solid #221b1426; padding-top: 28px; }
.k-support-row p, .k-support-row h2 { margin: 0; }
.k-support-row a { color: inherit; text-underline-offset: 4px; }
.k-prelaunch .k-refs { margin-top: -32px; font-size: 14px; }
@media (max-width: 1000px) {
  .k-nav { gap: 18px; }
  .k-story-card { margin-inline: 32px; }
  .k-prelaunch .k-memory, .k-section-head, .k-prelaunch .k-faq-section, .k-prelaunch .k-privacy-panel { gap: 32px; }
  .k-step-copy h3 { font-size: 21px; }
  .k-product-steps { gap: 16px; }
  .k-product-steps figure { padding: 18px 12px; }
}
@media (max-width: 820px) {
  .k-bar { flex-wrap: wrap; gap: 12px; padding: 12px 24px; }
  .k-nav { order: 3; width: 100%; justify-content: center; gap: 24px; }
  .k-launch { padding-top: 156px; }
  .k-prelaunch .k-read__wrap { padding-inline: 24px; gap: 44px; }
  .k-story-card { margin-inline: 24px; }
  .k-story-card > div { padding: 24px; }
  .k-prelaunch [id] { scroll-margin-top: 132px; }
  .k-prelaunch .k-faq-section { grid-template-columns: 1fr; gap: 20px; }
  .k-section-head { grid-template-columns: 1fr; gap: 20px; }
  .k-section-head .k-lede { max-width: none; }
}
@media (max-width: 600px) {
  .k-nav { gap: 10px 16px; flex-wrap: wrap; }
  .k-nav a { font-size: 13px; }
  .k-nav a:nth-child(4), .k-nav a:nth-child(5) { text-align: center; }
  .k-launch { padding-top: 180px; }
  .k-story-card { grid-template-columns: 1fr; }
  .k-story-image img { height: 230px; }
  .k-story-card h2 { max-width: none; }
  .k-product-steps { grid-template-columns: 1fr; gap: 32px; }
  .k-step-copy { padding: 0 0 20px; }
  .k-step-copy h3 { font-size: 25px; }
  .k-product-steps img { max-width: 260px; }
  .k-prelaunch .k-how-end { align-items: flex-start; flex-direction: column; }
  .k-prelaunch .k-memory { grid-template-columns: 1fr; gap: 28px; }
  .k-memory-art { order: 2; }
  .k-prelaunch .k-privacy-panel { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .k-prelaunch .k-pricing { grid-template-columns: 1fr; }
  .k-pricing .k-plans { grid-template-columns: 1fr; }
  .k-prelaunch .k-tiles { grid-template-columns: 1fr 1fr; }
  .k-prelaunch .k-tiles > div { padding: 18px; }
  .k-prelaunch [id] { scroll-margin-top: 158px; }
}
@media (max-width: 370px) { .k-prelaunch .k-tiles { grid-template-columns: 1fr; } }

/* The film opens directly in the browser's video player, on request only. */
.k-story-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.k-story-actions a { font-size: 16px; color: #E5C5A0; text-underline-offset: 5px; }
.k-story-actions a:hover { color: white; }
.k-story-actions a:focus-visible { outline: 2px solid #E5C5A0; outline-offset: 5px; }
@media (min-width: 821px) and (max-width: 1100px) { .k-nav { gap: 14px; } .k-nav a { font-size: 13px; } }
@media (max-width: 600px) { .k-nav { max-width: 340px; margin-inline: auto; } }

.k-story-image { display: block; }
.k-story-image:focus-visible { outline: 3px solid #E5C5A0; outline-offset: -5px; }
