:root { --ink: #221641; --pink: #D2557E; --soft: #F2A0BC; --wash: #F4EAEF; --muted: #6B6480; --paper: #fff; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: var(--pink); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
nav { position: sticky; top: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1.5px solid var(--wash); z-index: 5; }
nav .wrap { display: flex; align-items: center; gap: 18px; height: 60px; overflow-x: auto; white-space: nowrap; }
nav .brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); text-decoration: none; margin-right: auto; }
nav .brand img { width: 34px; height: 34px; }
nav a.link { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
nav a.link.on, nav a.link:hover { color: var(--ink); }
nav a.cta { background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px; }
main { padding: 28px 0 72px; }
h1 { font-size: clamp(34px, 7vw, 56px); line-height: 1.05; letter-spacing: -0.03em; margin: 28px 0 14px; }
h1 em { font-style: normal; color: var(--pink); }
h2 { font-size: 13px; letter-spacing: 0.14em; color: var(--pink); margin: 52px 0 14px; text-transform: uppercase; }
h3 { font-size: 20px; margin: 0 0 6px; }
.lede { font-size: 19px; color: var(--muted); max-width: 620px; }
.muted { color: var(--muted); }
.pill { display: inline-block; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; border: 0; font-size: 16px; cursor: pointer; }
.pill.pink { background: var(--pink); }
.pill.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.card { border: 1.5px solid var(--ink); border-radius: 18px; padding: 18px; background: #fff; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.wash { background: var(--wash); border-radius: 22px; padding: 22px; }
.uses { display: grid; gap: 14px; }
.use { display: flex; gap: 14px; }
.n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.use b { display: block; }
.use p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.stat { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.src { font-size: 12px; color: var(--muted); }
form label { display: block; font-weight: 700; margin: 16px 0 6px; }
form input[type=text], form input[type=email], form textarea, form select { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--ink); font: inherit; background: #fff; }
.choices { display: flex; gap: 8px; flex-wrap: wrap; }
.choices label { font-weight: 600; margin: 0; padding: 10px 14px; border: 1.5px solid var(--soft); border-radius: 999px; cursor: pointer; }
.choices input { margin-right: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
.hp { position: absolute; left: -9999px; }
footer { border-top: 1.5px solid var(--wash); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--ink); }
/* Articles: one comfortable reading column, numbered citations, and the sources at the end. */
.article { max-width: 700px; }
.article p, .article li { font-size: 17.5px; line-height: 1.7; }
.article h3 { font-size: 22px; margin: 34px 0 8px; }
.article sup { line-height: 0; font-size: 12px; margin-left: 1px; }
.article sup a { text-decoration: none; font-weight: 700; }
.kicker { display: block; color: var(--pink); font-weight: 800; letter-spacing: .14em; font-size: 12px !important; text-transform: uppercase; margin: 24px 0 0; }
.article .note { background: var(--wash); border-radius: 16px; padding: 14px 18px; font-size: 15px !important; color: var(--muted); margin-top: 32px; }
.refs { padding-left: 22px; }
.refs li { font-size: 14px !important; line-height: 1.55 !important; color: var(--muted); margin-bottom: 10px; overflow-wrap: anywhere; }
.refs li:target { color: var(--ink); background: var(--wash); border-radius: 8px; }
a.article-card { text-decoration: none; color: var(--ink); display: block; }
a.article-card:hover { border-color: var(--pink); }
a.article-card .kicker { margin: 0 0 6px; font-size: 11px !important; }
/* Phones: logo and the Beta button on the first row, every section on a second row. */
@media (max-width: 560px) {
  nav .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 8px; column-gap: 16px; overflow: visible; }
  nav .brand { order: 1; }
  nav a.cta { order: 2; }
  nav a.link { order: 3; font-size: 14px; }
  nav a.link:first-of-type { margin-left: 0; }
}
