/* ============================================================
   Trackback v4 — shared stylesheet
   Inter everywhere · trackback.io brand alignment
   No JavaScript dependencies
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand (theme-invariant) */
  --magenta: #E0198C;
  --orange: #F5A623;
  --yellow: #FFD600;
  --lime: #C8F000;
  --teal: #20808D;
  /* Brand gradient — pink LEFT, green RIGHT, always. Four stops, even spacing. */
  --grad: linear-gradient(90deg, #E0198C 0%, #F5A623 33%, #FFD600 66%, #C8F000 100%);
  --grad-soft: linear-gradient(90deg, rgba(224,25,140,0.18), rgba(245,166,35,0.12), rgba(255,214,0,0.10), rgba(200,240,0,0.10));

  /* Layout */
  --container: 1200px;
  --nav-h: 56px;
  --radius: 16px;
  --radius-img: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* === Dark theme (default) === */
  --bg: #050505;
  --bg-2: #0c0c0e;
  --bg-3: #131316;
  --surface-1: #0c0c0e;
  --surface-2: #131316;
  --surface-3: #1b1b1f;
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.7);
  --text-subtle: rgba(255,255,255,0.55);
  --border: rgba(255,255,255,0.10);
  --border-strong: rgba(255,255,255,0.18);
  --nav-bg: rgba(8,8,10,0.78);
  --nav-border: rgba(255,255,255,0.08);
  --ink: var(--bg); /* legacy alias */
  --paper: #FFFFFF;
  color-scheme: dark;
}

/* === Light theme — applied when <html data-theme="light"> or :has(#theme-light:checked) === */
html[data-theme="light"],
html:has(#theme-light:checked) {
  --bg: #fafaf7;
  --bg-2: #ffffff;
  --bg-3: #f3f3ef;
  --surface-1: #ffffff;
  --surface-2: #ffffff;
  --surface-3: #f4f4f0;
  --text: #0a0a0c;
  --text-muted: rgba(10,10,12,0.72);
  --text-subtle: rgba(10,10,12,0.5);
  --border: rgba(10,10,12,0.10);
  --border-strong: rgba(10,10,12,0.18);
  --nav-bg: rgba(255,255,255,0.85);
  --nav-border: rgba(10,10,12,0.08);
  color-scheme: light;
}

/* ---------- Reset ---------- */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  scroll-padding-top: 72px;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.9rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; }
.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,0.78); font-weight: 400; }
.muted { color: rgba(255,255,255,0.7); }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.center { text-align: center; }
.maxw-720 { max-width: 720px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 9999px; padding: 14px 32px;
  font-weight: 600; font-size: 1rem; cursor: pointer; border: none;
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease), background 0.2s var(--ease);
  text-align: center; line-height: 1;
}
/* CTA pattern: BLACK fill + thick gradient border (pink LEFT → green RIGHT). */
.btn--primary {
  position: relative;
  background: var(--bg);
  color: var(--text);
  border: 2.5px solid transparent;
  background-image:
    linear-gradient(var(--bg), var(--bg)),
    linear-gradient(90deg, #E0198C 0%, #F5A623 33%, #FFD600 66%, #C8F000 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: transform 0.18s var(--ease), box-shadow 0.2s var(--ease);
  box-shadow: 0 4px 18px rgba(224,25,140,0.16);
}
.btn--primary:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(200,240,0,0.22);
}
html[data-theme="light"] .btn--primary,
html:has(#theme-light:checked) .btn--primary {
  background-image:
    linear-gradient(#0a0a0c, #0a0a0c),
    linear-gradient(90deg, #E0198C 0%, #F5A623 33%, #FFD600 66%, #C8F000 100%);
  color: #fff;
}
.btn--secondary { background: #000; color: #fff; border: 1px solid var(--border-strong); }
.btn--secondary:hover { transform: scale(1.03); filter: brightness(1.3); }
.btn--ghost { background: transparent; color:#fff; border: 1px solid var(--border-strong); }
.btn--ghost:hover { background: rgba(255,255,255,0.06); transform: scale(1.02); }
.btn--sm { padding: 10px 22px; font-size: 0.92rem; }
.textlink {
  display:inline-flex; align-items:center; gap:6px;
  color: rgba(255,255,255,0.8); font-weight: 500; border-bottom: 1px solid transparent;
}
.textlink:hover { color: #fff; border-bottom-color: var(--orange); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 1000; width: 100%;
  height: var(--nav-h); display: flex; align-items: center;
  padding: 0 clamp(20px, 5vw, 48px);
  background: rgba(5,5,5,0.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { max-width: var(--container); margin: 0 auto; width: 100%; height: 100%; display:flex; align-items:center; justify-content:space-between; }
.logo { display:flex; align-items:center; gap:10px; }
.logo__mark { width: 30px; height: 30px; flex-shrink:0; }
.logo__word { font-weight: 700; font-size: 1.18rem; letter-spacing: -0.022em; color:#fff; }
/* Official Trackback wordmark in nav — force the colour explicitly so currentColor flips with the theme */
.logo__wordmark { height: 16px; width: auto; display: block; color: var(--text); }
.logo__wordmark path { fill: currentColor !important; }
.nav__links { display:flex; align-items:center; gap: clamp(14px, 2vw, 30px); list-style:none; margin:0; padding:0; }
.nav__links > li { list-style:none; }
.nav__link { font-size: 0.95rem; font-weight: 500; color: rgba(255,255,255,0.82); }
.nav__link:hover, .nav__link[aria-current="page"] { color:#fff; }
.nav__actions { display:flex; align-items:center; gap: 10px; }

/* ---- CSS-only dropdowns (details/summary + hover) ---- */
.nav-item--dropdown { position: relative; }
.nav-item--dropdown summary { list-style: none; cursor: pointer; }
.nav-item--dropdown summary::-webkit-details-marker { display: none; }
.nav-item--dropdown summary::marker { content: ""; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: rgba(15,15,18,0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 1100;
}
.nav-dropdown a {
  padding: 10px 14px;
  border-radius: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  white-space: nowrap;
}
.nav-dropdown a:hover { background: rgba(255,255,255,0.06); color: #fff; }

/* mobile nav: details/summary, no JS */
.nav__toggle { display:none; }

@media (min-width: 941px) {
  /* hide the mobile burger summary on desktop */
  .nav__menu > .nav__toggle { display: none; }
  /* The outer <details> burger is closed on desktop, which would normally
     hide its content. Force the drawer (links + actions) to show regardless
     of the [open] state so it behaves like a normal inline nav. */
  .nav__menu {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    align-self: stretch;
  }
  /* modern engines: reveal skipped content of a closed <details> */
  .nav__menu::details-content {
    display: contents;
    content-visibility: visible;
  }
  /* drawer holds links (centred) + actions (right) in one row */
  .nav__drawer {
    display: flex !important;
    align-items: center;
    gap: clamp(20px, 3vw, 48px);
    width: 100%;
  }
  /* links group sits centred (grows to fill), actions pinned right */
  .nav__links {
    flex: 1 1 auto;
    justify-content: center;
    margin: 0;
  }
  .nav__actions { flex: 0 0 auto; margin-left: auto; }
  /* dropdown summary aligns like a nav link */
  .nav-item--dropdown > summary { display:flex; align-items:center; }
  /* reveal the inner dropdown's skipped content too, then control it via hover */
  .nav-item--dropdown::details-content {
    display: block;
    content-visibility: visible;
  }
  /* desktop: dropdown hidden by default; shown on hover OR when [open] */
  .nav-item--dropdown > .nav-dropdown { display: none; }
  .nav-item--dropdown:hover > .nav-dropdown,
  .nav-item--dropdown[open] > .nav-dropdown { display: flex; }
}

@media (max-width: 940px) {
  :root { --nav-h: 52px; }
  .nav { height: 52px; }
  .nav__menu {
    position: static;
  }
  .nav__toggle { display:block; list-style:none; cursor:pointer; }
  .nav__toggle::-webkit-details-marker { display:none; }
  .nav__toggle::marker { content: ""; }
  .nav__toggle-btn {
    display:inline-flex; align-items:center; justify-content:center;
    width:40px; height:40px; border-radius:10px; border:1px solid var(--border-strong);
    background: rgba(255,255,255,0.04); color:#fff; font-size: 1.3rem;
  }
  .nav__drawer {
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    background: #0a0a0c;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-radius: 0;
    padding: 16px 20px 24px;
    max-height: calc(100vh - 52px);
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  }
  .nav__drawer .nav__links {
    display: flex !important;   /* override the global hide */
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: stretch;
  }
  .nav__drawer .nav__links > li { width: 100%; }
  .nav__drawer .nav__link {
    display: block;
    padding: 14px 8px;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav__drawer .nav-item--dropdown {
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav__drawer .nav-item--dropdown summary {
    padding: 14px 8px;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 0;
  }
  .nav__drawer .nav-item--dropdown summary::after {
    content: '+';
    color: rgba(255,255,255,0.5);
    font-size: 1.25rem;
    line-height: 1;
  }
  .nav__drawer .nav-item--dropdown[open] summary::after {
    content: '\2212';
  }
  .nav__drawer .nav-dropdown {
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 12px 16px;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    min-width: 0;
    display: flex;
  }
  .nav__drawer .nav-dropdown a {
    padding: 10px 8px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    white-space: normal;
  }
  .nav__drawer .nav__actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav__drawer .nav__actions .btn {
    flex: 1;
    justify-content: center;
    display: inline-flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: clamp(80px, 11vh, 130px) 0 clamp(40px, 6vh, 72px);
  background: var(--bg);
  overflow-x: clip;
  overflow-y: visible;
}
.hero:not(:has(.dash-frame)) { min-height: 480px; justify-content: center; }
.hero::before {
  content:""; position:absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 110%;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(224,25,140,0.25) 0%, rgba(224,25,140,0) 60%),
    radial-gradient(ellipse 50% 50% at 60% 70%, rgba(245,166,35,0.18) 0%, rgba(245,166,35,0) 60%),
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(200,240,0,0.12) 0%, rgba(200,240,0,0) 60%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content:""; position:absolute;
  left: 0; right: 0; bottom: -1px;
  height: 120px;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  z-index: 0;
  pointer-events: none;
}
.hero--short { min-height: 380px; justify-content: center; }
.hero--short::before {
  width: 80vw;
  top: -30%;
}
/* Dashboard frame inside a hero needs breathing room above */
.hero .dash-frame { margin-top: clamp(40px, 6vh, 72px); }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--text); max-width: 16ch; }
.hero .lead { margin-top: 22px; max-width: 60ch; color: var(--text-muted); }
.hero__cta { margin-top: 34px; display:flex; align-items:center; gap: 22px; flex-wrap:wrap; }

/* ---------- Sections / two-column ---------- */
.split {
  display:grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius-img); width:100%; height:auto; max-height: 540px; object-fit: contain; }
.split__media figure.dash-frame img { max-height: none; }
.split h2 { margin-bottom: 18px; }
.split p { color: var(--text-muted); font-size: 1.06rem; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse .split__media { order: 0; }
}

/* feature bullet list */
.feature-list { margin-top: 22px; display:flex; flex-direction:column; gap: 12px; }
.feature-list li { position:relative; padding-left: 30px; color: rgba(255,255,255,0.86); font-weight: 500; }
.feature-list li::before {
  content:""; position:absolute; left:0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--grad);
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: rgba(255,255,255,0.72); }
.grid { display:grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px){ .grid--3, .grid--4 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 560px){ .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr;} }

.icon-chip {
  width: 44px; height:44px; border-radius: 12px; background: var(--grad-soft);
  border:1px solid var(--border); display:flex; align-items:center; justify-content:center;
  margin-bottom: 16px; color: var(--yellow); font-weight: 800;
}

/* ---------- Trust band ---------- */
.trust { border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.trust__caption { color: rgba(255,255,255,0.6); text-align:center; margin-bottom: 26px; font-size: 0.98rem; }
.trust__roster {
  display:flex; flex-wrap:wrap; justify-content:center; gap: 14px 28px; align-items:center;
}
.trust__chip {
  font-weight: 600; font-size: 0.95rem; color: rgba(255,255,255,0.78);
  padding: 8px 16px; border:1px solid var(--border); border-radius: 9999px;
  background: rgba(255,255,255,0.03);
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--surface-1); border-top:1px solid var(--border); }
.cta-band .container { text-align:center; }
.cta-band h2 { margin-bottom: 22px; }
.cta-row { display:flex; gap: 18px; justify-content:center; align-items:center; flex-wrap:wrap; }

/* gradient text accent */
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* alt surface */
.surface-alt { background: var(--surface-1); }

/* ---------- Pricing ---------- */
.price-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items:stretch; }
@media (max-width: 900px){ .price-grid { grid-template-columns:1fr; } }
.price-card {
  background: var(--surface-2); border:1px solid var(--border);
  border-radius: 20px; padding: 32px; display:flex; flex-direction:column;
}
.price-card--featured { border-color: var(--magenta); box-shadow: 0 0 0 1px rgba(224,25,140,0.4), 0 18px 60px rgba(224,25,140,0.12); }
.price-card__badge {
  display:inline-block; align-self:flex-start; margin-bottom: 14px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 9999px; background: var(--grad); color:#fff;
}
.price-card__tag { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-bottom: 22px; min-height: 44px; }
.price-card__price { font-size: clamp(2.4rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.price-card__price small { font-size: 1rem; font-weight: 500; color: rgba(255,255,255,0.6); }
.price-card__intro { display:inline-block; margin-top:10px; padding: 4px 10px; border-radius: 9999px; background: rgba(255,214,0,0.12); color: var(--yellow); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; }
.price-card__ongoing { color: rgba(255,255,255,0.6); margin-top: 8px; font-size: 0.95rem; }
.price-card ul.feat { margin: 24px 0; display:flex; flex-direction:column; gap:12px; flex:1; }
.price-card ul.feat li { padding-left: 26px; position:relative; color: rgba(255,255,255,0.82); }
.price-card ul.feat li::before { content:"✓"; position:absolute; left:0; color: var(--yellow); font-weight:800; }

/* pricing toggle (static, decorative) */
.toggle-row { display:flex; justify-content:center; gap: 10px; margin-bottom: 40px; }
.toggle-pill {
  display:inline-flex; padding: 6px; border:1px solid var(--border); border-radius:9999px; background: var(--surface-2);
}
.toggle-pill span { padding: 8px 20px; border-radius:9999px; font-weight:600; font-size:0.92rem; color: rgba(255,255,255,0.7); }
.toggle-pill span.active { background: var(--grad); color:#fff; }

/* comparison table */
.cmp-wrap { overflow-x:auto; border:1px solid var(--border); border-radius: 16px; }
table.cmp { width:100%; border-collapse: collapse; min-width: 640px; }
table.cmp caption { text-align:left; padding: 18px 22px; font-weight:700; font-size:0.85rem; letter-spacing:0.12em; text-transform:uppercase; color: var(--orange); background: var(--surface-3); }
table.cmp th, table.cmp td { padding: 14px 20px; text-align:left; font-size:0.96rem; border-top:1px solid var(--border); }
table.cmp thead th { position: sticky; top: 0; background: var(--surface-3); color:#fff; font-weight:700; z-index: 2; }
table.cmp tbody tr:nth-child(odd) td { background: rgba(255,255,255,0.02); }
table.cmp td:first-child, table.cmp th:first-child { color: rgba(255,255,255,0.85); font-weight:600; }
table.cmp .ok { color: var(--lime); font-weight: 800; }

/* 90-day timeline */
.timeline { display:grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
@media (max-width: 820px){ .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .timeline { grid-template-columns: 1fr; } }
.timeline__card { background: var(--surface-2); border:1px solid var(--border); border-radius:16px; padding: 24px; }
.timeline__phase { font-size:0.78rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color: var(--magenta); margin-bottom: 10px; }
.timeline__title { font-weight: 700; font-size: 1.1rem; }

/* ---------- :target modal (CSS-only) ---------- */
.modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 16px; overflow-y: auto;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.modal:target {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.modal__dialog {
  background: var(--surface-2); border:1px solid var(--border-strong);
  border-radius: 20px; max-width: 640px; width: 100%; padding: 36px;
  position: relative; margin: auto;
}
.modal__close {
  position: absolute; top: 18px; right: 18px;
  width: 38px; height:38px; border-radius:50%; border:1px solid var(--border-strong);
  display:flex; align-items:center; justify-content:center; color:#fff; font-size:1.2rem;
  background: rgba(255,255,255,0.04);
}
.modal__close:hover { background: rgba(255,255,255,0.1); }
.quiz-step { margin-bottom: 26px; }
.quiz-step__num { font-size:0.78rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color: var(--orange); margin-bottom: 10px; }
.quiz-step__q { font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; }
.quiz-opts { display:flex; flex-direction:column; gap: 10px; }
.quiz-opt {
  display:flex; align-items:center; gap: 12px; padding: 12px 16px;
  border:1px solid var(--border); border-radius:12px; background: var(--surface-3);
  cursor:pointer; color: rgba(255,255,255,0.85); font-weight:500;
}
.quiz-opt:hover { border-color: var(--border-strong); }
.quiz-opt input { accent-color: var(--magenta); width: 18px; height: 18px; }
.rec-card {
  margin-top: 26px; padding: 24px; border-radius:16px;
  background: var(--grad-soft); border:1px solid var(--magenta);
}
.rec-card__label { font-size:0.8rem; letter-spacing:0.1em; text-transform:uppercase; color: var(--yellow); font-weight:700; }
.rec-card__plan { font-size:1.5rem; font-weight:800; margin: 6px 0 4px; }

/* ---------- Accordion (details/summary) ---------- */
.accordion { display:flex; flex-direction:column; gap: 12px; }
.accordion details {
  background: var(--surface-2); border:1px solid var(--border); border-radius: 12px;
  padding: 0 22px;
}
.accordion summary {
  list-style:none; cursor:pointer; padding: 18px 0;
  font-weight: 600; font-size: 1.05rem;
  display:flex; align-items:center; justify-content:space-between; gap: 16px;
  flex-wrap: wrap;
}
.accordion summary > span.muted {
  white-space: nowrap;
  margin-left: auto;
  padding-right: 14px;
  font-size: 0.92rem;
}
.accordion summary::-webkit-details-marker { display:none; }
.accordion summary::after { content:"+"; font-size:1.4rem; color: var(--orange); flex-shrink:0; transition: transform 0.2s; margin-left: 0; }
@media (max-width: 480px) {
  .accordion summary { font-size: 0.98rem; gap: 10px; }
  .accordion summary > span.muted { font-size: 0.82rem; padding-right: 10px; }
  .accordion details { padding: 0 16px; }
}
.accordion details[open] summary::after { content:"−"; }
.accordion .acc-body { padding: 0 0 20px; color: rgba(255,255,255,0.74); line-height:1.7; }
.accordion .acc-body ul { display:flex; flex-direction:column; gap:6px; margin-top: 10px; }
.accordion .acc-body ul li { padding-left:20px; position:relative; }
.accordion .acc-body ul li::before { content:"•"; position:absolute; left:4px; color: var(--orange); }
.acc-subhead { font-weight:700; font-size:0.85rem; letter-spacing:0.1em; text-transform:uppercase; color: var(--magenta); margin: 34px 0 14px; }

/* indicator categories accordion (program health) — same styling reused */

/* ---------- Metric tiles ---------- */
.metric-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; }
@media (max-width:760px){ .metric-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:440px){ .metric-grid { grid-template-columns:1fr; } }
.metric {
  background: var(--surface-2); border:1px solid var(--border); border-radius:16px; padding: 22px;
}
.metric__label { font-size:0.75rem; letter-spacing:0.1em; text-transform:uppercase; color: rgba(255,255,255,0.6); font-weight:600; }
.metric__value { font-size:1.9rem; font-weight:800; margin-top: 8px; }
.metric__delta { color: var(--lime); font-weight:700; }
.metric__sub { color: rgba(255,255,255,0.55); font-size:0.85rem; margin-top:4px; }

/* ---------- Process steps ---------- */
.steps { display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 820px){ .steps { grid-template-columns:1fr; } }
.step { background: var(--surface-2); border:1px solid var(--border); border-radius:16px; padding: 28px; }
.step__num { font-size:2rem; font-weight:800; line-height:1; margin-bottom:14px; }
.step__num span { background: var(--grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }

/* ---------- Forms ---------- */
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap: 18px; }
@media (max-width:600px){ .form-grid { grid-template-columns:1fr; } }
.field { display:flex; flex-direction:column; gap:8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight:600; font-size:0.9rem; color: rgba(255,255,255,0.8); }
.field input, .field textarea, .field select {
  background: var(--surface-3); border:1px solid var(--border); border-radius:12px;
  padding: 13px 16px; color:#fff; font-family:inherit; font-size:1rem;
}
.field input:focus, .field textarea:focus { outline:none; border-color: var(--magenta); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.4); }

/* ---------- News cards ---------- */
.news-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 880px){ .news-grid { grid-template-columns:1fr; } }
.news-card { background: var(--surface-2); border:1px solid var(--border); border-radius:16px; padding: 28px; display:flex; flex-direction:column; }
.news-card__meta { font-size:0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 12px; }
.news-card h3 { margin-bottom: 12px; }
.news-card p { color: rgba(255,255,255,0.72); flex:1; margin-bottom: 18px; font-size:0.97rem; }

/* secondary nav (resources) */
.subnav { display:flex; gap: 14px; flex-wrap:wrap; justify-content:center; margin-bottom: 12px; }
.subnav a {
  padding: 10px 22px; border-radius:9999px; border:1px solid var(--border-strong);
  font-weight:600; color: rgba(255,255,255,0.85);
}
.subnav a:hover { background: rgba(255,255,255,0.06); color:#fff; }

/* ---------- Founder note ---------- */
.founder-note {
  background: var(--surface-2); border:1px solid var(--border); border-left: 3px solid var(--magenta);
  border-radius: 14px; padding: 28px 32px; font-size: 1.15rem; font-style: italic; color: rgba(255,255,255,0.9);
}
.founder-note cite { display:block; margin-top: 14px; font-style:normal; font-size:0.95rem; color: rgba(255,255,255,0.6); }

/* pull quote */
.pull-quote { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height:1.3; max-width: 22ch; }
.pull-quote cite { display:block; margin-top:18px; font-size:0.95rem; font-weight:500; color: rgba(255,255,255,0.6); font-style:normal; }

/* ---------- Vignette cards ---------- */
.vignette { background: var(--surface-2); border:1px solid var(--border); border-radius:16px; padding: 30px; }
.vignette__tag { font-size:0.78rem; letter-spacing:0.1em; text-transform:uppercase; font-weight:700; color: var(--orange); margin-bottom:14px; }
.vignette h3 { margin-bottom:12px; font-size:1.25rem; }
.vignette p { color: rgba(255,255,255,0.72); }

/* integrations strip */
.integrations { text-align:center; }
.integrations p { color: rgba(255,255,255,0.78); font-size:1.1rem; max-width: 760px; margin: 0 auto; }

/* ---------- Footer ---------- */
.footer { background: var(--surface-1); border-top:1px solid var(--border); padding: clamp(56px,7vw,80px) 0 0; }
.footer__grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 860px){ .footer__grid { grid-template-columns:1fr 1fr; gap:32px; } }
@media (max-width: 520px){ .footer__grid { grid-template-columns:1fr; } }
.footer h4 { font-size:0.85rem; letter-spacing:0.1em; text-transform:uppercase; color: rgba(255,255,255,0.55); font-weight:700; margin-bottom:18px; }
.footer ul { display:flex; flex-direction:column; gap:12px; }
.footer a { color: rgba(255,255,255,0.75); font-size:0.96rem; }
.footer a:hover { color:#fff; }
.footer__tag { color: rgba(255,255,255,0.7); margin: 16px 0 22px; max-width: 30ch; font-size:0.98rem; }
.footer__news input {
  width:100%; background: var(--surface-3); border:1px solid var(--border); border-radius:9999px;
  padding: 12px 18px; color:#fff; font-family:inherit; margin-bottom:12px;
}
.footer__news input::placeholder { color: rgba(255,255,255,0.4); }
.footer__support { color: rgba(255,255,255,0.6); font-size:0.92rem; margin-top:14px; }
.footer__bottom {
  margin-top: clamp(40px,6vw,64px); border-top:1px solid var(--border);
  padding: 26px 0; text-align:center; color: rgba(255,255,255,0.5); font-size:0.88rem;
}
.footer__bottom a { color: rgba(255,255,255,0.6); }
.footer__bottom a:hover { color:#fff; }

/* small image figure */
.figure-sm img { border-radius: var(--radius-img); max-height: 280px; width:100%; object-fit:cover; }
.figure-caption { color: rgba(255,255,255,0.55); font-size:0.88rem; margin-top:10px; }

/* utility spacing */
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; } .mb-16 { margin-bottom: 16px; }

/* ============ v6 ADDITIONS ============ */

/* Dashboard frame — for product UI shots */
.dash-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #1a1a1d 0%, #0a0a0c 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(224,25,140,0.18), 0 12px 30px rgba(0,0,0,0.5);
  margin-top: 56px;
}
.dash-frame__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: #141417;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dash-frame__bar span {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.dash-frame__bar span:nth-child(1) { background: #ff5f57; }
.dash-frame__bar span:nth-child(2) { background: #febc2e; }
.dash-frame__bar span:nth-child(3) { background: #28c840; }
.dash-frame img { display: block; width: 100%; height: auto; }
.dash-frame__caption {
  text-align: center;
  margin-top: 18px;
  color: rgba(255,255,255,0.62);
  font-size: 0.95rem;
}

/* Three-pillar flow diagram */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  margin: 56px auto 0;
  max-width: 1100px;
}
.flow__node {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.flow__pill {
  display: inline-block;
  margin: 0 auto;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--grad);
  color: #fff;
}
.flow__title { font-weight: 700; font-size: 1.05rem; color: #fff; margin-top: 4px; }
.flow__desc { font-size: 0.85rem; color: rgba(255,255,255,0.65); line-height: 1.45; }
.flow__arrow {
  align-self: center;
  font-size: 1.6rem;
  color: var(--yellow);
  font-weight: 700;
}
@media (max-width: 880px) {
  .flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .flow__arrow {
    transform: rotate(90deg);
    margin: 0 auto;
    font-size: 1.2rem;
  }
}

/* Proof strip */
.proof {
  background: linear-gradient(90deg, rgba(224,25,140,0.08), rgba(245,166,35,0.08), rgba(200,240,0,0.08));
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 56px 0;
}
.proof__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.proof__stat {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.proof__stat strong {
  background: linear-gradient(90deg, #E0198C, #F5A623, #FFD600);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.proof__quote {
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  border-left: 3px solid var(--magenta);
  padding-left: 20px;
}
.proof__cite {
  margin-top: 14px;
  font-size: 0.92rem;
  font-style: normal;
  color: rgba(255,255,255,0.65);
  display: block;
}
.proof__cite a { color: var(--yellow); text-decoration: none; border-bottom: 1px solid rgba(255,214,0,0.3); }
.proof__cite a:hover { border-bottom-color: var(--yellow); }
@media (max-width: 760px) {
  .proof__inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ICP segment cards */
.icp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.icp-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.icp-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.icp-card h3 { font-size: 1.15rem; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.icp-card__role { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.icp-card p { color: rgba(255,255,255,0.78); font-size: 0.95rem; line-height: 1.55; }
@media (max-width: 880px) {
  .icp-grid { grid-template-columns: 1fr; }
}

/* Quote card */
.quote-card {
  background: linear-gradient(135deg, rgba(224,25,140,0.08), rgba(32,128,141,0.06));
  border: 1px solid rgba(224,25,140,0.2);
  border-radius: 18px;
  padding: 40px 36px;
  margin-top: 48px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.quote-card blockquote {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: #fff;
  font-weight: 500;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
.quote-card blockquote::before {
  content: "“";
  font-size: 3rem;
  color: var(--magenta);
  line-height: 0.6;
  font-family: Georgia, serif;
  margin-right: 6px;
  vertical-align: -0.4em;
}
.quote-card cite {
  display: flex;
  align-items: center;
  gap: 14px;
  font-style: normal;
  font-size: 0.95rem;
}
.quote-card cite .who { color: #fff; font-weight: 600; }
.quote-card cite .what { color: rgba(255,255,255,0.65); }
.quote-card cite a { color: var(--yellow); text-decoration: none; }


/* ============ AVATAR / PORTRAITS ============ */
.avatar {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(224,25,140,0.15);
}
.avatar--lg { width: 96px; height: 96px; }
.avatar--xl { width: 180px; height: 180px; box-shadow: 0 0 0 4px rgba(224,25,140,0.18), 0 18px 40px rgba(0,0,0,0.4); }

/* Quote card: add avatar row */
.quote-card cite { gap: 18px; }
.quote-card cite img.avatar { margin-right: 4px; }

/* Proof strip avatar */
.proof__quote { position: relative; }
.proof__inner--with-avatar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.proof__avatar-block {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.proof__avatar-block .proof__name { font-weight: 700; color: #fff; font-size: 0.95rem; text-align: center; line-height: 1.3; }
.proof__avatar-block .proof__role { color: rgba(255,255,255,0.6); font-size: 0.82rem; text-align: center; }
.proof__avatar-block a { color: var(--yellow); text-decoration: none; }
@media (max-width: 760px) {
  .proof__inner--with-avatar { grid-template-columns: 1fr; gap: 24px; }
}

/* About page founder portrait */
.team-portrait {
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 28px 32px;
  margin-top: 40px;
}
.team-portrait__body { flex: 1; }
.team-portrait__name { font-weight: 700; font-size: 1.2rem; color: #fff; letter-spacing: -0.01em; }
.team-portrait__role { color: var(--yellow); font-size: 0.88rem; margin-top: 2px; font-weight: 600; }
.team-portrait__bio { color: rgba(255,255,255,0.74); font-size: 0.95rem; line-height: 1.6; margin-top: 14px; }
.team-portrait__link { color: var(--magenta); text-decoration: none; font-weight: 500; font-size: 0.9rem; margin-top: 10px; display: inline-block; }
.team-portrait__link:hover { color: var(--yellow); }
@media (max-width: 640px) {
  .team-portrait { flex-direction: column; text-align: center; padding: 24px; }
}

/* ============ v7 WORLD-CLASS POLISH ============ */

/* --- Motion --- */
@keyframes tb-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes tb-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}
@keyframes tb-gradient-drift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes tb-arrow-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}
@keyframes tb-callout-in {
  0% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Hero stagger */
.hero h1 { animation: tb-fade-up 0.7s var(--ease) both; }
.hero .lead { animation: tb-fade-up 0.7s var(--ease) 0.1s both; }
.hero__cta { animation: tb-fade-up 0.7s var(--ease) 0.2s both; }
.hero .dash-frame { animation: tb-fade-up 0.9s var(--ease) 0.3s both; }

/* Flow node hover lift */
.flow__node {
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.flow__node:hover {
  transform: translateY(-4px);
  border-color: rgba(224,25,140,0.35);
}
.flow__arrow {
  animation: tb-arrow-nudge 2.4s ease-in-out infinite;
}

/* Gradient text drift */
.grad-drift {
  background: linear-gradient(90deg, #E0198C, #F5A623, #FFD600, #C8F000, #F5A623, #E0198C);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: tb-gradient-drift 8s ease-in-out infinite;
}

/* Live indicator pill on the dashboard */
.dash-frame { position: relative; }
.dash-frame__live {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  background: rgba(40,200,64,0.12);
  border: 1px solid rgba(40,200,64,0.35);
  border-radius: 9999px;
  color: #4ee06a;
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.04em;
}
.dash-frame__live::before {
  content: "";
  width: 7px; height: 7px;
  background: #28c840;
  border-radius: 50%;
  animation: tb-live-pulse 2s ease-in-out infinite;
}

/* Annotated dashboard callouts — sit OUTSIDE the dashboard frame */
.hero .dash-frame { overflow: visible; }
@keyframes tb-jiggle-a {
  0%, 100% { transform: translate(0, 0) rotate(-0.4deg); }
  25%      { transform: translate(2px, -4px) rotate(0.3deg); }
  50%      { transform: translate(-1px, -6px) rotate(-0.6deg); }
  75%      { transform: translate(3px, -2px) rotate(0.5deg); }
}
@keyframes tb-jiggle-b {
  0%, 100% { transform: translate(0, 0) rotate(0.3deg); }
  33%      { transform: translate(-3px, -5px) rotate(-0.5deg); }
  66%      { transform: translate(2px, -3px) rotate(0.6deg); }
}
@keyframes tb-jiggle-c {
  0%, 100% { transform: translate(0, 0) rotate(-0.3deg); }
  20%      { transform: translate(-2px, -3px) rotate(0.4deg); }
  55%      { transform: translate(3px, -5px) rotate(-0.5deg); }
  80%      { transform: translate(-1px, -2px) rotate(0.3deg); }
}
@keyframes tb-pin-pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(224,25,140,0.22); transform: translateY(-50%) scale(1); }
  50%      { box-shadow: 0 0 0 9px rgba(224,25,140,0.10); transform: translateY(-50%) scale(1.18); }
}
.dash-callout {
  position: absolute;
  z-index: 3;
  background: rgba(10,10,12,0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(224,25,140,0.55);
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(0,0,0,0.55), 0 0 0 1px rgba(224,25,140,0.18);
  opacity: 0;
  pointer-events: none;
  /* Two-stage animation: fade-in once, then perpetual jiggle */
  animation:
    tb-callout-in 0.6s var(--ease) forwards,
    tb-jiggle-a 6.5s ease-in-out infinite;
}
/* Dot pinned to the dashboard edge */
.dash-callout::before {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  background: var(--magenta);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(224,25,140,0.22);
  z-index: 1;
}
/* Connector line from dot to label */
.dash-callout::after {
  content: "";
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(224,25,140,0.65), rgba(224,25,140,0.15));
  top: 50%;
  z-index: 0;
}

/* LEFT side, mid-top: Health score per domain */
.dash-callout--health {
  top: 22%; left: -190px;
  animation:
    tb-callout-in 0.6s var(--ease) 0.9s forwards,
    tb-jiggle-a 6.8s ease-in-out 1.5s infinite;
}
.dash-callout--health::before {
  right: -110px; top: 50%; transform: translateY(-50%);
  animation: tb-pin-pulse 2.6s ease-in-out infinite;
}
.dash-callout--health::after {
  right: -96px; width: 96px;
  background: linear-gradient(270deg, rgba(224,25,140,0.65), rgba(224,25,140,0.15));
}

/* RIGHT side, top: Brand exposure */
.dash-callout--exposure {
  top: 8%; right: -200px;
  animation:
    tb-callout-in 0.6s var(--ease) 1.3s forwards,
    tb-jiggle-b 7.4s ease-in-out 1.9s infinite;
}
.dash-callout--exposure::before {
  left: -110px; top: 50%; transform: translateY(-50%);
  animation: tb-pin-pulse 2.6s ease-in-out 0.7s infinite;
}
.dash-callout--exposure::after {
  left: -96px; width: 96px;
}

/* RIGHT side, bottom: Growth signal */
.dash-callout--growth {
  bottom: 28%; right: -180px;
  animation:
    tb-callout-in 0.6s var(--ease) 1.7s forwards,
    tb-jiggle-c 8.2s ease-in-out 2.3s infinite;
}
.dash-callout--growth::before {
  left: -110px; top: 50%; transform: translateY(-50%);
  animation: tb-pin-pulse 2.6s ease-in-out 1.3s infinite;
}
.dash-callout--growth::after {
  left: -96px; width: 96px;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .dash-callout,
  .dash-callout::before {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* Hide on tablets/mobile where there's no room to extend out */
@media (max-width: 1100px) {
  .dash-callout { display: none; }
}

/* Mobile dashboard card-stack alternative */
.dash-cards-mobile {
  display: none;
  margin-top: 24px;
}
.dash-cards-mobile .dash-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.dash-cards-mobile .dash-card__domain {
  font-weight: 700; color: #fff; font-size: 0.95rem;
}
.dash-cards-mobile .dash-card__reason {
  font-size: 0.82rem; color: rgba(255,255,255,0.65);
  grid-column: 1 / -1; margin-top: 2px;
}
.dash-cards-mobile .dash-card__bar {
  grid-column: 1 / -1;
  height: 6px; border-radius: 4px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  margin-top: 4px;
}
.dash-cards-mobile .dash-card__bar > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, #C8F000, #FFD600);
  border-radius: 4px;
}
.dash-cards-mobile .dash-pill {
  padding: 4px 10px; border-radius: 9999px;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  white-space: nowrap;
}
.dash-pill--investigate { background: rgba(255,214,0,0.15); color: #FFD600; }
.dash-pill--approve { background: rgba(78,224,106,0.12); color: #4ee06a; }
.dash-pill--pause { background: rgba(224,25,140,0.15); color: #ff5fa3; }
.dash-pill--review { background: rgba(245,166,35,0.15); color: #F5A623; }

@media (max-width: 720px) {
  .dash-frame { display: none; }
  .dash-cards-mobile { display: block; }
  .dash-frame__caption { display: none; }
  .dash-cards-mobile__caption {
    display: block; text-align: center;
    color: rgba(255,255,255,0.62);
    font-size: 0.85rem; margin-top: 6px;
  }
}

/* Hero mobile h1 wrap fix */
@media (max-width: 540px) {
  .hero h1 {
    font-size: clamp(2.1rem, 9vw, 3rem);
    line-height: 1.08;
    max-width: 100%;
    word-spacing: -0.02em;
  }
}

/* Flow arrow rotation on mobile (was static-right, should point down) */
@media (max-width: 880px) {
  .flow__arrow {
    transform: rotate(90deg);
    animation: none;
  }
}

/* --- Typography moment: hero stat block --- */
.hero-stat {
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

/* --- Inline quiz (homepage) --- */
.inline-quiz {
  background: linear-gradient(135deg, rgba(224,25,140,0.06), rgba(245,166,35,0.04), rgba(32,128,141,0.06));
  border: 1px solid rgba(224,25,140,0.2);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 52px);
  margin: 0 auto;
  max-width: 880px;
}
.inline-quiz__intro {
  text-align: center;
  margin-bottom: 32px;
}
.inline-quiz__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 760px) {
  .inline-quiz__steps { grid-template-columns: 1fr; }
}
.inline-quiz .quiz-step { margin-bottom: 0; background: rgba(0,0,0,0.25); border-radius: 14px; padding: 18px; }
.inline-quiz .quiz-step__num { font-size: 0.72rem; }
.inline-quiz__cta {
  text-align: center;
  margin-top: 28px;
}

/* --- Footer slim (2-col) --- */
.footer--slim .footer__grid {
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
}
@media (max-width: 760px) {
  .footer--slim .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer--slim h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 14px; font-weight: 600; }
.footer--slim .footer__news { margin-top: 6px; display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.footer--slim .footer__news input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
}
.footer--slim .footer__news input::placeholder { color: rgba(255,255,255,0.45); }
.footer--slim .footer__news-prop { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 8px; line-height: 1.55; }
.footer--slim .footer__links-row {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 18px;
}
.footer--slim .footer__links-row a { color: rgba(255,255,255,0.72); font-size: 0.9rem; }
.footer--slim .footer__links-row a:hover { color: #fff; }
.footer--slim .footer__bottom { font-size: 0.82rem; color: rgba(255,255,255,0.45); padding-top: 22px; }

/* --- POV lead article block --- */
.pov-lead {
  background: linear-gradient(135deg, rgba(224,25,140,0.08), rgba(245,166,35,0.05), rgba(32,128,141,0.06));
  border: 1px solid rgba(224,25,140,0.22);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
}
.pov-lead__title {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin: 12px 0 16px;
  color: #fff;
  font-weight: 700;
}
.pov-lead__deck {
  color: rgba(255,255,255,0.78);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

/* ============================================================
   THEME ADAPTATION — applies in BOTH modes via tokens
   ============================================================ */

/* Surfaces */
.section.surface-alt { background: var(--bg-3); }
.cta-band { background: var(--bg-2); border-top: 1px solid var(--border); }

/* Nav */
.nav {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.logo__word { color: var(--text); }
.nav__link { color: var(--text-muted); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--text); }

/* Cards */
.card {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
}
.card h3 { color: var(--text); }
.card p { color: var(--text-muted); }

/* Headings + base text */
h1, h2, h3, h4 { color: var(--text); }
p { color: var(--text); }
.muted, p.muted { color: var(--text-muted); }
.lead { color: var(--text-muted); }

/* Feature lists */
.feature-list li { color: var(--text-muted); }

/* Buttons */
.btn--secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.textlink { color: var(--text); border-bottom-color: var(--orange); }
.textlink:hover { color: var(--magenta); }

/* Accordion */
.accordion details {
  background: var(--surface-2);
  border-color: var(--border);
}
.accordion .acc-body { color: var(--text-muted); }

/* Pricing */
.price-card {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
}
.price-card h3 { color: var(--text); }
.price-card__tag { color: var(--text-muted); }
.price-card__price { color: var(--text); }
.price-card__price small { color: var(--text-muted); }
.price-card__ongoing { color: var(--text-muted); }
.price-card ul.feat li { color: var(--text-muted); }

/* Trust roster chips */
.trust__chip {
  border-color: var(--border-strong);
  color: var(--text);
}
.trust__caption { color: var(--text-muted); }

/* Vignette / feature blocks */
.vignette {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--text);
}
.vignette__tag { color: var(--orange); }

/* Dashboard frame */
.dash-frame {
  background: var(--surface-2);
  border-color: var(--border);
  box-shadow: 0 30px 80px rgba(0,0,0,0.18), 0 12px 30px rgba(0,0,0,0.08);
}
.dash-frame__bar { background: var(--bg-3); border-bottom-color: var(--border); }
.dash-frame__caption { color: var(--text-muted); }

/* Flow diagram */
.flow__node {
  background: var(--surface-2);
  border-color: var(--border);
}
.flow__title { color: var(--text); }
.flow__desc { color: var(--text-muted); }

/* ICP cards */
.icp-card {
  background: var(--surface-2);
  border-color: var(--border);
}
.icp-card h3 { color: var(--text); }
.icp-card p { color: var(--text-muted); }
.icp-card__role { color: var(--text-subtle); }

/* Quote card */
.quote-card {
  background: linear-gradient(135deg, rgba(224,25,140,0.06), rgba(32,128,141,0.04));
  border-color: rgba(224,25,140,0.18);
}
.quote-card blockquote { color: var(--text); }
.quote-card cite .who { color: var(--text); }
.quote-card cite .what { color: var(--text-muted); }

/* Proof strip */
.proof {
  background: linear-gradient(90deg, rgba(224,25,140,0.06), rgba(245,166,35,0.05), rgba(200,240,0,0.05));
  border-top-color: var(--border);
  border-bottom-color: var(--border);
}
.proof__stat { color: var(--text); }
.proof__quote { color: var(--text); }
.proof__avatar-block .proof__name { color: var(--text); }
.proof__avatar-block .proof__role { color: var(--text-muted); }

/* Team portrait */
.team-portrait {
  background: var(--surface-2);
  border-color: var(--border);
}
.team-portrait__name { color: var(--text); }
.team-portrait__bio { color: var(--text-muted); }

/* Inline quiz */
.inline-quiz { background: linear-gradient(135deg, rgba(224,25,140,0.05), rgba(245,166,35,0.03), rgba(32,128,141,0.05)); border-color: rgba(224,25,140,0.18); }
.inline-quiz .quiz-step { background: var(--surface-2); }
.quiz-opt {
  background: var(--surface-1);
  border-color: var(--border);
  color: var(--text-muted);
}
.quiz-opt:hover { border-color: var(--border-strong); color: var(--text); }

/* Footer */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 56px 0 32px; color: var(--text-muted); }
.footer__tag { color: var(--text-muted); }
.footer__bottom { color: var(--text-subtle); border-top: 1px solid var(--border); margin-top: 32px; }
.footer--slim .footer__links-row a { color: var(--text-muted); }
.footer--slim .footer__links-row a:hover { color: var(--text); }
.footer--slim .footer__news input {
  background: var(--surface-1);
  border-color: var(--border);
  color: var(--text);
}
.footer--slim .footer__news input::placeholder { color: var(--text-subtle); }
.footer--slim .footer__news-prop { color: var(--text-muted); }
.footer--slim h4 { color: var(--text-subtle); }

/* News cards */
.news-card {
  background: var(--surface-2);
  border-color: var(--border);
}
.news-card h3 { color: var(--text); }
.news-card p { color: var(--text-muted); }
.news-card__meta { color: var(--text-subtle); }
.pov-lead__title { color: var(--text); }
.pov-lead__deck { color: var(--text-muted); }

/* Subnav */
.subnav a {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
}

/* Comparison tables */
.cmp { background: var(--surface-2); }
.cmp caption {
  background: var(--bg-3);
  color: var(--orange);
}
.cmp th, .cmp td { border-bottom-color: var(--border); color: var(--text); }
.cmp th:first-child, .cmp td:first-child { color: var(--text); }

/* Toggle pill */
.toggle-pill { background: var(--surface-2); border: 1px solid var(--border); }
.toggle-pill span { color: var(--text-muted); }
.toggle-pill span.active { color: #fff; }

/* Timeline */
.timeline__card { background: var(--surface-2); border-color: var(--border); }
.timeline__phase { color: var(--orange); }
.timeline__title { color: var(--text); }

/* Trust caption */
.trust { border-color: var(--border); }

/* Hero — light mode gets a paper-tone ambient glow */
html:has(#theme-light:checked) .hero::before,
html[data-theme="light"] .hero::before {
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(224,25,140,0.16) 0%, rgba(224,25,140,0) 60%),
    radial-gradient(ellipse 50% 50% at 60% 70%, rgba(245,166,35,0.12) 0%, rgba(245,166,35,0) 60%),
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(32,128,141,0.08) 0%, rgba(32,128,141,0) 60%);
  filter: blur(40px);
}
html:has(#theme-light:checked) .hero::after,
html[data-theme="light"] .hero::after {
  background: linear-gradient(180deg, transparent 0%, rgba(250,250,247,0.85) 95%, var(--bg) 100%);
}
html:has(#theme-light:checked) .hero,
html[data-theme="light"] .hero { background: var(--bg); }

/* Theme toggle button (top-right of nav) */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  margin-right: 10px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.theme-toggle:hover { border-color: var(--magenta); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: inline-block; }
html:has(#theme-light:checked) .theme-toggle .sun,
html[data-theme="light"] .theme-toggle .sun { display: inline-block; }
html:has(#theme-light:checked) .theme-toggle .moon,
html[data-theme="light"] .theme-toggle .moon { display: none; }
#theme-light { position: absolute; opacity: 0; pointer-events: none; }

/* Dashboard mobile card light-mode tweaks */
.dash-cards-mobile .dash-card {
  background: var(--surface-2);
  border-color: var(--border);
}
.dash-cards-mobile .dash-card__domain { color: var(--text); }
.dash-cards-mobile .dash-card__reason { color: var(--text-muted); }
.dash-cards-mobile .dash-card__bar { background: var(--bg-3); }

/* ============ v7.7 spacing polish ============ */

/* Proof strip: make Kat's quote feel more balanced */
.proof__inner--with-avatar {
  grid-template-columns: 200px 1fr;
  gap: 48px;
}
.proof__avatar-block .avatar { width: 110px; height: 110px; }
.proof__avatar-block { padding-top: 6px; }
.proof__quote { font-size: 1.18rem; line-height: 1.55; padding-left: 24px; border-left-width: 4px; }
@media (max-width: 760px) {
  .proof__inner--with-avatar { grid-template-columns: 1fr; text-align: center; }
  .proof__quote { border-left: none; padding-left: 0; padding-top: 18px; border-top: 3px solid var(--magenta); }
}

/* Inline quiz: more comfortable padding inside steps */
.inline-quiz .quiz-step { padding: 22px 20px; }
.inline-quiz .quiz-step__num {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 14px;
}
.inline-quiz .quiz-opts { display: flex; flex-direction: column; gap: 8px; }
.inline-quiz .quiz-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  cursor: pointer;
}
.inline-quiz .quiz-opt input { accent-color: var(--magenta); }

/* CTA band: don't leave it naked */
.cta-band {
  padding: clamp(56px, 8vh, 96px) 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-3) 100%);
}

/* Final-section CTA centring */
.cta-band .container { text-align: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: var(--text-muted); margin-bottom: 28px; max-width: 56ch; margin-left:auto; margin-right:auto; }

/* Section vertical rhythm — tighter */
.section { padding: clamp(56px, 8vh, 96px) 0; }
.section--tight { padding: clamp(28px, 4vh, 48px) 0; }

/* ============================================================
   v7.8 MOBILE PASS — every page <= 600px
   ============================================================ */

@media (max-width: 600px) {

  /* Container padding */
  .container { padding: 0 18px; }

  /* Hero — reduce padding so headline sits closer to top */
  .hero { padding: 64px 0 32px; min-height: auto; }
  .hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
    line-height: 1.1;
    max-width: 100%;
  }
  .hero .lead { font-size: 1.0rem; line-height: 1.55; }
  .hero__cta { gap: 14px; margin-top: 24px; flex-wrap: wrap; }
  .hero__cta .btn { padding: 12px 22px; font-size: 0.95rem; }
  .hero__cta .textlink { font-size: 0.92rem; }
  .hero .dash-frame { margin-top: 32px; }
  .hero--short { min-height: auto; padding: 56px 0 32px; }

  /* Section rhythm */
  .section { padding: 48px 0; }
  .section--tight { padding: 24px 0; }

  /* Section h2 */
  .section h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); line-height: 1.15; }
  .section .lead { font-size: 1.0rem; line-height: 1.55; }
  .eyebrow { font-size: 0.72rem; }

  /* Split → single col, image first, smaller heights */
  .split { gap: 24px; }
  .split__media { order: -1 !important; }
  .split__media img { max-height: 360px; }
  .split--reverse .split__media { order: -1; }

  /* Dashboard frame caption */
  .dash-frame__caption { font-size: 0.85rem; padding: 0 12px; }

  /* Flow diagram: arrow visibility */
  .flow { gap: 10px; }
  .flow__node { padding: 18px 16px; }
  .flow__pill { padding: 5px 12px; }
  .flow__title { font-size: 1rem; }
  .flow__desc { font-size: 0.85rem; }
  .flow__arrow {
    font-size: 1.4rem;
    margin: 2px auto;
    color: var(--yellow);
    opacity: 0.7;
  }

  /* Proof strip: tighter centred layout */
  .proof { padding: 40px 0; }
  .proof__inner--with-avatar { gap: 20px; }
  .proof__avatar-block .avatar { width: 84px; height: 84px; }
  .proof__quote { font-size: 1.05rem; padding-top: 16px; }
  .proof__stat { font-size: 1.25rem; text-align: center; }

  /* Quote card */
  .quote-card { padding: 28px 22px; margin-top: 32px; }
  .quote-card blockquote { font-size: 1.1rem; line-height: 1.5; }
  .quote-card blockquote::before { font-size: 2.4rem; }
  .quote-card cite { gap: 12px; }
  .quote-card cite img.avatar { width: 56px; height: 56px; }

  /* Team portrait */
  .team-portrait { padding: 24px 20px; text-align: center; gap: 16px; }
  .avatar--xl { width: 140px; height: 140px; }
  .team-portrait__bio { font-size: 0.92rem; }

  /* ICP cards */
  .icp-card { padding: 24px 20px; }
  .icp-card h3 { font-size: 1.05rem; }
  .icp-card p { font-size: 0.92rem; }

  /* Inline quiz */
  .inline-quiz { padding: 22px 16px; }
  .inline-quiz__steps { gap: 12px; }
  .inline-quiz .quiz-step { padding: 16px 14px; }
  .inline-quiz .quiz-step__num { font-size: 0.66rem; margin-bottom: 10px; }
  .inline-quiz .quiz-opt {
    padding: 10px 12px;
    font-size: 0.88rem;
    gap: 8px;
  }
  .inline-quiz .quiz-opt input { width: 14px; height: 14px; }
  .inline-quiz__cta .btn { width: 100%; justify-content: center; }

  /* Pricing cards */
  .price-card { padding: 24px 20px; margin-bottom: 16px; }
  .price-card__price { font-size: 2.4rem; }
  .price-card__price small { font-size: 0.92rem; }
  .price-card__tag { min-height: auto; margin-bottom: 16px; }

  /* === CRITICAL: COMPARISON TABLE — make horizontally scrollable === */
  .cmp-wrap, .cmp-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -18px;
    padding: 0 18px;
  }
  .cmp {
    min-width: 560px;
    font-size: 0.85rem;
  }
  .cmp th, .cmp td {
    padding: 12px 10px;
    white-space: normal;
  }
  .cmp caption {
    font-size: 0.78rem;
    padding: 12px 14px;
  }

  /* Pricing timeline */
  .timeline { grid-template-columns: 1fr; gap: 10px; }
  .timeline__card { padding: 16px 18px; }

  /* CTA band */
  .cta-band { padding: 48px 0; }
  .cta-band h2 { font-size: 1.5rem; }
  .cta-band p { font-size: 0.95rem; }
  .cta-band .btn { width: 100%; justify-content: center; }

  /* News cards */
  .news-grid { grid-template-columns: 1fr; gap: 16px; }
  .news-card { padding: 24px 20px; }

  /* POV lead */
  .pov-lead { padding: 24px 20px; }
  .pov-lead__title { font-size: 1.3rem; line-height: 1.25; }
  .pov-lead__deck { font-size: 0.95rem; }

  /* Footer */
  .footer { padding: 40px 0 24px; }
  .footer--slim .footer__grid { gap: 28px; }
  .footer--slim h4 { margin-bottom: 10px; }
  .footer--slim .footer__news input { width: 100%; }
  .footer--slim .footer__news .btn { width: 100%; justify-content: center; }
  .footer--slim .footer__links-row { gap: 16px; row-gap: 10px; }
  .footer--slim .footer__bottom { font-size: 0.78rem; line-height: 1.6; }

  /* Subnav */
  .subnav { gap: 8px; flex-wrap: wrap; }
  .subnav a { padding: 10px 16px; font-size: 0.88rem; }

  /* Accordion (signal categories) */
  .accordion details { padding: 0 18px; margin-bottom: 12px; }
  .accordion summary { font-size: 0.95rem; padding: 14px 0; }
  .accordion summary > span.muted { font-size: 0.78rem; padding-right: 6px; }

  /* Dashboard mobile card stack */
  .dash-cards-mobile { margin-top: 18px; }
  .dash-cards-mobile .dash-card { padding: 14px; }

  /* Trust logo strip */
  .trust { padding: 36px 0; }
  .trust__chip { font-size: 0.85rem; padding: 8px 14px; }

  /* Theme toggle smaller */
  .theme-toggle { width: 34px; height: 34px; }
  .theme-toggle svg { width: 16px; height: 16px; }

  /* Buttons in nav drawer */
  .nav__actions .btn { padding: 8px 16px; font-size: 0.88rem; }

  /* Body global max-width sanity */
  body { overflow-x: hidden; }
  main { overflow-x: hidden; }
}

/* iPhone SE / very small */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .hero h1 { font-size: 1.75rem; }
  .nav__inner { padding: 0 14px; }
  .logo__word { font-size: 1.05rem; }
  .price-card__price { font-size: 2.1rem; }
}

/* Swipe hint above pricing tables — mobile only */
.cmp-hint {
  display: none;
  text-align: center;
  font-size: 0.78rem;
  color: var(--orange);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .cmp-hint { display: block; }
}

/* ============ SHARE WIDGET ============ */
.share-wrap {
  position: relative;
  margin-right: 8px;
}
.share-wrap input[type="checkbox"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.share-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.18s var(--ease);
}
.share-toggle:hover { border-color: var(--magenta); transform: scale(1.05); }
.share-toggle svg { width: 16px; height: 16px; }
.share-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
  z-index: 100;
}
.share-wrap input:checked ~ .share-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.18s var(--ease), transform 0.2s var(--ease), visibility 0s;
}
.share-menu a, .share-menu .share-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s var(--ease);
}
.share-menu a:hover, .share-menu .share-copy:hover {
  background: var(--bg-3);
}
.share-menu svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-muted); }
.share-menu a:hover svg, .share-menu .share-copy:hover svg { color: var(--magenta); }
.share-menu .share-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}
.share-menu input.share-url {
  width: 100%;
  font-size: 0.78rem;
  font-family: 'SF Mono', Menlo, monospace;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text-muted);
  margin: 2px 0;
}
.share-menu input.share-url:focus { color: var(--text); border-color: var(--magenta); outline: none; }
.share-menu p.share-hint { font-size: 0.72rem; color: var(--text-subtle); padding: 4px 4px 8px; margin: 0; }

/* On smaller screens, anchor menu inside the nav drawer instead */
@media (max-width: 600px) {
  .share-wrap { margin-right: 0; }
  .share-menu { right: -10px; min-width: 220px; }
}

/* ============================================================
   v8 — Clash Grotesk for headlines + brand consistency
   ============================================================ */

/* Clash Grotesk for display copy only */
@import url('https://api.fontshare.com/v2/css?f[]=clash-grotesk@500,600,700&display=swap');

h1, h2, .hero h1, .section h2, .pov-lead__title, .pricing-eyebrow {
  font-family: 'Clash Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero h1 { font-weight: 600; letter-spacing: -0.025em; }
h3, .ch-asset__title, .icp-card h3, .team-portrait__name { font-family: 'Inter', sans-serif; }

/* Gradient text utility — only the FINAL WORD(S), never a whole headline */
.gtext {
  background-image: linear-gradient(90deg, #E0198C 0%, #F5A623 33%, #FFD600 66%, #C8F000 100%);
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block;
  padding-right: 0.06em; /* avoid edge clipping on the final glyph */
}

/* Consistent bullet treatment — gradient dot, not the orange tick */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.55;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--grad);
}

/* Eyebrow consistency — single style site-wide */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 14px;
}

/* Hero image treatment — soft mask + tinted overlay so brand reads over photo */
.hero--imaged {
  position: relative;
  overflow: hidden;
}
.hero--imaged .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) contrast(1.05);
}
.hero--imaged::before {
  background:
    linear-gradient(90deg,
      var(--bg) 0%,
      rgba(5,5,5,0.92) 35%,
      rgba(5,5,5,0.55) 65%,
      rgba(5,5,5,0.15) 100%) !important;
  z-index: 1 !important;
}
html[data-theme="light"] .hero--imaged::before,
html:has(#theme-light:checked) .hero--imaged::before {
  background:
    linear-gradient(90deg,
      var(--bg) 0%,
      rgba(250,250,247,0.92) 35%,
      rgba(250,250,247,0.55) 65%,
      rgba(250,250,247,0.20) 100%) !important;
}
.hero--imaged .container { z-index: 2; }
.hero--imaged h1 { max-width: 18ch; }

/* Hero secondary tiny image badge */
.hero__tag-img {
  display: inline-block;
  width: 56px; height: 56px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid var(--border);
  margin-bottom: 18px;
}

/* HubSpot newsletter form container in footer */
.footer--slim .hs-form-frame.footer__news {
  display: block;
  margin-top: 6px;
  max-width: 380px;
  min-height: 180px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  overflow: hidden;
}
/* HubSpot injects an iframe — sit it inside the card and force transparent backdrop */
.footer--slim .hs-form-frame.footer__news iframe {
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
  display: block;
  min-height: 160px;
  /* Force HubSpot's injected inputs to match our dark surface */
  --hs-input-bg: var(--surface-1);
  --hs-input-border: var(--border);
  --hs-input-text: var(--text);
  --hs-button-bg: var(--bg);
  --hs-button-text: var(--text);
  --hs-button-border: var(--magenta);
}
.footer--slim .hs-form-frame input[type="email"],
.footer--slim .hs-form-frame .hs-input {
  background: var(--surface-1) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  width: 100% !important;
}
.footer--slim .hs-form-frame .hs-button {
  background: var(--bg) !important;
  color: var(--text) !important;
  border: 2px solid;
  border-image: linear-gradient(90deg, #E0198C, #F5A623, #FFD600, #C8F000) 1 !important;
  padding: 12px 22px !important;
  border-radius: 9999px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  cursor: pointer !important;
  margin-top: 10px !important;
  width: 100% !important;
  transition: transform 0.18s var(--ease) !important;
}
.footer--slim .hs-form-frame .hs-button:hover { transform: scale(1.02) !important; }
.footer--slim .hs-form-frame label,
.footer--slim .hs-form-frame .hs-form-required { color: var(--text-muted) !important; font-size: 0.85rem !important; font-family: inherit !important; }
.footer--slim .hs-form-frame .hs-error-msg { color: #ff5fa3 !important; font-size: 0.82rem !important; }
.footer--slim .hs-form-frame .submitted-message { color: var(--text-muted) !important; font-size: 0.92rem !important; line-height: 1.55 !important; }
