/* ============================================================
   Peakflov — Design System v3 (PREVIEW, local only)
   leftflow.ai-style: bright, soft-rounded product UI.
   Plus Jakarta Sans everywhere, ink pill buttons, highlighter
   accent on headings, cards with a 1px line + whisper shadow.
   Loaded AFTER styles-v2.css: part 1 reskins every existing
   page, part 2 is the new homepage components.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --paper:   #FFFFFF;
  --paper-2: #F6F7F9;
  --paper-3: #ECEEF2;
  --ink:     #0E1116;
  --ink-2:   #151922;
  --ink-3:   #1C212B;

  --text:      #0E1116;
  --text-dim:  #5C6470;
  --text-mute: #8A919C;
  --text-inv:      #F5F6F8;
  --text-inv-dim:  #A4ABB6;
  --text-inv-mute: #747C88;

  --line:      #E4E7EC;
  --line-soft: #EEF0F3;
  --line-inv:      rgba(255,255,255,.12);
  --line-inv-soft: rgba(255,255,255,.07);

  /* Brand blue stays the accent; the highlighter is its soft tint. */
  --blue:     #3B82F6;
  --blue-ink: #2563EB;
  --blue-2:   #2563EB; /* lang.js dependency — keep */
  --mark:     #CFE0FF;
  --mark-ink: #2F5BD3;
  --ok:       #16A34A;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --shadow-1: 0 1px 2px rgba(14,17,22,.05);
  --shadow-2: 0 1px 2px rgba(14,17,22,.06), 0 12px 32px -14px rgba(14,17,22,.18);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --maxw: 1180px;
  --nav-h: 76px;
}

/* ———————————————— PART 1 · global reskin ———————————————— */
body { font-family: var(--font); background: var(--paper); color: var(--text); font-size: 16px; }
p { color: var(--text-dim); }

h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; letter-spacing: -0.03em; }
h3 { font-weight: 650; letter-spacing: -0.02em; }

/* Every serif surface becomes the sans display face */
.display, .cell-price, .cell-metric, .hero-meta-item .k, .intro-inner .statement,
.row-svc .idx .num, .ind-block h3, .prin h3, .stat .v, .blog-card h3,
.article-body h2, .article-body blockquote, .err-code {
  font-family: var(--font) !important;
  font-style: normal;
}
.display { font-weight: 750; letter-spacing: -0.04em; }
h1.display, .hero h1, .page-head h1 { letter-spacing: -0.045em; }

/* Highlighter accent: <em> and lang.js's hardcoded blue spans */
.display em,
.display span[style*="blue-2"],
.statement em,
.mark {
  font-style: normal !important;
  color: inherit !important;
  background: linear-gradient(transparent 52%, var(--mark) 52%, var(--mark) 92%, transparent 92%);
  padding: 0 .08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.band-ink .display em,
.band-ink .display span[style*="blue-2"],
.band-ink .mark,
.sec-ink .display em {
  color: var(--ink) !important;
  background: var(--mark);
  border-radius: 6px;
  padding: 0 .14em;
}

/* Eyebrows become small pill badges */
.eyebrow {
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
  box-shadow: var(--shadow-1);
}
.band-ink .eyebrow, .sec-ink .eyebrow { background: rgba(255,255,255,.06); border-color: var(--line-inv); color: var(--text-inv-dim); box-shadow: none; }

.container { max-width: var(--maxw); padding: 0 24px; }
.band { border-bottom: 0; }
.band-paper-2 { background: var(--paper-2); }
.band-ink { background: var(--ink); }
.section { padding: 104px 0; }

.section-head { border-bottom: 0; padding-bottom: 0; margin-bottom: 48px; }

/* Nav: light, quiet, centred links, ink pill CTA */
.nav {
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  padding: 0 max(24px, calc((100vw - 1240px)/2));
  transition: border-color .2s ease, background .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav .logo img { height: 40px; }
.nav--over:not(.is-solid) { background: transparent; border-bottom-color: transparent; }
.nav--over:not(.is-solid) .logo-ink { display: block; }
.nav--over:not(.is-solid) .logo-light { display: none; }
.nav--over:not(.is-solid) .nav-links a { color: var(--text-dim); }
.nav--over:not(.is-solid) .nav-links a:hover,
.nav--over:not(.is-solid) .nav-links a.active { color: var(--text); }
.nav--over:not(.is-solid) .lang-switch,
.nav--over:not(.is-solid) .nav-hamburger { border-color: var(--line); }
.nav--over:not(.is-solid) .lang-btn { color: var(--text-dim); }
.nav--over:not(.is-solid) .lang-btn.active { background: var(--ink); color: #fff; }
.nav--over:not(.is-solid) .nav-hamburger span { background: var(--ink); }
.nav--over.is-solid { background: rgba(255,255,255,.88); border-bottom-color: var(--line); }

.nav-links { margin: 0 auto; gap: 4px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-dim); font-family: var(--font); letter-spacing: 0; text-transform: none; padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover { color: var(--text); background: var(--paper-2); }
.nav-links a.active { color: var(--text); font-weight: 600; }
.lang-switch { border-radius: 999px; overflow: hidden; border-color: var(--line); }
.lang-btn { font-family: var(--font); font-weight: 600; font-size: 12px; letter-spacing: 0; }
.lang-btn.active { background: var(--ink); color: #fff; }
.nav-hamburger { border-radius: 999px; }
.nav-mobile-menu a { font-family: var(--font); }

/* Buttons: pills. Primary = ink, secondary = white with line */
.btn {
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  letter-spacing: -0.01em;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn-primary {
  background: var(--ink); color: #fff; border-color: var(--ink);
  box-shadow: 0 1px 2px rgba(14,17,22,.12), 0 8px 20px -8px rgba(14,17,22,.35);
}
.btn-primary:hover { background: #222833; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: #D5DAE2; box-shadow: var(--shadow-1); }
.btn-ghost:hover { border-color: var(--ink); }
.band-ink .btn-primary { background: #fff; color: var(--ink); border-color: #fff; box-shadow: none; }
.band-ink .btn-primary:hover { background: var(--mark); }
.band-ink .btn-ghost { background: transparent; color: #fff; border-color: var(--line-inv); box-shadow: none; }
.btn-lg { padding: 15px 28px; font-size: 16px; }

.link-rule { font-family: var(--font); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; }

/* Hairline grids → separated soft cards */
.grid { gap: 16px; background: transparent; border: 0; }
.band-ink .grid { background: transparent; }
.cell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 28px;
  box-shadow: var(--shadow-1);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.band-paper .cell { background: var(--paper); }
.band-paper-2 .cell { background: #fff; }
.cell:hover, .band-paper-2 .cell:hover { background: #fff; box-shadow: var(--shadow-2); transform: translateY(-2px); }
.band-ink .cell { background: var(--ink-2); border-color: var(--line-inv); box-shadow: none; }
.band-ink .cell:hover { background: var(--ink-3); }
.cell-num { font-family: var(--mono); }
.cell-price { font-weight: 700; letter-spacing: -0.02em; }
.icon-flat {
  width: 40px; height: 40px; padding: 9px;
  border-radius: 12px;
  background: #EEF4FF;
  color: var(--blue-ink);
}
.band-ink .icon-flat { background: rgba(255,255,255,.06); }
.tag { font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; background: var(--paper-2); border-color: var(--line); }
.list-dash li::before { color: var(--blue-ink); }

.page-head { padding-top: 96px; }
.page-head h1 { font-weight: 750; }
.breadcrumb { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 13px; }

.compare-table { border-radius: var(--r); overflow: hidden; }
.compare-table th { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 13px; }

input, textarea, select { font-family: var(--font) !important; border-radius: var(--r-sm) !important; }

.footer { background: var(--ink); }
.footer-grid h4 { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; }
.footer-bottom { font-family: var(--font); text-transform: none; letter-spacing: 0; }
.cookie-banner { border-radius: var(--r); font-family: var(--font); }

/* ———————————————— PART 2 · new homepage ———————————————— */
.v3 .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.v3 .center { text-align: center; }
.v3 .sec { padding: 112px 0; }
.v3 .sec-gray { background: var(--paper-2); }
.v3 .sec-ink { background: var(--ink); color: var(--text-inv); }
.v3 .sec-ink p { color: var(--text-inv-dim); }
.v3 .sec-ink h2, .v3 .sec-ink h3 { color: #fff; }
.v3 .h2 { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.06; margin: 18px 0 16px; }
.v3 .lede { font-size: 18px; line-height: 1.6; max-width: 620px; }
.v3 .center .lede { margin: 0 auto; }

/* Hero */
.hx {
  position: relative;
  padding: calc(var(--nav-h) + 64px) 0 0;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 12% -6%, #E7F5EC 0%, transparent 60%),
    radial-gradient(900px 460px at 88% -4%, #FFF1E2 0%, transparent 60%),
    radial-gradient(1100px 520px at 50% 0%, #EAF1FF 0%, transparent 70%),
    #fff;
}
.hx-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 600; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 15px; box-shadow: var(--shadow-1);
}
.hx-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #EF4444; box-shadow: 0 0 0 3px #FEE2E2; animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px #FEE2E200; } }
.hx h1 {
  font-size: clamp(38px, 5.6vw, 70px);
  line-height: 1.04;
  margin: 26px auto 24px;
  max-width: 1080px;
  text-wrap: balance;
}
.hx .lede { font-size: clamp(17px, 1.6vw, 20px); max-width: 700px; }
.hx-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 34px 0 56px; }

/* App-window mockup */
.app {
  max-width: 1000px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 30px 80px -30px rgba(14,17,22,.25), 0 0 0 6px rgba(255,255,255,.6);
  overflow: hidden;
  text-align: left;
}
.app-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #FBFBFC; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E2E5EA; }
.app-bar .url { margin-left: 14px; font-size: 12px; color: var(--text-mute); font-family: var(--mono); }
.app-body { display: grid; grid-template-columns: 200px 1fr; min-height: 380px; }
.app-side { border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.app-side a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 14px; color: var(--text-dim); font-weight: 500; }
.app-side a svg { width: 16px; height: 16px; flex: none; }
.app-side a.on { background: #fff; color: var(--text); font-weight: 600; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.app-main { padding: 22px 24px 26px; }
.app-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.app-head h4 { font-size: 17px; font-weight: 700; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-dim); background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.chip.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.app-head .wk { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--text-dim); }
.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.bars .seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.bars .seg i { height: 20px; border-radius: 5px; background: var(--paper-3); }
.bars .seg i.d { background: var(--ink); }
.bars .seg i.n { background: var(--blue-ink); }
.bars .lbl { margin-top: 9px; font-family: var(--mono); font-size: 10.5px; color: var(--text-mute); letter-spacing: .06em; }
.bars .ttl { font-size: 13px; font-weight: 600; color: var(--text); }
.app-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; }
.panel { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.panel .k { font-size: 12.5px; color: var(--text-mute); font-weight: 500; margin-bottom: 8px; }
.runs { list-style: none; margin: 0; padding: 0; }
.runs li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--text); font-weight: 500; }
.runs li:first-child { border-top: 0; }
.runs .n { font-family: var(--mono); font-size: 12px; color: var(--text-mute); width: 22px; }
.runs .st { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.runs .st.ok { background: var(--ok); }
.runs .st.ok::after { content: ""; width: 7px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px,-1px); }
.runs .st.go { border: 2px solid var(--blue-ink); }
.runs .st.go::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-ink); }
.runs .st.wait { border: 1.5px solid #CBD1DA; }
.runs li.dim { color: var(--text-mute); }
.panel.hl { background: #F3F7FF; border-color: #CFE0FF; }
.panel.hl .k { color: var(--mark-ink); font-weight: 600; }
.panel.hl .big { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.35; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips .chip { background: #fff; }
.chips .chip .ck { color: var(--ok); }
.panel.mini { margin-top: 12px; display: flex; align-items: center; gap: 12px; }
.panel.mini .ic { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text-dim); }
.panel.mini small { display: block; font-size: 12px; color: var(--text-mute); }
.panel.mini b { font-size: 14px; font-weight: 600; }

/* Spec strip under the hero */
.specs { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; position: relative; }
.specs .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.specs .s { padding: 22px 20px; border-left: 1px solid var(--line); }
.specs .s:first-child { border-left: 0; }
.specs small { display: block; font-size: 12.5px; color: var(--text-mute); font-weight: 500; margin-bottom: 4px; }
.specs b { font-size: 15px; font-weight: 650; }

/* Tool marquee */
.logos { padding: 34px 0 40px; border-bottom: 1px solid var(--line); }
.logos .cap { text-align: center; font-size: 13px; color: var(--text-mute); font-weight: 500; margin-bottom: 20px; }
.logos .mask { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos .track { display: flex; gap: 64px; width: max-content; animation: slide 38s linear infinite; }
.logos .track span { font-size: 19px; font-weight: 700; color: #9AA1AC; letter-spacing: -0.02em; white-space: nowrap; }
.logos .track span.serif { font-family: Georgia, serif; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; font-size: 16px; }
.logos .track span.wide { letter-spacing: .28em; text-transform: uppercase; font-size: 15px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Difference */
.diff { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.diff .h2 { font-size: clamp(32px, 4vw, 46px); }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.vs-card { border-radius: var(--r); padding: 24px 22px; }
.vs-card h4 { font-size: 14.5px; font-weight: 600; margin-bottom: 16px; }
.vs-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.vs-card li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.4; }
.vs-card li .i { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; font-size: 10px; font-weight: 700; }
.vs-card.them { border: 1px dashed #D5DAE2; background: transparent; }
.vs-card.them h4, .vs-card.them li { color: var(--text-mute); }
.vs-card.them .i { background: var(--paper-3); color: var(--text-mute); }
.vs-card.us { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); transform: translateY(-8px); }
.vs-card.us li { color: var(--text); font-weight: 600; }
.vs-card.us .i { background: var(--ok); color: #fff; }

/* Segmented toggle */
.seg-tog { display: inline-flex; padding: 4px; gap: 2px; background: var(--paper-3); border-radius: 999px; margin: 30px auto 48px; }
.seg-tog button { border: 0; background: transparent; font: 600 14px var(--font); color: var(--text-dim); padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.seg-tog button.on { background: #fff; color: var(--text); box-shadow: var(--shadow-1); }

/* Timeline */
.tl { position: relative; }
.tl-rail { position: relative; height: 10px; margin: 0 6px 14px; }
.tl-rail::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 2px; background: var(--ink); }
.tl-rail i { position: absolute; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: translateX(-50%); }
.tl-rail i:first-child { background: #fff; border: 2px solid var(--ink); }
.tl-grid { display: grid; gap: 12px; }
.tl-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; display: flex; flex-direction: column; box-shadow: var(--shadow-1); }
.tl-card .wk { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; color: var(--text-mute); text-transform: uppercase; margin-bottom: 8px; }
.tl-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.25; }
.tl-card p { font-size: 13.5px; line-height: 1.5; margin-bottom: 16px; }
.tl-card .out { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft); display: flex; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.35; }
.tl-card .out::before { content: "✓"; color: var(--ok); font-weight: 700; }
.tl-flag { display: flex; justify-content: flex-end; margin-top: 12px; }
.tl-flag span { background: var(--mark); color: var(--ink); border-radius: 12px; padding: 10px 16px; font-size: 13.5px; font-weight: 650; display: inline-flex; gap: 8px; }

/* Service library */
.lib-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 96px 0 24px; }
.lib-head h3 { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.lib-head p { font-size: 15px; margin-top: 6px; }
.lib-head a { font-size: 14.5px; font-weight: 650; border-bottom: 1.5px solid var(--ink); padding-bottom: 3px; white-space: nowrap; }
.lib { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lib-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 24px 20px; }
.lib-card .top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11px; color: var(--text-mute); letter-spacing: .08em; margin-bottom: 14px; }
.lib-card .top b { font-family: var(--font); color: var(--text); font-size: 12.5px; letter-spacing: 0; font-weight: 650; }
.lib-card h4 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.lib-card > p { font-size: 14.5px; margin-bottom: 16px; }
.lib-card ul { list-style: none; margin: 0; padding: 0; }
.lib-card li { display: flex; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--text); }
.lib-card li:last-child { border-bottom: 1px solid var(--line); }
.lib-card li span:first-child { font-family: var(--mono); font-size: 11px; color: var(--text-mute); padding-top: 3px; font-weight: 400; }
.lib-card .more { font-size: 13px; color: var(--text-mute); font-weight: 600; padding-top: 12px; }
.lib-card.special { background: #F3F7FF; border-color: #CFE0FF; border-style: dashed; }
.lib-card.special .badge { background: var(--blue-ink); color: #fff; border-radius: 999px; padding: 3px 10px; font: 600 11.5px var(--font); letter-spacing: 0; }

/* Example tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 34px 0 36px; }
.tabs button { font: 600 14px var(--font); color: var(--text-dim); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 17px; cursor: pointer; box-shadow: var(--shadow-1); }
.tabs button:hover { color: var(--text); border-color: #CBD1DA; }
.tabs button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ex { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 8px; box-shadow: var(--shadow-1); animation: rise .35s ease both; }
.ex h4 { font-size: 16px; font-weight: 700; margin: 2px 2px 6px; }
.ex > p { font-size: 13.5px; margin: 0 2px 16px; line-height: 1.5; }
.flow { background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; list-style: none; position: relative; }
.flow li { position: relative; padding-left: 24px; padding-bottom: 12px; }
.flow li:last-child { padding-bottom: 0; }
.flow li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #CBD1DA; background: #fff; }
.flow li:nth-child(2)::before { background: var(--ink); border-color: var(--ink); border-radius: 2px; }
.flow li:nth-child(3)::before { border: 2px solid var(--ink); background: var(--mark); }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 6.5px; top: 16px; bottom: 2px; width: 1px; background: #D5DAE2; }
.flow small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }
.flow b { font-size: 13.5px; font-weight: 500; color: var(--text); }
.flow li:nth-child(2) b { font-weight: 700; }
.flow li:nth-child(3) b { font-weight: 700; background: var(--mark); padding: 1px 6px; border-radius: 4px; }
.ex-note { text-align: center; font-size: 13.5px; color: var(--text-mute); margin-top: 26px; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* Proof board (dark band) */
.board { text-align: left; max-width: 1000px; margin: 46px auto 0; padding: 8px; border-radius: 20px; background: #20252F; border: 1px solid rgba(255,255,255,.08); }
.board-in { background: #F6F7F9; border-radius: 14px; padding: 12px; display: grid; gap: 12px; grid-template-columns: repeat(6, 1fr); color: var(--text); }
.bc { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.bc h5 { margin: 0 0 4px; font-size: 13px; font-weight: 700; }
.bc .src { display: inline-block; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; color: var(--text-mute); background: var(--paper-2); border-radius: 4px; padding: 1px 5px; margin-bottom: 8px; }
.bc .v { font-size: 26px; font-weight: 750; letter-spacing: -0.03em; }
.bc .v.up { color: var(--ok); }
.bc small { display: block; font-size: 11px; color: var(--text-mute); margin-top: 2px; line-height: 1.4; }
.bc.wide { grid-column: span 3; }
.bc.big { grid-column: span 2; display: flex; gap: 14px; align-items: center; }
.bc.chart { grid-column: span 4; }
.ring { width: 66px; height: 66px; flex: none; border-radius: 50%; background: conic-gradient(var(--blue-ink) 0 82%, var(--paper-3) 82%); display: grid; place-items: center; }
.ring b { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 750; }
.spark { display: flex; align-items: end; gap: 6px; height: 74px; margin-top: 8px; }
.spark i { flex: 1; background: #D9E5FF; border-radius: 4px 4px 0 0; }
.spark i:last-child, .spark i:nth-last-child(2) { background: var(--blue-ink); }
.board-cap { text-align: center; font-size: 12.5px; color: var(--text-inv-mute); margin-top: 14px; }
.nums { display: flex; justify-content: center; gap: clamp(40px, 9vw, 120px); margin-top: 44px; text-align: center; }
.nums b { display: block; font-size: 46px; font-weight: 750; letter-spacing: -0.04em; color: #fff; }
.nums span { font-size: 13.5px; color: var(--text-inv-dim); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 54px; text-align: left; }
.steps .no { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.steps .no b { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }
.steps .no i { flex: 1; height: 1px; background: var(--line); }
.steps > div:last-child .no i { display: none; }
.steps h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.steps p { font-size: 14.5px; line-height: 1.55; }

/* CTA card */
.cta-card {
  margin-top: 96px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 72px 24px;
  text-align: center;
  background:
    radial-gradient(600px 260px at 0% 0%, #E9F6EE 0%, transparent 65%),
    radial-gradient(600px 260px at 100% 0%, #FFF1E4 0%, transparent 65%),
    radial-gradient(700px 300px at 50% 0%, #EEF3FF 0%, transparent 70%),
    #fff;
}
.cta-card .h2 { margin-top: 0; }
.cta-card .btn { margin-top: 30px; }
.cta-card .fine { font-size: 13px; color: var(--text-mute); margin-top: 18px; }

/* Footer v3 */
.ft { background: var(--ink); color: var(--text-inv); padding: 64px 0 28px; }
.ft-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.ft-grid img { height: 46px; }
.ft-grid p { color: var(--text-inv-dim); font-size: 14px; max-width: 320px; margin-top: 14px; line-height: 1.6; }
.ft-grid h4 { font-size: 13px; font-weight: 600; color: var(--text-inv-mute); margin-bottom: 16px; letter-spacing: 0; }
.ft-grid a { display: block; font-size: 14.5px; color: #E6E8EC; padding: 6px 0; }
.ft-grid a:hover { color: #fff; }
.ft-bot { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-inv); font-size: 13px; color: var(--text-inv-mute); }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .logos .track, .hx-badge .dot { animation: none; }
}

/* ————— Responsive ————— */
@media (max-width: 1020px) {
  .diff { grid-template-columns: 1fr; gap: 40px; }
  .tl-grid { grid-template-columns: 1fr 1fr !important; }
  .tl-rail { display: none; }
  .ex-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .specs .wrap { grid-template-columns: repeat(3, 1fr); }
  .specs .s:nth-child(4) { border-left: 0; }
  .specs .s:nth-child(n+4) { border-top: 1px solid var(--line); }
  .board-in { grid-template-columns: repeat(2, 1fr); }
  .bc.wide, .bc.big, .bc.chart { grid-column: span 2; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .v3 .sec { padding: 76px 0; }
  .hx { padding-top: calc(var(--nav-h) + 44px); }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .bars { grid-template-columns: 1fr 1fr; }
  .app-cols { grid-template-columns: 1fr; }
  .specs .wrap { grid-template-columns: 1fr 1fr; }
  .specs .s { border-left: 0; border-top: 1px solid var(--line); }
  .specs .s:nth-child(-n+2) { border-top: 0; }
  .specs .s:nth-child(even) { border-left: 1px solid var(--line); }
  .vs { grid-template-columns: 1fr; }
  .vs-card.us { transform: none; }
  .tl-grid { grid-template-columns: 1fr !important; }
  .lib { grid-template-columns: 1fr; }
  .lib-head { flex-direction: column; align-items: flex-start; }
  .ex-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nums { gap: 28px; }
  .nums b { font-size: 36px; }
  .ft-grid { grid-template-columns: 1fr; }
  .ft-bot { flex-direction: column; }
  .cta-card { padding: 52px 20px; margin-top: 64px; }
}

/* Cookie banner sits on ink: keep its secondary button transparent */
.cookie-banner .btn-ghost { background: transparent; color: var(--text-inv); border-color: var(--line-inv); box-shadow: none; }
.cookie-banner .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
