:root {
  --bg: #f6f4ef;
  --bg-deep: #efeae3;
  --ink: #1b1a22;
  --ink-soft: #3a3f4c;
  --muted: #667083;
  --line: rgba(27, 26, 34, 0.1);
  --purple: #6b4c96;
  --purple-deep: #4c346c;
  --purple-soft: #efe7f7;
  --lilac: #ddd0ee;
  --white: #fffcf8;
  --danger: #9b3454;
  --ok: #1d7a4d;
  --shadow: 0 24px 70px rgba(48, 32, 72, 0.1);
  --radius: 22px;
  --header: 76px;
  --max: 1120px;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(109, 77, 154, 0.16), transparent 60%),
    radial-gradient(700px 380px at -10% 20%, rgba(221, 208, 238, 0.7), transparent 55%),
    var(--bg);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 20;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(246, 244, 239, 0.86);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.logo-mark {
  width: 34px;
  height: 34px;
}

.logo-type {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 16px;
}

.logo-type em {
  font-style: normal;
  color: var(--purple);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
}

.nav a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
.nav a:focus-visible,
.logo:focus-visible,
.faq-item button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 8px 20px rgba(107, 76, 150, 0.24);
}

.btn-primary:hover {
  background: var(--purple-deep);
}

.btn-ghost {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  padding: 0;
  cursor: pointer;
}

.menu-toggle > span,
.menu-toggle > span::before,
.menu-toggle > span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}

.menu-toggle > span::before,
.menu-toggle > span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle > span::before {
  top: -5px;
}

.menu-toggle > span::after {
  top: 5px;
}

.hero {
  padding: 42px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-soft);
  color: var(--purple-deep);
  border-radius: 999px;
  padding: 6px 12px 6px 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 4px rgba(107, 76, 150, 0.15);
}

h1 {
  margin: 18px 0 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
}

h1 span {
  color: var(--purple);
}

.lede {
  margin: 20px 0 0;
  max-width: 520px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

.checks {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.check {
  flex: 0 0 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple-deep);
  display: grid;
  place-items: center;
}

.hero-note {
  margin-top: 28px;
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
}

.hero-note div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.hero-note strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: -0.02em;
}

.card {
  background: var(--white);
  border: 1px solid rgba(27, 26, 34, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-card {
  padding: 26px 26px 22px;
}

.form-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.form-head h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.form-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--ok);
  background: #e8f6ee;
  border-radius: 999px;
  padding: 6px 10px;
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  display: block;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: block;
  margin-bottom: 12px;
}

label span,
.field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
select {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid #e5dfd6;
  background: #fff;
  padding: 0 12px;
  outline: none;
}

input:focus,
select:focus {
  border-color: #c4b0dc;
  box-shadow: 0 0 0 4px rgba(107, 76, 150, 0.12);
}

label.has-error input,
label.has-error select {
  border-color: #e4b3c1;
  background: #fff8f9;
}

.error {
  display: none;
  margin-top: 5px;
  color: var(--danger);
  font-size: 12.5px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.has-error .error {
  display: block;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 14px;
  color: var(--ink-soft);
  font-size: 13.5px;
}

.consent span {
  display: inline;
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--purple);
  flex: none;
}

.btn-full {
  width: 100%;
  height: 52px;
  font-size: 16px;
}

.fine {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

.fine a {
  color: var(--purple-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.success {
  display: none;
  padding: 18px 4px 8px;
}

.success.is-on,
.form-card.is-sent form {
  display: none;
}

.form-card.is-sent .success {
  display: block;
}

.success-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--purple-soft);
  color: var(--purple-deep);
  margin-bottom: 14px;
}

.success h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.success p {
  color: var(--ink-soft);
  margin: 8px 0 0;
}

.providers {
  padding: 10px 0 8px;
}

.providers p {
  margin: 0 0 14px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.provider-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 28px;
  color: #8b93a3;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 18px;
}

.provider-row .more {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  color: #9aa2b0;
}

section[id],
#quote {
  scroll-margin-top: 92px;
}

.section {
  padding: 72px 0;
}

.section h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-lead {
  margin: 12px 0 0;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 17px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.step {
  padding: 24px 22px 22px;
  background: rgba(255, 252, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.step b {
  display: block;
  color: var(--purple);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

.band {
  background: rgba(255, 252, 248, 0.55);
  border-block: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.point {
  padding: 20px 18px 18px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.point h3 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.point p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.lined {
  margin-top: 28px;
}

.lined div {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding: 18px 26px;
  align-items: baseline;
}

.lined div + div {
  border-top: 1px solid var(--line);
}

.lined strong {
  letter-spacing: -0.02em;
}

.lined span {
  color: var(--ink-soft);
}

.faq {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 16.5px;
}

.faq-item button i {
  font-style: normal;
  color: var(--purple);
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
}

.faq-item .answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--ink-soft);
}

.faq-item.is-open .answer {
  display: block;
}

.close {
  padding-bottom: 88px;
}

.close-panel {
  background: var(--ink);
  color: white;
  border-radius: 28px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.close-panel::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -60px;
  top: -120px;
  background: radial-gradient(circle, rgba(167, 132, 214, 0.45), transparent 68%);
}

.close-panel h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.045em;
  max-width: 640px;
  position: relative;
}

.close-panel p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  position: relative;
}

.close-panel .btn {
  position: relative;
  background: white;
  color: var(--ink);
  flex: none;
}

.site-footer {
  padding: 10px 0 36px;
  color: var(--muted);
  font-size: 13.5px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer a {
  color: var(--purple-deep);
}

.mobile-bar {
  display: none;
}

.page {
  padding: 36px 0 80px;
}

.page h1 {
  font-size: clamp(40px, 5vw, 60px);
}

.prose {
  max-width: 680px;
}

.prose p,
.prose li {
  color: var(--ink-soft);
  font-size: 17px;
}

.prose h2 {
  margin: 32px 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .steps,
  .points {
    grid-template-columns: 1fr;
  }

  .nav {
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 22px 22px;
    background: #f6f4ef;
    border-bottom: 1px solid var(--line);
    z-index: 40;
    box-shadow: 0 18px 40px rgba(27, 26, 34, 0.06);
  }

  .nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-cta {
    display: none;
  }

  .nav.is-open .header-cta {
    display: inline-flex;
  }

  .lined div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .close-panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }

  .mobile-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(246, 244, 239, 0.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
    z-index: 25;
  }

  .mobile-bar .btn {
    width: 100%;
  }

  .mobile-bar.is-hidden {
    display: none;
  }

  body {
    padding-bottom: 76px;
  }
}

@media (max-width: 640px) {
  .wrap,
  .header-inner {
    width: min(var(--max), calc(100% - 28px));
  }

  .grid-2,
  .hero-note,
  .footer-inner,
  .form-head {
    display: block;
  }

  .form-head .status {
    margin-top: 10px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-note div + div {
    margin-top: 14px;
    padding-left: 0;
    border-left: 0;
  }

  h1 {
    font-size: 40px;
  }

  .provider-row {
    font-size: 15px;
    gap: 8px 16px;
  }

  .lined div {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
