/* HAYLO marketing site. One stylesheet, no build step.
   Colours match the app (src/styles.css). Text colours are the AA-safe
   variants of each brand colour; the brand colours themselves are used for
   fills, rings and accents. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallback so the swap to Inter does not shift the layout. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
  size-adjust: 107.12%;
}

:root {
  --bg: oklch(0.99 0.003 250);
  --surface: #fff;
  --tint: oklch(0.97 0.006 250);
  --tint-2: oklch(0.955 0.009 250);
  --ink: oklch(0.18 0.03 250);
  --ink-2: oklch(0.32 0.03 250);
  --muted: oklch(0.47 0.02 250);
  --line: oklch(0.92 0.008 250);
  --line-2: oklch(0.88 0.01 250);

  --red: oklch(0.58 0.22 25);
  --red-strong: oklch(0.53 0.21 25);
  --red-soft: oklch(0.965 0.025 25);
  --green: oklch(0.62 0.15 155);
  --green-ink: oklch(0.5 0.13 155);
  --green-soft: oklch(0.965 0.035 155);
  --amber: oklch(0.74 0.16 75);
  --amber-ink: oklch(0.52 0.12 70);
  --amber-soft: oklch(0.97 0.045 85);
  --blue: oklch(0.6 0.13 240);
  --blue-ink: oklch(0.5 0.13 240);
  --blue-soft: oklch(0.965 0.025 240);
  --pink: oklch(0.6 0.2 355);

  --navy: oklch(0.18 0.035 250);
  --navy-2: oklch(0.24 0.04 250);
  --navy-3: oklch(0.3 0.04 250);
  --navy-ink: oklch(0.88 0.01 250);
  --navy-muted: oklch(0.72 0.02 250);

  --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --shadow-sm: 0 1px 2px oklch(0.18 0.03 250 / 0.06);
  --shadow: 0 1px 2px oklch(0.18 0.03 250 / 0.05), 0 4px 12px -2px oklch(0.18 0.03 250 / 0.06);
  --shadow-lg: 0 1px 2px oklch(0.18 0.03 250 / 0.04), 0 12px 32px -8px oklch(0.18 0.03 250 / 0.12), 0 40px 80px -24px oklch(0.18 0.03 250 / 0.16);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: clamp(20px, 4vw, 40px);
  --wrap: 1200px;
  --header-h: 68px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "cv05", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
.num, .tnum { font-variant-numeric: tabular-nums; }

:focus-visible {
  outline: 2.5px solid var(--blue-ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-navy :focus-visible { outline-color: #fff; }

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }
.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;
}

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: calc(760px + var(--gutter) * 2); }

/* ------------------------------------------------------------ type */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-strong);
}
.h-display {
  font-size: clamp(2.5rem, 1.2rem + 5.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 750;
}
.h-section {
  font-size: clamp(2rem, 1.25rem + 2.8vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.038em;
  font-weight: 720;
}
.h-card { font-size: 1.25rem; letter-spacing: -0.02em; font-weight: 650; line-height: 1.25; }
.lede {
  font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
}
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.section-head { display: grid; gap: 18px; max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }

.todo {
  background: var(--amber-soft);
  outline: 1.5px dashed var(--amber-ink);
  outline-offset: 1px;
  border-radius: 4px;
  padding: 0 4px;
  color: var(--ink);
  font-weight: 600;
}

/* ------------------------------------------------------------ buttons */
.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.25) inset, 0 1px 2px oklch(0.53 0.21 25 / 0.3), 0 6px 16px -6px oklch(0.58 0.22 25 / 0.55);
}
.btn-primary:hover { background: var(--red-strong); }
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: oklch(0.8 0.01 250); background: var(--tint); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy-3); }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 1.0625rem; border-radius: 14px; }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 0.9375rem; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .play {
  display: grid; place-items: center;
  width: 26px; height: 26px; margin-left: -6px;
  border-radius: 50%;
  background: var(--ink); color: #fff;
}
.btn .play svg { width: 10px; height: 10px; margin-left: 2px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--red-strong); font-weight: 600; text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: oklch(0.99 0.003 250 / 0.94);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; border-radius: 8px; color: #0B1220; }
.logo-mark { width: 32px; height: 32px; flex: none; }
.logo-word { font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1; }
.logo { cursor: pointer; transition: opacity 0.15s; }
.logo:hover { opacity: 0.72; }
.nav-main { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-main a, .nav-signin {
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.nav-main a:hover, .nav-signin:hover { background: var(--tint-2); color: var(--ink); }
.nav-main a[aria-current="page"] { color: var(--ink); background: var(--tint-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.menu-btn[aria-expanded="true"] .i-menu { display: none; }
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 49;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px -24px oklch(0.18 0.03 250 / 0.25);
  padding: 8px var(--gutter) 24px;
}
.mobile-nav ul { list-style: none; display: grid; }
.mobile-nav a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px;
  font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { width: 100%; margin-top: 20px; }

@media (max-width: 900px) {
  .nav-main, .nav-signin { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header .wrap { justify-content: space-between; }
  .header-actions .btn { --h: 44px; padding: 0 16px; font-size: 0.9375rem; }
}
@media (max-width: 380px) {
  .logo-mark { width: 28px; height: 28px; }
  .logo-word { font-size: 1.125rem; }
  .header-actions .btn { padding: 0 12px; }
}

/* Sticky thumb CTA on phones */
.thumb-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: oklch(0.99 0.003 250 / 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  display: none;
  gap: 12px;
  align-items: center;
  transform: translateY(110%);
  transition: transform 0.3s var(--ease-out);
}
.thumb-cta .btn { flex: 1; }
.thumb-cta p { flex: none; font-size: 0.8rem; line-height: 1.35; color: var(--muted); white-space: nowrap; }
.thumb-cta p::first-line { color: var(--ink); font-weight: 650; }
.thumb-cta.is-on { transform: none; }
@media (max-width: 900px) {
  .header-actions .btn { transition: opacity 0.25s var(--ease), visibility 0.25s; }
  .thumb-showing .header-actions .btn { opacity: 0; visibility: hidden; }
}
@media (max-width: 900px) { .thumb-cta { display: flex; } }

/* ------------------------------------------------------------ sections */
.section { padding-block: clamp(80px, 10vw, 140px); position: relative; }
.section-tint { background: var(--tint); border-block: 1px solid var(--line); }
.section:not(.section-tint):not(.on-navy) + .section:not(.section-tint):not(.on-navy) { padding-top: 0; }
main > section:last-child:not(.section), main.book { padding-bottom: clamp(72px, 9vw, 120px); }

/* ------------------------------------------------------------ hero */
.hero { padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 104px); position: relative; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  inset: -68px 0 0 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 40%, oklch(0.58 0.22 25 / 0.07), transparent 70%),
    radial-gradient(50% 40% at 10% 85%, oklch(0.6 0.13 240 / 0.07), transparent 70%);
  pointer-events: none;
}
.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem; font-weight: 550; color: var(--ink-2);
  margin-bottom: 28px;
}
.hero-badge .dot {
  display: grid; place-items: center;
  height: 22px; padding: 0 9px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-strong);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
}
.hero h1 .ul {
  background: linear-gradient(var(--red), var(--red)) 0 94% / 100% 0.085em no-repeat;
  padding-bottom: 0.02em;
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .ul { animation: draw-ul 0.9s 0.35s var(--ease-out) both; }
}
@keyframes draw-ul { from { background-size: 0% 0.085em; } }
@media (min-width: 600px) { .hero h1 .ul { white-space: nowrap; } }
.vis .small { font-size: 11.5px; }
.hero-copy { display: grid; gap: 28px; padding-bottom: 6px; }
.hero-copy .lede { font-size: clamp(1.125rem, 1.04rem + 0.3vw, 1.25rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.proof-line {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; line-height: 1.45; color: var(--muted);
}
.proof-line svg { width: 18px; height: 18px; flex: none; color: var(--green-ink); margin-top: 1px; }
.proof-line strong { color: var(--ink-2); font-weight: 600; }

@media (max-width: 1023px) {
  .hero-top { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 520px) {
  .hero-ctas .btn { width: 100%; }
}

/* ------------------------------------------------------------ hero stage (live product) */
.stage-wrap { margin-top: clamp(40px, 6vw, 72px); position: relative; }
.stage-wrap::before {
  content: "";
  position: absolute;
  inset: 8% -2% -6%;
  z-index: -1;
  border-radius: 40px;
  background:
    linear-gradient(oklch(0.18 0.03 250 / 0.045) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, oklch(0.18 0.03 250 / 0.045) 1px, transparent 1px) 0 0 / 28px 28px;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent);
  mask-image: radial-gradient(closest-side, #000 40%, transparent);
}
.stage { margin: 0; }
.win {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  user-select: none;
  -webkit-user-select: none;
}
.win-bar {
  display: flex; align-items: center; gap: 14px;
  height: 40px; padding: 0 16px;
  background: var(--tint);
  border-bottom: 1px solid var(--line);
}
.win-dots { display: flex; gap: 7px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: oklch(0.86 0.01 250); }
.win-url {
  margin-inline: auto;
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 12px;
  border-radius: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.win-url svg { width: 11px; height: 11px; }
.win-bar .spacer { width: 47px; }
.app { display: grid; }
.app-main { display: flex; flex-direction: column; min-width: 0; background: var(--bg); }
.app-top {
  display: flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.app-search {
  display: flex; align-items: center; gap: 8px;
  flex: 1; max-width: 340px; height: 32px; padding: 0 10px;
  border-radius: 8px; border: 1px solid var(--line);
  background: var(--tint);
  color: var(--muted);
}
.app-search svg { width: 14px; height: 14px; }
.app-search span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.app-search kbd, .kbd {
  margin-left: auto;
  font: 600 11px/1 var(--font);
  padding: 4px 6px; border-radius: 5px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--muted);
}
.app-top .chip-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--ink-2); font-size: 12.5px;
}
.app-top .chip-btn svg { width: 15px; height: 15px; }
.badge-red {
  display: inline-grid; place-items: center;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--red); color: #fff;
  font-size: 10.5px; font-weight: 700;
}
.avatar {
  display: inline-grid; place-items: center; flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--tint-2); color: var(--ink-2);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.02em;
}
.avatar.a1 { background: oklch(0.93 0.04 25); color: oklch(0.45 0.15 25); }
.avatar.a2 { background: oklch(0.93 0.04 240); color: oklch(0.42 0.12 240); }
.avatar.a3 { background: oklch(0.93 0.05 155); color: oklch(0.42 0.11 155); }
.avatar.a4 { background: oklch(0.94 0.06 85); color: oklch(0.45 0.1 70); }
.avatar.a5 { background: oklch(0.93 0.04 300); color: oklch(0.42 0.12 300); }
.app-top .me { margin-left: auto; display: flex; align-items: center; gap: 16px; }

.app-body { padding: 18px 20px 20px; display: grid; gap: 16px; }
.app-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.app-head .eyebrow { font-size: 10.5px; }
.app-head h3 { font-size: 22px; letter-spacing: -0.025em; margin-top: 2px; }
.app-stats { display: flex; gap: 8px; }
.app-stat {
  padding: 7px 12px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line);
  min-width: 92px;
}
.app-stat b { display: block; font-size: 15px; letter-spacing: -0.02em; }
.app-stat span { color: var(--muted); font-size: 11px; }
.app-grid { display: grid; grid-template-columns: minmax(0, 1fr) 248px; gap: 16px; align-items: stretch; }
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.col {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  display: flex; flex-direction: column; gap: 7px;
  min-height: 330px;
}
.col-head { display: flex; align-items: center; gap: 6px; padding: 2px 4px 4px; font-weight: 650; font-size: 12px; }
.col-head .count {
  margin-left: auto;
  font-size: 11px; font-weight: 650; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line);
  padding: 0 7px; border-radius: 999px; line-height: 18px;
}
.col-head .bullet { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.col.placed .col-head .bullet { background: var(--green); }
.col.offer .col-head .bullet { background: var(--amber); }
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  box-shadow: var(--shadow-sm);
  display: grid; gap: 6px;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.4s var(--ease);
}
.card .nm { font-weight: 650; font-size: 12.5px; letter-spacing: -0.01em; }
.card .rl { color: var(--muted); font-size: 11.5px; line-height: 1.35; }
.card .ft { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.card .ft .avatar { width: 20px; height: 20px; font-size: 8.5px; margin-left: auto; }
.fee {
  display: inline-flex; align-items: center;
  padding: 1px 7px; border-radius: 6px;
  background: var(--tint-2); color: var(--ink-2);
  font-weight: 650; font-size: 11px;
}
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 1px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 650; line-height: 18px;
}
.pill-green { background: var(--green-soft); color: var(--green-ink); }
.pill-amber { background: var(--amber-soft); color: var(--amber-ink); }
.pill-blue { background: var(--blue-soft); color: var(--blue-ink); }
.pill-red { background: var(--red-soft); color: var(--red-strong); }
.pill-grey { background: var(--tint-2); color: var(--muted); }
.card.is-lifted { box-shadow: 0 10px 30px -8px oklch(0.18 0.03 250 / 0.35); border-color: var(--line-2); z-index: 5; }
.card.is-pressed { transform: scale(0.97); }
.card.is-won { border-color: oklch(0.85 0.08 155); background: oklch(0.985 0.015 155); }
.card .call {
  position: absolute; top: 7px; right: 7px;
  width: 24px; height: 24px; border-radius: 7px;
  display: grid; place-items: center;
  color: var(--muted); border: 1px solid var(--line); background: var(--surface);
}
.card .call svg { width: 12px; height: 12px; }

.rail { display: grid; gap: 12px; }
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.panel-title { display: flex; align-items: center; justify-content: space-between; font-weight: 650; font-size: 12.5px; margin-bottom: 10px; }
.panel-title span { color: var(--muted); font-weight: 500; font-size: 11px; }
.rings { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ring { display: grid; justify-items: center; gap: 4px; text-align: center; }
.ring-svg { position: relative; width: 78px; height: 78px; }
.ring-svg svg { width: 78px; height: 78px; transform: rotate(-90deg); }
.ring-svg circle { fill: none; stroke-width: 7; }
.ring-svg .track { stroke: var(--line); }
.ring-svg .bar { stroke: var(--amber); stroke-linecap: round; transition: stroke-dashoffset 0.9s var(--ease-out), stroke 0.4s; }
.ring-svg .bar.good { stroke: var(--green); }
.ring-svg .bar.red { stroke: var(--red); }
.ring-val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-val b { font-size: 18px; letter-spacing: -0.03em; line-height: 1; }
.ring-val span { font-size: 9.5px; color: var(--muted); }
.ring .lbl { font-size: 11.5px; font-weight: 600; }
.ring .pill { font-size: 10px; line-height: 16px; }
.lb { list-style: none; display: grid; gap: 4px; }
.lb li {
  display: grid; grid-template-columns: 16px 22px minmax(0, 1fr) auto; align-items: center; gap: 8px;
  padding: 5px 6px; border-radius: 8px;
  font-size: 12px;
  transition: background-color 0.4s;
}
.lb li .rk { color: var(--muted); font-weight: 650; font-size: 11px; text-align: center; }
.lb li .avatar { width: 22px; height: 22px; font-size: 8.5px; }
.lb li .who { min-width: 0; }
.lb li .who b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb li .who i { display: block; height: 4px; border-radius: 4px; background: var(--tint-2); margin-top: 3px; overflow: hidden; font-style: normal; }
.lb li .who i::after { content: ""; display: block; height: 100%; width: var(--w, 50%); background: var(--ink-2); border-radius: inherit; transition: width 0.9s var(--ease-out); }
.lb li.me { background: var(--red-soft); }
.lb li.me .who i::after { background: var(--red); }
.lb li .amt { font-weight: 650; font-variant-numeric: tabular-nums; }

/* overlays inside the window */
.toast {
  position: absolute; z-index: 20;
  top: 64px; right: 18px;
  display: flex; gap: 10px; align-items: flex-start;
  width: 290px; padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(-8px) scale(0.98);
  transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-out);
}
.toast.is-on { opacity: 1; transform: none; }
.toast .ok { width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.toast .ok svg { width: 13px; height: 13px; }
.toast b { display: block; font-size: 12.5px; }
.toast span { font-size: 11.5px; color: var(--muted); }
.ping {
  position: absolute; z-index: 20;
  right: 18px; bottom: 18px;
  width: 300px; padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.35s var(--ease-out), transform 0.5s var(--ease-out);
}
.ping.is-on { opacity: 1; transform: none; }
@media (min-width: 821px) { .ping { right: 290px; bottom: 26px; } }
@media (min-width: 821px) and (max-width: 1100px) { .ping { right: 262px; } }
.ping p { font-size: 12px; line-height: 1.45; }
.ping .acts { grid-column: 2; display: flex; gap: 6px; justify-content: flex-end; }
.mini-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 26px; padding: 0 11px; border-radius: 7px;
  font-size: 11.5px; font-weight: 650;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
}
.mini-btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.mini-btn.is-pressed { transform: scale(0.94); }
.pop {
  position: absolute; z-index: 21;
  width: 230px; padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(6px) scale(0.98);
  transition: opacity 0.25s var(--ease-out), transform 0.35s var(--ease-out);
  pointer-events: none;
}
.pop.is-on { opacity: 1; transform: none; }
.pop b { display: block; font-size: 12px; }
.pop span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.pop .row { display: flex; gap: 6px; flex-wrap: wrap; }
.cursor {
  position: absolute; z-index: 30;
  left: 0; top: 0;
  width: 22px; height: 22px;
  pointer-events: none;
  transform: translate(var(--x, 110%), var(--y, 60%));
  transition: transform 0.85s cubic-bezier(0.5, 0, 0.15, 1), opacity 0.3s;
  opacity: 0;
  filter: drop-shadow(0 2px 3px oklch(0.18 0.03 250 / 0.35));
}
.cursor.is-on { opacity: 1; }
.cursor svg { width: 22px; height: 22px; }
.cursor::after {
  content: "";
  position: absolute; left: -12px; top: -12px;
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--red);
  opacity: 0; transform: scale(0.4);
}
.cursor.tap::after { animation: tap-ring 0.55s var(--ease-out); }
@keyframes tap-ring {
  0% { opacity: 0.9; transform: scale(0.4); }
  100% { opacity: 0; transform: scale(1.9); }
}
.burst { position: absolute; z-index: 25; width: 0; height: 0; pointer-events: none; }
.burst i {
  position: absolute; width: 7px; height: 7px; border-radius: 2px;
  background: var(--c, var(--red));
  animation: burst 0.9s var(--ease-out) forwards;
}
@keyframes burst {
  0% { transform: translate(0, 0) rotate(0); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; }
}

/* caption bar under the stage */
.stage-cap {
  margin-top: 18px;
  display: flex; align-items: center; gap: 16px;
  min-height: 56px;
}
.taps {
  flex: none;
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px 0 8px;
  border-radius: 999px;
  background: var(--ink); color: #fff;
  font-weight: 650; font-size: 0.95rem;
  box-shadow: var(--shadow);
}
.taps .n {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--red); font-size: 1rem; font-variant-numeric: tabular-nums;
}
.taps .n.bump { animation: bump 0.4s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.25); } }
.stage-cap p { color: var(--ink-2); font-size: 1rem; line-height: 1.45; flex: 1; min-width: 0; transition: opacity 0.25s; }
.stage-cap p.fade { opacity: 0; }
.stage-cap p b { color: var(--ink); }
.pause-btn {
  flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); background: var(--surface);
  display: grid; place-items: center; color: var(--ink-2);
}
.pause-btn svg { width: 16px; height: 16px; }
.pause-btn .i-play { display: none; }
.pause-btn[aria-pressed="true"] .i-play { display: block; }
.pause-btn[aria-pressed="true"] .i-pause { display: none; }
.stage.is-paused * { animation-play-state: paused !important; }

@media (max-width: 1100px) {
  .app-grid { grid-template-columns: minmax(0, 1fr) 220px; }
  .board .col:nth-child(1) { display: none; }
  .board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .app-grid { grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr 1fr; }
  .app-stats .app-stat:nth-child(n+3) { display: none; }
  .app-top .hide-sm { display: none; }
  .col { min-height: 0; }
}
@media (max-width: 600px) {
  .win { border-radius: 18px; font-size: 12px; }
  .win-bar { height: 34px; }
  .win-url { font-size: 11px; }
  .board .col:nth-child(2) { display: none; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .app-body { padding: 14px 12px; gap: 12px; }
  .app-top { padding: 0 12px; }
  .app-stats { display: none; }
  .app-head h3 { font-size: 19px; }
  .rail { grid-template-columns: 1fr; }
  .toast { left: 12px; right: 12px; top: 52px; width: auto; }
  .ping { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .stage-cap { flex-wrap: wrap; gap: 12px; }
  .stage-cap p { order: 3; flex-basis: 100%; font-size: 0.95rem; }
  .pause-btn { margin-left: auto; }
  .board .col .card:nth-child(n+4) { display: none; }
}

/* ------------------------------------------------------- hero: the tour
   The real app's sidebar, clicked through screen by screen (hero.js). */
.app { grid-template-columns: 196px minmax(0, 1fr); min-height: 600px; }
.app-nav {
  background: var(--navy);
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 10px;
  color: var(--navy-muted);
  min-width: 0;
}
.nav-brand { display: flex; align-items: center; gap: 9px; padding: 0 6px 14px; }
.nav-brand .mark { width: 30px; height: 30px; flex: none; }
.nav-brand b { display: block; color: #fff; font-size: 14px; letter-spacing: -0.01em; line-height: 1.1; }
.nav-brand span { display: block; font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-muted); }
.nav-sec { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; padding: 12px 8px 4px; color: oklch(0.6 0.02 250); }
.nav-it {
  display: flex; align-items: center; gap: 9px;
  height: 32px; padding: 0 8px; border-radius: 8px;
  font-size: 12.5px; white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, transform 0.15s;
}
.nav-it svg { width: 15px; height: 15px; flex: none; }
.nav-it em { font-style: normal; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.nav-it.on { background: var(--navy-2); color: #fff; box-shadow: inset 2px 0 0 var(--red); }
.nav-it.is-pressed { transform: scale(0.96); }
.nav-it small { margin-left: auto; font-size: 9.5px; font-weight: 650; border-radius: 999px; padding: 1px 6px; }
.nav-live { background: var(--red); color: #fff; }
.nav-badge { background: var(--navy-3); color: #fff; }
.nav-me { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 10px 6px 0; border-top: 1px solid var(--navy-2); }
.nav-me .avatar { width: 26px; height: 26px; font-size: 9px; }
.nav-me b { display: block; color: #fff; font-size: 11.5px; }
.nav-me span { display: block; font-size: 10px; }
.app-tabs { display: none; }

.view { display: grid; gap: 16px; align-content: start; }
.view.is-on { animation: view-in 0.45s var(--ease-out) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--tint-2); font-size: 11px; }
.seg span { padding: 4px 9px; border-radius: 7px; color: var(--muted); }
.seg .on { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-sm); }
.app-stat-hot b { color: var(--green-ink); }

/* Pulse */
.pulse-big { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 10px; }
.pb { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 4px; }
.pb span { font-size: 11px; color: var(--muted); font-weight: 600; }
.pb b { font-size: 30px; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pb-hero { background: var(--navy); border-color: var(--navy); color: #fff; }
.pb-hero span { color: var(--navy-muted); }
.pb-hero b { font-size: 40px; }
.pb em { font-style: normal; font-size: 11px; font-weight: 650; color: var(--green-ink); }
.pb-hero em { color: oklch(0.8 0.14 155); }
.pulse-feed { display: grid; gap: 4px; }
.fi { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 4px; border-radius: 8px; font-size: 12.5px; }
.fi .avatar { width: 26px; height: 26px; font-size: 9px; }
.fi .amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.fi.is-new { animation: fi-in 0.55s var(--ease-out) both; background: var(--green-soft); }
.fi:not(.is-new):not(.is-shown) { opacity: 0; }
@keyframes fi-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

/* Sales */
.board.deals .card .ft .pill { margin-left: auto; }
.board.deals .card .fee { font-weight: 700; color: var(--ink); }
.card.deal.is-won .pill { background: var(--green-soft); color: var(--green-ink); }

/* Contractors Out */
.tbl { padding: 6px 8px; }
.tr { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, 0.9fr) 76px 128px; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 8px; font-size: 12px; transition: background-color 0.4s; }
.tr + .tr { border-top: 1px solid var(--line); }
.tr.th { font-size: 10.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.tr .who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tr .who b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr .who .avatar { width: 22px; height: 22px; font-size: 8.5px; flex: none; }
.tr > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr .num { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.tr .end { display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.tr[data-ending] { background: var(--amber-soft); }
.tr.is-done { background: var(--green-soft); }

/* Leaderboard, TV style */
.tv { background: linear-gradient(160deg, oklch(0.3 0.09 15), oklch(0.16 0.03 250) 60%); border-radius: 14px; padding: 18px; color: #fff; display: grid; gap: 14px; }
.tv-head { display: flex; gap: 16px; align-items: center; }
.tv-no1 { width: 84px; height: 84px; border-radius: 12px; background: linear-gradient(150deg, oklch(0.55 0.17 15), oklch(0.32 0.1 15)); display: grid; place-content: center; text-align: center; flex: none; }
.tv-no1 b { font-size: 26px; letter-spacing: -0.04em; line-height: 1; }
.tv-no1 span { font-size: 8.5px; letter-spacing: 0.12em; margin-top: 4px; }
.tv-eyebrow { display: block; font-size: 11px; font-weight: 600; color: oklch(0.85 0.02 250); }
.tv-month { display: block; font-size: 42px; letter-spacing: -0.045em; line-height: 1; }
.tv-sub { display: block; font-size: 11.5px; color: oklch(0.8 0.02 250); margin-top: 4px; }
.tv-sub b { color: #fff; }
.tv-lb { list-style: none; display: grid; gap: 6px; }
.tv-lb li { display: grid; grid-template-columns: 22px 28px minmax(0, 1fr) auto 80px; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: oklch(1 0 0 / 0.05); font-size: 13px; transition: background-color 0.5s, box-shadow 0.5s; }
.tv-lb .rk { font-weight: 800; font-size: 15px; text-align: center; }
.tv-lb .avatar { width: 28px; height: 28px; font-size: 9.5px; }
.tv-lb .who b { display: block; font-weight: 650; }
.tv-lb .who i { display: block; height: 4px; border-radius: 4px; background: oklch(1 0 0 / 0.12); margin-top: 4px; overflow: hidden; }
.tv-lb .who i::after { content: ""; display: block; height: 100%; width: var(--w, 50%); background: #fff; border-radius: inherit; transition: width 0.9s var(--ease-out); }
.tv-lb .amt { text-align: right; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.tv-lb .tag:empty { visibility: hidden; }
.tv-lb .tag { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 6px; background: var(--amber); color: var(--ink); }
.tv-lb li.is-top { background: oklch(0.55 0.17 15 / 0.45); box-shadow: inset 0 0 0 1px oklch(0.7 0.15 15 / 0.7); }
.tv-lb li.is-top .who b::after { content: " 👑"; }

/* Analytics */
.ana { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; }
.ana-hero { display: grid; gap: 6px; align-content: start; }
.ana-k { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.ana-hero > b { font-size: 46px; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.ana-sub { font-size: 11.5px; color: var(--green-ink); font-weight: 650; display: flex; gap: 8px; align-items: center; }
.ana-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; align-items: end; height: 110px; margin-top: 10px; }
.ana-bars i { display: block; height: 4%; border-radius: 4px 4px 2px 2px; background: var(--tint-2); transition: height 0.9s var(--ease-out), background-color 0.4s; }
.ana-bars.is-up i { height: var(--h); background: var(--ink-2); }
.ana-bars.is-up i:last-child { background: var(--red); }
.ana-rings .rings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ana-rings { display: grid; align-content: start; }

.ana-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ana-tiles .pb b { font-size: 24px; }
.ana-bars { height: 150px; }
.view[data-view="leaderboard"] { align-content: stretch; }
.tv { align-content: start; }
.tv-lb li { padding: 11px 12px; }
.toast.low { top: auto; bottom: 18px; }
.tv-awards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: auto; }
.tv { display: flex; flex-direction: column; }
.aw { border-radius: 12px; padding: 14px; background: oklch(1 0 0 / 0.06); display: grid; gap: 2px; }
.aw span { font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: oklch(0.8 0.02 250); }
.aw b { font-size: 22px; letter-spacing: -0.03em; }
.aw em { font-style: normal; font-size: 11px; color: oklch(0.8 0.02 250); }
.aw-red { background: linear-gradient(150deg, oklch(0.5 0.17 15), oklch(0.3 0.09 15)); }
.app-tabs { scrollbar-width: none; }
.app-tabs::-webkit-scrollbar { display: none; }
@media (max-width: 1100px) {
  .app { grid-template-columns: 60px minmax(0, 1fr); }
  .app-nav { align-items: center; padding: 14px 0; }
  .nav-brand div, .nav-sec, .nav-it em, .nav-it small, .nav-me div { display: none; }
  .nav-brand { padding: 0 0 12px; }
  .nav-it { width: 38px; height: 38px; justify-content: center; padding: 0; }
  .nav-it svg { width: 18px; height: 18px; }
  .nav-me { border-top: 0; padding: 0; }
  .pulse-big { grid-template-columns: 1.4fr 1fr 1fr; }
  .pulse-big .pb:last-child { display: none; }
  .tr { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) 70px 120px; }
  .tr > span:nth-child(3) { display: none; }
}
@media (max-width: 820px) {
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app-nav { display: none; }
  .app-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 8px 12px; background: var(--navy); }
  .ana-tiles { grid-template-columns: 1fr 1fr; }
  .app-tabs span { flex: none; padding: 6px 11px; border-radius: 999px; font-size: 12px; color: var(--navy-muted); transition: background-color 0.25s, color 0.25s; }
  .app-tabs span.on { background: #fff; color: var(--ink); font-weight: 650; }
  .app-tabs span.is-pressed { transform: scale(0.95); }
  .ana { grid-template-columns: 1fr; }
  .board.deals .col:nth-child(1), .board.deals .col:nth-child(3) { display: none; }
  .board.deals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .pulse-big { grid-template-columns: 1fr 1fr; }
  .pulse-big .pb-hero { grid-column: 1 / -1; }
  .pulse-big .pb:nth-child(4) { display: none; }
  .pb-hero b { font-size: 34px; }
  .fi { font-size: 11.5px; }
  .tr { grid-template-columns: minmax(0, 1fr) 70px 112px; font-size: 11.5px; }
  .app-search kbd { display: none; }
  .app-top .me { gap: 8px; }
  .ana-tiles .pb b { font-size: 20px; }
  .tr > span:nth-child(2) { display: none; }
  .tv { padding: 14px; }
  .tv-no1 { width: 64px; height: 64px; }
  .tv-month { font-size: 32px; }
  .tv-lb li { grid-template-columns: 18px 24px minmax(0, 1fr) 64px; font-size: 12px; }
  .tv-lb .tag { display: none; }
  .tv-lb li:nth-child(5) { display: none; }
  .tv-awards { grid-template-columns: 1fr; }
  .tv-awards .aw:nth-child(n+2) { display: none; }
  .ana-hero > b { font-size: 36px; }
  .ana-rings .rings { gap: 4px; }
  .ring.big .ring-svg, .ring.big .ring-svg svg { width: 66px; height: 66px; }
}

/* ------------------------------------------------------------ proof strip */
.proof-strip { padding-block: 8px 0; }
.proof-grid {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.proof-grid li { padding: 28px 28px 28px 0; display: grid; gap: 6px; align-content: start; }
.proof-grid li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.proof-grid b { font-size: 1.05rem; letter-spacing: -0.015em; line-height: 1.35; }
.proof-grid span { font-size: 0.925rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid li, .proof-grid li + li { padding: 20px 0; border-left: 0; }
  .proof-grid li + li { border-top: 1px solid var(--line); }
}

/* ------------------------------------------------------------ before / after */
.swap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
}
.swap-side { border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); height: 100%; }
.swap-before { background: var(--surface); border: 1px dashed var(--line-2); }
.swap-after { background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.swap-label { font-size: 0.8rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.swap-after .swap-label { color: var(--red-strong); }
.tools { list-style: none; display: grid; gap: 10px; }
.tools li {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 12px; background: var(--tint); border: 1px solid var(--line);
}
.tools .ic { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.tools .ic svg { width: 18px; height: 18px; }
.tools b { display: block; font-size: 0.95rem; letter-spacing: -0.01em; }
.tools span { display: block; font-size: 0.85rem; color: var(--muted); line-height: 1.4; }
.swap-arrow { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.swap-arrow svg { width: 22px; height: 22px; }
.one-list { list-style: none; display: grid; gap: 2px; }
.one-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 0.975rem; }
.one-list li:last-child { border-bottom: 0; }
.one-list svg { width: 20px; height: 20px; flex: none; color: var(--green-ink); margin-top: 2px; }
.one-list b { font-weight: 650; }
.swap-after .logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.swap-after .logo-row svg { height: 26px; width: auto; }
@media (max-width: 860px) {
  .swap { grid-template-columns: 1fr; }
  .swap-arrow { margin-inline: auto; transform: rotate(90deg); }
}

/* ------------------------------------------------------------ one or two taps */
.tap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tap-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tap-card:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.tap-card.is-done { border-color: oklch(0.85 0.07 155); }
.tap-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tap-top h3 { font-size: 1.125rem; letter-spacing: -0.02em; }
.tap-top p { font-size: 0.9rem; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.tap-count {
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 10px 0 6px;
  border-radius: 999px;
  background: var(--tint-2);
  font-size: 0.8125rem; font-weight: 650; color: var(--ink-2);
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s;
}
.tap-count .n {
  display: grid; place-items: center;
  min-width: 20px; height: 20px; border-radius: 999px; padding: 0 5px;
  background: var(--surface); color: var(--ink); font-variant-numeric: tabular-nums;
}
.is-done .tap-count { background: var(--green-soft); color: var(--green-ink); }
.is-done .tap-count .n { background: var(--green); color: #fff; }
.tap-ui {
  flex: 1;
  display: grid; align-content: start; gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: var(--tint);
  border: 1px solid var(--line);
  font-size: 0.875rem;
  min-height: 228px;
}
.ui-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
}
.ui-row .meta { min-width: 0; flex: 1; }
.ui-row .meta > b { display: block; font-weight: 650; font-size: 0.875rem; letter-spacing: -0.01em; }
.ui-row .meta > span { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.35; }
.ui-row > b { font-size: 0.875rem; }
.ui-row .avatar { width: 32px; height: 32px; font-size: 11px; }
.ui-q { font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); padding: 0 2px; }
.ui-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.tbtn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 0.875rem; font-weight: 600; color: var(--ink);
  transition: background-color 0.15s, border-color 0.15s, transform 0.12s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.tbtn:hover { border-color: oklch(0.78 0.01 250); background: var(--tint); }
.tbtn:active { transform: scale(0.96); }
.tbtn svg { width: 15px; height: 15px; }
.tbtn.red { background: var(--red); border-color: var(--red); color: #fff; }
.tbtn.red:hover { background: var(--red-strong); }
.tbtn.full { width: 100%; }
.tbtn[disabled] { opacity: 0.5; cursor: default; }
/* Pulse on the next thing to tap. Opacity and transform only, so it runs on
   the compositor and never slows a tap down. */
.hint { position: relative; }
.hint::after {
  content: ""; position: absolute; inset: -5px; border-radius: 14px;
  border: 2px solid oklch(0.58 0.22 25 / 0.35);
  pointer-events: none;
  animation: hint 1.8s var(--ease) infinite;
  will-change: opacity, transform;
}
@keyframes hint {
  0%, 100% { opacity: 0; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1); }
}
.result {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px; border-radius: 11px;
  background: var(--green-soft);
  border: 1px solid oklch(0.88 0.06 155);
  color: oklch(0.32 0.08 155);
  font-size: 0.85rem; line-height: 1.45;
}
.result svg { width: 18px; height: 18px; flex: none; color: var(--green-ink); margin-top: 1px; }
.result b { color: oklch(0.28 0.08 155); }
.appear { animation: appear 0.45s var(--ease-out) both; }
@keyframes appear { from { opacity: 0; transform: translateY(6px); } }
.again {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0 4px;
  background: none; border: 0;
  font-size: 0.85rem; font-weight: 600; color: var(--muted);
}
.again:hover { color: var(--ink); }
.again svg { width: 14px; height: 14px; }
.stepper { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.stepper .st {
  font-size: 0.75rem; font-weight: 650; padding: 4px 9px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
}
.stepper .st.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.stepper .sep { color: var(--line-2); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile {
  text-align: left;
  display: grid; gap: 2px;
  padding: 10px 12px; border-radius: 11px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 0.8rem; color: var(--muted);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}
.tile b { font-size: 1.05rem; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
button.tile:hover { border-color: oklch(0.78 0.01 250); }
button.tile:active { transform: scale(0.97); }
.tile.overdue b { color: var(--red-strong); }
.tile.sel { border-color: var(--red); box-shadow: 0 0 0 3px oklch(0.58 0.22 25 / 0.15); }
.inv { list-style: none; display: grid; gap: 6px; }
.inv li {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 10px;
  padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line);
  font-size: 0.8rem;
}
.inv li b { font-size: 0.82rem; }
.inv li .d { color: var(--red-strong); font-weight: 600; }
.inv li .m { color: var(--muted); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 0.8rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.approvers { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); }
.approvers .avatar { width: 24px; height: 24px; font-size: 9px; }
.approvers .slot { width: 24px; height: 24px; border-radius: 50%; border: 1.5px dashed var(--line-2); }
@media (max-width: 1000px) { .tap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .tap-grid { grid-template-columns: 1fr; } .tap-ui { min-height: 0; } }

/* ------------------------------------------------------------ bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile-b {
  grid-column: span 4;
  display: flex; flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.tile-b.s5 { grid-column: span 5; }
.tile-b.s6 { grid-column: span 6; }
.tile-b.s7 { grid-column: span 7; }
.tile-b .tx { padding: 26px 26px 0; display: grid; gap: 8px; }
.tile-b .tx .eyebrow { font-size: 0.72rem; }
.tile-b .tx h3 { font-size: 1.3rem; letter-spacing: -0.025em; }
.tile-b .tx p { color: var(--muted); font-size: 0.975rem; line-height: 1.55; max-width: 52ch; }
.tile-b .vis {
  margin: 22px 0 0 26px;
  padding: 16px;
  flex: 1;
  border-radius: 14px 0 0 0;
  background: var(--tint);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.4;
  display: grid; align-content: start; gap: 10px;
  min-height: 210px;
  overflow: hidden;
}
.tile-b .vis.full { margin: 22px 26px 26px; border-radius: 14px; border: 1px solid var(--line); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpi {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 12px; display: grid; gap: 3px;
}
.kpi .k { font-size: 10px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.kpi .v { font-size: 20px; font-weight: 720; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.kpi .s { font-size: 11px; color: var(--muted); line-height: 1.35; }
.mini-board { display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); gap: 8px; }
.mini-board .col { min-height: 0; }
.mini-board .card { box-shadow: none; }
.bar3 { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 2px; }
.bar3 i { display: block; height: 100%; }
.legend3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.legend3 div { display: grid; gap: 1px; font-size: 11px; color: var(--muted); }
.legend3 b { font-size: 14px; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.legend3 .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.tracker { display: flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--muted); flex-wrap: wrap; }
.tracker .s { display: inline-flex; align-items: center; gap: 4px; }
.tracker .s i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
.tracker .s.ok i { background: var(--green); border-color: var(--green); }
.tracker .s.ok i::after { content: ""; width: 5px; height: 3px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translate(0.5px, -0.5px); }
.tracker .line { width: 10px; height: 1.5px; background: var(--line-2); }
.search-box {
  display: flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 12px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px;
  font-size: 12.5px; box-shadow: 0 0 0 3px oklch(0.6 0.13 240 / 0.12);
}
.search-box svg { width: 14px; height: 14px; color: var(--muted); }
.search-box code { font: inherit; }
.search-box .tok { color: var(--blue-ink); font-weight: 600; }
.hit { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; }
.hit.active { border-color: var(--blue); box-shadow: 0 0 0 2px oklch(0.6 0.13 240 / 0.15); }
.hit b { font-size: 12.5px; }
.hit .why { font-size: 11.5px; color: var(--muted); }
.hit mark { background: oklch(0.94 0.08 95); color: inherit; border-radius: 3px; padding: 0 2px; }
.cal-ev { display: grid; grid-template-columns: 4px 1fr auto; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px 9px 0; overflow: hidden; }
.cal-ev .bar { width: 4px; align-self: stretch; background: var(--blue); }
.cal-ev .bar.g { background: var(--green); }
.cal-ev b { font-size: 12.5px; display: block; }
.cal-ev span { font-size: 11px; color: var(--muted); }
.li-panel { display: grid; grid-template-columns: 1fr 190px; gap: 10px; align-items: stretch; }
.li-page { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; gap: 8px; align-content: start; }
.li-page .ph { height: 40px; border-radius: 8px; background: linear-gradient(90deg, oklch(0.9 0.03 240), oklch(0.93 0.02 250)); }
.li-page .face { width: 42px; height: 42px; border-radius: 50%; background: oklch(0.86 0.03 250); border: 3px solid #fff; margin-top: -28px; margin-left: 8px; }
.li-page .ln { height: 7px; border-radius: 4px; background: var(--tint-2); }
.li-side { background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); }
.li-side .hd { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 11px; }
.li-side .hd svg { width: 16px; height: 16px; }
.ms { list-style: none; display: grid; gap: 6px; }
.ms li { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; }
.ms li .ck { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
.ms li .ck.ok { background: var(--green); border-color: var(--green); color: #fff; }
.ms li .ck svg { width: 11px; height: 11px; }
.ms li b { font-weight: 600; }
.ms li span.m { color: var(--muted); font-size: 11px; display: block; }
.also { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }
.also span.l { font-size: 0.9rem; color: var(--muted); margin-right: 4px; }
.also .tag { font-size: 0.875rem; font-weight: 550; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.example-note { font-size: 0.8125rem; color: var(--muted); text-align: center; margin-top: 20px; }
@media (max-width: 1000px) {
  .tile-b, .tile-b.s5, .tile-b.s7 { grid-column: span 6; }
  .tile-b.wide-md { grid-column: span 12; }
}
@media (max-width: 680px) {
  .bento { gap: 16px; }
  .tile-b, .tile-b.s5, .tile-b.s6, .tile-b.s7 { grid-column: span 12; }
  .tile-b .tx { padding: 22px 22px 0; }
  .tile-b .vis { margin-left: 22px; }
  .tile-b .vis.full { margin: 20px 22px 22px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .li-panel { grid-template-columns: 1fr 160px; }
}

/* ------------------------------------------------------------ director (navy) */
.on-navy { background: var(--navy); color: var(--navy-ink); }
.on-navy h2, .on-navy h3, .on-navy b, .on-navy strong { color: #fff; }
.on-navy .lede { color: var(--navy-ink); }
.on-navy .eyebrow { color: oklch(0.72 0.17 25); }
.on-navy .muted { color: var(--navy-muted); }
.director { overflow: hidden; }
.director::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 90% 10%, oklch(0.58 0.22 25 / 0.18), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, oklch(0.6 0.13 240 / 0.14), transparent 70%);
  pointer-events: none;
}
.director .wrap { position: relative; }
.dir-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.dir-points { list-style: none; display: grid; gap: 22px; margin-top: 36px; }
.dir-points li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.dir-points .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--navy-2); border: 1px solid var(--navy-3); display: grid; place-items: center; color: #fff; }
.dir-points .ic svg { width: 19px; height: 19px; }
.dir-points b { display: block; font-size: 1.05rem; letter-spacing: -0.015em; margin-bottom: 2px; }
.dir-points p { font-size: 0.975rem; color: var(--navy-muted); line-height: 1.55; }
.pulse {
  background: var(--surface); color: var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 0 40px 80px -30px oklch(0 0 0 / 0.55);
  font-size: 13px; line-height: 1.45;
  display: grid; gap: 16px;
}
.pulse b, .pulse strong { color: var(--ink); }
.pulse-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pulse-head .eyebrow { font-size: 10.5px; }
.pulse-head h3 { color: var(--ink); font-size: 20px; letter-spacing: -0.025em; margin-top: 2px; }
.pulse-story { background: var(--tint); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; color: var(--ink-2); }
.pulse .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pulse .kpi .v { font-size: 24px; }
.up { color: var(--green-ink); font-weight: 650; }
.chart-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 8px; }
.chart-box .t { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; font-size: 12px; }
.chart-box .t b { font-size: 12.5px; }
.chart-box svg { width: 100%; height: auto; overflow: visible; }
.chart-box .lgd { display: flex; gap: 14px; font-size: 11px; color: var(--muted); padding: 4px 2px; }
.chart-box .lgd i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
@media (max-width: 960px) { .dir-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ switching */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 26px 22px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.steps li::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 0.95rem;
  margin-bottom: 8px;
}
.steps h3 { font-size: 1.1rem; letter-spacing: -0.02em; }
.steps p { font-size: 0.95rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ security */
.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.sec-item { background: var(--surface); padding: 28px 26px; display: grid; gap: 10px; align-content: start; }
.sec-item .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); border: 1px solid var(--line); color: var(--ink); margin-bottom: 6px; }
.sec-item .ic svg { width: 20px; height: 20px; }
.sec-item h3 { font-size: 1.075rem; letter-spacing: -0.02em; }
.sec-item p { font-size: 0.95rem; color: var(--muted); line-height: 1.55; }
.sec-foot { margin-top: 22px; font-size: 0.9rem; color: var(--muted); max-width: 80ch; }
@media (max-width: 900px) { .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .sec-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ value (what you get) */
.value-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); background: var(--surface);
}
.value-out { padding: clamp(28px, 4vw, 48px); background: var(--tint); border-right: 1px solid var(--line); }
.value-in { padding: clamp(28px, 4vw, 48px); display: grid; gap: 22px; align-content: start; }
.value-label { font-size: 0.8rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.value-in .value-label { margin-bottom: 0; }
.replaced { list-style: none; display: grid; gap: 16px; }
.replaced li { display: grid; gap: 2px; }
.replaced s { font-size: 1.05rem; font-weight: 650; color: var(--ink-2); text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.replaced span { font-size: 0.9rem; color: var(--muted); }
.replaced span::before { content: "\2192\00a0 HAYLO: "; color: var(--green-ink); font-weight: 650; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 0.975rem; line-height: 1.5; }
.check-list svg { width: 20px; height: 20px; color: var(--green-ink); margin-top: 2px; }
.value-promise { display: flex; flex-wrap: wrap; gap: 10px; }
.value-promise span { font-size: 0.9rem; padding: 10px 14px; border-radius: 12px; background: var(--green-soft); color: var(--green-ink); }
.value-cta {
  margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-xl);
  background: var(--navy, #0B1220); color: #fff;
}
.value-cta .big-line { font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); font-weight: 720; letter-spacing: -0.03em; line-height: 1.15; max-width: 26ch; }
.value-cta .muted { color: rgb(255 255 255 / 0.72); margin-top: 8px; }
@media (max-width: 860px) { .value-grid { grid-template-columns: 1fr; } .value-out { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ------------------------------------------------------------ faq */
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-list details[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq-list summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px;
  font-size: 1.075rem; font-weight: 650; letter-spacing: -0.015em;
  cursor: pointer;
  border-radius: 14px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tint-2); display: grid; place-items: center; transition: transform 0.25s var(--ease), background-color 0.2s; }
.faq-list summary .pm svg { width: 14px; height: 14px; }
.faq-list details[open] summary .pm { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq-list .ans { padding: 0 22px 22px; color: var(--ink-2); display: grid; gap: 12px; max-width: 72ch; }
.faq-list .ans ul { padding-left: 20px; display: grid; gap: 6px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 1.4rem; letter-spacing: -0.025em; margin-bottom: 18px; }

/* ------------------------------------------------------------ final CTA */
.final {
  text-align: center;
  border-radius: 32px;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 64px);
  background: var(--navy);
  color: var(--navy-ink);
  position: relative; overflow: hidden; isolation: isolate;
}
.final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 50% 0%, oklch(0.58 0.22 25 / 0.28), transparent 70%),
    linear-gradient(oklch(1 0 0 / 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, oklch(1 0 0 / 0.04) 1px, transparent 1px) 0 0 / 32px 32px;
}
.final h2 { color: #fff; }
.final p { margin: 18px auto 32px; max-width: 54ch; color: var(--navy-ink); font-size: 1.125rem; }
.final .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.final .btn-ghost { background: transparent; color: #fff; border-color: var(--navy-3); box-shadow: none; }
.final .btn-ghost:hover { background: var(--navy-2); }
.final .play { background: #fff; color: var(--ink); }

/* ------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 0; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid p { color: var(--muted); font-size: 0.95rem; margin-top: 14px; max-width: 34ch; }
.foot-grid h2 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 650; margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 4px; }
.foot-grid a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; display: inline-block; padding: 4px 0; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot-base { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.875rem; color: var(--muted); }
@media (max-width: 900px) { .site-footer { padding-bottom: 110px; } }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------------ video modal */
.vmodal {
  width: min(1200px, calc(100vw - 32px));
  max-width: none; max-height: none;
  padding: 0; border: 0; background: transparent;
  overflow: visible;
}
.vmodal::backdrop { background: oklch(0.12 0.03 250 / 0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vmodal[open] { animation: modal-in 0.35s var(--ease-out); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.vmodal .frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 100px -20px #000; }
.vmodal video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.vmodal .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; color: #fff; }
.vmodal .bar h2 { font-size: 1.05rem; letter-spacing: -0.015em; color: #fff; font-weight: 650; }
.vmodal .bar p { font-size: 0.875rem; color: oklch(0.8 0.01 250); }
.vmodal .close {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  border: 1px solid oklch(1 0 0 / 0.25); background: oklch(1 0 0 / 0.08); color: #fff;
  display: grid; place-items: center;
}
.vmodal .close:hover { background: oklch(1 0 0 / 0.18); }
.vmodal .close svg { width: 18px; height: 18px; }
.vmodal .foot { margin-top: 14px; display: flex; justify-content: center; }

/* ------------------------------------------------------------ reveal */
@media (prefers-reduced-motion: no-preference) {
  .rv.rv-on { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out); }
  .rv.rv-on.in { opacity: 1; transform: none; }
  .rv.rv-on.d1 { transition-delay: 0.08s; }
  .rv.rv-on.d2 { transition-delay: 0.16s; }
  .rv.rv-on.d3 { transition-delay: 0.24s; }
}

/* ------------------------------------------------------------ inner pages */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); }
.page-hero .lede { margin-top: 20px; }
.prose { font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--ink); margin-top: 2.2em; letter-spacing: -0.03em; }
.prose h3 { font-size: 1.15rem; color: var(--ink); margin-top: 1.8em; letter-spacing: -0.015em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 0.45em; }
.prose a { color: var(--red-strong); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.pull {
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); line-height: 1.3; letter-spacing: -0.025em; font-weight: 650;
  color: var(--ink); border-left: 3px solid var(--red); padding-left: 24px; margin: 1.8em 0;
}
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.principle { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.principle .n { font-size: 0.8rem; font-weight: 700; color: var(--red-strong); letter-spacing: 0.1em; }
.principle h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
.principle p { color: var(--muted); font-size: 0.975rem; line-height: 1.55; }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .principles { grid-template-columns: 1fr; } }
.timeline { list-style: none; display: grid; gap: 0; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--red); }
.timeline b { display: block; color: var(--ink); font-size: 1.05rem; letter-spacing: -0.015em; }
.timeline p { color: var(--muted); }

.legal-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 0.9rem; }
.toc h2 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; color: var(--muted); text-decoration: none; margin-left: -1px; border-left: 1px solid transparent; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.draft-banner {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; border-radius: 14px;
  background: var(--amber-soft); border: 1px solid oklch(0.86 0.09 80);
  color: oklch(0.35 0.07 70); font-size: 0.95rem; line-height: 1.5;
}
.draft-banner svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.draft-banner b { color: oklch(0.28 0.07 70); }
.legal h2 { scroll-margin-top: calc(var(--header-h) + 24px); }
.legal .draft-tag { display: inline-block; vertical-align: middle; margin-left: 10px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--amber-soft); color: var(--amber-ink); border: 1px solid oklch(0.88 0.08 80); }
@media (max-width: 900px) { .legal-wrap { grid-template-columns: 1fr; } .toc { position: static; } }

/* ------------------------------------------------------------ book a demo */
.book { padding-top: clamp(32px, 5vw, 64px); }
.book-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.book-panel { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: clamp(22px, 3.5vw, 40px); }
.progress { list-style: none; display: flex; gap: 8px; margin-bottom: 28px; }
.progress li { flex: 1; display: grid; gap: 8px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.progress li::before { content: ""; height: 4px; border-radius: 4px; background: var(--line); transition: background-color 0.3s; }
.progress li.on { color: var(--ink); }
.progress li.on::before, .progress li.done::before { background: var(--red); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.9375rem; font-weight: 600; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select {
  width: 100%; height: 50px; padding: 0 14px;
  border-radius: 11px; border: 1px solid var(--line-2);
  background: var(--surface);
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b646f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field input:hover, .field select:hover { border-color: oklch(0.78 0.01 250); }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue-ink); box-shadow: 0 0 0 4px oklch(0.6 0.13 240 / 0.18); }
.field .err { display: none; align-items: center; gap: 6px; font-size: 0.875rem; color: var(--red-strong); font-weight: 550; }
.field .err svg { width: 15px; height: 15px; flex: none; }
.field.invalid .err { display: flex; }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.field .help { font-size: 0.85rem; color: var(--muted); }
.form-foot { margin-top: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot p { font-size: 0.85rem; color: var(--muted); flex: 1; min-width: 200px; }
.err-summary { margin-bottom: 20px; padding: 14px 16px; border-radius: 12px; background: var(--red-soft); border: 1px solid oklch(0.85 0.07 25); color: var(--red-strong); font-size: 0.95rem; }
.err-summary h2 { font-size: 1rem; margin-bottom: 6px; color: var(--red-strong); letter-spacing: -0.01em; }
.err-summary ul { padding-left: 18px; }
.err-summary a { color: var(--red-strong); font-weight: 600; }
@media (max-width: 960px) { .book-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } .form-foot .btn { width: 100%; } }

.book-head { padding: 0 0 28px; }
.book-head .lede { margin-top: 14px; }
.prep-title { margin-top: 32px; }
.mail-fallback { margin-top: 16px; }
.send-hero { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 8px 0 24px; }
.send-hero h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.15; text-wrap: balance; }
.send-hero .muted { max-width: 46ch; }
.send-btn { width: 100%; max-width: 440px; min-height: 64px; font-size: 1.15rem; gap: 10px; justify-content: center; box-shadow: 0 10px 30px -10px var(--red); animation: send-glow 2s ease-in-out infinite; }
.send-btn .i { width: 20px; height: 20px; }
@keyframes send-glow { 50% { box-shadow: 0 10px 34px -6px var(--red); transform: translateY(-1px); } }
@media (prefers-reduced-motion: reduce) { .send-btn { animation: none; } }
.send-alt { font-size: 0.9rem; color: var(--muted); max-width: 46ch; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--red-strong); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.change-time { margin-top: 12px; font-size: 0.9rem; }
.book aside { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) { .book aside { position: static; } }
.picker-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.picker-head h2 { font-size: 1.4rem; letter-spacing: -0.025em; }
.picker-head p { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
.tz { display: grid; gap: 6px; min-width: 220px; }
.tz label { font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.tz select { height: 42px; border-radius: 10px; border: 1px solid var(--line-2); padding: 0 34px 0 12px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235b646f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; -webkit-appearance: none; font-size: 0.9375rem; }
.days {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(76px, 1fr);
  gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px;
  scroll-snap-type: x proximity; scrollbar-width: thin;
}
.day {
  scroll-snap-align: start;
  display: grid; justify-items: center; gap: 2px;
  padding: 10px 6px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface);
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.day .dw { font-size: 0.75rem; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.day .dd { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.day .dm { font-size: 0.75rem; color: var(--muted); }
.day:hover { border-color: oklch(0.75 0.01 250); }
.day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.day[aria-pressed="true"] .dw, .day[aria-pressed="true"] .dm { color: oklch(0.85 0.01 250); }
.slots-label { margin: 18px 0 10px; font-size: 0.9375rem; font-weight: 600; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot {
  height: 46px; border-radius: 11px;
  border: 1px solid var(--line-2); background: var(--surface);
  font-weight: 600; font-size: 0.95rem; font-variant-numeric: tabular-nums;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.slot:hover { border-color: var(--red); color: var(--red-strong); }
.slot[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.slot-empty { color: var(--muted); font-size: 0.95rem; padding: 16px; border-radius: 12px; background: var(--tint); }
.confirm-bar {
  margin-top: 20px; padding: 14px 16px; border-radius: 14px;
  background: var(--tint); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.confirm-bar p { flex: 1; min-width: 200px; font-size: 0.95rem; color: var(--ink-2); }
.confirm-bar p b { color: var(--ink); }
@media (max-width: 560px) { .confirm-bar .btn { width: 100%; } .tz { min-width: 0; width: 100%; } }
.back-link { background: none; border: 0; padding: 8px 0; display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.back-link:hover { color: var(--ink); }
.back-link svg { width: 15px; height: 15px; }
.done-hero { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 8px 0 24px; }
.done-hero .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px var(--green-soft); margin-bottom: 10px; }
.done-hero .tick svg { width: 30px; height: 30px; }
@media (prefers-reduced-motion: no-preference) { .done-hero .tick { animation: pop 0.6s var(--ease-out); } }
@keyframes pop { 0% { transform: scale(0.4); opacity: 0; } 70% { transform: scale(1.08); } }
.done-hero h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); letter-spacing: -0.03em; }
.when { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 18px; border-radius: 16px; background: var(--tint); border: 1px solid var(--line); margin: 8px 0 20px; }
.cal-ic { width: 60px; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); text-align: center; }
.cal-ic .m { background: var(--red); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; padding: 3px 0; text-transform: uppercase; }
.cal-ic .d { font-size: 1.6rem; font-weight: 750; letter-spacing: -0.03em; padding: 4px 0 6px; }
.when b { display: block; font-size: 1.05rem; letter-spacing: -0.015em; }
.when span { color: var(--muted); font-size: 0.9rem; }
.prep { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.prep li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 0.95rem; color: var(--ink-2); }
.prep li .n { width: 26px; height: 26px; border-radius: 8px; background: var(--tint-2); display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; color: var(--ink); }
.preview-note { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--amber-ink); background: var(--amber-soft); border: 1px solid oklch(0.88 0.08 80); padding: 10px 12px; border-radius: 10px; }
.preview-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.embed-frame { width: 100%; height: 720px; border: 0; border-radius: 14px; background: var(--tint); }
.aside-card { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.aside-card + .aside-card { margin-top: 16px; }
.aside-card h2 { font-size: 1.1rem; letter-spacing: -0.02em; margin-bottom: 14px; }
.see-list { list-style: none; display: grid; gap: 14px; }
.see-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.see-list .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--tint); border: 1px solid var(--line); display: grid; place-items: center; }
.see-list .ic svg { width: 17px; height: 17px; }
.see-list b { display: block; font-size: 0.975rem; letter-spacing: -0.01em; }
.see-list div > span { display: block; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.facts { list-style: none; display: grid; gap: 10px; }
.facts li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--ink-2); }
.facts svg { width: 18px; height: 18px; color: var(--green-ink); flex: none; margin-top: 3px; }

/* 404 */
.nf { min-height: 60vh; display: grid; place-content: center; text-align: center; justify-items: center; gap: 18px; padding: 80px 0; }
.nf .code { font-size: clamp(5rem, 3rem + 10vw, 10rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: var(--tint-2); -webkit-text-stroke: 2px var(--line-2); }
.nf .links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
/* ------------------------------------------------------------ hero/bento extras */
.hero-badge .dot { width: 8px; height: 8px; padding: 0; margin-left: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.faq-more { margin-top: 28px; }
.approval { display: grid; gap: 8px; position: relative; transition: border-color 0.4s, background-color 0.4s; }
.approval .panel-title { margin-bottom: 0; }
.approval [data-approval-state] { color: var(--amber-ink); font-weight: 650; }
.ui-mini { display: grid; gap: 1px; }
.ap-name { font-size: 12.5px; font-weight: 650; }
.ap-sub { font-size: 11px; color: var(--muted); }
.ap-acts { display: flex; gap: 6px; justify-content: flex-end; }
.ap-done { display: none; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 650; color: var(--green-ink); height: 26px; }
.ap-done svg { width: 15px; height: 15px; }
.approval.is-done { border-color: oklch(0.85 0.08 155); background: oklch(0.985 0.015 155); }
.approval.is-done [data-approval-state] { color: var(--green-ink); }
.approval.is-done .ap-acts { display: none; }
.approval.is-done .ap-done { display: flex; }
.rail-low { display: grid; gap: 12px; }
.ic-bell { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--amber-soft); color: var(--amber-ink); flex: none; }
.ic-bell svg { width: 16px; height: 16px; }
.tap-ui .cal-ev { padding-block: 10px; }
.tap-ui .cal-ev b { font-size: 0.85rem; }
.tap-ui .cal-ev span { font-size: 0.78rem; }
.lb li.hl { background: var(--red-soft); }
.lb li.hl .who i::after { background: var(--red); }
.kpi-big { font-size: 34px; font-weight: 760; letter-spacing: -0.045em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.c-green { background: var(--green); }
.c-blue { background: var(--blue); }
.c-pink { background: var(--pink); }
.c-navy { background: var(--ink-2); }
.c-red-line { background: var(--red); height: 3px !important; vertical-align: 3px !important; }
.w16 { width: 16%; } .w20 { width: 20%; } .w40 { width: 40%; } .w50 { width: 50%; } .w64 { width: 64%; } .w70 { width: 70%; } .w85 { width: 85%; }
.kpi-rings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 8px 12px; }
.kpi-rings .ring-svg, .kpi-rings .ring-svg svg { width: 70px; height: 70px; }
.drill { display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 11.5px; color: var(--muted); }
.drill b { font-size: 12px; color: var(--ink); }
.drill span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 7px; vertical-align: 1px; }
.xero-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; }
.xero-line b { font-size: 15px; letter-spacing: -0.02em; }
.xero-line .pill { margin-left: auto; }
.kpis.k4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpis.k4 .v { font-size: 17px; }
.red-ink { color: var(--red-strong); }
.chart-box .grid { stroke: var(--line); stroke-width: 1; }
.chart-box .ax { font-size: 9.5px; fill: var(--muted); font-family: var(--font); }
.chart-box .b { fill: oklch(0.32 0.03 250); }
.chart-box .b-hit { fill: oklch(0.32 0.03 250); }
.chart-box .b-now { fill: oklch(0.32 0.03 250 / 0.35); }
.chart-box .target { stroke: var(--red); stroke-width: 2; stroke-dasharray: 5 4; }
@media (max-width: 680px) {
  .kpis.k4 { grid-template-columns: 1fr 1fr; }
  .kpi-rings { grid-template-columns: 1fr 1fr; row-gap: 14px; }
}
@media (max-width: 820px) {
  .app-grid > .rail { display: contents; }
  .app-grid .approval { order: -1; }
  .rail-low { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .rail-low { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ icons */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

@media print {
  .site-header, .thumb-cta, .site-footer, .toc { display: none !important; }
}

/* The footer links are inline blocks; the logo keeps its mark and word side by side. */
.site-footer .logo { display: inline-flex; }

/* Interactive badge above the tap demos: hard to miss. */
.try-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: var(--red); color: #fff;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: 0 8px 24px -8px oklch(0.58 0.22 25 / 0.6);
}
.try-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgb(255 255 255 / 0.7); }
#taps .lede b { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .try-badge .dot { animation: try-dot 1.6s ease-out infinite; }
  @keyframes try-dot { 0% { box-shadow: 0 0 0 0 rgb(255 255 255 / 0.75); } 100% { box-shadow: 0 0 0 10px rgb(255 255 255 / 0); } }
}

/* Ping demo: a full-width card under the other tap demos. */
.tap-wide { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .tap-wide { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; column-gap: 32px; }
  .tap-wide .tap-top { grid-row: span 2; }
}
.tbtn .at { font-size: 1.05rem; font-weight: 800; color: var(--red-strong); }
.tbtn.red .at { color: #fff; }
.tbtn .avatar.sm { width: 22px; height: 22px; font-size: 9px; }
.tbtn.sm { height: 30px; font-size: 0.8rem; padding: 0 10px; pointer-events: none; }
.ping-compose { display: grid; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); }
.ping-compose .chip { justify-self: start; font-size: 0.75rem; font-weight: 650; padding: 3px 9px; border-radius: 999px; background: var(--tint-2); color: var(--ink-2); }
.ping-compose p { font-size: 0.95rem; }
.ping-pop { display: grid; gap: 6px; padding: 14px; border-radius: 14px; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.ping-pop > span { font-size: 0.8rem; color: rgb(255 255 255 / 0.65); }
.ping-pop .tbtn { background: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.2); color: #fff; }

/* ------------------------------------------------------------ see it as you */
.center-text { text-align: center; }
.center-text .lede { margin-inline: auto; }
.roles-sec { padding-top: 0; }
.role-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: clamp(28px, 4vw, 44px); }
.role-tabs button {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface); font: inherit; font-weight: 650; color: var(--ink-2); cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.role-tabs button:hover { background: var(--tint); }
.role-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow); }
.role-tabs svg { width: 17px; height: 17px; }
.role { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; animation: role-in 0.4s var(--ease) both; }
@keyframes role-in { from { opacity: 0; transform: translateY(8px); } }
.role .lede { margin-top: 14px; }
.role-h { font-size: 0.8rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 26px 0 10px; }
.role-jobs { list-style: none; display: grid; gap: 8px; margin-bottom: 22px; }
.role-jobs li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--tint); }
.role-jobs span { flex: none; font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--red-soft); color: var(--red-strong); }
.role-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.role-foot { text-align: center; margin-top: 40px; color: var(--muted); font-size: 0.95rem; }
.screen { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); padding: 22px; display: grid; gap: 16px; }
.scr-top { display: grid; gap: 4px; }
.scr-k { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-strong); }
.scr-top b { font-size: 1.15rem; letter-spacing: -0.02em; }
.scr-rings { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scr-rings > div { position: relative; display: grid; gap: 2px; padding: 14px 14px 14px 64px; border-radius: 14px; border: 1px solid var(--line); min-height: 64px; align-content: center; }
.scr-rings.tiles > div { padding-left: 14px; }
.scr-rings i { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 38px; height: 38px; border-radius: 50%; background: conic-gradient(var(--red) calc(var(--p) * 360deg), var(--tint-2) 0); -webkit-mask: radial-gradient(circle, transparent 12px, #000 13px); mask: radial-gradient(circle, transparent 12px, #000 13px); }
.scr-rings span { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.scr-rings b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.scr-rings b.red { color: var(--red-strong); }
.scr-list { display: grid; gap: 8px; }
.scr-list p { display: flex; gap: 10px; align-items: baseline; font-size: 0.9rem; padding: 10px 12px; border-radius: 12px; background: var(--tint); }
.scr-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.scr-board > div { display: grid; gap: 8px; align-content: start; padding: 10px; border-radius: 14px; background: var(--tint); min-height: 150px; }
.scr-board span { font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.scr-board p { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 0.82rem; font-weight: 600; }
.scr-board p:not(:has(.avatar)) { grid-template-columns: 1fr; gap: 2px; }
.scr-board small { font-weight: 500; color: var(--muted); }
.scr-board .avatar { width: 24px; height: 24px; font-size: 9px; font-style: normal; }
.scr-miles { display: grid; gap: 0; padding-left: 8px; }
.scr-miles p { position: relative; display: grid; padding: 0 0 18px 26px; font-weight: 650; border-left: 2px solid var(--line-2); }
.scr-miles p:last-child { border-color: transparent; padding-bottom: 0; }
.scr-miles i { position: absolute; left: -8px; top: 1px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-2); }
.scr-miles .done i { background: var(--green); border-color: var(--green); }
.scr-miles .due i { background: oklch(0.8 0.14 70); border-color: oklch(0.8 0.14 70); }
.scr-miles small { font-weight: 500; color: var(--muted); font-size: 0.82rem; }
.tag { flex: none; font-size: 0.7rem; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: var(--tint-2); color: var(--ink-2); }
.tag.won { background: oklch(0.88 0.12 155); color: oklch(0.3 0.08 155); }
.tag.placed { background: oklch(0.88 0.08 240); color: oklch(0.3 0.1 240); }
.tag.paid { background: oklch(0.9 0.11 85); color: oklch(0.35 0.08 70); }
.tag.warn { background: oklch(0.93 0.06 60); color: oklch(0.42 0.12 50); }
@media (max-width: 900px) { .role { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .scr-board { grid-template-columns: 1fr; } .scr-board > div { min-height: 0; } .scr-rings { grid-template-columns: 1fr; } .role-tabs button { height: 44px; padding: 0 14px; } }
@media (prefers-reduced-motion: reduce) { .role { animation: none; } }

/* ------------------------------------------------------------ features */
.feat-search { position: relative; max-width: 560px; margin: 28px auto 0; }
.feat-search svg { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--muted); }
.feat-search input { width: 100%; height: 56px; padding: 0 18px 0 50px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); font: inherit; font-size: 1rem; box-shadow: var(--shadow); }
.feat-search input:focus { outline: 3px solid oklch(0.58 0.22 25 / 0.35); border-color: var(--red); }
.feat-count { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }
.feat-sec { padding-top: 0; }
.feat-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.feat-jump a { font-size: 0.85rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--tint-2); color: var(--ink-2); text-decoration: none; }
.feat-jump a:hover { background: var(--line); }
.feat-groups { columns: 2 420px; column-gap: 24px; }
.feat-group { break-inside: avoid; margin-bottom: 24px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); scroll-margin-top: 90px; }
.feat-group h2 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 14px; }
.feat-group .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--red-soft); color: var(--red-strong); }
.feat-group .ic svg { width: 18px; height: 18px; }
.feat-group ul { list-style: none; display: grid; gap: 12px; }
.feat-group li { display: grid; gap: 2px; padding-left: 14px; border-left: 2px solid var(--line); }
.feat-group li b { font-size: 0.98rem; }
.feat-group li span { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.feat-none { text-align: center; color: var(--muted); }
.dir-lede { margin-top: 16px; }
.dir-ctas { margin-top: 32px; }
.dir-ghost { background: transparent; color: #fff; border-color: var(--navy-3); box-shadow: none; }
.dir-ghost:hover { background: var(--navy-2); }

/* ------------------------------------------------------------ Pulse: new */
.nav-new {
  display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: 0.625rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 2px;
}
.pulse-chip {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  padding: 7px 14px 7px 7px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm);
  color: var(--ink-2); font-size: 0.9rem; text-decoration: none; max-width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.pulse-chip:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-1px); }
.pulse-chip .new { flex: none; padding: 3px 9px; border-radius: 999px; background: var(--red); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.pulse-chip b { color: var(--ink); }
.pulse-chip .i { width: 15px; height: 15px; flex: none; color: var(--red); }
.pulse-nudge {
  position: fixed; z-index: 45;
  right: max(20px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom));
  width: min(380px, calc(100vw - 32px));
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 14px; align-items: start;
  padding: 16px 16px 16px 16px; border-radius: var(--r-lg);
  background: var(--navy); color: var(--navy-ink); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(16px); transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.pulse-nudge.is-on { opacity: 1; transform: none; }
.pn-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--red); color: #fff; display: grid; place-items: center; }
.pn-mark .i { width: 18px; height: 18px; }
.pn-text b { display: block; color: #fff; font-size: 1rem; letter-spacing: -0.01em; }
.pn-text span { display: block; font-size: 0.875rem; line-height: 1.45; margin-top: 2px; }
.pulse-nudge .btn { grid-column: 2 / 4; justify-self: start; }
.pn-close { grid-column: 3; grid-row: 1; width: 30px; height: 30px; border-radius: 8px; border: 0; background: transparent; color: var(--navy-muted); display: grid; place-items: center; cursor: pointer; }
.pn-close:hover { background: var(--navy-2); color: #fff; }
.pn-close .i { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .pulse-nudge { right: 16px; left: 16px; width: auto; bottom: calc(86px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .pulse-nudge { transition: none; } }

/* ------------------------------------------------------------ Leaderboard page */
.lb-tv { position: relative; box-shadow: 0 30px 80px -30px oklch(0 0 0 / 0.6); }
.tv-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tv-tabs span { padding: 5px 11px; border-radius: 999px; font-size: 11.5px; color: oklch(0.85 0.02 250); background: oklch(1 0 0 / 0.06); }
.tv-tabs .on { background: #fff; color: var(--ink); font-weight: 650; }
.lb-hero .tv-awards { margin-top: 4px; }
.value-kicker { margin-top: 14px; color: var(--ink-2); font-size: 1rem; line-height: 1.55; max-width: 62ch; margin-inline: auto; }
.value-kicker b { color: var(--ink); }

/* ------------------------------------------------- the TV board, full screen
   An example of the board HAYLO puts on a client's office TV (tv.js). */
html.tvx-open { overflow: hidden; }
.tvx {
  --tb: #0b0d12; --tr: #15181f; --tr2: #1d2129; --tm: #a7adb8; --tf: #6b7280;
  --tred: #e1323f; --tgold: #f5c542; --tgood: #3ddc84; --twarn: #f5a524;
  position: fixed; inset: 0; z-index: 100; overflow: auto;
  background: radial-gradient(120% 80% at 0% 0%, #3a0f16 0%, var(--tb) 55%) var(--tb);
  color: #fff; font-family: var(--font);
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  animation: tvx-in 0.35s var(--ease-out) both;
}
@keyframes tvx-in { from { opacity: 0; } to { opacity: 1; } }
.tvx-in { max-width: 1600px; margin: 0 auto; display: grid; gap: 14px; padding: clamp(8px, 2vw, 28px); padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.tvx-in [hidden] { display: none !important; }
.tvx .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tvx-head { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.tvx-no1 { width: clamp(84px, 11vw, 150px); aspect-ratio: 1; border-radius: 16px; flex: none; display: grid; place-content: center; text-align: center; background: linear-gradient(150deg, #b8323f, #5a1520); box-shadow: 0 20px 50px -20px #e1323f; }
.tvx-no1 b { font-size: clamp(30px, 4.6vw, 64px); letter-spacing: -0.05em; line-height: 0.9; }
.tvx-no1 span { font-size: clamp(9px, 0.9vw, 12px); letter-spacing: 0.14em; margin-top: 6px; font-weight: 650; }
.tvx-title { min-width: 0; }
.tvx-title span { font-size: clamp(12px, 1.1vw, 15px); font-weight: 600; color: #e5e7eb; }
.tvx-title b { display: block; font-size: clamp(44px, 7.4vw, 108px); letter-spacing: -0.055em; line-height: 0.95; }
.tvx-title p { margin-top: 8px; color: var(--tm); font-size: clamp(13px, 1.2vw, 17px); }
.tvx-title p b { display: inline; font-size: inherit; letter-spacing: 0; color: #fff; }
.tvx-title p i { font-style: normal; margin: 0 6px; color: var(--tf); }
.tvx .good { color: var(--tgood); } .tvx .ok { color: var(--tgood); } .tvx .warn { color: var(--twarn); }
.tvx-acts { margin-left: auto; display: flex; gap: 10px; align-self: flex-start; }
.tvx-land { height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--tred); color: #fff; font: 650 14px var(--font); cursor: pointer; box-shadow: 0 10px 30px -10px var(--tred); animation: send-glow 2s ease-in-out infinite; }
.tvx-x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--tr2); color: #fff; display: grid; place-items: center; cursor: pointer; }
.tvx-x:hover { background: #2a2f39; }
.tvx-tabs, .tvx-periods { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tvx-tabs button { height: 38px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--tr2); color: #e5e7eb; font: 600 14px var(--font); cursor: pointer; }
.tvx-tabs button.on { background: #fff; color: var(--tb); }
.tvx-periods { gap: 22px; border-bottom: 1px solid #ffffff14; }
.tvx-periods button { background: none; border: 0; color: var(--tm); font: 600 15px var(--font); padding: 10px 0; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tvx-periods button.on { color: #fff; border-bottom-color: var(--tred); }
.tvx-main { display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 26vw, 400px); gap: 20px; align-items: start; }
.tvx-cols, .tvx-board li { display: grid; grid-template-columns: 34px 52px minmax(0, 1.6fr) 120px minmax(0, 1.1fr) 110px; gap: 14px; align-items: center; }
.tvx-cols { padding: 0 16px 6px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tf); font-weight: 650; }
.tvx-cols .r, .tvx-board .amt { text-align: right; }
.tvx-board ol { list-style: none; display: grid; gap: 8px; padding: 0; margin: 0; }
.tvx-board li { padding: 12px 16px; border-radius: 14px; background: #ffffff0a; }
.tvx-board li.top { background: linear-gradient(90deg, #7a1d2a, #3b1219); box-shadow: inset 0 0 0 1px #e1323f80, 0 20px 40px -24px #e1323f; }
.tvx-board .rk { font-size: 22px; font-weight: 800; text-align: center; }
.tvx .av { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.tvx .av.a1 { background: oklch(0.93 0.04 25); color: oklch(0.45 0.15 25); }
.tvx .av.a2 { background: oklch(0.93 0.04 240); color: oklch(0.42 0.12 240); }
.tvx .av.a3 { background: oklch(0.93 0.05 155); color: oklch(0.42 0.11 155); }
.tvx .av.a4 { background: oklch(0.94 0.06 85); color: oklch(0.45 0.1 70); }
.tvx .crown { position: absolute; top: -14px; right: -6px; font-size: 18px; }
.tvx-board .who { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.tvx-board .who b { font-size: clamp(16px, 1.5vw, 22px); letter-spacing: -0.02em; }
.tvx-board .who small { flex-basis: 100%; color: var(--tm); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvx .b { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 3px 7px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.tvx .b.red { background: var(--tred); } .tvx .b.gold { background: var(--tgold); color: #1a1205; }
.tvx-weeks { display: flex; align-items: end; gap: 5px; height: 30px; }
.tvx-weeks i { width: 16px; height: var(--h); border-radius: 4px; background: #ffffff26; }
.tvx-weeks i.now { background: var(--tgood); }
.tvx-weeks i.zero { height: 4px; }
.tvx-board .tg { display: grid; gap: 6px; min-width: 0; }
.tvx-board .tg .bar { height: 5px; border-radius: 5px; background: #ffffff1a; overflow: hidden; }
.tvx-board .tg .bar i { display: block; height: 100%; border-radius: inherit; background: #fff; transition: width 0.8s var(--ease-out); }
.tvx-board .tg .bar i.hit { background: var(--tgood); } .tvx-board .tg .bar i.lead { background: var(--tred); }
.tvx-board .tg small { font-size: 13px; color: var(--tm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvx-board .amt { font-size: clamp(20px, 2.2vw, 34px); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tvx-side h3 { font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -0.02em; margin: 4px 0 12px; }
.tvx-awards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.tvx .aw { border-radius: 14px; padding: 14px; background: var(--tr); display: grid; gap: 4px; align-content: start; min-height: 120px; }
.tvx .aw.red { background: linear-gradient(150deg, #a32a37, #4c121b); }
.tvx .aw span { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #e5e7eb; font-weight: 650; }
.tvx .aw b { font-size: clamp(20px, 1.9vw, 28px); letter-spacing: -0.03em; }
.tvx .aw em { font-style: normal; font-size: 12.5px; color: var(--tm); }
.tvx-recent { list-style: none; display: grid; gap: 10px; padding: 0; margin: 0; }
.tvx-recent li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.tvx-recent .av { width: 40px; height: 40px; font-size: 12px; }
.tvx-recent b { font-size: 14px; } .tvx-recent small { display: block; color: var(--tm); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvx-recent .ra { text-align: right; }
.tvx-tick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 14px; padding: 12px max(18px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); background: rgb(11 13 18 / 0.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid #ffffff14; box-shadow: 0 -18px 40px -10px rgb(0 0 0 / 0.6); }
.tk-play { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0; background: #fff; color: var(--tb); display: grid; place-items: center; cursor: pointer; }
.tk-play .i { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.tk-play .i-play { display: none; }
.tk-play[aria-pressed="true"] .i-play { display: block; }
.tk-play[aria-pressed="true"] .i-pause { display: none; }
.tvx-tick p { flex: 1; min-width: 0; font-size: 15px; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tvx-tick p i { font-style: normal; color: var(--tf); margin: 0 6px; }
.tvx-tick .np { color: var(--tred); font-weight: 800; margin-right: 6px; }
.tvx-tick .np::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--tred); margin-right: 8px; vertical-align: 1px; animation: np-blink 1.2s ease-in-out infinite; }
.tvx-tick .np.paused { color: var(--tm); } .tvx-tick .np.paused::before { background: var(--tm); animation: none; }
@keyframes np-blink { 50% { opacity: 0.25; } }
.tvx-tick .nx { color: var(--tm); font-weight: 500; }
.tk-to { font-weight: 700; color: var(--tm); white-space: nowrap; }
.tk-slot { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #ffffff10; }
.tk-slot i { display: block; height: 100%; width: 0; background: var(--tred); }
/* Lunch Club, Holiday and Wrapped */
.tvx-extra-view { display: grid; gap: 18px; min-height: 60vh; align-content: start; animation: view-in 0.45s var(--ease-out) both; }
.xv-head span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tred); font-weight: 700; }
.xv-head b { display: block; font-size: clamp(28px, 4vw, 56px); letter-spacing: -0.045em; line-height: 1.02; margin-top: 6px; }
.xv-head p { color: var(--tm); font-size: clamp(14px, 1.3vw, 18px); margin-top: 8px; }
.xv-seats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.seat { border-radius: 16px; padding: 16px; background: var(--tr); display: grid; gap: 8px; justify-items: start; }
.seat.in { background: linear-gradient(150deg, #1f6b46, #12261c); box-shadow: inset 0 0 0 1px #3ddc8466; }
.seat b { font-size: 16px; } .seat small { color: var(--tm); font-size: 12.5px; }
.seat .bar { width: 100%; height: 5px; border-radius: 5px; background: #ffffff1a; overflow: hidden; } .seat .bar i { display: block; height: 100%; background: #fff; }
.seat.in .bar i { background: var(--tgood); }
.seat.empty { place-items: center; color: var(--tf); border: 1.5px dashed #ffffff22; background: none; font-size: 13px; }
.xv-race { list-style: none; display: grid; gap: 10px; padding: 0; margin: 0; }
.xv-race li { display: grid; grid-template-columns: 28px 46px minmax(0, 180px) minmax(0, 1fr) 90px; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 14px; background: #ffffff0a; }
.xv-race .rk { font-weight: 800; font-size: 20px; text-align: center; } .xv-race b { font-size: 17px; }
.xv-race .track { height: 10px; border-radius: 10px; background: #ffffff14; position: relative; }
.xv-race .track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: linear-gradient(90deg, #7a1d2a, var(--tred)); }
.xv-race .track i span { position: absolute; right: -12px; top: 50%; translate: 0 -50%; font-size: 20px; }
.xv-race .amt { text-align: right; font-weight: 800; font-size: 20px; }
.xv-wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wc { border-radius: 18px; padding: 20px; background: var(--tr); display: grid; gap: 6px; }
.wc.big { background: linear-gradient(150deg, #3d4bff33, #15181f); }
.wc.red { background: linear-gradient(150deg, #a32a37, #4c121b); }
.wc span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #e5e7eb; font-weight: 650; }
.wc b { font-size: clamp(26px, 3vw, 44px); letter-spacing: -0.04em; line-height: 1; }
.wc em { font-style: normal; color: var(--tm); font-size: 13.5px; }
@media (max-width: 1100px) { .xv-seats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .xv-wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .xv-seats, .xv-wrap { grid-template-columns: 1fr 1fr; }
  .xv-race li { grid-template-columns: 22px 38px minmax(0, 1fr) 70px; } .xv-race .track { grid-column: 2 / -1; grid-row: 2; }
  .tvx-tick .nx { display: none; } .tk-to { display: none; }
}
.tvx-note { text-align: center; color: var(--tf); font-size: 12px; }
.tvx-cel { position: fixed; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; opacity: 0; }
.tvx-cel > div { text-align: center; padding: clamp(24px, 4vw, 48px) clamp(28px, 6vw, 80px); border-radius: 28px; background: linear-gradient(150deg, #c42d3b, #5a1520); box-shadow: 0 40px 120px -20px #e1323f; transform: scale(0.8); }
.tvx-cel.on { animation: cel-show 3.6s var(--ease-out) both; }
.tvx-cel.on > div { animation: cel-pop 3.6s var(--ease-out) both; }
@keyframes cel-show { 0% { opacity: 0; } 8%, 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes cel-pop { 0% { transform: scale(0.7); } 12% { transform: scale(1.04); } 20%, 80% { transform: scale(1); } 100% { transform: scale(0.96); } }
.tvx-cel-k { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: #ffd2d6; }
.tvx-cel b { display: block; font-size: clamp(40px, 6vw, 84px); letter-spacing: -0.05em; line-height: 1; margin: 8px 0; }
.tvx-cel p { font-size: clamp(16px, 1.8vw, 24px); color: #ffe4e6; }
.tvx-cel em { display: inline-block; margin-top: 14px; font-style: normal; font-weight: 800; padding: 6px 14px; border-radius: 999px; background: var(--tgold); color: #1a1205; }
.tvx-confetti { position: fixed; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.tvx-confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 2px; background: var(--c); animation: tvx-fall var(--d) cubic-bezier(0.2, 0.6, 0.4, 1) forwards; }
@keyframes tvx-fall { to { transform: translate(var(--x), 110vh) rotate(var(--r)); } }
@media (max-width: 1100px) {
  .tvx-main { grid-template-columns: 1fr; }
  .tvx-cols, .tvx-board li { grid-template-columns: 30px 46px minmax(0, 1.5fr) minmax(0, 1fr) 90px; }
  .tvx-cols > :nth-child(4), .tvx-weeks { display: none; }
  .tvx-awards { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .tvx-in { padding: 0; gap: 12px; }
  .tvx-head { flex-wrap: wrap; }
  .tvx-acts { order: -1; width: 100%; justify-content: space-between; }
  .tvx-cols { display: none; }
  .tvx-board li { grid-template-columns: 22px 38px minmax(0, 1fr) auto; padding: 10px 12px; }
  .tvx-board .tg { display: none; }
  .tvx .av { width: 38px; height: 38px; font-size: 12px; }
  .tvx-board .rk { font-size: 17px; }
  .tvx-awards { grid-template-columns: 1fr 1fr; }
  .tvx-periods { gap: 16px; overflow-x: auto; flex-wrap: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .tvx, .tvx-land { animation: none; } }

/* A preview of the TV board that opens it full screen. */
.tv-preview { display: grid; gap: 12px; width: 100%; padding: 18px; border-radius: 18px; border: 0; text-align: left; color: #fff; font: inherit; cursor: pointer; text-decoration: none;
  background: linear-gradient(160deg, oklch(0.3 0.09 15), oklch(0.16 0.03 250) 62%); box-shadow: 0 30px 70px -30px oklch(0 0 0 / 0.7); transition: transform 0.25s var(--ease-out), box-shadow 0.25s; }
.tv-preview:hover { transform: translateY(-3px); box-shadow: 0 40px 80px -30px oklch(0.55 0.2 20 / 0.6); }
.tvp-head { display: flex; gap: 14px; align-items: center; }
.tvp-no1 { width: 64px; height: 64px; border-radius: 12px; display: grid; place-content: center; text-align: center; background: linear-gradient(150deg, oklch(0.55 0.17 15), oklch(0.32 0.1 15)); }
.tvp-no1 b { font-size: 21px; letter-spacing: -0.04em; line-height: 1; }
.tvp-no1 small { font-size: 7.5px; letter-spacing: 0.12em; }
.tvp-head > span:last-child small { display: block; font-size: 11px; color: oklch(0.85 0.02 250); }
.tvp-head > span:last-child b { font-size: 34px; letter-spacing: -0.045em; line-height: 1; }
.tvp-list { list-style: none; display: grid; gap: 6px; padding: 0; margin: 0; }
.tvp-list li { display: grid; grid-template-columns: 18px 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: oklch(1 0 0 / 0.06); font-size: 14px; }
.tvp-list li.top { background: oklch(0.55 0.17 15 / 0.45); box-shadow: inset 0 0 0 1px oklch(0.7 0.15 15 / 0.7); }
.tvp-list .rk { font-weight: 800; text-align: center; } .tvp-list .avatar { width: 28px; height: 28px; font-size: 9.5px; }
.tvp-list .amt { font-weight: 800; font-variant-numeric: tabular-nums; }
.tvp-open { justify-self: center; display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 10px 18px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 650; font-size: 0.95rem; box-shadow: 0 10px 30px -10px var(--red); animation: send-glow 2s ease-in-out infinite; }
.tvp-open .i { width: 17px; height: 17px; }
@media (prefers-reduced-motion: reduce) { .tvp-open { animation: none; } }

.cta-note { margin-top: -14px; font-size: 0.875rem; color: var(--muted); letter-spacing: 0.01em; }

/* ------------------------------------------------------------ How it works */
.ns-hero { padding-top: clamp(56px, 8vw, 110px); background: radial-gradient(70% 60% at 50% 0%, var(--red-soft), transparent 70%); }
.ns-hero .h-display { margin-top: 18px; text-wrap: balance; }
.ns-lede { max-width: 62ch; margin: 22px auto 30px; }
.ns-ctas { justify-content: center; }
.ns-hero .cta-note { margin-top: 14px; }
.ns-loop { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; position: relative; }
.ns-loop::before { content: ""; position: absolute; left: 6%; right: 6%; top: 40px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--line-2), var(--red) 50%, var(--line-2)); background-size: 200% 100%; animation: ns-flow 3.5s linear infinite; z-index: 0; }
@keyframes ns-flow { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.ns-step { position: relative; z-index: 1; display: grid; gap: 8px; align-content: start; padding: 0 18px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ns-n { position: absolute; top: 14px; right: 16px; font-size: 0.8rem; font-weight: 800; color: var(--muted); }
.ns-ic { width: 54px; height: 54px; margin-top: 13px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: #fff; box-shadow: 0 0 0 6px var(--bg); }
.ns-ic .i { width: 24px; height: 24px; }
.ns-step:nth-child(5) .ns-ic { background: var(--red); }
.ns-step h3 { font-size: 1.15rem; letter-spacing: -0.02em; margin-top: 6px; }
.ns-where { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-strong); }
.ns-step p { font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); }
.ns-step p b { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 2px; }
.ns-you b { color: var(--muted); }
.ns-us { padding: 10px 12px; border-radius: 10px; background: var(--green-soft); }
.ns-us b { color: var(--green-ink); }
.ns-loop-foot { margin-top: 26px; display: flex; gap: 10px; justify-content: center; align-items: center; color: var(--ink-2); font-weight: 600; text-align: center; }
.ns-loop-foot .i { width: 18px; height: 18px; color: var(--red); flex: none; }
.ns-merge { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.ns-merge .lede { margin: 18px 0 28px; }
.ns-funnel { display: grid; justify-items: center; gap: 14px; }
.ns-old { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ns-old li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 0.92rem; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--red); }
.ns-old .i { width: 16px; height: 16px; }
.ns-arrow { display: grid; gap: 4px; justify-items: center; }
.ns-arrow i { width: 14px; height: 14px; border-right: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(45deg); animation: ns-down 1.4s ease-in-out infinite; }
.ns-arrow i:nth-child(2) { animation-delay: 0.15s; } .ns-arrow i:nth-child(3) { animation-delay: 0.3s; }
@keyframes ns-down { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.ns-one { display: grid; justify-items: center; gap: 6px; padding: 26px 40px; border-radius: 24px; background: var(--navy); color: #fff; box-shadow: 0 30px 60px -24px oklch(0.18 0.03 250 / 0.5); }
.ns-mark { width: 64px; height: 64px; }
.ns-one b { font-size: 2rem; letter-spacing: -0.03em; color: #fff; }
.ns-one span { color: var(--navy-ink); font-size: 0.95rem; }
.ns-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ns-role { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; }
.ns-role .ns-ic { margin: 0 0 4px; box-shadow: none; }
.ns-role h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
.ns-role p { color: var(--ink-2); line-height: 1.55; }
.ns-role ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; }
.ns-role li { padding-left: 22px; position: relative; font-weight: 600; font-size: 0.93rem; }
.ns-role li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.ns-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: center; }
.ns-nums b { display: block; font-size: clamp(3rem, 2rem + 4vw, 5.5rem); letter-spacing: -0.05em; line-height: 1; color: #fff; }
.ns-nums div:nth-child(2) b { color: var(--red); }
.ns-nums span { display: block; margin-top: 10px; color: var(--navy-ink); font-size: 1rem; }
@media (max-width: 1100px) {
  .ns-loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ns-loop::before { display: none; }
  .ns-step:last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .ns-merge, .ns-roles { grid-template-columns: 1fr; }
  .ns-nums { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
}
@media (max-width: 600px) {
  .ns-loop { grid-template-columns: 1fr; }
  .ns-loop::before { display: block; left: 44px; right: auto; top: 20px; bottom: 20px; width: 3px; height: auto; background: linear-gradient(180deg, var(--line-2), var(--red), var(--line-2)); }
  .ns-step:last-child { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { .ns-loop::before, .ns-arrow i { animation: none; } }



/* How it works: the hub and the day */
.hub { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 120px; }
.hub-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; width: 150px; height: 150px; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 4px; background: radial-gradient(circle, oklch(0.3 0.08 20), var(--navy) 70%); box-shadow: 0 0 0 1px oklch(1 0 0 / 0.1), 0 0 60px oklch(0.58 0.22 25 / 0.45); animation: core-glow 3s ease-in-out infinite; }
.hub-core svg { width: 56px; height: 56px; }
.hub-core b { font-size: 1.1rem; letter-spacing: -0.02em; }
@keyframes core-glow { 50% { box-shadow: 0 0 0 1px oklch(1 0 0 / 0.14), 0 0 90px oklch(0.58 0.22 25 / 0.7); } }
.hub-g { padding: 22px; border-radius: var(--r-lg); background: oklch(1 0 0 / 0.04); border: 1px solid oklch(1 0 0 / 0.08); }
.hub-g h3 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 14px; }
.hub-g h3 .ns-ic { width: 40px; height: 40px; margin: 0; border-radius: 12px; background: var(--red); box-shadow: none; }
.hub-g h3 .ns-ic .i { width: 19px; height: 19px; }
.hub-g ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hub-g li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: oklch(1 0 0 / 0.07); color: #fff; font-size: 0.9rem; font-weight: 550; }
.hub-g li .i { width: 15px; height: 15px; color: oklch(0.75 0.15 25); }
.hub-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tl { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; display: grid; gap: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 113px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--red), var(--line-2)); }
.tl li { display: grid; grid-template-columns: 90px 48px minmax(0, 1fr); gap: 0 14px; align-items: start; padding: 12px 0; }
.tl-t { text-align: right; font-weight: 800; font-size: 1rem; padding-top: 12px; font-variant-numeric: tabular-nums; }
.tl-dot { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; box-shadow: 0 0 0 6px var(--bg); }
.tl li:first-child .tl-dot, .tl li:last-child .tl-dot { background: var(--red); }
.tl-dot .i { width: 21px; height: 21px; }
.tl h3 { font-size: 1.15rem; letter-spacing: -0.02em; padding-top: 4px; }
.tl p { color: var(--ink-2); line-height: 1.55; margin-top: 4px; }
@media (max-width: 860px) {
  .hub { grid-template-columns: 1fr; gap: 14px; }
  .hub-core { position: relative; left: auto; top: auto; translate: none; margin: 0 auto 6px; width: 120px; height: 120px; }
}
@media (max-width: 600px) {
  .tl::before { left: 23px; }
  .tl li { grid-template-columns: 48px minmax(0, 1fr); }
  .tl-t { grid-column: 2; grid-row: 1; text-align: left; padding-top: 0; color: var(--red-strong); font-size: 0.9rem; }
  .tl-dot { grid-column: 1; grid-row: 1 / span 2; }
  .tl li > div { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .hub-core { animation: none; } }

/* The whole "Pulse NEW" item pulses, not just the badge. */
.nav-main a[href="/pulse"] { position: relative; border-radius: 12px; animation: pulse-item 1.6s ease-out infinite; outline: 1.5px solid oklch(0.58 0.22 25 / 0.45); outline-offset: -1.5px; }
/* Phone menu: NEW sits next to the word, the arrow stays on the right, and the
   row glows inside the menu's own width instead of a box spilling past it. */
.mobile-nav a[href="/pulse"] .nav-new { margin-left: 10px; margin-right: auto; }
.mobile-nav a[href="/pulse"] { margin-inline: -12px; padding-inline: 12px; border-radius: 12px; border-bottom-color: transparent; animation: pulse-row 1.6s ease-in-out infinite; }
@keyframes pulse-row { 0%, 100% { background-color: oklch(0.58 0.22 25 / 0.05); } 50% { background-color: oklch(0.58 0.22 25 / 0.14); } }
@keyframes pulse-item { 0% { box-shadow: 0 0 0 0 oklch(0.58 0.22 25 / 0.6); background-color: oklch(0.58 0.22 25 / 0.12); } 70% { box-shadow: 0 0 0 12px oklch(0.58 0.22 25 / 0); background-color: oklch(0.58 0.22 25 / 0.04); } 100% { box-shadow: 0 0 0 0 oklch(0.58 0.22 25 / 0); background-color: oklch(0.58 0.22 25 / 0.1); } }
@media (prefers-reduced-motion: reduce) { .nav-main a[href="/pulse"], .mobile-nav a[href="/pulse"] { animation: none; } }

/* How it works: proof, safety, next steps */
.ns-proof { padding: 0 0 clamp(20px, 3vw, 36px); }
.ns-proof ul { list-style: none; padding: 18px 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; border-block: 1px solid var(--line); }
.ns-proof li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; color: var(--ink-2); line-height: 1.45; }
.ns-proof li .i { width: 20px; height: 20px; color: var(--green); flex: none; }
.ns-proof b { color: var(--ink); }
.ns-safe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ns-safe > div { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 8px; align-content: start; }
.ns-safe .i { width: 28px; height: 28px; color: var(--green); }
.ns-safe h3 { font-size: 1.1rem; letter-spacing: -0.02em; }
.ns-safe p { color: var(--ink-2); line-height: 1.55; font-size: 0.95rem; }
.ns-next { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: n; }
.ns-next li { position: relative; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.ns-next li > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; margin-bottom: 12px; }
.ns-next h3 { font-size: 1.1rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.ns-next p { color: var(--ink-2); line-height: 1.55; font-size: 0.95rem; }
@media (max-width: 1000px) { .ns-proof ul, .ns-safe, .ns-next { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ns-proof ul, .ns-safe, .ns-next { grid-template-columns: 1fr; } }

.cta-note a { color: var(--red-strong); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
