/*
 * The landing page.
 *
 * Its own stylesheet rather than a share with the editor, because the two have
 * nothing in common but a palette: this is a document that has to look finished
 * in the first paint to somebody who has never heard of this product, and that
 * is a different job from a form.
 */

:root {
  --ink: #0d1219; --paper: #f5f8f8; --teal: #0e7c7b; --teal-ink: #fff;
  --surface: #fff; --muted: #5d6b7a; --line: #e3eaea;
  --shadow: 0 1px 2px rgba(13,18,25,.05), 0 14px 34px rgba(13,18,25,.07);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef4f4; --paper: #0b0f14; --teal: #2dd4bf; --teal-ink: #06231f;
    --surface: #141b22; --muted: #93a3b2; --line: #222d38;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 36px rgba(0,0,0,.45);
  }
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Rubik, Arial, sans-serif;
}
[hidden] { display: none !important; }
/* Every link on this page, including the one inside the subscription card -
   which rendered in the browser's default blue on a near-black ground until a
   screenshot showed it. */
a { color: var(--teal); }

.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px clamp(16px, 5vw, 40px); border-block-end: 1px solid var(--line); background: var(--surface);
}
.brand { font-weight: 750; font-size: 18px; letter-spacing: -.01em; }
.bar-right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.ghost, .cta {
  font: inherit; font-size: 15px; font-weight: 620; text-decoration: none; cursor: pointer;
  border-radius: 10px; padding: 9px 15px; display: inline-block;
}
.ghost { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.ghost:hover { border-color: var(--teal); }
.cta { background: var(--teal); color: var(--teal-ink); border: 1px solid var(--teal); }
.cta.big { font-size: 17px; padding: 14px 30px; }
.ghost:focus-visible, .cta:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

main { max-width: 940px; margin-inline: auto; padding: 0 clamp(16px, 5vw, 32px); }

.hero { padding: clamp(40px, 9vw, 84px) 0 clamp(24px, 5vw, 40px); max-width: 640px; }
.hero h1 { font-size: clamp(29px, 6.4vw, 46px); line-height: 1.15; margin: 0 0 18px; letter-spacing: -.02em; font-weight: 700; }
.lede { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); margin: 0 0 28px; }
.fine { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }

.points { display: grid; gap: 18px; padding: clamp(24px, 5vw, 44px) 0; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.points article { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.points h2 { font-size: 17px; margin: 0 0 8px; }
.points p { margin: 0; color: var(--muted); font-size: 15.5px; }

.plans { padding: clamp(24px, 5vw, 48px) 0 clamp(40px, 8vw, 72px); }
.plans > h2 { font-size: 22px; margin: 0 0 20px; }
.plan-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.plan.best { border-color: var(--teal); }
.plan h3 { margin: 0 0 12px; font-size: 17px; }
.plan ul { margin: 0; padding-inline-start: 20px; color: var(--muted); font-size: 15.5px; }
.plan li { margin: 0 0 6px; }

footer {
  border-block-start: 1px solid var(--line); padding: 22px clamp(16px, 5vw, 40px);
  display: flex; gap: 14px; justify-content: space-between; flex-wrap: wrap;
  font-size: 14px; color: var(--muted);
}
footer a { color: var(--teal); }
