/* IPV pitch page. Tokens follow yoursafe-web (src/styles/global.css). */
@font-face { font-family: 'Nunito Sans Variable'; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(/assets/fonts/nunito-sans-latin.woff2) format('woff2'); 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; }
@font-face { font-family: 'Nunito Sans Variable'; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(/assets/fonts/nunito-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #253a78;
  --navy-2: #33498c;
  --navy-line: #45599a;
  --mint: #c0eee3;
  --mint-line: #8fd3c2;
  --mint-ink: #1e7a64;
  --blue: #0089d0;
  --sky: #00a2e9;
  --ink: #1f2937;
  --muted: #5b6472;
  --soft: #dce4f2;
  --surface: #f3f4f7;
  --line: #e2e8f0;
  --white: #fff;
  --font: 'Avenir Next', 'Avenir', 'Nunito Sans Variable', system-ui, sans-serif;
  --wrap: 1216px;
  --gutter: clamp(20px, 6vw, 96px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-snap-type: y proximity; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; color: var(--navy); }
h1, h2, .close-line { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }

/* Type */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; line-height: 16px; text-transform: uppercase; color: var(--blue); }
.on-navy .eyebrow { color: var(--mint); }
.on-mint .eyebrow { color: var(--mint-ink); }
.display { font-size: clamp(40px, min(6.4vw, 9.5vh), 88px); line-height: 0.98; letter-spacing: -0.045em; }
.h2 { font-size: clamp(30px, min(4.2vw, 6.4vh), 56px); line-height: 1.04; letter-spacing: -0.035em; }
.h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; }
.lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; font-weight: 600; color: var(--navy); }
.on-navy .lead { color: var(--soft); }
.body { font-size: 17px; line-height: 1.6; }
.small { font-size: 14px; line-height: 1.45; color: var(--muted); }
.on-navy, .on-navy h1, .on-navy h2, .on-navy h3 { color: #fff; }
.on-navy .small { color: var(--soft); }

/* Top bar */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; padding-inline: clamp(16px, 4vw, 48px); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-bottom-right-radius: 420px 40px; box-shadow: 0 6px 24px rgba(17, 30, 68, 0.06); }
.topbar img { width: 128px; height: auto; }
.topbar .meta { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 700; color: var(--navy); }
.topbar .slide-name { font-weight: 600; color: var(--muted); }
.topbar .count { font-variant-numeric: tabular-nums; min-width: 56px; text-align: right; }
.topbar a { color: var(--navy); }
.topbar .lang { display: flex; align-items: center; gap: 6px; font-size: 13px; letter-spacing: 0.06em; }
.topbar .lang a { color: var(--muted); text-decoration: none; padding: 6px 2px; }
.topbar .lang a:hover { color: var(--navy); }
.topbar .lang a[aria-current] { color: var(--navy); }
.topbar .lang span { color: var(--muted); opacity: 0.5; }
@media (max-width: 720px) { .topbar .slide-name { display: none; } }

/* Slide dots */
.dots { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 10px; }
.dots a { display: block; width: 10px; height: 10px; border-radius: 99px; background: rgba(125, 140, 180, 0.5); transition: background 0.2s, transform 0.2s var(--ease); }
.dots a[aria-current='true'] { background: var(--sky); transform: scale(1.3); }
@media (max-width: 900px) { .dots { display: none; } }

/* Slides */
.slide { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: calc(72px + clamp(16px, 3.5vh, 48px)) clamp(28px, 5vh, 80px); scroll-snap-align: start; }
.slide.navy { background: var(--navy); }
.slide.mint { background: var(--mint); }
.slide.grey { background: var(--surface); }
.slide.round-tl { border-top-left-radius: clamp(48px, 9vw, 140px); }
.slide.round-tr { border-top-right-radius: clamp(48px, 9vw, 140px); }
.wave-bottom::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(36px, 5vw, 72px); pointer-events: none; background: no-repeat 0 0 / 100% 100% var(--wave); }
.wave-to-white { --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C 240 0 480 0 720 26 S 1200 58 1440 22 V60 H0Z' fill='%23ffffff'/%3E%3C/svg%3E"); }
.wave-to-grey { --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C 240 0 480 0 720 26 S 1200 58 1440 22 V60 H0Z' fill='%23f3f4f7'/%3E%3C/svg%3E"); }

/* Hero */
.hero { padding-top: calc(72px + clamp(24px, 6vh, 72px)); padding-bottom: clamp(56px, 10vh, 112px); overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero .sub { margin-top: 28px; max-width: 620px; }
.hero .for { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--navy-line); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; color: var(--soft); }
.hero .for strong { color: #fff; }
.hero-mark { position: relative; aspect-ratio: 1; border-radius: 40px 40px 40px 160px; background: var(--navy-2); display: grid; place-items: center; overflow: hidden; }
.hero-mark::before { content: ''; position: absolute; inset: 18%; border-radius: 50%; border: 2px solid var(--navy-line); }
.hero-mark::after { content: ''; position: absolute; inset: 32%; border-radius: 50%; border: 2px solid var(--navy-line); }
.hero-card { position: relative; z-index: 1; width: 64%; aspect-ratio: 1.586; border-radius: 18px; background: linear-gradient(135deg, var(--sky), #0b6fb8); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; transform: rotate(-6deg); animation: float 6s var(--ease) infinite alternate; }
.hero-card .brand { font-weight: 800; font-size: clamp(16px, 1.7vw, 22px); letter-spacing: -0.02em; }
.hero-card .amt { font-weight: 800; font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.03em; }
.hero-card .row { display: flex; justify-content: space-between; align-items: end; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; }
@keyframes float { to { transform: rotate(-3deg) translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-card { animation: none; } html { scroll-behavior: auto; } }

/* Split layouts */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.flip { grid-template-columns: 7fr 5fr; }
.split.flip > :first-child { order: 2; }
.stack { display: grid; gap: 18px; align-content: start; }
.num { font-size: 15px; font-weight: 800; color: var(--sky); letter-spacing: 0.04em; }
.on-mint .num { color: var(--mint-ink); }

/* Video slot */
.vid { position: relative; margin: 0; width: 100%; aspect-ratio: 16 / 9; border-radius: 28px 28px 28px 96px; overflow: hidden; background: var(--navy-2); box-shadow: 0 30px 70px rgba(17, 30, 68, 0.22); }
.vid video { width: 100%; height: 100%; object-fit: cover; background: #000; display: block; }
.vid .ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; color: #fff; background: radial-gradient(120% 90% at 20% 10%, var(--navy-2), var(--navy)); }
.vid .ph .play { width: 72px; height: 72px; border-radius: 99px; background: var(--mint); display: grid; place-items: center; }
.vid .ph .play::after { content: ''; margin-left: 6px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--navy); }
.vid .ph strong { font-size: clamp(17px, 1.8vw, 24px); letter-spacing: -0.02em; line-height: 1.2; }
.vid .ph span { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint); }
.vid.has-video .ph { display: none; }

/* Lists and cards */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 22px; font-size: 17px; line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 99px; background: var(--sky); }
.on-navy .ticks li::before { background: var(--mint-line); }
.on-navy .ticks li { color: #e8edf8; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border-radius: 24px 24px 24px 64px; padding: 28px; display: grid; gap: 10px; align-content: start; box-shadow: 0 10px 30px rgba(17, 30, 68, 0.06); }
.card h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; }
.card p { font-size: 16px; line-height: 1.55; color: var(--ink); }
.card .kicker { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.on-navy .card { background: var(--navy-2); box-shadow: none; }
.on-navy .card p { color: var(--soft); }
.on-navy .card .kicker { color: var(--mint); }
.grey .card, .mint .card { box-shadow: none; }

/* Steps (play-along) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; background: #fff; border-radius: 20px; padding: 18px 20px; font-size: 16px; line-height: 1.55; }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 99px; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; }

.vid-wrap { display: grid; gap: 10px; margin: 0; }
.vid-wrap[hidden] { display: none; }
.vid-cap { margin: 0; font-size: 13px; color: var(--muted); padding-left: 8px; }
.on-navy .vid-cap { color: var(--soft); }
.split.no-media { grid-template-columns: minmax(0, 820px); }
.split.no-media > .stack { order: 0; }

/* Timeline (participation history) */
.timeline { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.timeline li { background: var(--navy-2); border-radius: 24px 24px 24px 64px; padding: 26px; display: grid; gap: 8px; align-content: start; }
.timeline .when { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint); }
.timeline strong { font-size: 21px; color: #fff; letter-spacing: -0.02em; }
.timeline p { font-size: 16px; line-height: 1.5; color: var(--soft); }
.timeline li.next { background: var(--mint); }
.timeline li.next .when { color: var(--mint-ink); }
.timeline li.next strong { color: var(--navy); }
.timeline li.next p { color: var(--navy); }

/* Live demo row */
.demo { margin-top: clamp(24px, 4vh, 44px); background: var(--navy); border-radius: 28px 28px 28px 96px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; }
.demo .eyebrow { color: var(--mint); }
.demo-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: d; }
.demo-steps li { counter-increment: d; color: var(--soft); font-size: 16px; line-height: 1.45; display: grid; gap: 4px; }
.demo-steps li::before { content: counter(d); width: 36px; height: 36px; border-radius: 99px; background: var(--mint); color: var(--navy); font-weight: 800; display: grid; place-items: center; margin-bottom: 6px; }
.demo-steps strong { color: #fff; font-size: 18px; }

/* Ask */
.ask { margin-top: clamp(20px, 3.5vh, 36px); display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; background: var(--mint); border-radius: 999px; padding: 16px 28px; }
.ask .eyebrow { color: var(--mint-ink); }
.ask strong { color: var(--navy); font-size: clamp(18px, 1.8vw, 22px); }

/* Architecture: diagram beside three stacked cards, sized to fit one screen */
.arch-grid { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(250px, 1fr); gap: 20px; align-items: center; }
.arch-grid .arch { display: grid; place-items: center; }
.arch-grid .arch img { width: 100%; max-height: calc(100vh - 400px); object-fit: contain; }
.cards.stacked { grid-template-columns: 1fr; gap: 12px; }
.cards.stacked .card { padding: 16px 20px; gap: 4px; border-radius: 20px 20px 20px 48px; }
.cards.stacked .card p { font-size: 15px; line-height: 1.45; }
@media (max-width: 900px) { .arch-grid { grid-template-columns: 1fr; } .arch-grid .arch img { max-height: none; } }

/* Architecture */
.arch { background: #fff; border-radius: 28px; padding: clamp(10px, 2vw, 24px); box-shadow: 0 20px 60px rgba(17, 30, 68, 0.08); }
.arch img { width: 100%; height: auto; }
.blocks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 28px; }
.blocks div { border-top: 3px solid var(--sky); padding-top: 12px; font-size: 15px; line-height: 1.5; }
.blocks strong { display: block; color: var(--navy); font-size: 16px; margin-bottom: 4px; }

/* Table */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; background: #fff; border-radius: 24px; overflow: hidden; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.tbl th { background: var(--navy); color: #fff; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 700; color: var(--navy); }
.pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.pill.skill { background: var(--mint); color: var(--mint-ink); }
.pill.chance { background: #fde2e1; color: #9b1c1c; }
.scroll-x { overflow-x: auto; border-radius: 24px; }

/* Vault */
.vault-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.vault-list div { background: rgba(255, 255, 255, 0.6); border-radius: 24px 24px 24px 64px; padding: 26px; }
.vault-list strong { display: block; color: var(--navy); font-size: 20px; margin-bottom: 6px; }

/* Close */
.close-line { font-size: clamp(22px, min(2.6vw, 4.4vh), 38px); line-height: 1.2; letter-spacing: -0.03em; font-weight: 700; color: #fff; max-width: 980px; }
.close-line em { font-style: normal; color: var(--mint); }
.foot { margin-top: clamp(20px, 3.5vh, 48px); padding-top: 22px; border-top: 1px solid var(--navy-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13px; color: var(--soft); }
.foot img { width: 120px; height: auto; }

/* Responsive */
@media (max-width: 1080px) {
  .blocks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .cards.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  html { scroll-snap-type: none; }
  .slide { min-height: auto; padding-block: 104px 72px; }
  .hero { padding-top: 112px; padding-bottom: 96px; }
  .hero .grid, .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .hero-mark { max-width: 420px; }
  .cards, .cards.two, .vault-list { grid-template-columns: 1fr; }
  .timeline, .demo-steps { grid-template-columns: repeat(2, 1fr); }
  .ask { border-radius: 24px; }
  .demo { border-radius: 24px 24px 24px 56px; }
}
@media (max-width: 560px) {
  .timeline, .demo-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .blocks, .cards.four { grid-template-columns: 1fr; }
  .tbl { font-size: 15px; min-width: 640px; }
  .tbl th, .tbl td { padding: 12px 14px; }
}

/* Login */
.login-page { min-height: 100vh; min-height: 100svh; background: var(--navy); display: grid; place-items: center; padding: 24px 16px; }
.login-box { width: 100%; max-width: 420px; background: #fff; border-radius: 32px 32px 32px 96px; padding: clamp(28px, 5vw, 44px); display: grid; gap: 18px; }
.login-box img { width: 140px; height: auto; }
.login-box label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--navy); }
.login-box input { font: inherit; font-size: 17px; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 2px solid var(--line); color: var(--ink); }
.login-box input:focus { outline: none; border-color: var(--sky); }
.login-box button { font: inherit; min-height: 56px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 17px; cursor: pointer; }
.login-box button:hover { background: #1d2f63; }
.login-box .err { display: none; background: #fde2e1; color: #9b1c1c; border-radius: 12px; padding: 10px 14px; font-size: 15px; font-weight: 600; }
.login-box .err.show { display: block; }

/* Last slide: compact cards so ask, close line and footer fit one screen */
#s10 .card { padding: 18px 20px; gap: 6px; }
#s10 .card p { font-size: 15px; }
#s10 .foot { padding-top: 16px; font-size: 12px; align-items: center; }

/* Phones: smaller corner radii so curved corners never clip text */
@media (max-width: 560px) {
  .vid { border-radius: 20px 20px 20px 56px; }
  .vid .ph { gap: 8px; }
  .vid .ph .play { width: 52px; height: 52px; }
  .demo { border-radius: 24px 24px 24px 48px; }
  .demo-steps li { grid-template-columns: 36px 1fr; column-gap: 14px; row-gap: 0; align-items: center; }
  .demo-steps li::before { grid-row: span 2; margin-bottom: 0; }
  .timeline li, .card { border-radius: 20px 20px 20px 48px; }
}

/* Light step cards on mint (what the IPV is) */
.timeline.light { margin-top: clamp(24px, 4vh, 44px); }
.timeline.light li { background: #fff; }
.timeline.light .when { color: var(--mint-ink); }
.timeline.light strong { color: var(--navy); }
.timeline.light p { color: var(--ink); }
.aud { margin-top: clamp(14px, 2.5vh, 24px); color: var(--navy); font-weight: 600; }

/* Five rules */
.cards.five { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cards.five .card { padding: 22px; }
.cards.five .card p { font-size: 15px; line-height: 1.5; }
.fits { margin-top: clamp(18px, 3vh, 32px); font-size: 16px; color: var(--soft); display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; }
.fits .eyebrow { margin-right: 4px; }
@media (max-width: 1180px) { .cards.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .cards.five { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards.five { grid-template-columns: 1fr; } }

/* What-is-new slide on grey: dark history cards, the last one mint */
.grey .timeline li:not(.next) { background: var(--navy); }

@media (max-width: 1180px) and (min-width: 901px) {
  .cards.stacked .card { padding: 14px 16px; }
  .cards.stacked .card p { font-size: 14px; }
  #s10 .card p { font-size: 14px; }
}

/* ===== Design pass 3 Nov: fewer card grids, one explanatory illustration ===== */

/* Top bar progress */
.progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; }
.progress span { display: block; height: 100%; width: 10%; background: var(--sky); border-radius: 0 3px 3px 0; transition: width 0.4s var(--ease); }

/* Hero phone illustration: a play-along in a chat, ending with the prize card */
.phone-wrap { margin: 0; justify-self: center; display: grid; justify-items: center; gap: 10px; }
.phone-wrap figcaption { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); opacity: 0.8; }
.phone { height: clamp(420px, calc(100vh - 270px), 600px); aspect-ratio: 0.5; display: flex; flex-direction: column; overflow: hidden; border: 10px solid #142352; border-radius: 44px; background: #eef3f7; box-shadow: 0 40px 80px rgba(5, 14, 40, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 18px 14px 12px; background: #fff; color: var(--navy); font-size: 14px; line-height: 1.2; }
.phone-top small { display: block; font-size: 12px; color: var(--muted); }
.ph-avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--mint); color: var(--navy); font-weight: 800; display: grid; place-items: center; }
.chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 14px 12px 16px; }
.msg { max-width: 86%; margin: 0; padding: 10px 12px; font-size: 14px; line-height: 1.4; }
.msg.in { align-self: flex-start; background: #fff; color: var(--ink); border-radius: 16px 16px 16px 4px; box-shadow: 0 1px 2px rgba(17, 30, 68, 0.08); }
.msg.out { align-self: flex-end; background: var(--mint); color: var(--navy); font-weight: 700; border-radius: 16px 16px 4px 16px; }
.chips { display: flex; gap: 6px; margin: 0; }
.chips span { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1.5px solid var(--soft); color: var(--navy); font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.prize { align-self: stretch; aspect-ratio: 1.586; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: linear-gradient(135deg, var(--navy), var(--navy-2) 60%, #3b5bb0); box-shadow: 0 14px 30px rgba(17, 30, 68, 0.35); }
.pc-brand { font-weight: 800; font-size: 16px; }
.pc-amt { font-weight: 800; font-size: 28px; letter-spacing: -0.03em; }
.pc-row { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mint); }
.pc-tick { width: 20px; height: 20px; border-radius: 50%; background: var(--mint); position: relative; }
.pc-tick::after { content: ''; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.chat { transition: opacity 0.5s var(--ease); }
.chat.fade { opacity: 0; }
.chat > * { opacity: 0; transform: translateY(10px); }
.chat.play > * { animation: pop 0.5s var(--ease) forwards; }
.chat .m1 { animation-delay: 0.6s; } .chat .m2 { animation-delay: 1.3s; } .chat .m3 { animation-delay: 2.4s; } .chat .m4 { animation-delay: 3.3s; } .chat .m5 { animation-delay: 4.2s; }
@keyframes pop { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .chat > * { opacity: 1; transform: none; animation: none; } }
@media (max-height: 820px) and (min-width: 901px) { .chips { display: none; } .msg { font-size: 13px; padding: 8px 11px; } .prize { aspect-ratio: 2; padding: 12px; } .pc-amt { font-size: 24px; } .phone-top { padding-top: 14px; } }

/* What is new: a progression line, ending in mint */
.track { list-style: none; margin: clamp(28px, 5vh, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 32px); position: relative; }
.track::before { content: ''; position: absolute; left: 10px; right: 10px; top: 9px; height: 2px; background: linear-gradient(90deg, #b9c3da, var(--navy) 72%, var(--mint-line)); }
.track li { position: relative; padding-top: 38px; display: grid; gap: 6px; align-content: start; }
.track li::before { content: ''; position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); box-sizing: border-box; }
.track .when { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.track strong { font-size: clamp(19px, 1.7vw, 23px); color: var(--navy); letter-spacing: -0.02em; line-height: 1.2; }
.track p { font-size: 16px; line-height: 1.5; color: var(--ink); max-width: 30ch; }
.track li.next::before { background: var(--mint); border-color: var(--mint-ink); box-shadow: 0 0 0 7px rgba(111, 210, 187, 0.35); }
.track li.next .when { color: var(--mint-ink); }
@media (max-width: 900px) {
  .track { grid-template-columns: 1fr; gap: 22px; }
  .track::before { left: 9px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, #b9c3da, var(--navy) 72%, var(--mint-line)); }
  .track li { padding: 0 0 0 40px; }
}

/* What the IPV is: four steps with icons, joined by a line */
.flow { list-style: none; margin: clamp(24px, 4.5vh, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 36px); }
.flow li { position: relative; display: grid; gap: 6px; align-content: start; }
.flow li:not(:last-child)::after { content: ''; position: absolute; top: 28px; left: 70px; right: calc(-1 * clamp(16px, 2.5vw, 36px) + 6px); height: 2px; background: rgba(37, 58, 120, 0.22); }
.flow .ico { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin-bottom: 8px; box-shadow: 0 6px 16px rgba(17, 30, 68, 0.08); }
.flow svg, .ask-arrow { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow svg { width: 26px; height: 26px; stroke: var(--navy); }
.flow .when { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint-ink); }
.flow strong { font-size: clamp(19px, 1.7vw, 22px); color: var(--navy); letter-spacing: -0.02em; line-height: 1.2; }
.flow p { font-size: 16px; line-height: 1.5; color: var(--ink); }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } .flow li::after { display: none; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* Live dot on the demo strip */
.eyebrow.live { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow.live .dot { width: 9px; height: 9px; border-radius: 50%; background: #ff7a6b; box-shadow: 0 0 0 0 rgba(255, 122, 107, 0.6); animation: live 1.8s ease-out infinite; }
@keyframes live { to { box-shadow: 0 0 0 10px rgba(255, 122, 107, 0); } }
@media (prefers-reduced-motion: reduce) { .eyebrow.live .dot { animation: none; } }

/* Five rules: an editorial list on navy */
.rules { margin: clamp(20px, 3.5vh, 36px) 0 0; border-top: 1px solid var(--navy-line); }
.rules > div { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 8px 32px; padding: clamp(10px, 1.9vh, 18px) 0; border-bottom: 1px solid var(--navy-line); align-items: baseline; }
.rules dt { font-size: clamp(19px, 1.8vw, 24px); font-weight: 800; color: var(--mint); letter-spacing: -0.02em; }
.rules dd { margin: 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.5; color: var(--soft); max-width: 68ch; }
.fits { margin-top: clamp(16px, 3vh, 28px); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.fits .eyebrow { margin-right: 6px; }
.chip { display: inline-block; padding: 5px 14px; border-radius: 999px; border: 1px solid var(--navy-line); color: #fff; font-size: 14px; font-weight: 600; }
@media (max-width: 720px) { .rules > div { grid-template-columns: 1fr; } }

/* How it works: diagram beside a quiet list */
.points { display: grid; align-content: center; border-top: 1px solid var(--line); }
.points > div { display: grid; gap: 4px; padding: clamp(12px, 2.2vh, 20px) 0; border-bottom: 1px solid var(--line); }
.points .kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.points p { font-size: 15.5px; line-height: 1.5; color: var(--ink); }
#s8 .arch { background: var(--surface); box-shadow: none; }

/* Who gets what: open columns with a mint rule */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 32px); margin-top: clamp(20px, 3.5vh, 36px); }
.who > div { border-top: 3px solid var(--mint); padding-top: 14px; display: grid; gap: 6px; align-content: start; }
.who .kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint); }
.who p { font-size: 15.5px; line-height: 1.5; color: var(--soft); }
@media (max-width: 900px) { .who { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .who { grid-template-columns: 1fr; } }

/* Next-step band */
.ask { display: inline-flex; align-items: center; gap: 16px; padding: 12px 12px 12px 28px; border-radius: 999px; }
.ask-label { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint-ink); }
.ask-arrow { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--navy); stroke: #fff; stroke-width: 2.2; flex: none; }
@media (max-width: 560px) { .ask { border-radius: 24px; flex-wrap: wrap; padding: 16px 20px; } .ask-arrow { display: none; } }

@media (max-width: 900px) { .phone { height: 480px; } }

/* ===== 6/10 live demo block ===== */
.demo { margin-top: clamp(20px, 3.5vh, 40px); background: var(--navy); border-radius: 28px; padding: clamp(24px, 3vw, 40px) clamp(28px, 3.5vw, 48px); display: grid; grid-template-columns: minmax(220px, 0.9fr) 2fr; gap: clamp(20px, 3vw, 48px); align-items: center; }
.demo-head h3 { margin-top: 8px; color: #fff; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.2; letter-spacing: -0.02em; }
.demo-steps li { color: #e8edf8; font-size: 15.5px; line-height: 1.45; }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } }

/* ===== 8/10 animated architecture ===== */
.arch-grid.arch-live { grid-template-columns: minmax(0, 2.1fr) minmax(270px, 0.9fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.arch-stage { background: var(--surface); border-radius: 28px; padding: clamp(8px, 1.4vw, 18px); display: grid; place-items: center; }
.arch-svg { display: block; width: 100%; height: auto; max-height: calc(100vh - 290px); }
.arch-svg .link { fill: none; stroke: #c6d0e4; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.arch-svg .node { transition: opacity 0.4s var(--ease); }
.arch-svg .node circle { fill: #fff; stroke: #c6d0e4; stroke-width: 2; transition: stroke 0.3s, fill 0.3s; }
.arch-svg .node.dash circle { fill: #eef3f8; stroke-dasharray: 4 4; }
.arch-svg .ring { fill: none !important; stroke: var(--sky) !important; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.arch-svg .engine circle:not(.ring) { fill: var(--navy); }
.arch-svg text { text-anchor: middle; font-family: var(--font); }
.arch-svg .t-b { font-size: 21px; font-weight: 800; fill: var(--navy); }
.arch-svg .t-s { font-size: 15px; font-weight: 600; fill: var(--muted); }
.arch-svg .t-e { font-size: 16px; font-weight: 800; letter-spacing: 0.03em; fill: #fff; }
.arch-svg .t-es { font-size: 15px; font-weight: 600; fill: var(--soft); }
@keyframes flow { to { stroke-dashoffset: -32; } }
@keyframes ring { from { opacity: 0.8; transform: scale(0.92); } to { opacity: 0; transform: scale(1.22); } }
.arch-live[data-step="1"] .link.s1 { stroke: var(--sky); stroke-dasharray: 7 9; animation: flow 0.7s linear infinite; }
.arch-live[data-step="1"] .node.s1 circle:not(.ring) { stroke: var(--sky); stroke-width: 3; }
.arch-live[data-step="1"] .node.dash.s1 circle { fill: var(--mint); stroke: var(--mint-ink); }
.arch-live[data-step="1"] .s1 .ring { animation: ring 1.6s ease-out infinite; }
.arch-live[data-step="1"] .node:not(.s1) { opacity: 0.6; }
.arch-live[data-step="2"] .link.s2 { stroke: var(--sky); stroke-dasharray: 7 9; animation: flow 0.7s linear infinite; }
.arch-live[data-step="2"] .node.s2 circle:not(.ring) { stroke: var(--sky); stroke-width: 3; }
.arch-live[data-step="2"] .node.dash.s2 circle { fill: var(--mint); stroke: var(--mint-ink); }
.arch-live[data-step="2"] .s2 .ring { animation: ring 1.6s ease-out infinite; }
.arch-live[data-step="2"] .node:not(.s2) { opacity: 0.6; }
.arch-live[data-step="3"] .link.s3 { stroke: var(--sky); stroke-dasharray: 7 9; animation: flow 0.7s linear infinite; }
.arch-live[data-step="3"] .node.s3 circle:not(.ring) { stroke: var(--sky); stroke-width: 3; }
.arch-live[data-step="3"] .node.dash.s3 circle { fill: var(--mint); stroke: var(--mint-ink); }
.arch-live[data-step="3"] .s3 .ring { animation: ring 1.6s ease-out infinite; }
.arch-live[data-step="3"] .node:not(.s3) { opacity: 0.6; }
.arch-live[data-step="4"] .link.s4 { stroke: var(--sky); stroke-dasharray: 7 9; animation: flow 0.7s linear infinite; }
.arch-live[data-step="4"] .node.s4 circle:not(.ring) { stroke: var(--sky); stroke-width: 3; }
.arch-live[data-step="4"] .node.dash.s4 circle { fill: var(--mint); stroke: var(--mint-ink); }
.arch-live[data-step="4"] .s4 .ring { animation: ring 1.6s ease-out infinite; }
.arch-live[data-step="4"] .node:not(.s4) { opacity: 0.6; }
.arch-side { display: grid; align-content: center; gap: 14px; }
.arch-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.arch-steps button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; row-gap: 4px; align-items: center; padding: 10px 14px; border-radius: 16px; transition: background 0.25s; }
.arch-steps button:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.arch-steps .n { width: 28px; height: 28px; border-radius: 50%; background: var(--surface); color: var(--navy); font-size: 13px; font-weight: 800; display: grid; place-items: center; transition: background 0.25s, color 0.25s; }
.arch-steps strong { font-size: 16px; line-height: 1.3; color: var(--navy); }
.arch-steps .p { grid-column: 2; font-size: 14.5px; line-height: 1.45; color: var(--ink); display: none; }
.arch-steps li.on button { background: var(--surface); }
.arch-steps li.on .n { background: var(--navy); color: #fff; }
.arch-steps li.on .p { display: block; }
.arch-steps li:not(.on) button:hover { background: #f7f9fb; }
.pdf-link { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--navy); font-size: 15px; font-weight: 700; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.pdf-link:hover { border-color: var(--navy); background: #f7f9fb; }
.pdf-link svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .arch-grid.arch-live { grid-template-columns: 1fr; } .arch-svg { max-height: none; } .arch-steps .p { display: block; } }
@media (prefers-reduced-motion: reduce) { .arch-svg .link, .arch-svg .ring { animation: none !important; } }

.arch-svg .t-d { font-size: 13px; font-weight: 700; fill: var(--navy); }

/* Fit slides 6 and 7 on short screens */
#s6 .vid { max-width: calc((100vh - 400px) * 1.78); margin-left: auto; }
.rules > div { padding: clamp(8px, 1.5vh, 16px) 0; }
.rules dd { font-size: clamp(15px, 1.15vw, 17px); }
@media (max-height: 820px) and (min-width: 901px) {
  .demo { padding: 20px 36px; }
  .demo-head h3 { font-size: 20px; }
  .demo-steps li { font-size: 14.5px; }
  .rules dt { font-size: 19px; }
}
@media (max-width: 900px) { #s6 .vid { max-width: none; } }
