:root {
  --ocean: #3762e3;
  --ocean-2: #6f93f5;
  --teal: #274d61;
  --green: #2f7d5f;
  --orange: #e97b35;

  --paper: #f7f2e5;
  --paper-2: #fbf6ea;
  --ink: #1c1c20;
  --ink-2: #3b3b40;
  --muted: #6b6b72;
  --line: rgba(0, 0, 0, 0.08);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.14), 0 8px 24px rgba(0, 0, 0, 0.08);

  --glass-tint: rgba(255, 255, 255, 0.55);
  --glass-stroke: rgba(0, 0, 0, 0.08);

  --container: 1120px;
  --container-narrow: 760px;

  --font: "Merriweather", Georgia, "Times New Roman", serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--ocean); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

.eyebrow {
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ocean);
  margin: 0 0 0.7em;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-2);
  max-width: 56ch;
}

/* ---------- Ambient background ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite alternate;
}
.blob--blue {
  width: 520px; height: 520px;
  background: radial-gradient(circle at 30% 30%, var(--ocean-2), transparent 70%);
  top: -180px; left: -160px;
}
.blob--teal {
  width: 480px; height: 480px;
  background: radial-gradient(circle at 60% 60%, var(--teal), transparent 70%);
  top: 30vh; right: -200px;
  animation-delay: -8s;
}

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(40px, 60px, 0) scale(1.08); }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ocean);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7em 1.25em;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  box-shadow: var(--shadow-sm);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--ocean); --btn-fg: #fff; }
.btn--primary:hover { background: #2a55c9; }

.btn--ghost {
  background: var(--glass-tint);
  color: var(--ink);
  border-color: var(--glass-stroke);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.75); }

.btn--lg { font-size: 1.05rem; padding: 0.85em 1.6em; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.2rem;
}
.brand:hover { text-decoration: none; }
.brand__mark {
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
}
.nav__links {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
  font-family: var(--font-ui);
  font-size: 0.92rem;
}
.nav__links a { color: var(--ink-2); }
.nav__links a:hover { color: var(--ocean); text-decoration: none; }
.nav__cta { margin-left: 1rem; }

@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 6vw, 80px);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__copy h1 { margin-bottom: 0.5em; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5em 0 1.25em;
}
.hero__bullets {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--ink-2);
}
.hero__bullets span {
  color: var(--ocean);
  font-weight: 700;
  margin-right: 0.35em;
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
}

/* ---------- Phone mockup ---------- */
.hero__art { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 290px;
  height: 600px;
  border-radius: 44px;
  background: linear-gradient(180deg, #2a2a2e, #141416);
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.05) inset;
}
.phone__notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px;
  background: #0a0a0c;
  border-radius: 14px;
  z-index: 2;
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid rgba(0,0,0,0.05);
}
.phone__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Strip ---------- */
.strip {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
  padding: 1rem 0;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--muted);
}
.strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}
.strip__dot { color: var(--ink-2); font-weight: 600; }
.strip__dot::before { content: "•"; color: var(--ocean); margin-right: 0.4rem; }

/* ---------- Section ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: var(--paper-2); border-block: 1px solid var(--line); }

.section__head { max-width: 60ch; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section__head .eyebrow { margin-bottom: 0.5em; }
.section__sub { color: var(--ink-2); font-size: 1.05rem; margin: 0; }

/* ---------- Feature grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--glass-tint);
  border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.4em; }
.card p { margin: 0; color: var(--ink-2); font-size: 0.96rem; }

.card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--c, var(--ocean));
  background: color-mix(in srgb, var(--c, var(--ocean)) 14%, transparent);
  margin-bottom: 1rem;
}
.card__icon svg { width: 24px; height: 24px; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.step {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--glass-tint);
  border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.step__num {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ocean);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 700;
  display: grid; place-items: center;
}
.step h3 { margin-bottom: 0.3em; }
.step p { margin: 0; color: var(--ink-2); font-size: 0.96rem; }

/* ---------- Listen ---------- */
.listen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 860px) { .listen { grid-template-columns: 1fr; } }

.listen__art { display: flex; justify-content: center; }

.check { list-style: none; margin: 1.2em 0 1.6em; padding: 0; }
.check li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 0.5em;
  color: var(--ink-2);
}
.check li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--ocean);
  font-weight: 700;
}

/* Audio player mockup */
.player {
  width: min(420px, 92vw);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--glass-tint);
  border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--shadow-lg);
}
.player__top { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.4rem; }
.player__art {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ocean), var(--teal));
  flex: none;
}
.player__source {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}
.player__title { font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.player__wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 56px;
  margin-bottom: 0.5rem;
}
.player__wave span {
  flex: 1;
  background: var(--ocean);
  border-radius: 2px;
  opacity: 0.7;
  animation: wave 1.4s ease-in-out infinite;
}
@keyframes wave {
  0%, 100% { height: 20%; }
  50% { height: 90%; }
}
.player__wave span:nth-child(odd)  { animation-delay: -0.4s; }
.player__wave span:nth-child(3n)   { animation-delay: -0.8s; }
.player__wave span:nth-child(4n)   { animation-delay: -1.1s; }

.player__time {
  display: flex; justify-content: space-between;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.player__controls {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
}
.player__controls button {
  font-family: var(--font-ui);
  border: none;
  background: transparent;
  color: var(--ink-2);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease;
}
.player__controls button:hover { color: var(--ocean); background: color-mix(in srgb, var(--ocean) 12%, transparent); }
.player__play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ocean);
  color: #fff !important;
  font-size: 1.3rem !important;
  box-shadow: var(--shadow);
}
.player__play:hover { background: #2a55c9; }

/* ---------- Plans ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }

.plan {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--glass-tint);
  border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  text-align: center;
  position: relative;
}
.plan--featured {
  border-color: color-mix(in srgb, var(--ocean) 40%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ocean) 30%, transparent), var(--shadow);
}
.plan__badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--ocean);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3em 0.8em;
  border-radius: 999px;
}
.plan h3 { margin-bottom: 0.4em; }
.plan__price {
  font-family: var(--font-ui);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ocean);
  margin-bottom: 1.2em;
}
.plan ul {
  list-style: none;
  margin: 0 0 1.5em;
  padding: 0;
  text-align: left;
  display: inline-block;
}
.plan li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.5em;
  color: var(--ink-2);
  font-size: 0.96rem;
}
.plan li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--ocean);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 0.75rem; }
.faq details {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--glass-tint);
  border: 1px solid var(--glass-stroke);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.faq summary {
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 1.4em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--ocean);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0.6em 0 0; color: var(--ink-2); }

/* ---------- CTA ---------- */
.cta {
  padding: clamp(56px, 9vw, 110px) 0;
  text-align: center;
}
.cta__inner { max-width: 640px; margin: 0 auto; }
.cta h2 { margin-bottom: 0.4em; }
.cta p { color: var(--ink-2); margin-bottom: 1.5em; }

/* ---------- Prose (legal pages) ---------- */
.prose {
  margin-top: 2rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-2);
}
.prose > p:first-child { margin-top: 0; }
.prose h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.6rem;
  color: var(--ink);
}
.prose p { margin: 0 0 1em; }
.prose a { color: var(--ocean); }
.prose ul { margin: 0 0 1em; padding-left: 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose strong { color: var(--ink); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: 2.5rem 0;
  font-family: var(--font-ui);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--ink);
}
.footer__brand img { border-radius: 7px; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-left: auto;
  font-size: 0.9rem;
}
.footer__links a { color: var(--ink-2); }
.footer__links a:hover { color: var(--ocean); text-decoration: none; }
.footer__copy {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

@media (max-width: 560px) {
  .footer__links { width: 100%; margin-left: 0; }
  .footer__copy { width: 100%; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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