:root {
  --bg: #f5f1fa;
  --surface: #ffffff;
  --surface-alt: #eee6f8;
  --ink: #1f1631;
  --muted: #665c7d;
  --brand: #6a39b8;
  --brand-strong: #4c2690;
  --accent: #0d8f8a;
  --border: #d9cce9;
  --shadow: 0 10px 28px rgba(43, 21, 74, 0.12);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: radial-gradient(circle at 15% 0%, #faf7ff 0%, var(--bg) 40%, #f3edf9 100%);
  color: var(--ink);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Outfit", "IBM Plex Sans", sans-serif;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

a {
  color: var(--brand-strong);
}

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

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, #f7f3fc 84%, white 16%);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: none;
  background: transparent;
}

.brand-text {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.top-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.94rem;
}

.top-nav a:hover {
  color: var(--brand-strong);
}

.hero {
  padding: 3.2rem 0 2.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
}

.hero-logo {
  width: clamp(88px, 14vw, 140px);
  height: auto;
  border-radius: 50%;
  border: 0;
  box-shadow: none;
  background: transparent;
  margin-bottom: 0.9rem;
}

.kicker {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

h1 {
  font-size: clamp(1.9rem, 4.8vw, 3rem);
  max-width: 20ch;
}

.lead {
  color: var(--muted);
  max-width: 64ch;
  font-size: 1.08rem;
  margin-bottom: 1.3rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.05);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--brand-strong);
  background: #fff;
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card {
  background: linear-gradient(170deg, #efe4fb, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.15rem;
  align-self: start;
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.hero-card p {
  margin: 0 0 0.7rem;
  color: #3e3256;
}

.section {
  padding: 2.6rem 0;
}

.section.alt {
  background: color-mix(in srgb, var(--surface-alt) 65%, white 35%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.prose {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2.2vw, 1.8rem);
}

.prose h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.prose h3 {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin-top: 1.3rem;
}

.prose p,
.prose li {
  color: #31284a;
}

.prose ul {
  margin: 0.4rem 0 0.7rem 1.2rem;
}

.legal h3 {
  border-left: 4px solid #cdb6ea;
  padding-left: 0.55rem;
}

.site-footer {
  padding: 1.25rem 0 2rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .top-nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 2.2rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
