/* Practice KPIs website. One stylesheet. Tokens first, then base, layout, components, product window, pages. */

@font-face { font-family: "Geist"; src: url("/assets/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; font-style: italic; src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --paper: #f7f7f4;
  --paper-2: #efeee9;
  --card: #ffffff;
  --ink: #111316;
  --ink-2: #464b53;
  --ink-3: #5f646c;
  --line: #e4e3dd;
  --line-2: #d5d4cc;
  --accent: #0e5fd8;
  --accent-2: #0a4cb3;
  --accent-soft: #e9f0fc;
  --night: #07090d;
  --night-2: #0e1219;
  --night-3: #151b25;
  --night-line: rgba(255, 255, 255, 0.09);
  --night-ink: #f2f4f7;
  --night-ink-2: #a3abb8;
  --night-ink-3: #7f8896;
  --glow: 47, 123, 255;
  --good: #0a7a3d;
  --bad: #b42318;
  --sans: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --r: 12px;
  --r-lg: 16px;
  --wrap: 1200px;
  --gut: 24px;
  --shadow: 0 1px 2px rgba(16, 19, 24, 0.05), 0 8px 24px -8px rgba(16, 19, 24, 0.10);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.12), 0 30px 80px -20px rgba(0, 0, 0, 0.55);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans);
       -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
       font-feature-settings: "ss01", "cv11"; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
.lede { text-wrap: pretty; }
button { font: inherit; color: inherit; }
::selection { background: rgba(var(--glow), 0.22); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); font-feature-settings: normal; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: calc(760px + 2 * var(--gut)); }
.section { padding: 120px 0; position: relative; }
.section.tight { padding: 88px 0; }
.section + .section.paper-2, .paper-2 { background: var(--paper-2); }
.rule { border-top: 1px solid var(--line); }
.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; display: block; }
.dark .eyebrow { color: #7fb0ff; }
.h2 { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.035em; line-height: 1.06; max-width: 18ch; }
.h2 em, .h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 60ch; margin-top: 20px; }
.dark .lede { color: var(--night-ink-2); }
.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; }
.sec-head.center .h2, .sec-head.center .lede { margin-left: auto; margin-right: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 20px;
       border-radius: 10px; font: 500 15.5px/1 var(--sans); letter-spacing: -0.005em; border: 1px solid transparent;
       cursor: pointer; transition: transform .18s var(--ease), background-color .18s, box-shadow .18s, border-color .18s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 2px rgba(10,40,100,.25), 0 6px 20px -6px rgba(14,95,216,.55); }
.btn-primary:hover { background: #1a6af0; }
.btn-ghost { color: var(--ink); border-color: var(--line-2); background: rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: var(--ink-3); background: #fff; }
.dark .btn-ghost { color: var(--night-ink); border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.04); }
.dark .btn-ghost:hover { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.08); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e9edf3; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14.5px; border-radius: 9px; }
.btn .ic { width: 18px; height: 18px; flex: none; }
.arrow-r { display: inline-flex; align-items: center; }
.arrow-r::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-top: 1.6px solid currentColor;
                  transform: rotate(45deg); margin-left: 2px; transition: transform .18s var(--ease); }
.btn:hover .arrow-r::after, a:hover > .arrow-r::after { transform: translateX(3px) rotate(45deg); }
.link { color: var(--accent); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { color: var(--accent-2); }
.dark .link { color: #8cb8ff; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: 68px; color: var(--night-ink);
       background: rgba(7, 9, 13, 0.72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
       border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.nav.scrolled { border-bottom-color: var(--night-line); background: rgba(7, 9, 13, 0.86); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand-w { white-space: nowrap; }
.mark { width: 28px; height: 28px; flex: none; }
.mark-bg { fill: #fff; }
.mark-t { fill: var(--night); }
.mark-a { fill: var(--accent); }
.foot .mark-bg, .light-mark .mark-bg { fill: var(--ink); }
.foot .mark-t, .light-mark .mark-t { fill: #fff; }
.foot .mark-a, .light-mark .mark-a { fill: #4d8dff; }
.nav-links { display: flex; gap: 4px; }
.nav-links a, .nav-contact { font-size: 14.5px; color: var(--night-ink-2); padding: 8px 12px; border-radius: 8px; transition: color .15s, background-color .15s; }
.nav-links a:hover, .nav-contact:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-links a[aria-current], .nav-contact[aria-current] { color: #fff; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-burger { display: none; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 8px; cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; transition: transform .2s; }
.nav-burger span:first-child { top: 16px; } .nav-burger span:last-child { top: 23px; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mnav[hidden] { display: none; }
.mnav { position: absolute; top: 68px; left: 0; right: 0; background: var(--night); border-bottom: 1px solid var(--night-line);
        padding: 12px var(--gut) 24px; display: grid; gap: 2px; }
.mnav a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--night-line); }
.mnav .btn { margin-top: 16px; border: 0; }

/* ---------- dark bands ---------- */
.dark { background: var(--night); color: var(--night-ink); position: relative; isolation: isolate; }
.hero { margin-top: -68px; padding: 172px 0 0; z-index: 2; overflow: hidden;
        background: linear-gradient(180deg, var(--night) 0, var(--night) calc(100% - 260px), var(--card) calc(100% - 260px)); }
.hero::before, .hero::after { bottom: 260px !important; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 62%, rgba(var(--glow), 0.30), transparent 70%),
    radial-gradient(40% 30% at 85% 10%, rgba(var(--glow), 0.10), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(70% 55% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000 30%, transparent 75%); }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px 0 6px; border-radius: 999px;
        border: 1px solid var(--night-line); background: rgba(255,255,255,.04); font-size: 13.5px; color: var(--night-ink-2); margin-bottom: 28px; }
.pill b { font: 500 11.5px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: #cfe0ff; background: rgba(var(--glow), .22);
          border: 1px solid rgba(var(--glow), .45); padding: 5px 8px; border-radius: 999px; }
.h1 { font-size: clamp(42px, 6.4vw, 80px); letter-spacing: -0.045em; line-height: 1.0; font-weight: 600; max-width: 15ch;
      background: linear-gradient(180deg, #ffffff 30%, #b9c3d3 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero .lede { text-align: center; margin: 26px auto 0; max-width: 56ch; font-size: clamp(18px, 1.7vw, 21px); }
.hero-cta { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-top: 30px; font: 400 13px/1.4 var(--mono); color: var(--night-ink-3); }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #3f8cff; box-shadow: 0 0 10px #3f8cff; }
.hero-shot { margin-top: 72px; position: relative; perspective: 2000px; }
.hero-shot::before { content: ""; position: absolute; left: 8%; right: 8%; top: -40px; height: 220px; z-index: -1;
  background: radial-gradient(50% 60% at 50% 60%, rgba(var(--glow), .45), transparent 70%); filter: blur(30px); }
.hero-shot { padding-bottom: 8px; }
.hero-shot::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: 0; height: 60px; z-index: -1; background: radial-gradient(50% 100% at 50% 0, rgba(16,19,24,.18), transparent 70%); filter: blur(12px); }
.proof { border-top: 0; }
.page-hero { margin-top: -68px; padding: 168px 0 96px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 80% at 15% 0%, rgba(var(--glow), .20), transparent 70%), radial-gradient(40% 60% at 100% 100%, rgba(var(--glow), .08), transparent 70%); }
.page-hero .h1 { font-size: clamp(40px, 5.6vw, 68px); max-width: 18ch; }
.hero .h1 { max-width: 17ch; }
.page-hero .lede { font-size: clamp(18px, 1.6vw, 20px); }

/* ---------- reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .stagger > .reveal:nth-child(2) { transition-delay: .06s; } .js .stagger > .reveal:nth-child(3) { transition-delay: .12s; }
.js .stagger > .reveal:nth-child(4) { transition-delay: .18s; } .js .stagger > .reveal:nth-child(5) { transition-delay: .24s; }
.js .stagger > .reveal:nth-child(6) { transition-delay: .30s; } .js .stagger > .reveal:nth-child(7) { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* ---------- product window: a copy of the real app's shell and cards ---------- */
.win-fit { width: 100%; min-width: 0; overflow: hidden; border-radius: 14px; }
.split > *, .tour-row > *, .bento-c, .bento-v { min-width: 0; }
.win { --w-page: #f9f9f7; --w-surf: #fff; --w-ink: #0b0b0b; --w-ink2: #52514e; --w-mut: #6f6e69; --w-grid: #e4e3dd;
       --w-axis: #6f6e69; --w-data: #0e619d; --w-good: #006300; --w-bad: #9c2a2a; --w-font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
       background: var(--w-page); color: var(--w-ink); border-radius: 14px; overflow: hidden; text-align: left; width: 1200px; transform-origin: top left;
       box-shadow: 0 0 0 1px rgba(255,255,255,.10), 0 0 0 1px rgba(0,0,0,.6), var(--shadow-lg); font: 400 13px/1.4 var(--w-font); letter-spacing: 0; font-feature-settings: normal; }
.light-ctx .win { box-shadow: 0 0 0 1px rgba(16,19,24,.10), 0 24px 60px -20px rgba(16,19,24,.28), 0 2px 6px rgba(16,19,24,.06); }
.win-bar { height: 34px; background: #ecebe6; border-bottom: 1px solid #dcdbd4; display: flex; align-items: center; padding: 0 0 0 12px; font-size: 12px; color: #3d3c39; }
.win-title { display: flex; align-items: center; gap: 8px; }
.win-title .mk { width: 15px; height: 15px; } .mk-bg { fill: #111316; } .mk-t { fill: #fff; } .mk-a { fill: #4d8dff; }
.win-ctl { margin-left: auto; display: flex; height: 100%; }
.win-ctl i { width: 44px; height: 100%; position: relative; }
.win-ctl i::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.win-ctl .min::before { width: 10px; height: 1px; background: #444; }
.win-ctl .max::before { width: 9px; height: 9px; border: 1px solid #444; }
.win-ctl .cls::before { content: "\00d7"; font: 300 18px/1 var(--w-font); color: #444; }
.app-top { height: 52px; display: flex; align-items: center; gap: 14px; padding: 0 20px; background: var(--w-page); border-bottom: 1px solid var(--w-grid); }
.app-prac { font-weight: 600; font-size: 14px; width: 166px; display: flex; align-items: center; gap: 8px; }
.cv { width: 6px; height: 6px; border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; transform: rotate(45deg) translateY(-2px); display: inline-block; opacity: .6; }
.app-per { border: 1px solid #cfcec6; background: #fff; border-radius: 3px; padding: 6px 16px; font-size: 13px; font-weight: 500; }
.segc { display: inline-flex; border: 1px solid #cfcec6; border-radius: 3px; overflow: hidden; background: #fff; font-size: 12.5px; }
.segc b { font-weight: 400; padding: 5px 13px; color: var(--w-ink); } .segc b + b { border-left: 1px solid #cfcec6; }
.segc b.on { background: #e6eef5; box-shadow: inset 0 0 0 1px var(--w-data); }
.sample { margin-left: auto; font: 500 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: #7a5200; background: #fdf3dc; border: 1px solid #f2dca6; padding: 6px 8px; border-radius: 6px; white-space: nowrap; }
.app-main { display: grid; grid-template-columns: 168px 1fr; min-height: 640px; }
.app-side { background: #fbfbfa; border-right: 1px solid var(--w-grid); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.m { border: 0; background: transparent; font: inherit; font-size: 13.5px; color: var(--w-ink); padding: 7px 10px; border-radius: 4px; text-align: left; cursor: pointer; }
.m:hover { background: rgba(11,11,11,.05); }
.m[aria-selected="true"], .m.on { background: #e6eef5; font-weight: 500; }
.m.inert { cursor: default; color: var(--w-ink2); } .m.inert:hover { background: transparent; } .m.inert.on { color: var(--w-ink); background: #e6eef5; }
.app-body { padding: 18px 20px 22px; min-width: 0; }
.pane[hidden] { display: none; }
.pg-h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.pg-h h3 { font: 600 20px/1.2 var(--w-font); letter-spacing: 0; } .pg-h h3 span { font-weight: 600; margin-left: 8px; }
.pg-sub { color: var(--w-ink2); font-size: 13px; }
.pg-r { margin-left: auto; color: var(--w-ink2); font-size: 12px; display: flex; align-items: center; gap: 12px; }
.btn-a { font-weight: 400; border: 1px solid #cfcec6; background: #fff; border-radius: 3px; padding: 5px 11px; color: var(--w-ink); font-size: 12.5px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.ac { background: var(--w-surf); border: 1px solid var(--w-grid); border-radius: 3px; padding: 11px 13px 10px; min-width: 0; }
.ac.s2 { grid-column: span 2; } .ac.s4 { grid-column: span 4; }
.ac-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.ac-t { font-size: 13.5px; font-weight: 500; }
.s2 .ac-t, .s4 .ac-t { font-size: 16px; font-weight: 600; }
.ac-go { color: var(--w-mut); font-size: 14px; line-height: 1; }
.ac-tools { display: flex; gap: 5px; } .ac-tools b { font-weight: 400; border: 1px solid #cfcec6; border-radius: 3px; padding: 3px 8px; font-size: 11.5px; }
.ac-s { color: var(--w-ink2); font-size: 12.5px; margin-top: 2px; }
.ac-big { margin: 2px 0 4px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ac-big > .cu, .tl-v .cu { font-size: 30px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.ac-big small { font-size: 12px; color: var(--w-ink2); }
.dt { font-size: 12px; display: inline-flex; align-items: center; gap: 4px; } .dt.good { color: var(--w-good); } .dt.bad { color: var(--w-bad); }
.tri { width: 0; height: 0; border-left: 4.5px solid transparent; border-right: 4.5px solid transparent; }
.tri.up { border-bottom: 7px solid currentColor; } .tri.down { border-top: 7px solid currentColor; }
.chip-est { font-style: normal; font-size: 12px; background: #f6e7b0; border: 1px dashed #b8902a; padding: 1px 5px; border-radius: 2px; }
.lg1 { font-size: 12px; color: var(--w-ink2); margin: 4px 0 2px; }
.ctl-row { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 8px; }
.ac-c svg.ch { width: 100%; height: auto; display: block; overflow: visible; margin-top: 4px; }
.ch .g { stroke: var(--w-grid); stroke-width: 1; }
.ch .ax { fill: var(--w-axis); font: 11px var(--w-font); }
.ch .vl { fill: var(--w-ink); font: 11px var(--w-font); }
.ch .vi { fill: #fff; font: 600 11px var(--w-font); }
.ch .lab { fill: var(--w-ink); font: 12px var(--w-font); }
.ch .ln { fill: none; stroke: var(--w-data); stroke-width: 2; stroke-linejoin: round; }
.ch .pt { fill: var(--w-data); }
.ch .dash { fill: none; stroke: #3d8a3d; stroke-width: 2; stroke-dasharray: 5 4; }
.ch .band { fill: #efeee9; }
.ch .bl { fill: var(--w-ink2); font: 10.5px var(--w-font); }
.ch .est { fill: #f6e7b0; stroke: #b8902a; stroke-width: 1; stroke-dasharray: 3 2; }
.mx { display: flex; height: 54px; margin: 18px 0 14px; gap: 1px; }
.mx-s { display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11.5px; font-weight: 600; min-width: 0; overflow: hidden; }
.mx-lg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; font-size: 11.5px; }
.mx-l span, .mx-l { min-width: 0; white-space: nowrap; }
.mx-lg.row { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 4px; }
.mx-l { display: flex; align-items: center; gap: 6px; } .mx-l i { width: 10px; height: 10px; flex: none; } .mx-l b { margin-left: auto; font-weight: 400; }
.strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) 2.2fr; background: var(--w-surf); border: 1px solid var(--w-grid); border-radius: 3px; }
.tl { padding: 10px 12px; border-right: 1px solid var(--w-grid); min-width: 0; } .tl:last-child { border-right: 0; }
.tl-t { font-size: 12.5px; color: var(--w-ink); } .tl-t b { font-weight: 600; }
.tl-v .cu { font-size: 22px; }
.tl-n { font-size: 12px; color: var(--w-ink2); }
.tl.wide svg.ch { width: 100%; height: auto; }
.tdl { margin: 6px 0 0; }
.td { display: grid; grid-template-columns: 12px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 2px; border-bottom: 1px solid var(--w-grid, var(--line)); font-size: 13.5px; }
.td:last-child { border-bottom: 0; }
.td-v { font-weight: 600; font-variant-numeric: tabular-nums; }
.td-p { color: var(--w-data); font-size: 12.5px; text-align: right; min-width: 90px; }
.pr { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pr.high { background: #d03b3b; } .pr.mid { background: #fab219; } .pr.low { background: #9dbfdb; }
.ok-dot { width: 7px; height: 7px; border-radius: 50%; background: #13a34a; box-shadow: 0 0 0 3px rgba(19,163,74,.15); flex: none; display: inline-block; }

/* animation: bars grow, lines draw, labels fade in, numbers count (site.js adds .played) */
.js .anim .gb { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.js .anim .gx, .js .anim .gx-h { transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); }
.js .anim .dl { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); }
.js .anim .fl { opacity: 0; }
.js .anim.played .gb, .js .anim.played .gx, .js .anim.played .gx-h { transform: none; transition: transform .9s cubic-bezier(.2,.75,.2,1) calc(var(--i, 0) * 55ms); }
.js .anim.played .dl { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s cubic-bezier(.3,.6,.2,1) .1s; }
.js .anim.played .fl { opacity: 1; transition: opacity .45s ease calc(.45s + var(--i, 0) * 55ms); }
@media (prefers-reduced-motion: reduce) {
  .js .anim .gb, .js .anim .gx, .js .anim .gx-h { transform: none; } .js .anim .dl { stroke-dashoffset: 0; } .js .anim .fl { opacity: 1; }
}
.app-type { --w-page: #f9f9f7; --w-surf: #fff; --w-ink: #0b0b0b; --w-ink2: #52514e; --w-mut: #6f6e69; --w-grid: #e4e3dd; --w-axis: #6f6e69; --w-data: #0e619d; --w-good: #006300; --w-bad: #9c2a2a; --w-font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif; }

/* ---------- logos-free proof strip ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.proof-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-i { padding: 30px 28px; border-right: 1px solid var(--line); }
.proof-i:last-child { border-right: 0; }
.proof-k { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.proof-v { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: 10px; }
.proof-s { font-size: 14.5px; color: var(--ink-3); margin-top: 4px; line-height: 1.45; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.step-n { font: 500 12.5px/1 var(--mono); color: var(--accent); letter-spacing: .06em; }
.step h3 { font-size: 22px; margin: 14px 0 8px; letter-spacing: -0.025em; }
.step p { color: var(--ink-2); font-size: 16px; margin: 0; }
.step-vis { height: 150px; margin: -28px -28px 24px; background: linear-gradient(180deg, var(--paper), #fff); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: center; position: relative; }
.file { width: 132px; background: #fff; border: 1px solid var(--line-2); border-radius: 8px; padding: 12px; box-shadow: var(--shadow); font-size: 11.5px; }
.file + .file { margin-left: -36px; margin-top: 30px; }
.file b { display: block; font-size: 12.5px; margin-bottom: 8px; }
.file i { display: block; height: 5px; border-radius: 3px; background: var(--paper-2); margin-top: 6px; }
.file i:nth-child(3) { width: 70%; } .file i:nth-child(4) { width: 85%; }
.file .ext { position: absolute; font: 600 9.5px/1 var(--mono); background: #1f7a45; color: #fff; padding: 3px 5px; border-radius: 4px; margin-top: -26px; margin-left: 84px; }
.drop { width: 220px; height: 104px; border: 1.5px dashed #9db6dc; border-radius: 12px; background: var(--accent-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--accent-2); font-size: 13.5px; font-weight: 500; }
.drop svg { width: 22px; height: 22px; }
.mini-tiles { display: grid; grid-template-columns: repeat(2, 104px); gap: 8px; }
.mini-tiles div { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; box-shadow: var(--shadow); }
.mini-tiles span { display: block; font-size: 10.5px; color: var(--ink-3); }
.mini-tiles b { font-size: 16px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento-c { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 26px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow);
           transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; --w-data: #0e619d; --w-grid: #ecebe5; --w-axis: #75746d; --w-ink: #111316; --w-ink2: #5b5f66; }
.bento-c:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(16,19,24,.04), 0 18px 40px -12px rgba(16,19,24,.16); border-color: var(--line-2); }
.bento-c.b-wide { grid-column: span 2; }
.bento-v { margin-bottom: 22px; font: 400 13px/1.4 var(--w-font); color: var(--w-ink); }
.bento-v .ac { border-radius: 8px; box-shadow: 0 1px 2px rgba(16,19,24,.04); }
.bento-c h3 { font-size: 20px; letter-spacing: -0.02em; }
.bento-c p { color: var(--ink-2); font-size: 15.5px; margin: 6px 0 0; }

/* ---------- tie-out ---------- */
.tie { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.tie-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); font: 13px var(--mono); color: var(--ink-3); background: #fbfbf9; }
.tie table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tie th, .tie td { text-align: right; padding: 14px 20px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tie th:first-child, .tie th[scope="row"] { text-align: left; font-weight: 500; }
.tie thead th { font: 500 11.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); background: #fbfbf9; }
.tie td { font-family: var(--mono); font-size: 14.5px; }
.tie .diff { color: var(--good); font-weight: 600; }
.tick { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; background: #e3f4ea; color: var(--good); font-size: 11px; align-items: center; justify-content: center; margin-right: 8px; }
.tie-f { display: flex; gap: 10px; align-items: center; padding: 14px 20px; font-size: 14px; color: var(--ink-2); }

/* ---------- data flow ---------- */
.flow { position: relative; }
.flow-pc { border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 26px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); position: relative; }
.flow-cap { font: 500 12.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--night-ink-2); display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.pc-ic { width: 16px; height: 12px; border: 1.5px solid currentColor; border-radius: 2px; position: relative; }
.pc-ic::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: -5px; height: 1.5px; background: currentColor; }
.flow-row { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr; align-items: stretch; }
.node { background: var(--night-3); border: 1px solid var(--night-line); border-radius: 14px; padding: 20px; }
.node b { display: block; font-size: 16.5px; font-weight: 600; color: #fff; letter-spacing: -0.015em; margin-bottom: 6px; }
.node span { font-size: 14.5px; color: var(--night-ink-2); line-height: 1.5; display: block; }
.node-k { font: 500 12px/1 var(--mono); color: #7fb0ff; margin-bottom: 14px; }
.node.hi { border-color: rgba(var(--glow), .55); box-shadow: 0 0 0 4px rgba(var(--glow), .10), 0 0 50px -10px rgba(var(--glow), .5); background: linear-gradient(180deg, #13213a, #0f1726); }
.arrow { position: relative; }
.arrow::before { content: ""; position: absolute; left: 6px; right: 10px; top: 50%; height: 1.5px; background: linear-gradient(90deg, rgba(127,176,255,.2), #7fb0ff); }
.arrow::after { content: ""; position: absolute; right: 8px; top: calc(50% - 4px); width: 8px; height: 8px; border-top: 1.5px solid #7fb0ff; border-right: 1.5px solid #7fb0ff; transform: rotate(45deg); }
.flow-stay { margin-top: 20px; font-size: 14.5px; color: #8fe0b0; display: flex; align-items: center; gap: 8px; }
.flow-stay::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34c472; box-shadow: 0 0 10px #34c472; }
.flow-out { display: flex; flex-direction: column; align-items: center; }
.wire { width: 0; height: 56px; border-left: 1.5px dashed rgba(255,255,255,.25); }
.flow-out .node { max-width: 600px; width: 100%; text-align: center; }
.node.out { background: transparent; border-style: dashed; border-color: rgba(255,255,255,.2); }
.node.out b { font-size: 15px; }

/* ---------- audience, pricing, faq, founder ---------- */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aud-c { border-top: 1px solid var(--ink); padding-top: 22px; }
.aud-c .eyebrow { margin-bottom: 14px; color: var(--ink-3); }
.aud-c h3 { font-size: 23px; letter-spacing: -0.025em; margin-bottom: 10px; }
.aud-c p { color: var(--ink-2); font-size: 16px; }
.aud-c ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.aud-c li { font-size: 15px; color: var(--ink-2); display: flex; gap: 10px; }
.aud-c li::before { content: ""; width: 14px; height: 14px; margin-top: 4px; flex: none; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%230e5fd8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.price { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.price-l { padding: 44px; border-right: 1px solid var(--line); }
.price-r { padding: 44px; background: #fbfbf9; }
.price-n { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 6px; }
.price-n b { font-size: 76px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.price-n span { color: var(--ink-3); font-size: 16px; line-height: 1.3; }
.price-l .btn { margin-top: 26px; }
.price-note { font-size: 14.5px; color: var(--ink-3); margin-top: 16px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; font-size: 16px; color: var(--ink-2); }
.checks li::before { content: ""; width: 20px; height: 20px; flex: none; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.7 2.7L14 7.4' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.checks b { color: var(--ink); font-weight: 600; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: linear-gradient(currentColor, currentColor) center/12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 12px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 26px; color: var(--ink-2); max-width: 70ch; font-size: 16.5px; }
.faq .a p:last-child { margin: 0; }
.founder { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.founder-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: 22px; box-shadow: var(--shadow); }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #0e5fd8, #0a2a5c); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 16px; }
.founder-card b { display: block; font-size: 16px; } .founder-card span { display: block; font-size: 14px; color: var(--ink-3); }
.founder-card a { display: block; margin-top: 14px; font-size: 14px; color: var(--accent); }
.quote { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.22; letter-spacing: -0.01em; margin: 0 0 24px; }
.founder p.body { color: var(--ink-2); font-size: 17px; max-width: 62ch; }

/* ---------- closing band ---------- */
.cta-band { padding: 130px 0; text-align: center; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 70% at 50% 100%, rgba(var(--glow), .32), transparent 70%); }
.cta-band .h2 { margin: 0 auto; max-width: 20ch; color: #fff; }
.cta-band .lede { margin: 18px auto 0; text-align: center; }
.cta-band .hero-cta { margin-top: 34px; }

/* ---------- inner pages ---------- */
.prose { font-size: 17px; color: var(--ink-2); }
.prose h2 { font-size: 30px; color: var(--ink); letter-spacing: -0.03em; margin: 64px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; color: var(--ink); margin: 34px 0 10px; letter-spacing: -0.02em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; } .prose li { margin: 6px 0; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(14,95,216,.3); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose code { font: 14.5px var(--mono); background: var(--paper-2); padding: 2px 6px; border-radius: 5px; color: var(--ink); }
.legal-v { font: 13px var(--mono); color: var(--ink-3); border: 1px solid var(--line); background: var(--card); display: inline-block; padding: 6px 10px; border-radius: 8px; }
.side { display: grid; grid-template-columns: 220px 1fr; gap: 72px; align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 2px; font-size: 14.5px; }
.toc b { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.toc a { color: var(--ink-3); padding: 6px 0 6px 14px; border-left: 1px solid var(--line); }
.toc a:hover, .toc a.on { color: var(--ink); border-left-color: var(--ink); }
.box { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); padding: 28px; box-shadow: var(--shadow); margin: 24px 0; }
.box.note { background: #fbfaf5; border-color: #ebe5d2; }
.box h3:first-child { margin-top: 0; }
.kv { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 8px 0 0; }
.kv th, .kv td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv th { width: 34%; font-weight: 500; color: var(--ink); padding-right: 24px; }
.kv td { color: var(--ink-2); }
.kv code { font: 13.5px var(--mono); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.card h3 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.ic-sq { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.ic-sq svg { width: 20px; height: 20px; }
.never { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
.never div { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 15.5px; display: flex; gap: 12px; align-items: center; color: var(--ink-2); }
.never div:nth-child(odd) { border-right: 1px solid var(--line); }
.never div::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid var(--bad); background: linear-gradient(45deg, transparent 45%, var(--bad) 45%, var(--bad) 55%, transparent 55%); }

/* ---------- download ---------- */
.dl { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: start; }
.dl-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.dl-card h2 { font-size: 26px; letter-spacing: -0.03em; }
.form { display: grid; gap: 16px; margin-top: 24px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; }
.field input[type=text], .field input[type=email] { width: 100%; height: 46px; padding: 0 14px; font: 16px var(--sans); color: var(--ink); background: #fff;
  border: 1px solid var(--line-2); border-radius: 10px; transition: border-color .15s, box-shadow .15s; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(14,95,216,.14); }
.field .hint { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form .btn { width: 100%; height: 52px; font-size: 16.5px; margin-top: 6px; }
.file-facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: 14.5px; margin: 0; }
.file-facts dt { color: var(--ink-3); } .file-facts dd { margin: 0; font-family: var(--mono); font-size: 13.5px; color: var(--ink); }
.steps-v { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.steps-v li { counter-increment: s; position: relative; padding: 0 0 26px 52px; color: var(--ink-2); font-size: 16px; }
.steps-v li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card);
  font: 500 14px/30px var(--mono); text-align: center; color: var(--ink); }
.steps-v li::after { content: ""; position: absolute; left: 16px; top: 34px; bottom: 4px; width: 1px; background: var(--line); }
.steps-v li:last-child::after { display: none; }
.steps-v b { color: var(--ink); display: block; font-weight: 600; margin-bottom: 2px; }
.warnbox { border: 1px solid #d8e3f5; background: linear-gradient(180deg, #f4f8ff, #fff); border-radius: var(--r-lg); padding: 28px; }
.smartscreen { background: #1667b4; color: #fff; border-radius: 10px; padding: 22px 22px 16px; font-family: "Segoe UI", var(--sans); max-width: 420px; box-shadow: var(--shadow); margin: 18px 0; }
.smartscreen b { font-size: 22px; font-weight: 400; display: block; margin-bottom: 10px; }
.smartscreen p { font-size: 13px; color: #e5effa; margin: 0 0 6px; }
.smartscreen u { color: #fff; }
.smartscreen .ss-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.smartscreen .ss-btns span { border: 1px solid rgba(255,255,255,.7); padding: 5px 18px; font-size: 13px; }
.smartscreen .ss-btns span.on { background: #fff; color: #1667b4; }

/* ---------- changelog ---------- */
.rel { display: grid; grid-template-columns: 200px 1fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--line); }
.rel-d { font: 14px var(--mono); color: var(--ink-3); position: sticky; top: 100px; align-self: start; }
.rel-d b { display: block; color: var(--ink); font: 600 15px var(--mono); margin-bottom: 4px; }
.tag { display: inline-block; font: 500 11px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-2); margin-right: 6px; }
.tag.fix { background: #e7f5ec; color: #166534; } .tag.new { background: #f3ecfd; color: #6230b5; }
.rel h3 { font-size: 24px; letter-spacing: -0.025em; margin: 0 0 14px; }

/* ---------- footer ---------- */
.foot { background: var(--paper); border-top: 1px solid var(--line); padding: 72px 0 40px; font-size: 14.5px; }
.foot-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 64px; }
.foot-brand p { color: var(--ink-3); margin: 16px 0 14px; max-width: 34ch; }
.foot-mail { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line-2); }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot-cols h4 { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.foot-cols a { display: block; color: var(--ink-2); padding: 5px 0; }
.foot-cols a:hover { color: var(--ink); }
.foot-bot { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 32px; justify-content: space-between; color: var(--ink-3); font-size: 13px; }
.foot-legal { max-width: 70ch; text-align: right; }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: flex; align-items: center; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-c.b-wide { grid-column: span 2; }
  .proof-in { grid-template-columns: 1fr 1fr; }
  .proof-i:nth-child(2) { border-right: 0; } .proof-i:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  :root { --gut: 20px; }
  .nav-links, .nav-contact { display: none; }
  .nav-burger { display: block; }
  .nav-cta .btn { display: none; }
  .section { padding: 88px 0; }
  .split, .price, .founder, .dl, .side, .foot-top, .grid-2, .grid-3, .steps, .aud, .rel { grid-template-columns: 1fr; }
  .price-l { border-right: 0; border-bottom: 1px solid var(--line); }
  .toc { display: none; }
  .rel { gap: 12px; } .rel-d { position: static; }
  .flow-row { grid-template-columns: 1fr; gap: 0; }
  .arrow { height: 34px; }
  .arrow::before { left: 50%; right: auto; top: 4px; bottom: 8px; width: 1.5px; height: auto; background: linear-gradient(180deg, rgba(127,176,255,.2), #7fb0ff); }
  .arrow::after { left: calc(50% - 4px); right: auto; top: auto; bottom: 8px; transform: rotate(135deg); }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-bot { flex-direction: column; } .foot-legal { text-align: left; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  body { font-size: 16px; }
  .hero { padding-top: 132px; }
  .page-hero { padding: 128px 0 64px; }
  .hero-shot { margin-top: 48px; }
  .hero { background: linear-gradient(180deg, var(--night) 0, var(--night) calc(100% - 140px), var(--card) calc(100% - 140px)); }
  .hero::before, .hero::after { bottom: 140px !important; }
  .hero-cta .btn { width: 100%; }
  .hero-cta { width: 100%; }
  .bento { grid-template-columns: 1fr; } .bento-c.b-wide { grid-column: auto; }
  .proof-in { grid-template-columns: 1fr; } .proof-i { border-right: 0; border-bottom: 1px solid var(--line); }
  .never { grid-template-columns: 1fr; } .never div:nth-child(odd) { border-right: 0; }
  .price-l, .price-r, .dl-card { padding: 28px 22px; }
  .tie th, .tie td { padding: 12px 10px; font-size: 13px; }
  .tie td { font-size: 12.5px; }
  .tie thead th:nth-child(2), .tie tbody td:nth-child(2) { display: none; }
  .kv th { width: 40%; }
  .faq summary { font-size: 17px; }
  .founder { gap: 28px; }
  .cta-band { padding: 96px 0; }
}

/* ---------- inner-page pieces ---------- */
.page-hero.slim { padding-bottom: 64px; }
.flow-box { border-radius: 20px; padding: 28px; margin: 28px 0 8px; }
.flow-box .flow-row { grid-template-columns: 1fr; }
.flow-box .arrow { height: 30px; }
.flow-box .arrow::before { left: 50%; right: auto; top: 4px; bottom: 8px; width: 1.5px; height: auto; background: linear-gradient(180deg, rgba(127,176,255,.2), #7fb0ff); }
.flow-box .arrow::after { left: calc(50% - 4px); right: auto; top: auto; bottom: 8px; transform: rotate(135deg); }
.flow-box .node b { font-size: 15.5px; } .flow-box .node span { font-size: 14px; }
.tour-row { padding: 56px 0; border-bottom: 1px solid var(--line); grid-template-columns: 0.85fr 1.15fr; }
.tour-row:first-child { padding-top: 0; }
.tour-row:last-child { border-bottom: 0; padding-bottom: 0; }
.tour-row.flip > :first-child { order: 2; }
.tour-row .h2 { font-size: clamp(30px, 3.4vw, 42px); }
.mail-card { display: block; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.mail-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(16,19,24,.04), 0 18px 40px -12px rgba(16,19,24,.16); }
.mail-big { font-size: clamp(22px, 2.6vw, 30px) !important; color: var(--ink) !important; font-weight: 600; letter-spacing: -0.03em; margin: 6px 0 10px !important; }
.legal h1:not(.sr-only) { display: none; }
.legal h2 { font-size: 24px; margin-top: 48px; }
@media (max-width: 900px) {
  .tour-row { grid-template-columns: 1fr; gap: 32px; }
  .tour-row.flip > :first-child { order: 0; }
}
.prose .node b, .prose .dark b { color: #fff; }
.tour-row.flip { grid-template-columns: 1.15fr 0.85fr; }
@media (max-width: 900px) { .tour-row.flip { grid-template-columns: 1fr; } }
/* S90: a portrait page (the monthly pack PDF) stays a page, not a poster */
.pack-shot { max-width: 440px; justify-self: center; width: 100%; }
.ph-split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: center; }
.pages-idx { display: grid; border: 1px solid var(--night-line); border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); overflow: hidden; backdrop-filter: blur(6px); }
.pages-idx a { display: flex; align-items: baseline; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--night-line); transition: background-color .15s; }
.pages-idx a:last-child { border-bottom: 0; }
.pages-idx a:hover { background: rgba(255,255,255,.05); }
.pages-idx b { font-weight: 600; font-size: 14.5px; color: #fff; min-width: 96px; }
.pages-idx span { font-size: 14px; color: var(--night-ink-2); }
@media (max-width: 900px) { .ph-split { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 640px) { .hide-sm { display: none; } .proof-in { grid-template-columns: 1fr 1fr; } .proof-i { border-right: 1px solid var(--line); padding: 22px 16px; } .proof-i:nth-child(2n) { border-right: 0; } .proof-v { font-size: 18px; } }
.quote { text-wrap: balance; }
/* hero load-in (once), product window rises last */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.js .hero-copy > * { animation: rise .8s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .06s; } .js .hero-copy > :nth-child(3) { animation-delay: .14s; }
.js .hero-copy > :nth-child(4) { animation-delay: .22s; } .js .hero-copy > :nth-child(5) { animation-delay: .3s; }
.js .hero-shot { animation: rise 1s var(--ease) .38s both; }
.shot-cap { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 18px; font: 400 13px/1.4 var(--mono); color: var(--night-ink-3); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #34c472; box-shadow: 0 0 0 0 rgba(52,196,114,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,196,114,.55); } 70% { box-shadow: 0 0 0 8px rgba(52,196,114,0); } 100% { box-shadow: 0 0 0 0 rgba(52,196,114,0); } }
@media (max-width: 640px) { .shot-cap { font-size: 11.5px; text-align: center; } }
.founder-card .light-mark .mark { width: 44px; height: 44px; }
.draft { background: #fff4d6; border: 1px dashed #d9a400; padding: 10px 14px; border-radius: 8px; color: #7a5200 !important; }
.form-err { margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: #fdecea; border: 1px solid #f3c2bc; color: #8a1c12; font-size: 14.5px; }

/* tour shots: cards only, 760px base */
.win.lite { width: 760px; }
.win.lite .win-bar { justify-content: space-between; padding-right: 10px; }
.win.lite .app-body { padding: 14px 16px 16px; }
.win.lite .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.win.lite .ac.s2, .win.lite .ac.s4 { grid-column: span 2; }
.win.lite .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.win.lite .strip .tl:nth-child(3) { border-right: 0; }
.win.lite .strip .tl:nth-child(-n+3) { border-bottom: 1px solid var(--w-grid); }
.win.lite .strip .tl.wide { grid-column: span 3; }
.win.lite .pg-sub { display: none; }

/* download hand-off (S71b): the busy button, the thanks page's "where to find it" card and its little browser picture */
.btn.is-busy { opacity: .85; cursor: progress; }
.dl-card [hidden] { display: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.dl-code-links { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }
.dl-sent { color: var(--ink); }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.dots::after { content: ""; display: inline-block; width: 1.2em; text-align: left; animation: dots 1.2s steps(4, end) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.dl-where { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.dl-where .h3 { font-size: 22px; letter-spacing: -0.02em; margin: 0 0 10px; }
.dl-where p { color: var(--ink-2); font-size: 16.5px; margin: 0 0 10px; }
.dl-where kbd { font: 500 13px/1 var(--mono); padding: 3px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: #fafaf8; color: var(--ink); }
.dl-pic { width: 100%; height: auto; display: block; }
.dl-bar { fill: #f1f2f4; stroke: var(--line); }
.dl-url { fill: #fff; stroke: var(--line); }
.dl-dot { fill: #c9ccd1; }
.dl-ring { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2; }
.dl-arrow { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dl-pop { fill: #fff; stroke: var(--line); }
.dl-fileic { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.5; }
.dl-line { fill: #d6d8dc; }
.dl-line2 { fill: #e7e8eb; }
.dl-track { fill: #eceef1; }
.dl-fill { fill: var(--accent); }
@media (prefers-reduced-motion: reduce) { .spin, .dots::after { animation: none; } }
@media (max-width: 900px) { .dl-where { grid-template-columns: 1fr; gap: 20px; padding: 22px; } .dl-pic { max-width: 360px; } }

/* Real product pictures (S78): the app itself, captured by website\tools\tour_shots.js; no drawn copies */
.rshot { margin: 0; position: relative; min-width: 0; }
.rshot img { display: block; width: 100%; height: auto; }
.rshot .win { width: auto; transform: none; }
.rshot.card-shot { border-radius: 12px; overflow: hidden; background: #f9f9f7;
  box-shadow: 0 0 0 1px rgba(16,19,24,.10), 0 24px 60px -20px rgba(16,19,24,.28), 0 2px 6px rgba(16,19,24,.06); }
.rshot.card-shot .sample { position: absolute; right: 10px; bottom: 10px; }
.hero-shot .rshot .win { box-shadow: 0 0 0 1px rgba(255,255,255,.10), 0 0 0 1px rgba(0,0,0,.6), var(--shadow-lg); }
.shot-link { display: block; color: inherit; text-decoration: none; }
.shot-link:hover .win { outline: 2px solid rgba(77,141,255,.6); outline-offset: 2px; }
.shot-cap a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.feat-l { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feat-l li { position: relative; padding-left: 22px; color: var(--ink-2); line-height: 1.5; }
.feat-l li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent, #2f6fe0); }
.feat-l b { color: var(--ink); font-weight: 600; }
#product .tour-row h3.h2 { margin: 10px 0 0; }
.more-pages { margin: 48px 0 0; color: var(--ink-2); text-align: center; }
.more-pages .link { margin-left: 8px; }

/* ---- The eBO setup guide (/setup, S96): numbered steps with a marked-up screen each, the Copy buttons ---- */
.guide { max-width: 860px; }
.guide h2 { scroll-margin-top: 96px; }
.guide .g-h { margin: 0 0 14px; font-size: 24px; }
.g-once { font: 500 12px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft);
          padding: 5px 8px; border-radius: 6px; vertical-align: middle; margin-left: 8px; }
.g-need { margin-bottom: 10px; } .g-need li { margin: 8px 0; }
.g-tip, .g-small { font-size: 15px; color: var(--ink-3); }
.g-steps { list-style: none; counter-reset: g; padding: 0 !important; margin: 28px 0 0 !important; }
.g-steps[start="9"] { counter-reset: g 8; } .g-steps[start="13"] { counter-reset: g 12; } .g-steps[start="20"] { counter-reset: g 19; }
.g-steps > li { counter-increment: g; position: relative; padding: 0 0 44px 64px; margin: 0 !important; }
.g-steps > li::before { content: counter(g); position: absolute; left: 0; top: -4px; width: 42px; height: 42px; border-radius: 50%;
                        background: var(--ink); color: #fff; font: 600 18px/42px var(--sans); text-align: center; }
.g-steps > li::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 10px; width: 2px; background: var(--line); }
.g-steps > li:last-child::after { display: none; }
.g-steps h3 { margin: 4px 0 8px !important; font-size: 21px; }
.g-steps p { margin: 0 0 10px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.g-steps p.g-small { font-size: 15px; }
.guide figure { margin: 16px 0 0; }
.guide figure img { width: auto; max-width: 100%; height: auto; border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow); background: #fff; }
.guide figure img.g-narrow { max-width: min(100%, 470px); }
.guide figure img.g-mid { max-width: min(100%, 560px); }
.g-name { font-family: var(--mono); font-weight: 600; background: var(--paper-2); padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.g-copy { margin: 16px 0 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); }
.g-copy-btn { height: 58px; padding: 0 28px; font-size: 18px; border-radius: 12px; min-width: 250px; transition: background-color .2s; }
.g-copy-btn .ic { width: 22px; height: 22px; }
.g-copy-btn.is-copied, .g-copy-btn.is-copied:hover { background: #16794a; box-shadow: 0 6px 20px -6px rgba(22,121,74,.55); }
.g-copy-msg { min-height: 1.6em; margin: 12px 0 0 !important; font-weight: 600; color: #16794a; font-size: 16px !important; }
.g-copy-msg.is-bad { color: #b42318; }
.g-copy-alt { margin: 6px 0 0 !important; font-size: 15px !important; color: var(--ink-3) !important; }
.g-now, .g-done { margin: 0 0 36px; padding: 18px 22px; border-radius: var(--r); background: var(--accent-soft); color: var(--ink); font-size: 17px; }
.g-done { background: #e7f4ec; margin-top: 4px; }
.g-if { margin-top: 20px; }
.g-if h3 { margin-top: 0 !important; font-size: 18px; }
.g-if p, .g-if li { font-size: 16px !important; }
.g-month { margin-top: 40px; }
.g-month ol li { font-size: 17px; margin: 10px 0; }
.g-help dt { color: var(--ink); font-weight: 600; margin-top: 18px; }
.g-help dd { margin: 4px 0 0; }
.g-confirm { display: inline-block; font: 500 13px/1.4 var(--mono) !important; color: #7a5200 !important; background: #fdf3dc; border: 1px solid #f2dca6;
             padding: 4px 8px; border-radius: 6px; }
.g-warn { margin: 14px 0 0 !important; padding: 12px 16px; border-left: 4px solid #d92d20; background: #fdecea; border-radius: 6px; color: var(--ink) !important; font-size: 16px !important; }

/* =====================================================================================================================
   Look C (S112, Oct 13, Sam: "C is a go"): white, a light blue wash at the top, the app's own blue. Everything above is
   re-tinted here rather than rewritten, so the inner pages (setup guide, download, legal, help) follow without edits.
   ===================================================================================================================== */
:root { --accent: #0e619d; --accent-2: #0a3758; --accent-soft: #e6eef5; --paper: #ffffff; --paper-2: #f6f8fa;
        --glow: 14, 97, 157; --wash: linear-gradient(180deg, #f1f6fa 0%, #ffffff 100%);
        --data: #0e619d; --data-soft: rgba(14,97,157,.14); --flag: #b54708; --flag-soft: #fff8f2; --muted-bar: #c9c7bd; }
.nav { color: var(--ink); background: rgba(255,255,255,.88); }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.95); }
.nav .mark-bg { fill: var(--accent); } .nav .mark-t { fill: #fff; } .nav .mark-a { fill: #9cc3e6; }
.nav-links a, .nav-contact { color: var(--ink-2); }
.nav-links a:hover, .nav-contact:hover { color: var(--ink); background: var(--paper-2); }
.nav-links a[aria-current], .nav-contact[aria-current] { color: var(--accent); }
.nav-burger span { background: var(--ink); }
.mnav { background: #fff; border-bottom-color: var(--line); } .mnav a { border-bottom-color: var(--line); }
.btn-primary { box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 1px 2px rgba(10,40,80,.2), 0 6px 18px -8px rgba(14,97,157,.6); }
.btn-primary:hover { background: #0b5288; }
.dark { background: var(--wash); color: var(--ink); }
.dark .eyebrow { color: var(--accent); } .dark .lede { color: var(--ink-2); } .dark .link { color: var(--accent); }
.dark .btn-ghost { color: var(--ink); border-color: var(--line-2); background: #fff; }
.dark .btn-ghost:hover { border-color: var(--ink-3); background: #fff; }
.hero, .page-hero { margin-top: 0; background: var(--wash); }
.hero::before, .hero::after, .page-hero::before, .cta-band::before, .hero-shot::before { display: none; }
.page-hero { padding: 72px 0 64px; }
.h1, .page-hero .h1 { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--ink); font-weight: 700; letter-spacing: -0.04em; }
.cta-band .h2 { color: var(--ink); }
.facts { color: var(--ink-3); } .facts span::before { background: var(--good); box-shadow: none; }
.pill { border-color: var(--line); background: #fff; color: var(--ink-2); }
.pill b { color: var(--accent); background: var(--accent-soft); border-color: transparent; }
.flow-pc { border-color: var(--line); background: #fff; } .flow-cap { color: var(--ink-3); }
.node { background: var(--paper-2); border-color: var(--line); } .node b { color: var(--ink); } .node span { color: var(--ink-2); }
.node-k { color: var(--accent); } .node.hi { background: var(--accent-soft); border-color: var(--accent); box-shadow: none; }
.wire { border-left-color: var(--line-2); } .node.out { border-color: var(--line-2); }
.flow-stay { color: var(--good); } .flow-stay::before { background: var(--good); box-shadow: none; }

/* ---- the home hero: headline, buttons and "which one is you" on the left, the live Brief on the right ---- */
.c-hero { background: var(--wash); padding: 28px 0 48px; }
.c-hero-in { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: start; }
.kicker { display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--accent);
          background: var(--accent-soft); padding: 6px 12px; border-radius: 99px; }
.c-h1 { font-size: clamp(38px, 3.9vw, 54px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 700; margin-top: 14px; max-width: 15ch; }
.c-hero .lede { font-size: 18px; margin-top: 14px; }
.c-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.who-h { font-size: 13.5px; font-weight: 600; color: var(--ink-3); margin: 18px 0 8px; }
.who { display: grid; gap: 8px; }
.who a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 10px 16px; border: 1px solid var(--line);
         background: #fff; border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.who a:hover { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.who b { display: block; font-size: 16.5px; font-weight: 600; } .who span { display: block; color: var(--ink-3); font-size: 14px; line-height: 1.4; }
.who i { font-style: normal; color: var(--accent); font-size: 20px; }
.c-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 13.5px; color: var(--ink-3); justify-content: flex-end; }
.c-facts span::before { content: "\2713  "; color: var(--good); }

/* ---- the live charts: the demo practice's own numbers (website\demo\live.json), drawn light; numbers count up and
   bars grow from the baseline once, when they scroll into view (site.js); still under reduced motion ---- */
/* S112b: the app's own chart in the frame (website\demo\embed.js); the frame's height follows it (site.js) */
.lv-embed .app-embed { display: block; width: 100%; border: 0; background: #f9f9f7; }   /* the app's page (tokens --c-page) */
.lv { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 13px;
      box-shadow: 0 24px 60px -28px rgba(14,97,157,.38); }
.lv-top { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f9f9f7; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.lv-dots { display: flex; gap: 6px; } .lv-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d9d8d2; }
.lv-tag { margin-left: auto; font: 500 11px var(--mono); padding: 2px 8px; border-radius: 99px; background: #fff4d6; color: #7a5a00; }
.lv-body { padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lv-tile { background: #fcfcfb; border: 1px solid #eceae4; border-radius: 10px; padding: 14px 16px; min-width: 0; }
.lv-tile.wide { grid-column: 1 / -1; }
.lv-tile.flag { background: var(--flag-soft); border-color: #f5dcc8; }
.lv-k { font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.lv-v { font-size: 28px; font-weight: 650; letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.lv-s { font-size: 12.5px; margin-top: 4px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.lv-flag { font-size: 15px; font-weight: 600; color: var(--flag); margin-top: 6px; line-height: 1.3; }
.up { color: var(--good); font-weight: 600; } .dn { color: var(--bad); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 96px; margin-top: 12px; }
.bars.sm { height: 46px; gap: 3px; }
.bars .col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-width: 0; }
.bars .col span { font-size: 10.5px; text-align: center; color: var(--ink-3); white-space: nowrap; }
.bars.sm .col span { display: none; }
.bars .b { height: var(--h); background: var(--data); border-radius: 4px 4px 1px 1px; transform-origin: bottom; }
.bars .b.ctx { background: var(--muted-bar); } .bars .b.hot { background: var(--flag); }
.bars .stack { display: flex; flex-direction: column-reverse; gap: 2px; height: var(--h); transform-origin: bottom; }
.bars .stack .b { border-radius: 0; } .bars .stack .b:last-child { border-radius: 4px 4px 0 0; }
.bars .stack .b.est { background: repeating-linear-gradient(135deg, rgba(14,97,157,.38) 0 3px, rgba(14,97,157,.12) 3px 7px); }
.js .anim .b, .js .anim .stack { transform: scaleY(0); transition: transform .7s var(--ease) calc(var(--i, 0) * 55ms); }
.js .anim.played .b, .js .anim.played .stack { transform: scaleY(1); }
.js .anim .stack .b { transform: none; }
.hbars { display: grid; gap: 8px; margin-top: 10px; }
.hb { display: grid; grid-template-columns: 9.5em 1fr 5.5em; gap: 10px; align-items: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.hbars.wide-l .hb { grid-template-columns: 17em 1fr 4.5em; }
.hb > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); }
.hb > span:last-child { text-align: right; font-weight: 600; }
.hb .track { height: 12px; background: var(--paper-2); border-radius: 3px; overflow: hidden; }
.hb .fill { height: 100%; width: var(--w); background: var(--data); border-radius: 3px; transform-origin: left; }
.js .anim .fill { transform: scaleX(0); transition: transform .8s var(--ease) calc(var(--i, 0) * 60ms); }
.js .anim.played .fill { transform: scaleX(1); }
.range { position: relative; height: 8px; border-radius: 99px; margin-top: 18px; background: var(--paper-2); }
.range-band { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: var(--data-soft); }
.range-dot { position: absolute; top: -3px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--data); border: 2px solid #fff; }
.js .anim .range-dot { opacity: 0; transition: opacity .4s .6s; } .js .anim.played .range-dot { opacity: 1; }
.lv-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.lv-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; background: var(--data); }
.lv-legend i.est { background: repeating-linear-gradient(135deg, rgba(14,97,157,.45) 0 2px, rgba(14,97,157,.15) 2px 5px); }
.lv-legend i.ctx { background: var(--muted-bar); } .lv-legend i.hot { background: var(--flag); }
.lv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lv-pad { padding: 18px 20px; }
.lv-h { font-size: 14px; font-weight: 600; color: var(--ink); }
.lv-note { font-size: 12px; color: var(--ink-3); margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .js .anim .b, .js .anim .stack, .js .anim .fill { transform: none; } .js .anim .range-dot { opacity: 1; } }

/* ---- feature rows: outcome first, one live chart or real screen, "See it live" opens the demo on that screen ---- */
.feat { padding: 96px 0; border-top: 1px solid var(--line); }
.feat.alt { background: var(--paper-2); }
.feat-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.feat.flip .feat-in > :first-child { order: 2; }
.feat h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; max-width: 18ch; }
.feat p { font-size: 17.5px; line-height: 1.55; color: var(--ink-2); margin-top: 16px; max-width: 46ch; }
.feat ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.feat li { position: relative; padding-left: 16px; font-size: 16px; color: var(--ink-2); }
.feat li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.feat li b { color: var(--ink); }
.go-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; font-weight: 600; font-size: 15.5px; }
.go-links a { color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.go-links a:hover { color: var(--accent-2); }
.feat .rshot img { border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 24px 60px -30px rgba(14,97,157,.35); background: #fff; }
.tiles3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.tile3 { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.tile3 b { display: block; font-size: 18px; letter-spacing: -0.015em; } .tile3 p { font-size: 15.5px; margin-top: 8px; }
.tile3 a { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 600; font-size: 15px; }
.center-h { text-align: center; } .center-h h2 { margin: 0 auto; } .center-h p { margin-left: auto; margin-right: auto; }

/* ---- the "that's me" pages ---- */
.for-hero { background: var(--wash); padding: 64px 0 56px; }
.for-hero .c-h1 { max-width: 18ch; }
.for-hero .lede { max-width: 54ch; }

@media (max-width: 1080px) { .c-hero-in, .feat-in { grid-template-columns: 1fr; } .feat.flip .feat-in > :first-child { order: 0; } .c-facts { justify-content: flex-start; } }
@media (max-width: 720px) { .lv-body { grid-template-columns: 1fr; } .lv-two, .tiles3 { grid-template-columns: 1fr; } .hb { grid-template-columns: 7em 1fr 4.5em; } }
/* S112b: the practice-switch clip (components.py switch_clip) */
.switch-wrap { max-width: 960px; margin: 32px auto 8px; }
.switch-shot img { display: block; width: 100%; height: auto; }
/* S112b: the role pages' shared parts: everything included, the connected clip's steps, your week */
.all-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 32px; }
.all-grid a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; }
.all-grid a:hover { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.all-grid b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.all-grid span { display: block; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.quiet-line { margin: 24px auto 0; max-width: none; text-align: center; font-size: 14.5px; color: var(--ink-3); }
.steps4 { list-style: none; padding: 0; margin: 20px auto 0; max-width: 960px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: s; }
.feat .steps4 li { padding-left: 0; counter-increment: s; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.feat .steps4 li::before { position: static; top: auto; content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.steps4 b { display: block; color: var(--ink); }
.week { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.week div { padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.week b { display: block; font: 500 12.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.week p { margin: 0; font-size: 15.5px; line-height: 1.5; }
@media (max-width: 900px) { .all-grid { grid-template-columns: repeat(2, 1fr); } .steps4, .week { grid-template-columns: 1fr 1fr; } }
.feat.band { background: linear-gradient(180deg, #eef5fb 0%, #f7fafd 100%); border-top: 1px solid #dde9f3; border-bottom: 1px solid #dde9f3; }
.feat.ruled { border-top: 1px solid var(--line); }
/* S112b: an app chart that needs the page's width (many panels, a wide table): words above, chart full width */
.feat-in.wide { grid-template-columns: 1fr; gap: 36px; }
.feat-in.wide > div:first-child { order: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; align-items: end; }
.feat-in.wide > div:first-child .eyebrow, .feat-in.wide > div:first-child h2 { grid-column: 1; }
.feat-in.wide > div:first-child p, .feat-in.wide > div:first-child .go-links { grid-column: 2; }
.feat-in.wide h2 { max-width: 20ch; }
@media (max-width: 900px) { .feat-in.wide > div:first-child { grid-template-columns: 1fr; } .feat-in.wide > div:first-child > * { grid-column: 1 !important; } }
