/* SignalFlow v3 · public pages (legal, affiliate, FAQ, pricing, compare, guides,
   landers). Same ground, bolt and typefaces as the website; no live scene, a
   quiet static glow instead. Long-form text is set for reading. */
:root {
  color-scheme: dark;
  --bg: #030509;
  --panel: #0a1119;
  --panel-2: #0e1822;
  --line: rgba(120, 200, 255, .12);
  --line-2: rgba(120, 200, 255, .24);
  --ink: #EEF4FA;
  --ink-2: #A9B9CA;
  --ink-3: #74869a;
  --bolt: #1FA2EA;
  --bolt-hi: #5CC4FF;
  --bolt-ink: #021019;
  --up: #3DDC97;
  --down: #FF5C7A;
  --gutter: clamp(1rem, 5vw, 5rem);
  --text: "Outfit", system-ui, sans-serif;
  --tech: "Michroma", "Outfit", sans-serif;
  --mono: "Roboto Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-padding-top: 5.5rem; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
/* the quiet ground: one cold glow up top and a faint floor grid that fades out */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70rem 32rem at 50% -8rem, rgba(31,162,234,.16), transparent 70%),
    linear-gradient(rgba(120,200,255,.045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(120,200,255,.045) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask: linear-gradient(#000, rgba(0,0,0,.35) 45%, transparent 85%); mask: linear-gradient(#000, rgba(0,0,0,.35) 45%, transparent 85%); }
::selection { background: var(--bolt); color: var(--bolt-ink); }
:focus-visible { outline: 2px solid var(--bolt-hi); outline-offset: 3px; border-radius: 4px; }
img, svg, table { max-width: 100%; }
a { color: var(--bolt-hi); text-decoration: underline; text-decoration-color: rgba(92,196,255,.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
b, strong { color: var(--ink); font-weight: 600; }
code { font-family: var(--mono); font-size: .9em; padding: .1em .35em; border-radius: 5px; background: rgba(120,200,255,.08); }
.skip { position: absolute; left: -999px; top: .5rem; z-index: 50; padding: .5rem .8rem; border-radius: 8px; background: var(--bolt); color: var(--bolt-ink); }
.skip:focus { left: .5rem; }

/* ---- header (same parts as the website bar, but sticky and solid) -------- */
.bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 1rem; padding: .8rem var(--gutter); background: rgba(3,5,9,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.mark { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; }
.mark__bolt { position: relative; display: inline-grid; place-items: center; width: 1.05rem; height: 1.3rem; }
.mark__bolt > svg:first-child { width: 1rem; fill: #6FCBFF; filter: drop-shadow(0 0 2px rgba(150,220,255,.95)) drop-shadow(0 0 7px rgba(31,162,234,.85)) drop-shadow(0 0 16px rgba(31,162,234,.45)); animation: hum 3.4s ease-in-out infinite; }
.mark__zap { position: absolute; inset: -.55rem; width: calc(100% + 1.1rem); height: calc(100% + 1.1rem); max-width: none; fill: none; stroke: #BFEAFF; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(92,196,255,.95)); pointer-events: none; }
.mark__zap path { opacity: 0; }
.mark__zap path:first-child { animation: zap 2.9s steps(1) infinite; }
.mark__zap path:last-child { animation: zap 3.7s steps(1) infinite 1.3s; }
@keyframes zap { 0%, 100% { opacity: 0; } 3% { opacity: 1; } 5% { opacity: .2; } 7% { opacity: .9; } 10% { opacity: 0; } }
@keyframes hum { 0%, 100% { opacity: 1; } 50% { opacity: .86; } 52% { opacity: 1; } 53% { opacity: .8; } 54% { opacity: 1; } }
.menu { display: flex; gap: .2rem; margin-left: 1.2rem; padding: .3rem; border-radius: 12px; background: rgba(3,6,10,.55); border: 1px solid var(--line); }
.menu a { padding: .42rem .8rem; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .86rem; font-weight: 500; }
.menu a:hover { color: var(--ink); background: rgba(31,162,234,.12); }
.menu a[aria-current="page"] { color: var(--ink); background: rgba(31,162,234,.16); }
.login { margin-left: auto; color: var(--ink-2); text-decoration: none; font-size: .9rem; font-weight: 500; padding: .5rem .2rem; }
.login:hover { color: var(--ink); }

/* ---- the neon button (website .charge) ---------------------------------- */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.charge, .btn-primary, .btn-plan-cyan, .btn-plan.btn-plan-cyan {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 3.1rem; padding: 0 1.5rem; border-radius: 12px; text-decoration: none; border: 0; cursor: pointer;
  font-family: var(--text); font-weight: 600; font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; color: #F2FAFF;
  background: linear-gradient(180deg, rgba(31,162,234,.16), rgba(31,162,234,.05));
  box-shadow: inset 0 0 0 1px rgba(120,205,255,.55), inset 0 0 18px -6px rgba(92,196,255,.7), 0 0 22px -6px rgba(31,162,234,.75), 0 0 2px rgba(150,220,255,.6);
  text-shadow: 0 0 12px rgba(92,196,255,.55);
  transition: background .2s ease-out, box-shadow .2s ease-out, transform .12s ease-out;
}
.charge::before, .btn-primary::before, .btn-plan-cyan::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0deg 250deg, rgba(160,225,255,0) 260deg, #DDF4FF 300deg, rgba(31,162,234,0) 330deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: orbit 3.2s linear infinite; filter: drop-shadow(0 0 4px rgba(120,205,255,.9));
}
@keyframes orbit { to { --a: 360deg; } }
.charge svg { width: .85rem; flex: none; fill: #BFE8FF; filter: drop-shadow(0 0 6px rgba(92,196,255,.95)); }
.charge:active, .btn-primary:active { transform: translateY(1px); }
@media (hover: hover) and (pointer: fine) {
  .charge:hover, .btn-primary:hover, .btn-plan-cyan:hover { background: linear-gradient(180deg, rgba(31,162,234,.42), rgba(31,162,234,.18)); box-shadow: inset 0 0 0 1px rgba(170,228,255,.9), inset 0 0 24px -4px rgba(120,205,255,.9), 0 0 34px -4px rgba(31,162,234,.95), 0 0 2px rgba(200,240,255,.9); }
}
.charge--ghost { background: rgba(3,5,9,.45); }
.top-cta { min-height: 2.6rem; padding: 0 1.1rem 0 .95rem; font-size: .72rem; border-radius: 10px; }
.cta-short { display: none; }
.btn-xl { min-height: 3.5rem; padding: 0 1.9rem; font-size: .92rem; }
/* quiet buttons */
.btn-outline, .btn-ghost, .btn-plan, .btn-plan-outline, .btn-plan-gold {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: 0 1.4rem; border-radius: 12px;
  border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; background: rgba(3,6,10,.4);
}
.btn-outline:hover, .btn-ghost:hover, .btn-plan:hover, .btn-plan-outline:hover, .btn-plan-gold:hover { border-color: rgba(120,200,255,.55); background: rgba(31,162,234,.08); }

/* ---- shared page furniture ---------------------------------------------- */
.trial-pill { display: block; margin-top: 1rem; font-size: .88rem; color: var(--ink-3); }
.kicker, .section-tag, .hero-badge, .related-kicker, .step-num, .sim-label, .toc__k, .roadmap-chip, .plan-badge, .badge-popular {
  font-family: var(--tech); font-size: .64rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--bolt-hi);
}
h1, h2, h3 { font-family: var(--text); font-weight: 600; text-wrap: balance; color: var(--ink); }
h1 { margin: .6rem 0 0; font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.6rem); line-height: 1.04; letter-spacing: -.035em; }
h1 span, .section-title span { color: var(--bolt); }
h2 { font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -.025em; }
h3 { font-size: 1.12rem; letter-spacing: -.01em; }
p, li { color: var(--ink-2); }
.lede, .hero-sub, .section-sub { margin: 1.1rem 0 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--ink-2); max-width: 44rem; }
.note, .trial-note, .tier-note, .price-tax { font-size: .86rem; color: var(--ink-3); }
.center { text-align: center; }
.center .lede, .center .section-sub, .center p { margin-left: auto; margin-right: auto; }

/* ---- site pages: hero + stacked sections -------------------------------- */
.site { padding-bottom: 2rem; }
.site > section, .site > .page-hero, .site > header { padding: clamp(2.6rem, 6vw, 4.6rem) var(--gutter); }
.site > section > *, .site > .page-hero > * { max-width: 72rem; margin-left: auto; margin-right: auto; }
.site .wrap { max-width: 72rem; margin: 0 auto; }
.site section .wrap > p, .site section .wrap > ul, .site section .wrap > ol, .site section .wrap > h2, .site section .wrap > h3 { max-width: 46rem; }
.site section + section { border-top: 1px solid var(--line); }
.page-hero { padding-top: clamp(3rem, 8vw, 6rem) !important; }
.page-hero .hero-badge { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .8rem; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(31,162,234,.07); }
.live-dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 3px rgba(61,220,151,.18); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.trial-note { margin-top: 1rem; }
.section-title { margin: .7rem 0 0; font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem); }
.site h3 { margin: .6rem 0 .6rem; }
.site .kicker + h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); }
.site h2 { margin: 0 0 .9rem; }
.site h2 + p, .site h3 + p { margin-top: 0; }
.site .wrap > * + h2 { margin-top: 2.4rem; }
.site section ul, .prose ul { padding-left: 0; list-style: none; }
.site section ul li, .prose ul li { position: relative; padding-left: 1.2rem; margin: .5rem 0; }
.site section ul li::before, .prose ul li::before { content: ""; position: absolute; left: 0; top: .68em; width: .38rem; height: .38rem; border-radius: 50%; background: var(--bolt); }
.site section ol, .prose ol { padding-left: 1.3rem; }
.site section ol li::marker, .prose ol li::marker { color: var(--bolt-hi); font-family: var(--mono); font-size: .9em; }

/* cards and grids */
.card, .step-card, .feat-card, .related-card, .price-card, .sig-card, .why-quote, .tier-live, .roadmap-row {
  display: block; padding: 1.3rem 1.4rem; border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14,24,34,.78), rgba(8,14,22,.78)); color: inherit; text-decoration: none;
}
a.card, a.related-card { transition: border-color .2s, transform .2s; }
a.card:hover, a.related-card:hover { border-color: rgba(120,200,255,.5); transform: translateY(-2px); }
a.card h3, a.related-card .related-title { color: var(--ink); }
a.card p { color: var(--ink-2); }
.grid, .steps-grid, .feat-grid, .related-grid, .pricing-grid { display: grid; gap: 1rem; margin-top: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.site .grid { margin-top: 0; }
.step-num { margin-bottom: .9rem; }
.step-title, .feat-title, .related-title { font-weight: 600; font-size: 1.08rem; color: var(--ink); margin-bottom: .4rem; }
.step-desc, .feat-desc { color: var(--ink-2); font-size: .95rem; }
.feat-card { border-left: 2px solid rgba(31,162,234,.55); }
.related { margin-top: 1rem; }
.related-kicker { margin-bottom: .5rem; }

/* example signal */
.sig-wrap { max-width: 40rem; margin: 2rem auto 0; }
.sig-text { font-family: var(--mono); font-size: .92rem; white-space: pre-wrap; color: var(--ink); }
.s-pair { color: var(--bolt-hi); }
.s-red { color: var(--down); }
.sig-result { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line-2); color: var(--up); font-size: .92rem; }

/* tables */
.tbl-wrap { overflow-x: auto; margin: 1.6rem 0; border-radius: 16px; border: 1px solid var(--line); background: rgba(8,14,22,.7); }
.cmp, .tbl-wrap table { width: 100%; min-width: 38rem; border-collapse: collapse; font-size: .93rem; }
.cmp th, .cmp td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.cmp thead th { font-family: var(--tech); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.cmp tbody th { font-weight: 500; color: var(--ink); width: 28%; }
.cmp .sf { background: rgba(31,162,234,.07); color: var(--ink); }
.cmp thead .sf { color: var(--bolt-hi); }
.cmp tr:last-child > * { border-bottom: 0; }
.yes, .t-live { color: var(--up); font-weight: 600; }
.no { color: var(--down); font-weight: 600; }
.t-soon, .tier-soon { color: var(--ink-3); }

/* FAQ */
.faq-list, .site section > .faq-item, .faq-item { max-width: 46rem; margin-left: auto; margin-right: auto; }
details.faq-item { border-bottom: 1px solid var(--line); }
details.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem .2rem; font-size: 1.06rem; font-weight: 500; color: var(--ink); }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; flex: none; color: var(--bolt-hi); font-size: 1.35rem; line-height: 1; transition: transform .2s; }
details.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 .2rem 1.25rem; color: var(--ink-2); max-width: 62ch; }

/* pricing page */
.price-card { display: flex; flex-direction: column; padding: 1.6rem; border-radius: 18px; }
.price-card.featured { border-color: rgba(120,205,255,.6); background: linear-gradient(180deg, rgba(18,44,68,.85), rgba(6,14,24,.88)); }
.plan-name, .tier-name { font-weight: 600; font-size: 1.25rem; color: var(--ink); }
.plan-desc { color: var(--ink-2); font-size: .93rem; margin-top: .3rem; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem; margin: 1rem 0 .2rem; }
.price-num { font-weight: 600; font-size: 2.8rem; letter-spacing: -.04em; color: var(--ink); line-height: 1; }
.price-dollar { font-size: 1.4rem; color: var(--ink); align-self: flex-start; }
.price-per { color: var(--ink-2); }
.plan-divider { height: 1px; background: var(--line); margin: 1rem 0; }
.plan-features { flex: 1; margin: 0 0 1.4rem !important; }
.plan-features li { font-size: .93rem; }
.plan-badge { display: none; }   /* repeats the plan name right below it */
.tier-name { font-size: 1.05rem; }
/* pages whose live markup has no h1: the first section title is the page title */
.site > section:first-child .section-title { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.6rem); line-height: 1.04; letter-spacing: -.035em; }
.site > section:first-child { padding-top: clamp(3rem, 8vw, 6rem); }
.badge-popular { align-self: flex-start; margin-bottom: .7rem; padding: .3rem .6rem; border-radius: 999px; border: 1px solid var(--line-2); }
.badge-green, .badge-gold, .badge-cyan { color: var(--bolt-hi); }
.price-card .btn-primary, .price-card [class*="btn-plan"] { width: 100%; }
.roadmap-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: .8rem; }
.roadmap-chip { padding: .3rem .6rem; border-radius: 999px; border: 1px solid var(--line-2); }
.roadmap-tier { font-weight: 600; color: var(--ink); }
.honest { max-width: 46rem; margin-left: auto; margin-right: auto; }

/* closing band */
.cta-band { text-align: center; }
.cta-band .wrap { max-width: 44rem; padding: clamp(2rem, 5vw, 3rem); border-radius: 22px; border: 1px solid var(--line-2);
  background: radial-gradient(40rem 16rem at 50% 0%, rgba(31,162,234,.18), transparent 70%), linear-gradient(180deg, rgba(14,26,40,.8), rgba(5,10,17,.85)); }
.cta-band p { margin: .8rem auto 1.6rem; max-width: 34rem; }
.why-section .why-inner { max-width: 46rem; margin: 0 auto; }
.why-quote { margin: 1.6rem 0; border-left: 2px solid var(--bolt); font-size: 1.1rem; color: var(--ink); }

/* ---- documents: legal, affiliate ---------------------------------------- */
.doc { padding: clamp(2.4rem, 6vw, 4.6rem) var(--gutter) 3rem; }
.doc--toc { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 46rem); gap: clamp(2rem, 5vw, 5rem); justify-content: center; }
.doc:not(.doc--toc) .prose { max-width: 46rem; margin: 0 auto; }
.prose { min-width: 0; font-size: 1.04rem; line-height: 1.75; }
.prose h1 { margin-bottom: .6rem; }
.prose .last-updated { margin: 1rem 0 2.2rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: .95rem; }
.prose h2 { margin: 2.6rem 0 .8rem; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); }
.prose h3 { margin: 1.8rem 0 .5rem; }
.prose p { margin: 0 0 1rem; }
.prose .card { margin: 1.2rem 0 1.6rem; }
.prose .card p { margin: 0 0 .6rem; }
.prose .card p:last-child { margin-bottom: 0; }
.prose .btn-primary { margin: 1.2rem 0 .4rem; }
.toc { position: sticky; top: 5.5rem; align-self: start; max-height: calc(100vh - 7rem); overflow: auto; padding: 1.1rem 1.1rem 1.2rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(8,14,22,.7); }
.toc ol { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .1rem; }
.toc a { display: block; padding: .32rem .5rem; border-radius: 7px; color: var(--ink-2); text-decoration: none; font-size: .86rem; line-height: 1.35; }
.toc a:hover { color: var(--ink); background: rgba(31,162,234,.1); }

/* ---- footer ------------------------------------------------------------- */
.foot { margin-top: 3rem; padding: 2.2rem var(--gutter) 2.6rem; border-top: 1px solid var(--line); background: rgba(2,3,6,.8); }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.mark--foot { font-size: .92rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; font-size: .9rem; }
.foot nav a { color: var(--ink-2); text-decoration: none; padding: .3rem 0; }
.foot nav a:hover { color: var(--ink); }
.foot p { margin: 1rem 0 0; max-width: 84ch; font-size: .76rem; line-height: 1.6; color: #6f8193; }
.foot p b { color: var(--ink-2); font-weight: 500; }

/* ---- small screens ------------------------------------------------------ */
.toc-fold { display: none; margin: -1rem 0 2rem; border-radius: 12px; border: 1px solid var(--line); background: rgba(8,14,22,.7); }
.toc-fold summary { cursor: pointer; padding: .8rem 1rem; font-family: var(--tech); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bolt-hi); }
.toc-fold ol { margin: 0; padding: 0 1rem 1rem 2.2rem; font-size: .92rem; line-height: 1.5; }
.toc-fold a { color: var(--ink-2); text-decoration: none; }
@media (max-width: 980px) {
  .menu { display: none; }
  .doc--toc { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .toc-fold { display: block; }
}
/* phones: comparison rows stack, each cell labelled with its column */
@media (max-width: 640px) {
  .tbl-wrap { overflow: visible; border: 0; background: none; }
  .tbl-wrap .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp tr { margin-bottom: .8rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(8,14,22,.78); overflow: hidden; }
  .cmp tbody th { width: auto; padding: .9rem 1rem .4rem; border: 0; font-weight: 600; }
  .cmp td { padding: .5rem 1rem .8rem; border: 0; }
  .cmp td::before { content: attr(data-label); display: block; margin-bottom: .2rem; font-family: var(--tech); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
  .cmp td.sf::before { color: var(--bolt-hi); }
}
@media (max-width: 560px) {
  .bar { gap: .7rem; }
  .login { font-size: .86rem; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .top-cta { padding: 0 .8rem 0 .75rem; }
  .hero-actions > * { width: 100%; }
  .prose { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mark__bolt > svg:first-child, .mark__zap path, .charge::before, .btn-primary::before, .btn-plan-cyan::before { animation: none; }
  a.card, a.related-card { transition: none; }
}
