:root {
  color-scheme: light;

  --ink: #0a0d10;
  --ink-2: #3c464f;
  --ink-3: #5f6b76;
  --paper: #ffffff;
  --mist: #f2f5f6;
  --line: #e1e7ea;
  --ring: #e6ebee;
  --aqua: #8af7f7;
  --aqua-strong: #3ee6e8;
  --teal: #00737a;
  --urgent: #a42619;
  --urgent-soft: #fbe9e7;
  --series-old: #9c86c9;
  --series-new: #008f99;

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lead: clamp(1.125rem, 1rem + 0.6vw, 1.4rem);
  --text-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  --text-h2: clamp(1.75rem, 1.2rem + 2.4vw, 3.4rem);
  --text-display: clamp(1.9rem, 0.9rem + 3.4vw, 3.9rem);

  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --shadow-float: 0 30px 60px -24px rgb(10 13 16 / 0.28), 0 8px 18px -10px rgb(10 13 16 / 0.18);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 700ms;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.nowrap { white-space: nowrap; }
.muted { color: var(--ink-3); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* Type */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-display);
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-h2);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 18ch;
  text-wrap: balance;
}
.h3, h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-h3); line-height: 1.2; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--aqua); }
.eyebrow--urgent { color: var(--urgent); }
.lead { font-size: var(--text-lead); line-height: 1.45; color: var(--ink-2); max-width: 34ch; }
mark { background: linear-gradient(transparent 58%, var(--aqua) 58%); color: inherit; padding-inline: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform 200ms var(--ease-out), background-color 200ms, box-shadow 200ms, color 200ms;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 200ms var(--ease-out); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { box-shadow: 0 0 0 4px var(--aqua); }
.btn--ink:hover svg { transform: translateX(4px); }
.btn--line { border: 1.5px solid var(--ink); }
.btn--line:hover { background: var(--aqua); border-color: var(--aqua); }
.btn:active { transform: scale(0.97); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgb(255 255 255 / 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.top__links { display: flex; gap: 28px; margin-left: auto; }
.top__links a { text-decoration: none; color: var(--ink-2); font-weight: 500; position: relative; }
.top__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--aqua-strong); transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease-out);
}
.top__links a:hover { color: var(--ink); }
.top__links a:hover::after { transform: scaleX(1); }

/* Concentric dashed rings — the motif from the pitch deck */
.rings {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  --c: var(--ring);
  background:
    radial-gradient(circle at 78% 42%, transparent 0 279px, var(--c) 280px 282px, transparent 283px),
    radial-gradient(circle at 78% 42%, transparent 0 479px, var(--c) 480px 482px, transparent 483px),
    radial-gradient(circle at 78% 42%, transparent 0 699px, var(--c) 700px 702px, transparent 703px);
  -webkit-mask: repeating-conic-gradient(#000 0 2deg, transparent 2deg 4deg);
  mask: repeating-conic-gradient(from 0deg at 78% 42%, #000 0 1.6deg, transparent 1.6deg 3.2deg);
}

/* Hero */
.hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 var(--section); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy .display { margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__stats div { display: flex; flex-direction: column-reverse; gap: 4px; }
.hero__stats dt { font-size: 0.88rem; color: var(--ink-3); max-width: 14ch; line-height: 1.3; }
.hero__stats dd { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hero__stats small { font-size: 0.55em; margin-left: 2px; }

.hero__shot { position: relative; padding: 0 0 12% 0; }
.browser {
  border-radius: var(--radius-md); overflow: hidden; background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow-float);
  transform: rotate(-1.2deg);
}
.browser__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: var(--mist); border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4dade; }
.browser__bar span { margin-left: 12px; font-size: 0.75rem; color: var(--ink-3); background: var(--paper); padding: 3px 12px; border-radius: 999px; }

.phone {
  border-radius: 34px; overflow: hidden; background: var(--ink);
  border: 7px solid var(--ink); box-shadow: var(--shadow-float);
}
.phone img { border-radius: 26px; }
.phone--hero { position: absolute; right: -4%; bottom: 0; width: 34%; transform: rotate(3deg); }

/* Problem */
.problem { background: var(--ink); color: var(--paper); padding: var(--section) 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.problem__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.problem__points { display: grid; gap: 20px; }
.pain { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: baseline; padding: 26px 0; border-top: 1px solid rgb(255 255 255 / 0.16); }
.pain__num { grid-row: span 2; font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 2rem + 4vw, 5rem); line-height: 0.9; color: var(--aqua); letter-spacing: -0.04em; }
.pain__unit { font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: rgb(255 255 255 / 0.6); }
.pain p { color: rgb(255 255 255 / 0.86); max-width: 40ch; }
.audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.audience__card { background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.12); border-radius: var(--radius-md); padding: clamp(24px, 3vw, 36px); transition: background-color 250ms, transform 250ms var(--ease-out); }
.audience__card:hover { background: rgb(255 255 255 / 0.1); transform: translateY(-3px); }
.audience__card h3 { margin-bottom: 12px; }
.audience__card p { color: rgb(255 255 255 / 0.78); }

/* How */
.how { padding: var(--section) 0; background: var(--paper); }
.how .h2 { max-width: 22ch; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; counter-reset: step; }
.flow__step {
  position: relative; padding: 28px 24px 30px; border-radius: var(--radius-md);
  background: var(--mist); transition: transform 250ms var(--ease-out), box-shadow 250ms;
}
.flow__step:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -24px rgb(10 13 16 / 0.35); }
.flow__step:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; right: -13px; width: 10px; height: 10px; z-index: 1;
  border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg);
}
.flow__step--accent { background: var(--aqua); }
.flow__n { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--ink-3); margin-bottom: 40px; }
.flow__step--accent .flow__n { color: var(--ink); }
.flow__step h3 { margin-bottom: 10px; }
.flow__step p { color: var(--ink-2); font-size: 0.98rem; }
.how__notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 48px; margin-top: 48px; }
.note { padding-left: 20px; border-left: 2px solid var(--ink); color: var(--ink-2); }
.note strong { color: var(--ink); }

/* Product bento */
.product { padding: var(--section) 0; background: var(--mist); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.tile { background: var(--paper); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform 300ms var(--ease-out), box-shadow 300ms; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgb(10 13 16 / 0.4); }
.tile figcaption { padding: 22px 24px 26px; }
.tile figcaption h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tile figcaption p { color: var(--ink-2); font-size: 0.96rem; }
.tile > img { border-bottom: 1px solid var(--line); }
.tile--queue { grid-column: span 7; }
.tile--phone { grid-column: span 5; background: var(--aqua); border-color: transparent; justify-content: space-between; }
.tile--phone .phone { width: min(230px, 62%); margin: 32px auto 0; transform: rotate(-2deg); }
.tile--mis { grid-column: span 6; }
.tile--facts { grid-column: span 6; background: var(--ink); color: var(--paper); border-color: transparent; padding: clamp(24px, 3vw, 36px); justify-content: center; }
.tile--facts h3 { font-size: 1.15rem; margin-bottom: 20px; color: var(--aqua); }
.facts { display: grid; gap: 16px; }
.facts li { font-size: 1rem; color: rgb(255 255 255 / 0.78); padding-top: 14px; border-top: 1px solid rgb(255 255 255 / 0.14); }
.facts li:first-child { border-top: 0; padding-top: 0; }
.facts b { color: var(--paper); font-weight: 600; }

/* Urgent */
.urgent { padding: var(--section) 0; background: var(--urgent-soft); }
.urgent__grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.phone--urgent { width: min(300px, 100%); justify-self: center; transform: rotate(-3deg); }
.phone--urgent img { aspect-ratio: 375 / 560; object-fit: cover; object-position: top; }
.urgent__copy .h2 { margin-bottom: 24px; }
.urgent__copy p { max-width: 52ch; color: var(--ink-2); margin-bottom: 16px; }
.urgent__copy b { color: var(--urgent); }
.urgent__aside { font-size: 0.95rem; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--paper); color: var(--ink-2); }

/* Metrics */
.metrics { padding: var(--section) 0; }
.metrics__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.metrics__copy > p { color: var(--ink-2); max-width: 46ch; margin-top: 24px; }
.kpis { display: flex; flex-wrap: wrap; gap: 32px; margin: 36px 0 28px; }
.kpis div { display: flex; flex-direction: column-reverse; }
.kpis dt { font-size: 0.86rem; color: var(--ink-3); }
.kpis dd { font-family: var(--font-display); font-weight: 700; font-size: 2rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.fine { font-size: 0.88rem; color: var(--ink-3); max-width: 46ch; }

.chart { position: relative; background: var(--mist); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); }
.chart__title { font-weight: 600; margin-bottom: 10px; }
.legend { display: flex; gap: 20px; font-size: 0.88rem; color: var(--ink-2); margin-bottom: 18px; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.dot--old { border: 2.5px solid var(--series-old); background: var(--paper); }
.dot--new { background: var(--series-new); }

.dumbbell { display: grid; gap: 4px; }
.db-row { display: grid; grid-template-columns: minmax(96px, 9.5rem) 1fr; align-items: center; gap: 14px; min-height: 52px; }
.db-label { font-size: 0.92rem; color: var(--ink-2); line-height: 1.25; }
.db-track { position: relative; height: 44px; }
.db-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.db-bar { position: absolute; top: calc(50% - 2px); height: 4px; border-radius: 4px; background: var(--series-new); opacity: 0.35; }
.db-bar--down { background: var(--series-old); }
.db-pt {
  position: absolute; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0;
  border: 0; background: transparent; cursor: pointer; border-radius: 50%;
}
.db-pt::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; box-shadow: 0 0 0 2px var(--mist); transition: transform 150ms; }
.db-pt--old::before { border: 2.5px solid var(--series-old); background: var(--paper); }
.db-pt--new::before { background: var(--series-new); }
.db-pt:hover::before, .db-pt:focus-visible::before { transform: scale(1.3); }
.db-val { position: absolute; top: -2px; font-size: 0.8rem; font-variant-numeric: tabular-nums; color: var(--ink-2); transform: translateX(-50%); white-space: nowrap; }
.db-val--new { color: var(--ink); font-weight: 600; }
.db-axis { display: grid; grid-template-columns: minmax(96px, 9.5rem) 1fr; gap: 14px; margin-top: 4px; }
.db-ticks { position: relative; height: 20px; font-size: 0.75rem; color: var(--ink-3); }
.db-ticks span { position: absolute; transform: translateX(-50%); font-variant-numeric: tabular-nums; }

.tooltip {
  position: absolute; z-index: 5; pointer-events: none;
  background: var(--ink); color: var(--paper); font-size: 0.85rem; line-height: 1.35;
  padding: 8px 12px; border-radius: 8px; transform: translate(-50%, calc(-100% - 12px)); white-space: nowrap;
}
.chart__table { margin-top: 18px; font-size: 0.9rem; }
.chart__table summary { cursor: pointer; color: var(--teal); font-weight: 500; }
.chart__table table { width: 100%; border-collapse: collapse; margin-top: 12px; font-variant-numeric: tabular-nums; }
.chart__table th, .chart__table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }

/* Stack */
.stack { padding: 0 0 var(--section); }
.stack__grid { display: grid; grid-template-columns: minmax(0, 0.5fr) minmax(0, 1.5fr); gap: 32px; padding-top: 48px; border-top: 1px solid var(--line); }
.stack__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.stack__list dt { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.stack__list dd { font-size: 1.02rem; }

/* Team */
.team { padding: var(--section) 0; background: var(--mist); }
.team__lead { color: var(--ink-2); margin-top: 20px; font-size: var(--text-lead); }
.people { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 52px; }
.person { background: var(--paper); border-radius: var(--radius-md); padding: 12px 12px 22px; display: flex; flex-direction: column; transition: transform 300ms var(--ease-out); }
.person:hover { transform: translateY(-4px); }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin-bottom: 18px; filter: grayscale(0.15); transition: filter 300ms; }
.person:hover img { filter: none; }
.person h3 { font-size: 1.02rem; padding-inline: 6px; }
.person__role { color: var(--teal); font-weight: 600; font-size: 0.9rem; margin: 4px 0 12px; padding-inline: 6px; }
.person p:not(.person__role) { font-size: 0.88rem; color: var(--ink-2); padding-inline: 6px; flex: 1; }
.person a { margin-top: 16px; padding-inline: 6px; font-size: 0.88rem; color: var(--ink-3); text-decoration: none; }
.person a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--aqua-strong); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* CTA */
.cta { position: relative; padding: var(--section) 0; overflow: hidden; }
.rings--cta { background-position: center; }
.cta__inner { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.display--cta { margin-bottom: 20px; }
.cta__inner p { color: var(--ink-2); max-width: 44ch; font-size: var(--text-lead); }
.cta .hero__actions { justify-content: center; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.foot__inner { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
.foot p { font-size: 0.85rem; color: var(--ink-3); max-width: 60ch; }
.brand--foot .brand__mark { width: 26px; height: 26px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero__shot.reveal { transform: translateY(32px) scale(0.98); }
.js .hero__shot.reveal.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero__shot.reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 1ms !important; }
}

/* Responsive */
@media (max-width: 1080px) {
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow__step:nth-child(2)::after { display: none; }
  .tile--queue { grid-column: span 12; }
  .tile--phone { grid-column: span 6; grid-row: auto; }
  .tile--mis { grid-column: span 6; }
  .tile--facts { grid-column: span 12; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(2) { border-top: 0; padding-top: 0; }
}

@media (max-width: 900px) {
  .top__links { display: none; }
  .top__inner .btn { margin-left: auto; }
  .hero__grid, .problem__grid, .urgent__grid, .metrics__grid, .stack__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__shot { max-width: 620px; }
  .problem__grid { align-items: start; }
  .urgent__copy { order: -1; }
  .stack__grid { gap: 20px; }
}

@media (max-width: 640px) {
  .audience, .how__notes, .stack__list { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow__step::after { display: none; }
  .flow__n { margin-bottom: 20px; }
  .tile--phone, .tile--mis { grid-column: span 12; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts li:nth-child(2) { border-top: 1px solid rgb(255 255 255 / 0.14); padding-top: 14px; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn { min-height: 50px; padding: 0 20px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .brand span { font-size: 0.95rem; }
  .top__inner .btn { display: none; }
  .db-row, .db-axis { grid-template-columns: 84px 1fr; gap: 10px; }
  .db-label { font-size: 0.82rem; }
}

@media (max-width: 380px) {
  .people { grid-template-columns: minmax(0, 1fr); }
}
