/* =============================================================================
   PagePod landing — design tokens lifted from iOS OnboardingStyle.swift (OB.*)
   ============================================================================= */
:root {
  --bg:        #0b0b0c;          /* OB.background          */
  --bg-soft:   #111114;
  --card:      #15151a;          /* OB.cardFill            */
  --card-2:    #1b1b21;
  --stroke:    rgba(255,255,255,.08); /* OB.cardStroke      */
  --stroke-2:  rgba(255,255,255,.14);
  --cream:     #f0ebdb;          /* OB.cream               */
  --body:      #a3a3a3;          /* OB.bodyText            */
  --faint:     #6b6b70;          /* OB.faintText           */
  --accent:    #eda85c;          /* OB.accent              */
  --accent-2:  #e89e4f;          /* OB.accentDeep          */
  --accent-soft: rgba(237,168,92,.12);
  --accent-edge: rgba(237,168,92,.35);
  --ink:       #291a08;          /* OB.darkInk             */

  --serif: "Newsreader","New York","Iowan Old Style",Georgia,"Times New Roman",serif;
  --sans:  "Inter",-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,sans-serif;

  --radius-sm: 8px;
  --radius-md: 13px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --container: 1120px;
  --container-narrow: 720px;
  --hpad: 22px;
}

/* -- reset ------------------------------------------------------------------ */
*,*::before,*::after { box-sizing: border-box; }
html,body { margin:0; padding:0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; color: var(--accent); }

.container        { max-width: var(--container);        margin: 0 auto; padding: 0 var(--hpad); }
.container.narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--hpad); }

/* =============================================================================
   NAV
   ============================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--hpad);
  max-width: var(--container);
  margin: 0 auto;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .2px;
  color: var(--cream);
}
.brand-mark {
  width: 32px; height: 32px;
  display: inline-grid; place-items: center;
  background: #f3ecd9;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0,0,0,.35), inset 0 -8px 14px rgba(0,0,0,.05);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--body); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--cream); }
.nav-cta {
  color: var(--ink) !important;
  background: var(--accent);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: #f0b46a; }
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* =============================================================================
   BUTTONS
   ============================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px;
  padding: 0 24px;
  border-radius: 16px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  transition: transform .15s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 14px 30px -10px rgba(237,168,92,.45);
}
.btn-primary:hover { background: #f0b46a; transform: translateY(-1px); }
.btn-ghost {
  color: var(--cream);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--stroke-2);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-wide { width: 100%; }

/* =============================================================================
   HERO
   ============================================================================= */
.hero {
  position: relative;
  text-align: center;
  padding: 24px var(--hpad) 80px;
  max-width: 760px;
  margin: 0 auto;
}
.hero-aura {
  position: absolute; inset: -60px -60px auto -60px; height: 520px;
  background:
    radial-gradient(60% 60% at 50% 30%, rgba(237,168,92,.22), transparent 70%),
    radial-gradient(40% 40% at 80% 10%, rgba(237,168,92,.10), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}

/* Book stack — covers are absolutely positioned with fixed ±74px offsets
   from the stack's centre, so on narrow viewports we (1) cap the stack's
   width to whatever the viewport allows and (2) scale the visual down
   together so nothing clips. Mirrors iOS's `min(1, width / 360)` scale
   logic in OnboardingWelcomeScreen.swift. */
.book-stack {
  position: relative;
  height: 260px;
  margin: 16px auto 18px;
  width: min(360px, 100%);
  perspective: 800px;
}
@media (max-width: 380px) {
  .book-stack {
    /* Below ~380px the rotated covers still poke out, so apply a small
       additional scale + shrink the reserved height to remove the gap. */
    transform: scale(0.88);
    transform-origin: top center;
    height: 230px;
    margin-bottom: 0;
  }
}
.cover {
  position: absolute; left: 50%; bottom: 14px;
  transform-origin: bottom center;
  filter: drop-shadow(-3px 11px 14px rgba(0,0,0,.55));
  animation: stackFadeIn .55s ease both;
}
.cover-inner {
  position: relative;
  background: var(--bg);
  background-color: var(--bg);
  border-radius: 5px;
  overflow: hidden;
  padding: 18px 14px 18px 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  text-align: center;
  height: 100%;
  background: var(--bg);
}
.cover-inner { background: var(--bg, #000); }
.cover-inner { background-color: var(--bg); color: var(--fg); }
/* lit spine */
.cover-inner::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1.5px;
  background: rgba(255,255,255,.28);
}
.cover-inner::after {
  content: ""; position: absolute; left: 1.5px; top: 0; bottom: 0; width: 16px;
  background: linear-gradient(to right, rgba(0,0,0,.32), transparent);
}
.cover-title {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  color: var(--fg);
}
.cover-author {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.3px;
  opacity: .85;
  color: var(--fg);
}
.cover-ornament {
  display: flex; align-items: center; gap: 6px; width: 100%; padding: 0 8px; margin-bottom: 8px;
  color: color-mix(in srgb, var(--fg) 70%, transparent);
}
.cover-ornament span { flex: 1; height: 1px; background: currentColor; }
.cover-ornament i {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid currentColor;
}

.cover-left  { width: 130px; height: 192px; transform: translateX(calc(-50% - 74px)) rotate(-12deg); animation-delay: 0s; }
.cover-center{ width: 150px; height: 222px; transform: translateX(-50%) rotate(0deg);                   animation-delay: .05s; }
.cover-right { width: 136px; height: 200px; transform: translateX(calc(-50% + 76px)) rotate(11deg);     animation-delay: .1s; }

@keyframes stackFadeIn {
  from { opacity: 0; transform: var(--from, translateX(-50%) translateY(20px) rotate(0deg)); }
  to   { opacity: 1; }
}

/* play badge */
.play-badge {
  position: absolute; left: 50%; top: 50%;
  width: 78px; height: 78px; border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  display: grid; place-items: center;
  transform: translate(-50%, -50%);
  border: 2.5px solid #b3731b;
  box-shadow: 0 14px 24px rgba(237,168,92,.4);
  z-index: 3;
}
.play-pulse {
  position: absolute; inset: 0;
  border: 2.5px solid rgba(237,168,92,.6);
  border-radius: 50%;
  animation: pulse 1.7s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);    opacity: .75; }
  100% { transform: scale(1.75); opacity: 0; }
}

/* Headline */
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.04;
  letter-spacing: -.5px;
  margin: 18px 0 14px;
  color: var(--cream);
}
.hero-sub {
  color: var(--body);
  font-size: 17px;
  margin: 0 auto;
  max-width: 460px;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin: 28px 0 22px;
}
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-top: 6px;
}
.trust-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--stroke);
  color: var(--body);
  font-size: 12.5px;
  font-weight: 500;
}
.trust-pill svg { color: var(--accent); }

/* =============================================================================
   KARAOKE DEMO
   ============================================================================= */
.karaoke-demo {
  padding: 40px var(--hpad) 60px;
}
.karaoke-demo .container { text-align: center; }
.eyebrow {
  font-size: 11.5px;
  letter-spacing: 1.6px;
  font-weight: 600;
  color: var(--faint);
  margin-bottom: 14px;
}
.karaoke {
  font-family: var(--serif);
  font-size: clamp(22px, 3.6vw, 30px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--cream);
  margin: 0 auto;
  max-width: 640px;
}
.karaoke span {
  display: inline-block;
  padding: 1px 5px;
  margin: 0 1px;
  border-radius: 6px;
  transition: background .18s ease, color .18s ease;
}
.karaoke span.active {
  background: var(--accent);
  color: var(--ink);
  font-weight: 500;
}
.karaoke-small { font-size: 15px; line-height: 1.7; text-align: left; }

.waveform {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  height: 48px;
  margin: 28px auto 0;
  max-width: 360px;
}
.waveform span {
  display: block;
  width: 4.5px;
  background: rgba(255,255,255,.13);
  border-radius: 999px;
  animation: wave 1.2s ease-in-out infinite;
}
.waveform span:nth-child(odd)  { animation-delay: -.2s; }
.waveform span:nth-child(3n)   { animation-delay: -.4s; }
.waveform span:nth-child(4n)   { animation-delay: -.6s; }
.waveform span:nth-child(5n)   { animation-delay: -.8s; }
.waveform span:nth-child(-n+17) { background: var(--accent); }
@keyframes wave {
  0%, 100% { height: 8px; }
  50%      { height: 36px; }
}
.waveform-large { max-width: 100%; height: 56px; }
.waveform-large span { width: 5.5px; }
.waveform-large span { animation-duration: 1.4s; }

/* =============================================================================
   SECTION HEADERS
   ============================================================================= */
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -.4px;
  color: var(--cream);
  margin: 8px 0 14px;
}
.section-sub {
  color: var(--body);
  font-size: 16px;
  margin: 0;
}

/* =============================================================================
   FEATURES
   ============================================================================= */
.features { padding: 60px 0 80px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 920px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--stroke-2); transform: translateY(-2px); }

.feature h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--cream);
  margin: 14px 0 8px;
  letter-spacing: -.2px;
}
.feature p {
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 18px;
}
.feat-icon {
  width: 32px; height: 32px;
  border-radius: 7px;
  background: var(--tint, var(--accent-2));
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 14px -4px color-mix(in srgb, var(--tint, #eda85c) 60%, transparent);
}

/* per-card illustrations */
.drop-illustration {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  padding: 24px 16px;
  border: 1.5px dashed var(--accent-edge);
  border-radius: var(--radius-md);
  background: radial-gradient(45% 70% at 50% 40%, rgba(237,168,92,.10), transparent);
  color: var(--accent);
}
.drop-ring {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  display: grid; place-items: center;
  color: var(--accent);
}
.drop-label {
  color: var(--cream);
  font-weight: 700;
  font-size: 15px;
  margin-top: 2px;
}
.drop-sub {
  color: var(--body);
  font-size: 12.5px;
}

.privacy-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,.25);
  color: var(--body);
  font-size: 13px;
}
.privacy-chip svg { color: var(--accent); }

.drive-controls {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 18px;
  background: rgba(0,0,0,.30);
  border-radius: var(--radius-md);
  color: var(--cream);
}
.dc-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--stroke);
  display: grid; place-items: center;
}
.dc-main {
  width: 56px; height: 56px;
  background: var(--accent);
  color: var(--ink);
  border-color: transparent;
}

.theme-swatches { display: flex; gap: 10px; padding: 12px 0; }
.sw {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--c);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 4px 8px rgba(0,0,0,.35);
}

.mini-spines {
  display: flex; align-items: end; justify-content: center; gap: 4px;
  padding: 12px 0;
  perspective: 600px;
}
.spine {
  width: 42px; height: 62px;
  background: var(--c);
  color: var(--fg, rgba(255,255,255,.85));
  font-family: var(--serif);
  font-size: 9px;
  font-weight: 600;
  text-align: center;
  display: grid; place-items: center;
  border-radius: 3px;
  position: relative;
  box-shadow: -1px 3px 4px rgba(0,0,0,.45);
}
.spine::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px;
  background: rgba(255,255,255,.28);
}
.spine:nth-child(1) { transform: rotate(-6deg) translateX(2px); }
.spine:nth-child(3) { transform: rotate(6deg)  translateX(-2px); }

.chunk-cards {
  display: flex; flex-direction: column; gap: 6px; padding: 6px 0 0;
}
.chunk-card {
  height: 28px;
  background: linear-gradient(120deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}
.chunk-card::after {
  content: ""; position: absolute; left: 10px; right: 30%; top: 10px; height: 8px;
  background: rgba(255,255,255,.08); border-radius: 4px;
}

/* =============================================================================
   VOICES
   ============================================================================= */
.voices { padding: 80px 0; background: linear-gradient(180deg, transparent, rgba(237,168,92,.04), transparent); }

.maple-card {
  max-width: 640px;
  margin: 0 auto 18px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  border: 1px solid var(--accent-edge);
}
.maple-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.maple-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(180deg, #eda85c, #c7841d);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 24px; font-weight: 600;
  color: var(--ink);
  box-shadow: 0 6px 14px -4px rgba(237,168,92,.5);
}
.maple-meta { flex: 1; }
.maple-name-row { display: flex; align-items: center; gap: 8px; }
.maple-name { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--cream); }
.status-pill {
  font-size: 12px; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
  background: var(--accent); color: var(--ink);
}
.maple-blurb { font-size: 13.5px; color: var(--body); }
.maple-quote {
  margin-top: 14px;
  padding: 14px;
  background: rgba(0,0,0,.22);
  border-radius: var(--radius-sm);
}

.narrator-list {
  list-style: none; padding: 0; margin: 0 auto;
  max-width: 640px;
  display: flex; flex-direction: column; gap: 10px;
}
.narrator-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
}
.narrator-initial {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--tint);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 18px; font-weight: 600;
  color: #1f1814;
}
.narrator-info { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.narrator-name { font-family: var(--serif); font-size: 17px; color: var(--cream); }
.narrator-blurb { font-size: 13px; color: var(--body); }
.narrator-play {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--stroke-2);
  color: var(--cream);
  display: grid; place-items: center;
}
.narrator-play:hover { background: rgba(255,255,255,.08); }

/* =============================================================================
   HABIT (streaks + daily reminder)
   ============================================================================= */
.habit { padding: 60px 0 40px; }
.habit-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  max-width: 920px; margin: 0 auto;
}
@media (max-width: 760px) { .habit-grid { grid-template-columns: 1fr; } }

.habit-card { padding: 22px; }

/* — streak — */
.streak-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.streak-flame {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
}
.flame-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(237,168,92,.45);
  animation: pulse 2s ease-out infinite;
}
.streak-count {
  font-family: var(--serif);
  font-size: 22px; font-weight: 600;
  color: var(--cream);
  line-height: 1.1;
}
.streak-sub { color: var(--body); font-size: 13px; }

.streak-week {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
  margin: 6px 0 22px;
}
.streak-week .day {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 0 8px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--stroke);
  font-size: 11.5px; font-weight: 600; letter-spacing: .5px;
  color: var(--faint);
}
.streak-week .day i {
  display: block;
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.streak-week .day.on   { color: var(--cream); }
.streak-week .day.on i { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.streak-week .day.today {
  background: var(--accent-soft);
  border-color: var(--accent-edge);
}

.streak-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  text-align: center;
  border-top: 1px solid var(--stroke);
  padding-top: 16px;
}
.streak-stats > div { display: flex; flex-direction: column; gap: 2px; }
.streak-stats b {
  font-family: var(--serif);
  font-size: 22px; font-weight: 600;
  color: var(--cream);
}
.streak-stats small {
  font-size: 11.5px; letter-spacing: .6px;
  color: var(--faint); text-transform: uppercase;
}

/* — reminder — */
.reminder-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.reminder-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
}
.reminder-meta { flex: 1; min-width: 0; }
.reminder-title {
  font-family: var(--serif); font-size: 18px; color: var(--cream);
}
.reminder-sub { font-size: 12.5px; color: var(--body); }

.ios-toggle { position: relative; display: inline-block; width: 46px; height: 28px; flex-shrink: 0; }
.ios-toggle input { opacity: 0; width: 0; height: 0; }
.ios-toggle span {
  position: absolute; cursor: pointer; inset: 0;
  background: rgba(255,255,255,.10);
  border-radius: 999px; transition: background .2s ease;
}
.ios-toggle span::before {
  content: "";
  position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #f7f2e6;
  transition: transform .2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.ios-toggle input:checked + span { background: var(--accent); }
.ios-toggle input:checked + span::before { transform: translateX(18px); }

.reminder-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--stroke);
  margin-bottom: 14px;
}
.reminder-row-label { font-size: 14px; color: var(--body); }
.time-picker { display: inline-flex; align-items: center; gap: 8px; }
.time-picker button {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--stroke-2);
  color: var(--cream);
  font-size: 16px; line-height: 1;
}
.time-picker .time {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  font-weight: 600; font-size: 14.5px;
  color: var(--cream);
  min-width: 64px; text-align: center;
}

.reminder-notif {
  display: flex; gap: 10px;
  padding: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}
.notif-icon img {
  width: 38px; height: 38px; border-radius: 9px;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
}
.notif-body { flex: 1; min-width: 0; }
.notif-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--body);
}
.notif-head b { color: var(--cream); font-weight: 600; letter-spacing: .2px; }
.notif-title {
  font-size: 14px; color: var(--cream); font-weight: 600;
  margin: 2px 0 1px;
}
.notif-title i { color: var(--accent); font-style: italic; font-weight: 500; }
.notif-text { font-size: 13px; color: var(--body); }

.reminder-fine {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px;
  font-size: 12px; color: var(--faint);
}
.reminder-fine svg { color: var(--accent); }

/* =============================================================================
   LEGAL PAGES (privacy / terms)
   ============================================================================= */
.legal {
  padding: 40px var(--hpad) 80px;
  max-width: 760px;
  margin: 0 auto;
}
.legal-eyebrow { color: var(--faint); font-size: 12px; letter-spacing: 1.4px; font-weight: 600; }
.legal h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 46px);
  line-height: 1.1;
  letter-spacing: -.4px;
  color: var(--cream);
  margin: 8px 0 14px;
}
.legal .updated { color: var(--body); font-size: 14px; margin: 0 0 28px; }
.legal h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--cream);
  margin: 36px 0 10px;
}
.legal h3 {
  font-family: var(--sans);
  font-size: 15px; font-weight: 700;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin: 22px 0 6px;
}
.legal p, .legal li {
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.7;
}
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: #f0b46a; }
.legal ul { padding-left: 18px; }
.legal li { margin: 4px 0; }
.legal strong { color: var(--cream); font-weight: 600; }
.legal .callout {
  background: var(--accent-soft);
  border: 1px solid var(--accent-edge);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 22px 0;
  color: var(--cream);
}
.legal .callout b { color: var(--accent); }
.legal .toc {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 0 0 32px;
}
.legal .toc h3 { margin: 0 0 8px; }
.legal .toc ol { padding-left: 18px; color: var(--body); font-size: 14px; margin: 0; }
.legal .toc a { color: var(--cream); text-decoration: none; }
.legal .toc a:hover { color: var(--accent); }

/* =============================================================================
   TRIAL / PRICING
   ============================================================================= */
.trial {
  padding: 80px 0 60px;
  position: relative;
}
.trial-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 6.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -.5px;
  color: var(--cream);
  margin: 0;
}
.trial-sub {
  color: var(--body);
  font-size: 15.5px;
  margin: 18px 0 30px;
}

.timeline { margin: 30px 0 12px; }
.timeline-track {
  position: relative;
  height: 20px;
}
.timeline-track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 4px; transform: translateY(-50%);
  border-radius: 4px;
  background: linear-gradient(to right, rgba(237,168,92,.55), var(--accent));
}
.timeline-knob {
  position: absolute; right: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: #f7f2e6;
  border: 3px solid var(--accent);
  box-shadow: 0 4px 10px rgba(237,168,92,.5);
}
.timeline-stops {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  margin-top: 14px;
}
.ts-top { font-size: 12px; font-weight: 600; letter-spacing: .8px; color: var(--faint); }
.ts-bot { font-family: var(--serif); font-size: 17px; color: var(--cream); }
.ts-l   { text-align: left; }
.ts-c   { text-align: center; }
.ts-r   { text-align: right; }
.ts-r .ts-top { color: var(--accent); }

.trial-divider {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 26px 0 22px;
}

.perks { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 14px; }
.perks li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--cream); }
.perks li b { font-weight: 700; }
.perk-check {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  display: grid; place-items: center;
}
.perk-detail { color: var(--body); font-size: 14px; font-weight: 400; margin-left: auto; }

.trial-ctas { margin: 24px 0 12px; }
.trial-fine { color: var(--faint); font-size: 13px; text-align: center; margin-top: 10px; }

.store-badges {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px;
  margin-top: 26px;
}

/* — Apple App Store badge — black pill, white text + logo, sans-serif.
   Matches the proportions of Apple's official badge so it feels native
   next to anything from the App Store guidelines. */
.appstore-badge {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px;
  padding: 0 18px 0 16px;
  border-radius: 10px;
  background: #000;
  border: 1px solid rgba(255,255,255,.85);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  transition: background .2s ease, transform .15s ease;
}
.appstore-badge:hover { background: #111; transform: translateY(-1px); }

.appstore-apple {
  width: 26px; height: 26px;
  flex-shrink: 0;
  color: #fff;
}
.appstore-text {
  display: flex; flex-direction: column;
  line-height: 1;
  text-align: left;
}
.appstore-text small {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .2px;
  margin-bottom: 4px;
  color: #fff;
}
.appstore-text b {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.3px;
  color: #fff;
}

@media (max-width: 380px) {
  .appstore-badge { height: 48px; padding: 0 14px; gap: 8px; }
  .appstore-apple { width: 22px; height: 22px; }
  .appstore-text small { font-size: 9.5px; }
  .appstore-text b { font-size: 19px; }
}

/* =============================================================================
   FOOTER
   ============================================================================= */
.foot {
  padding: 40px 0 50px;
  border-top: 1px solid var(--stroke);
  margin-top: 20px;
}
.foot-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: var(--body); font-size: 14px; }
.foot-links a:hover { color: var(--cream); }
.foot-fine { color: var(--faint); font-size: 12.5px; margin-top: 18px; }
