: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;
  --blue: #315c8f;
  --lavender: #ece8ff;
  --danger: #b42318;
  --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(82svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: clamp(34px, 6vw, 76px) clamp(18px, 6vw, 96px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(234, 247, 238, 0.7)),
    radial-gradient(circle at 82% 18%, rgba(242, 199, 107, 0.34), transparent 28%),
    radial-gradient(circle at 10% 88%, rgba(49, 92, 143, 0.14), transparent 30%);
}
.hero h1, .page-hero h1 {
  font-size: clamp(44px, 5.6vw, 70px);
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: 800;
  margin: 0 0 18px;
  max-width: 900px;
}
.hero h1 { background: linear-gradient(120deg, var(--deep), #2c5a40 60%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.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); }
.button.ghost { background: transparent; color: var(--deep); border-color: rgba(18, 51, 37, 0.2); }
.button.ghost:hover { background: rgba(255, 255, 255, 0.6); }
.button.primary:hover { background: #0c2419; }
.button.secondary:hover { background: var(--mint); }
.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; }
.guard-preview {
  width: min(100%, 500px);
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(23, 35, 29, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f2f5f3;
  color: var(--muted);
  font-size: 13px;
}
.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}
.browser-bar span:nth-child(2) { background: var(--gold); }
.browser-bar span:nth-child(3) { background: var(--moss); }
.browser-bar strong { margin-left: 8px; font-weight: 700; }
.feed-row {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.feed-row .thumb {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), #8db7d6);
}
.feed-row.blocked {
  border-color: #f8c6bd;
  background: #fff7f5;
}
.feed-row.blocked .thumb {
  background: repeating-linear-gradient(135deg, #b42318 0 10px, #f5a191 10px 20px);
  filter: blur(2px);
}
.feed-row.blurred .thumb {
  background: linear-gradient(135deg, var(--lavender), #cfd8dc);
  filter: blur(5px);
}
.feed-row strong,
.summary-card b {
  display: block;
  line-height: 1.2;
}
.feed-row span,
.summary-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}
.feed-row button {
  border: 0;
  border-radius: 8px;
  padding: 7px 9px;
  background: var(--deep);
  color: white;
  font: inherit;
  font-weight: 800;
}
.summary-card {
  padding: 16px;
  border: 1px solid #f4d99e;
  border-radius: 10px;
  background: #fff8e8;
}
.ranked-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.rank-row {
  display: grid;
  grid-template-columns: 28px 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.rank-row .rank-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--deep);
  font-weight: 800;
  font-size: 13px;
}
.rank-row.blocked .rank-num { background: #fde2da; color: #9b2818; }
.rank-row.blurred .rank-num { background: var(--lavender); color: var(--blue); }
.rank-row.allowed .rank-num { background: var(--sage); color: var(--moss); }
.rank-row .thumb {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), #8db7d6);
}
.rank-row.blocked .thumb {
  background: repeating-linear-gradient(135deg, #b42318 0 10px, #f5a191 10px 20px);
  filter: blur(2px);
}
.rank-row.blurred .thumb {
  background: linear-gradient(135deg, var(--lavender), #cfd8dc);
  filter: blur(5px);
}
.rank-meta strong { display: block; line-height: 1.2; }
.rank-meta span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}
.rank-meta b { color: var(--deep); }
.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(34px, 5vw, 72px) 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, .pack-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, .pack-grid article {
  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; }
.pack-grid article {
  min-height: 210px;
  border-top: 4px solid var(--blue);
}
.pack-grid article:nth-child(2) { border-top-color: var(--moss); }
.pack-grid article:nth-child(3) { border-top-color: var(--coral); }
.pack-grid article:nth-child(4) { border-top-color: var(--gold); }
.pack-grid span {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--mint);
  color: var(--deep);
  font-size: 12px;
  font-weight: 800;
}
.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 { position: relative; display: grid; gap: 6px; }
.price-card h2, .price-card h3 { margin: 0; font-size: 22px; }
.price-card strong { display: block; font-size: 42px; margin: 6px 0 0; line-height: 1; }
.price-card small { color: var(--muted); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 11px; }
.price-card p { margin: 6px 0 8px; }
.price-card ul { padding: 0 0 0 18px; margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.price-card .button { margin-top: auto; }
.price-card.featured {
  border-color: var(--moss);
  box-shadow: 0 18px 40px rgba(53, 102, 74, 0.18);
  transform: translateY(-4px);
}
.price-card .badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--gold);
  color: var(--deep);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.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, .pack-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, .pack-grid, .wide, .search-results { grid-template-columns: 1fr; }
  .feed-row { grid-template-columns: 64px 1fr; }
  .feed-row button { grid-column: 1 / -1; width: 100%; }
  .hero { min-height: auto; padding-bottom: 34px; }
  .hero .product-visual { display: none; }
  .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; }
}
