:root {
  --ink: #1d1d1f;
  --black: #000;
  --white: #fff;
  --line: #d2d2d7;
  --muted: #6e6e73;
  --font-serif: 'Instrument Serif', 'Times New Roman', serif;
  --font-sans: -apple-system, system-ui, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, 'Liberation Mono', monospace;
  /* Shadow-as-border for cards and outline buttons: a transparent ring
     reads as a hairline on white but adapts to any background, and gives
     hover a lift a solid border can't. Dividers stay real borders. */
  --shadow-border:
    0px 0px 0px 1px oklch(0 0 0 / 0.06),
    0px 1px 2px -1px oklch(0 0 0 / 0.06),
    0px 2px 4px 0px oklch(0 0 0 / 0.04);
  --shadow-border-hover:
    0px 0px 0px 1px oklch(0 0 0 / 0.08),
    0px 1px 2px -1px oklch(0 0 0 / 0.08),
    0px 2px 4px 0px oklch(0 0 0 / 0.06);
}

* { box-sizing: border-box; }
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-transform: uppercase;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
/* 11px eyebrow link: pad the hit area out to ~40px tall without moving it. */
.topbar a { color: inherit; text-decoration: none; display: inline-block; padding: 14px 0; margin: -14px 0; }

main { max-width: 720px; margin: 0 auto; padding: 0 24px; }

section { padding: 56px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }

h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.15;
  margin: 16px 0 20px;
}

h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 32px;
  margin: 12px 0 32px;
}

.lede { font-size: 18px; max-width: 56ch; margin: 0 0 32px; }

/* ---- Signup form ---- */

.signup { display: flex; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.signup select,
.signup input[type="email"] {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 980px;
  /* 16px, not 15: iOS Safari zooms the page on focus below 16px. */
  font-size: 16px;
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--ink);
}
/* min-width: 0 overrides flex's auto minimum, which for a select is its
   longest option's width - without it the row can't fit on one line. */
.signup select { flex: 0 1 160px; min-width: 0; }
.signup input[type="email"] { flex: 1 1 200px; min-width: 0; }
.signup select:focus,
.signup input[type="email"]:focus { outline: 2px solid var(--black); outline-offset: 1px; }

/* ---- Buttons ---- */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 980px;
  font-size: 15px;
  font-family: var(--font-sans);
  text-decoration: none;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  white-space: nowrap;
  transition-property: scale, background-color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.pill:hover { background: #262626; }
.pill:active { scale: 0.96; }
.pill:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }

.pill-ghost {
  border-color: transparent;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-border);
}
.pill-ghost:hover { background: var(--white); box-shadow: var(--shadow-border-hover); }

.fineprint { font-size: 13px; color: var(--muted); }
.fineprint a { color: inherit; }

.notice { font-size: 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 16px; max-width: 56ch; }
.notice-error { border-color: #e3a0a0; color: #9c1c1c; }

/* ---- How it works: three columns, each topped by a hairline ---- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.steps li { border-top: 1px solid var(--line); padding-top: 16px; }
.steps .num { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 12px; }
.steps h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.steps p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---- Pricing: plan card + suggest card, equal height, buttons aligned ---- */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  border-radius: 16px;
  box-shadow: var(--shadow-border);
}
.price { font-family: var(--font-serif); font-size: 48px; line-height: 1; margin: 0 0 20px; }
.price span { font-family: var(--font-sans); font-size: 16px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; font-size: 15px; }
.plan ul li::before { content: '\2014  '; color: var(--muted); }
.plan-title { font-family: var(--font-serif); font-size: 32px; line-height: 1.1; margin: 0 0 16px; text-wrap: balance; }
.plan-copy { font-size: 15px; color: var(--muted); margin: 0 0 24px; }
/* margin-top: auto pins both buttons to the same baseline however the
   copy above them wraps. */
.plan .pill { margin-top: auto; }
.plan-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.plan-note a { color: inherit; }

footer { max-width: 720px; margin: 0 auto; padding: 32px 24px 56px; font-size: 13px; color: var(--muted); }
footer p { margin: 4px 0; }
footer a { color: inherit; }

@media (max-width: 600px) {
  section { padding: 40px 0; }
  .signup { flex-direction: column; }
  .signup select,
  .signup input[type="email"] { flex: none; width: 100%; }
  .signup .pill { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .plans { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .pill { transition-duration: 0ms; }
  .pill:active { scale: 1; }
}
