
:root {
  color-scheme: dark;
  --bg: #08100f;
  --bg2: #0e1b18;
  --panel: #111d1a;
  --panel2: #162723;
  --ink: #f4fff9;
  --muted: #a9bcb5;
  --line: rgba(214, 255, 241, .14);
  --green: #13e8b5;
  --blue: #66a3ff;
  --amber: #ffcc66;
  --rose: #ff6b9e;
  --paper: #f7fbf7;
  --paper-ink: #10211d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 2%, rgba(19,232,181,.17), transparent 30%),
    linear-gradient(120deg, #08100f 0%, #10201d 48%, #0c151b 100%);
  color: var(--ink);
}
body.checkout-open main, body.checkout-open header, body.checkout-open footer { filter: blur(6px); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
  padding: 14px 0;
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; letter-spacing: 0; }
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--green), transparent 55%),
    linear-gradient(315deg, var(--blue), var(--amber));
  box-shadow: 0 0 24px rgba(19,232,181,.38);
}
.nav { display: flex; gap: 18px; color: var(--muted); font-weight: 800; font-size: 14px; }
.nav a:hover, .footer a:hover { color: var(--green); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 950;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
  white-space: nowrap;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: linear-gradient(135deg, var(--green), #75f0ff);
  color: #062018;
  box-shadow: 0 16px 44px rgba(19,232,181,.23);
}
.button-secondary {
  background: rgba(255,255,255,.06);
  border-color: var(--line);
  color: var(--ink);
}
.button-small { min-height: 38px; padding: 0 14px; font-size: 13px; }
.hero {
  min-height: calc(100svh - 72px);
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 22px;
}
.console-surface, .evidence-card, .resource-card, .resource-cta, .legal-content {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 24, 21, .78);
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
}
.hero-copy { padding-right: 18px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; letter-spacing: 0; }
h1 { font-size: 52px; line-height: 1.02; margin-bottom: 16px; }
h2 { font-size: 36px; line-height: 1.05; margin-bottom: 12px; }
h3 { font-size: 20px; margin-bottom: 8px; }
.lead { color: #d8e8e1; font-size: 18px; line-height: 1.55; margin-bottom: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 8px; }
.billing-line, .mini-proof, .console-surface label span, .checkout-help { color: var(--muted); }
.billing-line { font-size: 13px; line-height: 1.45; margin-bottom: 14px; }
.mini-proof { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-proof span, .risk-list span {
  border: 1px solid rgba(19,232,181,.22);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(19,232,181,.08);
  font-size: 12px;
  font-weight: 850;
}
.paid-prompt {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(255,204,102,.34);
  border-radius: 8px;
  background: rgba(255,204,102,.1);
}
.paid-prompt p { color: #f5e8c1; line-height: 1.45; }
.console-surface { padding: 18px; display: grid; gap: 12px; background: rgba(10, 20, 18, .92); }
.console-top { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.console-top h2 { font-size: 26px; margin-bottom: 0; }
.status-pill {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(102,163,255,.14);
  color: #bdd6ff;
  font-size: 12px;
  font-weight: 900;
}
label { display: grid; gap: 6px; }
input, textarea {
  width: 100%;
  border: 1px solid rgba(214,255,241,.16);
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(255,255,255,.06);
  color: var(--ink);
  outline: none;
}
textarea { resize: vertical; min-height: 94px; }
input:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(19,232,181,.15); }
.action-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.action-chip {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}
.action-chip.active { background: rgba(255,107,158,.18); color: #ffd6e5; border-color: rgba(255,107,158,.54); }
.permit-report { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.permit-report div {
  min-height: 88px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
}
.permit-report span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.permit-report strong { font-size: 15px; }
.evidence-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
  color: #d6fff1;
  font-size: 12px;
  font-weight: 950;
}
.evidence-flow i {
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  border-radius: 999px;
}
.console-submit { width: 100%; }
.proof-band {
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.proof-band article, .workflow-grid article, .faq-grid article, .guide-grid a, .price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.055);
}
.proof-band article { padding: 14px; }
.proof-band b { display: block; font-size: 26px; color: var(--green); }
.proof-band span { color: var(--muted); font-size: 13px; }
.section {
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
  padding: 54px 0;
}
.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 18px; align-items: center; }
.section-copy p, .section-head p, .workflow-grid p, .faq-grid p, .price-card p, .resource-layout p, .legal-content p {
  color: var(--muted);
  line-height: 1.62;
}
.risk-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.evidence-card { padding: 18px; display: grid; gap: 10px; }
.evidence-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,255,255,.045);
}
.evidence-row span { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.evidence-row.good b { color: #b9ffe8; }
.evidence-row.warn b { color: var(--amber); }
.evidence-row.danger b { color: #ffb5ca; }
.evidence-stream { display: grid; grid-template-columns: 14px 1fr; gap: 10px; padding: 10px 4px 0; }
.evidence-stream i { width: 10px; height: 10px; margin-top: 7px; border-radius: 999px; background: var(--green); box-shadow: 0 0 18px var(--green); }
.evidence-stream p { margin: 0; color: #d8e8e1; }
.section-head { max-width: 760px; margin-bottom: 18px; }
.section-head.compact { max-width: 900px; }
.workflow-grid, .faq-grid, .guide-grid, .pricing-grid { display: grid; gap: 12px; }
.workflow-grid { grid-template-columns: repeat(4, 1fr); }
.workflow-grid article, .faq-grid article, .guide-grid a { padding: 18px; }
.workflow-grid span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #062018;
  background: var(--green);
  font-weight: 950;
  margin-bottom: 12px;
}
.pricing { scroll-margin-top: 78px; padding-top: 28px; }
.pricing-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 16px; }
.pricing-head p { max-width: 680px; }
.pricing-controls { display: grid; justify-items: end; gap: 10px; min-width: 260px; }
.billing-toggle { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.06); }
.billing-toggle button {
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 34px;
  padding: 0 14px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}
.billing-toggle button.active { color: #062018; background: var(--green); }
.pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-card { position: relative; padding: 18px; display: grid; gap: 8px; align-content: start; }
.price-card.featured { border-color: rgba(19,232,181,.58); box-shadow: 0 26px 70px rgba(19,232,181,.13); }
.recommended {
  position: absolute;
  top: -12px;
  left: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--amber);
  color: #211700;
  font-size: 12px;
  font-weight: 950;
}
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.price span { font-size: 40px; font-weight: 950; color: var(--ink); }
.price small { color: var(--muted); font-weight: 900; }
.billing-note { min-height: 42px; font-size: 13px; }
.allowance { color: #b9ffe8 !important; font-weight: 900; }
.feature-list { display: grid; gap: 8px; padding: 0; margin: 4px 0 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; color: var(--muted); line-height: 1.45; }
.feature-list li:before { content: "OK"; color: var(--green); font-weight: 950; font-size: 11px; }
.guide-grid { grid-template-columns: repeat(4, 1fr); }
.guide-grid a { display: grid; gap: 7px; min-height: 116px; }
.guide-grid b { color: #dffdf4; }
.guide-grid span { color: var(--muted); }
.faq-grid { grid-template-columns: repeat(4, 1fr); padding-top: 20px; }
.page-hero {
  width: min(980px, calc(100% - 28px));
  margin: 40px auto 16px;
  padding: 34px 0 10px;
}
.page-hero h1 { font-size: 52px; line-height: 1.02; }
.page-hero p { max-width: 820px; color: var(--muted); font-size: 18px; line-height: 1.58; }
.checkout-hero .button { margin-top: 14px; }
.checkout-summary {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}
.checkout-summary span, .checkout-summary b { padding: 12px; background: rgba(255,255,255,.06); }
.checkout-summary span { color: var(--muted); }
.resource-layout {
  width: min(1120px, calc(100% - 28px));
  margin: 20px auto 62px;
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 16px;
  align-items: start;
}
.resource-card, .resource-cta, .legal-content { padding: 22px; }
.resource-cta { position: sticky; top: 88px; display: grid; gap: 10px; }
.resource-card h2, .legal-content h2 { font-size: 24px; margin-top: 26px; }
.resource-card h2:first-child, .legal-content h2:first-child { margin-top: 0; }
.plain-list, .number-list { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.65; }
.plain-list li, .number-list li { margin: 8px 0; }
.warning-list li::marker { color: var(--rose); }
.legal-content {
  width: min(920px, calc(100% - 28px));
  margin: 0 auto 70px;
}
.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(6, 14, 12, .54);
  backdrop-filter: blur(10px);
}
.checkout-overlay[hidden] { display: none; }
.checkout-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(700px, calc(100vh - 36px));
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: #f7fbf7;
  color: var(--paper-ink);
  box-shadow: 0 32px 120px rgba(0,0,0,.44);
}
.checkout-panel p { color: #43514d; line-height: 1.5; }
.icon-button {
  border: 0;
  background: #10211d;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.icon-button.close { position: absolute; right: 16px; top: 16px; }
.checkout-status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid #d9e4df;
  border-radius: 8px;
  margin: 16px 0;
  background: #d9e4df;
}
.checkout-status span, .checkout-status b { padding: 12px; background: #fff; }
.checkout-status span { color: #66736f; font-size: 12px; font-weight: 800; }
.footer-shell { border-top: 1px solid var(--line); margin-top: 20px; }
.footer {
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 30px 0 42px;
  color: var(--muted);
}
.footer-brand { color: var(--ink); font-weight: 950; margin-bottom: 12px; }
.footer p { margin: 8px 0; line-height: 1.5; }
.fineprint { font-size: 12px; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; justify-self: end; width: min(460px, 100%); font-weight: 800; }
@media (max-width: 980px) {
  .topbar { align-items: flex-start; }
  .nav { display: none; }
  .hero, .split, .resource-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 14px; }
  h1, .page-hero h1 { font-size: 44px; }
  .proof-band, .workflow-grid, .guide-grid, .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-head { display: grid; }
  .pricing-controls { justify-items: start; }
  .pricing-grid { grid-template-columns: 1fr; }
  .resource-cta { position: static; }
}
@media (max-width: 640px) {
  .topbar { width: calc(100% - 20px); gap: 10px; }
  .topbar .button { display: none; }
  .hero, .proof-band, .section, .footer, .resource-layout, .page-hero { width: calc(100% - 20px); }
  .hero-copy { padding: 0; }
  .console-surface { padding: 16px; }
  h1, .page-hero h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  .lead, .section-head p, .page-hero p { font-size: 16px; }
  .action-strip, .permit-report, .proof-band, .workflow-grid, .guide-grid, .faq-grid, .footer, .checkout-status { grid-template-columns: 1fr; }
  .evidence-flow { grid-template-columns: 1fr; }
  .evidence-flow i { height: 14px; width: 3px; justify-self: center; }
  .evidence-row { grid-template-columns: 1fr; }
  .footer-links { justify-self: start; grid-template-columns: 1fr; }
}
