/* ============================================
   CoreInSites — marketing site for SiteTraffic.io
   Bright surface. Brand green used sparingly as a highlight only; steel
   grey carries the buttons. Deep navy #07064F is the subtext colour
   throughout. The home hero is the one dark surface: it holds the
   animated dashboard, which is dark in the product too.

   Contrast note: #00BF63 on white is 2.4:1, so the brand green is never
   used for text. Green appears as rules, dots, icons and fills; where a
   green *word* is wanted, --green-ink (#00713C, 5.9:1) does the work.
   ============================================ */

:root {
  --green:        #00BF63;   /* highlight only — never text on white */
  --green-ink:    #00713C;   /* the readable green, for the rare green word */
  --green-wash:   #E8FAF0;   /* tinted panel behind dark text */
  --green-tint:   #F1FBF5;   /* the "you are here" section tint */
  --green-line:   rgba(0, 191, 99, 0.28);

  --steel:        #5B6770;   /* primary button — 5.9:1 with white text */
  --steel-dark:   #454F57;
  --steel-line:   #D8DDE2;

  --ink:          #10151A;   /* headings */
  --subtext:      #07064F;   /* ALL subtext, per brand */
  --muted:        #5A5F80;   /* subtext at lower emphasis (still 7:1+) */

  --paper:        #FFFFFF;
  --paper-alt:    #F7F9FA;

  /* dashboard surface, matched to the product */
  --dash-bg:      #0B0F14;
  --dash-card:    #12171D;
  --dash-line:    #1F272F;
  --dash-text:    #E6EAEE;
  --dash-muted:   #7C8794;

  --wrap:         1180px;
  --radius:       14px;
  --radius-lg:    22px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* height:auto is load-bearing: the <img> carry width/height attributes (so the
   layout does not jump while they load), and without it max-width scaling
   stretches them vertically. */
img, svg { max-width: 100%; height: auto; display: block }
a { color: inherit; text-decoration: none }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px }

/* ---------- type ---------- */
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; color: var(--ink) }
h1 { font-size: clamp(40px, 5.6vw, 66px); font-weight: 800 }
h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800 }
h3 { font-size: 19px; font-weight: 700 }
p  { color: var(--subtext) }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--subtext) }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green-ink);
}
.eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); flex: none;
}
.eyebrow.light { color: #8CE7B8 }
.eyebrow.light::before { box-shadow: 0 0 10px var(--green) }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--steel); color: #fff;
  font: inherit; font-weight: 650; font-size: 16px;
  padding: 13px 26px; border: 1.5px solid var(--steel); border-radius: 999px;
  cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--steel-dark); border-color: var(--steel-dark) }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--steel-line) }
.btn.ghost:hover { background: var(--paper-alt); border-color: var(--steel) }
.btn.ghost.dark { color: #fff; border-color: rgba(255,255,255,.28) }
.btn.ghost.dark:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6) }
.btn.sm { padding: 9px 18px; font-size: 14.5px }
.btn.lg { padding: 16px 32px; font-size: 17.5px }

/* Brand-green fill with white text (nav sign-in, hero, closing CTA).
   Heads up: white on #00BF63 is 2.4:1, under the 4.5:1 AA floor for text
   this size. Swapping the fill to #00874A keeps it visibly the same green
   and reaches 4.7:1 — one value, right here, if that trade is wanted. */
.btn.brand { background: var(--green); border-color: var(--green); color: #fff }
.btn.brand:hover { background: #00A857; border-color: #00A857 }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--steel-line);
}
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em }
.brand .brand-mark { width: 30px; height: 30px; color: var(--ink) }
.brand small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-top: -3px }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto }
.nav a { font-size: 15px; font-weight: 550; color: var(--subtext) }
.nav a:hover { color: var(--green-ink) }

/* ---------- hero (pricing and other inner pages) ---------- */
.hero { padding: 76px 0 24px; text-align: center }
.hero h1 { max-width: 15ch; margin: 18px auto 0 }
.hero h1 .hl {
  background: linear-gradient(transparent 62%, var(--green-line) 62%);
  padding: 0 .06em;
}
.hero .lead { max-width: 60ch; margin: 20px auto 0 }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px }
.hero-note { font-size: 14px; color: var(--muted); margin-top: 14px }

/* ============================================
   HOME HERO — copy on the left, the animated dashboard behind it on the
   right. The dashboard bleeds off the right edge and dissolves under the
   copy through a mask, so the text sits *over* the picture, not beside it.
   ============================================ */
.hero-home {
  position: relative; overflow: hidden;
  background: var(--dash-bg); color: #fff;
}
.hero-home::before {
  /* one soft green light, top-left, so the dark block is not flat */
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 8% 10%, rgba(0,191,99,.16), transparent 60%),
    radial-gradient(700px 400px at 95% 100%, rgba(59,130,246,.10), transparent 60%);
  pointer-events: none;
}
.hero-home .wrap {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; min-height: min(78vh, 720px);
  padding-top: 72px; padding-bottom: 72px;
}
.hero-copy { grid-column: 1; grid-row: 1; position: relative; z-index: 2; max-width: 600px }
.hero-home h1 { color: #fff; margin-top: 18px; text-shadow: 0 2px 30px rgba(0,0,0,.5) }
.hero-home .lead { color: #C9D1D9; margin-top: 20px; max-width: 46ch; text-shadow: 0 1px 20px rgba(0,0,0,.6) }
.hero-home .hero-actions { justify-content: flex-start }

.hero-video {
  grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 1;
  justify-self: end; width: min(980px, 76%); margin-right: -9%;
  container-type: inline-size;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 22%, #000 42%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 22%, #000 42%);
}
.hv-frame {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--dash-bg); border: 1px solid var(--dash-line); border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.03) inset;
  font-size: 1.3cqw; color: var(--dash-text);
}
.hv-seg {
  position: absolute; inset: 0; padding: 2.4cqw 2.6cqw;
  display: flex; flex-direction: column; gap: 1.8cqw;
  opacity: 0; transform: translateY(1.2cqw) scale(.985);
  transition: opacity .6s ease, transform .6s ease; pointer-events: none;
}
.hv-seg.on { opacity: 1; transform: none }
.hv-top { display: flex; align-items: center; gap: 1.6cqw; padding-bottom: 1.6cqw; border-bottom: 1px solid var(--dash-line) }
.hv-title { font-size: 2cqw; font-weight: 700; color: #fff }
.hv-range { margin-left: auto; display: flex; gap: .4cqw; background: #151B22; border: 1px solid var(--dash-line); border-radius: 999px; padding: .4cqw }
.hv-range i, .hv-range b { font-style: normal; font-size: 1.2cqw; padding: .45cqw 1.2cqw; border-radius: 999px; color: var(--dash-muted) }
.hv-range b { background: var(--green); color: #05130B; font-weight: 700 }
.hv-user { display: flex; align-items: center; gap: .8cqw; font-size: 1.25cqw; color: #C9D1D9 }
.hv-user i { width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: #153A2A; color: #8CE7B8; font-style: normal; font-weight: 700; display: grid; place-items: center }

.hv-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4cqw }
.hv-kpis.four { grid-template-columns: repeat(4, 1fr) }
.hv-kpi {
  position: relative; overflow: hidden;
  background: var(--dash-card); border: 1px solid var(--dash-line); border-radius: 1.2cqw;
  padding: 1.5cqw 1.6cqw 1.3cqw;
}
.hv-kpi::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: .28cqw;
  background: linear-gradient(90deg, var(--c), transparent 80%); opacity: .9;
}
.hv-kpi.c-green { --c: #00BF63 } .hv-kpi.c-blue { --c: #3B82F6 } .hv-kpi.c-red { --c: #EF4444 }
.hv-kpi.c-amber { --c: #EAB308 } .hv-kpi.c-purple { --c: #A78BFA }
.hv-kpi span { display: block; font-size: 1.05cqw; letter-spacing: .12em; text-transform: uppercase; color: var(--dash-muted); font-weight: 700 }
.hv-kpi strong { display: block; font-size: 3cqw; font-weight: 800; color: #fff; letter-spacing: -.03em; margin-top: .6cqw; line-height: 1.1; font-variant-numeric: tabular-nums }
.hv-kpi em { display: block; font-style: normal; font-size: 1.05cqw; color: var(--dash-muted); margin-top: .5cqw }

.hv-grid { display: grid; gap: 1.4cqw; flex: 1; min-height: 0 }
.hv-grid.two { grid-template-columns: 1.7fr 1fr }
.hv-grid.two.wide { grid-template-columns: 1.4fr 1fr }
.hv-card { background: var(--dash-card); border: 1px solid var(--dash-line); border-radius: 1.2cqw; padding: 1.6cqw 1.8cqw; display: flex; flex-direction: column; min-height: 0 }
.hv-card h4 { font-size: 1.05cqw; letter-spacing: .12em; text-transform: uppercase; color: var(--dash-muted); font-weight: 700; display: flex; justify-content: space-between }
.hv-card h4 span { letter-spacing: 0; text-transform: none; font-weight: 500; opacity: .8 }
.hv-line { width: 100%; height: auto; margin-top: 1.2cqw; flex: 1; overflow: visible }
.hv-line .grid line { stroke: #232B34; stroke-width: 1 }
.hv-line .area { opacity: 0 }
.hv-line .stroke { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round }
.hv-line .dot { opacity: 0 }
.play .hv-line .stroke { animation: draw 1.9s cubic-bezier(.5,0,.2,1) .25s both }
.play .hv-line .area { animation: fadeIn .9s ease 1.4s both }
.play .hv-line .dot { animation: fadeIn .3s ease 2.1s both }
@keyframes draw { from { stroke-dashoffset: var(--len) } to { stroke-dashoffset: 0 } }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

.hv-donut-wrap { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 1.6cqw; flex: 1; margin-top: 1cqw }
.hv-donut { width: 100%; height: auto; transform: rotate(-90deg) }
.hv-donut circle { fill: none; stroke-width: 16; stroke-dasharray: 0 251.33; transition: none }
.play .hv-donut circle { animation: donut 1.1s cubic-bezier(.4,0,.2,1) var(--delay) both }
@keyframes donut { from { stroke-dasharray: 0 251.33 } to { stroke-dasharray: var(--len) 251.33 } }
.hv-legend { list-style: none; display: grid; gap: .6cqw; font-size: 1.15cqw; color: #C9D1D9 }
.hv-legend li { display: flex; align-items: center; gap: .8cqw; border-bottom: 1px solid var(--dash-line); padding-bottom: .5cqw }
.hv-legend i { width: .9cqw; height: .9cqw; border-radius: 50%; flex: none }
.hv-legend b { margin-left: auto; color: #fff; font-variant-numeric: tabular-nums }

.hv-bars { display: grid; gap: 1.1cqw; margin-top: 1.4cqw; flex: 1; align-content: center }
.hv-bar { display: grid; grid-template-columns: 9cqw 1fr 3cqw; align-items: center; gap: 1cqw; font-size: 1.15cqw; color: #C9D1D9 }
.hv-bars.kw .hv-bar { grid-template-columns: 11cqw 1fr; gap: .8cqw }
.hv-bar span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: right }
.hv-bar > div { display: grid; gap: .3cqw }
.hv-bar i { display: block; height: 1.6cqw; border-radius: .3cqw; width: calc(var(--w) * 100%); transform: scaleX(0); transform-origin: left }
.hv-bars.kw .hv-bar i { height: .7cqw }
.play .hv-bar i { animation: growX 1.1s cubic-bezier(.3,0,.2,1) .3s both }
.play .hv-bar i + i { animation-delay: .5s }
@keyframes growX { from { transform: scaleX(0) } to { transform: scaleX(1) } }
.hv-bar b { color: #fff; text-align: right; font-variant-numeric: tabular-nums }

.hv-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px }
.hv-dots i { width: 22px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); transition: background .4s }
.hv-dots i.on { background: var(--green) }

/* ---------- alternating feature rows ---------- */
/* The captured panels are dark; fading their right edge to transparent lets
   them dissolve into the white page instead of sitting in a hard box. The
   fade is always on the RIGHT, in both column positions — mirroring it on
   alternate rows reads as an inconsistency, not a reflection. */
.shot { position: relative }
.shot img {
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 52%, rgba(0,0,0,.5) 80%, transparent 100%);
          mask-image: linear-gradient(to right, #000 0%, #000 52%, rgba(0,0,0,.5) 80%, transparent 100%);
}
/* Rows with the image on the right let it run toward the page edge. */
.feature:not(.reverse) .shot img { margin-right: -22%; max-width: 122% }

.feature { position: relative; padding: 84px 0 }
.feature .wrap {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center;
}
.feature.reverse .wrap { grid-template-columns: 1.15fr 1fr }
.feature.reverse .copy { order: 2 }
.feature.reverse .shot { order: 1 }
.feature h2 { margin-top: 14px }
.feature p { margin-top: 16px; font-size: 17.5px }
.feature p.aside { font-size: 15px; color: var(--muted); margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--steel-line) }
.feature .points { list-style: none; margin-top: 22px; display: grid; gap: 11px }
.feature .points li { position: relative; padding-left: 26px; color: var(--subtext); font-size: 16px }
.feature .points li b { color: var(--ink); font-weight: 700 }
.feature .points li::before {
  content: ''; position: absolute; left: 0; top: .58em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 3px rgba(0,191,99,.16);
}

/* ============================================
   THE JOURNEY — the orb and the "you are here" tint.
   #product is the stacking context. Section backgrounds paint first, the
   orb's SVG (z-index 1) on top of them, and each section's .wrap (z-index
   2) above the orb, so the orb slides *under* the copy and the pictures and
   is fully visible only in the margins and the gaps between sections.
   ============================================ */
.journey { position: relative; isolation: isolate }
.orb-track { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible }
.orb-track .route { fill: none; stroke: var(--green); stroke-opacity: .16; stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round }
.orb-track .trail { fill: none; stroke: var(--green); stroke-opacity: .55; stroke-width: 2.5; stroke-linecap: round }
.orb-track .orb-halo { fill: url(#orbHalo) }
.orb-track .orb-core { fill: #fff; stroke: var(--green); stroke-width: 3; filter: drop-shadow(0 0 6px rgba(0,191,99,.9)) }
.orb-track .spark { fill: var(--green); transform-box: fill-box; transform-origin: center }
.orb-track .spark.s1 { animation: sparkOrbit 3.2s linear infinite }
.orb-track .spark.s2 { animation: sparkOrbit 4.1s linear infinite reverse }
.orb-track .spark.s3 { animation: sparkOrbit 2.6s linear infinite .8s }
.orb-track .orb { opacity: 0; transition: opacity .4s }
@keyframes sparkOrbit { from { transform: rotate(0deg) } to { transform: rotate(360deg) } }
@keyframes orbBreathe { 0%, 100% { transform: scale(1) } 50% { transform: scale(1.12) } }
.orb-track .orb-halo { transform-box: fill-box; transform-origin: center; animation: orbBreathe 2.8s ease-in-out infinite }

.stop { transition: background-color .7s ease }
.stop.is-active { background-color: var(--green-tint) }

/* ============================================
   LIVE FEED — the first-party illustration. A dark product-style card:
   four running totals and a stream of hits, each one classified a beat
   after it lands. home.js adds the rows while the section is active.
   ============================================ */
.feed { display: grid; place-items: center; padding: 10px 0 }
.feed-card {
  width: min(540px, 100%); background: var(--dash-bg); color: var(--dash-text);
  border: 1px solid var(--dash-line); border-radius: 18px; padding: 18px 20px 20px;
  box-shadow: 0 24px 60px rgba(11,15,20,.28); font-size: 13.5px;
}
.feed-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--dash-line) }
.feed-title { display: flex; align-items: center; gap: 9px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dash-muted) }
.feed-title i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: livePulse 1.8s ease-out infinite }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(0,191,99,.6) } 100% { box-shadow: 0 0 0 9px rgba(0,191,99,0) } }
.feed-site { font-family: var(--mono); font-size: 12px; color: #C9D1D9; background: #151B22; border: 1px solid var(--dash-line); border-radius: 999px; padding: 3px 10px }
.feed-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px 0 }
.feed-stats div { background: var(--dash-card); border: 1px solid var(--dash-line); border-top: 2px solid var(--c); border-radius: 10px; padding: 9px 12px }
.feed-stats .v { --c: #00BF63 } .feed-stats .g { --c: #3B82F6 } .feed-stats .a { --c: #EAB308 } .feed-stats .b { --c: #EF4444 }
.feed-stats span { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--dash-muted); font-weight: 700 }
.feed-stats strong { display: block; font-size: 22px; font-weight: 800; color: #fff; margin-top: 2px; font-variant-numeric: tabular-nums; line-height: 1.1 }
.feed-rows {
  display: grid; gap: 6px; align-content: start; height: 268px; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 76%, transparent); mask-image: linear-gradient(#000 76%, transparent);
}
.feed-row {
  display: grid; grid-template-columns: 116px auto 1fr; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px; background: var(--dash-card); border: 1px solid var(--dash-line);
  animation: rowIn .45s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes rowIn { from { opacity: 0; transform: translateY(-14px) } to { opacity: 1; transform: none } }
.fr-ip { font-family: var(--mono); font-size: 12.5px; color: #C9D1D9 }
.fr-tag {
  font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  padding: 3px 8px; border-radius: 999px; border: 1px solid var(--dash-line); color: var(--dash-muted);
  transition: background .3s, color .3s, border-color .3s;
}
.fr-tag.pending { animation: pending 1s ease-in-out infinite }
@keyframes pending { 50% { opacity: .45 } }
.kind-visitor .fr-tag { background: rgba(0,191,99,.14); color: #7FE9B4; border-color: rgba(0,191,99,.45) }
.kind-good .fr-tag { background: rgba(59,130,246,.14); color: #9CC3FA; border-color: rgba(59,130,246,.45) }
.kind-ai .fr-tag { background: rgba(234,179,8,.14); color: #F1CF5D; border-color: rgba(234,179,8,.45) }
.kind-bad .fr-tag { background: rgba(239,68,68,.14); color: #F59A9A; border-color: rgba(239,68,68,.45) }
.fr-detail { font-size: 12px; color: var(--dash-muted); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform-origin: right }
.kind-visitor .fr-detail { color: #C9D1D9 }
.fr-detail.bump { animation: bump .5s ease }
@keyframes bump { 0% { color: #7FE9B4; transform: scale(1.06) } 100% { transform: none } }
.kind-bad { opacity: .7 }
.kind-bad .fr-ip { text-decoration: line-through; text-decoration-color: rgba(239,68,68,.7) }

/* ============================================
   BUILT FOR — three audiences, mirrored on the pricing tiers.
   ============================================ */
.audience { position: relative; padding: 96px 0 }
.audience .wrap { position: relative; z-index: 2 }
.section-intro { max-width: 660px; margin: 0 auto; text-align: center }
.section-intro h2 { margin-top: 14px }
.section-intro p { margin-top: 16px; font-size: 18px }
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; align-items: stretch }
.aud {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--steel-line); border-radius: var(--radius-lg); padding: 30px 28px;
  box-shadow: 0 10px 30px rgba(16,21,26,.05);
}
.aud.featured { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,191,99,.12), 0 18px 40px rgba(0,191,99,.10) }
.aud-tier {
  align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-ink); background: var(--green-wash); border: 1px solid var(--green-line); border-radius: 999px; padding: 4px 10px;
}
.aud h3 { font-size: 22px; line-height: 1.2; margin-top: 16px }
.aud p { margin-top: 12px; font-size: 15.5px }
.aud ul { list-style: none; margin-top: auto; padding-top: 18px; display: grid; gap: 9px }
.aud p + ul { margin-top: 18px; border-top: 1px solid var(--steel-line) }
.aud li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--subtext) }
.aud li::before {
  content: ''; position: absolute; left: 2px; top: .5em; width: 10px; height: 5px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.aud-foot { margin-top: 30px; text-align: center; font-size: 15.5px; color: var(--muted) }
.aud-foot a { color: var(--green-ink); font-weight: 700; border-bottom: 1.5px solid var(--green-line) }

/* ============================================
   FLOW — four sources into one account into one screen. The connectors are
   drawn by home.js from the real element positions, so the diagram stays
   correct at any width; the moving dots are SMIL <animateMotion>.
   ============================================ */
.flow { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 16px 0; min-height: 380px }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible }
.flow-lines .wire { fill: none; stroke: var(--green); stroke-width: 2; stroke-opacity: .35 }
.flow-lines .wire.next { stroke: #AEB6BE; stroke-dasharray: 5 6; stroke-opacity: .9 }
.flow-lines .packet { fill: var(--green); filter: drop-shadow(0 0 4px rgba(0,191,99,.8)) }
.flow-sources { display: grid; gap: 14px; position: relative; z-index: 1 }
.flow-node {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--steel-line); border-radius: 12px; padding: 11px 13px;
  font-size: 14px; font-weight: 650; color: var(--ink); box-shadow: 0 6px 18px rgba(16,21,26,.05);
}
.flow-node em { margin-left: auto; font-style: normal; white-space: nowrap; font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; background: var(--green-wash); color: var(--green-ink); border: 1px solid var(--green-line) }
.flow-node[data-status="next"] { color: var(--muted) }
.flow-node[data-status="next"] em { background: #EEF0F3; color: var(--subtext); border-color: var(--steel-line) }
.fn-mark { width: 22px; height: 22px; border-radius: 6px; flex: none; position: relative }
.fn-mark.fp { background: var(--green) } .fn-mark.fp::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--green) inset }
.fn-mark.ga { background: #F9AB00 } .fn-mark.ga::after { content: ''; position: absolute; left: 5px; right: 5px; bottom: 5px; height: 9px; border-radius: 2px; background: #E37400 }
.fn-mark.gsc { background: #4285F4 } .fn-mark.gsc::after { content: ''; position: absolute; inset: 6px; border: 2.5px solid #fff; border-radius: 50%; border-right-color: transparent; transform: rotate(45deg) }
.fn-mark.bing { background: #737373 } .fn-mark.bing::after { content: ''; position: absolute; left: 7px; top: 5px; width: 4px; height: 12px; background: #fff; transform: skewX(-12deg) }
.fn-mark.meta { background: #0866FF } .fn-mark.meta::after { content: ''; position: absolute; inset: 5px 4px; border: 2.5px solid #fff; border-radius: 40% 40% 50% 50% / 60% 60% 40% 40%; border-bottom-color: transparent }
.flow-hub {
  position: relative; z-index: 1; display: grid; place-items: center; gap: 8px; text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink);
}
.flow-hub svg { width: 64px; height: 64px; color: var(--ink); background: #fff; border-radius: 50%; padding: 10px; border: 1.5px solid var(--green); box-shadow: 0 0 0 8px rgba(0,191,99,.12), 0 10px 30px rgba(0,191,99,.2) }
.flow-out { position: relative; z-index: 1; display: grid; gap: 10px; justify-items: center; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.flow-screen { width: 100%; max-width: 180px; background: var(--dash-bg); border: 1px solid var(--dash-line); border-radius: 10px; padding: 10px; display: grid; gap: 8px; box-shadow: 0 14px 34px rgba(11,15,20,.28) }
.fs-top { height: 6px; width: 40%; border-radius: 3px; background: #2A333C }
.fs-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px }
.fs-kpis i { height: 22px; border-radius: 4px; background: var(--dash-card); border-top: 2px solid var(--green) }
.fs-kpis i:nth-child(2) { border-top-color: #3B82F6 } .fs-kpis i:nth-child(3) { border-top-color: #EAB308 }
.fs-chart { height: 46px; border-radius: 4px; background: var(--dash-card); padding: 6px }
.fs-chart svg { width: 100%; height: 100% }

/* ============================================
   TRUTH CARD — platform claim beside what the site recorded.
   ============================================ */
.truth { display: grid; place-items: center; padding: 10px 0 }
.truth-card { width: min(520px, 100%); background: #fff; border: 1px solid var(--steel-line); border-radius: 18px; padding: 22px 24px; box-shadow: 0 18px 48px rgba(16,21,26,.08) }
.tc-head { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--steel-line) }
.tc-row { display: grid; grid-template-columns: 1fr 64px; grid-template-areas: 'label num' 'bar num'; align-items: center; column-gap: 14px; row-gap: 6px; padding: 14px 0; border-bottom: 1px solid #EEF1F4 }
.tc-row span { grid-area: label; font-size: 14.5px; color: var(--subtext); font-weight: 600 }
.tc-row b { grid-area: num; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums }
.tc-bar { grid-area: bar; height: 12px; border-radius: 999px; background: #EEF1F4; overflow: hidden }
.tc-bar i { display: block; height: 100%; width: calc(var(--w) * 100%); border-radius: inherit; transform: scaleX(0); transform-origin: left }
.truth.play .tc-bar i { animation: growX 1.2s cubic-bezier(.3,0,.2,1) .2s both }
.truth.play .tc-row:nth-child(3) .tc-bar i { animation-delay: .5s }
.truth.play .tc-row:nth-child(4) .tc-bar i { animation-delay: .8s }
.tc-foot { display: flex; align-items: center; gap: 12px; padding-top: 16px; font-size: 14px; color: var(--subtext) }
.tc-people { display: flex }
.tc-people i { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; color: #fff }
.tc-people i:first-child { margin-left: 0 }
.tc-people .a { background: var(--green-ink) } .tc-people .b { background: #3B6FD1 } .tc-people .c { background: var(--steel) }

/* ---------- section furniture ---------- */
.section { padding: 84px 0 }
.section.alt { background: var(--paper-alt); border-block: 1px solid var(--steel-line) }
.section-head { max-width: 62ch; margin: 0 auto 46px; text-align: center }
.section-head p { margin-top: 14px; font-size: 18px }

.tag {
  font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}
.tag.live { background: var(--green-wash); color: var(--green-ink); border: 1px solid var(--green-line) }
.tag.next { background: #EEF0F3; color: var(--subtext); border: 1px solid var(--steel-line) }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; align-items: start }
.tier {
  border: 1px solid var(--steel-line); border-radius: var(--radius-lg);
  padding: 32px 28px; background: var(--paper); display: flex; flex-direction: column; height: 100%;
}
.tier.featured { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,191,99,.12) }
.tier .badge {
  align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; color: var(--green-ink); background: var(--green-wash);
  border: 1px solid var(--green-line); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.tier h3 { font-size: 22px }
/* Cards without a badge reserve its slot, so the price row lines up across
   all three tiers instead of the featured one sitting lower. */
.tier:not(.featured)::before { content: ''; display: block; height: 25px; margin-bottom: 14px }
.price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 6px }
.price .amount { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink) }
.price .per { font-size: 15px; color: var(--muted); font-weight: 600 }
.tier .cap { font-size: 15px; color: var(--subtext); font-weight: 650 }
/* The per-site line under the cap: real money, so legible, but it must not
   compete with the headline amount. */
.tier .extra { font-size: 13.5px; color: var(--muted); margin-top: 5px; line-height: 1.45 }
.tier ul { list-style: none; margin: 22px 0 26px; display: grid; gap: 10px }
.tier li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--subtext) }
.tier li::before {
  content: ''; position: absolute; left: 2px; top: .42em; width: 11px; height: 6px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.tier .btn { margin-top: auto; width: 100% }

.addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 22px }
/* A single add-on should read as a card, not stretch the full page width. */
.addons.one { max-width: 460px; margin-inline: auto }
.addon-price { font-weight: 700; color: var(--ink); margin-top: 6px }
/* Feature list inside an add-on card. Each row leads with a Live/Next up tag,
   so the eye can separate what ships today from what is promised. */
.addon-list { list-style: none; margin-top: 16px; display: grid; gap: 10px }
.addon-list li { display: flex; gap: 9px; align-items: baseline; font-size: 14.5px; color: var(--subtext); line-height: 1.5 }
.addon-list .tag { flex: none }
.addon { border: 1px solid var(--steel-line); border-radius: var(--radius); padding: 22px 20px; background: var(--paper) }
.addon p { margin-top: 8px; font-size: 15px }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px }
.faq details {
  border: 1px solid var(--steel-line); border-radius: var(--radius);
  padding: 18px 22px; background: var(--paper);
}
.faq summary { font-weight: 700; cursor: pointer; list-style: none; color: var(--ink) }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: '+'; float: right; color: var(--green-ink); font-weight: 800 }
.faq details[open] summary::after { content: '–' }
.faq p { margin-top: 12px; font-size: 16px }

/* ---------- CTA + footer ---------- */
.cta { text-align: center; padding: 100px 0 96px; background: var(--paper-alt); border-top: 1px solid var(--steel-line) }
.cta h2 { max-width: 20ch; margin: 14px auto 0 }
.cta p { max-width: 54ch; margin: 16px auto 0; font-size: 18px }
.cta .hero-actions { margin-top: 30px }
.cta-note { font-size: 14.5px !important; color: var(--muted) !important; margin-top: 18px !important }
.cta-note a { color: var(--green-ink); font-weight: 600 }

.site-foot { border-top: 1px solid var(--steel-line); padding: 40px 0; background: var(--paper-alt) }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center }
.site-foot p { font-size: 14px; color: var(--muted) }
.foot-links { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap }
.foot-links a { font-size: 14px; color: var(--subtext) }
.foot-links a:hover { color: var(--green-ink) }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-video { width: 84%; margin-right: -22% }
}
@media (max-width: 900px) {
  .hero-home .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 56px; padding-bottom: 48px }
  .hero-copy { max-width: none }
  .hero-video { grid-column: 1; grid-row: 2; width: 100%; margin: 40px 0 0; justify-self: stretch;
    -webkit-mask-image: none; mask-image: none }
  .hv-frame { font-size: 1.5cqw }

  .feature { padding: 64px 0 }
  .feature .wrap, .feature.reverse .wrap { grid-template-columns: 1fr; gap: 30px }
  .feature.reverse .copy, .feature.reverse .shot { order: initial }
  .shot img, .feature:not(.reverse) .shot img {
    border-radius: var(--radius);
    margin-right: 0; max-width: 100%;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  }
  /* On one column the copy spans the page, so the orb has no margin to
     ride in; the tint alone marks the stop. */
  .orb-track { display: none }
  .audiences { grid-template-columns: 1fr }
  .flow { grid-template-columns: 1fr; gap: 22px; min-height: 0 }
  .flow-lines { display: none }
  .flow-sources { grid-template-columns: 1fr 1fr }
  .flow-sources .flow-node:first-child { grid-column: 1 / -1 }
  .nav { gap: 16px }
  .nav a.hide-sm { display: none }
}
@media (max-width: 520px) {
  .feed-stats { grid-template-columns: repeat(2, 1fr) }
  .feed-row { grid-template-columns: auto 1fr; row-gap: 4px }
  .fr-tag { justify-self: end }
  .fr-detail { grid-column: 1 / -1; text-align: left }
  .hv-kpis, .hv-kpis.four { grid-template-columns: repeat(3, 1fr) }
  .hv-kpi:nth-child(n+4) { display: none }
  .hv-grid.two, .hv-grid.two.wide { grid-template-columns: 1fr }
  .hv-card:nth-child(2) { display: none }
  .hv-frame { font-size: 2.4cqw }
  .flow-sources { grid-template-columns: 1fr }
  .btn.lg { white-space: normal; text-align: center }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .hv-seg { transition: none }
  .play .hv-line .stroke, .play .hv-line .area, .play .hv-line .dot, .play .hv-donut circle, .play .hv-bar i,
  .truth.play .tc-bar i { animation: none }
  .play .hv-line .stroke { stroke-dashoffset: 0 }
  .play .hv-line .area, .play .hv-line .dot { opacity: 1 }
  .play .hv-donut circle { stroke-dasharray: var(--len) 251.33 }
  .play .hv-bar i, .truth.play .tc-bar i { transform: none }
  .feed-row, .feed-title i, .fr-tag.pending, .fr-detail.bump { animation: none }
  .orb-track { display: none }
}
