/* Revly Design Tokens — HSL CSS variables per handoff */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --background: 0 0% 97%;
  --foreground: 0 0% 7%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 7%;
  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 7%;
  --primary: 330 97% 48%;
  --primary-foreground: 0 0% 100%;
  --secondary: 43 89% 61%;
  --secondary-foreground: 0 0% 7%;
  --muted: 330 100% 95%;
  --muted-foreground: 0 0% 40%;
  --accent: 48 96% 93%;
  --accent-foreground: 0 0% 7%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 100%;
  --border: 0 0% 90%;
  --input: 0 0% 90%;
  --ring: 330 97% 48%;
  --radius: 0.75rem;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: hsl(var(--foreground));
  margin: 0;
  letter-spacing: -0.01em;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Scroll keyframes for PlatformBar */
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}
.animate-scroll { animation: scroll 20s linear infinite; }

/* Accordion */
@keyframes accordion-down { from { height: 0; } to { height: var(--rh); } }
@keyframes accordion-up   { from { height: var(--rh); } to { height: 0; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Utility hover */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:0.5rem; border-radius:999px; font-family:"DM Sans",sans-serif; font-weight:700; transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease; white-space:nowrap; }
.btn-default { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); height:2.9rem; padding:0 1.6rem; font-size:0.95rem; box-shadow: 0 16px 34px -18px hsl(var(--primary) / 0.6); }
.btn-default:hover { background: hsl(330 97% 41%); transform: translateY(-2px); }
.btn-outline { box-shadow: inset 0 0 0 1.5px hsl(var(--foreground)); background: transparent; color: hsl(var(--foreground)); height:2.9rem; padding:0 1.6rem; font-size:0.95rem; }
.btn-outline:hover { background: hsl(var(--foreground)); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: hsl(var(--foreground)); height:2.9rem; padding:0 1.1rem; font-size:0.95rem; }
.btn-ghost:hover { background: hsl(var(--foreground) / 0.06); }
.btn-yellow { background: hsl(var(--secondary)); color: #7a4f05; height:2.9rem; padding:0 1.8rem; font-size:1rem; font-weight:700; box-shadow: 0 16px 34px -20px hsl(var(--secondary) / 0.85); }
.btn-yellow:hover { background: hsl(43 89% 55%); transform: translateY(-2px); }
.btn-lg { height: 3.4rem; padding: 0 2.1rem; font-size: 1.05rem; }
.btn-sm { height: 2.4rem; padding: 0 1.1rem; font-size: 0.9rem; }
.btn-light { background:#fff; color: hsl(var(--foreground)); height:2.9rem; padding:0 1.6rem; font-size:0.95rem; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -18px rgba(0,0,0,0.4); }
.btn-outline-light { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.55); background: transparent; color:#fff; height:2.9rem; padding:0 1.6rem; font-size:0.95rem; }
.btn-outline-light:hover { background:#fff; color: hsl(var(--foreground)); transform: translateY(-2px); }

/* Before / After comparison table — with-column reads as an elevated card */
.ba2-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 22px;
  align-items: stretch;
}
.ba2-backdrop { position: absolute; top: 0; bottom: 0; z-index: 0; pointer-events: none; }
.ba2-backdrop-without {
  left: 0; right: 0; width: auto;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-right: none;
  border-radius: 16px 0 0 16px;
}
.ba2-backdrop-with {
  right: 0; width: calc(50% - 11px);
  top: -14px; bottom: -14px;
  z-index: 2;
  background: #fff;
  border: 1px solid hsl(var(--secondary) / 0.45);
  border-radius: 20px;
  box-shadow: 0 22px 58px -20px hsl(var(--secondary) / 0.80), 0 0 0 6px hsl(var(--secondary) / 0.10);
}

.ba2-h {
  position: relative; z-index: 1;
  font-family: "DM Sans"; text-transform: uppercase;
}
.ba2-h.without {
  padding: 0.7rem 1.6rem;
  font-weight: 600; font-size: 0.76rem; letter-spacing: 0.1em;
  color: hsl(var(--foreground) / 0.5);
  align-self: center;
}
.ba2-h.with {
  margin-top: -14px;
  z-index: 3;
  display: flex; align-items: center;
  padding: 0.8rem 1.6rem 0.7rem;
  background: hsl(var(--primary));
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.04em;
  white-space: nowrap;
  border-radius: 20px 20px 0 0;
}

.ba2-cell {
  position: relative; z-index: 1;
  padding: 1.2rem 1.6rem;
  display: flex; align-items: center; gap: .8rem;
  font-size: 0.97rem;
}
.ba2-cell.without { color: hsl(var(--foreground) / 0.55); border-top: 1px solid hsl(var(--border)); }
.ba2-cell.without > span { max-width: calc(50% - 4rem); }
.ba2-cell.with { z-index: 3; color: hsl(var(--foreground)); font-weight: 500; border-top: 1px solid hsl(var(--primary) / 0.14); }
.ba2-cell.with::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: hsl(var(--primary)); flex: none; }
.ba2-cell.without::before { content: "\2715"; color: hsl(var(--foreground) / 0.3); font-weight: 700; flex: none; width: 1rem; }

@media (max-width: 720px) {
  .ba2-grid { display: flex !important; flex-direction: column; gap: 0; }
  .ba2-backdrop { display: none !important; }
  .ba2-h { display: none !important; }
  .ba2-cell { grid-column: auto !important; grid-row: auto !important; padding: 0.5rem 0; font-size: 0.95rem; border: 0 !important; }
  .ba2-cell.without { color: hsl(var(--foreground) / 0.5); }
  .ba2-cell.without > span { max-width: none !important; }
  .ba2-cell.with { color: hsl(var(--foreground)); font-weight: 600; padding-bottom: 1.25rem; margin-bottom: 1.1rem; border-bottom: 1px solid hsl(var(--border)) !important; }
}

/* Section spacing tweaks */
.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.container-x { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container-x { padding: 0 2rem; } }

/* Headline magenta accent */
.text-primary { color: hsl(var(--primary)); }
.text-foreground { color: hsl(var(--foreground)); }
.text-muted { color: hsl(var(--foreground) / 0.6); }

/* Chips */
.chip { display:inline-flex; align-items:center; padding: 0.4rem 0.8rem; border-radius:999px; font-size:0.72rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; }
.chip-amber { background: hsl(var(--accent)); color: #b45309; }
.chip-secondary { background: hsl(var(--secondary)); color: #92400e; }
.chip-pink { background: #fce7f3; color: #be185d; }

/* Cards */
.card { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 1rem; box-shadow: 0 1px 2px rgba(19,19,19,0.04); }
.card-2xl { border-radius: 1rem; }
a.card { transition: transform .2s ease, box-shadow .2s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 26px 54px -34px rgba(19,19,19,0.32); }

/* Accordion */
.acc-item { border-bottom: 1px solid hsl(var(--border)); }
.acc-trigger { width: 100%; display:flex; justify-content: space-between; align-items: center; gap:1.5rem; padding: 1.5rem 0; background:transparent; border:0; text-align:left; font-family:"Bricolage Grotesque"; font-weight:700; font-size:1.15rem; letter-spacing:-0.01em; color: hsl(var(--foreground)); }
.acc-trigger:hover { color: hsl(var(--primary)); }
.acc-content { overflow:hidden; max-height: 0; transition: max-height .35s ease; color: hsl(var(--foreground) / 0.72); }
.acc-content > div { padding: 0 0 1.5rem 0; line-height:1.7; max-width: 62ch; }
.acc-trigger svg { transition: transform .3s ease, background .2s ease, color .2s ease; flex: none; width: 1.7rem; height: 1.7rem; padding: 0.38rem; border-radius: 999px; background: hsl(var(--foreground) / 0.05); box-sizing: border-box; }
.acc-item.open .acc-trigger svg { transform: rotate(180deg); background: hsl(var(--primary)); color: #fff; }
.acc-item.open .acc-content { max-height: 800px; }

/* Placeholder graphic block */
.placeholder { background: repeating-linear-gradient(135deg, hsl(var(--muted)), hsl(var(--muted)) 13px, hsl(var(--card)) 13px, hsl(var(--card)) 26px); border: 1.5px dashed hsl(var(--primary)/0.35); border-radius: 1.25rem; min-height: 14rem; display:flex; align-items:center; justify-content:center; color: hsl(var(--primary)/0.8); padding: 2rem; text-align:center; font-size: 0.82rem; font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.02em; }

/* Numbered badge */
.num-badge { width:2.25rem; height:2.25rem; border-radius:999px; background:hsl(var(--primary)); color:hsl(var(--primary-foreground)); display:flex; align-items:center; justify-content:center; font-family:"Bricolage Grotesque"; font-weight:800; font-size:1rem; }

/* Stats banner */
.stat-num { font-family:"Bricolage Grotesque"; font-weight:800; font-size: clamp(2.5rem, 5vw, 4rem); color: hsl(var(--primary-foreground)); line-height: 1; }
.stat-label { color: hsl(var(--primary-foreground) / 0.85); font-weight: 500; margin-top: 0.5rem; font-size: 0.9rem; letter-spacing:0.04em; text-transform:uppercase; }

/* Footer */
.footer { background: hsl(var(--foreground)); color: white; padding: 4rem 0 2rem; }
.footer a:hover { color: hsl(var(--primary)); }

/* Nav */
.nav { position: sticky; top:0; z-index: 50; background: hsl(0 0% 100% / 0.8); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 0; height: 4rem; }
.nav-link { color: hsl(var(--foreground)); font-weight:600; padding: 0.45rem 0.8rem; border-radius: 999px; }
.nav-link:hover { background: hsl(var(--foreground) / 0.05); color: hsl(var(--foreground)); }
.dropdown { position: absolute; top: 100%; margin-top:.5rem; left:0; min-width: 320px; background: hsl(var(--card)); border:1px solid hsl(var(--border)); border-radius: 0.75rem; padding: 0.4rem; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.dropdown a { display:block; padding: 0.7rem 0.85rem; border-radius: 0.5rem; font-weight:500; font-size:15px; color:hsl(var(--foreground)); }
.dropdown a:hover { background: hsl(var(--foreground) / 0.05); color: hsl(var(--primary)); }

/* Compare table */
table.cmp { width:100%; border-collapse: collapse; background: hsl(var(--card)); border-radius: 1rem; overflow: hidden; border:1px solid hsl(var(--border)); }
.cmp th, .cmp td { padding: 0.85rem 1rem; text-align: left; font-size: 0.9rem; border-bottom: 1px solid hsl(var(--border)); }
.cmp th { font-family:"Bricolage Grotesque"; font-weight: 700; font-size: 0.95rem; }
.cmp td:not(:first-child), .cmp th:not(:first-child) { text-align: center; }
.cmp tr.section-row td { background: hsl(var(--muted) / 0.4); font-family: "Bricolage Grotesque"; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: hsl(var(--primary)); }
.cmp .check { color: hsl(var(--primary)); }
.cmp .dash { color: hsl(var(--foreground) / 0.3); }

/* Responsive grid utilities */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1100px) { .grid-4-pricing { grid-template-columns: repeat(4, 1fr); } }

/* H1 sizing */
.h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.02em; line-height: 1.05; }
.h2 { font-size: clamp(1.85rem, 3.4vw, 2.875rem); letter-spacing: -0.018em; line-height: 1.1; }
.lead { font-size: 1.0625rem; color: hsl(var(--foreground) / 0.6); line-height: 1.65; }
@media (min-width:768px){ .lead { font-size: 1.15rem; } }

/* Scroll-reveal section: sticky title left col */
.srs { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .srs { grid-template-columns: 1fr 1.2fr; gap: 4rem; } .srs .title-col { position: sticky; top: 6rem; align-self: start; } }
.srs-keep { display: block; }
.srs-keep .title-col { text-align: center; max-width: 800px; margin: 0 auto 3rem; position: static; }

/* ============================================================
   DIRECTION A — editorial polish: type, hero, mocks, bands
   ============================================================ */
.eyebrow { font-family:"DM Sans"; font-weight:700; font-size:0.78rem; letter-spacing:0.16em; text-transform:uppercase; color: hsl(var(--primary)); }
.display { font-family:"Bricolage Grotesque"; font-weight:800; font-size: clamp(2.7rem, 6vw, 4.6rem); line-height: 0.98; letter-spacing: -0.035em; }

/* ---- Editorial split hero ---- */
.hero-a { background: hsl(var(--card)); padding: 4rem 0 4.5rem; }
@media (min-width:860px){ .hero-a { padding: 5.5rem 0 4.5rem; } }
.hero-grid { display:grid; grid-template-columns:1fr; gap:3rem; align-items:center; }
.hero-grid > div { min-width: 0; }
.inbox { max-width: 100%; }
@media (min-width:980px){ .hero-grid { grid-template-columns:1.05fr 0.95fr; gap:4rem; } }
@media (max-width:979px){ .hero-grid > div:first-child { max-width: 620px; } }
.hero-rating { display:inline-flex; align-items:center; gap:0.65rem; white-space:nowrap; padding:0.5rem 1rem 0.5rem 0.6rem; background:#fff; border:1px solid hsl(var(--border)); border-radius:999px; box-shadow:0 1px 2px rgba(19,19,19,.05); font-size:0.9rem; font-weight:600; }
.hero-rating .avs { display:flex; }
.hero-rating .avs i { width:26px; height:26px; border-radius:999px; border:2px solid #fff; margin-left:-8px; display:block; }
.hero-note { margin-top:1.1rem; font-size:0.86rem; color: hsl(var(--foreground)/0.55); display:flex; align-items:center; gap:0.5rem; }
.hero-cta { display:flex; gap:0.75rem; flex-wrap:wrap; margin-top:2rem; }

/* ---- Unified inbox mock ---- */
.inbox { background:#fff; border:1px solid hsl(var(--border)); border-radius:1.5rem; box-shadow: 0 40px 90px -48px rgba(19,19,19,.4); overflow:hidden; }
.inbox-top { display:flex; align-items:center; justify-content:space-between; padding:1rem 1.15rem; border-bottom:1px solid hsl(var(--border)); }
.inbox-top .ttl { font-family:"Bricolage Grotesque"; font-weight:800; font-size:1rem; }
.inbox-live { display:inline-flex; align-items:center; gap:0.4rem; font-size:0.72rem; font-weight:700; color: hsl(var(--primary)); background: hsl(var(--muted)); padding:0.32rem 0.65rem; border-radius:999px; }
.inbox-live .pulse { width:7px; height:7px; border-radius:999px; background: hsl(var(--primary)); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 hsl(var(--primary)/.45);} 70%{box-shadow:0 0 0 7px hsl(var(--primary)/0);} 100%{box-shadow:0 0 0 0 hsl(var(--primary)/0);} }
.inbox-filters { display:flex; gap:0.5rem; padding:0.9rem 1.15rem; border-bottom:1px solid hsl(var(--border)); overflow:hidden; }
.inbox-pill { font-size:0.78rem; font-weight:600; padding:0.38rem 0.75rem; border-radius:999px; background: hsl(var(--background)); color: hsl(var(--foreground)/0.6); white-space:nowrap; }
.inbox-pill.on { background: hsl(var(--foreground)); color:#fff; }
.inbox-list { padding:0.5rem; }
.rev { display:flex; gap:0.75rem; padding:0.9rem; border-radius:12px; transition:background .2s; }
.rev:hover { background: hsl(var(--background)); }
.rev-av { width:38px; height:38px; border-radius:999px; flex:none; display:grid; place-items:center; font-weight:800; font-family:"Bricolage Grotesque"; color:#fff; font-size:0.9rem; }
.rev-main { flex:1; min-width:0; }
.rev-row1 { display:flex; align-items:center; gap:0.5rem; margin-bottom:0.2rem; }
.rev-name { font-weight:700; font-size:0.9rem; }
.rev-plat { font-size:0.68rem; font-weight:700; letter-spacing:.04em; padding:2px 7px; border-radius:6px; }
.rev-time { font-size:0.72rem; color: hsl(var(--foreground)/0.45); margin-left:auto; white-space:nowrap; }
.rev-txt { font-size:0.85rem; color: hsl(var(--foreground)/0.62); line-height:1.45; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rev-stars { display:inline-flex; gap:2px; color: hsl(var(--secondary)); margin:2px 0; }
.rev-stars svg { width:13px; height:13px; }

/* ---- Alternating colour feature bands ---- */
.feat-band { padding: 5rem 0; }
@media (min-width:768px){ .feat-band { padding: 6.5rem 0; } }
.feat-band.cream { background:#f3efe7; }
.feat-band.ink { background: hsl(var(--foreground)); }
.feat-grid { display:grid; grid-template-columns:1fr; gap:2.75rem; align-items:center; }
@media (min-width:900px){ .feat-grid { grid-template-columns:1fr 1fr; gap:4.5rem; } }
.feat-band.ink .feat-copy h3 { color:#fff; }
.feat-band.ink .feat-copy .lead { color: rgba(255,255,255,0.74); }
.feat-copy h3 { font-family:"Bricolage Grotesque"; font-weight:800; font-size:clamp(1.6rem,3vw,2.25rem); line-height:1.12; letter-spacing:-0.02em; margin:1.1rem 0 0.9rem; }

/* ---- Product mocks (shared) ---- */
.mock { border:1px solid hsl(var(--border)); border-radius:1.25rem; background:#fff; box-shadow: 0 30px 70px -44px rgba(19,19,19,.4); overflow:hidden; }
.feat-band.ink .mock { border-color: rgba(255,255,255,0.1); }
.mock-bar { display:flex; align-items:center; gap:0.45rem; padding:0.85rem 1rem; border-bottom:1px solid hsl(var(--border)); }
.mock-bar i { width:11px; height:11px; border-radius:999px; background: hsl(var(--border)); display:block; }
.mock-bar .lbl { margin-left:0.5rem; font-size:0.78rem; font-weight:600; color: hsl(var(--foreground)/0.45); }
.mock-pad { padding:1.4rem; }
.collect-stars { display:flex; gap:0.5rem; justify-content:center; margin:0.4rem 0 1.1rem; color: hsl(var(--secondary)); }
.collect-stars svg { width:30px; height:30px; }
.collect-input { background: hsl(var(--background)); border:1px solid hsl(var(--border)); border-radius:12px; padding:0.85rem; font-size:0.9rem; color: hsl(var(--foreground)/0.6); }
.collect-ai { margin-top:0.75rem; background: hsl(var(--muted)/0.5); border:1px solid hsl(var(--primary)/0.15); border-radius:12px; padding:0.9rem; }
.collect-ai .tag { font-size:0.7rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color: hsl(var(--primary)); display:flex; gap:0.4rem; align-items:center; margin-bottom:0.5rem; }
.collect-ai p { font-size:0.9rem; line-height:1.5; color: hsl(var(--foreground)); }
.dash-row { display:flex; gap:0.85rem; }
.dash-stat { flex:1; background: hsl(var(--background)); border-radius:12px; padding:0.9rem; }
.dash-stat .n { font-family:"Bricolage Grotesque"; font-weight:800; font-size:1.5rem; }
.dash-stat .l { font-size:0.74rem; color: hsl(var(--foreground)/0.45); }
.dash-chart { margin-top:0.85rem; height:120px; display:flex; align-items:flex-end; gap:0.45rem; padding:0.75rem; background: hsl(var(--background)); border-radius:12px; }
.dash-chart i { flex:1; background:linear-gradient(hsl(330 100% 64%), hsl(var(--primary))); border-radius:4px 4px 0 0; display:block; }
.route { display:flex; flex-direction:column; align-items:center; }
.route-node { background: hsl(var(--background)); border:1px solid hsl(var(--border)); border-radius:12px; padding:0.75rem 1rem; font-weight:600; font-size:0.88rem; }
.route-node.q { background: hsl(var(--foreground)); color:#fff; border-color: hsl(var(--foreground)); }
.route-conn { width:2px; height:22px; background: hsl(var(--border)); }
.route-split { display:flex; gap:2.5rem; position:relative; }
.route-split::before { content:""; position:absolute; top:-22px; left:25%; right:25%; height:2px; background: hsl(var(--border)); }
.route-branch { display:flex; flex-direction:column; align-items:center; }
.route-out { border-radius:12px; padding:0.75rem 1rem; font-weight:600; font-size:0.84rem; text-align:center; }
.route-out.pos { background: hsl(var(--muted)); color: hsl(var(--primary)); }
.route-out.neg { background:#fdf0c8; color:#7a4f05; }
.resp-orig { background: hsl(var(--background)); border-left:3px solid hsl(var(--secondary)); border-radius:0 10px 10px 0; padding:0.75rem 0.9rem; font-size:0.86rem; color: hsl(var(--foreground)/0.6); }
.resp-reply { margin-top:0.85rem; border:1px solid hsl(var(--primary)/0.18); background: hsl(var(--muted)/0.5); border-radius:12px; padding:0.9rem; }
.resp-reply .tag { font-size:0.7rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color: hsl(var(--primary)); margin-bottom:0.5rem; }
.resp-reply p { font-size:0.88rem; line-height:1.5; }

/* ---- Prominent "who it's for" fit card ---- */
.fit-card { position:relative; background:#fff; border:1px solid hsl(var(--border)); border-radius:1.5rem; padding:0.9rem 2.2rem 1.5rem; box-shadow: 0 40px 90px -48px rgba(19,19,19,.4); overflow:hidden; }
.fit-card::before { content:""; position:absolute; top:0; left:0; right:0; height:5px; background:linear-gradient(90deg, hsl(var(--primary)), hsl(330 100% 64%)); }
.fit-card .chip { margin-top:1.1rem; }
.fit-card ul { list-style:none; margin:0.5rem 0 0; padding:0; display:flex; flex-direction:column; gap:0; }
.fit-card li { display:flex; gap:1rem; align-items:center; font-size:1.08rem; font-weight:500; line-height:1.4; color: hsl(var(--foreground)); padding:1.1rem 0; border-top:1px solid hsl(var(--border)); text-align:left; }
.fit-card li:first-child { border-top:0; }
.fit-card li .ck { flex:none; width:32px; height:32px; border-radius:999px; background: hsl(var(--muted)); color: hsl(var(--primary)); display:grid; place-items:center; }
.fit-card li .ck svg { width:17px; height:17px; display:block; }

/* ---- Direction A homepage helpers ---- */
.mag { color: hsl(var(--primary)); }
.h3 { font-family:"Bricolage Grotesque"; font-weight:800; font-size: clamp(1.35rem, 2.2vw, 1.85rem); letter-spacing:-0.02em; line-height:1.12; }
.chip-magenta { background: hsl(var(--muted)); color: hsl(var(--primary)); }

/* Light trust marquee */
.mq { overflow:hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display:flex; width:max-content; gap:4.5rem; animation: scroll 26s linear infinite; }
.mq-track span { font-family:"Bricolage Grotesque"; font-weight:700; font-size:1.5rem; color: hsl(var(--foreground)/0.26); white-space:nowrap; }
@media (prefers-reduced-motion: reduce){ .mq-track { animation: none; } }

/* Static how-it-works stepper */
.steps { position:relative; }
.steps-track { position:absolute; left:8%; right:8%; top:28px; height:3px; background: hsl(var(--border)); border-radius:999px; }
@media (max-width:760px){ .steps-track { display:none; } }
.steps-grid { display:grid; grid-template-columns:1fr; gap:2.5rem; position:relative; }
@media (min-width:760px){ .steps-grid { grid-template-columns:repeat(3,1fr); gap:2.5rem; } }
.step-n { width:58px; height:58px; border-radius:999px; background: hsl(var(--primary)); border:3px solid hsl(var(--primary)); color:#fff; display:grid; place-items:center; font-family:"Bricolage Grotesque"; font-weight:800; font-size:1.35rem; box-shadow: 0 16px 34px -18px hsl(var(--primary) / 0.6); }
.step h3 { margin:1.35rem 0 0.6rem; }

/* Stats band (ink) */
.statsA { background: hsl(var(--foreground)); color:#fff; border-radius: 2rem; padding: 4rem 2.5rem; }
.statsA-grid { display:grid; grid-template-columns:1fr; gap:2.5rem; text-align:center; }
@media (min-width:680px){ .statsA-grid { grid-template-columns:repeat(3,1fr); } }
.statsA .num { font-family:"Bricolage Grotesque"; font-weight:800; color:#fff; font-size:clamp(2.6rem,5vw,3.8rem); line-height:1; letter-spacing:-0.03em; }
.statsA .l { color:rgba(255,255,255,.6); margin-top:0.65rem; font-weight:600; text-transform:uppercase; letter-spacing:.08em; font-size:.8rem; }

/* Who it's for band */
.fitA { background: hsl(var(--muted)/0.5); }
.fitA-grid { display:grid; grid-template-columns:1fr; gap:2.75rem; align-items:center; }
@media (min-width:860px){ .fitA-grid { grid-template-columns:0.9fr 1.1fr; gap:3.75rem; } }

/* Closing CTA (ink) */
.ctaA { background: hsl(var(--foreground)); color:#fff; border-radius: 2rem; padding: 4.5rem 2rem; text-align:center; }
.ctaA h2 { color:#fff; }


/* Platform marquee band (magenta, white logos) */
.mq-band { background: hsl(var(--primary)); padding: 2.6rem 0; }
.mq-band .mq-track { align-items: center; gap: 4.5rem; }
.mq-logo { height: 30px; width: auto; max-width: 150px; object-fit: contain; display: block; flex: none; }

.mq-logo.lg { height: 46px; }
.mq-logo.sm { height: 21px; }

/* Home: dark How It Works section */
.how-dark .h2, .how-dark h2 { color: #fff; }
.how-dark .eyebrow { color: hsl(var(--secondary)); }
.how-dark .mag { color: hsl(var(--secondary)); }
.how-dark .h3 { color: #fff; }
.how-dark .text-muted { color: rgba(255,255,255,0.66); }
.how-dark .steps-track { background: rgba(255,255,255,0.16); }
.how-dark .lead { color: rgba(255,255,255,0.72); }

/* Hero inbox: AI draft + phase fade */
.hero-draft { margin-top: 0.5rem; font-size: 0.8rem; line-height: 1.45; background: hsl(var(--muted)); border: 1px solid hsl(var(--primary)/0.2); border-radius: 10px; padding: 0.5rem 0.65rem; color: hsl(var(--foreground)/0.75); animation: heroFade .5s cubic-bezier(.22,.61,.36,1) both; }sl(var(--foreground)/0.78); }
.hero-draft b { color: hsl(var(--primary)); font-weight: 800; }
@keyframes heroFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ===== Global mobile polish ===== */
img, svg, video { max-width: 100%; }
html { overflow-x: clip; }
main { overflow-x: clip; }
@media (max-width: 640px) {
  table.cmp { min-width: 540px; }
  .cmp th, .cmp td { padding: 0.62rem 0.6rem; font-size: 0.8rem; }
  .cmp th { font-size: 0.85rem; }
  .ctaA { padding: 2.6rem 1.4rem !important; }
  .section { padding: 3.75rem 0; }
  .display { font-size: clamp(2.1rem, 9.5vw, 2.9rem) !important; line-height: 1.05; }
  .h1 { font-size: clamp(2rem, 8.5vw, 2.7rem); }
  .hero-rating { font-size: 0.72rem; flex-wrap: nowrap; gap: 0.5rem; padding: 0.45rem 0.85rem 0.45rem 0.55rem; }
  .hero-rating .avs i { width: 20px !important; height: 20px !important; }
  .mock-stats { grid-template-columns: 1fr 1fr !important; }
  .mock-charts { grid-template-columns: 1fr !important; }
}
/* Defensive: galleries always stack on mobile regardless of JS timing */
@media (max-width: 800px) {
  .galC { height: auto !important; display: block !important; }
  .galC-track { flex-direction: column !important; transform: none !important; width: auto !important; padding: 2.5rem 1.25rem !important; gap: 1.75rem !important; }
  .panelC { width: 100% !important; min-width: 0 !important; }
  .galC-rail { display: none !important; }
}
