:root {
  color-scheme: light;
  --ink: #17151f;
  --muted: #655f70;
  --line: #ded9e6;
  --surface: #ffffff;
  --soft: #f6f3f9;
  --violet: #6a48e8;
  --violet-dark: #4f2fc7;
  --violet-soft: #eee9ff;
  --mint: #dff7ed;
  --green: #167455;
  --warning: #fff5d6;
  --shadow: 0 18px 60px rgba(35, 25, 62, 0.11);
  --radius: 20px;
  --shell: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #9b82ff;
  outline-offset: 3px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(222, 217, 230, 0.8);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #7959f3, #5737d1);
  box-shadow: 0 7px 17px rgba(106, 72, 232, 0.27);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.brand-mark circle {
  fill: currentColor;
  stroke: none;
}

.primary-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 26px;
}

.primary-nav a {
  color: #494350;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--violet-dark);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 11px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 8px 18px rgba(23, 21, 31, 0.16);
  text-decoration: none;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #2a2634;
}

.button-small {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 105px 0 100px;
  background:
    radial-gradient(circle at 82% 20%, rgba(106, 72, 232, 0.16), transparent 31%),
    radial-gradient(circle at 10% 82%, rgba(55, 189, 145, 0.09), transparent 26%),
    linear-gradient(180deg, #fbfaff, #fff);
}

.hero::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(106, 72, 232, 0.12);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  gap: 78px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #28b983;
  box-shadow: 0 0 0 4px #dff7ed;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6.2vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-lede {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.23rem);
  line-height: 1.68;
}

.button-row {
  display: flex;
  margin-top: 32px;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.text-link {
  color: var(--violet-dark);
  text-decoration: none;
  font-weight: 750;
}

.text-link:hover {
  text-decoration: underline;
}

.hero-facts {
  display: flex;
  margin: 34px 0 0;
  padding: 0;
  color: #57505e;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.86rem;
  list-style: none;
}

.hero-facts li::before {
  margin-right: 8px;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.journey-card {
  position: relative;
  border: 1px solid #e3deeb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(41, 29, 77, 0.17);
  transform: rotate(1deg);
}

.journey-card::before {
  position: absolute;
  z-index: -1;
  inset: -22px 24px 24px -22px;
  border-radius: 28px;
  background: var(--violet-soft);
  content: "";
}

.journey-card-header,
.journey-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.journey-card-header {
  padding: 23px 24px 19px;
  border-bottom: 1px solid #ece8f0;
}

.journey-card-header strong,
.journey-card-header span {
  display: block;
}

.micro-label {
  margin-bottom: 5px;
  color: #7c7483;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.health-badge {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--green);
  background: var(--mint);
  font-size: 0.72rem;
  font-weight: 800;
}

.journey-list {
  margin: 0;
  padding: 12px 24px;
  list-style: none;
}

.journey-list li {
  display: grid;
  padding: 14px 0;
  align-items: center;
  border-bottom: 1px solid #f0edf2;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
}

.journey-list li:last-child {
  border-bottom: 0;
}

.journey-list strong,
.journey-list div span {
  display: block;
}

.journey-list strong {
  font-size: 0.87rem;
}

.journey-list div span,
.journey-list time {
  color: #807887;
  font-size: 0.73rem;
}

.step-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
}

.step-pass {
  color: var(--green);
  background: var(--mint);
}

.journey-footer {
  padding: 15px 24px;
  border-top: 1px solid #ece8f0;
  color: #6b6471;
  background: #faf9fb;
  border-radius: 0 0 24px 24px;
  font-size: 0.72rem;
}

.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #30b985;
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: #fff;
}

.trust-grid {
  display: grid;
  min-height: 88px;
  align-items: center;
  color: #5d5663;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 24px;
  font-size: 0.83rem;
}

.trust-grid strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.trust-grid code,
.legal-card code,
.faq-grid code {
  padding: 0.12em 0.35em;
  border-radius: 5px;
  color: #4e35a8;
  background: #f0ecff;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.88em;
}

.section {
  padding-block: 112px;
  scroll-margin-top: 76px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 55px;
}

.section-heading.narrow {
  max-width: 640px;
}

.section-heading h2,
.split-section h2,
.pricing-copy h2,
.closing-inner h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.5vw, 3.7rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.section-heading > p:last-child {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  min-height: 245px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 7px 26px rgba(30, 20, 48, 0.045);
}

.feature-number {
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.feature-card h3,
.process-grid h3,
.faq-grid h3 {
  margin: 28px 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.feature-card p,
.process-grid p,
.faq-grid p {
  margin: 0;
  color: var(--muted);
}

.section-tint {
  background: var(--soft);
}

.process-grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  list-style: none;
}

.process-grid li {
  position: relative;
  padding-top: 25px;
  border-top: 1px solid #cac2d3;
}

.process-grid li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--violet);
  font-weight: 800;
}

.process-grid h3 {
  margin-top: 26px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.prose-panel {
  padding-left: 30px;
  border-left: 3px solid var(--violet);
  color: var(--muted);
  font-size: 1.07rem;
}

.prose-panel p:first-child {
  margin-top: 0;
}

.prose-panel p:last-child {
  margin-bottom: 0;
}

.section-dark {
  color: #fff;
  background: #17151f;
}

.section-dark .eyebrow {
  color: #bdaeff;
}

.pricing-layout {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 460px;
  gap: 100px;
}

.pricing-copy > p:last-child {
  max-width: 590px;
  margin-top: 24px;
  color: #c8c2d1;
  font-size: 1.08rem;
}

.price-card {
  padding: 34px;
  border: 1px solid #39343f;
  border-radius: 22px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.price-label {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
}

.price {
  display: flex;
  margin: 12px 0 3px;
  align-items: baseline;
  gap: 10px;
}

.price strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.4rem;
  letter-spacing: -0.05em;
}

.price span,
.price-note,
.fine-print {
  color: var(--muted);
}

.price-note {
  margin: 0;
  font-size: 0.84rem;
}

.price-card ul {
  margin: 27px 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.price-card li {
  margin: 11px 0;
}

.price-card li::before {
  margin-right: 9px;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.button-full {
  display: flex;
  width: 100%;
}

.fine-print {
  margin: 16px 0 0;
  font-size: 0.73rem;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
}

.faq-grid article {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.faq-grid h3 {
  margin-top: 0;
}

.closing-cta {
  padding-block: 72px;
  color: #fff;
  background: var(--violet-dark);
}

.closing-cta .eyebrow {
  color: #d7ceff;
}

.closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.closing-inner h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.button-light {
  flex: 0 0 auto;
  border-color: #fff;
  color: var(--ink);
  background: #fff;
}

.button-light:hover {
  background: #f2eff8;
}

.site-footer {
  padding: 70px 0 24px;
  color: #d1cbd8;
  background: #100f15;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 54px;
}

.footer-brand {
  color: #fff;
}

.footer-summary {
  max-width: 260px;
  color: #9991a2;
}

.footer-grid h2 {
  margin: 5px 0 16px;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid > div > a:not(.brand) {
  display: block;
  margin: 10px 0;
  color: #aaa3b2;
  text-decoration: none;
  font-size: 0.86rem;
}

.footer-grid > div > a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  margin-top: 60px;
  padding-top: 22px;
  justify-content: space-between;
  border-top: 1px solid #2c2931;
  color: #847e8b;
  font-size: 0.76rem;
}

.legal-main {
  min-height: 70vh;
  background: linear-gradient(180deg, #f8f6fb 0, #fff 420px);
}

.legal-hero {
  padding: 85px 0 48px;
}

.legal-hero h1,
.not-found h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.legal-lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.effective-date {
  margin: 22px 0 0;
  color: #776f7e;
  font-size: 0.82rem;
}

.legal-layout {
  display: grid;
  padding-bottom: 110px;
  align-items: start;
  grid-template-columns: minmax(0, 820px) 230px;
  gap: 55px;
}

.legal-card {
  padding: 24px 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 45px rgba(35, 25, 62, 0.07);
}

.legal-card section {
  padding-block: 32px;
  border-bottom: 1px solid #ebe7ee;
}

.legal-card section:last-child {
  border-bottom: 0;
}

.legal-card h2 {
  margin: 0 0 14px;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
}

.legal-card p,
.legal-card li {
  color: #56505d;
}

.legal-card p:last-child,
.legal-card ul:last-child,
.legal-card ol:last-child {
  margin-bottom: 0;
}

.legal-card li + li {
  margin-top: 8px;
}

.legal-card a {
  color: var(--violet-dark);
}

.legal-callout {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--violet);
  border-radius: 8px;
  color: #4d4558;
  background: var(--violet-soft);
}

.legal-callout.warning {
  border-left-color: #ca8c00;
  background: var(--warning);
}

.legal-aside {
  position: sticky;
  top: 105px;
  padding: 22px;
  border-left: 1px solid var(--line);
}

.legal-aside h2 {
  margin: 0 0 16px;
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-aside a {
  display: block;
  margin: 12px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
}

.legal-aside a:hover {
  color: var(--violet-dark);
  text-decoration: underline;
}

.contact-list {
  overflow: hidden;
  margin: 25px 0 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.contact-list > div {
  display: grid;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 180px 1fr;
}

.contact-list > div:last-child {
  border-bottom: 0;
}

.contact-list dt {
  font-weight: 750;
}

.contact-list dd {
  margin: 0;
}

.not-found {
  min-height: 68vh;
  padding-block: 130px;
}

.not-found > p:not(.eyebrow) {
  max-width: 550px;
  color: var(--muted);
  font-size: 1.12rem;
}

@media (max-width: 980px) {
  .header-inner {
    padding-block: 13px;
    flex-wrap: wrap;
  }

  .primary-nav {
    display: flex;
    width: 100%;
    margin-left: 0;
    padding: 2px 0 3px;
    order: 3;
    overflow-x: auto;
    gap: 22px;
    scrollbar-width: thin;
  }

  .header-inner > .button {
    margin-left: auto;
  }

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

  .hero-grid {
    gap: 70px;
  }

  .journey-card {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .trust-grid {
    padding-block: 24px;
    grid-template-columns: 1fr 1fr;
  }

  .split-section {
    gap: 50px;
  }

  .pricing-layout {
    gap: 55px;
  }

  .price-card {
    width: min(100%, 530px);
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: 2;
  }

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

  .legal-aside {
    position: static;
    display: flex;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
    flex-wrap: wrap;
    gap: 10px 22px;
  }

  .legal-aside h2 {
    width: 100%;
  }

  .legal-aside a {
    margin: 0;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 68px;
  }

  .header-inner > .button {
    display: none;
  }

  .hero {
    padding: 74px 0 75px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.3rem);
  }

  .journey-card {
    transform: none;
  }

  .journey-card::before {
    inset: -12px 12px 12px -12px;
  }

  .trust-grid,
  .feature-grid,
  .process-grid,
  .split-section,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    gap: 12px;
  }

  .section {
    padding-block: 78px;
  }

  .feature-card {
    min-height: 0;
  }

  .process-grid {
    gap: 40px;
  }

  .prose-panel {
    padding-left: 22px;
  }

  .closing-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .legal-hero {
    padding-top: 65px;
  }

  .legal-card {
    padding: 15px 22px;
  }

  .contact-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .legal-aside,
  .button-row {
    display: none;
  }

  .legal-main {
    background: #fff;
  }

  .legal-hero {
    padding: 20px 0;
  }

  .legal-layout {
    display: block;
    padding: 0;
  }

  .legal-card {
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
