/* trulyhub.live — one continuous night canvas with a plum cast, product
   screenshots as the protagonist, a tinted surface ladder and hairlines, and
   one gradient the whole site is keyed to: #8a2387 → #e94057 → #f27121.
   Its three stops are the three accents; one accent per section, carried by an
   icon tile on every heading and a light behind every product panel.
   No build step; four pages share this file. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* night, not black: the canvas carries the brand's violet cast, and every
     surface step keeps the same hue so cards read as lifted, not pasted on */
  --canvas: #0c0912; --band: #120d1b;
  --s1: #171021; --s2: #1d1529; --s3: #241b33;
  --line: #2e2440; --line-2: #403356;
  --ink: #faf7fb; --ink-2: #e0d8e6; --ink-3: #a597ae; --ink-4: #857a90;
  /* the gradient and its three stops */
  --g1: #8a2387; --g2: #e94057; --g3: #f27121;
  --grad: linear-gradient(135deg, var(--g1), var(--g2), var(--g3));
  /* the same three hues as text-safe accents: plum and rose are lifted so they read on every surface (4.65:1 worst case, rose on surface-3) */
  --plum: #c65fc2; --rose: #ee4f66; --amber: #f27121;
  /* review stars: one sweep across the five, plum → rose → orange, so full marks end on the warm end */
  --star-0: #b03aa8; --star-1: #cc3d7f; --star-2: #e94057; --star-3: #ed583c; --star-4: #f27121; --star-5: #f9a24a;
  --white: #ffffff; --white-2: #e8e8e8; --black: #0a0a0c;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --wordmark: 'Orbitron', sans-serif;
  --max: 1200px; --gutter: 24px; --section: 96px;
}

[data-accent="plum"] { --a: var(--plum); } [data-accent="rose"] { --a: var(--rose); } [data-accent="amber"] { --a: var(--amber); }

html { scroll-behavior: smooth; scrollbar-color: var(--line-2) var(--canvas); }
body {
  background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6;
  font-feature-settings: "cv11", "calt", "kern", "liga"; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--rose); color: var(--white); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--canvas); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; border: 2px solid var(--canvas); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; border-radius: 4px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, li a { color: var(--rose); text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; text-decoration-color: rgba(233, 64, 87, .5); }
p a:hover, li a:hover { color: var(--amber); text-decoration-color: var(--amber); }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
code, kbd { font-family: var(--mono); font-size: .86em; }
code { color: var(--amber); background: color-mix(in srgb, var(--amber) 10%, var(--s2)); border: 1px solid color-mix(in srgb, var(--amber) 24%, var(--line)); border-radius: 4px; padding: .1em .4em; }
kbd { color: var(--ink-2); background: linear-gradient(180deg, var(--s2), var(--s1)); border: 1px solid var(--line); border-radius: 4px; padding: .05em .4em; }
strong { font-weight: 600; color: var(--ink); }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── type ── */
h1, h2, h3, h4 { font-weight: 600; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.05; letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -.025em; }
h3 { font-size: 1.375rem; line-height: 1.25; letter-spacing: -.015em; }
h4 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -.01em; }
.lede { font-size: 1.125rem; line-height: 1.55; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.mono { font-family: var(--mono); font-size: .8125rem; letter-spacing: .01em; }
p + p { margin-top: .9em; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: var(--r-sm); background: var(--white); color: var(--black); font-weight: 500; font-size: .9375rem;
  white-space: nowrap; transition: background .15s, transform .12s ease-out; border: 1px solid transparent;
}
.btn:hover, .btn:focus-visible { background: linear-gradient(var(--white-2), var(--white-2)) padding-box, var(--grad) border-box; border-color: transparent; }
.btn:active { background: #dcdcdc; transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-2 { background: var(--s1); color: var(--ink); border-color: var(--line); }
.btn-2:hover, .btn-2:focus-visible { background: var(--s2); border-color: var(--line-2); }
.btn-2:active { background: var(--s3); }
.btn-sm { height: 34px; padding: 0 12px; font-size: .875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── nav ── */
.nav { position: sticky; top: 0; z-index: 50; height: 56px; background: rgba(12, 9, 18, .84); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 12px; }
.wordmark { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.wordmark img { width: 28px; height: 28px; }
.wordmark b { font-family: var(--wordmark); font-weight: 800; font-size: .75rem; letter-spacing: .18em; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 6px 10px; border-radius: 6px; font-size: .875rem; font-weight: 500; color: var(--ink-3); transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--ink); background: var(--s2); }
.nav-links a[aria-current] { color: var(--ink); }
.nav .btn { height: 34px; padding: 0 12px; font-size: .875rem; margin-left: 8px; }
.nav-toggle { display: none; width: 36px; height: 36px; border-radius: 6px; color: var(--ink); }
.nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* ── sections ── */
section { padding-top: var(--section); padding-bottom: var(--section); }
section + section { border-top: 1px solid var(--line); }
.band { background: var(--band); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .lede { margin-top: 14px; }
.section-head .ico { margin-bottom: 16px; }
.center { text-align: center; }
.center .lede, .center .btn-row { margin-inline: auto; justify-content: center; }

/* ── icon tiles: the accent, made findable. One per item, the same stroke everywhere ── */
.ico { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); margin-bottom: 14px;
  background: color-mix(in srgb, var(--a, var(--rose)) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a, var(--rose)) 28%, transparent); }
.ico svg { width: 18px; height: 18px; stroke: var(--a, var(--rose)); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.row .ico, .chapter .ico { margin-bottom: 18px; }
/* in the rule-topped grids the icon is a small mark, not a tile — the rule and the heading carry the item */
.list3 .ico, .how .ico, .perks .ico { width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; margin-bottom: 8px; }
.list3 .ico svg, .how .ico svg, .perks .ico svg { width: 20px; height: 20px; }

/* ── the product panel: the one card that matters ── */
.panel {
  position: relative; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); padding: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.panel img { width: 100%; height: auto; border-radius: calc(var(--r-lg) - 6px); background: #0a0a12; }
[data-accent] .panel { background: color-mix(in srgb, var(--a) 7%, var(--s1)); border-color: color-mix(in srgb, var(--a) 34%, var(--line));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--a) 40%, rgba(255, 255, 255, .06)), 0 40px 120px -28px color-mix(in srgb, var(--a) 55%, transparent); }
.panel figcaption { padding: 12px 10px 6px; font-size: .8125rem; color: var(--ink-3); }
/* Hero-scale mesh in the brand's three colours: once per page, only behind the hero panel. */
.mesh { position: relative; isolation: isolate; }
.mesh::before {
  content: ""; position: absolute; z-index: -1; inset: -14% -8% auto; height: 84%; pointer-events: none; filter: blur(52px); opacity: 1;
  background:
    radial-gradient(40% 38% at 22% 10%, rgba(138, 35, 135, .6), transparent 62%),
    radial-gradient(36% 34% at 52% 4%, rgba(233, 64, 87, .36), transparent 62%),
    radial-gradient(30% 30% at 80% 14%, rgba(242, 113, 33, .3), transparent 62%);
}

/* ── hero ── */
.hero { padding-top: 72px; padding-bottom: 56px; }
.hero h1 { max-width: 18ch; margin-inline: auto; }
.hero .lede { margin: 20px auto 0; }
.hero .btn-row { margin-top: 28px; }
.hero .note { margin-top: 14px; font-size: .8125rem; color: var(--ink-3); font-family: var(--mono); text-wrap: balance; }
.hero .panel { margin-top: 56px; }
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 28px; font-family: var(--mono); font-size: .8125rem; color: var(--ink-3); letter-spacing: .01em; }
.strip span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); margin-right: 10px; vertical-align: 2px; }

/* ── feature rows: copy in a tight column, the screenshot takes the rest ── */
.rows { display: grid; gap: 80px; }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.row.flip .copy { order: 2; }
.row .copy h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.row .copy p { margin-top: 14px; color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }
.row .copy .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: .9375rem; font-weight: 500; color: var(--a, var(--rose)); }
.row .copy .more svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.row .copy .more:hover svg { transform: translateX(3px); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tag { font-size: .75rem; font-weight: 500; color: var(--ink-2); background: color-mix(in srgb, var(--a, var(--ink-3)) 10%, var(--s2)); border: 1px solid color-mix(in srgb, var(--a, var(--ink-3)) 26%, var(--line)); border-radius: 999px; padding: 3px 10px; }

/* ── grids of plain text (no card scaffolding): a rule above each item ── */
.list3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.list3 > div { padding-top: 18px; border-top: 1px solid var(--line); }
.list3 h3 { font-size: 1.125rem; }
.list3 p { margin-top: 8px; font-size: .9375rem; color: var(--ink-2); }

/* ── compare table ── */
.tbl { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--s1); }
.tbl-wrap { position: relative; }
.tbl-wrap::after { content: ""; position: absolute; z-index: 2; top: 1px; bottom: 1px; right: 1px; width: 72px; border-radius: 0 var(--r-md) var(--r-md) 0; background: linear-gradient(90deg, rgba(23, 16, 33, 0), var(--s1) 75%); pointer-events: none; opacity: 0; }
th:first-child, td:first-child { position: sticky; left: 0; z-index: 1; background: var(--s1); }
th:first-child { background: var(--s2); }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 500; color: var(--ink-3); font-size: .8125rem; letter-spacing: .01em; background: var(--s2); }
th:first-child, td:first-child { color: var(--ink); font-weight: 500; }
/* our column reads as ours */
th:nth-child(2) { color: var(--rose); }
td:nth-child(2) { background: color-mix(in srgb, var(--rose) 5%, var(--s1)); }
tr:last-child td { border-bottom: 0; }
td.y { color: var(--ink); }
td.y svg { width: 14px; height: 14px; stroke: var(--amber); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; display: inline; vertical-align: -1px; margin-right: 6px; }
td.n { color: var(--ink-4); }
td.p { color: var(--ink-2); }

/* ── pricing ── */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--s1); padding: 24px; display: flex; flex-direction: column; }
.plan.hot { border-color: transparent; background: linear-gradient(var(--s3), var(--s3)) padding-box, var(--grad) border-box;
  box-shadow: 0 30px 80px -40px rgba(233, 64, 87, .45), 0 30px 80px -40px rgba(138, 35, 135, .45); }
.plan li svg { stroke: var(--amber); }
.plan h3 { font-size: 1.125rem; }
.plan .price { margin-top: 12px; font-size: 2.5rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: .9375rem; font-weight: 400; color: var(--ink-3); letter-spacing: 0; margin-left: 6px; }
.plan .per { margin-top: 6px; font-size: .875rem; color: var(--ink-3); }
.plan ul { list-style: none; margin: 20px 0 24px; display: grid; gap: 9px; font-size: .9375rem; color: var(--ink-2); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex: none; width: 15px; height: 15px; margin-top: 4px; stroke: var(--amber); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.plan .btn { margin-top: auto; align-self: flex-start; }

/* ── FAQ ── */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 16px; height: 16px; stroke: var(--ink-3); fill: none; stroke-width: 2; stroke-linecap: round; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); stroke: var(--rose); }
.faq summary:hover svg { stroke: var(--rose); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 66ch; }

/* ── closing banner ── */
.banner { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  background: linear-gradient(120deg, color-mix(in srgb, var(--g1) 34%, var(--s1)), color-mix(in srgb, var(--g2) 16%, var(--s1)) 50%, color-mix(in srgb, var(--g3) 26%, var(--s1))); }
.banner h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.banner p { margin-top: 10px; color: var(--ink-2); max-width: 56ch; }

/* ── footer ── */
footer { border-top: 1px solid var(--line); padding: 56px 0 64px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; font-size: .8125rem; color: var(--ink-3); }
.foot .fh { font-size: .8125rem; font-weight: 500; color: var(--ink); margin-bottom: 12px; letter-spacing: 0; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a:hover { color: var(--ink); }
.foot .wordmark { margin-bottom: 12px; }
.foot .fine { margin-top: 14px; max-width: 34ch; }

/* ── reviews ── */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.how > div { padding-top: 18px; border-top: 1px solid var(--line); }
.how h3 { font-size: 1.125rem; }
.how p { margin-top: 8px; font-size: .9375rem; color: var(--ink-2); }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--s1); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.review blockquote { font-size: 1.0625rem; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: .875rem; color: var(--ink-3); }
.review .who b { display: block; font-weight: 500; color: var(--ink); }
.review .av { width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--rose) 14%, var(--s3)); border: 1px solid color-mix(in srgb, var(--rose) 30%, var(--line)); display: grid; place-items: center; font-weight: 600; font-size: .875rem; color: var(--rose); }
.stars { display: flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; stroke: none; }
.stars svg:nth-child(1) { fill: url(#sf1); }
.stars svg:nth-child(2) { fill: url(#sf2); }
.stars svg:nth-child(3) { fill: url(#sf3); }
.stars svg:nth-child(4) { fill: url(#sf4); }
.stars svg:nth-child(5) { fill: url(#sf5); }
.stars svg.off { fill: none; stroke: var(--line-2); stroke-width: 1; }
.reviews.is-empty { grid-template-columns: 1fr; }
/* the feed's summary line: the average as a star row, the count in words */
.summary { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .9375rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.summary .stars svg { width: 14px; height: 14px; }
[hidden] { display: none !important; }
.empty { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--s1); padding: 40px 24px; text-align: center; color: var(--ink-2); max-width: 640px; margin-inline: auto; }
.empty h3 { font-size: 1.25rem; margin-bottom: 8px; }
.empty p { max-width: 46ch; margin-inline: auto; }
.empty .mono { color: var(--ink-3); margin-top: 8px; }

/* ── agencies ── */
.hero-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.badges { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.badges svg, .badges img { width: 100%; height: auto; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.perks > div { padding-top: 18px; border-top: 1px solid var(--line); }
.perks h3 { font-size: 1.125rem; }
.perks p { margin-top: 8px; font-size: .9375rem; color: var(--ink-2); }
.ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.rung { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--s1); padding: 16px 14px 14px; text-align: center; }
.rung .badge { width: 74px; margin: 0 auto 10px; }
.rung .badge svg, .rung .badge img { width: 100%; height: auto; }
.rung h3 { font-size: 1.0625rem; }
.rung .req { margin-top: 2px; font-size: .75rem; color: var(--ink-3); font-family: var(--mono); }
.rung dl { margin-top: 10px; display: grid; gap: 3px; font-size: .8125rem; color: var(--ink-2); }
.rung dl div { display: flex; justify-content: space-between; gap: 8px; }
.rung dt { color: var(--ink-3); }
.rung dd { font-variant-numeric: tabular-nums; }
.agencies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.agency { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--s1); padding: 20px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; }
.agency .logo { grid-column: 1 / -1; height: 96px; border-radius: var(--r-sm); background: var(--s2); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.agency .logo img { max-height: 64px; width: auto; max-width: 80%; object-fit: contain; }
.agency .logo .ph { font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; color: var(--ink-3); }
.agency h3 { font-size: 1.125rem; }
.agency .meta { margin-top: 4px; font-size: .8125rem; color: var(--ink-3); }
.agency .meta b { color: var(--ink-2); font-weight: 500; }
.agency p { grid-column: 1 / -1; font-size: .9375rem; color: var(--ink-2); }
.agency .tier { width: 58px; }
.agency .tier svg, .agency .tier img { width: 100%; height: auto; }
.agency .sample { grid-column: 1 / -1; font-family: var(--mono); font-size: .75rem; color: var(--ink-3); }
.agency.you { border-style: dashed; border-color: var(--line-2); background: transparent; align-content: center; text-align: center; grid-template-columns: 1fr; min-height: 260px; }
.agency.you h3 { margin-top: 8px; }
.agency.you p { margin-top: 6px; }
.agency.you .btn { justify-self: center; margin-top: 14px; }

/* ── features page index ── */
.subnav { position: sticky; top: 56px; z-index: 40; background: rgba(12, 9, 18, .88); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.subnav-in { display: flex; gap: 4px; overflow-x: auto; padding: 8px 0; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; font-size: .8125rem; font-weight: 500; color: var(--ink-3); padding: 6px 12px; border-radius: 999px; }
.subnav a:hover { color: var(--ink); background: var(--s2); }
.subnav a[aria-current] { color: var(--a, var(--rose)); background: color-mix(in srgb, var(--a, var(--rose)) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a, var(--rose)) 45%, transparent); }
.chapter { padding-top: 72px; padding-bottom: 72px; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter .row { align-items: start; }
.chapter .copy p { max-width: 58ch; }
.chapter .why { margin-top: 18px; padding: 14px 16px; border-left: 1px solid var(--line-2); font-size: .9375rem; color: var(--ink-2); }
.chapter .why b { display: block; color: var(--ink); font-weight: 500; margin-bottom: 2px; }
.chapter .side { display: grid; gap: 16px; }

/* ── motion: one authored moment, transform only ── */
.reveal { transform: translateY(10px); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; transition: none; }
  .btn, .row .copy .more svg, .faq summary svg { transition: none; }
}

/* ── responsive ── */
@media (max-width: 1024px) {
  .list3, .how, .perks { grid-template-columns: repeat(2, 1fr); }
  .reviews, .agencies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot { grid-template-columns: 1fr 1fr; }
}
/* the phone download bar: the hero's button, kept within thumb reach once the hero has gone */
.mcta { display: none; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(12, 9, 18, .9); backdrop-filter: blur(16px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.mcta.show { transform: none; }
.mcta .btn { width: 100%; height: 46px; font-size: 1rem; }
@media (max-width: 820px) {
  :root { --section: 56px; }
  .mcta { display: block; }
  body:has(.mcta) { padding-bottom: 72px; }
  /* once the bar is up, the nav's own download button is a duplicate */
  body:has(.mcta.show) .nav .btn { display: none; }
  .foot { font-size: .875rem; } .foot ul { gap: 12px; }
  .faq summary { padding: 16px 0; min-height: 52px; }
  .ico { width: 34px; height: 34px; margin-bottom: 12px; }
  .section-head { margin-bottom: 28px; }
  .hero .lede { font-size: 1.0625rem; }
  .row .ico, .chapter .ico { margin-bottom: 14px; }
  th:first-child, td:first-child { min-width: 128px; }
  .nav-links { display: none; position: absolute; top: 56px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 16px; background: var(--band); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6); }
  .nav-links a { min-height: 44px; display: flex; align-items: center; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; font-size: 1rem; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; }
  .nav { background: rgba(12, 9, 18, .95); }
  .nav .btn { height: 44px; width: 44px; padding: 0; }
  .nav .btn span { display: none; }
  .row, .row.flip { grid-template-columns: 1fr; gap: 24px; }
  .row.flip .copy { order: 0; }
  .rows { gap: 48px; }
  .hero { padding-top: 40px; padding-bottom: 36px; }
  .hero .panel { margin-top: 36px; }
  .banner { grid-template-columns: 1fr; padding: 28px; }
  .plans { grid-template-columns: 1fr; }
  .list3, .how, .perks { grid-template-columns: 1fr; gap: 24px; }
  .reviews, .agencies { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { grid-template-columns: 1fr; gap: 24px; }
  th, td { padding: 11px 12px; }
  .tbl-wrap::after { opacity: 1; }
  .hero-split { grid-template-columns: 1fr; gap: 28px; }
  .badges { gap: 6px; }
}
@media (max-width: 480px) {
  .ladder { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rung { padding: 12px 8px 10px; }
  .rung .badge { width: 60px; }
}

/* footer links are quiet, never the rose body-link treatment */
.foot li a { color: var(--ink-3); text-decoration: none; }
.foot li a:hover { color: var(--ink); }
/* the compare table keeps its columns readable and scrolls sideways on a phone */
th:first-child, td:first-child { min-width: 170px; }
th:not(:first-child), td:not(:first-child) { min-width: 150px; }

/* ── exploded panels: a tilted screenshot with real pieces of the UI lifted in front of it ──
   The panel carries its own perspective; fragments are absolute children that sit at a
   z-depth, rotate a few degrees, and follow the pointer a little. Before reveal they lie
   flat inside the panel; the one authored motion moves them out. */
.tilt { transform: perspective(1400px) rotateX(calc(var(--rx, 0deg) + var(--py, 0) * -2.5deg)) rotateY(calc(var(--ry, 0deg) + var(--px, 0) * 3.5deg)); transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.tilt img { backface-visibility: hidden; }
.frag { position: absolute; z-index: 3; width: var(--w, 34%); border-radius: var(--r-md); overflow: hidden; background: var(--s1);
  box-shadow: 0 40px 80px -28px rgba(0, 0, 0, .85), 0 14px 28px -14px rgba(0, 0, 0, .6), inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: translate3d(calc(var(--px, 0) * -16px), calc(var(--py, 0) * -12px), var(--z, 90px)) rotateX(calc(var(--rx, 0deg) * -.7)) rotateY(calc(var(--ry, 0deg) * -.6)) rotateZ(var(--r, -3deg));
  transition: transform .8s cubic-bezier(.2, .9, .2, 1); }
.frag img { width: 100%; height: auto; display: block; border-radius: 0; }
.tilt:not(.in) .frag { transform: translate3d(var(--x0, 0px), var(--y0, 0px), 0) rotateZ(0deg) scale(.92); }
.hero .tilt { --rx: 11deg; margin-top: 64px; }
.row .tilt { --ry: -8deg; }
.row.flip .tilt { --ry: 8deg; }
.side .tilt { --ry: -6deg; }
@media (prefers-reduced-motion: reduce) {
  .tilt, .frag { transition: none; }
  .tilt:not(.in) .frag { transform: translate3d(calc(var(--px, 0) * -16px), calc(var(--py, 0) * -12px), var(--z, 90px)) rotateZ(var(--r, -3deg)); }
}
@media (max-width: 820px) {
  .hero .tilt { --rx: 6deg; margin-top: 40px; }
  .row .tilt, .row.flip .tilt, .side .tilt { --ry: 0deg; }
  .frag { display: none; }
}

/* ── hero variant "warp": the whole screenshot as one plane, flying in sideways through space ──
   The hero carries data-hero="warp" (default) or "explode" (the lifted-fragments version);
   site.js also honours ?hero=warp|explode for side-by-side comparison. */
.hero[data-hero="warp"] .warp { perspective: 820px; perspective-origin: 16% 42%; margin-top: 56px; margin-bottom: 40px; }
.hero[data-hero="warp"] .fly { transform-style: preserve-3d; animation: fly-in 1.5s cubic-bezier(.16, 1, .3, 1) both; }
.hero[data-hero="warp"] .frag { display: none; }
.hero[data-hero="warp"] .tilt { --rx: 0deg; margin-top: 0; width: 74%; margin-left: 13%;
  transform: rotateY(calc(-44deg + var(--px, 0) * 5deg)) rotateX(calc(4deg + var(--py, 0) * -3deg)) rotateZ(-1deg);
  transform-origin: 88% 50%; }
.hero[data-hero="warp"] .panel figcaption { display: none; }
@keyframes fly-in {
  from { transform: translate3d(38%, 8%, -900px) rotateY(-26deg) rotateX(6deg); }
  to   { transform: none; }
}
.hero[data-hero="explode"] .warp { perspective: none; }
@media (prefers-reduced-motion: reduce) { .hero[data-hero="warp"] .fly { animation: none; } }
@media (max-width: 820px) {
  .hero[data-hero="warp"] .warp { margin-top: 36px; perspective: 700px; perspective-origin: 30% 40%; }
  .hero[data-hero="warp"] .tilt { width: 104%; margin-left: 0; transform: rotateY(-18deg) rotateX(4deg) rotateZ(-2deg) translateX(2%); }
}

/* ── flair: craft you notice on the second look ── */

/* headline words rise in one after another; the words are visible at rest */
.hero h1 .w { display: inline-block; transform: translateY(.35em); animation: word-in .7s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes word-in { to { transform: none; } }

/* the hero mesh drifts slowly — the one living surface on the page */
.mesh::before { animation: mesh-drift 14s ease-in-out infinite alternate; }
@keyframes mesh-drift { to { transform: translate3d(3%, -4%, 0) scale(1.06); } }

/* event ticker: chat becoming screen, in the space the perspective opens up */
.ticker { position: absolute; left: 0; top: 8%; width: 30%; display: grid; gap: 10px; z-index: 4; pointer-events: none; }
.tick { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--r-md); background: color-mix(in srgb, var(--s1) 92%, transparent); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line-2), 0 14px 28px -14px rgba(0, 0, 0, .6); font-size: .875rem; line-height: 1.35; animation: tick-in .6s cubic-bezier(.16, 1, .3, 1) both; }
.tick .av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 600; color: var(--ink); background: var(--s3); box-shadow: inset 0 0 0 1px var(--line-2); }
.tick b { font-weight: 600; color: var(--ink); }
.tick .then { display: block; margin-top: 2px; font-family: var(--mono); font-size: .75rem; color: var(--amber); }
.tick.out { animation: tick-out .5s ease-in both; }
@keyframes tick-in { from { transform: translate3d(-24px, 0, 0) scale(.96); } to { transform: none; } }
@keyframes tick-out { to { transform: translate3d(-16px, 0, 0) scale(.96); opacity: 0; } }
.hero[data-hero="explode"] .ticker { display: none; }

/* cursor spotlight on cards: a neutral white highlight that follows the pointer */
.spot { position: relative; overflow: hidden; }
.spot::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .08), transparent 60%); }
.spot:hover::before { opacity: 1; }

/* staggered reveals: rule-topped items and cards rise in sequence (visible at rest) */
.stagger > * { transform: translateY(14px); transition: transform .6s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 60ms); }
.stagger.in > * { transform: none; }

/* check marks draw themselves when their section arrives */
.draw svg path { stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .5s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 40ms); }
.draw.in svg path { stroke-dashoffset: 0; }

/* a light sweep across the white button on hover */
.btn:not(.btn-2) { position: relative; overflow: hidden; }
.btn:not(.btn-2)::after { content: ""; position: absolute; top: -40%; bottom: -40%; left: -30%; width: 40%; transform: translateX(-120%) rotate(18deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); opacity: 0; pointer-events: none; }
.btn:not(.btn-2):hover::after { opacity: 1; animation: sweep .75s cubic-bezier(.4, 0, .2, 1); }
@keyframes sweep { from { transform: translateX(-120%) rotate(18deg); } to { transform: translateX(420%) rotate(18deg); } }

/* the integration strip drifts slowly; hover pauses it */
.strip { overflow: hidden; justify-content: flex-start; flex-wrap: nowrap; gap: 0; -webkit-mask-image: linear-gradient(90deg, transparent, var(--canvas) 12%, var(--canvas) 88%, transparent); mask-image: linear-gradient(90deg, transparent, var(--canvas) 12%, var(--canvas) 88%, transparent); }
.strip .lane { display: flex; flex: none; gap: 22px; padding-right: 22px; animation: lane 42s linear infinite; }
.strip:hover .lane { animation-play-state: paused; }
@keyframes lane { to { transform: translateX(-100%); } }

/* Agencies: the ten badges as a wall that turns with the pointer, each badge on a slow, offset float */
.badges.tilt { --rx: 6deg; --ry: -10deg; }
.badges > div { transform: translateZ(calc(var(--i, 0) * 6px)); animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -700ms); transition: transform .3s; }
.badges > div:hover { transform: translateZ(60px) scale(1.06); }
@keyframes bob { 50% { translate: 0 -6px; } }

/* FAQ answers open smoothly */
.faq details p { margin: 0; padding: 0 0 20px; }
.faq details .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.16, 1, .3, 1); }
.faq details[open] .ans { grid-template-rows: 1fr; }
.faq details .ans > div { overflow: hidden; }

/* scroll progress: the gradient as a hairline along the bottom of the nav */
.nav::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--grad); transform: scaleX(var(--progress, 0)); transform-origin: left; opacity: .9; }

@media (prefers-reduced-motion: reduce) {
  .mcta { transition: none; }
  .hero h1 .w { transform: none; animation: none; }
  .mesh::before { animation: none; }
  .tick, .tick.out { animation: none; }
  .stagger > * { transform: none; transition: none; }
  .draw svg path { stroke-dashoffset: 0; transition: none; }
  .btn:not(.btn-2):hover::after { animation: none; opacity: 0; }
  .strip .lane { animation: none; }
  .strip { flex-wrap: wrap; justify-content: center; gap: 8px 22px; -webkit-mask-image: none; mask-image: none; }
  .strip .lane:last-child { display: none; }
  .badges > div { animation: none; }
  .faq details .ans { transition: none; }
}
@media (max-width: 820px) {
  .ticker { display: none; }
  .badges.tilt { --rx: 0deg; --ry: 0deg; }
}
