:root {
  color-scheme: dark;
  --bg: #071018;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --text: #f8fafc;
  --muted: #a7b4c6;
  --line: rgba(255, 255, 255, 0.14);
  --green: #5ee1a0;
  --amber: #f8c15c;
  --red: #ff6b7a;
  --blue: #5bc7ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 16% 18%, rgba(91, 199, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 78% 26%, rgba(94, 225, 160, 0.18), transparent 24rem),
    linear-gradient(135deg, #071018 0%, #0a1824 48%, #071018 100%);
  color: var(--text);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
}

.hero { min-height: 100vh; padding: 24px 0 80px; }

.nav {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}

.brand, .nav-link {
  color: var(--text);
  text-decoration: none;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nav-link {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-link:hover { color: var(--blue); }

.hero-grid {
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 420px;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
  margin-bottom: 28px;
}

.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.65;
  margin-bottom: 30px;
}

.offer-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.offer-strip span {
  padding: 8px 12px;
  border: 1px solid rgba(91, 199, 255, 0.22);
  border-radius: 999px;
  color: #d8f3ff;
  background: rgba(91, 199, 255, 0.08);
  font-size: 0.88rem;
}

.audit-form {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(220px, 1.2fr) auto;
  gap: 12px;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

label {
  color: var(--muted);
  font-size: 0.82rem;
  display: grid;
  gap: 8px;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
  padding: 0 14px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
  padding: 14px;
  font: inherit;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus {
  border-color: rgba(91, 199, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(91, 199, 255, 0.16);
}

button {
  align-self: end;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #061018;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

button:hover { transform: translateY(-2px); filter: brightness(1.06); }
button:disabled { cursor: wait; opacity: 0.74; transform: none; }

.fine-print {
  margin-top: 14px;
  color: #7f8da1;
  font-size: 0.88rem;
}

.visual-card, .report-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
}

.visual-card { padding: 22px; }

.scan-header {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
}

.scan-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}

.scan-header b { margin-left: auto; color: var(--text); }

.score-ring {
  width: 210px;
  height: 210px;
  margin: 34px auto;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background:
    radial-gradient(circle, #0b1722 0 56%, transparent 57%),
    conic-gradient(var(--amber) 0 58%, rgba(255, 255, 255, 0.12) 58% 100%);
}

.score-ring strong { font-size: 4rem; line-height: 1; }
.score-ring span { color: var(--amber); font-weight: 700; }

.heat-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px;
  margin-top: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.heat-row b { white-space: nowrap; }
.critical b { color: var(--red); }
.warning b { color: var(--amber); }
.pass b { color: var(--green); }

.report-shell { padding: 40px 0 90px; }
.pricing-section, .trust-section { padding: 30px 0 48px; }
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  color: var(--muted);
  padding: 30px 0 56px;
  border-top: 1px solid var(--line);
}

.site-footer a { color: var(--blue); }
.legal-page { padding: 24px 0 80px; }
.legal-page h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.legal-page h2 { font-size: 1.35rem; margin-top: 28px; }
.legal-page p { color: var(--muted); max-width: 780px; }
.sample-page .report-card { margin: 18px 0; }
.delivery-list { color: var(--muted); line-height: 1.7; }
.section-head { margin-bottom: 22px; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.trust-grid article {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.2);
}

.trust-grid b {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.trust-grid p {
  color: var(--muted);
  line-height: 1.58;
  margin: 0;
}

.sample-cta { margin-top: 16px; }

.price-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 320px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.05));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.price-card.featured {
  border-color: rgba(91, 199, 255, 0.42);
  background:
    radial-gradient(circle at 70% 0%, rgba(91, 199, 255, 0.22), transparent 18rem),
    linear-gradient(145deg, rgba(255,255,255,0.15), rgba(255,255,255,0.06));
}

.price-label {
  width: fit-content;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(94, 225, 160, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-card h3 { margin-bottom: 0; font-size: 1.45rem; }
.price-card strong { font-size: 3rem; line-height: 1; }
.price-card p:not(.price-label) { color: var(--muted); line-height: 1.58; }

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: auto;
  border-radius: 12px;
  padding: 0 18px;
  color: #061018;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.button-link.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--line);
}

.button-link.secondary.emphasis {
  color: #061018;
  border-color: rgba(94, 225, 160, 0.4);
  background: linear-gradient(135deg, rgba(94, 225, 160, 0.95), rgba(91, 199, 255, 0.95));
}

.button-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.payment-status {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 13px;
}

.payment-status b { color: var(--text); }
.payment-status.ready { border-color: rgba(94, 225, 160, 0.28); background: rgba(94, 225, 160, 0.08); }
.payment-status.manual { border-color: rgba(248, 193, 92, 0.32); background: rgba(248, 193, 92, 0.08); }

.checkout-shell {
  min-height: calc(100vh - 120px);
  display: grid;
  align-content: center;
  padding: 56px 0 80px;
}

.checkout-card {
  max-width: 640px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.06));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.checkout-card h2 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  margin-bottom: 10px;
}

.checkout-card strong {
  display: block;
  font-size: 3.2rem;
  line-height: 1;
  margin: 12px 0 18px;
}

.checkout-card p {
  color: var(--muted);
  line-height: 1.65;
}

.checkout-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--amber);
  background: rgba(248, 193, 92, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.checkout-badge.ready {
  color: var(--green);
  background: rgba(94, 225, 160, 0.1);
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.checkout-steps {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
  counter-reset: checkout-step;
}

.checkout-steps li {
  counter-increment: checkout-step;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
}

.checkout-steps li::before {
  content: counter(checkout-step);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #061018;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-weight: 900;
}

.checkout-steps b {
  display: block;
  color: var(--text);
}

.checkout-steps span {
  display: block;
  margin-top: 2px;
  font-size: 0.92rem;
}

.payment-box {
  display: grid;
  gap: 10px;
  margin: 18px 0 6px;
  padding: 14px;
  border: 1px solid rgba(91, 199, 255, 0.22);
  border-radius: 16px;
  background: rgba(91, 199, 255, 0.08);
}

.payment-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 42px;
}

.payment-row span {
  color: var(--muted);
  font-size: 0.86rem;
}

.payment-row b {
  overflow-wrap: anywhere;
}

.copy-button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--line);
}

.report-card { padding: 26px; min-height: 260px; }
.empty-state { color: var(--muted); }
.empty-state h3 { color: var(--text); }

.report-top {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}

.grade {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.grade strong { display: block; font-size: 3.5rem; line-height: 1; }
.grade span { color: var(--muted); }

.report-summary p { color: var(--muted); line-height: 1.6; }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.metric { padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.metric span { display: block; color: var(--muted); font-size: 0.82rem; }
.metric b { font-size: 1.12rem; }

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.check {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.check.pass { border-color: rgba(94, 225, 160, 0.38); }
.check.fail { border-color: rgba(255, 107, 122, 0.38); }
.check b { display: block; margin-bottom: 6px; }
.check p { color: var(--muted); margin: 0; font-size: 0.92rem; line-height: 1.5; }

.next-steps {
  margin-top: 22px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(91, 199, 255, 0.09);
  border: 1px solid rgba(91, 199, 255, 0.2);
}

.next-steps li { margin: 10px 0; color: var(--muted); }

.inquiry-form {
  margin-top: 22px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(94, 225, 160, 0.24);
  background: rgba(94, 225, 160, 0.08);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.7fr) auto;
  gap: 12px;
  align-items: end;
}

.inquiry-form h3,
.inquiry-form p {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.inquiry-form p { color: var(--muted); }

.intake-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.intake-form .wide-field,
.intake-form button {
  grid-column: 1 / -1;
}

.pipeline-board {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.pipeline-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.pipeline-item h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.pipeline-item a {
  color: var(--blue);
}

.pipeline-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.pipeline-form .wide-field,
.pipeline-form button {
  grid-column: 1 / -1;
}

.form-result {
  margin-top: 18px;
  color: var(--muted);
}

select {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
  padding: 0 14px;
  font: inherit;
  outline: none;
}

@media (max-width: 900px) {
  .hero-grid, .report-top { grid-template-columns: 1fr; }
  .audit-form { grid-template-columns: 1fr; }
  .visual-card { max-width: 440px; }
  .pricing-grid, .trust-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .page { width: min(100% - 24px, 1180px); }
  h1 { font-size: 3.2rem; }
  .nav { align-items: flex-start; gap: 12px; flex-direction: column; }
  .check-grid, .metric-grid { grid-template-columns: 1fr; }
  .payment-row { grid-template-columns: 1fr; }
  .inquiry-form, .intake-form, .pipeline-form { grid-template-columns: 1fr; }
  .intake-form .wide-field,
  .intake-form button,
  .pipeline-form .wide-field,
  .pipeline-form button { grid-column: auto; }
}
