:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --brand: #f97316;
  --brand-dark: #c2410c;
  --card: #ffffff;
  --line: #e2e8f0;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--text);
  background: var(--bg);
}
.container { width: min(1120px, 92%); margin: 0 auto; }
.row { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.wrap { flex-wrap: wrap; }
.gap-sm { gap: 0.75rem; }
.grid { display: grid; gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  padding: 0.8rem 0;
}
.brand { font-weight: 800; font-size: 1.2rem; }
.hero {
  background: linear-gradient(160deg, #ea580c 0%, #9a3412 100%);
  color: #fff;
  padding: 4.5rem 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
}
.eyebrow { font-weight: 600; opacity: 0.9; }
h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin: 0.5rem 0 0.8rem; line-height: 1.15; }
h2 { margin-top: 0; font-size: clamp(1.3rem, 2vw, 1.8rem); }
.sub { max-width: 720px; line-height: 1.5; opacity: 0.95; }
.status-note {
  margin-top: 1rem;
  max-width: 720px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}

.section { padding: 3.2rem 0; }
.section.alt { background: #fff7ed; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}
.card-orange { background: #ffedd5; border-color: #fdba74; }
.card p, .card li { color: var(--muted); line-height: 1.5; }
.metric-card {
  background: #0f172a;
  color: #fff;
  border: 1px solid #1e293b;
  border-top: 4px solid var(--brand);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.15);
}
.metric-card strong {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
}
.metric-card span {
  color: #cbd5e1;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: 12px;
  padding: 0.9rem;
}
.step h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  align-items: start;
}
.screenshot-grid-wide {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.shot {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}
.shot img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  display: block;
  background: #f8fafc;
  cursor: zoom-in;
}
.shot figcaption {
  padding: 0.7rem 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.cta-box {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem;
}

.btn {
  border: none;
  border-radius: 12px;
  font-weight: 700;
  padding: 0.75rem 1rem;
  cursor: pointer;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  text-decoration: none;
}
.btn.block { width: 100%; }

.modal.hidden { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
}
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
}
.dialog {
  position: relative;
  width: min(560px, 92%);
  margin: 6vh auto;
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid var(--line);
}
.close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
}
form { display: grid; gap: 0.75rem; }
label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.92rem; }
input, select {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  font: inherit;
}
.muted { color: var(--muted); }
.error { color: #dc2626; min-height: 1.2em; }
.hidden { display: none; }
.benefits { color: var(--muted); padding-left: 1rem; }
.checkbox { display: flex; align-items: center; gap: 0.5rem; margin: 0.9rem 0; }

.lightbox.hidden { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(2, 6, 23, 0.92);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.lightbox img {
  max-width: min(1200px, 95vw);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.three, .grid.two { grid-template-columns: 1fr; }
  .screenshot-grid,
  .screenshot-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .screenshot-grid,
  .screenshot-grid-wide { grid-template-columns: 1fr; }
  .shot img { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
