:root {
  --ink: #21172b;
  --muted: #6f6475;
  --cream: #fbf7ef;
  --paper: #fffdf8;
  --plum: #68356f;
  --plum-dark: #47204f;
  --lavender: #e8d9eb;
  --coral: #ef745f;
  --mint: #b8dbc8;
  --line: rgba(33, 23, 43, 0.14);
  --shadow: 0 24px 70px rgba(71, 32, 79, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid transparent;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--plum);
  border-radius: 12px;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  box-shadow: 0 8px 20px rgba(104, 53, 111, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--plum);
}

.button {
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--plum);
  box-shadow: 0 12px 28px rgba(104, 53, 111, 0.24);
}

.button-primary:hover {
  background: var(--plum-dark);
  box-shadow: 0 16px 34px rgba(104, 53, 111, 0.28);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.46);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 110px;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.hero::before {
  width: 380px;
  height: 380px;
  top: -170px;
  right: -80px;
  background: rgba(232, 217, 235, 0.75);
}

.hero::after {
  width: 220px;
  height: 220px;
  bottom: -110px;
  left: -75px;
  background: rgba(184, 219, 200, 0.55);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 72px;
}

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

.eyebrow::before {
  width: 26px;
  height: 2px;
  content: "";
  background: var(--coral);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 6.4vw, 6.2rem);
}

h1 em {
  color: var(--plum);
  font-weight: 500;
}

.hero-copy {
  max-width: 570px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.microcopy {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.84rem;
}

.phone-stage {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  width: 490px;
  height: 490px;
  border: 1px solid rgba(104, 53, 111, 0.15);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.orbit::before {
  width: 18px;
  height: 18px;
  top: 64px;
  right: 49px;
  background: var(--coral);
  box-shadow: 0 0 0 9px rgba(239, 116, 95, 0.12);
}

.orbit::after {
  width: 14px;
  height: 14px;
  bottom: 82px;
  left: 31px;
  background: var(--mint);
  box-shadow: 0 0 0 9px rgba(184, 219, 200, 0.18);
}

.phone {
  position: relative;
  z-index: 2;
  width: 304px;
  padding: 12px;
  background: #1f1825;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 48px;
  box-shadow: 0 38px 80px rgba(45, 24, 50, 0.28);
  transform: rotate(3deg);
}

.phone-screen {
  min-height: 548px;
  padding: 35px 22px 25px;
  overflow: hidden;
  background: var(--paper);
  border-radius: 37px;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--coral);
  border-radius: 50%;
}

.search-pill {
  margin: 29px 0 26px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8a818e;
  background: #f2ece9;
  border-radius: 15px;
  font-size: 0.78rem;
}

.word-label {
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone h3 {
  margin: 7px 0 2px;
  font-size: 2.6rem;
}

.phonetic {
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 0.9rem;
}

.listen-row {
  margin: 22px 0;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  background: var(--plum);
  border-radius: 18px;
}

.play {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--plum);
  background: #fff;
  border-radius: 50%;
  font-size: 0.72rem;
}

.wave {
  height: 30px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
}

.wave span {
  width: 3px;
  height: var(--h);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 3px;
}

.definition {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.definition strong {
  display: block;
  margin-bottom: 5px;
}

.example {
  margin-top: 14px;
  padding: 13px 14px;
  color: var(--plum-dark);
  background: var(--lavender);
  border-radius: 14px;
  font-family: Georgia, serif;
  font-style: italic;
}

.floating-note {
  position: absolute;
  z-index: 3;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 14px 40px rgba(33, 23, 43, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
}

.note-one {
  top: 100px;
  left: 0;
}

.note-two {
  right: -7px;
  bottom: 110px;
}

.note-dot {
  width: 9px;
  height: 9px;
  background: var(--coral);
  border-radius: 50%;
}

.trust-strip {
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
}

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

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.86rem;
}

.trust-item strong {
  color: #fff;
}

.section {
  padding: 112px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-head h2,
.split-copy h2,
.cta-card h2 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
}

.section-head p,
.split-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

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

.feature-card {
  min-height: 310px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-card:nth-child(2) {
  background: var(--lavender);
}

.feature-card:nth-child(3) {
  background: #e3efe7;
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--plum);
  border-radius: 16px;
  font-size: 1.3rem;
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--coral);
}

.feature-card:nth-child(3) .feature-icon {
  color: var(--ink);
  background: #fff;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.65rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.split-section {
  background: var(--paper);
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 100px;
}

.practice-card {
  position: relative;
  min-height: 450px;
  padding: 44px;
  overflow: hidden;
  color: #fff;
  background: var(--plum-dark);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.practice-card::after {
  position: absolute;
  width: 240px;
  height: 240px;
  right: -65px;
  bottom: -80px;
  content: "";
  background: var(--coral);
  border-radius: 50%;
  opacity: 0.92;
}

.practice-kicker {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.practice-word {
  margin: 48px 0 8px;
  font-family: Georgia, serif;
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.practice-phonetic {
  color: rgba(255, 255, 255, 0.66);
}

.practice-bars {
  height: 76px;
  margin-top: 46px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.practice-bars span {
  width: 7px;
  height: var(--h);
  background: var(--mint);
  border-radius: 10px;
}

.check-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 13px 0;
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  color: var(--plum);
  font-weight: 900;
}

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

.step {
  counter-increment: steps;
}

.step::before {
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  content: "0" counter(steps);
  color: var(--plum);
  background: var(--lavender);
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.cta-section {
  padding: 40px 0 100px;
}

.cta-card {
  position: relative;
  padding: 74px 60px;
  overflow: hidden;
  text-align: center;
  background: var(--lavender);
  border-radius: 38px;
}

.cta-card::before,
.cta-card::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.cta-card::before {
  width: 170px;
  height: 170px;
  top: -70px;
  left: -35px;
  background: var(--mint);
}

.cta-card::after {
  width: 120px;
  height: 120px;
  right: -25px;
  bottom: -55px;
  background: var(--coral);
}

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

.cta-card p {
  max-width: 590px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.site-footer {
  padding: 34px 0;
  color: #d9d1dc;
  background: var(--ink);
}

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

.site-footer .brand-mark {
  color: var(--ink);
  background: var(--mint);
  box-shadow: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.85rem;
}

.footer-note {
  color: #a99ead;
  font-size: 0.8rem;
}

/* Legal pages */
.legal-header {
  border-bottom-color: var(--line);
  background: rgba(251, 247, 239, 0.92);
}

.legal-hero {
  padding: 72px 0 58px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 6vw, 5rem);
}

.legal-intro {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

.effective-date {
  margin-top: 22px;
  color: var(--plum);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-layout {
  padding: 72px 0 110px;
  display: grid;
  grid-template-columns: 220px minmax(0, 730px);
  justify-content: center;
  gap: 76px;
}

.legal-toc {
  position: sticky;
  top: 28px;
  align-self: start;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.legal-toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-toc a {
  padding: 7px 0;
  display: block;
  color: var(--muted);
  font-size: 0.83rem;
}

.legal-content section {
  padding: 0 0 34px;
  scroll-margin-top: 24px;
}

.legal-content h2 {
  margin-bottom: 14px;
  font-size: 1.8rem;
}

.legal-content h3 {
  margin: 24px 0 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.legal-content p,
.legal-content li {
  color: #564d5c;
}

.legal-content ul {
  padding-left: 22px;
}

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

.notice {
  margin: 8px 0 40px;
  padding: 20px 22px;
  background: var(--lavender);
  border-left: 4px solid var(--plum);
  border-radius: 4px 16px 16px 4px;
  color: var(--plum-dark);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero-copy-wrap {
    text-align: center;
  }

  .hero-copy,
  .hero h1 {
    margin-inline: auto;
  }

  .eyebrow,
  .hero-actions {
    justify-content: center;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card:last-child {
    grid-column: 1 / -1;
  }

  .split {
    gap: 54px;
  }

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

  .legal-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 22px;
  }

  .legal-toc strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    min-height: 72px;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links .button {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.82rem;
  }

  .hero {
    padding: 50px 0 78px;
  }

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

  .hero-copy {
    font-size: 1rem;
  }

  .phone-stage {
    min-height: 520px;
    transform: scale(0.88);
    margin: -35px 0;
  }

  .orbit {
    width: 410px;
    height: 410px;
  }

  .note-one {
    left: -30px;
  }

  .note-two {
    right: -32px;
  }

  .trust-inner,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .trust-item {
    justify-content: flex-start;
  }

  .feature-card:last-child {
    grid-column: auto;
  }

  .section {
    padding: 78px 0;
  }

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

  .practice-card {
    min-height: 390px;
    padding: 30px;
  }

  .cta-section {
    padding-bottom: 72px;
  }

  .cta-card {
    padding: 58px 24px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .legal-hero {
    padding: 50px 0 42px;
  }

  .legal-layout {
    padding: 48px 0 78px;
  }

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

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

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