/* ============================================================
   Readvo — marketing site
   Palette and layout ported from the Claude Design mockup,
   made fully responsive.
   ============================================================ */

:root {
  --bg: #F5F3FB;
  --ink: #1F1633;
  --muted: #75688E;
  --violet: #7C3AED;
  --violet-dark: #5B21B6;
  --violet-tint: #E9E1F9;
  --lime: #C7F252;
  --lime-soft: #DDF3A6;
  --lime-bright: #A8DC3C;
  --line: #EEE9F8;
  --line-2: #E7E2F2;
  --white: #FFFFFF;
  --card: #FCFBFE;
  --dark: #1F1633;
  --dark-card: #2A2043;
  --dark-line: #392D58;
  --dark-muted: #A49BB8;

  --pad-x: 80px;
  --maxw: 1440px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--violet-dark); }

h1, h2, h3 { margin: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  z-index: 50;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  border: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-ink { background: var(--ink); color: #fff; padding: 13px 22px; font-size: 14.5px; }
.btn-ink:hover { color: #fff; }

.btn-cta {
  gap: 12px;
  padding: 19px 30px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 24px rgba(31,22,51,.25);
}
.btn-cta:hover { color: #fff; }
.btn-cta span { font-size: 17px; font-weight: 800; }

.btn-lime { background: var(--lime); color: #243305; gap: 12px; padding: 20px 32px; }
.btn-lime:hover { color: #243305; }
.btn-lime span { font-size: 17px; font-weight: 800; }

/* ---------- Logo ---------- */
.logo {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--violet);
  display: flex; align-items: center; justify-content: center;
  gap: 3px;
  overflow: hidden;
  flex: none;
}
.logo-bar { width: 3.5px; border-radius: 2px; }
.logo-corner {
  position: absolute; top: 0; right: 9px;
  width: 7px; height: 14px; background: var(--lime);
  clip-path: polygon(0 0,100% 0,100% 100%,50% 76%,0 100%);
}
.logo-sm { width: 34px; height: 34px; border-radius: 11px; gap: 2.5px; }
.logo-sm .logo-bar { width: 2.5px; }

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-name { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }

.nav-links { display: flex; align-items: center; gap: 34px; font-size: 14.5px; font-weight: 600; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

/* ---------- Layout helpers ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 84px var(--pad-x) 90px;
}
.section-white { background: var(--white); max-width: none; }
.section-white > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-dark { background: var(--dark); color: #fff; max-width: none; }
.section-dark > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .2em; }
.eyebrow-violet { color: var(--violet); }
.eyebrow-lime { color: var(--lime); }

.section-title { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.section-title-light { color: #fff; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.section-head .section-title { margin-top: 14px; }
.section-lead { font-size: 16px; color: var(--muted); line-height: 1.55; max-width: 420px; margin: 0; }
.section-lead-dark { color: var(--dark-muted); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 44px var(--pad-x) 90px;
  display: grid;
  grid-template-columns: 1fr 470px;
  gap: 60px;
  align-items: center;
}
.hero-glow {
  position: absolute;
  top: -180px; right: -120px;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: var(--violet-tint);
  filter: blur(10px);
  opacity: .85;
  z-index: 0;
}
.hero-copy { position: relative; z-index: 1; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px;
  box-shadow: 0 2px 10px rgba(31,22,51,.05);
  font-size: 12.5px; font-weight: 700; color: var(--muted);
}
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime-bright);
  animation: pulseDot 1.6s ease-in-out infinite;
  flex: none;
}

.hero-title {
  font-size: 70px; line-height: 1.04; font-weight: 800;
  letter-spacing: -.035em; margin: 22px 0 0;
}
.hero-title .hl { background: var(--lime-soft); border-radius: 12px; padding: 0 10px; }
.hero-sub {
  font-size: 19px; line-height: 1.55; color: var(--muted);
  margin: 24px 0 0; max-width: 520px;
}

.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.rating { display: flex; flex-direction: column; gap: 3px; }
.stars { display: flex; gap: 3px; }
.stars svg { width: 15px; height: 15px; }
.rating-text { font-size: 12.5px; font-weight: 600; color: var(--muted); line-height: 1.35; }

.hero-checks {
  display: flex; align-items: center; gap: 22px;
  margin: 44px 0 0; padding: 0; list-style: none;
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  flex-wrap: wrap;
}
.hero-checks li { display: flex; align-items: center; gap: 7px; }
.hero-checks svg { width: 15px; height: 15px; flex: none; }

/* ---------- Phone mockup ---------- */
.phone-wrap {
  position: relative;
  display: flex; justify-content: center;
  animation: floatY 7s ease-in-out infinite;
  z-index: 1;
}
.phone {
  width: 360px;
  background: var(--card);
  border-radius: 44px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(31,22,51,.22);
  border: 9px solid var(--ink);
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 26px 4px; font-size: 13px; font-weight: 600;
}
.phone-status-icons { display: flex; gap: 5px; align-items: center; }
.battery-fill { width: 15px; height: 9px; background: var(--ink); border-radius: 2px; opacity: .85; }
.battery-shell { width: 19px; height: 9px; border: 1.5px solid var(--ink); border-radius: 3px; opacity: .5; }

.phone-head {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 18px 10px; border-bottom: 1px solid var(--line);
}
.phone-head-btn {
  width: 34px; height: 34px; border-radius: 999px; background: #F0EDF8;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.phone-head-btn svg { width: 15px; height: 15px; }
.phone-aa { font-size: 13px; font-weight: 800; }
.phone-title {
  flex: 1; text-align: center; font-size: 12.5px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.phone-reader { padding: 18px 22px 0; height: 296px; overflow: hidden; position: relative; }
.phone-script { }
.phone-speaker { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--muted); margin-top: 12px; }
.phone-line { font-size: 16px; line-height: 1.6; margin-top: 4px; }
.phone-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 56px;
  background: linear-gradient(180deg, rgba(252,251,254,0), var(--card));
}

.word { display: inline-block; border-radius: 5px; padding: 0 3px; transition: background .25s; }

.phone-player {
  margin: 0 9px 9px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 28px; padding: 15px 16px 16px;
  box-shadow: 0 -6px 26px rgba(31,22,51,.08);
}
.scrub { height: 5px; border-radius: 3px; background: var(--line); position: relative; }
.scrub-fill { display: block; height: 100%; border-radius: 3px; background: var(--violet); width: 18%; }
.scrub-knob {
  position: absolute; top: 50%; left: 18%; transform: translate(-50%,-50%);
  width: 13px; height: 13px; border-radius: 50%; background: var(--ink);
}
.scrub-time { display: flex; justify-content: space-between; margin-top: 7px; font-size: 11px; font-weight: 600; color: var(--muted); }
.phone-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.pc-voice {
  width: 40px; height: 40px; border-radius: 999px; background: var(--violet-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: var(--violet);
}
.pc-skip { display: flex; flex-direction: column; align-items: center; }
.pc-skip svg { width: 27px; height: 27px; }
.pc-skip span { font-size: 8px; font-weight: 700; margin-top: -3px; }
.pc-play {
  width: 60px; height: 60px; border-radius: 999px; background: var(--lime);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(199,242,82,.5);
}
.pc-play svg { width: 22px; height: 22px; }
.pc-speed { border: 1.5px solid var(--violet); color: var(--violet); font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 8px 12px; }

/* ============================================================
   FEATURES
   ============================================================ */
.source-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.source-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 24px; padding: 24px 22px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.source-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(31,22,51,.08); }
.source-icon {
  width: 48px; height: 48px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.source-icon svg { width: 24px; height: 24px; }
.source-title { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.source-body { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 0; }

/* ============================================================
   READ ALONG
   ============================================================ */
.read-along {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding-top: 90px;
}
.read-lead { max-width: 480px; }
.read-list { display: flex; flex-direction: column; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.read-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.read-chip { width: 26px; height: 26px; border-radius: 9px; flex: none; }

.now-playing {
  background: #fff; border: 1px solid var(--line);
  border-radius: 32px; padding: 34px 36px;
  box-shadow: 0 12px 40px rgba(31,22,51,.08);
}
.np-head { display: flex; align-items: center; justify-content: space-between; }
.np-status { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--muted); }
.np-voice {
  display: flex; align-items: center; gap: 7px;
  background: var(--violet-tint); border-radius: 999px; padding: 5px 12px;
  font-size: 12px; font-weight: 700; color: var(--violet);
}
.np-voice-avatar {
  width: 18px; height: 18px; border-radius: 50%; background: var(--violet); color: #fff;
  font-size: 9px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.np-script { margin-top: 20px; font-size: 23px; line-height: 1.65; font-weight: 500; }
.np-script .word { border-radius: 7px; padding: 1px 5px; }

.wave-bars { display: flex; align-items: center; gap: 4px; height: 46px; margin-top: 26px; }
.wave-bars span { flex: 1; border-radius: 3px; }

/* ============================================================
   VOICES
   ============================================================ */
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.voice-card {
  background: var(--dark-card); border: 1px solid var(--dark-line);
  border-radius: 28px; padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.voice-top { display: flex; align-items: center; gap: 14px; }
.voice-avatar {
  width: 52px; height: 52px; border-radius: 999px;
  font-size: 20px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.voice-meta { display: flex; flex-direction: column; gap: 3px; }
.voice-name { font-size: 19px; font-weight: 800; color: #fff; }
.voice-desc { font-size: 12.5px; color: var(--dark-muted); }
.voice-play-row { display: flex; align-items: center; gap: 14px; }
.voice-play {
  width: 42px; height: 42px; border-radius: 999px; background: var(--lime);
  display: flex; align-items: center; justify-content: center; flex: none;
  border: none; cursor: pointer; transition: transform .15s ease;
}
.voice-play:hover { transform: scale(1.08); }
.voice-play svg { width: 16px; height: 16px; }
.voice-wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 26px; }
.voice-wave span { flex: 1; border-radius: 2px; background: #5B4A80; }
.voice-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.voice-tags span {
  font-size: 11.5px; font-weight: 700; color: var(--lime);
  border: 1px solid #4A3B70; border-radius: 999px; padding: 6px 12px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-title { text-align: center; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px; }
.step-card {
  background: var(--bg); border-radius: 28px; padding: 32px 30px 34px;
  display: flex; flex-direction: column; gap: 14px;
}
.step-num {
  width: 44px; height: 44px; border-radius: 999px; background: var(--violet); color: #fff;
  font-size: 17px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.step-title { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.step-body { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 340px 1fr; gap: 70px; }
.faq-aside .section-title { font-size: 40px; }
.faq-contact { font-size: 15px; color: var(--muted); line-height: 1.55; margin-top: 16px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line); padding: 22px 0; }
.faq-item summary {
  font-size: 18px; font-weight: 700; letter-spacing: -.01em;
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p { font-size: 15px; color: var(--muted); line-height: 1.6; margin: 8px 0 0; max-width: 640px; }

/* ============================================================
   CTA
   ============================================================ */
.cta-wrap { max-width: var(--maxw); margin: 0 auto; padding: 80px; }
.cta {
  background: var(--violet);
  border-radius: 40px;
  padding: 66px 70px;
  display: flex; align-items: center; justify-content: space-between; gap: 50px;
  position: relative; overflow: hidden;
}
.cta-blob { position: absolute; right: -60px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: #8E52F0; }
.cta-copy { position: relative; }
.cta-title { font-size: 42px; font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1.12; }
.cta-sub { font-size: 16.5px; color: var(--violet-tint); margin: 16px 0 0; }
.cta-btn { position: relative; flex: none; color: #243305; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  max-width: var(--maxw); margin: 0 auto;
  border-top: 1px solid var(--line-2);
  padding: 34px var(--pad-x) 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-name { font-size: 15px; }
.footer-copy { font-size: 13px; color: var(--dark-muted); margin-left: 10px; }
.footer-links { display: flex; gap: 26px; font-size: 13.5px; font-weight: 600; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes barPulse { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.5); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulseDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  :root { --pad-x: 48px; }
  .hero { grid-template-columns: 1fr 400px; gap: 40px; }
  .hero-title { font-size: 58px; }
  .source-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  :root { --pad-x: 40px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 20px; }
  .phone-wrap { grid-row: 1; margin-bottom: 12px; }
  .hero-copy { text-align: center; }
  .hero-title { margin-top: 22px; }
  .hero-sub, .read-lead, .section-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-checks { justify-content: center; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .read-along { grid-template-columns: 1fr; gap: 40px; }
  .voice-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta { flex-direction: column; align-items: flex-start; text-align: left; }
}

@media (max-width: 680px) {
  :root { --pad-x: 22px; }
  .section { padding: 60px var(--pad-x) 64px; }
  .hero-title { font-size: 44px; }
  .hero-sub { font-size: 17px; }
  .section-title { font-size: 32px; }
  .faq-aside .section-title { font-size: 30px; }
  .cta-title { font-size: 32px; }
  .source-grid { grid-template-columns: 1fr 1fr; }
  .cta-wrap { padding: 40px 22px; }
  .cta { padding: 42px 32px; }
  .nav { padding: 18px var(--pad-x); }
  .nav-cta span, .nav-cta { font-size: 13.5px; }
  .btn-cta { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .rating { align-items: center; text-align: center; }
  .footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .source-grid { grid-template-columns: 1fr; }
  .phone { width: 300px; }
  .hero-title { font-size: 38px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
