/* =========================================================
   RepSpert — Design System
   Colors, logo and brand pulled from /assets
   ========================================================= */

:root {
  /* Brand */
  --navy-900: #1a2032;
  --navy-800: #232a3d;
  --navy-700: #2d3550;
  --navy-600: #3b456a;

  --teal-100: #e6faf3;
  --teal-200: #b9f1de;
  --teal-400: #34dca6;   /* primary brand accent */
  --teal-500: #1cc793;
  --teal-600: #13a97b;   /* accessible teal for text on white */

  --ink: #1c2333;
  --slate: #5a6478;
  --slate-light: #8a93a6;

  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-softer: #eef3f9;
  --line: #e5e9f1;

  --gold: #ffb020;
  --danger: #e15c5c;
  --success: #1cc793;

  /* Type */
  --font-head: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(26, 32, 50, 0.06);
  --shadow: 0 10px 30px rgba(26, 32, 50, 0.08);
  --shadow-lg: 0 24px 60px rgba(26, 32, 50, 0.14);
  --gutter: 24px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.14; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { color: var(--slate); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy-900); }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 14px;
}
.section-head { max-width: 680px; margin: 0 auto 52px; }
.section-head p { font-size: 1.1rem; margin-top: 14px; }
.lead { font-size: 1.15rem; color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 15px 28px; border-radius: 999px; transition: all 0.18s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--teal-400); color: var(--navy-900); box-shadow: 0 8px 22px rgba(52, 220, 166, 0.35); }
.btn-primary:hover { background: var(--teal-500); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(52, 220, 166, 0.45); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy-800); background: var(--navy-900); color: #fff; }
.btn-white { background: #fff; color: var(--navy-900); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-lg { padding: 18px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a { font-family: var(--font-head); font-weight: 600; font-size: 0.97rem; color: var(--navy-800); transition: color 0.15s; }
.nav-links a:hover { color: var(--teal-600); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy-800); border-radius: 2px; transition: 0.25s; }

/* Nav dropdown */
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-item .caret { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-item:hover .caret, .nav-item:focus-within .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: -16px; padding-top: 14px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; z-index: 70;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown-inner {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 10px; min-width: 252px;
}
.dropdown-inner a { display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 9px; font-family: var(--font-head); font-weight: 600; font-size: 0.93rem; color: var(--navy-800); }
.dropdown-inner a:hover { background: var(--bg-soft); color: var(--teal-600); }
.dropdown-inner .d-ico { width: 28px; height: 28px; border-radius: 8px; background: var(--bg-soft); display: grid; place-items: center; flex-shrink: 0; }
.dropdown-inner .d-ico svg { width: 16px; height: 16px; }
.dropdown-inner .d-ico.mono { font-family: var(--font-head); font-weight: 800; font-size: 0.72rem; color: #fff; }
.dropdown-inner .d-all { border-top: 1px solid var(--line); margin-top: 7px; padding-top: 12px; color: var(--teal-600); font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 460px at 82% -8%, rgba(52,220,166,0.16), transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, #f2f7fc 100%);
  padding: 78px 0 84px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--teal-600); }
.hero-sub { font-size: 1.18rem; max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust .item { display: flex; flex-direction: column; }
.hero-trust .num { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--navy-900); }
.hero-trust .lbl { font-size: 0.86rem; color: var(--slate); font-weight: 500; }
.hero-trust .num.hero-stars { color: var(--gold); letter-spacing: 2px; }

/* Hero visual card */
.hero-visual { position: relative; }
.review-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 24px; position: relative; z-index: 2; max-width: 430px; margin: 0 0 0 auto;
}
.review-card .rc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.rc-logo { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-soft); flex-shrink: 0; }
.rc-head .rc-meta strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1rem; }
.rc-head .rc-meta span { font-size: 0.82rem; color: var(--slate); }
.rc-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.04em;
  color: var(--teal-600); background: var(--teal-100); padding: 5px 10px; border-radius: 999px; white-space: nowrap;
}
.rc-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); animation: rcPulse 1.6s ease-in-out infinite; }
@keyframes rcPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Review rows */
.rv { display: flex; align-items: flex-start; gap: 11px; padding: 13px 4px; position: relative; }
.rv .av {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
}
.rv .rv-body { flex: 1; min-width: 0; }
.rv .rv-name { font-family: var(--font-head); font-weight: 700; font-size: 0.86rem; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.rv .rv-stars { font-size: 0.78rem; letter-spacing: 1.5px; color: var(--gold); }
.rv .rv-stars .off { color: #d4dae4; }
.rv .rv-text { font-size: 0.84rem; color: var(--slate); line-height: 1.45; margin-top: 3px; position: relative; display: inline-block; }

/* Negative rows: flagged, then visibly removed */
.rv.neg { background: #fdf1f1; border-radius: 12px; padding: 13px 12px; margin: 3px -8px; }
.rv.neg .av, .rv.neg .rv-body { animation: rvFade 0.5s ease forwards; animation-delay: var(--d, 1s); }
@keyframes rvFade { to { opacity: 0.4; filter: grayscale(1); } }
.rv.neg .rv-text::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px;
  background: var(--slate); transform: scaleX(0); transform-origin: left center;
  animation: rvStrike 0.35s ease forwards; animation-delay: var(--d, 1s);
}
@keyframes rvStrike { to { transform: scaleX(1); } }
.rv.neg .rv-body { padding-right: 92px; }
.rv .stamp {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%) rotate(-6deg) scale(0); opacity: 0;
  border: 2.5px solid var(--teal-500); color: var(--teal-600); background: rgba(255, 255, 255, 0.94);
  font-family: var(--font-head); font-weight: 800; font-size: 0.76rem; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 8px;
  animation: stampIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: calc(var(--d, 1s) + 0.15s);
}
@keyframes stampIn { to { transform: translateY(-50%) rotate(-6deg) scale(1); opacity: 1; } }

/* Thread meta line (reddit card) */
.rv .rv-meta { display: block; font-size: 0.72rem; color: var(--slate-light); margin-top: 4px; font-family: var(--font-head); font-weight: 600; letter-spacing: 0.02em; }

/* Card footer: rating shift */
.rc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding-top: 15px; border-top: 1px solid var(--line); }
.rc-foot .rf-label { font-size: 0.84rem; font-weight: 600; color: var(--slate); }
.rc-foot .rf-shift { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); }
.rc-foot .rf-shift s { color: var(--slate-light); font-size: 0.95rem; }
.rc-foot .rf-shift .up { width: 17px; height: 17px; color: var(--teal-600); }
.rc-foot .rf-shift strong { font-size: 1.1rem; color: var(--navy-900); }
.rc-foot .rf-shift .gold { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .rv.neg .av, .rv.neg .rv-body { animation: none; opacity: 0.4; filter: grayscale(1); }
  .rv.neg .rv-text::after { animation: none; transform: scaleX(1); }
  .rv .stamp { animation: none; transform: translateY(-50%) rotate(-6deg) scale(1); opacity: 1; }
  .rc-live .dot { animation: none; }
}


/* ---------- Media / In the news ---------- */
.media-band { padding: 40px 0; border-bottom: 1px solid var(--line); background: #fff; }
.media-title { text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 26px; }
.media-logos { display: flex; align-items: center; justify-content: center; gap: 26px 52px; flex-wrap: wrap; }
.media-logos img { height: 24px; width: auto; opacity: 0.5; filter: grayscale(1); transition: 0.2s; }
.media-logos img.h-sm { height: 20px; }
.media-logos img.h-lg { height: 30px; }
.media-logos img:hover { opacity: 1; filter: none; }

/* Awards row */
.awards-row { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.award-chip {
  display: inline-flex; align-items: center; gap: 10px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-family: var(--font-head);
  font-weight: 600; font-size: 0.88rem; color: var(--navy-800);
}
.award-chip .star { color: var(--gold); }
.award-chip .badge-ico { color: var(--teal-600); display: inline-flex; }
.award-chip .badge-ico svg { width: 17px; height: 17px; }

/* ---------- Platforms ---------- */
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.platform-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; display: flex; align-items: center; gap: 14px; transition: 0.2s;
}
.platform-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.platform-card:hover .p-name { color: var(--teal-600); }
.platform-card .p-logo { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-soft); flex-shrink: 0; }
.platform-card .p-logo svg { width: 23px; height: 23px; }
.platform-card .p-mono { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.15rem; flex-shrink: 0; }
.platform-card .p-name { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink); }
.platform-card .p-sub { font-size: 0.8rem; color: var(--slate); }
.platforms-note { text-align: center; margin-top: 30px; color: var(--slate); font-size: 0.98rem; }
.platforms-note a { color: var(--teal-600); font-weight: 700; }

/* ---------- Value / risk-reversal cards ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; transition: 0.2s; }
.value-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.value-card .v-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--teal-100); display: grid; place-items: center; color: var(--teal-600); margin-bottom: 20px; }
.value-card .v-ico svg { width: 28px; height: 28px; }
.value-card h3 { margin-bottom: 10px; }
.value-card p { font-size: 0.98rem; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.step { position: relative; text-align: left; }
.step .s-num {
  width: 52px; height: 52px; border-radius: 15px; background: var(--navy-900); color: var(--teal-400);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; margin-bottom: 20px;
}
.step h3 { margin-bottom: 8px; font-size: 1.15rem; }
.step p { font-size: 0.96rem; }
.step .s-line { position: absolute; top: 26px; left: 62px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.step:last-child .s-line { display: none; }

/* ---------- Results band ---------- */
.results { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; border-radius: var(--radius-lg); padding: 56px 40px; }
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.result .r-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--teal-400); line-height: 1; }
.result .r-lbl { color: #c7cede; font-size: 0.98rem; margin-top: 8px; }

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 940px; margin: 0 auto; }
.compare-col { border-radius: var(--radius-lg); padding: 34px 32px; }
.compare-col.them { background: #fff; border: 1px solid var(--line); }
.compare-col.us { background: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg); position: relative; }
.compare-col h3 { font-size: 1.35rem; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.compare-col.us h3 { color: #fff; }
.compare-col .c-logo { height: 26px; }
.compare-sub { font-size: 0.9rem; margin-bottom: 24px; }
.compare-col.them .compare-sub { color: var(--slate); }
.compare-col.us .compare-sub { color: #b9c2d6; }
.compare-list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; font-size: 0.98rem; border-top: 1px solid var(--line); }
.compare-col.us .compare-list li { border-top-color: rgba(255,255,255,0.12); color: #e3e8f2; }
.compare-list li .ci { flex-shrink: 0; margin-top: 2px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.compare-list li .ci svg { width: 13px; height: 13px; }
.ci.no { background: #fbe4e4; color: var(--danger); }
.ci.yes { background: rgba(52,220,166,0.18); color: var(--teal-400); }
.compare-badge { position: absolute; top: -13px; right: 26px; background: var(--teal-400); color: var(--navy-900); font-family: var(--font-head); font-weight: 800; font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }

/* ---------- Testimonials ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tst-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; }
.tst-card .t-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
.tst-card blockquote { font-size: 1rem; color: var(--ink); line-height: 1.6; flex: 1; }
.tst-card .t-author { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.t-author .t-av { width: 42px; height: 42px; border-radius: 50%; background: var(--teal-100); color: var(--teal-600); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.t-author .t-name { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.t-author .t-role { font-size: 0.82rem; color: var(--slate); }
.t-verified { margin-left: auto; font-size: 0.75rem; color: var(--teal-600); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.t-verified svg { width: 14px; height: 14px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.faq-q .fq-ico { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: 0.25s; color: var(--teal-600); }
.faq-q .fq-ico svg { width: 14px; height: 14px; transition: 0.25s; }
.faq-item.open .fq-ico { background: var(--teal-400); border-color: var(--teal-400); color: var(--navy-900); }
.faq-item.open .fq-ico svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 4px 22px; color: var(--slate); font-size: 1rem; }

/* Legal prose (terms / privacy) */
.legal-wrap { max-width: 800px; margin: 0 auto; }
.legal-updated { font-size: 0.85rem; color: var(--slate-light); margin-bottom: 30px; font-family: var(--font-head); font-weight: 600; }
.legal-wrap h2 { font-size: 1.4rem; margin: 44px 0 14px; }
.legal-wrap h2:first-of-type { margin-top: 0; }
.legal-wrap p { margin-bottom: 14px; font-size: 0.98rem; }
.legal-wrap ul, .legal-wrap ol { list-style: disc; padding-left: 26px; margin: 0 0 18px; }
.legal-wrap ol { list-style: decimal; }
.legal-wrap li { margin-bottom: 10px; color: var(--slate); font-size: 0.98rem; }
.legal-wrap li::marker { color: var(--teal-600); }
.legal-wrap dt { font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-top: 16px; }
.legal-wrap dd { margin: 4px 0 0; color: var(--slate); font-size: 0.98rem; }
.legal-wrap a { color: var(--teal-600); font-weight: 600; }
.legal-wrap a:hover { text-decoration: underline; }

/* Contact info list (contact page, on navy) */
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; color: #c7cede; font-size: 0.97rem; }
.contact-list svg { width: 21px; height: 21px; color: var(--teal-400); flex-shrink: 0; margin-top: 2px; }
.contact-list strong { display: block; color: #fff; font-family: var(--font-head); font-size: 0.95rem; margin-bottom: 2px; }
.contact-list a { color: var(--teal-400); font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }

/* FAQ group headings (faq page) */
.faq-group { margin-top: 54px; }
.faq-group:first-child { margin-top: 0; }
.faq-group > h2 { font-size: 1.35rem; margin-bottom: 8px; padding-bottom: 14px; border-bottom: 2px solid var(--teal-400); display: inline-block; }

/* ---------- CTA / Form section ---------- */
.cta-section { background: linear-gradient(135deg, var(--navy-900), #232f4a); position: relative; overflow: hidden; }
.cta-section::before { content: ""; position: absolute; top: -140px; right: -80px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(52,220,166,0.22), transparent 68%); }
.cta-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; align-items: start; position: relative; z-index: 2; }
.cta-copy .eyebrow { color: var(--teal-400); }
.cta-copy h2 { color: #fff; margin-bottom: 18px; }
.cta-copy p { color: #c7cede; font-size: 1.08rem; margin-bottom: 28px; }
.cta-checklist li { display: flex; align-items: center; gap: 12px; color: #e3e8f2; padding: 9px 0; font-family: var(--font-head); font-weight: 600; }
.cta-checklist li svg { width: 20px; height: 20px; color: var(--teal-400); flex-shrink: 0; }

/* Form card */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-card .fc-sub { font-size: 0.95rem; color: var(--slate); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--navy-800); margin-bottom: 7px; }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 0.97rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-soft); transition: 0.15s; width: 100%;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-400); background: #fff; box-shadow: 0 0 0 3px rgba(52,220,166,0.16); }
.field .hint { font-size: 0.78rem; color: var(--slate-light); margin-top: 5px; }
.field.error input, .field.error select, .field.error textarea { border-color: var(--danger); }
.field .err-msg { display: none; color: var(--danger); font-size: 0.78rem; margin-top: 5px; }
.field.error .err-msg { display: block; }

/* Platform chips (checkbox group) */
.platform-select { grid-column: 1 / -1; }
.platform-select > label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--navy-800); margin-bottom: 10px; }
.chip-group { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip label {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--bg-soft); font-family: var(--font-head);
  font-weight: 600; font-size: 0.85rem; color: var(--slate); cursor: pointer; transition: 0.15s; user-select: none;
}
.chip label:hover { border-color: var(--teal-400); }
.chip input:checked + label { background: var(--teal-100); border-color: var(--teal-400); color: var(--teal-600); }
.chip input:focus-visible + label { box-shadow: 0 0 0 3px rgba(52,220,166,0.25); }

.form-send-error { margin-top: 14px; font-size: 0.9rem; color: var(--danger); text-align: center; }
.form-send-error a { color: var(--danger); font-weight: 700; text-decoration: underline; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.calendly-wrap { height: 700px; min-width: 320px; margin-top: 22px; border-radius: var(--radius-sm); overflow: hidden; }
.calendly-wrap:empty { display: none; }
.fs-ico { width: 66px; height: 66px; border-radius: 50%; background: var(--teal-100); color: var(--teal-600); display: grid; place-items: center; margin: 0 auto 18px; }
.fs-ico svg { width: 34px; height: 34px; }
.form-success h3 { margin-bottom: 8px; }
.form-note { font-size: 0.8rem; color: var(--slate-light); text-align: center; margin-top: 16px; }
.form-note svg { width: 13px; height: 13px; display: inline; vertical-align: -2px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #c2cadb; padding: 68px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand img { height: 34px; margin-bottom: 18px; }
.footer-brand p { color: #98a3ba; font-size: 0.95rem; max-width: 290px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: #c2cadb; transition: 0.2s; }
.footer-social a:hover { background: var(--teal-400); color: var(--navy-900); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 0.02em; }
.footer-col ul li { margin-bottom: 11px; font-size: 0.93rem; color: #98a3ba; }
.footer-col ul li a { color: #98a3ba; font-size: 0.93rem; transition: 0.15s; }
.footer-col ul li a:hover { color: var(--teal-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: #7c88a1; font-size: 0.85rem; }
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom .fb-links a { color: #7c88a1; font-size: 0.85rem; }
.footer-bottom .fb-links a:hover { color: var(--teal-400); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Subpage components ---------- */
.hero--sub { padding: 64px 0 72px; }
.crumbs { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--slate); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.crumbs a { color: var(--teal-600); }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { color: var(--slate-light); }

/* Case example cards (recent removals) */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; }
.case-card .cc-head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.case-card .cc-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; flex-shrink: 0; background: var(--bg-softer); color: var(--slate); }
.case-card .cc-meta strong { display: block; font-family: var(--font-head); font-size: 0.92rem; color: var(--ink); }
.case-card .cc-meta span { font-size: 0.78rem; color: var(--slate); }
.case-card .cc-stars { color: var(--gold); letter-spacing: 1.5px; font-size: 0.85rem; margin-bottom: 8px; }
.case-card .cc-stars .off { color: #d4dae4; }
.case-card blockquote { font-size: 0.95rem; color: var(--ink); line-height: 1.55; flex: 1; }
.case-card .cc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.cc-tag { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: #fbe4e4; color: var(--danger); }
.case-card .cc-status { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; color: var(--teal-600); font-weight: 700; font-family: var(--font-head); font-size: 0.86rem; }
.case-card .cc-status svg { width: 17px; height: 17px; }

/* Promise band (no success, no fee) */
.promise-band { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); border-radius: var(--radius-lg); padding: 54px 48px; color: #fff; }
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.promise-copy .eyebrow { color: var(--teal-400); }
.promise-copy h2 { color: #fff; margin-bottom: 14px; }
.promise-copy p { color: #c7cede; }
.promise-copy .btn { margin-top: 24px; }

/* Testimonials 2-col variant */
.tst-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

/* Timeline (about) */
.timeline { position: relative; max-width: 780px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 42px 68px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 8px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2.5px solid var(--teal-400); }
.tl-item.major .tl-dot { background: var(--teal-400); box-shadow: 0 0 0 6px rgba(52, 220, 166, 0.18); }
.tl-year { font-family: var(--font-head); font-weight: 800; color: var(--teal-600); font-size: 0.88rem; letter-spacing: 0.1em; }
.tl-item h3 { margin: 5px 0 8px; }
.tl-item p { font-size: 0.98rem; }
.tl-item p a { color: var(--teal-600); font-weight: 600; }
.tl-item p a:hover { text-decoration: underline; }

/* Team / leadership (about) */
.team-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.team-figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin: 0; }
.team-figure img { width: 100%; height: 100%; object-fit: cover; }
.team-figure figcaption { background: #fff; padding: 16px 22px; font-size: 0.88rem; color: var(--slate); border-top: 1px solid var(--line); }
.team-copy h2 { margin-bottom: 16px; }
.team-copy p { margin-bottom: 14px; }

/* Segment cards (who we help) */
.seg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.seg-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; transition: 0.2s; }
.seg-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.seg-card .v-ico { width: 50px; height: 50px; border-radius: 14px; background: var(--teal-100); display: grid; place-items: center; color: var(--teal-600); margin-bottom: 16px; }
.seg-card .v-ico svg { width: 25px; height: 25px; }
.seg-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.seg-card p { font-size: 0.93rem; }
.seg-card.cta-tile { background: var(--navy-900); border-color: var(--navy-900); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.seg-card.cta-tile h3 { color: #fff; }
.seg-card.cta-tile p { color: #b9c2d6; margin-bottom: 18px; }

/* ---------- Mobile menu (base — display toggled on in responsive block below) ---------- */
.mobile-menu { display: none; position: fixed; inset: 74px 0 0; background: #fff; z-index: 55; padding: 30px 24px; transform: translateX(100%); transition: transform 0.28s ease; overflow-y: auto; }
.mobile-menu.open { transform: none; }
.mobile-menu a { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--navy-800); padding: 16px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .mm-sub a { font-size: 1rem; font-weight: 600; color: var(--slate); padding: 12px 0 12px 20px; }
.mobile-menu .btn { margin-top: 24px; width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
  .step .s-line { display: none; }
  .results-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .tst-grid, .tst-grid.cols-2 { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .case-grid { grid-template-columns: 1fr; }
  .seg-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: 1fr; gap: 30px; }
  .team-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: block; }
  .compare { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .platform-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .seg-grid { grid-template-columns: 1fr; }
  .promise-band { padding: 38px 26px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .results { padding: 40px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
