:root {
  --bg: #020617;
  --surface: #0f172a;
  --surface-2: #1e293b;
  --border: #1e293b;
  --fg: #f8fafc;
  --muted: #94a3b8;
  --brand: #f2bc23;
  --brand-dim: rgba(242, 188, 35, 0.12);
  --brand-border: rgba(242, 188, 35, 0.35);
  --ink: #0f172a;
  --blue: #60a5fa;
  --emerald: #34d399;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 72rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(242, 188, 35, 0.3);
  color: var(--brand);
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

@media (min-width: 640px) {
  .wrap {
    padding: 0 1.5rem;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--fg);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  background: linear-gradient(145deg, var(--brand), #d97706);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 0.6rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.nav a:hover {
  color: var(--fg);
  background: var(--surface);
}

.nav a.active {
  color: var(--brand);
  background: var(--brand-dim);
  border-color: var(--brand-border);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  padding: 2.5rem 1.25rem 3rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  border: 1px solid var(--border);
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24rem;
  height: 24rem;
  background: rgba(242, 188, 35, 0.15);
  filter: blur(100px);
  border-radius: 999px;
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--brand-dim);
  border: 1px solid var(--brand-border);
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 1.25rem 0 0;
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero h1 .grad {
  background: linear-gradient(90deg, #f2bc23, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  color: #cbd5e1;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: scale(1.02);
}

.btn-primary {
  background: linear-gradient(90deg, #f2bc23, #f59e0b);
  color: var(--ink);
  box-shadow: 0 10px 25px rgba(242, 188, 35, 0.25);
}

.btn-ghost {
  background: #1e293b;
  color: var(--fg);
  border-color: #334155;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 48rem;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(30, 41, 59, 0.8);
}

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

.metric {
  padding: 0.9rem;
  border-radius: var(--radius);
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid var(--border);
}

.metric strong {
  display: block;
  font-size: 1.35rem;
  color: var(--brand);
  font-weight: 800;
}

.metric span {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Sections */
.section {
  margin: 3.5rem 0;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.modules {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}

.card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.card h3 {
  margin: 0.75rem 0 0.4rem;
  font-size: 1rem;
  font-weight: 800;
}

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

.card ul {
  margin: 0.85rem 0 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.78rem;
  color: #cbd5e1;
}

.card li {
  margin: 0.35rem 0;
}

.icon-pill {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: var(--brand-dim);
  border: 1px solid var(--brand-border);
  color: var(--brand);
  font-size: 1.1rem;
}

/* Store band */
.store-band {
  padding: 2rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.store-item h3 {
  margin: 0.5rem 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.store-item p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.legal-cta {
  margin-top: 1.75rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #020617, #0f172a, #020617);
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legal-cta h4 {
  margin: 0;
  font-size: 0.9rem;
}

.legal-cta p {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

/* Privacy page */
.pol-bar {
  background: linear-gradient(90deg, #0f172a, #1e293b);
  border-bottom: 3px solid var(--brand);
  padding: 1.5rem 0;
}

.pol-bar .eyebrow {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
}

.pol-bar h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
}

.pol-bar p {
  margin: 0.5rem 0 0;
  color: #cbd5e1;
  font-size: 0.9rem;
  max-width: 40rem;
}

.pol-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0 3rem;
}

@media (min-width: 1024px) {
  .pol-layout {
    grid-template-columns: 14rem 1fr;
  }
}

.pol-nav {
  position: sticky;
  top: 4.5rem;
  align-self: start;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  max-height: calc(100vh - 6rem);
  overflow: auto;
  padding: 0.5rem 0;
}

@media (min-width: 1024px) {
  .pol-nav {
    display: flex;
  }
}

.pol-nav a {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45rem 0.65rem;
  border-radius: 0.5rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.pol-nav a:hover {
  color: var(--fg);
  background: var(--surface);
}

.pol-card {
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 1rem;
  scroll-margin-top: 5rem;
}

.pol-card header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.pol-card header h2 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
}

.pol-card .body {
  padding: 1rem 1.15rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.pol-card .body p {
  margin: 0 0 0.75rem;
}

.pol-card .body p:last-child {
  margin-bottom: 0;
}

.pol-card .body strong {
  color: var(--fg);
}

.pol-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
}

.pol-card h3:first-child {
  margin-top: 0;
}

.pol-card ul {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
}

.pol-card li {
  margin: 0.35rem 0;
}

table.pol {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  margin: 0.75rem 0;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
}

table.pol th,
table.pol td {
  text-align: left;
  padding: 0.55rem 0.7rem;
  vertical-align: top;
  border-top: 1px solid var(--border);
}

table.pol th {
  background: var(--surface-2);
  color: var(--fg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
  border-top: none;
}

table.pol tr:nth-child(even) td {
  background: rgba(30, 41, 59, 0.35);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0 3rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.2fr 0.9fr;
  }
}

.form-card label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.35rem;
}

.form-card .field {
  margin-bottom: 1rem;
}

.form-card .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-card .row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  background: #020617;
  border: 1px solid #1e293b;
  color: var(--fg);
  font: inherit;
  font-size: 0.8rem;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--brand);
}

.form-card button[type="submit"] {
  width: 100%;
  margin-top: 0.25rem;
}

.faq-item {
  padding: 0.85rem;
  border-radius: var(--radius);
  background: #020617;
  border: 1px solid var(--border);
  margin-bottom: 0.65rem;
}

.faq-item h3 {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  color: #fcd34d;
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

.site-footer a {
  color: var(--muted);
  margin: 0 0.5rem;
}

.site-footer a:hover {
  color: var(--brand);
}

.main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

@media (min-width: 640px) {
  .main {
    padding: 0 1.5rem 2rem;
  }
}
