@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  color-scheme: light;
  --bg: 220 45% 97%;
  --bg-2: 221 39% 95%;
  --surface: 0 0% 100%;
  --surface-2: 220 36% 98%;
  --surface-3: 214 100% 99%;
  --line: 220 24% 88%;
  --text: 220 34% 10%;
  --text-2: 220 14% 28%;
  --text-3: 220 10% 44%;
  --brand: 193 94% 42%;
  --brand-2: 188 100% 56%;
  --brand-3: 202 92% 36%;
  --cta: 28 96% 52%;
  --cta-2: 18 100% 52%;
  --hero: 227 38% 11%;
  --hero-2: 225 34% 16%;
  --hero-line: 218 24% 30%;
  --hero-text: 210 40% 98%;
  --hero-muted: 215 20% 76%;
  --shadow-sm: 0 1px 2px hsl(220 40% 2% / 0.04), 0 14px 30px hsl(220 40% 2% / 0.08);
  --shadow-md: 0 18px 45px hsl(220 40% 2% / 0.12);
  --shadow-lg: 0 34px 82px hsl(220 40% 2% / 0.2);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: 225 32% 7%;
    --bg-2: 225 28% 10%;
    --surface: 225 24% 13%;
    --surface-2: 225 22% 16%;
    --surface-3: 225 22% 19%;
    --line: 224 18% 24%;
    --text: 210 40% 98%;
    --text-2: 215 20% 84%;
    --text-3: 215 15% 68%;
    --shadow-sm: 0 1px 2px hsl(220 40% 2% / 0.24), 0 14px 30px hsl(220 40% 2% / 0.3);
    --shadow-md: 0 18px 45px hsl(220 40% 2% / 0.4);
    --shadow-lg: 0 34px 82px hsl(220 40% 2% / 0.48);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: 'Manrope', sans-serif;
  line-height: 1.65;
  color: hsl(var(--text));
  background:
    radial-gradient(1200px 650px at 10% -10%, hsl(var(--brand) / 0.18), transparent 56%),
    radial-gradient(900px 520px at 88% 2%, hsl(var(--cta) / 0.1), transparent 50%),
    radial-gradient(700px 500px at 50% 115%, hsl(var(--brand-2) / 0.08), transparent 52%),
    linear-gradient(180deg, hsl(var(--bg)) 0%, hsl(var(--bg-2)) 100%);
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(hsl(var(--line) / 0.28) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--line) / 0.28) 1px, transparent 1px),
    radial-gradient(circle at 20% 20%, hsl(var(--brand) / 0.06), transparent 24%),
    radial-gradient(circle at 80% 12%, hsl(var(--cta) / 0.05), transparent 22%);
  background-size: 28px 28px, 28px 28px, auto, auto;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 58%);
  opacity: 0.42;
}

::selection {
  background: hsl(var(--brand) / 0.18);
  color: hsl(var(--text));
}

h1,
h2,
h3 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.03;
  letter-spacing: -0.05em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

a,
button,
summary,
input,
select,
textarea {
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

a:hover,
button:hover,
summary:hover {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid hsl(var(--brand) / 0.34);
  outline-offset: 3px;
}

header {
  position: sticky;
  top: 16px;
  z-index: 50;
  width: min(calc(100% - 24px), var(--container));
  margin: 16px auto 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: hsl(var(--surface) / 0.74);
  border: 1px solid hsl(var(--line) / 0.88);
  border-radius: 28px;
  backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: 0 22px 58px hsl(220 40% 2% / 0.12);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: hsl(var(--text));
  white-space: nowrap;
}

.logo-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, hsl(var(--brand)), hsl(var(--brand-2)));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 24px hsl(var(--brand) / 0.24);
  flex: none;
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: hsl(var(--text-3));
  font-size: 0.9rem;
  font-weight: 700;
}

.nav a:hover {
  background: hsl(var(--surface-2));
  color: hsl(var(--text));
  transform: translateY(-1px);
}

.nav a.active {
  background: hsl(var(--surface-2));
  color: hsl(var(--text));
  box-shadow: var(--shadow-sm);
}

main {
  display: grid;
  gap: 24px;
  padding-bottom: 32px;
}

.hero {
  width: min(calc(100% - 24px), var(--container));
  margin: 20px auto 0;
  padding: clamp(34px, 5vw, 76px);
  display: block;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(1100px 680px at 18% -10%, hsl(var(--brand) / 0.22), transparent 44%),
    radial-gradient(900px 540px at 96% 8%, hsl(var(--cta) / 0.14), transparent 42%),
    linear-gradient(145deg, hsl(var(--hero)) 0%, hsl(var(--hero-2)) 100%);
  color: hsl(var(--hero-text));
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid hsl(0 0% 100% / 0.06);
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: auto;
  pointer-events: none;
  border-radius: 999px;
}

.hero::before {
  width: 620px;
  height: 620px;
  top: -310px;
  right: -210px;
  background: radial-gradient(circle, hsl(var(--brand) / 0.3), transparent 70%);
}

.hero::after {
  width: 460px;
  height: 460px;
  left: -210px;
  bottom: -220px;
  background: radial-gradient(circle, hsl(var(--cta) / 0.16), transparent 72%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.hero-preview {
  position: relative;
  align-self: stretch;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: hsl(var(--surface) / 0.12);
  color: hsl(var(--hero-text));
  border: 1px solid hsl(0 0% 100% / 0.12);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.45rem, 4vw, 4rem);
  color: #fff;
  text-wrap: balance;
}

.hero p {
  max-width: 38rem;
  font-size: 1rem;
  color: hsl(var(--hero-muted));
}

.hero-copy p,
.hero-copy .hero-note {
  margin: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  padding: 16px 16px 18px;
  border-radius: 20px;
  background: hsl(var(--surface) / 0.08);
  border: 1px solid hsl(0 0% 100% / 0.1);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.06);
}

.metric-card span {
  display: block;
  margin-bottom: 8px;
  color: hsl(var(--hero-muted));
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'IBM Plex Mono', monospace;
}

.metric-card strong {
  display: block;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.cta-primary,
.cta-secondary,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font: inherit;
  font-weight: 700;
  border: 1px solid transparent;
}

.cta-primary,
.form-submit {
  padding: 15px 24px;
  background: linear-gradient(135deg, hsl(var(--cta)), hsl(var(--cta-2)));
  color: #fff;
  box-shadow: 0 18px 34px hsl(var(--cta) / 0.24);
}

.cta-primary:hover,
.form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px hsl(var(--cta) / 0.28);
}

.cta-secondary {
  padding: 15px 24px;
  background: hsl(0 0% 100% / 0.08);
  color: #fff;
  border-color: hsl(0 0% 100% / 0.14);
  backdrop-filter: blur(12px);
}

.cta-secondary:hover {
  background: hsl(0 0% 100% / 0.13);
  transform: translateY(-1px);
}

.hero-note {
  padding-left: 16px;
  border-left: 2px solid hsl(var(--brand) / 0.55);
  color: hsl(var(--hero-muted));
}

.section-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.section-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: hsl(var(--surface));
  color: hsl(var(--text-2));
  border: 1px solid hsl(var(--line) / 0.95);
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.section-nav a:hover {
  transform: translateY(-1px);
  color: hsl(var(--text));
}

.hero .section-nav a {
  background: hsl(var(--surface) / 0.08);
  color: #eef6ff;
  border-color: hsl(0 0% 100% / 0.09);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.hero .section-nav a:hover {
  background: hsl(var(--surface) / 0.14);
  color: #fff;
}

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: hsl(var(--surface));
  color: hsl(var(--text-2));
  border: 1px solid hsl(var(--line) / 0.95);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.hero .badge {
  background: hsl(var(--surface) / 0.08);
  color: #f4faff;
  border-color: hsl(0 0% 100% / 0.08);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.preview-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0%, hsl(var(--brand) / 0.12), transparent 25%),
    linear-gradient(180deg, hsl(var(--surface) / 0.98), hsl(var(--surface-2) / 0.92));
  border: 1px solid hsl(var(--line) / 0.82);
  box-shadow: 0 26px 68px hsl(220 40% 2% / 0.16);
  color: hsl(var(--text));
}

.preview-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 100% 0%, hsl(var(--brand) / 0.16), transparent 28%),
    radial-gradient(circle at 16% 0%, hsl(var(--cta) / 0.12), transparent 26%),
    linear-gradient(180deg, hsl(0 0% 100% / 0.28), transparent 18%);
}

.preview-top,
.preview-list {
  position: relative;
  z-index: 1;
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.preview-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--text));
}

.preview-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: hsl(var(--brand) / 0.12);
  color: hsl(var(--brand-3));
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-list {
  display: grid;
  gap: 12px;
}

.preview-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: hsl(var(--surface) / 0.88);
  border: 1px solid hsl(var(--line) / 0.82);
  box-shadow: var(--shadow-sm);
}

.preview-item strong {
  display: block;
  margin-bottom: 4px;
  color: hsl(var(--text));
  font-size: 1rem;
}

.preview-item span {
  color: hsl(var(--text-3));
  font-size: 0.9rem;
}

.preview-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.preview-status.neutral {
  background: hsl(216 100% 95%);
  color: hsl(224 84% 56%);
}

.preview-status.warn {
  background: hsl(28 100% 95%);
  color: hsl(24 92% 45%);
}

.preview-status.success {
  background: hsl(152 60% 94%);
  color: hsl(160 84% 30%);
}

.preview-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

.preview-footer > div {
  padding: 14px 14px 15px;
  border-radius: 18px;
  background: hsl(var(--surface) / 0.84);
  border: 1px solid hsl(var(--line) / 0.82);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.preview-footer span {
  display: block;
  margin-bottom: 4px;
  color: hsl(var(--text-3));
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: 'IBM Plex Mono', monospace;
}

.preview-footer strong {
  color: hsl(var(--text));
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
}

section:not(.hero):not(.form-section) {
  width: min(calc(100% - 24px), var(--container));
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px);
  border-radius: 30px;
  border: 1px solid hsl(var(--line) / 0.84);
  background:
    linear-gradient(180deg, hsl(var(--surface) / 0.9), hsl(var(--surface-2) / 0.72)),
    hsl(var(--surface) / 0.72);
  box-shadow: 0 18px 48px hsl(220 40% 2% / 0.06);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  scroll-margin-top: 128px;
}

section:not(.hero):not(.form-section)::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 100% 0%, hsl(var(--brand) / 0.07), transparent 30%);
}

section:not(.hero):not(.form-section) > * {
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
  display: grid;
  gap: 10px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: center;
  width: fit-content;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--brand-3));
}

.kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, hsl(var(--brand)), hsl(var(--cta)));
}

.section-head h2 {
  font-size: clamp(1.95rem, 3vw, 3.1rem);
  color: hsl(var(--text));
  text-wrap: balance;
}

.section-head p {
  font-size: 1.02rem;
  color: hsl(var(--text-3));
}

.definition {
  padding: clamp(24px, 4vw, 34px);
  border-radius: 24px;
  background: linear-gradient(135deg, hsl(var(--brand) / 0.08), hsl(var(--cta) / 0.1));
  border: 1px solid hsl(var(--brand) / 0.15);
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.65), var(--shadow-sm);
}

.definition p {
  max-width: 58rem;
  margin: 0 auto;
  color: hsl(var(--text-2));
  font-size: 1.08rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card,
.compare {
  background: linear-gradient(180deg, hsl(var(--surface) / 0.98), hsl(var(--surface-2) / 0.9));
  border: 1px solid hsl(var(--line) / 0.9);
  box-shadow: var(--shadow-sm);
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 24px;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, hsl(var(--brand)), hsl(var(--cta)));
}

.card h2,
.card h3 {
  color: hsl(var(--text));
  margin-bottom: 10px;
}

.card h2 {
  font-size: 1.35rem;
}

.card h3 {
  font-size: 1.18rem;
}

.card p,
.card li,
.card span {
  color: hsl(var(--text-3));
  font-size: 0.98rem;
}

.card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.card li {
  position: relative;
  padding-left: 18px;
}

.card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, hsl(var(--brand)), hsl(var(--cta)));
  transform: translateY(-50%);
}

.note {
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, hsl(var(--brand) / 0.1), hsl(var(--surface) / 0.98));
  border: 1px solid hsl(var(--brand) / 0.2);
  color: hsl(var(--text));
  box-shadow: var(--shadow-sm);
}

.hero .note {
  background: hsl(var(--surface) / 0.1);
  border-color: hsl(0 0% 100% / 0.14);
  color: hsl(var(--hero-text));
  backdrop-filter: blur(12px);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, hsl(var(--cta)), hsl(var(--cta-2)));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 18px 34px hsl(var(--cta) / 0.2);
}

.cta:hover {
  transform: translateY(-1px);
}

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 22px;
  overflow: hidden;
}

.compare th,
.compare td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid hsl(var(--line) / 0.8);
}

.compare th {
  background: linear-gradient(135deg, hsl(var(--brand) / 0.08), hsl(var(--cta) / 0.08));
  color: hsl(var(--text));
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
}

.compare td {
  color: hsl(var(--text-2));
  font-size: 0.96rem;
}

.compare tr:last-child td {
  border-bottom: none;
}

.compare td:first-child {
  font-weight: 700;
  color: hsl(var(--text));
}

.card-grid,
.steps,
.faq-list {
  display: grid;
  gap: 18px;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.info-card,
.step,
.faq-item,
.form-card {
  background: linear-gradient(180deg, hsl(var(--surface) / 0.98), hsl(var(--surface-2) / 0.92));
  border: 1px solid hsl(var(--line) / 0.86);
  box-shadow: var(--shadow-sm);
}

.info-card,
.step {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px;
}

.info-card::before,
.step::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, hsl(var(--brand)), hsl(var(--cta)));
}

.info-card:hover,
.step:hover,
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px hsl(220 40% 2% / 0.11);
}

.info-card h3,
.step h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  color: hsl(var(--text));
  margin-bottom: 10px;
}

.info-card h3::before,
.step h3::before {
  content: '';
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, hsl(var(--brand)), hsl(var(--cta)));
  box-shadow: 0 0 0 6px hsl(var(--brand) / 0.08);
  flex: none;
}

.info-card p,
.step p {
  color: hsl(var(--text-3));
  font-size: 0.98rem;
}

.steps {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.steps .step {
  display: grid;
  gap: 10px;
}

.steps .step strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  color: hsl(var(--text));
}

.steps .step span {
  color: hsl(var(--text-3));
  font-size: 0.98rem;
}

.step-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--brand)), hsl(var(--brand-2)));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 26px hsl(var(--brand) / 0.22);
}

.faq-list {
  gap: 14px;
}

.faq-item {
  border-radius: 20px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  color: hsl(var(--text));
  font-size: 1rem;
  font-weight: 700;
}

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

.faq-item summary::after {
  content: '+';
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: hsl(var(--brand) / 0.1);
  color: hsl(var(--brand-3));
  font-size: 1.1rem;
  font-weight: 700;
  flex: none;
}

.faq-item[open] summary {
  border-bottom: 1px solid hsl(var(--line) / 0.8);
}

.faq-item[open] summary::after {
  content: '–';
}

.faq-item p {
  padding: 0 22px 22px;
  color: hsl(var(--text-3));
}

.form-section {
  width: min(calc(100% - 24px), 860px);
  margin: 0 auto;
  padding: 0 0 12px;
  scroll-margin-top: 128px;
}

.form-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: clamp(28px, 4vw, 46px);
  box-shadow: 0 30px 74px hsl(220 40% 2% / 0.14);
}

.form-card::before {
  content: '';
  position: absolute;
  inset: auto -80px -80px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, hsl(var(--brand) / 0.12), transparent 68%);
  pointer-events: none;
}

.form-card h2 {
  text-align: center;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  color: hsl(var(--text));
}

.form-card > p {
  max-width: 46rem;
  margin: 10px auto 0;
  text-align: center;
  color: hsl(var(--text-3));
  font-size: 1.02rem;
}

.form-card form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin-top: 26px;
  position: relative;
  z-index: 1;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group:nth-of-type(3) {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: hsl(var(--text-2));
}

.form-group input {
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid hsl(var(--line) / 0.95);
  background: hsl(var(--surface));
  color: hsl(var(--text));
  font: inherit;
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.8);
}

.form-group input::placeholder {
  color: hsl(var(--text-3));
}

.form-group input:focus {
  outline: none;
  border-color: hsl(var(--brand) / 0.65);
  box-shadow: 0 0 0 4px hsl(var(--brand) / 0.1);
}

.form-submit {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
  border: none;
}

.form-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.waitlist-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.waitlist-status.success {
  background: hsl(152 60% 94%);
  color: hsl(160 84% 28%);
  border-color: hsl(142 60% 80%);
}

.waitlist-status.error {
  background: hsl(0 100% 97%);
  color: hsl(0 74% 42%);
  border-color: hsl(0 80% 88%);
}

footer {
  width: min(calc(100% - 24px), var(--container));
  margin: 0 auto 18px;
  padding: 18px 0 8px;
  text-align: center;
  color: hsl(var(--text-3));
  font-size: 0.92rem;
}

.footer-links {
  margin-top: 10px;
  font-size: 0.88rem;
}

.footer-links a {
  color: hsl(var(--text-2));
  font-weight: 700;
}

.footer-links a:hover {
  color: hsl(var(--brand-3));
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero,
.preview-card,
.section:not(.hero):not(.form-section),
.form-card,
.info-card,
.step,
.faq-item {
  animation: rise 600ms ease-out both;
}

@media (max-width: 960px) {
  header {
    width: min(calc(100% - 16px), var(--container));
    padding: 12px 14px;
    border-radius: 24px;
    top: 8px;
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .nav a {
    width: 100%;
    padding: 6px 6px;
    font-size: 0.68rem;
    text-align: center;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    width: min(calc(100% - 16px), var(--container));
    padding: 22px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2rem, 7.2vw, 3rem);
  }

  .hero-metrics,
  .preview-footer {
    grid-template-columns: 1fr;
  }

  .section:not(.hero):not(.form-section),
  .form-section {
    width: min(calc(100% - 16px), var(--container));
  }

  .section:not(.hero):not(.form-section) {
    padding: 28px 18px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .form-card form {
    grid-template-columns: 1fr;
  }

  .form-group:nth-of-type(3),
  .form-submit {
    grid-column: auto;
  }

  .preview-top,
  .preview-item,
  .hero-actions,
  .section-nav,
  .badge-row {
    align-items: flex-start;
  }

  .preview-top,
  .preview-item {
    flex-direction: column;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero,
  .preview-card,
  .section:not(.hero):not(.form-section),
  .form-card,
  .info-card,
  .step,
  .faq-item {
    animation: none;
  }
}

@media (max-width: 640px) {
  .hero {
    border-radius: 24px;
  }

  .hero-copy {
    gap: 16px;
  }

  .hero-metrics {
    gap: 10px;
  }

  .metric-card,
  .preview-footer > div {
    padding: 14px;
  }

  .brand-chip,
  .badge,
  .section-nav a {
    width: 100%;
    justify-content: center;
  }

  .preview-card,
  .form-card,
  .info-card,
  .step,
  .faq-item summary,
  .faq-item p,
  .definition {
    border-radius: 18px;
  }

  .preview-footer {
    gap: 8px;
  }

  .section:not(.hero):not(.form-section) {
    border-radius: 18px;
  }

  .info-card,
  .step {
    padding: 20px;
  }

  .faq-item summary,
  .faq-item p {
    padding-left: 18px;
    padding-right: 18px;
  }

  .form-card {
    padding: 24px 18px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
