:root {
  --bg: #0b0d10;
  --bg-elev: #111418;
  --fg: #e8eaed;
  --fg-muted: #9aa0a6;
  --accent: #e9c46a;
  --rule: #1f2429;
  --max-width: 62rem;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(233, 196, 106, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(100, 120, 200, 0.06), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

header.site-header {
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--fg);
}

.brand:hover { text-decoration: none; }

.brand .mark {
  width: 1.8rem;
  height: 1.5rem;
  display: block;
}

.brand .dot { color: var(--accent); }

.site-nav a {
  color: var(--fg-muted);
  margin-left: 1.75rem;
  font-size: 0.95rem;
}
.site-nav a:first-child { margin-left: 0; }
.site-nav a:hover { color: var(--fg); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--fg); }

/* Hero */

.hero {
  padding: 7rem 0 6rem;
  border-bottom: 1px solid var(--rule);
}

.hero.compact {
  padding: 4rem 0 3.5rem;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
  max-width: 22ch;
}

.hero.compact h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 58ch;
  margin: 0;
}

/* Sections */

section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--rule);
}

section:last-of-type { border-bottom: none; }

h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
}

.section-grid {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 3rem;
}

.section-grid > * { min-width: 0; }

.section-grid .label {
  color: var(--fg-muted);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: 0.4rem;
}

.section-grid p { margin-top: 0; }
.section-grid p + p { margin-top: 1rem; }

.platforms {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.platforms li {
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
  background: var(--bg-elev);
}

/* Buttons */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #14100a;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.5rem;
  border-radius: 0.4rem;
  letter-spacing: 0.01em;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }

.btn.secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--rule);
}
.btn.secondary:hover { border-color: var(--fg-muted); }

/* Cards (products, pricing) */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.card {
  border: 1px solid var(--rule);
  border-radius: 0.6rem;
  background: var(--bg-elev);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin: 0;
}

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

.card .card-actions { margin-top: auto; padding-top: 0.75rem; }

.badge {
  align-self: flex-start;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--rule);
  color: var(--fg-muted);
}

.badge.live {
  color: var(--accent);
  border-color: rgba(233, 196, 106, 0.45);
}

.price {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--fg);
  margin: 0;
}

.price .per {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.card ul.features {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--fg-muted);
  font-size: 0.95rem;
}
.card ul.features li { margin: 0.35rem 0; }

/* Notice box (statement descriptor, disclosures) */

.notice {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 0.4rem;
  background: var(--bg-elev);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0 0;
  font-size: 0.95rem;
  color: var(--fg-muted);
}
.notice strong { color: var(--fg); }
.notice code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: var(--fg);
  background: rgba(233, 196, 106, 0.12);
  border-radius: 0.25rem;
  padding: 0.1rem 0.35rem;
}

/* Long-form prose (legal pages) */

.prose {
  max-width: 46rem;
  padding: 3rem 0 5rem;
}

.prose .updated {
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin: -0.5rem 0 2.5rem;
}

.prose h2 {
  font-size: 1.45rem;
  margin: 3rem 0 1rem;
}

.prose h3 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin: 2rem 0 0.75rem;
}

.prose p, .prose li { color: var(--fg-muted); }
.prose strong { color: var(--fg); }
.prose ul { padding-left: 1.4rem; }
.prose li { margin: 0.4rem 0; }

.prose blockquote {
  margin: 1.25rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 3px solid var(--accent);
  font-style: italic;
}
.prose blockquote p { margin: 0.25rem 0; }

.prose .toc {
  border: 1px solid var(--rule);
  border-radius: 0.6rem;
  background: var(--bg-elev);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.prose .toc h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
}
.prose .toc ol {
  margin: 0;
  padding-left: 1.4rem;
  columns: 2;
  column-gap: 2rem;
  font-size: 0.9rem;
}
.prose .toc li { margin: 0.25rem 0; break-inside: avoid; }

.table-scroll { overflow-x: auto; }
.prose table {
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 34rem;
  margin: 1.25rem 0;
}
.prose th, .prose td {
  border: 1px solid var(--rule);
  padding: 0.6rem 0.8rem;
  text-align: left;
  vertical-align: top;
  color: var(--fg-muted);
}
.prose th { color: var(--fg); background: var(--bg-elev); }

/* Contact */

.contact-email {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.15rem, 2.5vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

/* Footer */

footer.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0 3rem;
  color: var(--fg-muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-bottom: 1.25rem;
}
.footer-links a { color: var(--fg-muted); }
.footer-links a:hover { color: var(--fg); text-decoration: none; }

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

/* Responsive */

@media (max-width: 640px) {
  .hero { padding: 4.5rem 0 4rem; }
  .hero.compact { padding: 3rem 0 2.5rem; }
  section { padding: 3.5rem 0; }
  .section-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .site-nav a { margin-left: 1.1rem; }
  header.site-header { padding: 1.25rem 0; }
  .prose { padding: 2rem 0 3.5rem; }
  .prose .toc ol { columns: 1; }
}
