:root {
  color-scheme: light;
  --ink: #17231d;
  --muted: #5d6d64;
  --line: #dce8df;
  --paper: #f7fbf8;
  --panel: #ffffff;
  --sage: #d9eadf;
  --moss: #35664a;
  --deep: #123325;
  --mint: #eaf7ee;
  --gold: #f2c76b;
  --coral: #e88468;
  --shadow: 0 24px 70px rgba(18, 51, 37, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--deep); color: white; padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; }
.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(23, 35, 29, 0.08);
  background: rgba(247, 251, 248, 0.9);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 5;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: white; background: var(--deep); border-radius: 8px; }
nav { display: flex; gap: 18px; align-items: center; color: var(--muted); font-size: 14px; }
nav a, .footer a { text-decoration: none; }
nav a:hover, .footer a:hover { color: var(--deep); }
.nav-cta { text-decoration: none; background: var(--deep); color: white; padding: 10px 14px; border-radius: 8px; font-weight: 700; font-size: 14px; }

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: clamp(36px, 7vw, 96px) clamp(18px, 6vw, 96px);
}
.hero h1, .page-hero h1 {
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
  margin: 0 0 22px;
  max-width: 900px;
}
.hero-text, .page-hero p, .section-heading p, .split p, .sources p, .dek {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  max-width: 760px;
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 800; color: var(--moss); font-size: 12px; margin: 0 0 12px; }
.hero-actions, .plan-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button {
  border: 1px solid var(--line);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}
.button.primary { background: var(--deep); color: white; border-color: var(--deep); }
.button.secondary { background: white; color: var(--deep); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; color: var(--muted); font-size: 14px; }
.trust-row span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; background: rgba(255,255,255,0.7); }

.product-visual { display: grid; place-items: center; min-height: 520px; }
.phone-frame {
  width: min(100%, 390px);
  aspect-ratio: 0.72;
  border: 10px solid #182820;
  border-radius: 34px;
  background: linear-gradient(180deg, #f6fbf7, #e7f3eb);
  box-shadow: var(--shadow);
  padding: 22px;
  overflow: hidden;
}
.phone-top { width: 92px; height: 8px; background: #182820; border-radius: 999px; margin: 0 auto 24px; opacity: .8; }
.score-card { background: var(--deep); color: white; border-radius: 8px; padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; }
.score-card strong { font-size: 54px; line-height: 1; color: var(--gold); }
.score-card small { grid-column: 1 / -1; opacity: .75; }
.urgent-list { margin: 18px 0; display: grid; gap: 10px; }
.urgent-list div { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; background: white; padding: 12px; border-radius: 8px; border: 1px solid var(--line); }
.urgent-list b { width: 28px; height: 28px; border-radius: 8px; background: var(--sage); display: grid; place-items: center; }
.script-preview { background: #fff7e3; border: 1px solid #f5ddb0; padding: 14px; border-radius: 8px; font-weight: 700; }

.band, .split, .sources, .tool-shell, .pricing-grid, .guide-grid, .search-shell {
  padding: clamp(42px, 7vw, 92px) clamp(18px, 6vw, 96px);
}
.band { background: white; }
.band.subtle { background: var(--mint); }
.section-heading { max-width: 850px; margin-bottom: 28px; }
h2 { font-size: clamp(30px, 4vw, 54px); line-height: 1; margin: 0 0 14px; letter-spacing: 0; }
h3 { margin-bottom: 8px; }
.feature-grid, .guide-grid, .pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feature-grid article, .guide-card, .price-card, .result-card, .article-box, .script-box, .cta-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(18, 51, 37, 0.05);
}
.feature-grid article { min-height: 160px; }
.guide-card, .result-card { text-decoration: none; display: grid; gap: 8px; }
.guide-card span, .result-card span { color: var(--moss); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.guide-card strong, .result-card strong { font-size: 20px; line-height: 1.15; }
.guide-card p, .result-card p, .price-card p, .feature-grid p { color: var(--muted); margin: 0; }
.wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.center { text-align: center; margin-top: 28px; }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr); gap: clamp(24px, 5vw, 70px); align-items: start; }
.output-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.output-list li { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; font-weight: 700; }
.sources { background: var(--deep); color: white; }
.sources p, .sources a { color: #d7eadf; }

.page-hero { padding: clamp(42px, 7vw, 96px) clamp(18px, 6vw, 96px) clamp(28px, 4vw, 54px); }
.page-hero.compact { min-height: 330px; display: flex; flex-direction: column; justify-content: center; }
.tool-shell { display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: 24px; align-items: start; }
.safety-form, .plan-output, .search-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}
label, fieldset { display: grid; gap: 8px; margin-bottom: 14px; color: var(--deep); font-weight: 800; }
fieldset { border: 1px solid var(--line); border-radius: 8px; }
fieldset label { display: inline-flex; align-items: center; margin: 0 10px 8px 0; font-weight: 600; color: var(--muted); }
input, select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  background: #fbfdfb;
}
input[type="checkbox"] { width: auto; min-height: auto; }
.plan-output { min-height: 520px; }
.score-line { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 18px; }
.score-line strong { font-size: 64px; color: var(--moss); line-height: 1; }
blockquote { border-left: 4px solid var(--gold); margin: 14px 0; padding: 10px 14px; background: #fff9e9; border-radius: 0 8px 8px 0; }

.price-card strong { display: block; font-size: 42px; margin: 10px 0; }
.copy-box { background: white; border: 1px solid var(--line); border-radius: 8px; padding: 22px; color: var(--muted); }
.timeline { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.timeline div {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}
.timeline b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--deep);
  color: white;
}
.article { width: min(850px, calc(100% - 36px)); margin: 0 auto; padding: clamp(38px, 6vw, 86px) 0; }
.article h1 { font-size: clamp(42px, 6vw, 74px); line-height: 1; margin: 0 0 18px; }
.article p, .article li { font-size: 18px; }
.article-box, .script-box, .cta-panel { margin: 28px 0; }
.back-link { display: inline-block; margin-bottom: 16px; color: var(--moss); font-weight: 800; text-decoration: none; }
.search-shell { padding-top: 20px; }
.search-box { display: block; max-width: 760px; margin-bottom: 22px; }
.search-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 6vw, 96px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer p { margin: 4px 0 0; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero, .split, .tool-shell { grid-template-columns: 1fr; }
  .product-visual { min-height: auto; }
  .feature-grid, .guide-grid, .pricing-grid, .wide, .search-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  nav { display: none; }
}

@media (max-width: 560px) {
  .hero h1, .page-hero h1 { font-size: 46px; }
  .feature-grid, .guide-grid, .pricing-grid, .wide, .search-results { grid-template-columns: 1fr; }
  .site-header { padding-inline: 14px; }
  .nav-cta { display: none; }
  .phone-frame { border-width: 7px; border-radius: 26px; padding: 16px; }
  .footer { display: grid; }
}

@media print {
  .site-header, .footer, .safety-form, .hero-actions, .nav-cta, .plan-actions { display: none !important; }
  body { background: white; }
  .tool-shell { display: block; padding: 0; }
  .plan-output { box-shadow: none; border: none; }
}
