/* Formora — dark navy SaaS, mobile-first */
:root {
  --bg: #0b1220;
  --bg-elevated: #121a2b;
  --bg-card: #151e32;
  --bg-card-hover: #1a2540;
  --border: rgba(212, 160, 23, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --gold: #d4a017;
  --gold-soft: #f0c14b;
  --gold-dim: rgba(212, 160, 23, 0.12);
  --text: #f5f7fb;
  --text-muted: #9aa3b5;
  --text-dim: #6b7489;
  --success: #3dd68c;
  --danger: #f07178;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; }

img, svg { display: block; max-width: 100%; }
a { color: var(--gold-soft); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--gold); }
ul { list-style: none; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo svg { height: 36px; width: auto; }

.nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); background: rgba(255,255,255,0.04); }

.nav-cta {
  display: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #0b1220 !important;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(212, 160, 23, 0.3);
}

.nav-cta:hover { filter: brightness(1.08); color: #0b1220 !important; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  color: var(--text-muted);
  padding: 0.75rem 0.5rem;
  font-weight: 500;
  border-radius: 8px;
}

.nav-mobile a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

.nav-mobile .nav-cta {
  display: block;
  text-align: center;
  margin-top: 0.5rem;
}

@media (min-width: 900px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle, .nav-mobile { display: none !important; }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
  text-align: center;
  font-family: inherit;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #0b1220 !important;
  box-shadow: 0 6px 24px rgba(212, 160, 23, 0.35);
}

.btn-primary:hover { filter: brightness(1.06); color: #0b1220 !important; }

.btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--border-subtle);
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft) !important; }

.btn-lg { padding: 1rem 1.75rem; font-size: 1.05rem; }

/* ——— Hero ——— */
.hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 20% auto -10%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(212, 160, 23, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero { padding: 5rem 0 5.5rem; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero h1 .accent { color: var(--gold-soft); }

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.hero-card {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.hero-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--gold-soft);
}

.hero-card ul { display: flex; flex-direction: column; gap: 0.65rem; }
.hero-card li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-card li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* ——— Sections ——— */
section { padding: 3.5rem 0; }

@media (min-width: 900px) {
  section { padding: 4.5rem 0; }
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.section-head p { color: var(--text-muted); }

.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* ——— Cards / Grid ——— */
.grid-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, background 0.2s;
}

.card:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
}

.card-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ——— Pricing ——— */
.price-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 800px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(212, 160, 23, 0.25), var(--shadow);
}

.price-badge {
  position: absolute;
  top: -11px;
  left: 1.5rem;
  background: var(--gold);
  color: #0b1220;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.price-card .tier {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.price-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.price-card .states {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.price-amount .num {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.price-amount .unit {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.price-features li::before {
  content: "→";
  color: var(--gold);
  font-weight: 700;
}

.addon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.addon-chip {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  flex: 1 1 200px;
}

.addon-chip strong {
  display: block;
  color: var(--gold-soft);
  margin-bottom: 0.2rem;
}

.addon-chip span { color: var(--text-muted); font-size: 0.9rem; }

.waitlist {
  margin-top: 2rem;
  background: var(--bg-elevated);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.waitlist h3 { margin-bottom: 0.5rem; }
.waitlist p { color: var(--text-muted); margin-bottom: 1rem; }
.waitlist .tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.tag {
  background: var(--gold-dim);
  border: 1px solid var(--border);
  color: var(--gold-soft);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

/* ——— Steps ——— */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.5rem;
  counter-increment: step;
  position: relative;
}

.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--gold);
  color: #0b1220;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { color: var(--text-muted); font-size: 0.9rem; }

/* ——— CTA Banner ——— */
.cta-banner {
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.15), rgba(212, 160, 23, 0.04));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.5rem 1.75rem;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin-bottom: 0.65rem;
}

.cta-banner p {
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}

.cta-banner .btn { margin: 0.25rem; }

/* ——— Disclaimer ——— */
.disclaimer {
  background: rgba(240, 113, 120, 0.08);
  border: 1px solid rgba(240, 113, 120, 0.25);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 2rem 0;
}

.disclaimer strong { color: var(--danger); }

.legal-note {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin: 1.5rem 0;
}

/* ——— Legal pages ——— */
.page-hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-hero p { color: var(--text-muted); max-width: 36rem; }

.prose {
  padding: 2.5rem 0 4rem;
  max-width: 720px;
}

.prose h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--gold-soft);
}

.prose h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

.prose p, .prose li { color: var(--text-muted); margin-bottom: 0.75rem; }

.prose ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.prose ul li { list-style: disc; }
.prose ol { padding-left: 1.25rem; margin-bottom: 1rem; }
.prose ol li { list-style: decimal; color: var(--text-muted); margin-bottom: 0.5rem; }

.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  gap: 1.5rem;
  padding: 2.5rem 0 4rem;
}

@media (min-width: 700px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.contact-box h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.contact-box p { color: var(--text-muted); margin-bottom: 1.25rem; }

.contact-meta dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-top: 1rem;
}

.contact-meta dd {
  color: var(--text);
  font-weight: 600;
  margin-top: 0.2rem;
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 22rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.25rem 0;
}

.footer-col a:hover { color: var(--gold-soft); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  max-width: 48rem;
  margin-top: 1rem;
  line-height: 1.5;
}

/* ——— Misc ——— */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th, td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  color: var(--gold-soft);
  font-weight: 600;
  background: var(--bg-elevated);
}

td { color: var(--text-muted); }

.highlight-box {
  background: var(--gold-dim);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.highlight-box strong { color: var(--gold-soft); }

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

/* ——— FAQ ——— */
.faq-list { display: flex; flex-direction: column; gap: 0.65rem; max-width: 760px; margin: 0 auto; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item .faq-body {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item .faq-body p { margin-bottom: 0.65rem; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ——— Checklist ——— */
.checklist {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  max-width: 720px;
  margin: 0 auto;
}

.checklist h3 {
  color: var(--gold-soft);
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.checklist ol {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist li {
  color: var(--text-muted);
  list-style: decimal;
  padding-left: 0.25rem;
}

.checklist li strong { color: var(--text); }

.checklist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}


/* A11y focus */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
