* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #0f172a; background: #ffffff; }

:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #0c023b; 
  --primary-700: #0c023bd3;
  --surface: #f8fafc;
  --border: #e2e8f0;
}

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }
.hidden { display: none; }

.site-header { position: sticky; top: 0; background: var(--bg); border-bottom: 1px solid var(--border); z-index: 10; }
.site-header .brand { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; text-decoration: none; color: inherit; }
.site-header .brand img { height: 28px; width: auto; display: block; }

.hero { padding: 80px 0 80px; background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); }
.hero-grid { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 900px; margin: 0 auto; }
.early-access-badge { display: inline-flex; align-items: center; padding: 6px 14px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 999px; font-size: 13px; font-weight: 600; color: #166534; margin-bottom: 20px; }
.hero-copy h1 { font-size: 48px; line-height: 1.2; margin: 0 0 16px; }
.hero-copy .subhead { font-size: 20px; color: var(--muted); margin: 0 0 20px; }
.hero-form { display: flex; flex-direction: column; align-items: center; margin-top: 32px; }
.hero-visual { height: 280px; border-radius: 16px; background: radial-gradient(1000px 300px at 0% 0%, rgba(14,165,233,.12), transparent 60%),
  linear-gradient(145deg, #e2e8f0 0%, #f8fafc 50%, #ffffff 100%);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}

.stat-card { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; align-items: end; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px; box-shadow: 0 6px 20px rgba(2,6,23,.08);
  min-width: 280px; max-width: 500px; }
.stat { text-align: center; }
.stat-label { font-size: 12px; color: var(--muted); }
.stat-value { font-size: 22px; font-weight: 700; color: var(--text); }
.stat-note { grid-column: 1 / -1; text-align: center; font-size: 12px; color: var(--muted); margin-top: 6px; }

.waitlist-form { background: var(--surface); padding: 16px; border: 1px solid var(--border); border-radius: 12px; }
.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
label { font-size: 14px; color: var(--muted); }
input, select { height: 42px; border: 1px solid var(--border); border-radius: 8px; padding: 0 12px; font-size: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; font-weight: 600; font-size: 16px; }
.btn.primary { background: var(--primary); color: white; }
.btn.primary:hover { background: var(--primary-700); }
.hero-form .btn.primary { padding: 14px 32px; font-size: 18px; border-radius: 12px; }
.form-note { color: var(--muted); font-size: 13px; margin-top: 6px; }

.purchase-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.purchase-btn:hover {
  background: var(--primary-700);
  color: #fff;
}

.roi-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: start; }
.roi-stack { display: grid; gap: 12px; }
.metrics { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.metric { padding: 12px; border: 1px dashed var(--border); border-radius: 10px; background: #fff; }
.metric-label { font-size: 12px; font-weight: 700; color: #334155; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 4px; }
.metric-value { font-size: 20px; font-weight: 800; }
.metric-note { color: var(--muted); font-size: 13px; }
.metric .good, .metric-value.good { color: #166534; }
.bullets { list-style: disc; margin: 0 0 10px 18px; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.kpi { padding: 12px; border: 1px dashed var(--border); border-radius: 10px; background: #fff; }
.kpi-label { font-size: 12px; font-weight: 700; color: #334155; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 4px; }
.kpi-value { font-size: 22px; font-weight: 800; }
.kpi-note { color: var(--muted); font-size: 13px; }
.kpi-good { color: #166534; }
.highlight { background: #f0fdf4; border-color: #bbf7d0; }
.big { font-size: 24px; font-weight: 800; margin: 4px 0 6px; }

.section { padding: 56px 0; }
.section h2 { font-size: 28px; margin: 0 0 8px; }
.section .lead { color: var(--muted); margin: 0 0 14px; }

.legal-content { padding-top: 24px; }
.legal-content h1 { margin: 0 0 24px; font-size: 36px; line-height: 1.2; }
.legal-content h2 { margin: 40px 0 16px; font-size: 26px; line-height: 1.3; }
.legal-content h3 { margin: 28px 0 12px; font-size: 20px; line-height: 1.4; }
.legal-content p { margin: 0 0 20px; line-height: 1.7; }
.legal-content ul { margin: 0 0 24px 22px; line-height: 1.6; }
.legal-content li + li { margin-top: 8px; }
.legal-content strong { font-weight: 600; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.pair-grid { display: grid; gap: 18px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
figure { margin: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: white; width: 100%; }
figure.before { background: #fff; }
figure.after { background: #f0fdf4; /* light green tint */ }
figure .badge { position: absolute; margin: 8px; padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .2px; }
figure.before .badge { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
figure.after .badge { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
figure { position: relative; }
figure img { display: block; width: 100%; height: 220px; object-fit: contain; background: #fff; cursor: zoom-in; padding: 6px; }
figure figcaption { font-size: 14px; padding: 8px 10px; border-top: 1px solid var(--border); }
figure.before figcaption { color: #b91c1c; font-weight: 700; }
figure.after  figcaption { color: #166534; font-weight: 700; }
.caption-note { color: var(--muted); font-size: 13px; margin-top: 8px; }

/* Results Section */
.section-results { background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); padding: 72px 0; }
.results-title { font-size: 36px; font-weight: 700; margin: 0 0 48px; text-align: center; }

/* Hero Impact Number */
.results-hero { text-align: center; margin-bottom: 56px; }
.impact-number { font-size: 96px; font-weight: 800; color: var(--primary); line-height: 1; margin: 0 0 16px; letter-spacing: -0.02em; }
.impact-subtitle { font-size: 20px; color: var(--muted); margin: 0; font-weight: 500; }

/* Stat Cards */
.results-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto 40px; }
.stat-box { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 32px 24px; text-align: center; }
.stat-box-highlight { background: #f0fdf4; border-color: #bbf7d0; }
.stat-label { font-size: 14px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.stat-number { font-size: 48px; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 8px; }
.stat-number-good { color: #166534; }
.stat-description { font-size: 14px; color: var(--muted); }
.results-footnote { color: var(--muted); font-size: 14px; margin: 0; text-align: center; }

.steps { margin: 0; padding-left: 22px; }
.steps h3 { margin: 8px 0 6px; font-size: 18px; }
.output ul { margin: 0; padding-left: 18px; }
.practical-use ul { margin: 0; padding-left: 18px; }

.hiw-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.hiw-right { display: grid; gap: 12px; align-content: start; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.step-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #075985; background: #e0f2fe; border: 1px solid #bae6fd; }
.step-body h3 { margin: 0 0 6px; font-size: 18px; }
.step-body p { margin: 0; color: var(--muted); }

.card { border: 1px solid var(--border); border-radius: 12px; padding: 16px; background: #fff; }
.card h4 { margin: 0 0 10px; }
.badges { display: grid; grid-auto-flow: row; gap: 8px; list-style: none; padding: 0; margin: 8px 0 10px; }
.pill { display: inline-block; padding: 6px 10px; border-radius: 999px; font-size: 13px; background: #f1f5f9; border: 1px solid var(--border); }
.pill-good { background: #dcfce7; border-color: #bbf7d0; color: #166534; }
.pill-warn { background: #fee2e2; border-color: #fecaca; color: #991b1b; }
.checklist { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.checklist li { padding-left: 22px; position: relative; }
.checklist li::before { content: "✔"; position: absolute; left: 0; top: 0; color: #16a34a; font-weight: 700; }
.muted { color: var(--muted); }

.cta { padding: 48px 0; background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta h2 { margin: 0 0 8px; }

.site-footer { padding: 18px 0; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 10px; }

.footer { padding: 24px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.footer-brand { font-size: 14px; color: var(--muted); }
.footer-logo { height: 24px; width: auto; }
.footer-links { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); }
.footer-links a { color: inherit; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(15,23,42,.7); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1000px, 90vw); max-height: 80vh; border-radius: 12px; background: #fff; }
.lightbox-close { position: absolute; top: 14px; right: 18px; background: rgba(255,255,255,.9); border: 1px solid var(--border); height: 36px; width: 36px; border-radius: 8px; cursor: pointer; font-size: 20px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 16px; }
  .hero-copy h1 { font-size: 32px; }
  figure img { height: 180px; }
  .pair { grid-template-columns: 1fr; }
  .pair-col + .pair-col { position: relative; }
  .pair-col + .pair-col::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 0; border-top: 1px dashed var(--border); }
  .hiw-grid, .roi-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .section-results { padding: 48px 0; }
  .results-title { font-size: 28px; margin-bottom: 32px; }
  .impact-number { font-size: 64px; }
  .impact-subtitle { font-size: 18px; }
  .results-hero { margin-bottom: 40px; }
  .results-stats { grid-template-columns: 1fr; gap: 16px; }
  .stat-box { padding: 24px 20px; }
  .stat-number { font-size: 40px; }
}
