:root {
  --bg: #f7f8fb;
  --bg-alt: #eef0f6;
  --surface: #ffffff;
  --text: #1a2233;
  --text-muted: #4a5568;
  --accent: #4f46e5;
  --accent-strong: #4338ca;
  --accent-soft: rgba(79, 70, 229, 0.1);
  --border: #dfe3ec;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.08);
  --radius: 14px;
  --header-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1320;
    --bg-alt: #141a2b;
    --surface: #1a2234;
    --text: #e9edf5;
    --text-muted: #a6b0c3;
    --accent: #8b93f8;
    --accent-strong: #a5abff;
    --accent-soft: rgba(139, 147, 248, 0.14);
    --border: #2a3348;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1080px, 100% - 2.5rem);
  margin-inline: auto;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
}

h3 {
  font-size: 1.125rem;
  font-weight: 650;
}

p {
  margin: 0 0 1em;
}

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

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 750;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  color: var(--accent);
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.0625rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2.5vw, 1.75rem);
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 550;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.site-nav a.nav-cta {
  color: #fff;
  background: var(--accent);
  padding: 8px 18px;
  border-radius: 999px;
  border-bottom: none;
}

.site-nav a.nav-cta:hover {
  background: var(--accent-strong);
  color: #fff;
}

@media (max-width: 560px) {
  .brand-name {
    display: none;
  }
  .site-nav a:not(.nav-cta) {
    display: none;
  }
}

/* Hero */
.hero {
  padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(60rem 30rem at 85% -10%, var(--accent-soft), transparent 60%),
    radial-gradient(40rem 24rem at -10% 110%, var(--accent-soft), transparent 55%);
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
}

.hero h1 {
  max-width: 18ch;
  margin-inline: auto;
}

.hero-lede {
  max-width: 52ch;
  margin: 0 auto 2rem;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-strong);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  margin-bottom: 0.75rem;
}

.section-lede {
  max-width: 60ch;
  color: var(--text-muted);
  font-size: 1.0625rem;
  margin-bottom: 2.25rem;
}

/* Grids & cards */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

@media (max-width: 600px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

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

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-compact {
  padding: 1.5rem 1.25rem;
}

/* Ownership */
.ownership {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

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

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.875rem;
}

.checklist li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 2.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-weight: 550;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--accent-soft);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: calc(1rem + 5px);
  top: 50%;
  width: 8px;
  height: 4px;
  transform: translateY(-70%) rotate(-45deg);
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

/* Contact */
.contact {
  text-align: center;
}

.contact p {
  max-width: 46ch;
  margin-inline: auto;
  color: var(--text-muted);
}

.email {
  display: inline-block;
  margin-top: 1rem;
  padding: 14px 30px;
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent);
  background: var(--surface);
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
  word-break: break-word;
}

.email:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-inner p {
  margin: 0;
}
