/* NextGen landing — home page. Tokens from the brand kit (colour/nextgen-palette.css). */

/* Arial, scaled to Onest's metrics, so the swap doesn't shift the layout. */
@font-face { font-family: "Onest Fallback"; src: local("Arial"); size-adjust: 103%; ascent-override: 94%; descent-override: 24%; line-gap-override: 0%; }
/* Self-hosted faces (Latin subsets, variable weight; OFL — see assets/fonts/). The unicode-range is
   Google Fonts' "latin" range, so anything outside it falls back instead of drawing a blank. */
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin.woff2") format("woff2"); font-weight: 300 800; 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; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-latin.woff2") format("woff2"); font-weight: 400 500; 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; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-latin.woff2") format("woff2"); font-weight: 400 800; 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; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin.woff2") format("woff2"); font-weight: 100 900; 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; }

:root {
  --ink: #0B0D10;
  --ink-2: #14171C;
  --ink-3: #1B1F26;
  --paper: #F5F6F7;
  --paper-2: #E7EAED;
  --glacial: #D8DEE6;
  --slate: #8A9099;
  --slate-dim: #5C626B;
  --live: #8FD9B6;      /* the one accent: live and AI only */
  --live-ink: #1F5C44;  /* live on paper, for text */
  --alert: #D9A3A3;
  --line-dark: rgba(216, 222, 230, .14);
  --line-light: rgba(11, 13, 16, .12);

  --display: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --brand: "Montserrat", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --onest: "Onest", "Onest Fallback", system-ui, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --btn-radius: 10px;
  --wrap: 1200px;
  --gutter: 24px;
  --sec-pad: clamp(72px, 10vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 64px; }
body { overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--display); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.035em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(42px, 6vw, 80px); font-weight: 700; }
h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 650; max-width: 18ch; }
h3 { font-size: 24px; font-weight: 650; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--live); color: var(--ink); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--live); outline-offset: 3px; border-radius: 4px; }

.m { color: var(--slate); font-size: .9em; }
.eyebrow { font-family: var(--brand); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--slate-dim); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.dark .eyebrow { color: var(--slate); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--slate-dim); max-width: 60ch; margin-top: 20px; }
.dark .lede { color: #B9BEC5; }
.big { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; font-weight: 500; max-width: 34ch; margin-top: 48px; }
.big em { font-style: normal; border-bottom: 2px solid var(--ink); }
.micro { font-family: var(--mono); font-size: 12px; color: var(--slate); margin-top: 14px; letter-spacing: .02em; }
.soon { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-dim); border: 1px solid currentColor; border-radius: 4px; padding: 1px 5px; margin-left: 8px; vertical-align: 2px; opacity: .85; white-space: nowrap; }
.dark .soon { color: var(--slate); }

/* sections */
.sec { padding: var(--sec-pad) 0; position: relative; }
.light { background: var(--paper); color: var(--ink); }
.paper2 { background: var(--paper-2); color: var(--ink); }
.dark { background: var(--ink); color: var(--paper); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: var(--btn-radius); font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-light { background: var(--paper); color: var(--ink); }
.light .btn-light, .paper2 .btn-light { background: var(--ink); color: var(--paper); }
.btn-ghost { border-color: var(--line-dark); color: var(--paper); }
.btn-ghost:hover { border-color: var(--glacial); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-ghost-ink { border-color: var(--line-light); color: var(--ink); }
.btn-ghost-ink:hover { border-color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lnk { text-decoration: none; color: var(--glacial); }
.lnk:hover { color: var(--paper); }

/* chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip { font-family: var(--mono); font-size: 12px; padding: 5px 10px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--glacial); }
.ai-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .04em; color: var(--ink); background: var(--live); border-radius: 999px; padding: 3px 9px; }
.ai-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); opacity: .7; }
.ok-chip { font-family: var(--mono); font-size: 11px; color: var(--ink); background: var(--live); border-radius: 999px; padding: 2px 8px; margin-left: 8px; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--live); margin-left: 6px; box-shadow: 0 0 0 0 rgba(143, 217, 182, .6); animation: livePulse 2s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(143,217,182,.55); } 70% { box-shadow: 0 0 0 8px rgba(143,217,182,0); } 100% { box-shadow: 0 0 0 0 rgba(143,217,182,0); } }

/* site.js marks sections that are off screen: their looping animations pause until they are back */
.offscreen, .offscreen *, .offscreen *::before, .offscreen *::after { animation-play-state: paused !important; }

/* header: plain black, Product and Solutions open one large drawer underneath */
.hdr { position: sticky; top: 0; z-index: 50; background: #000; border-bottom: 1px solid var(--line-dark); color: var(--paper); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); flex: none; }
.logo svg { width: 30px; height: auto; fill: currentColor; }
/* The brand-kit wordmark (NEXTGEN™ over SALES SOFTWARE) as live Montserrat, so the small line is
   hinted text instead of a shrunk outline. Proportions are the kit's (nextgen-business
   tools/brand_kit/build.py): NEXTGEN 700 at +.06em; the second line 500 at .34x, tracked .47em to
   NEXTGEN's ink width; .28em between them. Line-height .7 makes each line box its cap height. The
   font size is set on .logo-word; the lockup is 1.22x it tall. */
.logo-word { display: inline-flex; flex-direction: column; align-items: flex-start; font-family: var(--brand); font-size: 23.4px; font-kerning: none; font-synthesis: none; text-transform: uppercase; white-space: nowrap; color: inherit; }
.lw-n { position: relative; font-weight: 700; line-height: .7; letter-spacing: .06em; margin: 0 -.06em .28em 0; }
.lw-tm { position: absolute; top: 0; left: calc(100% - .034em / .3); font-size: .3em; font-weight: 500; line-height: .7; letter-spacing: 0; }
.lw-s { font-size: .34em; font-weight: 500; line-height: .7; letter-spacing: .47em; margin: 0 -.47em 0 .2em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-btn, .nav-a, .hdr-cta .lnk { font-family: var(--onest); text-transform: uppercase; font-size: 12.5px; font-weight: 500; letter-spacing: .08em; }
.nav-btn, .nav-a { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--glacial); white-space: nowrap; transition: color .2s, background .2s; }
.nav-btn:hover, .nav-a:hover, .nav-btn[aria-expanded="true"] { color: var(--paper); background: rgba(255,255,255,.06); }
.chev { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease); }
.nav-btn[aria-expanded="true"] .chev { transform: translateY(1px) rotate(-135deg); }
.hdr-cta { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.hdr-cta .lnk { white-space: nowrap; }
.btn-white, .light .btn-white, .paper2 .btn-white { background: #fff; color: #000; }
.btn-white:hover { background: var(--paper-2); }
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 10px; background: none; place-content: center; gap: 6px; }
.menu-btn i { display: block; width: 16px; height: 1.5px; background: var(--paper); transition: transform .25s var(--ease); }
.menu-btn[aria-expanded="true"] i:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.drawer { position: absolute; left: 0; right: 0; top: 100%; background: #000; border-bottom: 1px solid var(--line-dark); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); animation: drawerIn .28s var(--ease); }
@keyframes drawerIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.drawer-in { padding-top: 40px; padding-bottom: 48px; }
/* each drawer: titled groups of links, and a featured card with a drawing */
.dr-col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: stretch; min-height: 340px; }
.drawer[data-open="product"] [data-pane]:not([data-pane="product"]), .drawer[data-open="solutions"] [data-pane]:not([data-pane="solutions"]), .drawer[data-open="offers"] [data-pane]:not([data-pane="offers"]) { display: none; }
.dr-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-content: start; }
.dr-gh { font-family: var(--onest); text-transform: uppercase; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; color: var(--slate); padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line-dark); }
.dr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dr-list a { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 11px 12px; margin: 0 -12px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.dr-list a:hover, .dr-list a:focus-visible { background: rgba(255, 255, 255, .06); }
.dr-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; transition: transform .3s var(--ease);
  color: var(--dc, var(--live)); background: color-mix(in srgb, var(--dc, var(--live)) 13%, transparent); border: 1px solid color-mix(in srgb, var(--dc, var(--live)) 30%, transparent); }
/* each drawer category has its own icon colour */
[data-pane="product"] .dr-group:nth-child(1) { --dc: #8FD9B6; }
[data-pane="product"] .dr-group:nth-child(2) { --dc: #B39BFF; }
[data-pane="product"] .dr-group:nth-child(3) { --dc: #7AC4F2; }
[data-pane="offers"] .dr-group:nth-child(1) { --dc: #8FD9B6; }
[data-pane="offers"] .dr-group:nth-child(2) { --dc: #7AC4F2; }
[data-pane="offers"] .dr-group:nth-child(3) { --dc: #F2B36A; }
[data-pane="solutions"] .dr-group:nth-child(1) { --dc: #F2B36A; }
[data-pane="solutions"] .dr-group:nth-child(2) { --dc: #E8D27A; }
[data-pane="solutions"] .dr-group:nth-child(3) { --dc: #F28AA8; }
.dr-group .dr-gh { border-bottom-color: color-mix(in srgb, var(--dc) 35%, transparent); }
.dr-ic .ic { width: 19px; height: 19px; }
.dr-list a:hover .dr-ic { transform: rotate(-6deg); }
.dr-tx { display: grid; gap: 2px; }
.dr-tx b { font-size: 15.5px; font-weight: 600; }
.dr-tx > span { font-size: 13.5px; color: var(--slate); line-height: 1.4; }
.dr-feature { display: grid; gap: 6px; align-content: start; border-radius: 18px; overflow: hidden; text-decoration: none; background: var(--ink-2); border: 1px solid var(--line-dark); padding: 0 22px 22px; transition: border-color .2s, transform .3s var(--ease); }
.dr-feature:hover { border-color: rgba(143, 217, 182, .5); transform: translateY(-2px); }
.dr-feature .art { margin: 0 -22px 12px; padding: 14px 0; }
.dr-fk { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--live); }
.dr-feature b { font-size: 19px; font-weight: 650; letter-spacing: -.02em; }
.dr-feature > span:not(.dr-fk):not(.dr-go) { font-size: 14px; color: var(--slate); line-height: 1.45; }
.dr-go { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--paper); }
/* Phones: Log in and Pricing are the first thing in the menu, above the Product and Solutions lists. */
.dr-mobile { display: none; gap: 10px; }
.dr-mobile a { flex: 1; text-align: center; padding: 12px; border: 1px solid var(--line-dark); border-radius: 10px; text-decoration: none; font-family: var(--onest); text-transform: uppercase; font-size: 12.5px; letter-spacing: .08em; }
.dr-mobile .dr-login { background: var(--paper); border-color: var(--paper); color: var(--ink); font-weight: 600; }
/* One button opens the drawer on its own column: the other column dims. */

/* hero: full-bleed black over the particle wave; copy on the left, the desk floating on the right */
.hero { position: relative; overflow: hidden; isolation: isolate; background: #000; color: var(--paper); min-height: min(860px, calc(100vh - 64px)); display: flex; align-items: center; padding: clamp(56px, 8vw, 112px) 0; }
.hero-in { position: relative; width: 100%; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: -1; pointer-events: none; background: #000; }
/* keeps the copy readable over the wave without hiding it */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 60% 80% at 22% 50%, rgba(0,0,0,.78), rgba(0,0,0,0) 70%), linear-gradient(180deg, rgba(0,0,0,0) 70%, #000 100%); }
.showcase .frame-bar .tabs { flex-wrap: nowrap; }
.showcase .frame-bar [role="tab"] { white-space: nowrap; }
.showcase .sample { display: none; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy h1 { font-family: var(--onest); text-transform: uppercase; font-size: clamp(40px, 5vw, 76px); line-height: .96; letter-spacing: -.03em; font-weight: 800; max-width: 11ch;
  background: linear-gradient(180deg, #fff 30%, #A9B1BC 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* home only: the headline is a negative of whatever moves behind it (the wave, the call flows) */
.hero:not(.phero) .hero-copy h1 { background: none; color: #fff; -webkit-text-fill-color: #fff; mix-blend-mode: difference; }
.hero-lede { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; margin-top: 30px; padding-left: 2px; }
.hero-lede .gt { font-family: var(--onest); font-weight: 300; font-size: 72px; line-height: .8; color: var(--live); }
.hero-lede p { font-size: clamp(17px, 1.4vw, 19px); color: #B9BEC5; max-width: 44ch; }
.hero-copy .micro { color: var(--slate); }
.hero-copy .micro a { color: var(--glacial); }
.hero .btn-light { background: #fff; color: #000; }
.showcase { position: relative; perspective: 1800px; }
.showcase::before { content: ""; position: absolute; inset: 10% -6% -8% 6%; z-index: -1; background: radial-gradient(closest-side, rgba(143,217,182,.22), rgba(143,217,182,0)); filter: blur(30px); }
.showcase .frame { transform: rotateY(-9deg) rotateX(4deg); transform-origin: left center; transition: transform .8s var(--ease); box-shadow: 0 50px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.04) inset; }
.showcase:hover .frame { transform: none; }
.hero-text > * { animation: heroIn .9s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .12s; } .hero-text > :nth-child(3) { animation-delay: .24s; } .hero-text > :nth-child(4) { animation-delay: .32s; }
.showcase { animation: heroIn 1.1s var(--ease) .2s both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* frame (app window) */
.frame { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); box-shadow: 0 30px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02) inset; overflow: hidden; color: var(--paper); }
.light .frame, .paper2 .frame { box-shadow: 0 30px 60px -30px rgba(11,13,16,.45); }
.frame-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line-dark); background: var(--ink-3); min-height: 46px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #2A2F37; display: block; }
.sample { margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-dim); }
.six-title { font-family: var(--mono); font-size: 12px; color: var(--slate); }
.frame-body { padding: 18px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs [role="tab"] { background: none; border: 1px solid transparent; border-radius: 7px; padding: 6px 12px; font-size: 13px; color: var(--slate); transition: background .2s, color .2s, border-color .2s; }
.tabs [role="tab"]:hover { color: var(--paper); }
.tabs [role="tab"][aria-selected="true"] { background: var(--ink-2); color: var(--paper); border-color: var(--line-dark); }
.panel { animation: fadeIn .25s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.card { background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: var(--radius-sm); padding: 14px; }
.k { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); margin-bottom: 10px; display: flex; align-items: center; }
.v { font-size: 18px; font-weight: 600; }
dl { margin: 10px 0 0; display: grid; gap: 8px; }
dl div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: 13px; }
dt { color: var(--slate); font-family: var(--mono); font-size: 11px; padding-top: 2px; }
dd { margin: 0; }

.desk { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.desk .transcript { grid-column: 1 / -1; font-size: 13px; }
.desk .transcript p { margin: 4px 0; }
.desk .transcript b, .s-trans b { font-family: var(--mono); font-size: 11px; color: var(--slate); font-weight: 500; margin-right: 8px; }
.say { font-size: 16px; line-height: 1.4; }
.pivots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pivots span { font-size: 12px; border: 1px solid var(--line-dark); border-radius: 999px; padding: 4px 10px; color: var(--glacial); }
.pivots .gap { border-style: dashed; color: var(--slate); }

.wf-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.wf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wf-list li { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; }
.wf-list li:first-child { border-color: rgba(143, 217, 182, .45); }
.rank { font-family: var(--mono); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-2); border: 1px solid var(--line-dark); font-size: 12px; }
.wf-list li:first-child .rank { background: var(--live); color: var(--ink); border-color: transparent; }
.comp { font-family: var(--mono); font-size: 11px; color: var(--slate); }
.wf-list li:first-child .comp { color: var(--live); }
.wf-foot { margin-top: 12px; font-size: 12px; }

.own { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.floor { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.floor li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.st { width: 8px; height: 8px; border-radius: 50%; background: var(--slate-dim); }
.st.on { background: var(--live); }
.st.rdy { background: var(--glacial); }
.acts { display: flex; gap: 4px; margin-left: auto; }
.acts i { font-style: normal; font-family: var(--mono); font-size: 10px; border: 1px solid var(--line-dark); border-radius: 5px; padding: 2px 6px; color: var(--glacial); }
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13px; }
.board li { display: grid; grid-template-columns: 64px 1fr 72px; gap: 10px; align-items: center; }
.board .bar { height: 6px; border-radius: 3px; background: var(--ink-2); position: relative; overflow: hidden; }
.board .bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--glacial); border-radius: 3px; }
.board li:first-child .bar::after { background: var(--live); }
.board .n { font-family: var(--mono); font-size: 12px; text-align: right; }

/* problem: five tools become one desk. On desktop it holds in place while scrolling joins them. */
.problem { position: relative; }
.problem-pin { padding: var(--sec-pad) 0; }
@media (min-width: 961px) and (min-height: 700px) {
  .problem { height: 300vh; }
  .problem-pin { position: sticky; top: 64px; height: calc(100vh - 64px); padding: 0; display: flex; flex-direction: column; justify-content: center; }
  .problem .unify { margin-top: 36px; }
  .problem .big { margin-top: 32px; }
}
.problem.is-done { height: auto; }
.problem.is-done .problem-pin { position: static; height: auto; padding: var(--sec-pad) 0; }

/* "Keep scrolling" while a section is holding the page: a mint pill and a bouncing arrow, fixed at
   the bottom of the screen. While a step is still playing it reads "Watch this step" over a filling bar. */
.keep-scrolling { position: fixed; left: 50%; bottom: 20px; z-index: 40; display: grid; justify-items: center; gap: 6px; pointer-events: none;
  opacity: 0; transform: translate(-50%, 14px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.keep-scrolling.show { opacity: 1; transform: translate(-50%, 0); }
.ks-pill { position: relative; overflow: hidden; display: grid; place-items: center; background: var(--live); color: var(--ink); border-radius: 999px; padding: 11px 22px;
  font-family: var(--onest); text-transform: uppercase; font-size: 14px; font-weight: 800; letter-spacing: .14em; white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(143, 217, 182, .6), 0 14px 34px -10px rgba(0, 0, 0, .55); animation: ksPulse 1.8s var(--ease) infinite; }
.ks-pill > span { grid-area: 1 / 1; transition: opacity .25s; }
.ks-wait { opacity: 0; }
.keep-scrolling.waiting .ks-go { opacity: 0; }
.keep-scrolling.waiting .ks-wait { opacity: 1; }
.keep-scrolling.waiting .ks-pill { background: var(--ink); color: var(--paper); animation: none; box-shadow: 0 0 0 1px rgba(143, 217, 182, .5), 0 14px 34px -10px rgba(0, 0, 0, .55); }
.ks-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--live); transform: scaleX(0); transform-origin: left; }
.keep-scrolling.waiting .ks-bar { animation: ksFill var(--wait, 1s) linear forwards; }
@keyframes ksFill { to { transform: scaleX(1); } }
@keyframes ksPulse { 0% { box-shadow: 0 0 0 0 rgba(143, 217, 182, .55), 0 14px 34px -10px rgba(0, 0, 0, .55); } 70% { box-shadow: 0 0 0 14px rgba(143, 217, 182, 0), 0 14px 34px -10px rgba(0, 0, 0, .55); } 100% { box-shadow: 0 0 0 0 rgba(143, 217, 182, 0), 0 14px 34px -10px rgba(0, 0, 0, .55); } }
.keep-scrolling svg { width: 24px; height: 34px; color: var(--live); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); animation: keepDown 1.2s var(--ease) infinite; transition: opacity .25s; }
.keep-scrolling.waiting svg { opacity: .25; animation-play-state: paused; }
@keyframes keepDown { 0% { transform: translateY(-6px); opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(8px); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }

/* the progress rail: a vertical track on the left while a section holds the page */
.ks-rail { position: fixed; left: max(12px, calc(50% - 600px - 10px)); top: 50%; z-index: 40; width: 4px; height: 38vh; border-radius: 4px; background: rgba(138, 144, 153, .35); pointer-events: none;
  opacity: 0; transform: translate(-8px, -50%); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.ks-rail.show { opacity: 1; transform: translate(0, -50%); }
.ks-fill { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--p, 0) * 100%); border-radius: 4px; background: var(--live); box-shadow: 0 0 10px rgba(143, 217, 182, .6); }
.ks-tick { position: absolute; left: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #2A2F37; border: 2px solid rgba(138, 144, 153, .8); transition: background .25s, border-color .25s; }
.ks-tick.past { background: var(--live); border-color: var(--live); }
.ks-rail.on-light { background: rgba(11, 13, 16, .14); }
.ks-rail.on-light .ks-fill { background: var(--ink); box-shadow: none; }
.ks-rail.on-light .ks-tick { background: var(--paper); border-color: rgba(11, 13, 16, .35); }
.ks-rail.on-light .ks-tick.past { background: var(--ink); border-color: var(--ink); }

/* six clicks: a timer bar under the playing step, so you know to watch it through */
.six-steps li { position: relative; }
.six-steps li::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--live); transform: scaleX(0); transform-origin: left; opacity: 0; }
.six-steps li.timing::after { opacity: .9; animation: ksFill var(--dur, 1s) linear forwards; }
.unify { margin-top: 48px; }
.tools { list-style: none; margin: 0 0 0; padding: 0; display: grid; transition: margin-bottom 1.1s cubic-bezier(.22, 1, .36, 1); grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.tool { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); padding: 16px; display: grid; gap: 4px; align-content: start;
  box-shadow: 0 1px 0 rgba(11,13,16,.04), 0 18px 36px -22px rgba(11,13,16,.45);
  transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--r, 0deg));
  transition: transform 1.1s cubic-bezier(.22, 1, .36, 1) calc(var(--i) * 70ms), box-shadow .6s;
  will-change: transform; }
.tool b { font-size: 15px; }
/* Card illustrations (src/art; the recipe is in .claude/skills/card-illustration). A drawing sits in a
   panel across the top of its card. Its parts carry role classes, and these variables theme them. */
.art { display: block; overflow: hidden; border-bottom: 1px solid var(--line-light);
  --a-ink: #0B0D10; --a-surf: #fff; --a-mint: #8FD9B6; --a-dim: #C9CED5; --a-soft: #E7EAED; --a-grey: #8A9099; --a-text2: #5C626B; --a-alert: #C77F7F;
  background: radial-gradient(rgba(11, 13, 16, .08) 1px, transparent 1.2px) 0 0 / 12px 12px, var(--paper); }
.dark .art, .art.on-dark, .drawer .art { border-bottom-color: var(--line-dark);
  --a-ink: #D8DEE6; --a-surf: #1B1F26; --a-dim: #3A4049; --a-soft: #2A2F37; --a-grey: #5C626B; --a-text2: #8A9099;
  background: radial-gradient(rgba(216, 222, 230, .07) 1px, transparent 1.2px) 0 0 / 12px 12px, #101318; }
.art svg { display: block; width: 100%; height: auto; max-height: 84px; }
.art .ln { stroke: var(--a-ink); }
.art .f { fill: var(--a-surf); }
.art .g { stroke: var(--a-dim); }
.art .ms { stroke: var(--a-mint); }
.art .ik { stroke: #0B0D10; }
.art .a-s { stroke: var(--a-alert); }
.art .m { fill: var(--a-mint); stroke: none; }
.art .i { fill: var(--a-ink); stroke: none; }
.art .s { fill: var(--a-soft); stroke: none; }
.art .d { fill: var(--a-grey); stroke: none; }
.art text { stroke: none; font-family: var(--mono); }
.art .t { fill: var(--a-ink); font-size: 9px; font-weight: 600; }
.art .t.big { font-size: 13px; }
.art .t2 { fill: var(--a-text2); font-size: 8px; }
.art .tw { fill: var(--a-surf); font-size: 9px; }
.art .tk { fill: #0B0D10; font-size: 8.5px; font-weight: 600; letter-spacing: .06em; }
.art .tm { fill: var(--a-mint); font-size: 8px; font-weight: 600; letter-spacing: .06em; }
.art .ta { fill: var(--a-alert); font-size: 8px; font-weight: 600; }
/* where they sit */
.tool .art { margin: -16px -16px 10px; border-radius: var(--radius) var(--radius) 0 0; }
.rules li.has-art { padding-top: 0; overflow: hidden; }
.rules li.has-art .art { margin: 0 -22px 6px; padding: 12px 0; }
.rules li.has-art .art svg { max-height: 100px; }
.mini-cards li.has-art, .note-card.has-art { padding-top: 0; overflow: hidden; }
.mini-cards li.has-art .art { margin: 0 -22px 10px; padding: 8px 0; }
.note-card.has-art .art { margin: 0 -22px 14px; padding: 8px 0; }
.mini-cards li.has-art .art svg, .note-card.has-art .art svg { max-height: 96px; }
.unify { position: relative; }
.tangle { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; transition: opacity .5s; }
.tangle path { fill: none; stroke: var(--alert); stroke-width: 1.5; stroke-dasharray: 5 5; animation: dash 1.2s linear infinite; }
.tangle .head { fill: var(--alert); }
.tangle text { font-family: var(--mono); font-size: 11px; fill: #9B5A5A; paint-order: stroke; stroke: var(--paper); stroke-width: 4px; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.unify.joined .tangle { opacity: 0; }
.tool .cost { font-family: var(--mono); font-size: 12px; color: var(--slate-dim); }
.tool .becomes { font-size: 13px; font-weight: 600; color: var(--live-ink); background: rgba(143, 217, 182, .28); border-radius: 6px; padding: 0 8px; margin-top: 8px;
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease) calc(.9s + var(--i) * 90ms), opacity .4s calc(.9s + var(--i) * 90ms), padding .5s calc(.9s + var(--i) * 90ms); }
.tool .becomes::before { content: "→ "; }
.tools .tool:nth-child(1) { --x: 30px; --y: 70px; --r: -9deg; }
.tools .tool:nth-child(2) { --x: -40px; --y: -10px; --r: 7deg; }
.tools .tool:nth-child(3) { --x: -70px; --y: 96px; --r: -4deg; }
.tools .tool:nth-child(4) { --x: -110px; --y: 6px; --r: 10deg; }
.tools .tool:nth-child(5) { --x: -150px; --y: 84px; --r: -7deg; }
.unify:not(.joined) .tools { margin-bottom: 84px; }
.unify.joined .tool { --x: 0; --y: 0; --r: 0deg; }
.unify.joined .tool .becomes { max-height: 60px; opacity: 1; padding: 6px 8px; }
.links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; height: 44px; }
.links i { justify-self: center; width: 2px; height: 100%; position: relative; background-image: linear-gradient(var(--slate) 50%, transparent 50%); background-size: 2px 6px;
  transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease) 1.5s; }
.links i:nth-child(2) { transition-delay: 1.57s; } .links i:nth-child(3) { transition-delay: 1.64s; } .links i:nth-child(4) { transition-delay: 1.71s; } .links i:nth-child(5) { transition-delay: 1.78s; }
.links i::after { content: ""; position: absolute; left: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--live-ink); opacity: 0; }
.unify.joined .links i { transform: scaleY(1); }
.unify.joined .links i::after { animation: drop 1.6s linear 2.3s infinite; }
.one { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 18px 22px; opacity: .35; transition: opacity .6s 1.6s; }
.one svg { width: 28px; fill: currentColor; flex: none; }
.one b { font-size: 18px; }
.one span { color: var(--slate); font-size: 15px; }
.unify.joined .one { opacity: 1; }
.state-chip { margin-left: auto; font-family: var(--mono); font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.state-chip.bad { background: rgba(217, 163, 163, .2); color: var(--alert); }
.state-chip.good { background: var(--live); color: var(--ink) !important; display: none; }
.unify.joined .state-chip.bad { display: none; }
.unify.joined .state-chip.good { display: inline-block; }

/* six clicks */
.six .lede { margin-bottom: 56px; }
.six-head { position: relative; z-index: 3; background: var(--ink); }
.six-head > .wrap { width: 100%; }
.six-head .eyebrow { margin-bottom: 14px; }
.six-track { position: relative; }
.six-stage { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 48px; align-items: start; }
.six-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.six-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px; border-radius: var(--radius-sm); border: 1px solid transparent; opacity: .45; transition: opacity .35s, border-color .35s, background .35s; }
.six-steps li.on { opacity: 1; border-color: var(--line-dark); background: var(--ink-2); }
.six-steps li.done { opacity: .75; }
.six-steps .n { font-family: var(--mono); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); font-size: 13px; }
.six-steps li.on .n { background: var(--live); color: var(--ink); border-color: transparent; }
.six-steps li.done .n { border-color: var(--live); color: var(--live); }
.six-steps b { font-size: 18px; font-weight: 650; }
.six-steps b i { font-style: normal; font-family: var(--mono); font-size: 15px; font-weight: 500; }
.six-steps p { color: #B9BEC5; font-size: 15px; margin-top: 4px; }
.six-screen { position: relative; }
.six-body { display: grid; gap: 12px; min-height: 460px; align-content: start; }
.s-status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pill { font-family: var(--mono); font-size: 12px; border: 1px solid var(--line-dark); border-radius: 999px; padding: 5px 12px; color: var(--slate); transition: all .3s; }
.pill.ready { background: var(--live); color: var(--ink); border-color: transparent; }
.s-call { font-family: var(--mono); font-size: 12px; color: var(--glacial); opacity: 0; transition: opacity .3s; }
.s-call.show { opacity: 1; }
.s-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.s-lead dd { transition: color .3s, background .3s; border-radius: 4px; }
.s-lead dd.fill { color: var(--paper); background: rgba(143, 217, 182, .14); }
.s-lead dd.empty { color: var(--slate-dim); }
.lines { font-size: 13px; display: grid; gap: 4px; min-height: 120px; }
.lines p { animation: fadeIn .3s var(--ease); }
.s-proc { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--live); min-height: 24px; opacity: 0; transition: opacity .25s; }
.s-proc.show { opacity: 1; }
.spin { width: 14px; height: 14px; border: 2px solid rgba(143, 217, 182, .25); border-top-color: var(--live); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.s-wf ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13px; }
.s-wf li { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; padding: 8px 10px; border: 1px solid var(--line-dark); border-radius: 6px; }
.s-wf li:first-child { border-color: rgba(143, 217, 182, .5); }
.s-wf li .m { margin-left: auto; font-size: 12px; }
.s-wf li.pick { background: rgba(143, 217, 182, .12); }
.s-wf, .s-sold { display: none; }
.s-wf.show, .s-sold.show { display: block; animation: fadeIn .35s var(--ease); }
.s-sold dl { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.s-sold dl div { grid-template-columns: 1fr; gap: 2px; }
.six-markers { position: absolute; inset: 0; pointer-events: none; display: grid; grid-template-rows: repeat(6, 1fr); }
.six-end { margin-top: 48px; }

@media (min-width: 961px) {
  .six-track { height: 680vh; --six-head: 128px; }
  .six-head { position: sticky; top: 64px; height: var(--six-head); display: flex; align-items: flex-end; padding-bottom: 26px; }
  .six-stage { position: sticky; top: calc(64px + var(--six-head)); }
  .six.is-done .six-head { position: static; height: auto; padding-bottom: 0; }
  .six-steps li { padding: 12px 16px; }
  .six-steps li p { display: none; }
  .six-steps li.on p { display: block; animation: fadeIn .3s var(--ease); }
  .six.is-done .six-track { height: auto; }
  .six.is-done .six-stage { position: static; }
}
.six.is-done .six-steps li { cursor: pointer; }
.six.is-done .six-steps li:hover { opacity: 1; }
.six-hint { font-family: var(--mono); font-size: 12px; color: var(--slate); margin-top: 14px; display: none; }
.six.is-done .six-hint { display: block; }

/* campaigns */
.lanes { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; margin-top: 48px; align-items: stretch; }
.lane-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lane-list button { width: 100%; text-align: left; background: none; border: 1px solid transparent; border-radius: var(--radius-sm); padding: 14px 16px; position: relative; overflow: hidden; transition: background .25s, border-color .25s; }
.lane-list button b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 16px; font-weight: 650; }
.lane-list button span { display: none; color: var(--slate-dim); font-size: 14px; margin-top: 4px; }
.lane-list button[aria-selected="true"] { background: var(--paper-2); border-color: var(--line-light); }
.lane-list button[aria-selected="true"] span { display: block; }
.lane-list button:not([aria-selected="true"]) b { color: var(--slate-dim); }
.ppc { font-style: normal; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--live-ink); background: rgba(143, 217, 182, .35); border-radius: 4px; padding: 2px 6px; }
.dark .ppc, .frame .ppc, .mini-cards .ppc { margin-left: 4px; }
.dark .ppc, .frame .ppc { color: var(--live); background: rgba(143, 217, 182, .14); }
.prog { position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; background: var(--line-light); border-radius: 2px; display: none; }
.lane-list button[aria-selected="true"] .prog { display: block; }
.prog::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: var(--ink); border-radius: 2px; }
.lane-diagram { background: var(--ink); border-radius: var(--radius); padding: 28px; display: grid; place-items: center; min-height: 380px; color: var(--paper); background-image: radial-gradient(rgba(216,222,230,.08) 1px, transparent 1px); background-size: 18px 18px; }
.nodes { display: flex; flex-direction: column; align-items: center; gap: 0; width: 100%; max-width: 360px; }
.node-box { width: 100%; border: 1px solid var(--line-dark); background: var(--ink-2); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 14px; display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.node-box.in { opacity: 1; transform: none; }
.node-box .ic { font-family: var(--mono); font-size: 11px; color: var(--slate); min-width: 18px; }
.node-box.end { border-color: rgba(143, 217, 182, .55); }
.node-box.end .ic { color: var(--live); }
.node-box .m { margin-left: auto; font-size: 12px; }
.conn { width: 2px; height: 26px; position: relative; opacity: 0; transition: opacity .3s; background-image: linear-gradient(var(--slate-dim) 50%, transparent 50%); background-size: 2px 6px; }
.conn.in { opacity: 1; }
.conn::after { content: ""; position: absolute; left: -2px; top: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--live); animation: drop 1.4s linear infinite; }
@keyframes drop { from { top: -3px; opacity: 1; } to { top: 23px; opacity: .2; } }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.note-card { border: 1px solid var(--line-light); border-radius: var(--radius); padding: 22px; position: relative; overflow: hidden; background: var(--paper); }
.note-card b { font-size: 17px; }
.note-card p { color: var(--slate-dim); margin-top: 6px; font-size: 15px; }
.plus1 { position: absolute; right: 22px; top: 18px; font-family: var(--mono); font-weight: 500; color: var(--live-ink); background: rgba(143, 217, 182, .45); border-radius: 999px; padding: 2px 10px; animation: floatUp 3.2s var(--ease) infinite; }
@keyframes floatUp { 0% { transform: translateY(14px); opacity: 0; } 20% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateY(-10px); opacity: 0; } }

/* underwriting */
.uw { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.layers { display: grid; gap: 10px; }
.layer { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius-sm); padding: 16px 18px; }
.layer:nth-child(2) { margin-left: 22px; }
.layer:nth-child(3) { margin-left: 44px; }
.layer .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-dim); }
.layer b { font-weight: 600; font-size: 15px; }
.layer .m { font-size: 12px; }
.layer-out { display: flex; align-items: center; gap: 12px; margin: 10px 0 0 44px; }
.rv.from-left { transform: translateX(-70px); transition-duration: .7s, .9s; }
.rv.from-left.in { transform: none; }
.layer-out.rv .arrow { transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease) calc(var(--d, 0s) + .35s); }
.layer-out.rv.in .arrow { transform: none; }
.arrow { width: 40px; height: 2px; background: var(--ink); position: relative; flex: none; }
.arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--ink); border-right: 0; }

/* AI */
.ai-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; margin-top: 48px; align-items: start; }
.q-chips { display: grid; gap: 8px; margin: 10px 0 16px; }
.q-chips button { text-align: left; background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 14px; color: var(--glacial); transition: border-color .2s, color .2s; }
.q-chips button:hover, .q-chips button[aria-pressed="true"] { border-color: var(--live); color: var(--paper); }
.ask-input { display: flex; align-items: center; min-height: 44px; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 14px; color: var(--slate); background: var(--ink); }
.ask-input.typing { color: var(--paper); }
.caret { width: 2px; height: 16px; background: var(--live); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ask-out { min-height: 190px; margin-top: 14px; position: relative; }
.ans { display: none; }
.ans.show { display: block; animation: fadeIn .35s var(--ease); }
.ask-out.thinking::before { content: "Thinking…"; font-family: var(--mono); font-size: 12px; color: var(--live); }
.mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.mini li { display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; padding: 8px 10px; border: 1px solid var(--line-dark); border-radius: 6px; }
.mini li:first-child { border-color: rgba(143, 217, 182, .5); }
.mini .m { margin-left: auto; font-size: 12px; }
.bubble { background: linear-gradient(0deg, rgba(143,217,182,.10), rgba(143,217,182,.10)), var(--ink-3); border: 1px solid rgba(143, 217, 182, .45); border-radius: 12px 12px 12px 3px; padding: 14px; font-size: 14px; line-height: 1.5; }
.ai-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ai-list li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.ai-list li:first-child { padding-top: 0; }
.ai-list b { font-size: 17px; font-weight: 650; }
.ai-list b::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--live); margin-right: 10px; vertical-align: 3px; }
.ai-list span { color: #B9BEC5; font-size: 15px; padding-left: 16px; }

/* agent stories: the active tool's name, huge and half cut off behind the section */
.agents { position: relative; }
.agents-pin { position: relative; overflow: hidden; padding: var(--sec-pad) 0 calc(var(--sec-pad) + 120px); }
@media (min-width: 961px) {
  .agents { height: 420vh; }
  .agents-pin { position: sticky; top: 64px; height: calc(100vh - 64px); padding: 0; display: flex; flex-direction: column; justify-content: center; }
  .agents-pin .wrap { width: 100%; margin-top: -6vh; }
  .agents.is-done { height: auto; }
  .agents.is-done .agents-pin { position: relative; top: 0; }
}
.agents .wrap { position: relative; z-index: 1; }
.ghost { position: absolute; left: -.04em; bottom: -.38em; z-index: 0; pointer-events: none; user-select: none; white-space: nowrap;
  font-family: var(--display); font-weight: 800; font-stretch: 100%; letter-spacing: -.05em; line-height: 1;
  font-size: clamp(110px, 17vw, 270px); color: rgba(11, 13, 16, .07); text-shadow: 0 30px 60px rgba(11, 13, 16, .10); }
.ghost span { display: inline-block; transform: translateY(calc(var(--rise, 1) * 60%)); opacity: calc(1 - var(--rise, 1) * .8); transition: opacity .35s var(--ease); }
.ghost.swap span { opacity: 0; }
/* agent stories */
.stories { margin-top: 32px; position: relative; }
/* the arrow that points people at the next agent-tool tab */
.tab-nudge { position: absolute; top: -28px; z-index: 2; transform: translateX(-50%); display: block; width: 16px; height: 22px; pointer-events: none; color: var(--live-ink);
  animation: nudgeIn .4s var(--ease) both; }
.tab-nudge span { position: absolute; left: calc(100% + 8px); top: 3px; font-family: var(--onest); text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
.tab-nudge svg { display: block; width: 16px; height: 22px; animation: nudgeBob 1.1s var(--ease) infinite; }
@keyframes nudgeIn { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes nudgeBob { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
.tabs.alt [role="tab"].nudge { color: var(--ink); background: #fff; border-color: var(--live-ink); animation: tabGlow 1.6s var(--ease) infinite; }
@keyframes tabGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(143, 217, 182, 0); } 50% { box-shadow: 0 -2px 0 3px rgba(143, 217, 182, .55); } }
.tabs.alt { margin: 0; gap: 6px; flex-wrap: nowrap; position: relative; z-index: 0; }
.stories .frame { position: relative; z-index: 1; }
.tabs.alt [role="tab"] { flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; border-radius: 12px 12px 0 0; border: 1px solid var(--line-light); border-bottom: 0;
  background: var(--paper-2); color: var(--slate-dim); font-size: 14px; font-weight: 500; padding: 12px 10px 11px; position: relative; transition: background .2s, color .2s, transform .2s var(--ease); transform: translateY(3px); }
.tabs.alt [role="tab"]::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: var(--hl, 0%); background: var(--live); }
.tabs.alt [role="tab"]:hover { color: var(--ink); background: #fff; transform: none; }
.tabs.alt [role="tab"][aria-selected="true"], .tabs.alt [role="tab"][aria-selected="true"]:hover { background: var(--ink-2); color: var(--paper); border-color: var(--ink-2); transform: none; }
.stories .frame { border-top-left-radius: 0; border-top-right-radius: 0; }
@media (max-width: 960px) {
  .tabs.alt { overflow-x: auto; scrollbar-width: none; }
  .tabs.alt::-webkit-scrollbar { display: none; }
  .tabs.alt [role="tab"] { flex: 0 0 auto; overflow: visible; }
}
.st-body { min-height: 300px; }
.story { animation: fadeIn .3s var(--ease); display: grid; gap: 18px; }
.story > .m { font-size: 15px; color: #B9BEC5; max-width: 60ch; }
.tree { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tree .node { font-size: 13px; border: 1px solid var(--line-dark); border-radius: 6px; padding: 6px 10px; color: var(--slate); position: relative; }
.tree .node + .node::before { content: ""; position: absolute; left: -9px; top: 50%; width: 8px; height: 1px; background: var(--slate-dim); }
.tree .node.done { color: var(--glacial); }
.tree .node.now { border-color: var(--live); color: var(--paper); background: rgba(143, 217, 182, .1); }
.tree.small .node { font-size: 12px; }
.tree .node { transition: color .4s, border-color .4s, background .4s; }
.story .n-a { color: var(--glacial); }
.story .n-b { border-color: var(--live); color: var(--paper); background: rgba(143, 217, 182, .1); }
.story.s1 .n-a { border-color: var(--live); color: var(--paper); background: rgba(143, 217, 182, .1); }
.story.s1 .n-b { border-color: var(--line-dark); color: var(--slate); background: none; }
.swap2 { display: grid; }
.swap2 > * { grid-area: 1 / 1; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.swap2 .s-a { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.story.s1 .swap2 .s-a { opacity: 1; transform: none; pointer-events: auto; }
.story.s1 .swap2 .s-b { opacity: 0; transform: translateY(12px); }
.pivots .pick { border-color: var(--live); color: var(--paper); background: rgba(143, 217, 182, .12); }
.story.s1 .s-b .pick { border-color: var(--line-dark); background: none; color: var(--glacial); }
.work { display: none; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--live); margin-top: 6px; }
.story.s1 .work { display: inline-flex; }
.tree.grow .node { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.tree.grow .node:nth-child(2) { transition-delay: .08s; } .tree.grow .node:nth-child(3) { transition-delay: .16s; } .tree.grow .node:nth-child(4) { transition-delay: .24s; } .tree.grow .node:nth-child(5) { transition-delay: .32s; }
.story.s1 .tree.grow .node { opacity: 0; transform: translateX(-8px); transition-delay: 0s; }
.import .arrow { transition: transform .4s var(--ease); transform-origin: left; }
.story.s1 .import .arrow { transform: scaleX(0); }
.off-me { transition: opacity .4s; opacity: .55; }
.off-me .tg { background: #2A2F37; }
.off-me .tg::after { left: 3px; background: var(--slate); }
.story.s1 .off-me { opacity: 1; }
.story.s1 .off-me .tg { background: var(--live); }
.story.s1 .off-me .tg::after { left: 17px; background: var(--ink); }
.tg { transition: background .25s; }
.hid { transition: opacity .3s .2s; }
.story.s1 .hid { opacity: 0; }
.import { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.doc { border: 1px solid var(--line-dark); border-radius: 8px; padding: 14px; display: grid; gap: 2px; background: var(--ink-3); }
.import .arrow, .dark .arrow, .frame .arrow { background: var(--live); }
.import .arrow::after, .frame .arrow::after { border-left-color: var(--live); }
.carriers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 420px; }
.carriers li { display: flex; align-items: center; gap: 12px; font-size: 14px; border: 1px solid var(--line-dark); border-radius: 8px; padding: 10px 12px; }
.tg { width: 32px; height: 18px; border-radius: 999px; background: #2A2F37; position: relative; flex: none; }
.tg::after { content: ""; position: absolute; left: 3px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--slate); transition: left .2s; }
.tg.on { background: var(--live); }
.tg.on::after { left: 17px; background: var(--ink); }
.byod { display: grid; grid-template-columns: 1fr 160px; gap: 10px; min-height: 160px; }
.byod .other { border: 1px dashed var(--slate-dim); border-radius: 8px; display: grid; place-items: center; color: var(--slate); font-family: var(--mono); font-size: 12px; }
.byod .col { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.story.s1 .byod .col { opacity: 0; transform: translateX(24px); }
.byod .other { transition: background .4s; }
.byod .col { border: 1px solid var(--live); border-radius: 8px; padding: 10px; display: grid; gap: 6px; align-content: start; background: rgba(143, 217, 182, .06); }
.byod .col span { font-size: 12px; border: 1px solid var(--line-dark); border-radius: 6px; padding: 5px 8px; }
.popouts { position: relative; height: 170px; }
.pw { position: absolute; width: 220px; height: 110px; border: 1px solid var(--line-dark); border-radius: 8px; background: var(--ink-3); padding: 10px; font-size: 13px; left: 0; top: 0; box-shadow: 0 16px 30px -18px #000; }
.pw { transition: left .55s var(--ease), top .55s var(--ease), border-color .3s; }
.pw.two { left: 120px; top: 30px; }
.pw.three { left: 240px; top: 58px; border-color: var(--live); }
.story.s1 .pw.two, .story.s1 .pw.three { left: 8px; top: 8px; border-color: var(--line-dark); }
.upload { border: 1px solid var(--line-dark); border-radius: 8px; padding: 16px; display: grid; gap: 8px; max-width: 460px; }
.upload .bar { height: 6px; border-radius: 3px; background: var(--ink); position: relative; overflow: hidden; }
.upload .bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--live); transition: width 1s var(--ease); }
.story.s1 .upload .bar::after { width: 18%; }
.u-a { display: none; } .story.s1 .u-a { display: inline; color: var(--live); } .story.s1 .u-b { display: none; }
.book { width: 100%; border-collapse: collapse; font-size: 13px; }
.book th { text-align: left; font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--slate); padding: 8px 10px; border-bottom: 1px solid var(--line-dark); }
.book td { padding: 10px; border-bottom: 1px solid var(--line-dark); }
.book .new-row td { background: rgba(143, 217, 182, .07); transition: opacity .4s var(--ease), background 1.2s; }
.story.s1 .book .new-row { opacity: 0; }
.story.s1 .book .new-row td { opacity: 0; }
.pend { font-family: var(--mono); font-size: 11px; color: var(--ink); background: var(--live); padding: 2px 8px; border-radius: 999px; }

/* phone */
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { padding-left: 28px; position: relative; font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); opacity: .7; }
.own-num { background: var(--paper); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 24px; }
.phone { background: var(--ink); color: var(--paper); border-radius: 20px; padding: 18px; display: grid; gap: 8px; max-width: 320px; margin-bottom: 18px; }
.pn { font-family: var(--mono); font-size: 13px; color: var(--slate); text-align: center; padding-bottom: 6px; }
.pe { font-size: 13px; border-radius: 10px; padding: 10px 12px; background: var(--ink-3); }
.pe.miss { color: var(--alert); }
.pe.fwd { background: rgba(143, 217, 182, .14); color: var(--live); font-family: var(--mono); font-size: 12px; }
.small-list { margin: 0; padding-left: 18px; color: var(--slate-dim); font-size: 15px; display: grid; gap: 4px; }
.dial-rows { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.dial-rows li { border-top: 2px solid var(--ink); padding-top: 14px; display: grid; gap: 6px; }
.dial-rows b { font-size: 16px; }
.dial-rows span { color: var(--slate-dim); font-size: 14px; }

/* compliance */
.co { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.toggles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.toggles li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.on-pill { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--ink); background: var(--live); border-radius: 999px; padding: 3px 10px; display: inline-flex; align-items: center; gap: 6px; }
.on-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.log { margin-top: 18px; font-family: var(--mono); font-size: 12px; display: grid; gap: 4px; }
.log .row { display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; padding: 6px 8px; border-radius: 6px; }
.log .t { color: var(--slate-dim); }
.log .ok { color: var(--live); }
.log .bad { color: var(--alert); }
.log .skip { background: rgba(217, 163, 163, .08); }

/* owners */
.ow-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; margin-top: 48px; align-items: start; }
.roles { display: grid; gap: 0; justify-items: center; }
.role { width: 100%; max-width: 380px; border: 1px solid var(--line-light); background: var(--paper-2); border-radius: var(--radius-sm); padding: 14px 18px; display: grid; gap: 4px; position: relative; }
.role + .role { margin-top: 28px; }
.role + .role::before { content: ""; position: absolute; left: 50%; top: -29px; height: 28px; border-left: 2px dashed var(--slate); }
.role.top { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.role span { font-size: 13px; color: var(--slate-dim); }
.role.top span { color: var(--slate); }
.ow-grid .checks li { font-size: 15px; color: var(--slate-dim); }
.ow-grid .checks b { color: var(--ink); font-weight: 600; }

/* supply */
.supply { display: grid; grid-template-columns: minmax(0, 7fr) minmax(40px, 1fr) auto minmax(40px, 1fr) auto; align-items: center; gap: 12px; margin: 48px 0 32px; }
.src-h { font-family: var(--onest); text-transform: uppercase; font-weight: 700; font-size: 15px; letter-spacing: .1em; color: var(--ink); margin-bottom: 12px; }
.bubbles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 961px) {
  .bubbles { display: block; position: relative; height: 380px; }
  .bubbles li { position: absolute; left: 0; top: 0; font-size: var(--fs, 14px) !important; }
  .bubbles.placed li { transition: opacity .5s var(--ease) var(--d, 0s), translate .7s cubic-bezier(.22, 1, .36, 1) var(--d, 0s); }
  .bubbles.placed:not(.in) li { opacity: 0; translate: 0 18px; }
}
.bubbles li { font-size: 14px; font-weight: 500; letter-spacing: -.01em; background: #fff; border: 1px solid var(--line-light); border-radius: 999px; padding: .42em .95em; white-space: nowrap; box-shadow: 0 10px 22px -16px rgba(11,13,16,.55);
  animation: bob 7s ease-in-out calc(var(--i) * -0.6s) infinite; }
.bubbles li.ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bubbles li.mint { background: var(--live); border-color: transparent; color: var(--ink); }
.bubbles li.ghosted { background: transparent; border-style: dashed; border-color: rgba(11,13,16,.28); color: var(--slate-dim); box-shadow: none; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.src-foot { margin-top: 12px; font-size: 13px; }
.supply .mid, .supply .dst { border: 1px solid var(--line-light); background: var(--paper); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 14px; }
.supply .mid { display: grid; gap: 2px; text-align: center; }
.supply .dst { background: var(--ink); color: var(--paper); padding: 18px 20px; }
.path { height: 40px; width: 100%; overflow: visible; }
.path path { stroke: var(--slate); stroke-width: 1.5; stroke-dasharray: 4 5; fill: none; vector-effect: non-scaling-stroke; }
.path .pulse { fill: var(--live-ink); }

/* the problem section's closing statement: big type, an angular highlight, a thick underline,
   and the NG mark as a watermark over a dashed, dotted frame */
.statement { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 32px; align-items: end;
  margin-top: 40px; padding: 26px 30px; border: 1px dashed rgba(11, 13, 16, .2); border-radius: 18px;
  background: radial-gradient(rgba(11, 13, 16, .09) 1px, transparent 1.2px) 0 0 / 16px 16px, #fff; }
.problem .statement { margin-top: 28px; }
.st-wm { position: absolute; right: -40px; bottom: -70px; width: 300px; color: var(--ink); opacity: .05; pointer-events: none; }
.st-wm svg { width: 100%; height: auto; fill: currentColor; }
.st-big { position: relative; font-size: clamp(28px, 3.3vw, 46px); font-weight: 750; line-height: .98; letter-spacing: -.04em; }
.st-big mark.slant { margin: 0 .04em; padding: .02em .3em .04em; }
.st-sub { position: relative; color: var(--slate-dim); font-size: 16px; line-height: 1.45; border-left: 2px solid var(--ink); padding-left: 16px; }
/* a thick, low highlighter stroke under words, sitting into the letters */
.thick { background: linear-gradient(transparent 62%, var(--live) 62%, var(--live) 92%, transparent 92%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* where the calls come from: a dark card, a big line, the detail beside it, signal rings behind */
.callnote { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: start;
  margin-top: 8px; padding: clamp(28px, 4vw, 48px); border-radius: 22px; color: var(--paper);
  background: radial-gradient(rgba(216, 222, 230, .07) 1px, transparent 1.2px) 0 0 / 18px 18px, var(--ink); }
.cn-wm { position: absolute; left: -120px; bottom: -190px; width: 520px; height: 520px; pointer-events: none; }
.cn-wm circle { fill: none; stroke: var(--live); stroke-width: 1.2; opacity: .16; transform-origin: 200px 200px; animation: ring 4.8s var(--ease) infinite; }
.cn-wm circle:nth-child(2) { animation-delay: .6s; } .cn-wm circle:nth-child(3) { animation-delay: 1.2s; } .cn-wm circle:nth-child(4) { animation-delay: 1.8s; }
@keyframes ring { 0%, 100% { opacity: .08; } 40% { opacity: .3; } }
.cn-l, .cn-r { position: relative; }
.cn-k { font-family: var(--onest); text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--live); margin-bottom: 14px; }
.cn-big { font-size: clamp(32px, 3.8vw, 54px); font-weight: 750; line-height: .96; letter-spacing: -.04em; }
.cn-big .thick { background: linear-gradient(transparent 64%, rgba(143, 217, 182, .55) 64%, rgba(143, 217, 182, .55) 92%, transparent 92%); }
.cn-r > p { color: #B9BEC5; font-size: 16.5px; line-height: 1.6; }
.cn-facts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cn-facts li { position: relative; padding: 12px 14px 12px 34px; border: 1px solid var(--line-dark); border-radius: 12px; background: rgba(255, 255, 255, .03); font-size: 14px; color: #B9BEC5; }
.cn-facts li::before { content: ""; position: absolute; left: 14px; top: 17px; width: 9px; height: 5px; border-left: 2px solid var(--live); border-bottom: 2px solid var(--live); transform: rotate(-45deg); }
.cn-facts b { color: var(--paper); font-weight: 650; }

/* asides: a note set apart from the section's argument */
.aside { margin-top: 8px; max-width: 70ch; margin-left: clamp(0px, 6vw, 72px); padding: 18px 22px 20px; border-left: 3px solid var(--live-ink); background: rgba(255,255,255,.55); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.aside-k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--live-ink); margin-bottom: 8px; }
.aside p:not(.aside-k) { font-size: 15.5px; line-height: 1.6; color: var(--slate-dim); }

/* who + faq */
.who-h { max-width: none; }
mark.slant { background: none; color: var(--paper); white-space: nowrap; position: relative; display: inline-block; padding: .06em .38em .02em; margin: .08em .06em; }
mark.slant::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: skewX(-12deg); z-index: 0; border-radius: 4px; }
mark.slant span { position: relative; z-index: 1; }
.who { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who li { border: 1px solid var(--line-light); border-radius: var(--radius); padding: 20px; display: grid; gap: 6px; align-content: start; background: var(--paper); }
.who b { font-size: 17px; }
.who span { color: var(--slate-dim); font-size: 15px; }
.faq-h { margin-top: 72px; }
.faq { margin-top: 20px; border-top: 1px solid var(--line-light); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-size: 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--mono); font-size: 22px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--slate-dim); max-width: 70ch; }

/* self-serve start */
.start { background: var(--paper-2); padding: 56px 0; }
.start-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.start h2 { font-size: clamp(26px, 3vw, 36px); max-width: none; }
.start p { color: var(--slate-dim); margin-top: 8px; max-width: 56ch; }
.start .btn-light { background: var(--ink); color: var(--paper); }
.micro a { color: inherit; }

/* demo */
.demo { overflow: hidden; }
.demo-bg { position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(11,13,16,.88) 40%, rgba(11,13,16,.94) 100%), url("../img/faceted.jpg") center / cover no-repeat; }
.demo .wrap { position: relative; }
.doors { display: grid; grid-template-columns: minmax(0, 7fr) auto minmax(0, 5fr); gap: 28px; margin-top: 48px; align-items: stretch; }
.booker { position: relative; height: 720px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--ink-2); overflow: hidden; }
.booker .calendly-inline-widget { position: absolute; inset: 0; height: 100% !important; min-width: 0; }
.booker .calendly-inline-widget iframe { height: 100% !important; filter: invert(.93) hue-rotate(180deg) contrast(.95); }
.booker-wait { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; background: var(--ink-2); z-index: 2; transition: opacity .35s; }
.booker-wait p { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-dim); }
.booker-fallback { display: none; text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; color: var(--slate) !important; }
.booker-fallback a { color: var(--paper); }
.booker.is-loaded .booker-wait { opacity: 0; pointer-events: none; }
.booker.is-failed .booker-fallback { display: block; }
.booker.is-failed .skel { display: none; }
.skel { display: grid; grid-template-columns: repeat(7, 34px); gap: 8px; }
.skel i { height: 34px; border-radius: 8px; background: linear-gradient(90deg, var(--ink-3) 0%, #232830 50%, var(--ink-3) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.or { display: grid; place-items: center; position: relative; }
.or::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px solid var(--line-dark); }
.or span { position: relative; background: var(--ink); font-family: var(--mono); font-size: 12px; color: var(--slate); padding: 8px 0; }
.callback { display: grid; gap: 14px; align-content: start; background: rgba(20, 23, 28, .85); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 24px; }
.fld { display: grid; gap: 6px; }
.fld.two { grid-template-columns: 1fr 1fr; gap: 12px; }
.fld.two > div { display: grid; gap: 6px; }
label { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
input, select, textarea { font: inherit; font-size: 15px; color: var(--paper); background: var(--ink); border: 1px solid var(--line-dark); border-radius: 8px; padding: 11px 12px; width: 100%; }
input:focus, select:focus { border-color: var(--live); outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 12px; color: var(--slate); line-height: 1.5; }
.form-msg { font-family: var(--mono); font-size: 13px; min-height: 18px; }
.form-msg.ok { color: var(--live); }
.form-msg.err { color: var(--alert); }
.callback .btn { justify-content: center; }

/* footer */
.ftr { padding: 56px 0 40px; border-top: 1px solid var(--line-dark); }
.ftr-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ftr-top .m { margin-top: 14px; font-size: 14px; }
.ftr-top .m a { color: var(--glacial); }
.ftr-cols { display: grid; grid-template-columns: repeat(4, minmax(140px, auto)); gap: 32px 56px; }
.ftr-h { font-family: var(--onest); text-transform: uppercase; font-weight: 700; font-size: 12.5px; letter-spacing: .1em; color: var(--paper); margin-bottom: 14px; }
.ftr-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr-cols a { font-size: 15px; text-decoration: none; color: var(--slate); transition: color .2s; }
.ftr-cols a:hover { color: var(--paper); }
.ask-ai { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.ask-ai .m { font-family: var(--mono); font-size: 12px; margin-right: 6px; }
.ask-ai a { font-size: 13px; text-decoration: none; border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 14px; color: var(--glacial); transition: border-color .2s, color .2s; }
.ask-ai a:hover { border-color: var(--live); color: var(--paper); }
.legal { margin-top: 24px; font-size: 12px; color: var(--slate-dim); max-width: 90ch; }

/* mobile sticky */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; background: rgba(20, 23, 28, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-dark); border-radius: 14px; color: var(--paper); font-size: 14px; transform: translateY(140%); transition: transform .35s var(--ease); }
.sticky-cta.show { transform: none; }

/* reveal on scroll: site.js adds .rv to items and .in when their group is seen */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.dial-rows li { border-top: 0; position: relative; }
.dial-rows li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ink); transform-origin: left; transition: transform .8s var(--ease) var(--d, 0s); }
.dial-rows li.rv:not(.in)::before { transform: scaleX(0); }
.phone .pe.rv { transform: translateY(10px) scale(.97); }
.phone .pe.rv.in { transform: none; }
.pe.miss.in { animation: ring .5s ease-in-out calc(var(--d, 0s) + .4s) 2; }
@keyframes ring { 25% { transform: translateX(-2px); } 75% { transform: translateX(2px); } }
.on-pill { transition: background .35s var(--ease) var(--d, 0s), color .35s var(--d, 0s); }
.on-pill::before { transition: transform .35s var(--ease) var(--d, 0s); }
.toggles.armed:not(.in) .on-pill { background: #2A2F37; color: var(--slate); }
.toggles.armed:not(.in) .on-pill::before { background: var(--slate); }
.role + .role::before { transform-origin: top; transition: transform .5s var(--ease) var(--d, 0s); }
.role.rv:not(.in)::before { transform: scaleY(0); }
.own-num .phone { position: relative; }
.pn::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--live); margin-right: 8px; vertical-align: 1px; animation: livePulse 2s infinite; }

.ag-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ag-head .more { margin-top: 0; margin-bottom: 6px; }

/* new agencies / established agencies */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; }
.path-card { border: 1px solid var(--line-light); background: var(--paper-2); border-radius: 20px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; align-content: start; }
.path-card.dark { background: var(--ink); border-color: var(--ink); }
.path-card h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; }
.path-card > p:not(.eyebrow) { color: var(--slate-dim); }
.path-card.dark > p:not(.eyebrow) { color: #B9BEC5; }
.path-card .eyebrow { margin-bottom: 0; }
.path-card .checks li { font-size: 15px; }
.path-card .btn { justify-self: start; margin-top: 8px; }
.path-card:not(.dark) .btn-light { background: var(--ink); color: var(--paper); }

/* ───────── inner pages ───────── */
/* home hero: the lede as a list, each point behind a mint ">" */
.hero-lede:has(.hero-points) { display: block; }
.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hero-points li { position: relative; padding-left: 30px; font-size: clamp(17px, 1.35vw, 19px); color: #D3D8DE; line-height: 1.4; }
.hero-points li::before { content: ">"; position: absolute; left: 2px; top: -.06em; font-family: var(--onest); font-weight: 300; font-size: 1.35em; line-height: 1; color: var(--live); }

/* inner page heroes: smaller headline, an informative lede (intro + icon list), and their own
   slowly morphing gradient instead of the home page's particle wave */
.phero .hero-copy { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.phero .hero-copy h1 { font-size: clamp(28px, 2.7vw, 42px); max-width: 20ch; line-height: 1.02; }
.phero .crumb { margin-bottom: 18px; }
.hero-lede.info { margin-top: 24px; }
.hero-lede.info .gt { font-size: 56px; }
.hero-lede.info p { color: #D3D8DE; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; }
.hi-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.hi-list li { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.4; color: #B9BEC5; }
.hi-list b { display: block; color: var(--paper); font-weight: 650; font-size: 14.5px; }
.hi-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: var(--g1, var(--live)); }
.hi-ic svg { width: 17px; height: 17px; }
.pg-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #050607; }
.pg-bg i { position: absolute; width: 62vw; height: 62vw; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.pg-bg i:nth-child(1) { left: -18vw; top: -26vw; background: radial-gradient(circle, var(--g1), transparent 66%); animation: pgA 28s ease-in-out infinite alternate; }
.pg-bg i:nth-child(2) { right: -20vw; top: -10vw; background: radial-gradient(circle, var(--g2), transparent 66%); animation: pgB 34s ease-in-out infinite alternate; }
.pg-bg i:nth-child(3) { left: 22vw; bottom: -40vw; background: radial-gradient(circle, var(--g3), transparent 66%); animation: pgC 31s ease-in-out infinite alternate; }
@keyframes pgA { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(18vw, 10vw) scale(1.15); } 100% { transform: translate(6vw, 22vw) scale(.92); } }
@keyframes pgB { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-16vw, 14vw) scale(.88); } 100% { transform: translate(-6vw, -4vw) scale(1.12); } }
@keyframes pgC { 0% { transform: translate(0, 0) scale(.95); } 50% { transform: translate(-12vw, -14vw) scale(1.2); } 100% { transform: translate(14vw, -6vw) scale(1); } }
/* each page its own palette */
body[data-page="lead-channels"], .pal-lead-channels { --g1: #3FD4A0; --g2: #1E6B7A; --g3: #8FD9B6; }
body[data-page="ai"], .pal-ai            { --g1: #9B7BFF; --g2: #3B3FA8; --g3: #8FD9B6; }
body[data-page="agent-tools"], .pal-agent-tools   { --g1: #F2A65A; --g2: #8A3E2A; --g3: #E8D27A; }
body[data-page="phone-dialer"], .pal-phone-dialer  { --g1: #5AB8F2; --g2: #1D3F8A; --g3: #7AE0E8; }
body[data-page="compliance"], .pal-compliance    { --g1: #6FCF8E; --g2: #2D4A3A; --g3: #A9B8C7; }
body[data-page="owners"], .pal-owners        { --g1: #E8C26A; --g2: #7A4B22; --g3: #C7A8F2; }
body[data-page="final-expense"], .pal-final-expense { --g1: #F28AA8; --g2: #6A2A5A; --g3: #F2C29A; }
body[data-page="migration"], .pal-migration     { --g1: #7AA8FF; --g2: #2A3F7A; --g3: #8FD9E8; }

/* page hero: the home hero's look, shorter */
.phero { min-height: 0; padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 8vw, 104px); }
.phero .hero-copy h1 { font-size: clamp(38px, 4.6vw, 68px); max-width: 13ch; }
.crumb { font-family: var(--onest); text-transform: uppercase; font-size: 12px; letter-spacing: .14em; color: var(--slate); margin-bottom: 22px; display: flex; gap: 10px; align-items: center; }
.crumb a { color: var(--slate); text-decoration: none; }
.crumb a:hover { color: var(--paper); }
.crumb span[aria-hidden] { opacity: .5; }
.phero .visual { animation: heroIn 1.1s var(--ease) .2s both; }

/* feature rows: text beside a demo, alternating sides */
.frows { display: grid; gap: clamp(72px, 9vw, 120px); margin-top: 56px; }
.frow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.frow.flip > .frow-text { order: 2; }
.frow h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.03em; }
.frow-text > p:not(.eyebrow) { color: var(--slate-dim); font-size: 17px; margin-top: 14px; max-width: 52ch; }
.dark .frow-text > p:not(.eyebrow) { color: #B9BEC5; }
.frow-text .checks { margin-top: 20px; }
.frow-text .checks li { font-size: 15px; }

/* rule cards (compliance) */
.rules { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rules li { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.rules li b { font-size: 17px; font-weight: 650; }
.rules li p { color: #B9BEC5; font-size: 15px; }
.rules .on-pill { justify-self: start; }

/* small cards (also on every call, etc.) */
.mini-cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini-cards > li { border: 1px solid var(--line-light); background: var(--paper); border-radius: var(--radius); padding: 22px; display: grid; gap: 6px; align-content: start; }
.mini-cards > li > b, .mini-cards > li > a > b { font-size: 17px; }
.mini-cards .mc-ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 11px; background: var(--ink); color: var(--live); }
.dark .mini-cards .mc-ic { background: rgba(143, 217, 182, .12); }
.mini-cards .mc-ic .ic { width: 20px; height: 20px; }
.mini-cards li:hover .mc-ic { transform: rotate(-6deg) scale(1.05); }
.mini-cards .mc-ic { transition: transform .3s var(--ease); }
.mini-cards > li > span, .mini-cards > li > a > span:not(.thumb) { color: var(--slate-dim); font-size: 15px; }
.dark .mini-cards > li { background: var(--ink-2); border-color: var(--line-dark); }
.dark .mini-cards > li > span, .dark .mini-cards > li > a > span:not(.thumb) { color: #B9BEC5; }

/* "more on its own page" link under a home section */
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.more::after { content: "→"; transition: transform .2s var(--ease); }
.more:hover::after { transform: translateX(3px); }
.dark .more { color: var(--paper); }

/* cash value working (AI page) */
.cv-quote { font-size: 15px; line-height: 1.5; color: var(--glacial); border-left: 2px solid var(--live); padding-left: 12px; margin: 4px 0 14px; }
.cv-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.cv-steps li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border: 1px solid var(--line-dark); border-radius: 8px; }
.cv-steps b { font-family: var(--mono); font-weight: 500; }
.cv-steps li.sum { border-color: rgba(143, 217, 182, .5); background: rgba(143, 217, 182, .1); }
.cv-steps li.sum b { color: var(--live); }
.cv-note { font-size: 12px; margin-top: 12px; }
.warn-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #E8C26A; margin-right: 8px; vertical-align: 1px; }

/* page FAQ */
.page-faq { margin-top: 0; }

/* a demo card that sits alone (no window chrome) */
.solo { max-width: 520px; }
.solo.card { padding: 18px; }
.light .solo.card, .paper2 .solo.card { background: var(--ink-2); color: var(--paper); }

/* work-mode demo (lead channels) */
.seg { display: inline-flex; background: var(--ink); border: 1px solid var(--line-dark); border-radius: 9px; padding: 3px; gap: 2px; }
.seg button { background: none; border: 0; border-radius: 6px; padding: 5px 12px; font-size: 13px; color: var(--slate); transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.mode-status { display: flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 12px; color: var(--live); margin-bottom: 12px; }
.mode-status .live-dot { margin: 0 6px 0 0; }
.camp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.camp-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line-dark); border-radius: 8px; padding: 10px 12px; font-size: 14px; transition: opacity .3s, border-color .3s; }
.camp-list li > div { display: grid; gap: 2px; }
.camp-list li b { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-weight: 600; }
.camp-list .m { font-size: 12px; }
.camp-list .tg { border: 0; padding: 0; cursor: pointer; }
.mode-demo[data-mode="out"] li[data-kind="in"], .mode-demo[data-mode="in"] li[data-kind="out"] { opacity: .35; }
.mode-demo[data-mode="out"] li[data-kind="out"]:has(.tg.on), .mode-demo[data-mode="in"] li[data-kind="in"]:has(.tg.on) { border-color: rgba(143, 217, 182, .45); }
.mode-foot { margin-top: 12px; font-size: 12px; }

/* dialer visuals */
.pacer-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.pacer-top > div { background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: 8px; padding: 10px 12px; }
.pacer-top .k { margin-bottom: 4px; }
.pacer-n { font-family: var(--mono); font-size: 22px; }
.lines-live { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.lines-live li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border: 1px solid var(--line-dark); border-radius: 8px; padding: 9px 12px; }
.lines-live li > span:last-child { margin-left: auto; font-family: var(--mono); font-size: 11px; border-radius: 999px; padding: 2px 8px; }
.tag-h { background: var(--live); color: var(--ink); }
.tag-m { background: #2A2F37; color: var(--glacial); }
.tag-r { border: 1px solid var(--line-dark); color: var(--slate); }
.lpa { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.lpa span { text-align: center; font-family: var(--mono); font-size: 13px; border: 1px solid var(--line-dark); border-radius: 8px; padding: 10px 0; color: var(--slate); }
.lpa span.on { background: var(--live); color: var(--ink); border-color: transparent; }

/* column mapping (migration) */
.colmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.colmap li { display: grid; grid-template-columns: 1fr 28px 1fr; align-items: center; gap: 8px; font-size: 13px; }
.colmap .from { font-family: var(--mono); font-size: 12px; color: var(--glacial); border: 1px dashed var(--slate-dim); border-radius: 6px; padding: 6px 10px; }
.colmap li::before { content: "→"; grid-column: 2; grid-row: 1; text-align: center; color: var(--live); }
.colmap .from { grid-column: 1; grid-row: 1; }
.colmap .to { grid-column: 3; grid-row: 1; border: 1px solid rgba(143, 217, 182, .45); background: rgba(143, 217, 182, .08); border-radius: 6px; padding: 6px 10px; }

/* numbered steps (migration) */
.steps-line { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.steps-line li { display: grid; gap: 8px; align-content: start; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps-line .n { font-family: var(--mono); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-size: 13px; }
.steps-line b { font-size: 18px; }
.steps-line p { color: var(--slate-dim); font-size: 15px; }

/* ───────── responsive ───────── */
@media (max-width: 860px) {
  .nav, .hdr-cta .lnk { display: none; }
  .menu-btn { display: grid; }
  .dr-mobile { display: flex; }
  .drawer-in { display: grid; gap: 28px; padding-top: 24px; padding-bottom: 28px; max-height: calc(100vh - 64px); overflow-y: auto; }
  .dr-col { grid-template-columns: 1fr; gap: 18px; min-height: 0; }
  .dr-groups { grid-template-columns: 1fr; gap: 18px; }
  .dr-feature { display: none; }
}
@media (max-width: 1080px) {
  .dial-rows { grid-template-columns: repeat(3, 1fr); }
  .who { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero-copy { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .showcase .frame { transform: none; }
  .tangle { display: none; }
  .unify:not(.joined) .tools { margin-bottom: 0; }
  .hero-in, .lanes, .uw, .ai-grid, .ph-grid, .co, .ow-grid, .frow { grid-template-columns: 1fr; gap: 36px; }
  .frow.flip > .frow-text { order: 0; }
  .rules, .mini-cards { grid-template-columns: 1fr 1fr; }
  .hi-list { grid-template-columns: 1fr; }
  .phero .hero-copy { grid-template-columns: 1fr; }
  .statement, .callnote { grid-template-columns: 1fr; }
  .paths { grid-template-columns: 1fr; }
  .steps-line { grid-template-columns: 1fr 1fr; }
  .six-stage { grid-template-columns: 1fr; }
  .six-screen { display: none; }
  .six-steps li { opacity: 1; background: var(--ink-2); border-color: var(--line-dark); }
  .doors { grid-template-columns: 1fr; }
  .or { min-height: 40px; }
  .or::before { top: 50%; bottom: auto; left: 0; right: 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .or span { padding: 0 12px; }
  .tools, .links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools .tool:nth-child(n) { --r: 0deg; --x: 0; }
  .links { display: none; }
  .one { margin-top: 18px; }
  .supply { grid-template-columns: 1fr; }
  .supply .path { height: 28px; transform: rotate(90deg); width: 28px; justify-self: center; }
  .sticky-cta { display: flex; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .hdr-cta .lnk { display: none; }
  .desk, .own, .s-grid, .duo, .who, .dial-rows, .fld.two, .rules, .mini-cards { grid-template-columns: 1fr; }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
  .steps-line, .pacer-top { grid-template-columns: 1fr; }
  .frame-bar .tabs [role="tab"] { padding: 5px 8px; font-size: 12px; }
  .frame-bar .dots, .frame-bar .sample { display: none; }
  .tools { grid-template-columns: 1fr; gap: 10px; }
  .tools .tool:nth-child(n) { --x: 0; --y: 14px; --r: 0deg; }
  .unify.joined .tools .tool:nth-child(n) { --y: 0; }
  .hdr-cta .btn-sm { white-space: nowrap; padding: 8px 12px; font-size: 13px; }
  .logo-word { font-size: 14.6px; }
  .hdr-in { gap: 12px; }
  .hdr-cta { gap: 10px; }
  .aside { margin-left: 0; }
  .layer, .layer:nth-child(2), .layer:nth-child(3) { margin-left: 0; grid-template-columns: 1fr; gap: 2px; }
  .layer-out { margin-left: 0; }
  .byod { grid-template-columns: 1fr; }
  .pw { width: 160px; }
  .pw.two { left: 60px; } .pw.three { left: 120px; }
  .booker { height: 980px; }
  .btn { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .path .pulse, .conn::after, .plus1, .links i::after { display: none; }
  .hero-bg { display: none; }
  .rv { opacity: 1; transform: none; }
  .pg-bg i, .cn-wm circle, .keep-scrolling svg, .ks-pill, .tab-nudge svg, .tabs.alt [role="tab"].nudge { animation: none; }
  .bubbles li { animation: none; }
}
.note-card.has-art .plus1 { display: none; }

/* large flat icons, centred, stroked with the shared ink-to-mint gradient (Final expense channels) */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.mini-cards.big-ic li { text-align: center; justify-items: center; padding-top: 26px; }
.mini-cards .mc-big { display: block; margin-bottom: 10px; }
.mini-cards .mc-big .ic { width: 58px; height: 58px; stroke: url(#ng-grad); stroke-width: 1.4; transition: transform .35s var(--ease); }
.mini-cards.big-ic li:hover .mc-big .ic { transform: translateY(-3px) rotate(-4deg); }

/* New agencies page */
body[data-page="new-agencies"], .pal-new-agencies { --g1: #3FD4A0; --g2: #6A5A1E; --g3: #E8C26A; }
.dayone { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.dayone li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border: 1px solid var(--line-dark); border-radius: 8px; }
.dayone li .m { margin-left: auto; font-size: 12px; }
.dayone .ok { width: 18px; height: 18px; border-radius: 50%; background: var(--live); position: relative; flex: none; }
.dayone .ok::after { content: ""; position: absolute; left: 5px; top: 5px; width: 7px; height: 4px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.dayone li.live { border-color: rgba(143, 217, 182, .5); background: rgba(143, 217, 182, .08); }
.dayone li.live .live-dot { margin: 0 4px 0 5px; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.vs-col { border-radius: 20px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 4px; align-content: start; }
.vs-col.bad { background: var(--paper-2); border: 1px dashed rgba(11, 13, 16, .22); }
.vs-col.good { background: var(--ink); color: var(--paper); }
.vs-h { font-family: var(--onest); text-transform: uppercase; font-weight: 700; font-size: 13px; letter-spacing: .14em; margin-bottom: 12px; }
.vs-col.good .vs-h { color: var(--live); }
.vs-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line-light); position: relative; font-size: 15px; }
.vs-col.good .vs-row { border-bottom-color: var(--line-dark); }
.vs-row span { color: var(--slate-dim); font-family: var(--mono); font-size: 12.5px; text-align: right; }
.vs-col.good .vs-row span { color: var(--slate); }
.vs-col.bad .vs-row::before, .vs-col.bad .vs-row::after { content: ""; position: absolute; left: 4px; top: 50%; width: 12px; height: 2px; background: var(--alert); }
.vs-col.bad .vs-row::before { transform: rotate(45deg); } .vs-col.bad .vs-row::after { transform: rotate(-45deg); }
.vs-col.good .vs-row::before { content: ""; position: absolute; left: 4px; top: calc(50% - 4px); width: 11px; height: 6px; border-left: 2px solid var(--live); border-bottom: 2px solid var(--live); transform: rotate(-45deg); }
.vs-foot { margin-top: 16px; font-weight: 600; }
.vs-col.bad .vs-foot { color: #9B5A5A; }
.mini-cards.mc-links li { padding: 0; }
.mini-cards.mc-links a { display: grid; gap: 6px; padding: 22px; height: 100%; text-decoration: none; border-radius: inherit; transition: background .2s; }
.mini-cards.mc-links a:hover { background: #fff; }
.mini-cards.mc-links > li > a > b::after { content: " →"; transition: margin .2s var(--ease); }
.mini-cards.mc-links > li > a:hover > b::after { margin-left: 4px; }
.steps-line.on-dark li { border-top-color: var(--paper); }
.steps-line.on-dark .n { background: var(--live); color: var(--ink); }
.steps-line.on-dark p { color: #B9BEC5; }
@media (max-width: 960px) { .vs { grid-template-columns: 1fr; } }

/* a section title that holds while its cards scroll by (Every lead source) */
.stick-head { position: sticky; top: 64px; z-index: 2; padding: 18px 0 20px; margin: -18px 0 0; background: var(--paper-2); }
.stick-head::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 28px; background: linear-gradient(var(--paper-2), rgba(231, 234, 237, 0)); pointer-events: none; }
.stick-head h2 { margin: 0; }
/* cards that roll up into place as they reach the screen */
.roll > * { opacity: 0; transform: perspective(900px) rotateX(-24deg) translateY(56px); transform-origin: 50% 0;
  transition: opacity .6s var(--ease) var(--d, 0s), transform .8s cubic-bezier(.2, .8, .2, 1) var(--d, 0s); }
.roll > .in { opacity: 1; transform: none; }
.mini-cards.mc-links.big-ic li { padding: 0; }
.mini-cards.mc-links.big-ic a { justify-items: center; text-align: center; padding-top: 28px; }

/* page thumbnails: a page's hero visual, shrunk to the card, over that page's own colours */
body .pal-home { --g1: #8FD9B6; --g2: #3A4049; --g3: #D8DEE6; }
.mini-cards.thumbs li { padding: 0; overflow: hidden; }
.mini-cards.thumbs a { padding: 0 22px 22px; }
.thumb { position: relative; display: block; height: 200px; margin: 0 -22px 14px; overflow: hidden; background: #050607; border-bottom: 1px solid var(--line-light); }
.thumb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 0%, var(--g1), transparent 55%), radial-gradient(circle at 100% 100%, var(--g2), transparent 60%), radial-gradient(circle at 70% 20%, var(--g3), transparent 45%); opacity: .45; filter: blur(16px); transition: opacity .4s; }
.thumb-in { position: absolute; left: 50%; top: 22px; width: 560px; transform-origin: top center; transform: translateX(-50%) scale(var(--ts, .58)); pointer-events: none; transition: transform .5s var(--ease); }
.thumb-in * { animation: none !important; transition: none !important; }
.thumb-in .frame { box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .9); }
.thumb-in .showcase .frame, .thumb-in .frame { transform: none; }
.thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(rgba(5, 6, 7, 0), rgba(5, 6, 7, .9)); }
.mini-cards.thumbs a:hover .thumb-in { transform: translateX(-50%) scale(calc(var(--ts, .58) * 1.04)); }
.mini-cards.thumbs a:hover .thumb::before { opacity: .7; }
/* How it works thumbnail: the desk view of the home demo, not its Carrier Waterfall tab (that's AI tools') */
.pal-home .thumb-in .panel:first-child { display: block !important; }
.pal-home .thumb-in .panel:nth-child(2) { display: none !important; }
.pal-home .thumb-in [role="tab"]:first-child { background: var(--ink-2); color: var(--paper); border-color: var(--line-dark); }
.pal-home .thumb-in [role="tab"]:nth-child(2) { background: none; color: var(--slate); border-color: transparent; }
.st.wrapup { background: #E8C26A; }

/* 5.1 Desk showcase · the reels: renders of the real desk (video/, Remotion over the platform's
   desk-v3 components). 16:9 like the desk; the frame-body's padding is the bezel. */
.desk-reel { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 10px; background: #1a1a18; object-fit: cover; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 5.2 Six clicks · the reels: one clip per step, stacked; the step's clip shows (site.js). */
.six-reels { position: relative; aspect-ratio: 16 / 9; padding: 0; margin: 14px; border-radius: 10px; overflow: hidden; background: #1a1a18; }
.six-reel { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.six-reel.on { opacity: 1; }

/* ── Legal pages (/terms/, /privacy/): rendered from the app's source text by
   `pnpm legal:build --landing` in nextgen-platform. ── */
.legal-hero { background: #0B0D10; color: #F5F6F7; padding: 56px 0 48px; }
.legal-hero .crumb { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #8A9099; margin: 0 0 14px; }
.legal-hero .crumb a { color: #8A9099; text-decoration: none; }
.legal-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; margin: 0; color: #F5F6F7; max-width: none; }
.legal-hero .wrap, .legal-doc .wrap { max-width: 860px; }
.legal-doc { background: #F5F6F7; color: #3d434c; padding: 56px 0 96px; }
.legal-doc h2 { color: #0B0D10; font-size: 1.25rem; line-height: 1.3; margin: 2.2em 0 .6em; max-width: none; }
.legal-doc h3 { color: #0B0D10; font-size: 1.05rem; margin: 1.6em 0 .5em; max-width: none; }
.legal-doc p { margin: 0 0 1em; line-height: 1.7; font-size: .98rem; max-width: none; }
.legal-doc ul { margin: 0 0 1em; padding-left: 1.4em; line-height: 1.7; font-size: .98rem; max-width: none; }
.legal-doc li { margin: 0 0 .4em; list-style: disc; }
.legal-doc strong { color: #0B0D10; }
.legal-doc .updated { font-size: .9rem; color: #5C626B; margin-bottom: 2em; }
.legal-doc a { color: #0B0D10; text-decoration: underline; }

/* ── Hero offers row (2026-11-06): the three call offers under the front page's hero ── */
.hero-offers { margin-top: clamp(28px, 4vw, 48px); animation: heroIn .9s var(--ease) .4s both; }
.hero-offers .ho-k { font-family: var(--onest); text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; color: var(--live); margin: 0 0 12px; }
.ho-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ho-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; text-decoration: none; color: var(--paper);
  background: rgba(16, 19, 23, .72); border: 1px solid var(--line-dark); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .2s, transform .3s var(--ease), background .2s; }
.ho-card:hover, .ho-card:focus-visible { border-color: rgba(143, 217, 182, .6); background: rgba(22, 26, 31, .85); transform: translateY(-2px); }
.ho-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(143, 217, 182, .12); color: var(--live); }
.ho-ic svg { width: 20px; height: 20px; }
.ho-tx { display: grid; gap: 3px; min-width: 0; }
.ho-tx b { font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.ho-tx > span { font-size: 13.5px; color: var(--slate); line-height: 1.35; }
.ho-go { font-size: 18px; color: var(--live); transition: transform .2s var(--ease); }
.ho-card:hover .ho-go { transform: translateX(3px); }
@media (max-width: 900px) { .ho-row { grid-template-columns: 1fr; gap: 10px; } .ho-card { padding: 14px 16px; } }
@media (prefers-reduced-motion: reduce) { .hero-offers { animation: none; } .ho-card, .ho-go { transition: none; } }
.offers-band h2 { margin-bottom: 28px; }
.mini-cards .mc-go { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; }
.mini-cards .mc-go:hover { color: #2F7F5E; }
