/* ==========================================================================
   Ezra product page — layout & showcase
   Shared tokens/chrome: ./shared.css
   Privacy page: ./privacy.css (do not load this file there)
   --------------------------------------------------------------------------
   Repeated UI uses shared primitives. Unique size/color/position lives in
   CSS variables on the element (style="--hue: 180; --h: 40%;").
   ========================================================================== */

/* --- primitives --- */
.grow { flex: 1; }
.row { display: flex; align-items: center; gap: var(--g, 8px); }
.col { display: flex; flex-direction: column; gap: var(--g, 12px); }
.col.center { align-items: center; }
.wrap { flex-wrap: wrap; }
.between { display: flex; justify-content: space-between; }
.nowrap { white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }
.c-faint { color: var(--faint); }
.c-muted { color: var(--muted); }
.c-accent { color: var(--accent-text); }
.c-text { color: var(--text); }
.strong { font-weight: 600; }
.hue { color: oklch(0.68 0.12 var(--hue)); }
.t-10 { font-size: 10px; }
.t-11 { font-size: 11px; }
.t-12 { font-size: 12px; }
.t-13 { font-size: 13px; }
.t-14 { font-size: 14px; }
.t-15 { font-size: 15px; }
.t-16 { font-size: 16px; }
.sans { font-family: 'Instrument Sans', sans-serif; }
.i-11 { font-size: 11px; }
.i-12 { font-size: 12px; }
.i-13 { font-size: 13px; }
.i-14 { font-size: 14px; }
.i-15 { font-size: 15px; }
.i-16 { font-size: 16px; }
.i-17 { font-size: 17px; }
.i-accent { color: var(--accent); }
.lab { width: var(--w, 62px); flex: none; }
.lab-end { width: 30px; text-align: right; font-variant-numeric: tabular-nums; }

.eyebrow {
  font-family: 'Lexend Exa', sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.micro {
  font-family: 'Lexend Exa', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.display {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-size: 56px;
  line-height: 1.02;
  font-weight: 400;
  color: var(--text);
  text-wrap: balance;
}

.display-hero { max-width: 16ch; }
.display-section {
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.04;
}
.display-narrow { max-width: 18ch; }
.display-xl {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.05;
  max-width: 16ch;
  color: var(--text);
  text-wrap: balance;
}

.lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
  text-wrap: pretty;
}
.lede-wide { max-width: 60ch; }
.lede-16 { font-size: 16px; }

.serif-17, .serif-19, .serif-22 {
  font-family: 'Instrument Serif', serif;
  color: var(--text);
}
.serif-17 { font-size: 17px; }
.serif-19 {
  font-size: 19px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.serif-22 { font-size: 22px; }

.chip {
  padding: 4px 9px;
  border-radius: 7px;
  color: oklch(0.78 0.1 var(--hue));
  background: oklch(0.78 0.1 var(--hue) / .16);
}
.chip-sm {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  color: oklch(0.68 0.12 var(--hue));
  background: oklch(0.68 0.12 var(--hue) / 0.16);
  white-space: nowrap;
}

.meter {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
}
.meter-5 { height: 5px; border-radius: 5px; }
.meter-block { display: block; height: 4px; }
.meter-grad {
  background: linear-gradient(90deg, oklch(0.68 0.12 180) 0 22%, oklch(0.68 0.12 245) 22% 52%, var(--line) 52%);
}
.meter-fill {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: var(--c, var(--accent));
}

.spark {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: color-mix(in oklab, var(--accent) 35%, transparent);
}
.spark.peak { background: var(--accent); }
.spark.hue { background: oklch(0.7 0.12 var(--hue)); }
.sparkline {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 54px;
}
.sparkline-sm { height: 46px; margin-top: 4px; }

.swatch {
  display: block;
  flex: none;
  width: var(--s, 7px);
  height: var(--s, 7px);
  border-radius: var(--r, 50%);
  background: var(--c);
}

.tile {
  flex: var(--flex, 1 1 0);
  min-width: 130px;
  background: var(--surface);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  overflow: hidden;
  border-top: 3px solid oklch(0.68 0.12 var(--hue));
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tile-sm {
  min-width: 120px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 10px;
  gap: 8px;
}

.clip-bit {
  position: absolute;
  left: var(--x);
  width: var(--w);
  top: 0;
  bottom: 0;
  border-radius: 3px;
  background: oklch(0.62 0.12 var(--hue) / .85);
}

.card {
  background: var(--surface);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  overflow: hidden;
}
.card-paper { padding: 8px 8px 14px; }
.card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.inset {
  border-radius: 10px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: var(--g, 10px);
}
.inset.is-accent { box-shadow: inset 0 0 0 1px var(--accent); }

.media-16x9 {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.thumb {
  width: 44px;
  height: 26px;
  border-radius: 4px;
  object-fit: cover;
}
.cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.track { flex: 1; height: 3px; border-radius: 3px; background: var(--line); }

/* --- sticky hero --- */
.scroll-track { position: relative; height: 490vh; }

.sticky-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 96px 48px 40px;
  box-sizing: border-box;
  overflow: hidden;
}

.periphery {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  font-family: 'Instrument Sans', sans-serif;
  color: var(--text);
}

.pp-card {
  position: absolute;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  filter: blur(2px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
}
.panel-head-icon { font-size: 13px; color: var(--accent); }

.pp-list { display: flex; flex-direction: column; gap: 12px; padding: 2px 12px; }
.pp-row { display: flex; gap: var(--g, 10px); }
.pp-meta { flex: none; width: 44px; font-size: 10px; display: flex; flex-direction: column; gap: 2px; }
.pp-line { font-size: 12px; line-height: 1.4; font-weight: 500; }
.pp-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px; font-size: 11px; font-weight: 600; }
.pp-player { display: flex; align-items: center; gap: 8px; padding: 9px 12px; }
.pp-svg { display: block; padding: 0 8px; box-sizing: border-box; }
.pp-stack { display: flex; flex-direction: column; gap: var(--g, 7px); padding: 0 12px; font-size: 11px; color: var(--muted); }
.pp-pad { padding: 0 12px; }

.pp-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  filter: blur(1.5px);
}
.pp-ask {
  left: 3%;
  bottom: 34px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent-grad);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 600;
  opacity: 0.5;
}
.pp-search {
  left: 150px;
  top: 56px;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 11px;
  color: var(--muted);
  opacity: 0.42;
}
.kbd {
  padding: 1px 5px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 10px;
}
.pp-actions {
  position: absolute;
  right: 3%;
  bottom: 34px;
  display: flex;
  gap: 8px;
  filter: blur(1.5px);
  opacity: 0.45;
  font-size: 12px;
  font-weight: 600;
}
.pp-btn {
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.slider { height: 3px; border-radius: 3px; background: var(--line); position: relative; }
.slider-knob {
  position: absolute;
  top: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

/* --- timeline --- */
.timeline-stage {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.stage-head,
.stage-head-alt {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Lexend Exa', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.stage-head-alt { opacity: 0; }
.stage-head-title { color: var(--text); }
.stage-head-meta { color: var(--accent-text); font-variant-numeric: tabular-nums; }
.stage-head-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 48px, var(--line) calc(100% - 48px), transparent);
}

.ruler { position: absolute; left: 0; right: 0; top: 40px; height: 34px; }
.ruler-labels {
  position: absolute;
  left: 0; right: 0; top: 0; height: 16px;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 11px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.ruler-label { position: absolute; white-space: nowrap; line-height: 16px; }
.ruler-ticks { position: absolute; left: 0; right: 0; bottom: 0; height: 16px; }
.ruler-tick { position: absolute; bottom: 0; width: 1px; background: var(--line); }
.ruler-baseline { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }

.lane {
  position: absolute;
  left: 0; right: 0; top: 0; height: 0;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1.5px dashed var(--line);
  background: var(--surface-2);
  opacity: 0;
  pointer-events: none;
}

.cam-layer { position: absolute; inset: 0; overflow: hidden; font-family: 'Instrument Sans', sans-serif; }

.ch {
  position: absolute;
  left: 0; top: 0; width: 0; height: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  will-change: transform;
}
.ch-fill { position: absolute; inset: 0; background: var(--clip); }
.ch-topbar { position: absolute; left: 0; right: 0; top: 0; height: 3px; opacity: 0; }
.ch-abs { position: absolute; inset: 0; }
.ch-file {
  position: absolute;
  left: 8px; right: 8px; top: 0; height: 24px;
  display: flex; align-items: center;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--clip-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ch-poster {
  position: absolute;
  left: 0; top: 24px; bottom: 54%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--clip-line);
}
.ch-rule { position: absolute; left: 0; right: 0; top: 46%; height: 1px; background: var(--clip-line); }
.ch-wave {
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 50%;
  display: flex; align-items: flex-end; gap: 2px;
  padding: 0 1px;
  box-sizing: border-box;
  transform-origin: bottom;
}
.wave-bar { flex: 1; background: var(--wave); border-radius: 1px 1px 0 0; }
.ch-panel {
  position: absolute;
  inset: 0;
  padding: 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
}
.ch-panel-c { gap: 10px; }
.ch-title {
  font-family: 'Instrument Serif', serif;
  font-size: 22px;
  color: var(--text);
  white-space: nowrap;
}
.ch-tb { width: 34px; height: 26px; flex: none; }
.ch-bar { position: relative; height: 3px; border-radius: 2px; background: var(--line); }
.ch-bar-fill { position: absolute; top: 0; bottom: 0; border-radius: 2px; }
.tag { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; }
.take {
  padding: 10px;
  border-radius: 8px;
  background: var(--surface-2);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.take-thumb { position: relative; width: 48px; height: 28px; flex: none; }
.cam-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.take-text { font-size: 13px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.ch-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 56px;
  background: linear-gradient(transparent, var(--surface));
  pointer-events: none;
}
.ch-arrow {
  position: absolute;
  left: 0; top: 0;
  font-size: 14px;
  color: var(--faint);
  opacity: 0;
}
.fly {
  position: absolute;
  left: 0; top: 0; width: 0; height: 0;
  overflow: hidden;
  pointer-events: none;
  will-change: transform, width, height;
  box-sizing: border-box;
}
.fly-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: var(--accent);
  opacity: 0;
}

.grab-cursor {
  position: absolute;
  left: 0; top: 0; z-index: 3;
  font-size: 30px;
  color: var(--text);
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.45));
  opacity: 0;
  pointer-events: none;
}

.playhead {
  position: absolute;
  left: 0; top: 40px;
  width: 1px; height: 0;
  background: var(--text);
  pointer-events: none;
}
.playhead-cap {
  position: absolute;
  left: -5px; top: 0;
  width: 11px; height: 8px;
  border-radius: 2px 2px 6px 6px;
  background: var(--text);
}

.player {
  position: relative;
  z-index: 1;
  flex: none;
  width: 100%;
  max-width: 900px;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Instrument Sans', sans-serif;
}
.play-btn {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn:hover { box-shadow: inset 0 0 0 1px var(--accent), var(--shadow); }
[data-picon] { font-size: 15px; color: var(--text); }
.scrub-track { position: relative; flex: 1 1 auto; min-width: 0; height: 6px; display: flex; }
.pseg { position: relative; min-width: 0; height: 100%; overflow: hidden; background: var(--line); }
.pcol { position: absolute; inset: 0; opacity: 0; }
.pplay { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); }
.pplayc { position: absolute; left: 0; top: 0; bottom: 0; width: 0; opacity: 0; }
.scrub-hit {
  position: absolute;
  left: -7px; right: -7px; top: -14px; bottom: -14px;
  cursor: pointer;
  touch-action: none;
}
.scrub-knob {
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--ring-soft), 0 1px 3px rgba(0,0,0,.3);
  pointer-events: none;
}
.tc {
  flex: none;
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  white-space: nowrap;
}
.tc-sep { color: var(--faint); margin: 0 8px; }

.step-copy {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  height: 220px;
  width: 100%;
  max-width: 760px;
  margin: 28px auto 0;
}
.step {
  position: absolute;
  left: 0; right: 0; top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.step.is-hidden { opacity: 0; }
.bridge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
}
.bridge-text {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.05;
  color: var(--accent-text);
  text-wrap: balance;
}
.step-rail {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.rail-dot { all: unset; cursor: pointer; padding: 10px 0; display: flex; }
.rail-bar {
  display: block;
  width: 28px; height: 3px;
  border-radius: 3px;
  background: var(--line);
  transition: width .4s, background .4s;
}

.final-band {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 120px;
  box-sizing: border-box;
  text-align: center;
}

/* --- showcase --- */
.showcase {
  display: flex;
  flex-direction: column;
  gap: clamp(96px, 14vw, 180px);
  padding: 40px clamp(20px, 5vw, 56px) 80px;
  font-family: 'Instrument Sans', sans-serif;
  color: var(--text);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}
.reveal-hero { max-width: 1200px; display: flex; flex-direction: column; gap: 40px; }
.reveal-split {
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 759px) {
  .reveal-split > .copy { order: -1; }
}
.reveal-stack { max-width: 1100px; display: flex; flex-direction: column; gap: 48px; }

.copy { display: flex; flex-direction: column; gap: 14px; }
.copy-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--g, 14px);
}

.ws-wrap { position: relative; }
.ws-card {
  transform-origin: top left;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  overflow: hidden;
}
.ws-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  box-shadow: inset 0 -1px 0 var(--line);
}
.ws-logo {
  font-family: 'Lexend Exa', sans-serif;
  font-size: 13px;
  letter-spacing: .3em;
  background: var(--logo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.seg { display: flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--surface-2); }
.seg-off { padding: 5px 12px; font-size: 12px; color: var(--muted); }
.seg-on {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 7px;
  background: var(--accent-grad);
  color: var(--on-accent);
}
.ws-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 10px;
  padding: 10px;
  background: var(--surface-2);
}
.pane {
  background: var(--surface);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  min-width: 0;
}
.pane-span { grid-column: 1 / -1; }
.sel-bar {
  margin: 0 10px 8px;
  padding: 7px 10px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1.5px var(--accent);
  font-size: 11px;
  color: var(--text);
  display: flex;
  gap: 8px;
  align-items: center;
}
.tr-row { display: flex; gap: 12px; padding: 6px 10px; border-radius: 8px; }
.tr-row.is-sel {
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 40%, transparent);
}
.tr-meta { flex: none; width: 46px; font-size: 10px; line-height: 1.5; }
.strike { text-decoration: line-through; color: var(--faint); }
.nav-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.ws-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 8px;
  box-shadow: inset 0 -1px 0 var(--line);
}
.tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.tab.is-on { background: var(--surface-2); color: var(--text); }

.num {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--on-accent);
  background: oklch(0.62 0.12 var(--hue));
}
.pe-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
}
.pe-line.is-focus {
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(0,0,0,.22), inset 0 0 0 1.5px var(--accent);
  transform: rotate(-1.2deg) translateX(10px);
}
.pe-mark {
  width: 3px;
  align-self: stretch;
  border-radius: 3px;
  background: oklch(0.68 0.12 var(--hue));
}
.pe-tc {
  text-align: right;
  font-size: 10px;
  line-height: 1.5;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sq {
  width: 20px; height: 20px;
  border-radius: 5px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.moment {
  background: var(--surface);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  overflow: hidden;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.arc-sub { font-size: 13px; color: var(--muted); margin: 6px 0 12px; }
.arc-plot { border-radius: 10px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.arc-svg { display: block; font-family: 'Instrument Sans', sans-serif; }
.arc-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 1.8s cubic-bezier(.4,0,.2,1) .2s;
}

.ico-box {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-btn {
  all: unset;
  cursor: pointer;
  box-sizing: border-box;
  width: 34px; height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
}
.cuts-n {
  min-width: 14px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.fw-btn {
  all: unset;
  cursor: pointer;
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--line);
}
.extra-cut {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px;
}
.lane-id { width: 22px; font-size: 10px; color: var(--faint); }
.nle-lane { flex: 1; position: relative; height: 18px; }
.nle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.nle-btn {
  all: unset;
  cursor: pointer;
  box-sizing: border-box;
  padding: 10px 8px;
  border-radius: 9px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-2);
}
.ghost-btn {
  padding: 10px 16px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line);
}
.cta-btn {
  padding: 10px 18px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  background: var(--accent-grad);
  color: var(--on-accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.rule-v { width: 1px; height: 80px; background: linear-gradient(transparent, var(--line)); }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  column-gap: 56px;
}
.feat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 0;
  box-shadow: inset 0 1px 0 var(--line);
}
.feat-title {
  margin: 0;
  font-family: 'Instrument Serif', serif;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 400;
  color: var(--text);
}

.ez-failure {
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 8px;
}
.ez-failure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  column-gap: 40px;
}
.ez-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px clamp(20px, 5vw, 56px) 0;
  scroll-margin-top: 88px;
}
.ez-cta-close {
  padding: 8px 0 0;
}
.ez-cta-beta .kl-form {
  align-items: center;
  text-align: center;
}
.ez-cta-beta .kl-form-label {
  width: max-content;
  max-width: 100%;
  text-align: center;
}
.ez-cta-beta .display-section {
  max-width: 16ch;
}
.ez-cta-beta .kl-form-note {
  width: auto;
  min-width: 0;
  text-align: center;
  align-self: stretch;
}

.ez-footer {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  padding: 28px clamp(20px, 5vw, 56px) 48px;
  box-shadow: inset 0 1px 0 var(--line);
}
.ez-footer-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}
.ez-footer-copy a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ez-footer-dot { color: var(--faint); }

.kl-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: fit-content;
  max-width: min(36rem, 100%);
  text-align: left;
}
.kl-form-label {
  font-family: 'Lexend Exa', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-text);
}
.kl-form-row { display: flex; gap: 8px; flex-wrap: wrap; }
.kl-input {
  width: 290px;
  max-width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
}
.kl-input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.kl-input::placeholder { color: var(--faint); }
.kl-submit {
  height: 48px;
  padding: 0 21px;
  border: none;
  border-radius: 3px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.kl-submit:disabled { opacity: 0.7; cursor: default; }
.kl-submit.is-sending { opacity: 0.55; cursor: wait; }
a.kl-submit-link {
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}
.kl-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.kl-form-note {
  margin: 0 0 0.35rem;
  width: 0;
  min-width: 100%;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--muted);
}
.kl-form-legal {
  margin: 0.35rem 0 0;
  width: 0;
  min-width: 100%;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--muted);
}
.kl-form-legal a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.kl-form-status {
  margin: 0.45rem 0 0;
  width: 0;
  min-width: 100%;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--accent-text);
  white-space: pre-line;
}
.kl-form-status.is-error { color: #e07070; }

@media (max-width: 720px) {
  .kl-form, .kl-form-row { width: 100%; }
  .kl-form-legal, .kl-form-status, .kl-form-note { width: auto; min-width: 0; max-width: 100%; }
  .kl-input { width: 100%; }
}
