:root {
  --bg: #0d0d0d;
  --panel: #141414;
  --panel-2: #1b1b1b;
  --line: #2d2d2d;
  --line-soft: #202020;
  --text: #f3efe9;
  --muted: #b9b1a8;
  --soft: #8b847c;
  --accent: #ff8a1c;
  --accent-soft: rgba(255, 138, 28, 0.14);
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: #0b0b0b;
  color: var(--text);
}

a { color: inherit; text-decoration: none; }

.page-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding-bottom: 64px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 14px;
  gap: 18px;
}

.top-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: #151515;
  border: 1px solid var(--line);
}

.eyebrow,
.section-kicker,
.stat-label,
.message-meta,
.panel-header,
.pill {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
}

.ghost-link {
  color: var(--muted);
  font-size: 0.95rem;
}

.ghost-link-strong {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 26px;
  padding: 42px 0 26px;
}

.hero-copy,
.hero-panel,
.step-card,
.bullet-panel,
.chat-shell,
.cta-box,
.offer-card,
.faq-card,
.status-banner {
  background: #121212;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.hero-copy {
  padding: 44px;
}

.hero-panel {
  padding: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  background: rgba(255, 138, 28, 0.08);
  border: 1px solid rgba(255, 138, 28, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  line-height: 0.96;
  margin: 0 0 16px;
  max-width: 11ch;
  letter-spacing: -0.05em;
}

.hero-text,
.section-text,
.step-card p,
.rule-row span,
.bullet-row,
.chat-note,
.offer-card p,
.faq-card p,
.legal-copy p,
.site-footer p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 28px 0 28px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
  cursor: pointer;
}

.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: 0.6; cursor: wait; transform: none; }
.button-primary {
  background: var(--accent);
  color: #111111;
}
.button-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

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

.stat-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 16px;
}

.stat-card strong {
  display: block;
  margin-top: 6px;
  line-height: 1.35;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 18px;
}

.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(255, 138, 28, 0.55);
}

.panel-body,
.bullet-panel {
  display: grid;
  gap: 14px;
}

.rule-row,
.bullet-row,
.offer-card,
.faq-card,
.county-card {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,0.02);
}

.rule-row strong {
  display: block;
  margin-top: 8px;
  font-size: 1.02rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 10px 0 20px;
}

.proof-strip > div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--soft);
}

.county-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.county-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.county-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.county-badge-open {
  background: rgba(70, 199, 111, 0.14);
  color: #92f0af;
}

.county-badge-limited {
  background: rgba(255, 138, 28, 0.14);
  color: #ffb365;
}

.county-badge-waitlist {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.county-card-open {
  border-color: rgba(70, 199, 111, 0.2);
}

.county-card-limited {
  border-color: rgba(255, 138, 28, 0.24);
}

.county-card-waitlist {
  border-color: rgba(255, 255, 255, 0.12);
}

.county-metric {
  margin: 18px 0 10px;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.county-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.section {
  padding: 64px 0 0;
}

.section-tight { padding-top: 44px; }

.section-heading h2,
.split-layout h2,
.cta-box h2,
.legal-copy h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  margin: 10px 0 12px;
  letter-spacing: -0.045em;
}

.compact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.step-card {
  padding: 24px;
}

.step-number {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.step-card h3,
.offer-card h3,
.faq-card h3 {
  margin: 14px 0 10px;
  font-size: 1.2rem;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.bullet-panel {
  padding: 20px;
}

.section-chat .compact {
  max-width: 720px;
}

.chat-shell {
  padding: 22px;
  margin-top: 20px;
}

.status-banner {
  padding: 16px 18px;
  margin-top: 16px;
}

.success-banner {
  border-color: rgba(70, 199, 111, 0.35);
  background: rgba(70, 199, 111, 0.08);
}

.chat-window {
  min-height: 380px;
  max-height: 540px;
  overflow: auto;
  display: grid;
  gap: 12px;
  padding: 8px 0 18px;
}

.message {
  max-width: 780px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.03);
}

.message.user {
  margin-left: auto;
  background: rgba(255, 138, 28, 0.08);
  border-color: rgba(255, 138, 28, 0.18);
}

.message-meta {
  color: var(--soft);
  margin-bottom: 8px;
}

.message p {
  margin: 0;
  line-height: 1.55;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 8px;
}

.chat-form input {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 0 16px;
  background: #101010;
  color: var(--text);
  font: inherit;
}

.chat-form input::placeholder { color: var(--soft); }

.chat-note {
  margin-top: 12px;
  font-size: 0.95rem;
}

.cta-box {
  padding: 34px;
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-top: 24px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.legal-shell {
  padding-bottom: 32px;
}

.legal-copy {
  max-width: 780px;
  padding-top: 40px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1080px) {
  .hero,
  .split-layout,
  .steps-grid,
  .proof-strip,
  .hero-grid,
  .offer-grid,
  .faq-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell { width: min(calc(100% - 20px), var(--max)); }
  .topbar { align-items: flex-start; flex-direction: column; }
  .hero-copy,
  .hero-panel,
  .chat-shell,
  .cta-box { padding: 22px; }
  h1 { max-width: none; }
  .chat-form,
  .site-footer { grid-template-columns: 1fr; display: grid; }
}
