:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-soft: #f9fbff;
  --surface-open: #f3f6ff;
  --section-light: #edf2ff;
  --accent-blue: #3b5bff;
  --accent-blue-strong: #2f4df0;
  --accent-blue-soft: #e1e8ff;
  --accent-black-button: #0b0f1a;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --blue-600: var(--accent-blue);
  --blue-700: var(--accent-blue-strong);
  --blue-100: var(--accent-blue-soft);
  --border: #e2e8f0;
  --border-soft: #dbe3f4;
  --text: #111827;
  --text-muted: #475569;
  --text-inverse-soft: #64748b;
  --footer-bg: #f7f9ff;
  --footer-heading: #1e293b;
  --footer-text: #64748b;
  --footer-link: #334155;
  --footer-link-hover: #0f172a;
  --footer-border: #d8e1f2;
  --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius-card: 22px;
  --radius-pill: 999px;
  --header-height: 72px;
  --section-space: 88px;
  --section-space-compact: 56px;
  --lh-tight: 1.05;
  --lh-heading: 1.12;
  --lh-copy: 1.55;
  --h1-hero-desktop: 70px;
  --h1-hero-tablet: 58px;
  --h1-hero-mobile: 42px;
  --h1-page-desktop: 54px;
  --h1-page-tablet: 44px;
  --h1-page-mobile: 36px;
  --h2-section-desktop: 40px;
  --h2-section-tablet: 34px;
  --h2-section-mobile: 28px;
  --container: 1160px;
  --container-narrow: 760px;
  --container-legal: 800px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: var(--lh-copy);
}
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 2px; border-radius: 6px; }

.container { width: min(var(--container), 92vw); margin: 0 auto; }
.narrow-left { max-width: 660px; }
.narrow-content { width: min(var(--container-narrow), 92vw); margin: 0 auto; }
.legal-content { width: min(var(--container-legal), 92vw); margin: 0 auto; }

h1, h2, h3 { margin: 0 0 12px; font-family: "Inter Tight", Inter, sans-serif; color: var(--text); }
h1 { font-size: clamp(var(--h1-page-mobile), 4.8vw, var(--h1-page-desktop)); font-weight: 800; line-height: var(--lh-heading); }
h2 { font-size: clamp(var(--h2-section-mobile), 3.4vw, var(--h2-section-desktop)); font-weight: 750; line-height: var(--lh-heading); }
h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; line-height: 1.2; }
p { margin: 0 0 14px; color: var(--text-muted); }
.lead { font-size: clamp(18px, 2.3vw, 20px); max-width: 65ch; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-600);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
}
.section-intro { max-width: 72ch; margin-bottom: 24px; }

.section { padding: var(--section-space) 0; }
.section-compact { padding: var(--section-space-compact) 0; }
.section-light { background: var(--section-light); }
.hero { padding: calc(var(--section-space) + 20px) 0 72px; background: var(--surface); }
.page-hero { border-bottom: 1px solid var(--border); }
.home-hero h1 {
  font-size: clamp(var(--h1-hero-mobile), 7.8vw, var(--h1-hero-desktop));
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
}
.home-hero h1 span { display: block; }
.page-hero h1 {
  font-size: clamp(var(--h1-page-mobile), 5.2vw, var(--h1-page-desktop));
  font-weight: 750;
  line-height: 1.08;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.nav-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; gap: 10px; align-items: center; color: var(--navy-900); font-weight: 700; }
.brand img { width: 34px; height: 34px; }

.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links > a { color: var(--navy-800); font-weight: 500; }
.nav-cta { margin-left: 8px; }
.mobile-nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 10px;
}
.mobile-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  background: var(--navy-900);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  padding: 14px 22px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-700); }
.btn-secondary { background: #fff; color: var(--navy-900); border-color: var(--border); }
.btn-secondary:hover { border-color: #cbd5e1; }
.btn-secondary.light { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.btn-strong {
  background: var(--accent-black-button);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 16px 28px;
  border-color: transparent;
}
.btn-strong:hover { background: #1f2937; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.micro-note { margin-top: 12px; font-size: 14px; }
.micro-note.inverse, .micro-note.inverse a { color: var(--text-inverse-soft); }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.offer-card, .simple-card, .module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.offer-card.featured { border-color: #bfd4ff; }
.card-label {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
}
.price { color: var(--navy-900); font-weight: 700; }
ul { margin: 0 0 20px; padding-left: 18px; line-height: 1.45; }

.emphasis-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}
table { width: 100%; min-width: 760px; border-collapse: collapse; }
th, td { text-align: left; padding: 15px; border-bottom: 1px solid var(--border); line-height: 1.45; }
th { background: #f8fafc; color: var(--navy-900); }

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.pill-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.pill-grid > div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  font-weight: 600;
}

.cta-section { padding: 56px 0; }
.cta-band {
  background: linear-gradient(155deg, #0f172a, #1e293b);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 32px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--text-inverse-soft); }

.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  padding: 18px;
  font: 650 17px/1.4 "Inter Tight", Inter, sans-serif;
  color: var(--navy-900);
  cursor: pointer;
}
.faq-question::after { content: "+"; float: right; color: var(--blue-600); }
.faq-question[aria-expanded="true"]::after { content: "−"; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; padding: 0 18px; }
.faq-item.open .faq-answer { max-height: 220px; padding-bottom: 16px; }

.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-inline { display: flex; gap: 20px; flex-wrap: wrap; }
.bullet-list { margin: 0; padding-left: 20px; }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-field { margin: 14px 0; }
label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--navy-900); }
input, textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }

.last-updated { color: var(--text-muted); font-size: 14px; }
.draft-note {
  display: inline-block;
  background: var(--blue-100);
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 14px;
}

.site-footer { background: var(--footer-bg); color: var(--text-inverse-soft); padding: 56px 0 36px; margin-top: 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.site-footer {
  border-top: 1px solid var(--footer-border);
  background: linear-gradient(180deg, #ffffff 0%, var(--footer-bg) 100%);
  color: var(--footer-text);
}
.site-footer h3, .site-footer h4 { color: var(--footer-heading); margin-bottom: 10px; }
.site-footer h4 { font: 700 13px/1 Inter, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer a { display: block; color: var(--footer-link); margin-bottom: 8px; }
.site-footer a:hover { color: var(--footer-link-hover); text-decoration: none; }
.footer-note { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--footer-border); font-size: 14px; }

@media (max-width: 1024px) {
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pill-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .offer-grid, .module-grid, .form-grid, .contact-cards { grid-template-columns: 1fr; }
  .emphasis-strip { flex-direction: column; align-items: flex-start; }

  .mobile-nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 4vw;
    gap: 14px;
  }
  .nav-links.open { display: flex; }
  .nav-cta { margin-left: 0; width: 100%; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding: 72px 0 48px; }
  .capability-grid, .pill-grid, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 24px; }
}

.text-center { text-align: center; }
.centered-lead { margin-inline: auto; }
.center-cta { justify-content: center; }
.hero-centered { text-align: center; }
.hero-centered .cta-row { justify-content: center; }

.layout-hero-report-frame { width: min(940px, 100%); margin-inline: auto; }
.layout-hero-report-frame .report-mock {
  margin-top: 34px;
  max-width: 840px;
  border-radius: calc(var(--radius-card) + 4px);
  padding: 28px;
}

.report-mock {
  margin: 30px auto 0;
  max-width: 760px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
  text-align: left;
}
.mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.mock-head strong { color: var(--navy-900); }
.mock-head span { color: var(--text-muted); font-size: 14px; }
.report-mock ul { list-style: none; margin: 0; padding: 0; }
.report-mock li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding: 12px 0;
}
.report-mock li span { color: var(--text-muted); }
.report-mock li strong { color: var(--navy-900); font-size: 15px; text-align: right; }

.trust-strip,
.layout-stats-strip-4up {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.trust-strip p {
  margin: 0;
  color: var(--navy-900);
  font-weight: 600;
  font-size: 15px;
}

.split-proof,
.layout-split-proof {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 22px;
  align-items: start;
}
.proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.comparison-visual-card,
.layout-comparison-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px;
}
.comparison-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.comparison-columns article {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.mosaic-grid,
.layout-bento-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.mosaic-main { grid-column: span 2; }
.mosaic-tall { grid-row: span 2; }

@media (max-width: 1024px) {
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-proof { grid-template-columns: 1fr; }
  .mosaic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic-main, .mosaic-tall { grid-column: auto; grid-row: auto; }
}

@media (max-width: 860px) {
  .comparison-columns, .proof-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .trust-strip, .mosaic-grid { grid-template-columns: 1fr; }
  .report-mock li { flex-direction: column; align-items: flex-start; }
  .report-mock li strong { text-align: left; }
}

.hero-cta-row { margin-top: 22px; }

.stats-section { border-top: 1px solid var(--border); }
.stats-grid,
.layout-stats-strip-4up {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.stat-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}
.stat-item strong {
  display: block;
  color: var(--navy-900);
  font: 800 clamp(22px, 3vw, 30px)/1.1 "Inter Tight", Inter, sans-serif;
}
.stat-item span {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.trust-line {
  margin: 16px 0 10px;
  text-align: center;
  color: var(--navy-900);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.chip-row p {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 12px;
}

.proof-visual {
  position: relative;
  min-height: 280px;
  padding: 12px;
}
.proof-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px;
}
.proof-card h3 { margin-bottom: 12px; }
.proof-card ul { list-style: none; margin: 0; padding: 0; }
.proof-card li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
.proof-card li span { color: var(--text-muted); }
.proof-card li strong { color: var(--navy-900); text-align: right; }
.proof-card-back {
  opacity: 0.55;
  transform: rotate(-6deg) translate(18px, 18px);
}
.proof-card-front {
  position: absolute;
  top: 0;
  left: 0;
  right: 24px;
  transform: rotate(2deg);
  border-color: #bfd4ff;
}

.comparison-columns ul li { margin-bottom: 10px; }
.comparison-sentiment {
  margin: 12px 0 0;
  color: var(--risk-red, #8a3e3e);
  font-weight: 700;
}
.comparison-sentiment.positive { color: #2f6b4f; }

.layout-scenario-trio,
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.layout-final-cta-open {
  background: var(--surface-open);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 36px;
}

.layout-footer-light {
  background: linear-gradient(180deg, #ffffff 0%, var(--footer-bg) 100%);
  border-top: 1px solid var(--footer-border);
}
.layout-footer-columns {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout-scenario-trio,
  .layout-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .proof-visual { min-height: 0; padding: 0; }
  .proof-card-back { display: none; }
  .proof-card-front {
    position: static;
    transform: none;
    right: auto;
  }
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
  .layout-scenario-trio,
  .layout-footer-columns,
  .layout-final-cta-open { grid-template-columns: 1fr; }
  .proof-card li {
    flex-direction: column;
    align-items: flex-start;
  }
  .proof-card li strong { text-align: left; }
}

@media (max-width: 1024px) {
  :root {
    --h1-hero-desktop: var(--h1-hero-tablet);
    --h1-page-desktop: var(--h1-page-tablet);
    --h2-section-desktop: var(--h2-section-tablet);
  }
}
