@import url("https://fonts.googleapis.com/css2?family=Baskervville:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Inter:wght@400;500;600&display=swap");

:root {
  --bg: #06060b;
  --bg-top: #100c1e;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --stroke: rgba(255, 255, 255, 0.1);
  --stroke-strong: rgba(255, 255, 255, 0.18);
  --violet: #8b6cff;
  --blue: #3d8bff;
  --accent: #7b6cff;
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.62);
  --text-tertiary: rgba(255, 255, 255, 0.4);
  --positive: #49d6a0;
  --warning: #ffb85c;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --maxw: 1080px;
  --font-primary: "Baskervville", Georgia, serif;
  --font-secondary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 50% -8%, rgba(139, 108, 255, 0.18), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-secondary);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(120deg, var(--violet), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

:is(h1, h2, h3, .brand, .btn, .stat .num, .step .n) {
  font-family: var(--font-primary);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(6, 6, 11, 0.6);
  border-bottom: 1px solid var(--stroke);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: block;
  object-fit: cover;
  box-shadow: 0 6px 22px rgba(123, 108, 255, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--violet), var(--blue));
  color: #fff;
  box-shadow: 0 10px 30px rgba(123, 108, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(123, 108, 255, 0.5);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--stroke);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--surface-strong);
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 auto 22px;
  max-width: 14ch;
}

.hero p.sub {
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--text-secondary);
  max-width: 56ch;
  margin: 0 auto 36px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 18px;
  color: var(--text-tertiary);
  font-size: 13px;
}

/* ---------- Stat strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 64px 0;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}

.stat .num {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat .label {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 6px;
}

/* ---------- Sections ---------- */
.section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 52px;
}

.section-head h2 {
  font-size: clamp(28px, 4.4vw, 44px);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 14px;
}

.section-head p {
  color: var(--text-secondary);
  margin: 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--stroke-strong);
}

.card .glyph {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: linear-gradient(135deg, rgba(139, 108, 255, 0.25), rgba(61, 139, 255, 0.25));
  border: 1px solid var(--stroke);
  margin-bottom: 18px;
}

.card h3 {
  font-size: 19px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}

.step .n {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  margin-bottom: 16px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

/* ---------- CTA band ---------- */
.cta-band {
  margin: 40px 0 90px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(139, 108, 255, 0.25), transparent 70%),
    var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 64px 28px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(28px, 4.4vw, 42px);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.cta-band p {
  color: var(--text-secondary);
  max-width: 48ch;
  margin: 0 auto 30px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--stroke);
  padding: 44px 0 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer .copyright {
  color: var(--text-tertiary);
  font-size: 13px;
  margin-top: 22px;
}

/* ---------- Content pages (legal / support) ---------- */
.page-hero {
  padding: 72px 0 28px;
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.page-hero p.lede {
  color: var(--text-secondary);
  margin: 0;
  max-width: 60ch;
}

.content {
  padding: 16px 0 90px;
  max-width: 760px;
}

.content h2 {
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 40px 0 10px;
}

.content h3 {
  font-size: 18px;
  margin: 26px 0 8px;
}

.content p,
.content li {
  color: var(--text-secondary);
  font-size: 16px;
}

.content ul {
  padding-left: 22px;
}

.content a.inline {
  color: var(--violet);
  text-decoration: underline;
}

.muted {
  color: var(--text-tertiary);
  font-size: 14px;
}

.divider {
  height: 1px;
  background: var(--stroke);
  border: 0;
  margin: 18px 0;
}

/* ---------- Support form ---------- */
.support-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(123, 108, 255, 0.25);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-success {
  display: none;
  background: rgba(73, 214, 160, 0.12);
  border: 1px solid rgba(73, 214, 160, 0.4);
  color: var(--positive);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  margin-bottom: 18px;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
}

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

.faq details[open] summary {
  margin-bottom: 8px;
}

.faq p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.contact-list {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 15px;
}

.contact-list a {
  color: var(--violet);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .features,
  .steps,
  .stats {
    grid-template-columns: 1fr;
  }
  .support-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    gap: 18px;
  }
  .nav-links a.hide-sm {
    display: none;
  }
}
