:root {
  --ink: #1c1a22;
  --muted: #625d67;
  --paper: #fbf7f4;
  --surface: #ffffff;
  --surface-soft: #f4efec;
  --line: #ded7d2;
  --indigo: #5b4be0;
  --indigo-dark: #4033b8;
  --indigo-soft: #e7e3ff;
  --coral: #f4714e;
  --coral-soft: #ffe3da;
  --mint: #0d9c86;
  --mint-soft: #cdf3ec;
  --yellow: #de8a16;
  --shadow-sm: 0 12px 30px rgba(50, 35, 70, 0.08);
  --shadow-lg: 0 28px 70px rgba(50, 35, 70, 0.16);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --max: 1180px;
}

html[data-theme="dark"] {
  --ink: #eee9f2;
  --muted: #c3bdc9;
  --paper: #121118;
  --surface: #1b1923;
  --surface-soft: #25232d;
  --line: #3b3845;
  --indigo: #bcb0ff;
  --indigo-dark: #d8d0ff;
  --indigo-soft: #332d62;
  --coral: #ffb4a0;
  --coral-soft: #593326;
  --mint: #6fe0cb;
  --mint-soft: #174c43;
  --yellow: #f5c173;
  --shadow-sm: 0 12px 30px rgba(0, 0, 0, 0.24);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  transition: background-color 180ms ease, color 180ms ease;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: #1c1a22;
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 820;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-mark {
  width: 39px;
  height: 39px;
  position: relative;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  background: #211e1c url("icon.png") center / cover no-repeat;
  box-shadow: 0 7px 18px rgba(34, 28, 60, 0.24);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-block: 0;
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after {
  display: none;
}

.brand-mark::before {
  left: 7px;
}

.brand-mark::after {
  right: 7px;
}

.brand-text small {
  display: block;
  margin-top: -6px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.nav-links a {
  padding: 9px 13px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 680;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.icon-button,
.menu-button {
  width: 43px;
  height: 43px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.icon-button:hover,
.menu-button:hover {
  border-color: var(--indigo);
}

.menu-button {
  display: none;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  width: 18px;
  height: 2px;
  display: block;
  position: relative;
  background: currentColor;
  border-radius: 3px;
  transition: 180ms ease;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }

.menu-button[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-button[aria-expanded="true"] .menu-lines::before { top: 0; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-lines::after { top: 0; transform: rotate(-45deg); }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  color: #fff;
  background: var(--indigo);
  border: 1px solid var(--indigo);
  border-radius: 999px;
  box-shadow: 0 11px 24px color-mix(in srgb, var(--indigo) 24%, transparent);
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

html[data-theme="dark"] .button {
  color: #21165f;
}

.button:hover {
  background: var(--indigo-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 32px color-mix(in srgb, var(--indigo) 32%, transparent);
}

.button.secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  border-color: var(--indigo);
}

.button.coral {
  color: #fff;
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: 0 11px 24px color-mix(in srgb, var(--coral) 24%, transparent);
}

html[data-theme="dark"] .button.coral { color: #511807; }

.text-link {
  color: var(--indigo);
  font-weight: 760;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--indigo);
  font-size: 0.79rem;
  font-weight: 830;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--coral);
  border-radius: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.05rem, 7vw, 6.6rem);
  font-weight: 880;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.15rem, 4.5vw, 4rem);
  font-weight: 850;
}

h3 {
  margin-bottom: 11px;
  font-size: 1.32rem;
  font-weight: 820;
}

.lede {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 9vw, 138px) 0 100px;
}

.hero::before {
  content: "";
  width: 820px;
  height: 820px;
  position: absolute;
  z-index: -2;
  top: -390px;
  right: -260px;
  background: radial-gradient(circle at 35% 58%, color-mix(in srgb, var(--indigo-soft) 90%, transparent), transparent 63%);
  border-radius: 50%;
}

.hero::after {
  content: "";
  width: 520px;
  height: 520px;
  position: absolute;
  z-index: -2;
  bottom: -330px;
  left: -230px;
  background: radial-gradient(circle, color-mix(in srgb, var(--coral-soft) 85%, transparent), transparent 66%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.78fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}

.hero h1 span {
  position: relative;
  color: var(--indigo);
}

.hero h1 span::after {
  content: "";
  height: 12px;
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 9px;
  left: 0;
  background: var(--coral-soft);
  border-radius: 10px;
  transform: rotate(-1deg);
}

.hero-copy .lede {
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 660;
}

.trust-row span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--mint);
  font-weight: 900;
}

.phone-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.orbit {
  width: 510px;
  height: 510px;
  position: absolute;
  z-index: -1;
  border: 1px dashed color-mix(in srgb, var(--indigo) 26%, transparent);
  border-radius: 50%;
  animation: rotate 36s linear infinite;
}

.orbit::before,
.orbit::after {
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  background: var(--coral);
  border: 6px solid var(--paper);
  border-radius: 50%;
}

.orbit::before { top: 72px; left: 52px; }
.orbit::after { right: 24px; bottom: 128px; background: var(--mint); }

@keyframes rotate { to { transform: rotate(360deg); } }

.phone {
  width: min(100%, 350px);
  padding: 13px;
  background: #17151c;
  border: 2px solid #413d49;
  border-radius: 46px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}

.phone-screen {
  min-height: 610px;
  padding: 29px 22px 20px;
  overflow: hidden;
  color: #1c1a22;
  background: #fbf7f4;
  border-radius: 34px;
}

.phone-notch {
  width: 96px;
  height: 22px;
  margin: -22px auto 30px;
  background: #17151c;
  border-radius: 0 0 15px 15px;
}

.phone-kicker {
  margin-bottom: 3px;
  color: #6a6570;
  font-size: 0.72rem;
  font-weight: 700;
}

.phone-title {
  margin-bottom: 22px;
  font-size: 1.55rem;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.challenge-card {
  padding: 22px;
  background: #e7e3ff;
  border-radius: 25px;
  box-shadow: 0 14px 28px rgba(62, 43, 120, 0.11);
}

.card-labels {
  display: flex;
  gap: 6px;
  margin-bottom: 17px;
}

.mini-pill {
  padding: 5px 9px;
  color: #4033b8;
  background: rgba(255, 255, 255, 0.67);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 780;
}

.challenge-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.challenge-card p {
  margin-bottom: 20px;
  color: #5c5761;
  font-size: 0.82rem;
  line-height: 1.5;
}

.phone-button {
  width: 100%;
  padding: 13px;
  color: #fff;
  background: #5b4be0;
  border: 0;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 780;
}

.phone-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 15px;
}

.phone-stat {
  padding: 16px;
  background: #fff;
  border: 1px solid #ece6e2;
  border-radius: 18px;
}

.phone-stat b {
  display: block;
  color: #f4714e;
  font-size: 1.35rem;
}

.phone-stat span {
  color: #6a6570;
  font-size: 0.67rem;
  font-weight: 650;
}

.phone-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 25px;
  color: #8b858e;
  font-size: 0.65rem;
  font-weight: 700;
}

.phone-nav .active { color: #5b4be0; }

.floating-note {
  position: absolute;
  right: -25px;
  bottom: 56px;
  padding: 13px 17px;
  color: #00382f;
  background: #cdf3ec;
  border: 5px solid var(--paper);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  font-size: 0.83rem;
  font-weight: 780;
  transform: rotate(-4deg);
}

.stat-strip {
  position: relative;
  z-index: 3;
  margin-top: -36px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.stat-item {
  padding: 30px;
  text-align: center;
}

.stat-item + .stat-item {
  border-left: 1px solid var(--line);
}

.stat-item strong {
  display: block;
  color: var(--indigo);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.stat-item span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 670;
}

.section {
  padding: clamp(86px, 11vw, 145px) 0;
}

.section.compact { padding-block: 85px; }

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

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

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.center .eyebrow {
  justify-content: center;
}

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

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

.feature-card,
.category-card,
.info-card {
  position: relative;
  padding: 30px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.feature-card {
  min-height: 280px;
}

.feature-card::after {
  content: attr(data-number);
  position: absolute;
  right: 18px;
  bottom: -25px;
  color: var(--surface-soft);
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
}

.feature-card > * { position: relative; z-index: 1; }

.icon-chip {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--indigo);
  background: var(--indigo-soft);
  border-radius: 17px;
  font-size: 1.35rem;
  font-weight: 850;
}

.icon-chip.coral { color: var(--coral); background: var(--coral-soft); }
.icon-chip.mint { color: var(--mint); background: var(--mint-soft); }

.feature-card p,
.category-card p,
.info-card p {
  color: var(--muted);
}

.category-card {
  min-height: 228px;
  box-shadow: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
}

.category-card:hover {
  border-color: color-mix(in srgb, var(--category, var(--indigo)) 55%, var(--line));
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.category-card .icon-chip {
  color: var(--category, var(--indigo));
  background: color-mix(in srgb, var(--category, var(--indigo)) 13%, var(--surface));
}

.category-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.category-meta b { color: var(--category, var(--indigo)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(55px, 8vw, 115px);
}

.split.reverse > :first-child { order: 2; }

.visual-panel {
  min-height: 520px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 35px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 17%, var(--coral-soft), transparent 28%),
    radial-gradient(circle at 85% 80%, var(--mint-soft), transparent 31%),
    var(--indigo-soft);
  border-radius: var(--radius-lg);
}

.progress-card {
  width: min(100%, 390px);
  padding: 29px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}

.progress-card h3 { font-size: 1.6rem; }

.progress-bars {
  display: flex;
  align-items: flex-end;
  gap: 11px;
  height: 150px;
  margin: 28px 0 16px;
}

.progress-bars span {
  flex: 1;
  height: var(--h);
  position: relative;
  background: color-mix(in srgb, var(--indigo) 80%, var(--mint));
  border-radius: 9px 9px 4px 4px;
}

.progress-bars span:nth-child(2n) { background: var(--coral); }

.progress-days {
  display: flex;
  justify-content: space-around;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.check-list {
  display: grid;
  gap: 17px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 11px;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--mint);
  background: var(--mint-soft);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.quiz-shell {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 55px;
  padding: clamp(35px, 6vw, 72px);
  color: #fff;
  background: #27204f;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.quiz-shell .eyebrow { color: #bcb0ff; }
.quiz-shell .lede { color: #d6d0e3; }

.quiz-card {
  padding: 30px;
  color: #1c1a22;
  background: #fbf7f4;
  border-radius: 25px;
}

.sequence {
  margin: 13px 0 25px;
  color: #4033b8;
  font-size: clamp(2rem, 6vw, 3.7rem);
  font-weight: 880;
  letter-spacing: -0.05em;
  line-height: 1;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.quiz-option {
  padding: 13px;
  color: #29252e;
  background: #fff;
  border: 1px solid #ded7d2;
  border-radius: 12px;
  font-weight: 760;
  cursor: pointer;
}

.quiz-option:hover { border-color: #5b4be0; }
.quiz-option.correct { color: #005447; background: #cdf3ec; border-color: #0d9c86; }
.quiz-option.wrong { color: #6d180d; background: #ffe3da; border-color: #f4714e; }

.quiz-feedback {
  min-height: 29px;
  margin: 16px 0 0;
  color: #5c5761;
  font-size: 0.88rem;
  font-weight: 650;
}

.quote-banner,
.cta-banner {
  position: relative;
  padding: clamp(45px, 8vw, 88px);
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.quote-banner {
  color: #18152c;
  background: var(--mint-soft);
}

.quote-banner blockquote {
  max-width: 850px;
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 3.25rem);
  font-weight: 830;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.quote-banner p {
  margin: 25px 0 0;
  font-weight: 750;
}

html[data-theme="dark"] .quote-banner { color: #e8fff9; }

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #fff;
  background: var(--indigo-dark);
}

.cta-banner::after {
  content: "";
  width: 270px;
  height: 270px;
  position: absolute;
  right: -70px;
  bottom: -130px;
  border: 45px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { max-width: 640px; margin-bottom: 10px; font-size: clamp(2rem, 5vw, 3.7rem); }
.cta-banner p { max-width: 580px; margin: 0; color: #ded9f2; }
.cta-banner .button { color: #3b1965; background: #fff; border-color: #fff; flex: 0 0 auto; }

.page-hero {
  position: relative;
  padding: clamp(80px, 11vw, 145px) 0 clamp(75px, 9vw, 120px);
  overflow: hidden;
  text-align: center;
}

.page-hero::after {
  content: "";
  width: 420px;
  height: 420px;
  position: absolute;
  z-index: -1;
  top: -250px;
  left: calc(50% - 210px);
  background: var(--indigo-soft);
  border-radius: 50%;
  filter: blur(1px);
}

.page-hero h1 {
  max-width: 1000px;
  margin-inline: auto;
  font-size: clamp(3.1rem, 8vw, 6.1rem);
}

.page-hero .lede {
  margin-inline: auto;
}

.page-hero .eyebrow { justify-content: center; }

.breadcrumbs {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.85rem;
}

.breadcrumbs a { color: var(--indigo); font-weight: 700; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  counter-reset: steps;
}

.step {
  position: relative;
  padding-top: 70px;
  counter-increment: steps;
}

.step::before {
  content: "0" counter(steps);
  width: 52px;
  height: 52px;
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  color: var(--indigo);
  background: var(--indigo-soft);
  border-radius: 16px;
  font-weight: 850;
}

.step:not(:last-child)::after {
  content: "";
  height: 1px;
  position: absolute;
  top: 26px;
  right: 15px;
  left: 72px;
  background: var(--line);
}

.formats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.format-pill {
  padding: 9px 14px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 690;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.value-card {
  min-height: 260px;
  padding: clamp(30px, 5vw, 55px);
  background: var(--surface);
}

.value-card b {
  display: block;
  margin-bottom: 22px;
  color: var(--indigo);
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
}

.contact-card {
  padding: clamp(30px, 5vw, 50px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.contact-line {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 14px;
}

.contact-line .icon-chip {
  width: 46px;
  height: 46px;
  margin: 0;
  border-radius: 14px;
  font-size: 1rem;
}

.contact-line span { display: block; color: var(--muted); font-size: 0.78rem; }
.contact-line a { font-weight: 760; }

.faq-list {
  display: grid;
  gap: 13px;
}

.faq-item {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 22px;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 780;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  color: var(--indigo);
  font-size: 1.45rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.faq-question[aria-expanded="true"]::after { transform: rotate(45deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer > div { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 22px 22px; color: var(--muted); }
.faq-question[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; }

.legal-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  align-items: start;
  gap: 60px;
}

.legal-nav {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 7px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.legal-nav strong {
  margin: 3px 10px 8px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-nav a {
  padding: 8px 10px;
  color: var(--muted);
  border-radius: 9px;
  font-size: 0.87rem;
}

.legal-nav a:hover { color: var(--ink); background: var(--surface-soft); }

.legal-content {
  max-width: 760px;
}

.legal-content section {
  padding-block: 25px;
  scroll-margin-top: 105px;
}

.legal-content section + section { border-top: 1px solid var(--line); }
.legal-content h2 { font-size: 1.65rem; letter-spacing: -0.03em; }
.legal-content p,
.legal-content li { color: var(--muted); }
.legal-content a { color: var(--indigo); font-weight: 720; text-decoration: underline; text-underline-offset: 3px; }
.legal-content address { font-style: normal; color: var(--muted); }

.notice {
  padding: 20px 22px;
  color: var(--muted);
  background: var(--indigo-soft);
  border-left: 4px solid var(--indigo);
  border-radius: 0 14px 14px 0;
}

.site-footer {
  padding: 74px 0 28px;
  color: #d6d0dd;
  background: #191720;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 45px;
  padding-bottom: 55px;
}

.footer-brand .brand { color: #fff; }
.footer-brand .brand-text small { color: #9d96a3; }
.footer-brand p { max-width: 340px; margin: 22px 0; color: #aaa3af; }

.footer-column h3 {
  margin-bottom: 17px;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin: 9px 0;
  color: #aaa3af;
  font-size: 0.9rem;
}

.footer-column a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  color: #8c8592;
  border-top: 1px solid #34303a;
  font-size: 0.8rem;
}

.footer-bottom a { color: #bbb4c0; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 80px 0;
  text-align: center;
}

.error-code {
  margin-bottom: 0;
  color: var(--indigo);
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.1em;
}

@media (max-width: 980px) {
  .nav-links {
    height: calc(100vh - 78px);
    position: fixed;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding: 24px 20px;
    background: var(--paper);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 15px 18px; font-size: 1.08rem; }
  .menu-button { display: inline-grid; }
  .nav-actions .button { display: none; }
  .hero-grid,
  .split,
  .quiz-shell,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin-inline: auto; }
  .hero-actions,
  .trust-row { justify-content: center; }
  .phone-wrap { margin-top: 20px; }
  .split.reverse > :first-child { order: initial; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .legal-layout { grid-template-columns: 1fr; gap: 25px; }
  .legal-nav { position: static; grid-template-columns: repeat(3, 1fr); }
  .legal-nav strong { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container,
  .narrow { width: min(calc(100% - 28px), var(--max)); }
  .brand-text { font-size: 0.88rem; }
  .brand-mark { width: 36px; height: 36px; }
  .hero { padding-top: 65px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .orbit { width: 410px; height: 410px; }
  .floating-note { right: -3px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--line); }
  .grid-3,
  .grid-2,
  .steps,
  .values-grid { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .visual-panel { min-height: 430px; padding: 20px; }
  .quiz-shell { gap: 30px; }
  .cta-banner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .legal-nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 470px) {
  h1 { font-size: 2.8rem; }
  .nav-wrap { min-height: 70px; }
  .nav-links { top: 70px; height: calc(100vh - 70px); }
  .brand-text small { display: none; }
  .icon-button,
  .menu-button { width: 39px; height: 39px; }
  .phone { width: 310px; }
  .phone-screen { min-height: 570px; }
  .floating-note { display: none; }
  .stat-item { padding: 24px 15px; }
  .feature-card,
  .category-card,
  .info-card { padding: 24px; }
  .quiz-options { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal-nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header,
  .site-footer,
  .legal-nav,
  .button { display: none !important; }
  body { color: #111; background: #fff; }
  .page-hero { padding: 30px 0; text-align: left; }
  .page-hero h1 { margin-inline: 0; font-size: 3rem; }
  .page-hero .lede { margin-inline: 0; }
  .legal-layout { display: block; }
}
