:root {
  --bg: #070b16;
  --bg-raised: #10182b;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f6fb;
  --muted: rgba(244, 246, 251, 0.72);
  --faint: rgba(244, 246, 251, 0.52);
  --accent: #c4b5fd;
  --accent-strong: #7c3aed;
  --max: 1120px;
  --header: 4.5rem;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: calc(var(--header) + env(safe-area-inset-top, 0px) + 0.75rem);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(124, 58, 237, 0.28), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  line-height: 1.5;
}

body,
a,
button {
  -webkit-tap-highlight-color: transparent;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 3;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  background: #fff;
  color: #111;
  border-radius: 0.5rem;
}

.skip:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 22, 0.9);
  backdrop-filter: blur(12px);
  padding-top: env(safe-area-inset-top, 0px);
}

.header-bar,
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.9);
}

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

nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  text-decoration: none;
}

nav a {
  color: var(--muted);
}

nav a:hover,
nav a:focus-visible,
.brand:focus-visible,
.button:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.nav-cta,
.button.primary {
  background: linear-gradient(180deg, #8b5cf6, var(--accent-strong));
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-weight: 560;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 0.98;
}

.lede,
.card p,
.note p,
.steps p {
  color: var(--muted);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.05rem;
}

.lede {
  max-width: 38rem;
  margin: 1.25rem 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.panel,
.card,
.note {
  background: rgba(16, 24, 43, 0.86);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}

.panel,
.note {
  padding: 1.4rem 1.4rem 1.2rem;
}

.panel ul,
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel li,
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
}

.panel li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  border-radius: 99px;
  background: var(--accent);
}

.band {
  padding: 1rem 0 3.5rem;
}

.band h2,
.note h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

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

.card {
  padding: 1.3rem 1.2rem 1.4rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.05rem;
}

.card p,
.note p,
.steps p {
  margin: 0;
}

.steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 99px;
  background: rgba(124, 58, 237, 0.35);
  color: var(--accent);
  font-size: 0.85rem;
}

.note .button {
  margin-top: 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  color: var(--faint);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

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

@media (max-width: 800px) {
  section[id] {
    scroll-margin-top: calc(8.75rem + env(safe-area-inset-top, 0px));
  }

  .header-bar,
  .footer-bar,
  .hero-grid,
  .split,
  .cards {
    display: grid;
    grid-template-columns: 1fr;
  }

  .header-bar {
    padding: 0.5rem 0;
    gap: 0.25rem;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 2.5rem;
  }

  h1 {
    max-width: none;
  }

  .footer-bar {
    padding: 1.25rem 0 1.5rem;
    gap: 0.4rem;
  }
}

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