/* ===== Tokens ===== */
:root{
  --bg: #FAF7F1;
  --bg-alt: #F3EFE6;
  --dark: #1A1712;
  --text: #1A1712;
  --text-muted: #4A453B;
  --primary: #2549E0;
  --primary-hover: #1c3bc2;
  --border: #D6CFBE;
  --white: #FFFFFF;

  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;

  --container: 1180px;
  --radius: 10px;
  --radius-lg: 24px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
p{ margin: 0; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad{ padding-top: 96px; padding-bottom: 96px; }
.band{ background: var(--bg-alt); }

h1,h2,h3{
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.02em;
}
.accent{ color: var(--primary); font-style: italic; }
.accent-blue{ color: var(--primary); }

.section-heading{
  font-size: 40px;
  line-height: 1.15;
  text-align: left;
  max-width: 720px;
}
.section-heading.center{
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.section-sub{
  font-size: 18px;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 560px;
}
.section-heading.center + .section-sub{
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 560px;
}

/* ===== Buttons ===== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, opacity .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary{
  background: var(--primary);
  color: var(--bg);
}
.btn-primary:hover{
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37,73,224,.25);
}
.btn-secondary{
  background: var(--white);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(26,23,18,.08);
}
.btn:active{ transform: translateY(0); }
.btn-block{ width: 100%; margin-bottom: 10px; }
.btn.is-disabled, .text-link.is-disabled{
  cursor: default;
}
.text-link{ color: var(--primary); }

/* ===== Header ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,241,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled{
  border-bottom-color: var(--border);
  box-shadow: 0 2px 12px rgba(26,23,18,.04);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo-img{ height: 28px; width: auto; }
.header-actions{
  display: flex;
  align-items: center;
  gap: 20px;
}
.link-cta{
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 4px;
  transition: opacity .15s ease;
}
.link-cta:hover{ opacity: .6; }
.header-actions .btn{ padding: 10px 20px; font-size: 15px; }

/* ===== Hero ===== */
.hero{
  padding: 72px 24px 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1{
  font-size: 76px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 900px;
}
.hero-sub{
  font-size: 22px;
  color: var(--text-muted);
  margin-top: 24px;
}
.hero-ctas{
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.badge-row{
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.badge{
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.badge:hover{ transform: translateY(-1px); box-shadow: 0 6px 14px rgba(26,23,18,.06); }
.badge-icon{ width: 18px; height: 18px; object-fit: contain; }
.badge-name{ font-weight: 600; color: var(--text); }
.badge-score{ color: #C48A1E; font-weight: 500; }

/* ===== Trusted by ===== */
.trusted-by{
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 56px 24px;
  flex-wrap: wrap;
}
.stat-number{
  font-family: var(--font-serif);
  font-size: 44px;
  color: var(--text);
}
.stat-label{
  font-size: 14px;
  color: var(--text-muted);
  max-width: 100px;
  margin-top: 4px;
}
.trusted-logos{ flex: 1; min-width: 260px; }
.trusted-label{
  font-size: 13px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 16px;
}
.logo-grid{
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 20px 32px;
  align-items: center;
}
.logo-grid img{ height: 22px; width: auto; object-fit: contain; }

/* ===== Feature grid ===== */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.feature-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.feature-card h3{ font-size: 19px; font-family: var(--font-sans); font-weight: 600; }
.feature-card p{ margin-top: 8px; font-size: 15px; }
.feature-visual{
  margin-top: 20px;
  height: 150px;
  border-radius: 14px;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
}

.chart-visual{ padding: 12px; }
.chart-svg{ width: 100%; height: 108px; }
.chart-grid{ stroke: var(--border); stroke-width: 1; }
.chart-line{ fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart-label{ font-size: 9px; fill: var(--text-muted); font-family: var(--font-mono); }
.chart-axis{ display: flex; justify-content: space-between; padding: 0 8px; font-size: 10px; color: var(--text-muted); font-family: var(--font-mono); }

.prompt-visual{ padding: 10px; display: flex; flex-direction: column; gap: 5px; }
.prompt-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 11px;
}
.prompt-row b{ color: var(--primary); font-family: var(--font-mono); font-weight: 500; }

.feature-visual.competitor-visual{ display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 14px; height: auto; min-height: 150px; }
.skeleton-row{ display: flex; align-items: center; gap: 10px; }
.skeleton-row .chip{
  width: 26px; height: 26px; border-radius: 7px; object-fit: contain;
  background: var(--white);
  padding: 3px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(26,23,18,.12);
}
.skeleton-bar{
  display: block;
  height: 14px;
  border-radius: 999px;
  background: var(--border);
}
.skeleton-bar.dark{ background: var(--text); }
.skeleton-bar.bar-100{ width: 100%; }
.skeleton-bar.bar-75{ width: 75%; }
.skeleton-bar.bar-60{ width: 60%; }
.skeleton-bar.bar-45{ width: 45%; }
.skeleton-bar.bar-30{ width: 30%; }

.mcp-visual{ display: flex; align-items: center; justify-content: center; }
.mcp-ring{ position: absolute; border: 1px solid var(--border); border-radius: 50%; }
.mcp-ring-1{ width: 90px; height: 90px; }
.mcp-ring-2{ width: 140px; height: 140px; }
.mcp-dot{ width: 34px; height: 34px; border-radius: 50%; background: var(--primary); z-index: 1; }

.venn-visual{ display: flex; align-items: center; justify-content: center; }
.venn-circle{ position: absolute; width: 90px; height: 90px; border-radius: 50%; opacity: .75; }
.venn-a{ background: #F4B942; transform: translateX(-24px); }
.venn-b{ background: var(--primary); transform: translateX(24px); mix-blend-mode: multiply; }

.report-visual{ display: flex; align-items: center; justify-content: center; }
.report-card{
  width: 80%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.report-bar{ display: block; height: 8px; border-radius: 4px; background: var(--border); }
.report-bar.w70{ width: 70%; background: var(--text); }
.report-bar.w40{ width: 40%; }
.report-bar.w55{ width: 55%; }

/* ===== How it works ===== */
.how-it-works{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 72px 24px;
}
.steps{ margin: 40px 0 32px; }
.step{ display: flex; gap: 20px; }
.step-num{
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.step-line{
  width: 1px;
  background: var(--border);
  margin: 4px 0 4px 23px;
  flex-shrink: 0;
}
.step{ position: relative; }
.step .step-num{ position: relative; z-index: 1; }
.step-line{ position: absolute; left: 23px; top: 48px; bottom: -28px; }
.step-body{ padding-bottom: 32px; }
.step-body h3{ font-size: 22px; }
.step-body p{ margin-top: 8px; font-size: 15px; max-width: 380px; }
.step.is-active .step-num{
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}
.how-visual{
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.community-card{
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.community-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.community-head h3{
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  max-width: 260px;
}
.community-head p{ font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.community-stat{ text-align: right; flex-shrink: 0; }
.community-pct{ display: block; font-weight: 700; font-size: 26px; color: var(--primary); }
.community-pct-label{ display: block; font-size: 10px; letter-spacing: .06em; color: var(--text-muted); margin-top: 2px; }
.community-list{ display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.community-list li{
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 10px 14px;
}
.community-icon{
  width: 32px; height: 32px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.community-icon img{ width: 100%; height: 100%; object-fit: cover; }
.community-icon-hn{ background: #FF6600; color: #fff; font-weight: 700; }
.community-icon-li{ background: var(--white); border: 1px solid var(--border); color: #0A66C2; font-weight: 700; font-size: 12px; }
.community-icon-x{ background: #000; color: #fff; font-weight: 700; }
.community-icon-so{ background: var(--white); border: 1px solid var(--border); font-size: 16px; }
.community-text{ flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.community-text b{ font-size: 13px; color: var(--text); }
.community-text{ font-size: 12px; color: var(--text-muted); }
.community-footnote{
  display: flex; align-items: center; gap: 6px;
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-muted);
  opacity: .8;
}

/* ===== Services ===== */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.service-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.service-card h3{ font-size: 24px; }
.service-card > p{ margin-top: 12px; font-size: 15px; min-height: 66px; }
.what-you-get{
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.wyg-label{ font-size: 13px; color: var(--text-muted); display: block; margin-bottom: 12px; }
.what-you-get ul{ display: flex; flex-direction: column; gap: 10px; }
.what-you-get li{
  font-size: 14px;
  padding-left: 20px;
  position: relative;
}
.what-you-get li::before{
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

/* ===== Testimonials ===== */
.testimonial-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.testimonial-card:hover{ transform: translateY(-4px); box-shadow: 0 12px 24px rgba(26,23,18,.08); }
.testimonial-mark{ width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.testimonial-card p{ margin-top: 16px; font-size: 15px; color: var(--text); line-height: 1.55; }
.testimonial-author{ display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.testimonial-author img{ width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.author-name{ font-size: 14px; font-weight: 600; color: var(--text); }
.author-title{ font-size: 13px; color: var(--text-muted); }
.center-cta{ text-align: center; margin-top: 40px; }

/* ===== Dark CTA ===== */
.dark-section{
  background: var(--dark);
  border-radius: 32px;
  margin: 0 16px;
  color: var(--bg);
}
.dark-cta-copy{ text-align: center; max-width: 720px; margin: 0 auto; }
.dark-cta-copy h1, .dark-cta-copy h2{
  color: var(--bg);
  font-size: 40px;
  line-height: 1.15;
}
.dark-cta-copy p{ color: #C9C4B8; font-size: 16px; margin-top: 12px; }
.dark-cta-copy .hero-ctas{ margin-top: 28px; }

.fan-cards{
  position: relative;
  margin-top: 80px;
  height: 480px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.fan-card{
  position: absolute;
  width: 340px;
  background: var(--white);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  color: var(--text);
  transition: transform .3s ease;
}
.fan-card h4{
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 17px;
  margin: 0 0 14px;
  color: var(--text);
}
.fan-left{ transform: rotate(-6deg) translate(-150px, 30px); z-index: 1; }
.fan-center{ transform: translate(0, 0); z-index: 2; }
.fan-right{ transform: rotate(6deg) translate(150px, 30px); z-index: 3; }
.fan-cards:hover .fan-left{ transform: rotate(-8deg) translate(-160px, 20px); }
.fan-cards:hover .fan-right{ transform: rotate(8deg) translate(160px, 20px); }

.rank-table{ width: 100%; border-collapse: collapse; font-size: 13px; }
.rank-table th{ text-align: left; font-weight: 500; color: var(--text-muted); font-size: 11px; padding-bottom: 8px; }
.rank-table td{ padding: 6px 4px; border-top: 1px solid var(--bg-alt); font-family: var(--font-mono); font-size: 12px; }
.rank-table td:nth-child(2){ font-family: var(--font-sans); display: flex; align-items: center; gap: 6px; }
.rank-table img{ width: 16px; height: 16px; border-radius: 4px; object-fit: cover; }
.rank-table tr.highlight{ background: #EDF0FC; }

.trust-list li{ display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14px; border-top: 1px solid var(--bg-alt); }
.trust-list li:first-child{ border-top: none; }
.trust-list img{ width: 18px; height: 18px; border-radius: 4px; object-fit: cover; }
.check{
  width: 18px; height: 18px; border-radius: 50%;
  background: #22C55E; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
}

.gap-title{ font-family: var(--font-serif); font-size: 15px; display: block; margin-bottom: 10px; }
.gap-stats{ display: flex; gap: 12px; margin-bottom: 16px; }
.gap-stats > div{ flex: 1; background: var(--bg-alt); border-radius: 10px; padding: 10px 12px; }
.gap-label{ display: block; font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.gap-value{ font-family: var(--font-mono); font-size: 18px; color: var(--text); }
.gap-bar-row{ display: grid; grid-template-columns: 90px 1fr 32px; align-items: center; gap: 8px; font-size: 11px; margin-bottom: 8px; }
.gap-bar{ height: 6px; background: var(--bg-alt); border-radius: 4px; overflow: hidden; }
.gap-bar i{ display: block; height: 100%; width: 0; background: var(--primary); border-radius: 4px; transition: width 1.1s cubic-bezier(.22,.9,.32,1); }
.gap-bar-row b{ font-family: var(--font-mono); font-weight: 400; text-align: right; }

/* ===== Footer ===== */
.site-footer{ background: var(--bg-alt); padding-top: 64px; }
.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.footer-brand{ max-width: 340px; }
.footer-brand .logo-img{ height: 26px; margin-bottom: 16px; }
.footer-brand p{ font-size: 14px; color: var(--text-muted); }
.footer-ctas{ display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-claim{ font-size: 14px; color: var(--text-muted); }
.footer-ctas .btn{ padding: 12px 20px; font-size: 14px; }
.footer-bottom{
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal{ display: flex; gap: 20px; }
.footer-legal a{ transition: opacity .15s ease; }
.footer-legal a:hover{ opacity: .6; text-decoration: underline; }

/* ===== Reveal animation ===== */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.22,.9,.32,1), transform .7s cubic-bezier(.22,.9,.32,1);
}
.reveal[data-delay="1"]{ transition-delay: .1s; }
.reveal[data-delay="2"]{ transition-delay: .2s; }
.reveal[data-delay="3"]{ transition-delay: .3s; }
.reveal.in-view{ opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
  html{ scroll-behavior: auto; }
  .gap-bar i{ transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero h1{ font-size: 56px; }
  .section-heading{ font-size: 32px; }
  .feature-grid, .services-grid, .testimonial-grid{ grid-template-columns: repeat(2, 1fr); }
  .how-it-works{ grid-template-columns: 1fr; }
  .how-visual{ min-height: 220px; order: -1; }
  .fan-cards{ height: auto; flex-direction: column; align-items: center; gap: 24px; margin-top: 48px; }
  .fan-card{ position: relative; transform: none !important; width: 100%; max-width: 380px; }
}

@media (max-width: 680px){
  .header-inner{ height: 64px; }
  .header-actions{ gap: 10px; }
  .logo-img{ height: 22px; }
  .link-cta{ font-size: 13px; }
  .header-actions .btn{ padding: 8px 12px; font-size: 13px; }
  .hero{ padding: 48px 20px 40px; }
  .hero h1{ font-size: 40px; letter-spacing: -0.01em; }
  .hero-sub{ font-size: 18px; }
  .hero-ctas{ flex-direction: column; width: 100%; }
  .hero-ctas .btn{ width: 100%; }
  .badge-row{ flex-direction: column; align-items: center; }
  .section-pad{ padding-top: 64px; padding-bottom: 64px; }
  .section-heading{ font-size: 28px; }
  .feature-grid, .services-grid, .testimonial-grid{ grid-template-columns: 1fr; }
  .trusted-by{ flex-direction: column; align-items: flex-start; gap: 32px; }
  .logo-grid{ grid-template-columns: repeat(2, auto); gap: 16px 24px; }
  .dark-section{ margin: 0; border-radius: 0; }
  .dark-cta-copy h2{ font-size: 30px; }
  .footer-inner{ align-items: flex-start; }
  .footer-ctas{ width: 100%; }
  .footer-ctas .btn, .footer-claim{ width: 100%; text-align: center; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
}
