/* Finkut public site — landing, features, pricing, account, legal.
   Dark editorial system: ink background, gold from the fox mark, mint for data. */

:root {
  color-scheme: dark;
  --bg: #06080d;
  --bg-2: #0a0e16;
  --surface: #0e131d;
  --surface-2: #131a27;
  --surface-3: #1a2333;
  --line: rgba(166, 184, 212, .10);
  --line-2: rgba(166, 184, 212, .17);
  --line-3: rgba(166, 184, 212, .26);
  --text: #eef2f7;
  --text-2: #b9c3d0;
  --muted: #7f8b9c;
  --faint: #566174;
  --gold: #e4b968;
  --gold-2: #f5dca3;
  --gold-deep: #a9802f;
  --gold-ink: #170f02;
  --signal: var(--green, #27e6b5);
  --mint: #3ddca8;
  --rose: #ff7f70;
  --sky: #78aaff;
  --violet: #a78bfa;
  --amber: #f3b74f;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shell: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px var(--line);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.s-body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.s-body::before { /* film grain keeps large dark areas from banding */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.s-body > * { position: relative; z-index: 1; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(228, 185, 104, .32); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.s-skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--gold); color: var(--gold-ink); font-weight: 700; text-decoration: none; }
.s-skip:focus { top: 12px; }

.s-shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.s-shell--narrow { width: min(860px, calc(100% - 48px)); margin-inline: auto; }
@media (max-width: 640px) { .s-shell, .s-shell--narrow { width: calc(100% - 32px); } }

/* Type ------------------------------------------------------------------ */
.s-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px;
  color: var(--gold);
  font: 600 12px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.s-eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.s-eyebrow--plain::before { display: none; }
.s-eyebrow .s-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(39, 230, 181, .14); animation: s-pulse 2.4s ease-in-out infinite; }
@keyframes s-pulse { 50% { box-shadow: 0 0 0 7px rgba(39, 230, 181, 0); } }

.s-display, .s-h1, .s-h2, .s-h3 { margin: 0; color: var(--text); font-weight: 400; text-wrap: balance; }
.s-display { font: 400 clamp(52px, 8.4vw, 118px)/.94 var(--serif); letter-spacing: -.025em; }
.s-h1 { font: 400 clamp(44px, 6.4vw, 86px)/.98 var(--serif); letter-spacing: -.02em; }
.s-h2 { font: 400 clamp(36px, 4.6vw, 62px)/1.02 var(--serif); letter-spacing: -.015em; }
.s-h3 { font: 600 clamp(20px, 1.8vw, 24px)/1.25 var(--sans); letter-spacing: -.02em; }
.s-display em, .s-h1 em, .s-h2 em { font-style: italic; color: var(--gold-2); }
.s-accent { position: relative; display: inline-block; font-style: italic; color: transparent; background: linear-gradient(100deg, var(--gold-2) 0%, var(--gold) 45%, #fff2d2 60%, var(--gold) 80%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; animation: s-sheen 7s ease-in-out infinite; padding: 0 .08em .14em 0; margin-bottom: -.14em; }
@keyframes s-sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.s-lede { max-width: 620px; margin: 26px 0 0; color: var(--text-2); font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; text-wrap: pretty; }
.s-muted { color: var(--muted); }
.s-mono { font-family: var(--mono); }

/* Buttons --------------------------------------------------------------- */
.s-btn {
  --btn-bg: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--btn-bg); color: var(--text);
  font: 600 15px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s, color .25s;
}
.s-btn:hover { transform: translateY(-1px); border-color: var(--line-3); }
.s-btn:active { transform: translateY(0); }
.s-btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.s-btn:hover svg { transform: translateX(3px); }
.s-btn--gold {
  border-color: transparent;
  background: linear-gradient(180deg, #f2d08b, var(--gold) 55%, #d29f45);
  color: var(--gold-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 10px 30px -10px rgba(228, 185, 104, .55);
}
.s-btn--gold:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 16px 40px -12px rgba(228, 185, 104, .75); }
.s-btn--ghost { background: transparent; }
.s-btn--ghost:hover { background: rgba(255, 255, 255, .04); }
.s-btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.s-btn--block { width: 100%; }
.s-btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.s-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-weight: 600; text-decoration: none; }
.s-link::after { content: "→"; transition: transform .25s var(--ease); }
.s-link:hover::after { transform: translateX(4px); }

/* Header ---------------------------------------------------------------- */
.s-header { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.s-header.is-scrolled { background: rgba(6, 8, 13, .72); border-bottom-color: var(--line); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); }
.s-nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.s-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; flex-shrink: 0; }
.s-brand img.brand-mark { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(228, 185, 104, .25)); }
.s-brand img.brand-logo-image { height: 34px; width: auto; }
.s-brand .brand-text { font: 600 19px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.s-menu { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.s-menu > a, .s-menu > .s-drop > button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font-size: 14.5px; font-weight: 500; text-decoration: none; cursor: pointer; transition: color .2s, background .2s; }
.s-menu > a:hover, .s-menu > .s-drop > button:hover, .s-menu > .s-drop.is-open > button { color: var(--text); background: rgba(255, 255, 255, .05); }
.s-menu > a[aria-current="page"] { color: var(--text); }
.s-drop { position: relative; }
.s-drop > button svg { width: 12px; height: 12px; transition: transform .25s; }
.s-drop.is-open > button svg { transform: rotate(180deg); }
.s-drop-panel {
  position: absolute; left: -24px; top: calc(100% + 12px);
  width: 640px; padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  border: 1px solid var(--line-2); border-radius: 18px;
  background: rgba(13, 17, 26, .96); backdrop-filter: blur(20px);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.s-drop.is-open .s-drop-panel { opacity: 1; visibility: visible; transform: none; }
.s-drop-panel a { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.s-drop-panel a:hover, .s-drop-panel a:focus-visible { background: rgba(255, 255, 255, .045); }
.s-drop-panel b { display: block; color: var(--text); font-size: 14px; font-weight: 600; }
.s-drop-panel small { display: block; margin-top: 3px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.s-drop-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 12px 12px 4px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.s-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.s-actions .s-signin { padding: 0 12px; color: var(--text-2); font-size: 14.5px; font-weight: 500; text-decoration: none; }
.s-actions .s-signin:hover { color: var(--text); }
/* Log out is a form (POST), styled like the links beside it. */
.s-logout { display: contents; }
.s-logout button { font-family: inherit; cursor: pointer; }
.s-logout .s-signin { background: none; border: 0; }
.s-burger { display: none; width: 42px; height: 42px; margin-left: 4px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; cursor: pointer; }
.s-burger span { display: block; width: 16px; height: 1.5px; margin: 4px auto; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.s-burger[aria-expanded="true"] span:first-child { transform: translateY(2.75px) rotate(45deg); }
.s-burger[aria-expanded="true"] span:last-child { transform: translateY(-2.75px) rotate(-45deg); }

.s-ficon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01)); color: var(--tone, var(--gold)); }
.s-ficon svg { width: 18px; height: 18px; }
[data-tone="gold"] { --tone: var(--gold); --tone-soft: rgba(228, 185, 104, .14); }
[data-tone="mint"] { --tone: var(--mint); --tone-soft: rgba(61, 220, 168, .13); }
[data-tone="sky"] { --tone: var(--sky); --tone-soft: rgba(120, 170, 255, .14); }
[data-tone="violet"] { --tone: var(--violet); --tone-soft: rgba(167, 139, 250, .15); }
[data-tone="rose"] { --tone: var(--rose); --tone-soft: rgba(255, 127, 112, .13); }

@media (max-width: 980px) {
  .s-burger { display: block; }
  .s-actions .s-signin, .s-actions .s-btn { display: none; }
  .s-menu {
    position: fixed; inset: 72px 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    max-height: calc(100dvh - 72px); overflow: auto;
    padding: 12px 16px 24px;
    background: rgba(6, 8, 13, .98); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .s-header.is-menu-open .s-menu { opacity: 1; visibility: visible; transform: none; }
  .s-header.is-menu-open { background: rgba(6, 8, 13, .98); }
  .s-menu > a, .s-menu > .s-drop > button { width: 100%; height: 50px; justify-content: space-between; font-size: 17px; border-radius: 12px; }
  .s-drop-panel { position: static; width: auto; grid-template-columns: 1fr; padding: 4px 0 8px; border: 0; background: none; box-shadow: none; display: none; opacity: 1; visibility: visible; transform: none; }
  .s-drop.is-open .s-drop-panel { display: grid; }
  .s-drop-foot { display: none; }
  .s-menu-cta { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
}
.s-menu-cta { display: none; }

/* Sections --------------------------------------------------------------- */
.s-section { position: relative; padding: clamp(88px, 11vw, 150px) 0; overflow-x: clip; }
.s-section--tight { padding: clamp(64px, 8vw, 100px) 0; }
.s-section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 48px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.s-section-head p { margin: 0; color: var(--text-2); font-size: 18px; line-height: 1.65; max-width: 470px; }
.s-section-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.s-section-head--center p { max-width: 620px; }
@media (max-width: 860px) { .s-section-head { grid-template-columns: 1fr; gap: 20px; } }
.s-rule { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* Reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } .s-accent { animation: none; } }

/* Hero ------------------------------------------------------------------- */
.s-hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 0; overflow-x: clip; overflow-y: visible; isolation: isolate; }
.s-hero__glow { position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 22% 18%, rgba(228, 185, 104, .16), transparent 70%),
    radial-gradient(36% 44% at 82% 12%, rgba(61, 220, 168, .10), transparent 70%),
    radial-gradient(50% 60% at 60% 70%, rgba(120, 170, 255, .07), transparent 70%);
  filter: blur(10px);
  mask-image: linear-gradient(#000 45%, transparent 85%);
  -webkit-mask-image: linear-gradient(#000 45%, transparent 85%);
}
.s-hero__grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 75%);
}
.s-hero__copy { position: relative; max-width: 1000px; }
.s-hero__copy .s-display { max-width: 15ch; }
.s-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 38px; }
.s-hero__note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 22px 0 0; color: var(--muted); font-size: 14px; }
.s-hero__note span { display: inline-flex; align-items: center; gap: 8px; }
.s-hero__note span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: rgba(61, 220, 168, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.5 2.4L12 5.4' fill='none' stroke='%233ddca8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.s-hero__stage { position: relative; margin-top: clamp(56px, 7vw, 88px); perspective: 2000px; }
.s-hero__stage .s-media { transform: rotateX(var(--tilt, 14deg)) scale(var(--scale, .96)); transform-origin: 50% 0; transition: transform .2s linear; }
.s-hero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; z-index: 3; }
.s-float { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(16, 22, 33, .86); backdrop-filter: blur(14px); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .5s var(--ease); }
.s-float .s-ficon { width: 34px; height: 34px; }
.s-float small { display: block; color: var(--muted); font: 600 10.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.s-float b { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 600; }
.s-float--a { left: -2%; top: 18%; animation: s-bob 7s ease-in-out infinite; }
.s-float--b { right: -2%; top: 8%; animation: s-bob 8s ease-in-out -2s infinite; }
.s-float--c { right: 6%; bottom: 26%; animation: s-bob 9s ease-in-out -4s infinite; }
@keyframes s-bob { 50% { translate: 0 -10px; } }
@media (max-width: 860px) { .s-float { display: none; } .s-hero__stage .s-media { transform: none; } }
@media (prefers-reduced-motion: reduce) { .s-float { animation: none; } .s-hero__stage .s-media { transform: none; } }

/* Tape ---------------------------------------------------------------------- */
.s-tape { position: relative; padding: 26px 0; border-block: 1px solid var(--line); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.s-tape__track { display: flex; gap: 56px; width: max-content; animation: s-marquee 48s linear infinite; }
.s-tape:hover .s-tape__track { animation-play-state: paused; }
.s-tape__item { display: inline-flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 15px; white-space: nowrap; }
.s-tape__item b { color: var(--tone, var(--gold)); font: 600 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border: 1px solid var(--line-2); border-radius: 6px; }
@keyframes s-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .s-tape__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 14px; } .s-tape__item[aria-hidden] { display: none; } }

/* Problem ------------------------------------------------------------------- */
.s-problem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.s-problem__copy p { color: var(--text-2); font-size: 18px; line-height: 1.7; margin: 24px 0 0; max-width: 520px; }
.s-problem__copy p.s-statement { color: var(--text); font: 400 26px/1.35 var(--serif); }
.s-tabs-viz { position: relative; height: 420px; }
.s-tabs-viz__tab { position: absolute; left: 50%; top: 50%; width: min(300px, 70%); padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
  transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r));
  transition: transform 1.2s var(--ease), opacity .8s; }
.s-tabs-viz__tab small { color: var(--tone); font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.s-tabs-viz__tab b { display: block; margin-top: 8px; font-size: 15px; font-weight: 600; }
.s-tabs-viz__tab span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.s-tabs-viz.is-in .s-tabs-viz__tab { transform: translate(-50%, -50%) translate(0, calc(var(--i) * 74px - 148px)) rotate(0deg); }
.s-tabs-viz__thread { position: absolute; left: calc(50% - min(150px, 35%) - 22px); top: 50%; width: 2px; height: 0; transform: translateY(-50%); background: linear-gradient(var(--gold), var(--mint)); border-radius: 2px; transition: height 1.2s .5s var(--ease); }
.s-tabs-viz.is-in .s-tabs-viz__thread { height: 320px; }
@media (max-width: 860px) { .s-problem { grid-template-columns: 1fr; } .s-tabs-viz { height: 400px; } }

/* Bento ---------------------------------------------------------------------- */
.s-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); grid-auto-flow: dense; gap: 16px; }
.s-card {
  position: relative; display: flex; flex-direction: column;
  padding: 26px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008)), var(--bg-2);
  text-decoration: none; overflow: hidden; isolation: isolate;
  transition: border-color .35s, transform .45s var(--ease);
}
.s-card::before { /* spotlight follows the cursor */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--tone-soft, rgba(228, 185, 104, .12)), transparent 60%);
}
.s-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.s-card:hover::before { opacity: 1; }
.s-card__tag { display: inline-flex; align-items: center; gap: 10px; color: var(--tone, var(--gold)); font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.s-card h3 { margin: 16px 0 8px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.s-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; max-width: 46ch; }
.s-card__viz { margin-top: auto; padding-top: 22px; }
.s-card__more { position: absolute; right: 20px; top: 20px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text-2); transition: transform .35s var(--ease), background .3s, color .3s; }
.s-card__more svg { width: 14px; height: 14px; }
.s-card:hover .s-card__more { transform: rotate(-45deg); background: var(--tone, var(--gold)); color: #0a0c10; border-color: transparent; }
.s-card--xl { grid-column: span 2; grid-row: span 2; }
.s-card--wide { grid-column: span 2; }
@media (max-width: 1060px) { .s-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .s-bento { grid-template-columns: 1fr; } .s-card--xl, .s-card--wide { grid-column: auto; grid-row: auto; } }

/* Mini visuals inside cards */
.v-bars { display: flex; align-items: flex-end; gap: 6px; height: 74px; }
.v-bars i { flex: 1; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, var(--tone), transparent); opacity: .85; height: var(--h); transform-origin: bottom; }
.is-in .v-bars i, .s-card:hover .v-bars i { animation: v-grow .9s var(--ease) both; animation-delay: calc(var(--n) * 60ms); }
@keyframes v-grow { from { transform: scaleY(.1); } }
.v-lines { width: 100%; height: 90px; }
.v-lines path { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 0; }
.is-in .v-lines path { animation: v-draw 2s var(--ease) both; }
@keyframes v-draw { from { stroke-dashoffset: 600; } }
.v-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v-chips span { padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 12.5px; background: rgba(255, 255, 255, .02); }
.v-chips span b { color: var(--tone); font-weight: 600; }
.v-rows { display: grid; gap: 8px; }
.v-rows div { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; gap: 10px; color: var(--text-2); font: 500 12px/1 var(--mono); }
.v-rows div i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--tone), transparent); width: var(--w); }
.v-rows div em { font-style: normal; text-align: right; color: var(--tone); }

/* Real product crop inside a card */
.s-card--wide .v-shot { min-height: 220px; max-height: 300px; }
.v-shot { position: relative; margin: 0 -26px -26px; border-top: 1px solid var(--line-2); overflow: hidden; height: 100%; min-height: 260px; max-height: 360px; mask-image: linear-gradient(#000 70%, transparent); -webkit-mask-image: linear-gradient(#000 70%, transparent); }
.v-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transform: scale(1.02); transform-origin: top left; transition: transform .8s var(--ease); }
.s-card:hover .v-shot img { transform: scale(1.05); }
.s-card--xl .s-card__viz { display: flex; flex: 1; flex-direction: column; margin-top: 22px; padding-top: 0; }
.s-card--xl .v-shot { flex: 1; max-height: none; }

/* Congress / analyst / reflex card visuals */
.v-cong { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.v-cong small { display: block; color: var(--muted); font: 600 10px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.v-cong b { display: block; margin-top: 4px; font: 400 34px/1 var(--serif); }
.v-cong > div:last-child { text-align: right; }
.v-cong__bar { height: 8px; border-radius: 4px; background: var(--rose); overflow: hidden; }
.v-cong__bar i { display: block; height: 100%; width: var(--w); background: var(--mint); }
.v-rating { display: flex; height: 12px; border-radius: 6px; overflow: hidden; gap: 2px; }
.v-rating span { width: var(--w); background: var(--mint); }
.v-rating span:nth-child(2) { background: var(--amber); }
.v-rating span:nth-child(3) { background: var(--rose); }
.v-rows--reflex div { grid-template-columns: 48px 1fr 70px; }

/* The small things */
.s-details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.s-detail { padding: 26px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-2); }
.s-detail h3 { margin: 18px 0 8px; font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.s-detail p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 1060px) { .s-details { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .s-details { grid-template-columns: 1fr; } }

/* Filing hero card visual */
.v-filing { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.v-filing > div { padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.v-filing small { display: block; color: var(--muted); font: 600 10px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.v-filing strong { display: block; margin-top: 8px; font: 600 22px/1 var(--sans); letter-spacing: -.02em; }
.v-filing em { display: block; margin-top: 6px; font-style: normal; font: 600 12px/1 var(--mono); }
.v-lens { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.v-lens span { padding: 7px 10px; border-radius: 8px; color: var(--muted); font-size: 12px; border: 1px solid transparent; }
.v-lens span.on { color: var(--gold-2); border-color: rgba(228, 185, 104, .35); background: rgba(228, 185, 104, .08); }
@media (max-width: 480px) { .v-filing { grid-template-columns: 1fr 1fr; } .v-filing > div:last-child { display: none; } }

/* Story (sticky scroll) -------------------------------------------------------- */
.s-story { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.s-story__steps { display: grid; gap: 0; }
.s-step { padding: 34px 0 34px 28px; border-left: 1px solid var(--line-2); min-height: 52vh; display: flex; flex-direction: column; justify-content: center; position: relative; transition: opacity .4s; opacity: .38; }
.s-step::before { content: ""; position: absolute; left: -1px; top: 34px; bottom: 34px; width: 2px; background: linear-gradient(var(--gold), var(--mint)); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.s-step.is-active { opacity: 1; }
.s-step.is-active::before { transform: scaleY(1); }
.s-step__num { color: var(--gold); font: 600 12px/1 var(--mono); letter-spacing: .14em; }
.s-step h3 { margin: 14px 0 12px; font: 400 clamp(28px, 2.8vw, 38px)/1.1 var(--serif); letter-spacing: -.01em; }
.s-step p { margin: 0; color: var(--text-2); font-size: 16.5px; line-height: 1.65; max-width: 440px; }
.s-step .s-link { margin-top: 18px; font-size: 14.5px; }
.s-story__stage { position: sticky; top: 108px; }
.s-story__frames { position: relative; }
.s-story__frame { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.s-story__frame:not(:first-child) { position: absolute; inset: 0; }
.js .s-story__frame { opacity: 0; transform: translateY(14px) scale(.985); pointer-events: none; }
.js .s-story__frame.is-active { opacity: 1; transform: none; pointer-events: auto; }
.s-story__mobile-media { display: none; }
.s-step__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
@media (max-width: 960px) {
  .s-story { grid-template-columns: minmax(0, 1fr); }
  .s-story__steps { grid-template-columns: minmax(0, 1fr); }
  .s-story .s-step { min-width: 0; }
  .s-story__stage { display: none; }
  .s-story .s-step { min-height: 0; opacity: 1; padding: 28px 0 28px 22px; }
  .s-step::before { transform: scaleY(1); }
  .s-story__mobile-media { display: block; margin-top: 22px; }
}

/* Features index: screen → read → ask → stay close */
.s-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: flow; }
.s-flow__step { position: relative; }
.s-flow__step:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: 52px; right: -14px; height: 1px; background: linear-gradient(90deg, rgba(228, 185, 104, .55), rgba(61, 220, 168, .35)); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); transition-delay: var(--d, 0s); }
.s-flow.is-in .s-flow__step::after { transform: scaleX(1); }
.s-flow__link { display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
.s-flow__num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(228, 185, 104, .45); color: var(--gold-2); font: 600 12px/1 var(--mono); background: var(--bg); position: relative; z-index: 1; }
.s-flow__step h3 { margin: 0; font: 400 24px/1.15 var(--serif); letter-spacing: -.01em; }
.s-flow__step .s-media { transition: transform .5s var(--ease), border-color .3s; }
.s-flow__link:hover .s-media, .s-flow__link:focus-visible .s-media { transform: translateY(-4px); border-color: rgba(228, 185, 104, .45); }
.s-flow__step .s-media__body img { object-position: top left; }
@media (max-width: 1060px) { .s-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; } .s-flow__step:nth-child(2)::after { display: none; } }
@media (max-width: 600px) { .s-flow { grid-template-columns: 1fr; } .s-flow__step::after { display: none; } }

/* Media frame (video/GIF ready) --------------------------------------------- */
.s-media { position: relative; margin: 0; border-radius: 18px; border: 1px solid var(--line-2); background: #0b1018; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4); overflow: hidden; }
.s-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.s-media__chrome { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #121926, #0e141f); }
.s-media__chrome > span { width: 10px; height: 10px; border-radius: 50%; background: #2a3343; }
.s-media__chrome > span:nth-child(1) { background: #3a2c2c; }
.s-media__chrome b { flex: 1; overflow: hidden; margin: 0 8px; color: var(--muted); font: 500 12px/1 var(--mono); text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.s-media__chrome i { color: var(--faint); font: 600 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; font-style: normal; }
.s-media__body { position: relative; aspect-ratio: var(--ratio, 16 / 10); overflow: hidden; }
.s-media__body > video, .s-media__body > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.s-media__toggle { position: absolute; right: 14px; bottom: 14px; z-index: 5; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(8, 11, 17, .7); color: var(--text); cursor: pointer; backdrop-filter: blur(8px); }
.s-media__toggle svg { width: 14px; height: 14px; }
.s-media__toggle .i-play { display: none; }
.s-media__toggle.is-paused .i-play { display: block; }
.s-media__toggle.is-paused .i-pause { display: none; }
.s-media figcaption { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.s-media--flat { box-shadow: none; }
@media (max-width: 640px) { .s-media { border-radius: 14px; } .s-media__body { aspect-ratio: var(--ratio-sm, 4 / 5); } }

/* ===== Product mocks (illustrative HTML previews) ===== */
.mk { position: absolute; inset: 0; display: flex; color: var(--text); font-size: 13px; line-height: 1.45; background: radial-gradient(120% 80% at 100% 0%, rgba(228, 185, 104, .05), transparent 60%), #0b1018; }
.mk * { min-width: 0; }
.mk-badge { display: inline-flex; align-items: center; justify-content: center; padding: 4px 8px; border-radius: 6px; font: 700 11px/1 var(--mono); letter-spacing: .04em; }
.mk-badge--violet { background: rgba(167, 139, 250, .18); color: #cbbcff; }
.mk-badge--gold { background: rgba(228, 185, 104, .16); color: var(--gold-2); }
.mk-badge--mint { background: rgba(61, 220, 168, .14); color: #8ff0cc; }
.mk-badge--rose { background: rgba(255, 127, 112, .15); color: #ffb0a6; }
.mk-badge--sky { background: rgba(120, 170, 255, .15); color: #b5ceff; }
.mk-side { flex: 0 0 26%; max-width: 220px; padding: 18px 14px; border-right: 1px solid var(--line); background: rgba(255, 255, 255, .012); }
.mk-side small, .mk-label { display: block; color: var(--faint); font: 600 10px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.mk-side a, .mk-side span.mk-item { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 8px 10px; border-radius: 8px; color: var(--muted); font-size: 12.5px; text-decoration: none; }
.mk-side .is-on { color: var(--text); background: rgba(255, 255, 255, .05); box-shadow: inset 2px 0 0 var(--gold); }
.mk-side em { font-style: normal; color: var(--faint); font: 600 10px/1 var(--mono); }
.mk-main { flex: 1; padding: 20px 22px; overflow: hidden; }
.mk-head { display: flex; align-items: center; gap: 12px; }
.mk-head h4 { margin: 0; font-size: 15px; font-weight: 600; }
.mk-head p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.mk-head .mk-spacer { flex: 1; }
.mk-btn { padding: 7px 11px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 11.5px; white-space: nowrap; background: rgba(255, 255, 255, .02); }
.mk-btn--gold { border-color: transparent; background: var(--gold); color: var(--gold-ink); font-weight: 600; }
.mk-tabs { display: flex; gap: 4px; margin: 16px 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); overflow: hidden; }
.mk-tabs span { padding: 6px 10px; border-radius: 7px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.mk-tabs span.is-on { color: #8ff0cc; background: rgba(61, 220, 168, .1); box-shadow: inset 0 0 0 1px rgba(61, 220, 168, .3); }
.mk-p { margin: 0; color: var(--text-2); font-size: 13.5px; line-height: 1.65; }
.mk-p b { color: var(--text); font-weight: 600; }
.mk-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.mk-kpi { padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.mk-kpi small { display: block; color: var(--faint); font: 600 9.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.mk-kpi strong { display: block; margin-top: 7px; font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.mk-kpi em { display: block; margin-top: 4px; font: 600 11px/1 var(--mono); font-style: normal; }
.up { color: var(--mint) !important; } .down { color: var(--rose) !important; } .warn { color: var(--amber) !important; } .info { color: var(--sky) !important; }
.mk-finding { display: grid; grid-template-columns: 10px 1fr; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .015); }
.mk-finding > i { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.mk-finding b { display: block; font-size: 13px; font-weight: 600; }
.mk-finding span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.mk-chart { width: 100%; height: auto; }
.mk-chart .grid { stroke: var(--line); stroke-width: 1; }
.mk-chart .ln { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.mk-chart text { fill: var(--faint); font: 500 10px var(--mono); }
.mk-legend { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 11.5px; }
.mk-legend i { display: inline-block; width: 10px; height: 3px; margin-right: 6px; vertical-align: middle; border-radius: 2px; }
.mk-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mk-table th { padding: 9px 10px; color: var(--faint); font: 600 10px/1.2 var(--mono); letter-spacing: .08em; text-align: left; text-transform: uppercase; border-bottom: 1px solid var(--line-2); }
.mk-table td { padding: 10px; border-bottom: 1px solid var(--line); color: var(--text-2); white-space: nowrap; }
.mk-table td:first-child { color: var(--text); font-weight: 600; }
.mk-table td.num, .mk-table th.num { text-align: right; font-family: var(--mono); font-size: 12px; }
.mk-table tr.is-hl td { background: rgba(228, 185, 104, .05); }
.mk-tkr { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 6px; background: var(--surface-3); color: var(--text-2); font: 700 9px/1 var(--mono); vertical-align: middle; }
.mk-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 11.5px; white-space: nowrap; background: rgba(255, 255, 255, .02); }
.mk-pill b { color: var(--gold-2); font-weight: 600; }
.mk-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.mk-chat { display: flex; flex-direction: column; gap: 14px; }
.mk-q { align-self: flex-end; max-width: 78%; padding: 12px 14px; border-radius: 14px 14px 4px 14px; background: var(--surface-3); color: var(--text); font-size: 13px; }
.mk-a { display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.mk-a .mk-avatar { width: 30px; height: 30px; border-radius: 9px; background: rgba(228, 185, 104, .12) url("../images/brand/finkut-mark.png") center/20px no-repeat; border: 1px solid rgba(228, 185, 104, .3); }
.mk-a .mk-p { font-size: 13.5px; }
.mk-cite { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin: 0 2px; border-radius: 5px; background: rgba(228, 185, 104, .16); color: var(--gold-2); font: 700 10px/1 var(--mono); vertical-align: 1px; }
.mk-sources { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mk-source { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); color: var(--text-2); font-size: 11.5px; }
.mk-source i { font-style: normal; color: var(--gold-2); font: 700 10px/1 var(--mono); }
.mk-input { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 10px 10px 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); color: var(--faint); font-size: 12.5px; }
.mk-input span { flex: 1; }
.mk-input b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--gold); color: var(--gold-ink); font-size: 14px; }
.mk-caret { display: inline-block; width: 7px; height: 14px; margin-left: 2px; background: var(--gold); vertical-align: -2px; animation: mk-blink 1s steps(1) infinite; }
@keyframes mk-blink { 50% { opacity: 0; } }
.mk-matrix { display: grid; grid-template-columns: 18px repeat(3, 1fr); grid-template-rows: repeat(3, 1fr) 16px; gap: 6px; height: 100%; }
.mk-matrix > div { border-radius: 8px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 5px; padding: 6px; }
.mk-matrix > div i { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 8px currentColor; background: currentColor; }
.mk-matrix .ax { color: var(--faint); font: 600 8.5px/1 var(--mono); writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; align-self: center; }
.mk-matrix .axx { color: var(--faint); font: 600 8.5px/1 var(--mono); text-align: center; }
.mk-feed { display: grid; gap: 8px; }
.mk-news { display: grid; grid-template-columns: 4px 1fr auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .015); }
.mk-news > i { align-self: stretch; border-radius: 3px; background: var(--tone); }
.mk-news b { display: block; font-size: 12.8px; font-weight: 600; line-height: 1.35; }
.mk-news small { display: block; margin-top: 3px; color: var(--faint); font-size: 11px; }
.mk-news em { font-style: normal; padding: 4px 8px; border-radius: 6px; font: 600 10.5px/1 var(--mono); color: var(--tone); background: var(--tone-soft); white-space: nowrap; }
.mk-blocks { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.mk-block { padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.mk-block.is-sel { border-color: rgba(228, 185, 104, .5); box-shadow: 0 0 0 3px rgba(228, 185, 104, .08); }
.mk-skel { height: 7px; margin-top: 7px; border-radius: 4px; background: rgba(255, 255, 255, .07); width: var(--w, 100%); }
.mk-quote { margin: 0; padding: 12px 14px; border-left: 2px solid var(--gold); border-radius: 0 10px 10px 0; background: rgba(228, 185, 104, .05); color: var(--text-2); font: italic 400 15px/1.5 var(--serif); }
.mk-quote cite { display: block; margin-top: 6px; color: var(--faint); font: 600 10px/1 var(--mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.mk-flow { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding-bottom: 2px; border-bottom: 1px solid var(--line-2); }
.mk-flow div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; height: 100%; }
.mk-flow i { display: block; border-radius: 3px; }
.mk-stack { display: grid; gap: 10px; }
.mk-row { display: flex; align-items: center; gap: 10px; }
.mk-meter { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.mk-meter i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--tone, var(--gold)); }
.mk-illus { position: absolute; left: 14px; bottom: 12px; z-index: 6; color: var(--faint); font: 600 9px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.mk-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mk-hide-sm { }
@media (max-width: 640px) {
  .mk-side { display: none; }
  .mk-main { padding: 16px; }
  .mk-kpis { grid-template-columns: 1fr 1fr; }
  .mk-hide-sm { display: none !important; }
  .mk-cols, .mk-blocks { grid-template-columns: 1fr; }
  .mk-table th:nth-child(n+4), .mk-table td:nth-child(n+4) { display: none; }
}
.is-in .mk-chart .ln, .s-story__frame.is-active .mk-chart .ln, .s-hero .mk-chart .ln { stroke-dasharray: 1400; animation: v-draw-long 2.4s var(--ease) both; }
@keyframes v-draw-long { from { stroke-dashoffset: 1400; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .mk-chart .ln { animation: none !important; } .mk-caret { animation: none; } }

.mk-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 18px; align-items: start; }
.mk-split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.mk-kpis--dash { grid-template-columns: 1.4fr 1fr 1fr; }
.mk-kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) {
  .mk-split, .mk-split--even { grid-template-columns: 1fr; }
  .mk-kpis--dash { grid-template-columns: 1fr 1fr; }
  .mk-kpis--dash .mk-kpi:first-child { grid-column: 1 / -1; }
  .mk-kpis--3 .mk-kpi strong { font-size: 15px; }
  .s-tabs-viz__tab span { display: none; }
}
.s-tabs-viz__tab b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Mocks adapt to the width of their frame, not the viewport */
.s-media__body { container-type: inline-size; }
@container (max-width: 760px) {
  .mk-side { display: none; }
}
@container (max-width: 560px) {
  .mk-main { padding: 16px; }
  .mk-kpis { grid-template-columns: 1fr 1fr; }
  .mk-hide-sm { display: none !important; }
  .mk-cols, .mk-blocks, .mk-split, .mk-split--even { grid-template-columns: 1fr; }
  .mk-table th:nth-child(n+4), .mk-table td:nth-child(n+4) { display: none; }
  .mk-kpis--dash { grid-template-columns: 1fr 1fr; }
  .mk-kpis--dash .mk-kpi:first-child { grid-column: 1 / -1; }
}
.mk-finding .mk-badge { display: inline-flex; margin: 0; }

/* Landing hero, split: headline left, real product right */
.s-hero--split { padding-bottom: clamp(56px, 7vw, 96px); }
.s-hero__split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.s-hero--split .s-display { font-size: clamp(50px, 5.8vw, 92px); max-width: 11ch; }
.s-hero--split .s-lede { font-size: clamp(16.5px, 1.3vw, 19px); }
.s-hero--split .s-hero__stage { margin-top: 0; perspective: 1800px; }
.s-hero--split .s-hero__stage .s-media { transform: rotateY(calc(var(--tilt, 14deg) * -.55)) rotateX(2deg) scale(var(--scale, .97)); transform-origin: 0 50%; }
.s-hero--split .s-float--a { left: -6%; top: auto; bottom: 10%; }
.s-hero--split .s-float--b { right: -3%; top: -7%; }
.s-hero--split .s-float--c { right: 4%; bottom: -8%; }
@media (max-width: 1060px) { .s-hero__split { grid-template-columns: 1fr; } .s-hero--split .s-hero__stage .s-media { transform: none; } }

/* Feature hero: copy left, product right */
.s-fhero__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.s-fhero__copy .s-h1 { max-width: 12ch; font-size: clamp(42px, 5.2vw, 72px); }
.s-fhero__lede { margin: 24px 0 0; color: var(--text-2); font-size: 18px; line-height: 1.65; max-width: 560px; }
.s-fhero__highlights { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.s-fhero__highlights li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--text); font-size: 15.5px; line-height: 1.45; }
.s-fhero__highlights li::before { content: ""; width: 8px; height: 8px; margin: 7px 0 0 4px; border-radius: 2px; transform: rotate(45deg); background: var(--tone, var(--gold)); box-shadow: 0 0 12px var(--tone, var(--gold)); }
.s-fhero__copy .s-hero__actions { margin-top: 30px; }
.s-fhero__media { perspective: 1800px; }
.s-fhero__media .s-media { transform: rotateY(-7deg) rotateX(3deg); transform-origin: 0 50%; transition: transform .8s var(--ease); }
.s-fhero__media:hover .s-media { transform: none; }
@media (max-width: 960px) { .s-fhero__grid { grid-template-columns: 1fr; } .s-fhero__media .s-media { transform: none; } }
@media (prefers-reduced-motion: reduce) { .s-fhero__media .s-media { transform: none; } }

/* Real screens keep their own proportions: nothing important is cropped */
.s-media[data-media-kind="image"] .s-media__body { aspect-ratio: auto !important; }
.s-media[data-media-kind="image"] .s-media__body > img { height: auto; object-fit: contain; }

/* Mocks speak the app's design language: near-black panels, green accent (see static/css/chat.css) */
.mk { --gold: #22c55e; --gold-2: #4ade80; --gold-deep: #16a34a; --gold-ink: #04130a; --surface-3: #16161a; --line: #1d1d22; --line-2: #26262d;
  background: #0b0b0c; font-family: var(--sans); }
.mk-side { background: #111113; border-right-color: #232329; }
.mk-side .is-on { box-shadow: inset 2px 0 0 #22c55e; background: #16161a; }
.mk-btn--gold { background: #22c55e; color: #04130a; }
.mk-tabs span.is-on { color: #4ade80; background: rgba(34,197,94,.12); box-shadow: inset 0 0 0 1px rgba(34,197,94,.35); }
.mk-a .mk-avatar { background: rgba(34,197,94,.12) url("../images/brand/finkut-mark.png") center/20px no-repeat; border-color: rgba(34,197,94,.35); }
.mk-cite { background: #16161a; color: #b4b4bc; border: 1px solid #30303a; border-radius: 6px; }
.mk-source i { color: #4ade80; }

/* App-faithful chat */
.mkc { display: grid; grid-template-columns: 210px 1fr; width: 100%; background: #0b0b0c; }
.mkc-side { display: flex; flex-direction: column; gap: 10px; padding: 14px 12px; background: #111113; border-right: 1px solid #232329; }
.mkc-new { display: flex; align-items: center; justify-content: center; gap: 6px; height: 34px; border-radius: 10px; background: #16a34a; color: #eafff1; font-size: 12.5px; font-weight: 600; }
.mkc-search { height: 32px; border-radius: 10px; border: 1px solid #232329; background: #0b0b0c; color: #7c7c88; font-size: 12px; display: flex; align-items: center; padding: 0 10px; }
.mkc-conv { padding: 8px 10px; border-radius: 8px; color: #b4b4bc; font-size: 12px; line-height: 1.35; }
.mkc-conv small { display: block; margin-top: 2px; color: #7c7c88; font-size: 10.5px; }
.mkc-conv.is-on { background: #16161a; box-shadow: inset 2px 0 0 #22c55e; color: #e7e7ea; }
.mkc-main { display: flex; flex-direction: column; min-width: 0; }
.mkc-head { padding: 12px 18px; border-bottom: 1px solid #1d1d22; }
.mkc-head small { display: block; color: #22c55e; font: 700 9.5px/1 var(--mono); letter-spacing: .14em; }
.mkc-head b { display: block; margin-top: 5px; color: #e7e7ea; font-size: 14px; }
.mkc-body { flex: 1; min-height: 0; padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.mkc-user { align-self: flex-end; max-width: 80%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: #16161a; border: 1px solid #232329; color: #e7e7ea; font-size: 12.8px; }
.mkc-user .mkc-docs { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.mkc-chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.35); color: #e7e7ea; font-size: 10.5px; font-weight: 600; }
.mkc-chip--doc { background: #111113; border-color: #30303a; color: #b4b4bc; font-weight: 500; }
.mkc-answer { color: #d4d4d8; font-size: 13px; line-height: 1.6; }
.mkc-answer b { color: #fff; font-weight: 600; }
.mkc-c { display: inline-block; min-width: 16px; height: 16px; margin: 0 1px; padding: 0 4px; border-radius: 5px; border: 1px solid #30303a; background: #16161a; color: #b4b4bc; font: 600 9.5px/14px var(--mono); text-align: center; vertical-align: 2px; }
.mkc-c.is-on { border-color: #22c55e; color: #4ade80; }
.mkc-passage { margin-top: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid #232329; background: #111113; font-size: 11.5px; color: #b4b4bc; }
.mkc-passage small { display: block; margin-bottom: 4px; color: #4ade80; font: 600 9.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.mkc-passage mark { background: rgba(34,197,94,.18); color: #e7e7ea; padding: 0 2px; border-radius: 3px; }
.mkc-follow { display: flex; flex-wrap: wrap; gap: 6px; }
.mkc-follow span { padding: 5px 10px; border-radius: 999px; border: 1px solid #232329; color: #b4b4bc; font-size: 11px; }
.mkc-composer { padding: 10px 18px 14px; border-top: 1px solid #1d1d22; }
.mkc-tools { display: flex; gap: 6px; margin-bottom: 8px; }
.mkc-tool { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid #30303a; color: #b4b4bc; font-size: 11px; }
.mkc-input { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 6px 0 14px; border-radius: 12px; border: 1px solid #232329; background: #111113; color: #7c7c88; font-size: 12px; }
.mkc-input b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: #22c55e; color: #04130a; }
.mkc-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.mkc-stats div { padding: 8px 10px; border-radius: 10px; border: 1px solid #232329; background: #111113; }
.mkc-stats small { display: block; color: #7c7c88; font-size: 10px; }
.mkc-stats strong { display: block; margin-top: 3px; color: #e7e7ea; font-size: 15px; }
.mkc-stats em { font-style: normal; font: 600 10.5px var(--mono); color: #4ade80; }
@container (max-width: 640px) { .mkc { grid-template-columns: 1fr; } .mkc-side { display: none; } }

/* Pricing v2: cycle toggle, beta pill, comparison table */
.s-pricing__bar { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 30px; flex-wrap: wrap; }
.s-pricing__period { color: var(--muted); font-size: 14px; }
.s-beta-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(228,185,104,.45); background: rgba(228,185,104,.1); color: var(--gold-2); font: 700 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.s-beta-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.s-plan__amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.s-plan__amount strong { font: 400 54px/1 var(--serif); letter-spacing: -.01em; }
.s-plan__amount span { color: var(--muted); font-size: 14px; }
.s-plan__amount em { flex-basis: 100%; color: var(--mint); font-style: normal; font-size: 13px; }
.s-plan__amount[hidden] { display: none; }
.s-plan__trial { margin: 6px 0 0; color: var(--gold-2); font-size: 13px; }
.s-plan__fine { margin: 12px 0 0; min-height: 18px; text-align: center; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.s-plan__fine [hidden] { display: none; }
.s-trustrow--pricing { list-style: none; padding: 0; }
.s-trustrow--pricing li { display: inline-flex; align-items: center; gap: 8px; }
.s-trustrow--pricing a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.s-pricing__note { margin: 22px auto 0; max-width: 760px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.6; }
.s-pricing__note b { color: var(--text-2); }
.s-compare2 { margin-top: 56px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.s-compare2__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 26px 26px 20px; flex-wrap: wrap; }
.s-compare2__head h3 { margin: 0; font: 400 34px/1.1 var(--serif); }
.s-compare2__head p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.s-switchline { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14px; cursor: pointer; }
.s-switchline input { position: absolute; opacity: 0; pointer-events: none; }
.s-switchline input:checked + .s-switch { background: rgba(228,185,104,.35); border-color: rgba(228,185,104,.6); }
.s-switchline input:checked + .s-switch::after { transform: translateX(18px); background: var(--gold-2); }
.s-switchline input:focus-visible + .s-switch { outline: 2px solid var(--gold); outline-offset: 3px; }
.s-compare2__scroll { overflow-x: auto; border-top: 1px solid var(--line); }
.s-compare2 table { width: 100%; min-width: 680px; border-collapse: separate; border-spacing: 0; }
.s-compare2 thead th { position: sticky; top: 0; z-index: 2; padding: 18px 20px; background: var(--surface); border-bottom: 1px solid var(--line-2); text-align: center; vertical-align: bottom; }
.s-compare2 thead th span { display: block; color: var(--text); font-size: 15px; font-weight: 600; }
.s-compare2 thead th small { display: block; margin-top: 4px; color: var(--muted); font: 500 12.5px var(--mono); }
.s-compare2 thead th small[hidden] { display: none; }
.s-compare2 thead th.is-featured { background: linear-gradient(180deg, rgba(228,185,104,.14), var(--surface)); }
.s-compare2 thead th.is-featured span { color: var(--gold-2); }
.s-compare2 .s-compare2__corner { text-align: left; color: var(--faint); font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.s-compare2__group th { padding: 22px 20px 10px; text-align: left; color: var(--gold); font: 600 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012); }
.s-compare2 tbody th[scope="row"] { width: 40%; padding: 14px 20px; text-align: left; font-weight: 500; color: var(--text); font-size: 14.5px; border-bottom: 1px solid var(--line); }
.s-compare2 tbody th small { display: block; margin-top: 3px; color: var(--faint); font-size: 12.5px; font-weight: 400; }
.s-compare2 td { padding: 14px 20px; text-align: center; border-bottom: 1px solid var(--line); color: var(--text); font: 500 14px var(--mono); }
.s-compare2 td:nth-child(3), .s-compare2 thead th.is-featured { box-shadow: inset 1px 0 0 rgba(228,185,104,.18), inset -1px 0 0 rgba(228,185,104,.18); }
.s-compare2 tr:hover td, .s-compare2 tr:hover th[scope="row"] { background: rgba(255,255,255,.02); }
.s-compare2 td.is-unlimited { color: var(--mint); }
.s-compare2 td.is-no { color: var(--faint); }
.s-tick { display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: rgba(61,220,168,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.5 2.4L12 5.4' fill='none' stroke='%233ddca8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; vertical-align: middle; }
.s-tag { display: inline-block; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(120,170,255,.35); color: #b5ceff; font: 600 11px/1 var(--sans); }
.s-compare2.is-diff tr[data-same] { display: none; }
/* Phone: every plan column fits on screen, so a feature and its three values are read together
   instead of scrolling sideways and losing the row label. */
@media (max-width: 640px) {
  .s-compare2__head { padding: 20px 16px 14px; }
  .s-compare2 table { min-width: 0; table-layout: fixed; }
  .s-compare2 thead th, .s-compare2 td { padding: 12px 3px; }
  .s-compare2 .s-compare2__corner { width: 37%; padding-left: 14px; }
  .s-compare2 thead th span { font-size: 12px; }
  .s-compare2 thead th small { font-size: 10px; }
  .s-compare2 tbody th[scope="row"] { width: auto; padding: 12px 6px 12px 14px; font-size: 13.5px; overflow-wrap: anywhere; }
  .s-compare2 tbody th small { font-size: 11.5px; }
  .s-compare2 td { font-size: 12px; overflow-wrap: anywhere; }
  .s-compare2__group th { padding: 18px 14px 8px; }
  .s-compare2 .s-tag { padding: 3px 5px; font-size: 9.5px; }
  .s-compare2 .s-tick { width: 20px; height: 20px; }
}
@media (max-width: 379px) {
  .s-compare2 .s-compare2__corner { width: 33%; }
  .s-compare2 thead th, .s-compare2 td { padding: 12px 2px; }
  .s-compare2 thead th span { font-size: 10.5px; }
  .s-compare2 td { font-size: 10px; overflow-wrap: normal; }
}

/* Hero workspace mock tweaks */
.mk-ws { display: grid; grid-template-columns: 60px 1fr; }
.mk-rail { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0; border-right: 1px solid var(--line); }
.mk-rail img { width: 28px; height: 28px; }
.mk-rail i { width: 28px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, .04); }
.mk-rail i.on { background: rgba(228, 185, 104, .14); box-shadow: inset 0 0 0 1px rgba(228, 185, 104, .4); }
.mk-ws-grid { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: auto 1fr; gap: 14px; padding: 18px 20px; height: 100%; }
.mk-panel { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .018); overflow: hidden; display: flex; flex-direction: column; }
.mk-panel--span { grid-column: 1 / -1; }
.mk-ticker { display: flex; align-items: center; gap: 14px; }
.mk-ticker .mk-logo { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #f4f5f7; color: #111; font: 800 15px/1 var(--sans); }
.mk-ticker h4 { margin: 0; font: 600 20px/1 var(--mono); letter-spacing: .02em; }
.mk-ticker p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.mk-ticker .mk-spacer { flex: 1; }
@media (max-width: 860px) { .mk-ws { grid-template-columns: 1fr; } .mk-rail { display: none; } .mk-ws-grid { grid-template-columns: 1fr; } .mk-ws-grid .mk-panel:nth-child(3) { display: none; } }

/* Evidence demo ------------------------------------------------------------ */
.s-evidence { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.s-answer { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent), var(--bg-2); }
.s-answer__q { margin: 0 0 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.s-answer__q b { display: block; margin-top: 6px; color: var(--text); font-size: 17px; font-weight: 600; }
.s-answer__text { margin: 0; color: var(--text-2); font: 400 clamp(20px, 1.9vw, 25px)/1.55 var(--serif); }
.s-claim { position: relative; display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 1px 2px; border: 0; border-radius: 4px; background: linear-gradient(transparent 62%, rgba(228, 185, 104, .22) 62%); color: var(--text); font: inherit; cursor: pointer; transition: background .3s; }
.s-claim sup { margin-left: 3px; color: var(--gold); font: 700 11px/1 var(--mono); }
.s-claim.is-active, .s-claim:hover { background: linear-gradient(transparent 0%, rgba(228, 185, 104, .28) 0%); }
.s-sources { display: grid; gap: 12px; }
.s-source { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); opacity: .5; transform: scale(.98); transition: opacity .4s, transform .5s var(--ease), border-color .4s, box-shadow .4s; }
.s-source.is-active { opacity: 1; transform: none; border-color: rgba(228, 185, 104, .45); box-shadow: 0 30px 60px -30px rgba(228, 185, 104, .25); }
.s-source__n { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--tone-soft); color: var(--tone); font: 700 13px/1 var(--mono); }
.s-source small { color: var(--tone); font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.s-source b { display: block; margin-top: 6px; font-size: 15px; font-weight: 600; }
.s-source p { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.s-source mark { background: rgba(228, 185, 104, .2); color: var(--text); padding: 0 2px; border-radius: 3px; }
@media (max-width: 900px) { .s-evidence { grid-template-columns: 1fr; } }

/* Principles ---------------------------------------------------------------- */
.s-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.s-principle { padding: 36px 32px 0 0; }
.s-principle + .s-principle { padding-left: 32px; border-left: 1px solid var(--line); }
.s-principle span { color: var(--gold); font: 600 12px/1 var(--mono); letter-spacing: .14em; }
.s-principle h3 { margin: 16px 0 10px; font: 400 28px/1.15 var(--serif); }
.s-principle p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
@media (max-width: 860px) { .s-principles { grid-template-columns: 1fr; } .s-principle, .s-principle + .s-principle { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

.s-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(56px, 7vw, 88px); border-block: 1px solid var(--line); }
.s-stat { padding: 30px 24px; }
.s-stat + .s-stat { border-left: 1px solid var(--line); }
.s-stat strong { display: block; font: 400 clamp(40px, 4.6vw, 60px)/1 var(--serif); color: var(--text); }
.s-stat strong sup { font-size: .45em; color: var(--gold); vertical-align: .9em; margin-left: 2px; }
.s-stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .s-stats { grid-template-columns: 1fr 1fr; } .s-stat:nth-child(3) { border-left: 0; } .s-stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

.s-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 44px; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: var(--muted); font-size: 14px; }
.s-note b { color: var(--text-2); font-weight: 600; }

/* Pricing ------------------------------------------------------------------- */
.s-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; align-items: stretch; }
.s-plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-2); }
.s-plan.is-featured { border-color: rgba(228, 185, 104, .45); background: radial-gradient(120% 60% at 50% 0%, rgba(228, 185, 104, .12), transparent 60%), var(--bg-2); box-shadow: 0 40px 90px -40px rgba(228, 185, 104, .35); }
.s-plan.is-current { border-color: rgba(61, 220, 168, .45); }
.s-plan__badge { position: absolute; top: -12px; left: 28px; padding: 6px 11px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font: 700 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.s-plan__badge--current { background: var(--mint); }
.s-plan__name { margin: 0; color: var(--text); font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.s-plan__desc { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; min-height: 44px; }
.s-plan__price { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 4px; }
.s-plan__price strong { font: 400 54px/1 var(--serif); letter-spacing: -.01em; }
.s-plan__price span { color: var(--muted); font-size: 14px; }
.s-plan__price [data-price-interval] { display: none; }
.s-plan__price [data-price-interval].is-visible { display: inline; }
.s-plan ul { list-style: none; margin: 22px 0 28px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.s-plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: var(--text-2); font-size: 14.5px; line-height: 1.45; }
.s-plan li::before { content: ""; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: rgba(228, 185, 104, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.5 2.4L12 5.4' fill='none' stroke='%23e4b968' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.s-plan .s-btn { margin-top: auto; }
.s-plan__intervals { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.s-plan__intervals label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 12.5px; text-transform: capitalize; cursor: pointer; }
.s-plan__intervals input { accent-color: var(--gold); margin: 0; }
.s-plan__intervals label:has(input:checked) { border-color: rgba(228, 185, 104, .5); color: var(--text); }
.s-cycle { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); }
.s-cycle button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .25s, color .25s; }
.s-cycle button.is-active { background: var(--surface-3); color: var(--text); box-shadow: 0 0 0 1px var(--line-2); }
.s-cycle button span { padding: 3px 7px; border-radius: 999px; background: rgba(61, 220, 168, .15); color: var(--mint); font-size: 11px; }
.s-compare { margin-top: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.s-compare > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; cursor: pointer; list-style: none; }
.s-compare > summary::-webkit-details-marker { display: none; }
.s-compare > summary b { font-size: 16px; font-weight: 600; }
.s-compare > summary small { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; font-weight: 400; }
.s-compare > summary .s-plus { flex-shrink: 0; }
.s-compare[open] .s-plus { transform: rotate(45deg); }
.s-compare__scroll { overflow-x: auto; border-top: 1px solid var(--line); }
.s-compare table { width: 100%; min-width: 620px; border-collapse: collapse; }
.s-compare th, .s-compare td { padding: 16px 26px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.s-compare thead th { color: var(--text); font-weight: 600; }
.s-compare thead th small { display: block; margin-top: 3px; color: var(--muted); font-weight: 400; font-size: 12.5px; }
.s-compare tbody th { color: var(--text-2); font-weight: 500; }
.s-compare tbody th small { display: block; color: var(--faint); font-size: 12.5px; font-weight: 400; margin-top: 2px; }
.s-compare td { color: var(--text); font-family: var(--mono); font-size: 13.5px; }
.s-compare tr:last-child > * { border-bottom: 0; }
.s-plus { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .3s var(--ease); }
.s-plus::before, .s-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--text-2); transform: translate(-50%, -50%); }
.s-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.s-feedback { margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255, 127, 112, .35); background: rgba(255, 127, 112, .08); color: #ffc7bf; font-size: 14px; }
.s-feedback[data-type="success"] { border-color: rgba(61, 220, 168, .35); background: rgba(61, 220, 168, .08); color: #b5f5dc; }
.s-trustrow { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 30px; color: var(--muted); font-size: 13.5px; }
.s-trustrow span { display: inline-flex; align-items: center; gap: 8px; }
.s-trustrow svg { width: 16px; height: 16px; color: var(--gold); }

/* FAQ ------------------------------------------------------------------------ */
.s-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.s-faq__list { border-top: 1px solid var(--line); }
.s-faq details { border-bottom: 1px solid var(--line); }
.s-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary:hover { color: var(--gold-2); }
.s-faq details[open] .s-plus { transform: rotate(45deg); border-color: rgba(228, 185, 104, .5); }
.s-faq details p { margin: -6px 0 24px; max-width: 640px; color: var(--muted); font-size: 16px; line-height: 1.7; }
@media (max-width: 860px) { .s-faq { grid-template-columns: 1fr; } }

/* Final CTA -------------------------------------------------------------- */
.s-cta { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; text-align: center; isolation: isolate; }
.s-cta::before { content: ""; position: absolute; left: 50%; top: 58%; width: min(1100px, 140vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); z-index: -1; background: radial-gradient(closest-side, rgba(228, 185, 104, .2), rgba(228, 185, 104, .05) 55%, transparent 75%); }
.s-cta__mark { width: 84px; height: 84px; margin: 0 auto 30px; filter: drop-shadow(0 18px 40px rgba(228, 185, 104, .45)); animation: s-bob 6s ease-in-out infinite; }
.s-cta .s-display { margin-inline: auto; max-width: 14ch; font-size: clamp(48px, 7vw, 100px); }
.s-cta .s-lede { margin-inline: auto; }
.s-cta .s-hero__actions { justify-content: center; }

/* Footer ------------------------------------------------------------------- */
.s-footer { padding: 72px 0 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .012)); }
.s-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.s-footer__brand p { max-width: 300px; margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.s-footer h3 { margin: 6px 0 16px; color: var(--text); font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.s-footer nav a, .s-footer__col a { display: block; padding: 6px 0; color: var(--muted); font-size: 14.5px; text-decoration: none; transition: color .2s; }
.s-footer nav a:hover, .s-footer__col a:hover { color: var(--text); }
.s-footer__social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 20px; }
.s-footer__social a { display: inline; padding: 0; }
.s-footer__legal { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; color: var(--faint); font-size: 13px; line-height: 1.6; }
.s-footer__legal p { margin: 0; max-width: 760px; }
.s-footer__identity strong { color: var(--text-2); font-weight: 600; margin-right: 8px; }
@media (max-width: 900px) { .s-footer__grid { grid-template-columns: 1fr 1fr; } .s-footer__brand { grid-column: 1 / -1; } }

/* Feature pages -------------------------------------------------------------- */
.s-crumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; color: var(--muted); font-size: 13.5px; }
.s-crumbs a { color: var(--muted); text-decoration: none; }
.s-crumbs a:hover { color: var(--text); }
.s-crumbs span[aria-hidden] { color: var(--faint); }
.s-fhero { padding: clamp(48px, 7vw, 90px) 0 0; position: relative; overflow-x: clip; overflow-y: visible; isolation: isolate; }
.s-fhero__glow { position: absolute; inset: -30% -10% auto; height: 760px; z-index: -1; background: radial-gradient(40% 50% at 30% 20%, var(--tone-soft), transparent 70%), radial-gradient(30% 40% at 80% 10%, rgba(228, 185, 104, .08), transparent 70%); pointer-events: none; }
.s-fhero__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: end; }
.s-fhero__head .s-h1 { max-width: 13ch; }
.s-fhero__aside p { margin: 0; color: var(--text-2); font-size: 18px; line-height: 1.65; }
.s-fhero__aside .s-hero__actions { margin-top: 28px; }
.s-fhero__media { margin-top: clamp(48px, 6vw, 72px); }
@media (max-width: 900px) { .s-fhero__head { grid-template-columns: 1fr; gap: 0; } .s-fhero__aside { margin-top: 26px; } }
.s-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.s-split + .s-split { margin-top: clamp(88px, 10vw, 140px); }
.s-split--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.s-split--flip .s-split__copy { order: 2; }
.s-split__copy .s-h2 { font-size: clamp(32px, 3.6vw, 48px); }
.s-split__copy p { margin: 20px 0 0; color: var(--text-2); font-size: 17px; line-height: 1.7; }
.s-checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.s-checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--text); font-size: 15.5px; }
.s-checks li::before { content: ""; width: 22px; height: 22px; border-radius: 7px; background: var(--tone-soft, rgba(228, 185, 104, .14)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.5 2.4L12 5.4' fill='none' stroke='%23eef2f7' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
@media (max-width: 900px) { .s-split, .s-split--flip { grid-template-columns: 1fr; } .s-split--flip .s-split__copy { order: 0; } }
.s-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.s-cap { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.s-cap:hover { background: rgba(255, 255, 255, .02); }
.s-cap h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 600; }
.s-cap h3::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 2px; background: var(--tone, var(--gold)); transform: rotate(45deg); vertical-align: 2px; }
.s-cap p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 900px) { .s-caps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .s-caps { grid-template-columns: 1fr; } }
.s-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .s-related { grid-template-columns: 1fr; } }
.s-related .s-card { min-height: 200px; }
.s-guides { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.s-guides a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 14px; text-decoration: none; }
.s-guides a:hover { color: var(--text); border-color: var(--line-3); }
.s-guides a::before { content: "↗"; color: var(--gold); }
.s-index-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.s-index-row { display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1.3fr) 40px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .4s var(--ease); }
.s-index-row:hover { padding-left: 12px; }
.s-index-row .s-ficon { width: 48px; height: 48px; border-radius: 14px; }
.s-index-row .s-ficon svg { width: 22px; height: 22px; }
.s-index-row h3 { margin: 0; font: 400 clamp(26px, 2.6vw, 34px)/1.1 var(--serif); }
.s-index-row h3 small { display: block; margin-bottom: 8px; color: var(--tone); font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.s-index-row p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.s-index-row .s-card__more { position: static; }
.s-index-row:hover .s-card__more { transform: rotate(-45deg); background: var(--tone); color: #0a0c10; border-color: transparent; }
@media (max-width: 760px) { .s-index-row { grid-template-columns: 48px 1fr; gap: 14px 18px; } .s-index-row p { grid-column: 2; } .s-index-row .s-card__more { display: none; } }

/* Account pages (login/register/reset/activation) ---------------------------- */
.s-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
.s-auth__aside { position: relative; display: flex; flex-direction: column; padding: 36px clamp(28px, 5vw, 64px); overflow: hidden; isolation: isolate; border-right: 1px solid var(--line); background: radial-gradient(60% 50% at 20% 10%, rgba(228, 185, 104, .14), transparent 70%), radial-gradient(50% 50% at 90% 90%, rgba(61, 220, 168, .08), transparent 70%), var(--bg-2); }
.s-auth__aside::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(80% 60% at 30% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(80% 60% at 30% 30%, #000, transparent 75%); opacity: .5; }
/* Top-aligned: centred in a column as tall as a long form, the headline sank to mid-page. */
.s-auth__copy { margin: 0; padding: clamp(48px, 9vh, 96px) 0 48px; max-width: 520px; }
.s-auth__copy .s-h1 { font-size: clamp(40px, 4.4vw, 64px); }
.s-auth__copy > p { margin: 22px 0 0; color: var(--text-2); font-size: 17px; line-height: 1.65; }
.s-auth__list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 18px; }
.s-auth__list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.s-auth__list .s-ficon { width: 40px; height: 40px; }
.s-auth__list b { display: block; font-size: 15.5px; font-weight: 600; }
.s-auth__list small { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.s-auth__quote { margin: auto 0 0; padding: 22px 24px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(8, 11, 17, .6); backdrop-filter: blur(12px); }
.s-auth__quote p { margin: 0; color: var(--text); font: italic 400 21px/1.45 var(--serif); }
.s-auth__quote span { display: block; margin-top: 12px; color: var(--muted); font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.s-auth__main { display: flex; flex-direction: column; padding: 28px clamp(20px, 5vw, 64px) 36px; }
.s-auth__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 14px; }
.s-auth__top a { color: var(--gold-2); font-weight: 600; text-decoration: none; }
.s-auth__top > span { text-align: right; line-height: 1.45; }
.s-auth__top .s-brand { display: none; }
.s-auth__form { width: 100%; max-width: 440px; margin: auto; padding: 40px 0; }
.s-auth__form h2 { margin: 0; font: 400 clamp(34px, 3.2vw, 44px)/1.05 var(--serif); }
.s-auth__form > p, .s-auth__sub { margin: 12px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.s-auth__form form { margin-top: 32px; }
.s-auth__foot, .s-auth__form > p.s-auth__foot { margin: 22px 0 0; color: var(--muted); font-size: 14.5px; text-align: center; }
.s-auth__foot a, .s-auth__form .s-inline-link { color: var(--gold-2); font-weight: 600; text-decoration: none; }
.s-auth__foot a:hover, .s-auth__form .s-inline-link:hover { text-decoration: underline; }
.s-auth__fine, .s-auth__form > p.s-auth__fine { margin: 22px 0 0; color: var(--faint); font-size: 12.5px; line-height: 1.6; text-align: center; }
.s-auth__state { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 20px; border: 1px solid rgba(228, 185, 104, .35); background: rgba(228, 185, 104, .1); color: var(--gold-2); }
.s-auth__state svg { width: 28px; height: 28px; }
.s-auth__state--ok { border-color: rgba(61, 220, 168, .4); background: rgba(61, 220, 168, .1); color: var(--mint); }
.s-auth__state--bad { border-color: rgba(255, 127, 112, .4); background: rgba(255, 127, 112, .1); color: var(--rose); }
.s-auth__actions { display: grid; gap: 10px; margin-top: 30px; }
@media (max-width: 960px) {
  .s-auth { grid-template-columns: 1fr; }
  .s-auth__aside { display: none; }
  .s-auth__top .s-brand { display: inline-flex; }
}
.s-progress { display: flex; align-items: center; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.s-progress li { display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: 12.5px; font-weight: 500; }
.s-progress li + li::before { content: ""; width: 22px; height: 1px; background: var(--line-2); margin-right: 2px; }
.s-progress li span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font: 600 11px/1 var(--mono); }
.s-progress li.is-current { color: var(--text); }
.s-progress li.is-current span { border-color: var(--gold); background: var(--gold); color: var(--gold-ink); }
.s-progress li.is-complete { color: var(--text-2); }
.s-progress li.is-complete span { border-color: rgba(61, 220, 168, .5); color: var(--mint); }
@media (max-width: 480px) { .s-progress li b { display: none; } .s-progress li.is-current b { display: inline; } }

/* Forms */
.s-field { margin-bottom: 18px; }
.s-field > label, .s-label { display: block; margin-bottom: 8px; color: var(--text-2); font-size: 14px; font-weight: 500; }
.s-field input[type="text"], .s-field input[type="email"], .s-field input[type="password"], .s-field input[type="url"], .s-field input:not([type]), .s-field select, .s-field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: rgba(255, 255, 255, .025); color: var(--text);
  font-size: 16px; outline: none; /* below 16px iOS Safari zooms the page on focus */
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.s-field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.s-field select option { color: #0b0f17; }
.s-field input::placeholder, .s-field textarea::placeholder { color: var(--faint); }
.s-field input:hover, .s-field select:hover, .s-field textarea:hover { border-color: var(--line-3); }
.s-field input:focus, .s-field select:focus, .s-field textarea:focus { border-color: rgba(228, 185, 104, .7); background: rgba(228, 185, 104, .03); box-shadow: 0 0 0 4px rgba(228, 185, 104, .12); }
.s-field input[aria-invalid="true"], .s-field.has-error input { border-color: rgba(255, 127, 112, .6); }
.s-field--check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.s-field--check > label { order: 2; margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.5; font-weight: 400; }
.s-field--check > label a { color: var(--gold-2); }
.s-field--check input[type="checkbox"] { order: 1; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); }
.s-field--check .s-help, .s-field--check .s-error { order: 3; grid-column: 2; }
.s-help { display: block; margin-top: 7px; color: var(--faint); font-size: 12.5px; line-height: 1.5; }
.s-help ul { margin: 6px 0 0; padding-left: 18px; }
.s-error, .s-field .errorlist { display: block; margin: 7px 0 0; padding: 0; list-style: none; color: #ff9d90; font-size: 13px; }
.s-alert { margin-bottom: 20px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255, 127, 112, .35); background: rgba(255, 127, 112, .08); color: #ffcbc4; font-size: 14px; line-height: 1.55; }
.s-alert ul { margin: 0; padding: 0; list-style: none; }
.s-alert--ok { border-color: rgba(61, 220, 168, .35); background: rgba(61, 220, 168, .08); color: #bff5e0; }
.s-alert--info { border-color: var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text-2); }
.s-pw { position: relative; }
.s-pw input { padding-right: 76px !important; }
.s-pw button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 36px; padding: 0 12px; border: 0; border-radius: 9px; background: rgba(255, 255, 255, .05); color: var(--text-2); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.s-pw button:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.s-row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.turnstile-field { margin: 4px 0 18px; }
/* The verification widget is 300px wide and cannot shrink; on 320px phones the side padding gives way. */
@media (max-width: 350px) { .s-auth__main { padding-left: 10px; padding-right: 10px; } }
.s-divider { display: flex; align-items: center; gap: 14px; margin: 26px 0; color: var(--faint); font-size: 12.5px; }
.s-divider::before, .s-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Generic page (about/contact/managed) -------------------------------------- */
.s-page-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); position: relative; overflow-x: clip; overflow-y: visible; isolation: isolate; }
.s-page-hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 700px; z-index: -1; background: radial-gradient(40% 50% at 25% 30%, rgba(228, 185, 104, .12), transparent 70%); pointer-events: none; }
.s-page-hero .s-h1 { max-width: 16ch; }
.s-prose { color: var(--text-2); font-size: 17px; line-height: 1.75; }
.s-prose h2 { margin: 2em 0 .6em; color: var(--text); font: 400 32px/1.15 var(--serif); }
.s-prose h3 { margin: 1.6em 0 .5em; color: var(--text); font-size: 19px; font-weight: 600; }
.s-prose p { margin: 0 0 1.1em; }
.s-prose a { color: var(--gold-2); }
.s-prose strong { color: var(--text); font-weight: 600; }
.s-prose ul, .s-prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.s-prose li { margin: .4em 0; }
.s-prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 2px solid var(--gold); background: rgba(228, 185, 104, .05); border-radius: 0 12px 12px 0; color: var(--text); }
.s-prose img { border-radius: 14px; margin: 1.5em 0; height: auto; }
.s-prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 15px; }
.s-prose th, .s-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.s-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.s-value { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--bg-2); }
.s-value span { color: var(--gold); font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.s-value h2, .s-value h3 { margin: 18px 0 10px; font: 400 30px/1.15 var(--serif); }
.s-value p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
@media (max-width: 860px) { .s-values { grid-template-columns: 1fr; } }
.s-contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: clamp(80px, 10vw, 140px); }
.s-contact__points { margin-top: 44px; border-top: 1px solid var(--line); }
.s-contact__point { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.s-contact__point h2 { margin: 0; font-size: 16px; font-weight: 600; }
.s-contact__point p { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.s-panel { padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent), var(--bg-2); box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9); }
.s-panel h2 { margin: 0; font: 400 34px/1.1 var(--serif); }
.s-panel > p { margin: 10px 0 26px; color: var(--muted); font-size: 15px; }
.s-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 900px) { .s-contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .s-grid-2 { grid-template-columns: 1fr; } }
.s-messages { padding-top: 16px; }
.s-messages .s-alert { margin: 0 0 10px; }

/* Legal ------------------------------------------------------------------------ */
.s-readbar { position: fixed; left: 0; top: 0; z-index: 60; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--gold), var(--mint)); }
.s-legal-hero { padding: clamp(56px, 8vw, 104px) 0 40px; border-bottom: 1px solid var(--line); }
.s-legal-hero .s-h1 { font-size: clamp(44px, 6vw, 80px); }
.s-legal-hero .s-lede { max-width: 700px; }
.s-legal-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.s-legal-meta span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 13px; }
.s-legal-meta span b { color: var(--faint); font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.s-legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding: 48px 0 clamp(80px, 10vw, 140px); }
.s-toc { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
.s-toc p { margin: 0 0 14px; color: var(--faint); font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.s-toc nav a { display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 9px 12px; border-left: 1px solid var(--line-2); color: var(--muted); font-size: 14px; line-height: 1.4; text-decoration: none; transition: color .2s, border-color .2s, background .2s; }
.s-toc nav a i { color: var(--faint); font: 600 11px/1.6 var(--mono); font-style: normal; }
.s-toc nav a:hover { color: var(--text); }
.s-toc nav a.is-active { color: var(--text); border-left-color: var(--gold); background: linear-gradient(90deg, rgba(228, 185, 104, .08), transparent); }
.s-toc__help { margin-top: 26px; padding: 18px; border-radius: 14px; border: 1px solid var(--line); color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.s-toc__help a { color: var(--gold-2); font-weight: 600; }
.s-legal__article { min-width: 0; max-width: 760px; }
.s-legal__intro { margin: 0 0 12px; padding: 24px 26px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: var(--text-2); font-size: 16.5px; line-height: 1.75; }
.s-legal__section { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.s-legal__section > span { padding-top: 10px; color: var(--gold); font: 600 12px/1 var(--mono); letter-spacing: .08em; }
.s-legal__section h2 { margin: 0 0 16px; font: 400 clamp(26px, 2.6vw, 34px)/1.15 var(--serif); }
.s-legal__section .s-prose { font-size: 16px; }
.s-legal__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 28px; color: var(--faint); font-size: 13.5px; }
.s-legal__foot a { margin-left: auto; color: var(--gold-2); font-weight: 600; text-decoration: none; }
@media (max-width: 960px) {
  .s-legal { grid-template-columns: 1fr; padding-top: 24px; }
  .s-toc { position: relative; top: 0; max-height: none; }
  .s-toc nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .s-toc nav a { flex-shrink: 0; grid-template-columns: auto auto; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; }
  .s-toc nav a.is-active { border-color: rgba(228, 185, 104, .5); }
  .s-toc__help { display: none; }
  .s-legal__section { grid-template-columns: 1fr; gap: 4px; padding: 32px 0; }
  .s-legal__section > span { padding-top: 0; }
}
.s-legal-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 30px; }
.s-legal-tabs a { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 13.5px; text-decoration: none; }
.s-legal-tabs a:hover { color: var(--text); border-color: var(--line-2); }
.s-legal-tabs a[aria-current="page"] { color: var(--gold-ink); background: var(--gold); border-color: transparent; font-weight: 600; }

/* Cookie preferences */
.s-cookie-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin: 0 0 56px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); border: 1px solid rgba(228, 185, 104, .3); background: radial-gradient(80% 100% at 0% 0%, rgba(228, 185, 104, .08), transparent 70%), var(--bg-2); }
.s-cookie-panel h2 { margin: 12px 0 10px; font: 400 32px/1.1 var(--serif); }
.s-cookie-panel p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.s-toggles { display: grid; gap: 10px; }
.s-toggle { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); cursor: pointer; }
.s-toggle b { display: block; font-size: 14.5px; font-weight: 600; }
.s-toggle small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; }
.s-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.s-switch { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line-2); transition: background .25s; }
.s-switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--text-2); transition: transform .3s var(--ease), background .25s; }
.s-toggle input:checked + .s-switch { background: rgba(228, 185, 104, .35); border-color: rgba(228, 185, 104, .6); }
.s-toggle input:checked + .s-switch::after { transform: translateX(18px); background: var(--gold-2); }
.s-toggle input:focus-visible + .s-switch { outline: 2px solid var(--gold); outline-offset: 3px; }
.s-toggle.is-locked { cursor: default; }
.s-toggle.is-locked .s-switch { background: rgba(61, 220, 168, .25); border-color: rgba(61, 220, 168, .5); }
.s-toggle.is-locked .s-switch::after { transform: translateX(18px); background: var(--mint); }
.s-cookie-table { width: 100%; border-collapse: collapse; margin: 0 0 8px; font-size: 14.5px; }
.s-cookie-table th, .s-cookie-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.s-cookie-table th { color: var(--faint); font: 600 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.s-cookie-table td { color: var(--text-2); }
.s-cookie-table td code { color: var(--gold-2); font: 500 13px/1 var(--mono); }
.s-cookie-wrap { overflow-x: auto; margin-bottom: 56px; }
.s-cookie-wrap table { min-width: 620px; }
@media (max-width: 860px) { .s-cookie-panel { grid-template-columns: 1fr; } }

/* Cookie banner: shown only where permission is needed before measurement */
.s-consent { position: fixed; z-index: 80; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(880px, calc(100vw - 32px)); display: flex; gap: 20px; align-items: center; padding: 18px 20px; border-radius: var(--radius-lg); border: 1px solid rgba(228, 185, 104, .3); background: var(--bg-2); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); }
.s-consent__text { flex: 1 1 auto; min-width: 0; }
.s-consent h2 { margin: 0 0 4px; font: 600 15px/1.3 var(--sans, inherit); }
.s-consent p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.s-consent p a { color: var(--gold-2); }
.s-consent__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.s-consent-dialog { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 22px; border-radius: var(--radius-lg); border: 1px solid rgba(228, 185, 104, .3); background: var(--bg-2); color: var(--text, inherit); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); }
.s-consent-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.s-consent-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.s-consent-dialog h2 { margin: 0; font: 600 18px/1.3 var(--sans, inherit); }
.s-consent-dialog p { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.s-consent-dialog p a { color: var(--gold-2); }
.s-consent-dialog__close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--text-2); font-size: 26px; line-height: 1; cursor: pointer; }
.s-consent-dialog__close:hover { background: rgba(255, 255, 255, .06); }
.s-consent-dialog__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
@media (max-width: 640px) { .s-consent-dialog__actions .s-btn { flex: 1 1 0; justify-content: center; } }
@media (max-width: 640px) { .s-consent { flex-direction: column; align-items: stretch; bottom: 12px; } .s-consent__actions .s-btn { flex: 1 1 0; justify-content: center; padding-inline: 10px; } }

/* Builder (website builder) sections keep working inside the new base */
.fd-public-section { margin: 0 auto 24px !important; }
.page-shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
@media (max-width: 640px) { .page-shell { width: calc(100% - 32px); } }
.managed-public-page .managed-page-section { padding: 48px 0 !important; border-top: 1px solid var(--line) !important; }
.managed-public-page .managed-page-section h2 { font: 400 clamp(30px, 3.4vw, 44px)/1.1 var(--serif) !important; letter-spacing: -.01em; color: var(--text) !important; }
.managed-public-page .managed-page-section p, .managed-public-page .managed-rich-text { color: var(--text-2) !important; font-size: 17px; }
.managed-public-page .eyebrow { margin: 0 0 14px; color: var(--gold); font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.managed-public-page .managed-related-links a { color: var(--gold-2) !important; }
.managed-public-page .button { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: var(--gold); color: var(--gold-ink); font-weight: 600; text-decoration: none; }

/* Hover lift must win over the reveal reset */
.js .s-card[data-reveal].is-in:hover { transform: translateY(-3px); }
.js .s-card[data-reveal].is-in { transition: opacity .9s var(--ease), transform .45s var(--ease), border-color .35s; }

/* Story frames share one size, so switching steps never makes the frame jump */
.s-story .s-media[data-media-kind="image"] .s-media__body { aspect-ratio: var(--ratio, 16 / 10) !important; }
.s-story .s-media[data-media-kind="image"] .s-media__body > img { width: 100%; height: auto; object-fit: initial; }
@media (max-width: 640px) { .s-story .s-media[data-media-kind="image"] .s-media__body { aspect-ratio: var(--ratio-sm, 16 / 10) !important; } }
.s-flow .s-media[data-media-kind="image"] .s-media__body { aspect-ratio: 4 / 3 !important; }
.s-flow .s-media[data-media-kind="image"] .s-media__body > img { width: 100%; height: auto; object-fit: initial; }

/* Screener thesis mock: rows arrive one by one, a highlight walks the short list */
.mk-thesis__pill i { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: rgba(61, 220, 168, .16); color: var(--mint); font-size: 9px; font-style: normal; }
.mk-thesis__table td { position: relative; }
.mk-thesis__table tbody tr td:first-child::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--gold); opacity: 0; }
.mk-tkr[data-tone="violet"] { background: rgba(167, 139, 250, .18); color: #cbbcff; }
.mk-tkr[data-tone="sky"] { background: rgba(96, 165, 250, .16); color: #a9cdfd; }
.mk-tkr[data-tone="gold"] { background: rgba(228, 185, 104, .16); color: var(--gold-2); }
.mk-tkr[data-tone="rose"] { background: rgba(244, 114, 142, .15); color: #f8b4c3; }
.mk-tkr[data-tone="mint"] { background: rgba(61, 220, 168, .14); color: #8ff0cc; }
.mk-thesis__bar { display: grid; grid-template-columns: minmax(40px, 1fr) auto; align-items: center; gap: 10px; min-width: 120px; }
.mk-thesis__bar i { height: 5px; border-radius: 3px; background: linear-gradient(90deg, rgba(61, 220, 168, .9), rgba(61, 220, 168, .25)); width: var(--g); transform-origin: left; }
.mk-thesis__bar--f i { width: var(--f); background: linear-gradient(90deg, rgba(96, 165, 250, .85), rgba(96, 165, 250, .2)); }
.mk-thesis__bar b { font: 500 12px/1 var(--mono); color: var(--text-2); text-align: right; min-width: 52px; }
.mk-thesis__bar b.up { color: var(--mint); }
.mk-thesis__foot { margin-top: 12px; }
.mk-thesis__foot b { color: var(--text); font-weight: 700; }
.s-story__frame.is-active .mk-thesis__table tbody tr, .is-in .mk-thesis__table tbody tr { animation: mk-row-in .6s var(--ease) both; animation-delay: calc(.25s + var(--r) * .12s); }
.s-story__frame.is-active .mk-thesis__bar i, .is-in .mk-thesis__bar i { animation: v-grow-x 1s var(--ease) both; animation-delay: calc(.45s + var(--r) * .12s); }
.s-story__frame.is-active .mk-thesis__pill, .is-in .mk-thesis__pill { animation: mk-row-in .5s var(--ease) both; animation-delay: calc(var(--i) * .08s); }
.s-story__frame.is-active .mk-thesis__table tbody tr td, .is-in .mk-thesis__table tbody tr td { animation: mk-row-hl 7.5s ease-in-out infinite; animation-delay: calc(1.4s + var(--r) * 1.5s); }
.s-story__frame.is-active .mk-thesis__table tbody tr td:first-child::before, .is-in .mk-thesis__table tbody tr td:first-child::before { animation: mk-row-mark 7.5s ease-in-out infinite; animation-delay: calc(1.4s + var(--r) * 1.5s); }
@keyframes mk-row-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes v-grow-x { from { transform: scaleX(0); } }
@keyframes mk-row-hl { 0%, 22%, 100% { background: transparent; } 4%, 18% { background: rgba(228, 185, 104, .07); } }
@keyframes mk-row-mark { 0%, 22%, 100% { opacity: 0; } 4%, 18% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mk-thesis * { animation: none !important; } }

/* Hero reel: a quick tour of every tool (one card in focus, the next waiting on the right) */
.s-reel { position: relative; container-type: inline-size; }
.s-reel__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; min-height: 52px; }
.s-reel__num { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(228, 185, 104, .5); color: var(--gold-2); font: 600 13px/1 var(--mono); background: rgba(228, 185, 104, .06); }
.s-reel__head > div { flex: 1; min-width: 0; }
.s-reel__head small { display: block; color: var(--gold); font: 600 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.s-reel__head b { display: block; margin-top: 4px; font: 400 clamp(22px, 2vw, 28px)/1.1 var(--serif); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-reel__head.is-swapping small, .s-reel__head.is-swapping b, .s-reel__head.is-swapping .s-reel__num { opacity: 0; transform: translateY(6px); }
.s-reel__head small, .s-reel__head b, .s-reel__num { transition: opacity .2s var(--ease), transform .2s var(--ease); }
.s-reel__toggle { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(8, 11, 17, .6); color: var(--text-2); cursor: pointer; }
.s-reel__toggle svg { width: 13px; height: 13px; }
.s-reel__toggle .i-play, .s-reel__toggle.is-paused .i-pause { display: none; }
.s-reel__toggle.is-paused .i-play { display: block; }
.s-reel__track { position: relative; height: calc(82cqw * 10 / 16 + 42px); }
.s-reel__card { position: absolute; left: 0; top: 0; width: 82%; color: inherit; text-decoration: none; transform-origin: 0 50%; transition: transform .45s var(--ease), opacity .45s var(--ease), filter .45s var(--ease); will-change: transform; }
.s-reel__card .s-media { box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .95); }
.s-reel__card[data-pos="0"] { z-index: 3; transform: none; opacity: 1; }
.s-reel__card[data-pos="0"] .s-media { border-color: rgba(228, 185, 104, .45); }
.s-reel__card[data-pos="1"] { z-index: 2; transform: translateX(34%) scale(.8); opacity: .5; filter: saturate(.7) brightness(.75); }
.s-reel__card[data-pos="2"] { z-index: 1; transform: translateX(62%) scale(.64); opacity: 0; }
.s-reel__card[data-pos="-1"] { z-index: 1; transform: translateX(-28%) scale(.86); opacity: 0; }
.s-reel__card[data-pos="far"] { z-index: 0; transform: translateX(82%) scale(.64); opacity: 0; transition: none; visibility: hidden; }
/* Never crop the right side: fill the width, let only the bottom run out of the frame */
.s-reel__card .s-media[data-media-kind="image"] .s-media__body { aspect-ratio: 16 / 10 !important; }
.s-reel__card .s-media[data-media-kind="image"] .s-media__body > img { width: 100%; height: auto; object-fit: initial; }
.s-reel__dots { display: flex; gap: 6px; margin-top: 18px; }
.s-reel__dot { position: relative; flex: 1; max-width: 34px; height: 14px; padding: 0; border: 0; background: none; cursor: pointer; }
.s-reel__dot i { position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: var(--line-2); transition: background .4s, height .4s, top .4s; }
.s-reel__dot.is-active i { height: 3px; top: 5.5px; overflow: hidden; }
.s-reel__dot.is-active i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), var(--mint)); transform-origin: left; animation: reel-fill var(--reel-ms, 2600ms) linear both; }
.s-reel.is-paused .s-reel__dot.is-active i::after { animation: none; }
@keyframes reel-fill { from { transform: scaleX(0); } }
.s-reel__dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
@media (max-width: 860px) {
  .s-reel__card { width: 84%; }
  .s-reel__track { height: calc(84cqw * 10 / 16 + 42px); }
  .s-reel__card[data-pos="1"] { transform: translateX(40%) scale(.82); }
}
@media (prefers-reduced-motion: reduce) { .s-reel__card { transition: opacity .3s; } }
.s-hero__stage .s-reel .s-media, .s-hero--split .s-hero__stage .s-reel .s-media { transform: none; }
.s-reel__arrow { position: absolute; z-index: 6; top: calc(50% - 22px); width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(8, 11, 17, .78); color: var(--text); cursor: pointer; backdrop-filter: blur(10px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .9); transition: border-color .2s, color .2s, transform .2s var(--ease); }
.s-reel__arrow svg { width: 18px; height: 18px; }
.s-reel__arrow:hover, .s-reel__arrow:focus-visible { border-color: rgba(228, 185, 104, .6); color: var(--gold-2); transform: scale(1.06); }
.s-reel__arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.s-reel__arrow--prev { left: -22px; }
.s-reel__arrow--next { right: 0; }
@media (max-width: 860px) { .s-reel__arrow { width: 38px; height: 38px; top: calc(50% - 19px); } .s-reel__arrow--prev { left: -8px; } }
.s-reel .s-media__toggle { display: none; }
.s-reel__card .s-media[data-media-kind="video"] .s-media__body { aspect-ratio: 16 / 10; }
.s-reel__card .s-media[data-media-kind="video"] .s-media__body > video { width: 100%; height: auto; object-fit: initial; }

/* Six proof numbers: three per row, two per row on phones */
.s-stats--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s-stats--six .s-stat:nth-child(4) { border-left: 0; }
.s-stats--six .s-stat:nth-child(n+4) { border-top: 1px solid var(--line); }
.s-stats--six .s-stat strong { font-size: clamp(38px, 4.2vw, 58px); letter-spacing: -.01em; }
@media (max-width: 860px) {
  .s-stats--six { grid-template-columns: 1fr 1fr; }
  .s-stats--six .s-stat:nth-child(4) { border-left: 1px solid var(--line); }
  .s-stats--six .s-stat:nth-child(odd) { border-left: 0; }
  .s-stats--six .s-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Error pages (404 / 403 / 400) --------------------------------------------- */
.s-err { position: relative; padding: clamp(120px, 16vh, 190px) 0 clamp(72px, 10vh, 120px); overflow: hidden; }
.s-err__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.s-err__copy .s-h1 { max-width: 13ch; }
.s-err__copy .s-lede { max-width: 46ch; }
.s-err__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 34px; color: var(--muted); font-size: 14.5px; }
.s-err__links a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.s-err__links a:hover, .s-err__links a:focus-visible { color: var(--gold-2); text-decoration-color: currentColor; }
.s-err__viz { position: relative; aspect-ratio: 520 / 300; border: 1px solid var(--line-2); border-radius: 22px; background: linear-gradient(180deg, rgba(18, 25, 38, .7), rgba(11, 16, 24, .9)); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9); overflow: hidden; }
.s-err__code { position: absolute; left: 6%; top: 2%; font: 400 clamp(110px, 17vw, 230px)/1 var(--serif); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(228, 185, 104, .38); user-select: none; }
.s-err__viz svg { position: absolute; inset: 22% 0 0 0; width: 100%; height: 78%; }
.s-err__gridlines path { stroke: rgba(166, 184, 212, .09); stroke-width: 1; fill: none; }
.s-err__line { fill: none; stroke: url(#err-line); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 620; }
.s-err.is-in .s-err__line { animation: s-err-draw 1.8s var(--ease) both; }
@keyframes s-err-draw { from { stroke-dashoffset: 620; } to { stroke-dashoffset: 0; } }
.s-err__ghost { fill: none; stroke: rgba(166, 184, 212, .28); stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; }
.s-err__dot { fill: var(--gold-2); }
.s-err__ring { fill: none; stroke: var(--gold); stroke-width: 2; transform-origin: 318px 62px; animation: s-err-ping 2.4s ease-out infinite; }
@keyframes s-err-ping { from { transform: scale(1); opacity: .9; } to { transform: scale(4.5); opacity: 0; } }
.s-err__tag { position: absolute; right: 6%; bottom: 9%; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(8, 11, 17, .82); backdrop-filter: blur(10px); }
.s-err__tag small { display: block; color: var(--gold); font: 600 10.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.s-err__tag b { display: block; margin-top: 4px; font-size: 14px; font-weight: 600; }
@media (max-width: 900px) { .s-err__grid { grid-template-columns: 1fr; } .s-err__viz { order: -1; max-width: 520px; } .s-err { padding-top: 110px; } }
@media (prefers-reduced-motion: reduce) { .s-err__ring, .s-err__line { animation: none !important; } }
