:root {
  --ink: #10221a;
  --paper: #f3f1e9;
  --white: #fffdf7;
  --lime: #d8ff3e;
  --mint: #a8e7ce;
  --orange: #ff784e;
  --muted: #617067;
  --line: rgba(16, 34, 26, .16);
  --radius: 22px;
  --shadow: 0 24px 60px rgba(16, 34, 26, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img, svg { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 18px; background: var(--lime); border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: .25s ease;
}
.site-header.scrolled {
  background: rgba(243, 241, 233, .9);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}
.nav { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 850; letter-spacing: -.03em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--lime); font-size: 14px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 650; font-size: 14px; }
.nav-links a:not(.button):hover { opacity: .58; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 780;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(16,34,26,.18); }
.button-lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.button-outline { color: var(--ink); background: transparent; }

.hero { min-height: 760px; display: grid; align-items: center; padding: 72px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 66px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,120,78,.15); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 770px; margin-bottom: 24px; font-size: clamp(52px, 7vw, 92px); line-height: .94; letter-spacing: -.072em; }
h1 em { position: relative; font-family: Georgia, serif; font-weight: 400; color: var(--orange); }
h1 em::after { content: ""; position: absolute; left: 2%; right: -2%; bottom: 0; height: 9px; border-radius: 50%; background: var(--orange); opacity: .23; }
.lead { max-width: 620px; margin-bottom: 34px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 34px; color: var(--muted); font-size: 13px; font-weight: 650; }
.avatars { display: flex; }
.avatars span { width: 32px; height: 32px; margin-left: -8px; display: grid; place-items: center; border: 2px solid var(--paper); border-radius: 50%; background: var(--mint); color: var(--ink); font-size: 10px; font-weight: 900; }
.avatars span:first-child { margin-left: 0; background: var(--lime); }
.avatars span:last-child { background: var(--orange); }

.visual-wrap { position: relative; min-height: 510px; }
.visual-card { position: absolute; border: 1px solid var(--line); border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.dashboard { inset: 30px 0 30px 20px; padding: 26px; transform: rotate(2deg); }
.dash-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.dash-title { font-size: 13px; font-weight: 850; }
.live { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 700; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #35be77; }
.metric { margin-top: 26px; }
.metric strong { display: block; margin-bottom: 4px; font-size: 54px; letter-spacing: -.06em; }
.metric span { color: var(--muted); font-size: 13px; }
.chart { height: 185px; margin: 28px 0 18px; position: relative; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0 45px, rgba(16,34,26,.07) 46px); }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 8px 11px; border-radius: 999px; background: #edf0e9; font-size: 11px; font-weight: 750; }
.floating-stat { top: 8px; right: -28px; width: 155px; padding: 17px; transform: rotate(-5deg); background: var(--lime); }
.floating-stat small { font-weight: 750; }
.floating-stat strong { display: block; margin-top: 7px; font-size: 30px; letter-spacing: -.05em; }
.search-pill { right: 14px; bottom: 0; padding: 14px 18px; transform: rotate(-2deg); font-size: 12px; font-weight: 800; }

.logos { padding: 26px 0 42px; border-block: 1px solid var(--line); }
.logos-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #829087; }
.logos-label { max-width: 150px; font-size: 12px; line-height: 1.4; font-weight: 700; }
.logo-word { font-size: 18px; font-weight: 900; letter-spacing: -.04em; }

.section { padding: 112px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
h2 { margin-bottom: 20px; font-size: clamp(38px, 5vw, 62px); line-height: 1; letter-spacing: -.055em; }
.section-head p { max-width: 600px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.dark { background: var(--ink); color: var(--white); }
.dark .eyebrow, .dark .section-head p { color: #adc0b7; }
.dark .eyebrow::before { background: var(--lime); box-shadow: 0 0 0 5px rgba(216,255,62,.13); }

.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.problem-card { min-height: 310px; padding: 30px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; }
.problem-number { font-family: Georgia, serif; color: var(--lime); font-size: 21px; font-style: italic; }
.problem-card h3 { margin-bottom: 14px; font-size: 24px; letter-spacing: -.035em; }
.problem-card p { margin: 0; color: #adc0b7; line-height: 1.65; }

.method-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 60px; }
.method-intro { position: sticky; top: 120px; align-self: start; }
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 68px 1fr; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.step-index { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); font-weight: 850; }
.step h3 { margin-bottom: 9px; font-size: 25px; letter-spacing: -.035em; }
.step p { margin: 0; color: var(--muted); line-height: 1.65; }

.case-card { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; overflow: hidden; border-radius: 30px; background: var(--mint); }
.case-copy { padding: clamp(34px, 6vw, 72px); }
.case-copy h3 { margin: 18px 0 25px; font-size: clamp(36px, 4vw, 56px); line-height: 1; letter-spacing: -.055em; }
.case-copy p { color: #40594e; line-height: 1.7; }
.case-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
.case-stat { padding: 18px; border-top: 1px solid rgba(16,34,26,.25); }
.case-stat strong { display: block; font-size: 32px; letter-spacing: -.05em; }
.case-stat span { font-size: 12px; font-weight: 700; }
.case-art { display: grid; place-items: center; padding: 42px; background: #153529; }
.rank-list { width: min(100%, 410px); padding: 20px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow); transform: rotate(2deg); }
.rank-row { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; padding: 15px 8px; border-bottom: 1px solid var(--line); font-size: 12px; }
.rank-row:last-child { border-bottom: 0; }
.rank-row b:first-child { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: var(--lime); }
.rank-row span { color: var(--muted); font-weight: 750; }

.faq { max-width: 850px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 26px 4px; cursor: pointer; list-style: none; font-size: 19px; font-weight: 780; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-size: 27px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { max-width: 720px; padding: 0 4px 25px; color: var(--muted); line-height: 1.7; }

.cta { padding: 40px 0 110px; }
.cta-box { padding: clamp(38px, 7vw, 86px); border-radius: 32px; background: var(--lime); position: relative; overflow: hidden; }
.cta-box::after { content: "↗"; position: absolute; right: 6%; bottom: -11%; color: rgba(16,34,26,.09); font-size: 260px; font-weight: 900; line-height: 1; }
.cta-box h2 { max-width: 760px; position: relative; z-index: 1; }
.cta-box p { max-width: 560px; margin-bottom: 30px; position: relative; z-index: 1; color: #3f503f; font-size: 18px; line-height: 1.6; }
.cta-box .button { position: relative; z-index: 1; }

.site-footer { padding: 56px 0 34px; background: var(--ink); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 50px; }
.footer-about p { max-width: 380px; margin-top: 20px; color: #adc0b7; line-height: 1.6; }
.footer-col strong { display: block; margin-bottom: 18px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.footer-col a { display: block; margin: 11px 0; color: #adc0b7; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.15); color: #829b8f; font-size: 12px; }

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

@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 82px 0 auto; padding: 28px 20px 38px; display: none; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .menu-button { display: grid; place-items: center; }
  .hero { padding-top: 48px; }
  .hero-grid, .method-grid, .case-card { grid-template-columns: 1fr; }
  .visual-wrap { min-height: 480px; }
  .dashboard { left: 0; }
  .floating-stat { right: 0; }
  .logos-row { flex-wrap: wrap; justify-content: center; }
  .logos-label { flex-basis: 100%; max-width: none; text-align: center; }
  .problems { grid-template-columns: 1fr; }
  .problem-card { min-height: 240px; }
  .method-intro { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav { height: 72px; }
  .nav-links { top: 72px; }
  h1 { font-size: 51px; }
  .lead { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .visual-wrap { min-height: 410px; }
  .dashboard { inset: 22px 0 20px; padding: 20px; }
  .floating-stat { width: 130px; }
  .metric strong { font-size: 43px; }
  .chart { height: 140px; }
  .section { padding: 82px 0; }
  .case-art { padding: 34px 18px; }
  .case-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-about { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
