
:root {
  --ink: #121713;
  --panel: #1c2821;
  --panel-2: #26372d;
  --paper: #f5f7f2;
  --line: #dce4dc;
  --muted: #627268;
  --mint: #38d99f;
  --mint-dark: #0b7f63;
  --amber: #f2bf55;
  --red: #e85f55;
  --blue: #4477c7;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(18, 23, 19, 0.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8faf6 0%, #edf3ed 46%, #f7f8f4 100%);
}
body.payment-active main,
body.payment-active .site-header,
body.payment-active .site-footer { filter: blur(5px); pointer-events: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: white; padding: 10px; z-index: 100; }
.skip-link:focus { left: 12px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(245, 247, 242, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(18, 23, 19, 0.08);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0; }
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #072018;
  background: linear-gradient(135deg, var(--mint), var(--amber));
  font-size: 13px;
  box-shadow: 0 8px 22px rgba(11, 127, 99, 0.22);
}
nav { display: flex; gap: 18px; align-items: center; color: #405045; font-size: 14px; }
nav a:hover { color: var(--mint-dark); }
.primary, .secondary, .header-cta, .site-footer button {
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1.1;
  white-space: normal;
}
.primary, .header-cta {
  background: var(--ink);
  color: white;
  box-shadow: 0 14px 32px rgba(18, 23, 19, 0.22);
}
.primary:hover, .header-cta:hover { background: #1f2b22; }
.secondary {
  background: white;
  color: var(--ink);
  border-color: rgba(18, 23, 19, 0.16);
}
.secondary:hover { border-color: var(--mint-dark); color: var(--mint-dark); }
.hero {
  min-height: min(720px, calc(100vh - 72px));
  max-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(18px, 3.8vw, 42px) clamp(18px, 5vw, 76px) clamp(22px, 3.8vw, 44px);
}
.hero-copy h1, .resource-hero h1, .pricing-hero h1, .checkout-page h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 62px);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 820px;
}
.hero-slogan, .resource-hero p, .pricing-hero p, .checkout-page p {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
  color: #415148;
  max-width: 760px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--mint-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.hero-actions, .modal-actions, .scan-actions, .mini-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}
.trust-strip span, .tag, .badge, .risk-pill {
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(56, 217, 159, 0.14);
  color: #075940;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(56, 217, 159, 0.32);
}
.scan-console {
  background: var(--panel);
  color: white;
  border-radius: 12px;
  padding: clamp(18px, 2.8vw, 28px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.console-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.console-top h2 { margin: 0; font-size: 26px; }
.scan-form { display: grid; gap: 12px; }
.scan-form label { display: grid; gap: 7px; color: #c7d6cd; font-size: 13px; font-weight: 700; }
.scan-form input[type="url"] {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #111a15;
  color: white;
  border-radius: 8px;
  padding: 12px 13px;
  outline: none;
}
.scan-form input[type="url"]:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(56, 217, 159, 0.16); }
.file-drop {
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
}
.file-drop input { max-width: 100%; }
.scan-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.scan-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}
.scan-result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.result-card {
  min-height: 126px;
  border-radius: 10px;
  padding: 14px;
  background: #f8fbf8;
  color: var(--ink);
  display: grid;
  gap: 5px;
}
.result-card strong { font-size: 34px; line-height: 1; }
.result-card small { color: var(--muted); line-height: 1.35; }
.result-card.warning strong { color: #a66b00; }
.result-card.danger strong { color: var(--red); }
.section {
  padding: clamp(58px, 7vw, 96px) clamp(18px, 5vw, 76px);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.section h2, .legal h1, .resource-body h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.02;
  letter-spacing: 0;
}
.section p, .legal p, .resource-body p, .resource-body li {
  color: #4e5f55;
  line-height: 1.7;
  font-size: 16px;
}
.diff-table {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 16px 38px rgba(18, 23, 19, 0.08);
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 0.8fr;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #edf1eb;
  align-items: center;
  font-size: 14px;
}
.row.head {
  background: #17201b;
  color: white;
  font-weight: 800;
}
.tag { justify-self: start; }
.tag.high { background: rgba(232, 95, 85, 0.14); color: #9d231b; border-color: rgba(232, 95, 85, 0.26); }
.tag.med { background: rgba(242, 191, 85, 0.2); color: #805000; border-color: rgba(242, 191, 85, 0.34); }
.tag.ok { background: rgba(56, 217, 159, 0.16); color: #0a6148; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.section-heading { grid-column: 1 / -1; max-width: 760px; }
.cards article, .plan-card, .review-list, .resource-cta {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 16px 36px rgba(18, 23, 19, 0.07);
}
.cards h3, .plan-card h3 { margin: 0 0 8px; font-size: 21px; }
.visual-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  background: #17201b;
  color: white;
}
.visual-band p { color: #cbd8cf; }
.visual-band img { border-radius: 12px; box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36); }
.pricing-preview { background: #f8faf6; }
.compact { max-width: 760px; margin-bottom: 18px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; min-height: 470px; }
.plan-card.featured { border-color: rgba(56, 217, 159, 0.72); box-shadow: 0 22px 70px rgba(11, 127, 99, 0.16); }
.badge { align-self: flex-start; margin-bottom: 12px; }
.fit, .billing-note, .volume { color: var(--muted); margin: 0 0 12px; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 8px 0; }
.price span { font-size: 46px; font-weight: 900; }
.price small { color: var(--muted); font-weight: 700; }
.plan-card ul { padding-left: 18px; margin: 10px 0 18px; color: #44554c; line-height: 1.55; font-size: 14px; }
.plan-card button { margin-top: auto; }
.pricing-hero, .resource-hero, .checkout-page, .legal {
  padding: clamp(52px, 7vw, 92px) clamp(18px, 5vw, 76px);
}
.pricing-hero {
  padding-top: clamp(22px, 3vw, 34px);
  padding-bottom: 8px;
}
.pricing-hero h1 {
  max-width: 960px;
  font-size: clamp(30px, 3.6vw, 40px);
  line-height: 1.04;
}
.pricing-hero p {
  max-width: 820px;
  font-size: 15px;
  margin-bottom: 0;
}
.pricing-page { padding-top: 8px; }
.pricing-page .plan-card { min-height: 410px; padding: 18px; }
.pricing-page .price span { font-size: 38px; }
.resource-hero { background: #17201b; color: white; }
.resource-hero p { color: #d3ded7; }
.resource-body {
  max-width: 930px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 82px) 18px;
}
.resource-body section { margin-bottom: 38px; }
.resource-body h2 { font-size: clamp(24px, 3vw, 36px); }
.resource-body li + li { margin-top: 9px; }
.resource-cta { margin-top: 42px; }
.checkout-page .secondary { margin-left: 10px; }
.legal { max-width: 980px; margin: 0 auto; }
.legal h2 { margin-top: 34px; }
.site-footer {
  padding: 46px clamp(18px, 5vw, 76px) 28px;
  background: #101512;
  color: white;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.25fr 0.8fr; gap: 28px; }
.site-footer p, .site-footer a { color: #c8d5cd; line-height: 1.7; }
.site-footer h2 { margin: 0 0 12px; font-size: 15px; }
.site-footer a, .site-footer button { display: flex; margin: 8px 0; }
.site-footer button { background: transparent; color: white; border-color: rgba(255, 255, 255, 0.22); }
.fineprint { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 28px; padding-top: 18px; font-size: 13px; }
.muted { color: #6a7a71; }
.checkout-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 21, 18, 0.36);
  backdrop-filter: blur(10px);
}
.checkout-backdrop[hidden] { display: none; }
.checkout-modal {
  position: relative;
  width: min(560px, 100%);
  border-radius: 12px;
  padding: 26px;
  background: white;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
}
.checkout-modal h2 { margin: 0 28px 12px 0; font-size: 28px; line-height: 1.1; }
.checkout-modal p { color: var(--muted); line-height: 1.65; }
@media (max-width: 1080px) {
  .hero, .split, .visual-band { grid-template-columns: 1fr; max-height: none; }
  .hero { min-height: auto; }
  .cards, .plan-grid, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-header { position: static; align-items: flex-start; flex-wrap: wrap; padding: 12px 18px; gap: 10px; }
  nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; gap: 12px; font-size: 13px; }
  .header-cta { margin-left: auto; }
  .hero { padding-top: 22px; }
  .hero-copy h1, .resource-hero h1, .pricing-hero h1, .checkout-page h1 { font-size: clamp(38px, 12vw, 54px); }
  .pricing-hero { padding: 28px 20px 6px; }
  .pricing-hero h1 { font-size: 30px; line-height: 1.08; }
  .pricing-hero p { font-size: 14px; line-height: 1.45; }
  .pricing-page { padding-top: 8px; }
  .pricing-page .plan-card { min-height: auto; padding: 16px; }
  .pricing-page .price span { font-size: 32px; }
  .pricing-page .fit, .pricing-page .billing-note, .pricing-page .volume { margin-bottom: 7px; font-size: 13px; }
  .pricing-page .plan-card ul { margin: 6px 0 10px; line-height: 1.35; font-size: 13px; }
  .pricing-page .plan-card button { min-height: 38px; padding: 9px 12px; }
  .scan-result, .scan-options, .cards, .plan-grid, .footer-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr 1fr; }
  .row.head { display: none; }
  .plan-card { min-height: auto; }
  .checkout-page .secondary { margin-left: 0; margin-top: 10px; }
}
