/* Landing page */
html { scroll-behavior: smooth; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(8,8,10,.92); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 15px; color: var(--muted); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta, .nav-signin { padding: 10px 14px; font-size: 14px; }
.nav-signin + .nav-cta { margin-left: -20px; } /* 12px apart, not the nav's 32 */

/* ---------- Hero ---------- */
.hero { padding-top: 88px; }
.hero-copy { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.hero h1 { font: 600 clamp(56px, 8.6vw, 124px)/.92 var(--font); letter-spacing: -.055em; margin: 0; }
.lede { font-size: 19px; line-height: 1.5; color: var(--muted); margin: 0 0 26px; max-width: 470px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.fine { font-size: 14px; color: var(--dim); margin: 16px 0 0; }

/* ---------- Sections ---------- */
section.wrap { padding-top: 140px; }
.head { max-width: 640px; margin-bottom: 36px; }
.head h2 { font: 600 clamp(32px, 4.4vw, 48px)/1.05 var(--font); letter-spacing: -.04em; margin: 0 0 14px; }
.head p { font-size: 18px; color: var(--muted); margin: 0; }
.head p + p { margin-top: 14px !important; }
.head p a { color: var(--text); text-underline-offset: 3px; }

/* Try it: the proof, at the end of "Where did I see that?" */
.try { margin-top: 96px; scroll-margin-top: 88px; }
.try-head { max-width: 640px; margin-bottom: 20px; }
.try-head h3 { font: 600 clamp(24px, 2.6vw, 30px)/1.15 var(--font); letter-spacing: -.03em; margin: 0 0 10px; }
.try-head p { font-size: 17px; color: var(--muted); margin: 0; }
.try-chips { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.try-chips > span { font-size: 14px; color: var(--dim); margin-right: 4px; }
.try-chips button { font: 500 14px var(--font); padding: 8px 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; transition: border-color .15s, background .15s; }
.try-chips button:hover { border-color: var(--muted); }
.try-chips button.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.try-chips button:last-child { color: var(--muted); border-color: transparent; }
.try-frame { display: block; width: 100%; height: 720px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); }

/* What it keeps */
.keeps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.price-tag { position: absolute; left: 10px; top: 10px; display: inline-flex; gap: 6px; align-items: baseline; padding: 4px 8px; border-radius: 4px; background: rgba(8,8,10,.82); font: 600 13px var(--font); }
.price-tag b { color: var(--accent); }
.price-tag s { font-weight: 500; font-size: 12px; color: var(--muted); }
.keeps-grid figure { margin: 0; }
.media { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--panel-3); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.headline { padding: 22px; display: flex; align-items: flex-end; font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em;
  background: radial-gradient(110% 100% at 50% 115%, #FF4F9A 0%, transparent 55%), radial-gradient(80% 80% at 0% 0%, #3D5BFF 0%, transparent 55%), #0B0B16; }
.media.headline span { position: absolute; top: 20px; left: 22px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.75); z-index: 2; }
.play-tag { position: absolute; left: 14px; bottom: 14px; font: 600 13px var(--font); padding: 5px 9px; border-radius: 4px; background: rgba(8,8,10,.8); }
figcaption { margin-top: 18px; color: var(--muted); font-size: 16px; }
figcaption b { display: block; color: var(--text); font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.keeps-note { max-width: 640px; margin: 32px 0 0; font-size: 15px; color: var(--dim); }

/* Compared with normal history: a plain ruled table */
.compare-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare-table th, .compare-table td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { font-size: 13px; font-weight: 600; color: var(--dim); border-bottom-color: var(--line-2); }
.compare-table tbody th { font-weight: 500; width: 46%; }
.compare-table td { color: var(--muted); width: 27%; }
.compare-table td.no { color: var(--dim); }
.compare-table td.yes { color: var(--text); }
.compare-table td.yes::before { content: '✓'; color: var(--accent); margin-right: 8px; font-weight: 700; }

/* Privacy: a full-width band, so the promise reads as the page's third point, not a footnote */
.promise { font-size: 22px !important; line-height: 1.35; color: var(--text) !important; margin: 0 0 16px !important; }
.privacy-band { margin-top: 140px; padding-block: 104px; background: var(--panel); border-block: 1px solid var(--line); scroll-margin-top: 64px; }
.privacy-band .head h2 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1; letter-spacing: -.05em; margin-bottom: 22px; }
.privacy-band .promise { font-size: clamp(22px, 2.3vw, 28px) !important; line-height: 1.3; margin-bottom: 20px !important; }
.privacy { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.plan { padding: 32px; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--line); background: var(--panel); }
.plan h3 { margin: 0; font-size: 18px; font-weight: 600; display: flex; align-items: baseline; gap: 12px; }
.plan h3 span { font-size: 13px; font-weight: 500; color: var(--dim); }
.price { font-size: 48px; font-weight: 600; letter-spacing: -.04em; margin: 12px 0 20px; }
.price small { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); }
.plan li::before { content: '✓'; color: var(--accent); margin-right: 10px; font-weight: 700; }
.plan li b { color: var(--text); font-weight: 600; }
.plan li.limit::before { content: '–'; color: var(--dim); }
.plan .btn { align-self: flex-start; }

/* Final */
.final { padding-bottom: 120px; }
.final h2 { font: 600 clamp(36px, 5.6vw, 72px)/1 var(--font); letter-spacing: -.045em; margin: 0 0 28px; max-width: 820px; }

.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 28px 40px; border-top: 1px solid var(--line); }
.foot .logo-name { font-size: 18px; }
.foot nav { display: flex; gap: 22px; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) { .keeps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .hero-copy, .privacy { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) { .compare-table { font-size: 14px; } .compare-table tbody th { width: auto; } }
@media (max-width: 640px) { .keeps-grid { grid-template-columns: 1fr; max-width: 520px; } }
@media (max-width: 640px) {
  .wrap, .nav-inner { padding-inline: 16px; }
  .nav-links { display: none; }
  .nav-cta, .nav-signin { margin-left: auto; }
  .nav-signin + .nav-cta { margin-left: -20px; }
  .hero { padding-top: 48px; }
  .hero-copy { margin-bottom: 32px; }
  .lede { font-size: 17px; }
  section.wrap { padding-top: 88px; }
  .try { margin-top: 64px; }
  .privacy-band { margin-top: 88px; padding-block: 64px; }
  .try-frame { height: 620px; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Legal pages (privacy.html, terms.html) ---------- */
.doc { max-width: 760px; padding-top: 72px; padding-bottom: 80px; }
.doc h1 { font: 600 clamp(40px, 6vw, 60px)/1 var(--font); letter-spacing: -.045em; margin: 0 0 14px; }
.doc .updated { color: var(--dim); font-size: 14px; margin: 0 0 32px; }
.doc h2 { font: 600 24px/1.25 var(--font); letter-spacing: -.02em; margin: 48px 0 12px; scroll-margin-top: 80px; }
.doc h3 { font: 600 18px/1.3 var(--font); margin: 28px 0 8px; }
.doc p, .doc li { font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin: 0 0 7px; }
.doc b, .doc strong { color: var(--text); font-weight: 600; }
.doc a { color: var(--text); text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc .short { border: 1px solid var(--line-2); border-radius: 10px; padding: 20px 24px 8px; margin: 0 0 8px; background: var(--panel); }
.doc .short h2 { margin-top: 0; }
.doc .todo { color: var(--accent); }
@media (max-width: 640px) { .doc { padding-top: 48px; } .doc .short { padding: 16px 16px 6px; } }
