/* Content Comps: editorial. Instrument Serif for display (upright + italic), Inter for text.
   Near-black ink on warm greige, hairline rules, black buttons. No bright colours. */
:root {
  --bg: #f3f0ea;
  --paper: #fbfaf7;
  --ink: #171615;
  --ink-soft: #55514b;
  --muted: #8b857c;
  --line: #dcd6cc;
  --dark: #171615;
  --on-dark: #f3f0ea;
  --up: #34503f;
  --down: #7c4334;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 10; }
em { font-style: italic; }

/* Type */
.label { font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(46px, 7.2vw, 92px); line-height: 1.0; }
h2 { font-size: clamp(36px, 4.8vw, 60px); line-height: 1.05; margin-bottom: 16px; }
h3 { font-size: 28px; line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; }
.lede { font-size: 18px; color: var(--ink-soft); max-width: 36em; margin: 22px auto 34px; }
.sub { color: var(--ink-soft); max-width: 40em; margin: 0 0 44px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }

/* Header */
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 7px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.wordmark .a { font-size: 13px; font-weight: 500; letter-spacing: .24em; }
.wordmark .b { font-family: var(--serif); font-style: italic; font-size: 27px; line-height: 1; }
nav.top { display: flex; gap: 30px; align-items: center; font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
nav.top a { text-decoration: none; }
nav.top a:hover { text-decoration: underline; }

/* Buttons and form */
.btn { display: inline-block; border: 1px solid var(--ink); cursor: pointer; text-decoration: none; background: var(--ink); color: var(--on-dark);
  font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 17px 26px; border-radius: 2px; white-space: nowrap; }
.btn:hover { background: #000; color: #fff; }
.btn.small { padding: 12px 18px; font-size: 11px; }
nav.top a.btn:hover { text-decoration: none; }
form.signup { display: flex; gap: 0; max-width: 520px; margin: 0 auto; }
form.signup input[type=email] { flex: 1 1 auto; min-width: 0; font: 15px var(--sans); padding: 16px 18px; border: 1px solid var(--ink); border-right: 0;
  border-radius: 2px 0 0 2px; background: var(--paper); color: var(--ink); }
form.signup input[type=email]::placeholder { color: var(--muted); }
form.signup input[type=email]:focus { outline: 2px solid rgba(23,22,21,.25); outline-offset: 2px; }
form.signup .btn { border-radius: 0 2px 2px 0; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.notice { max-width: 520px; margin: 0 auto 14px; padding: 10px 14px; font-size: 14px; display: none; border: 1px solid var(--down); color: var(--down); background: var(--paper); }

/* Hero */
.hero { padding: 84px 0 0; text-align: center; }
.hero-photo { margin: 72px auto 0; max-width: var(--max); padding: 0 24px; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 2px; }
.caption { font-size: 12px; color: var(--muted); margin: 10px 0 0; text-align: right; }

/* Sections */
section { padding: 110px 0; }
section.paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.dark { background: var(--dark); color: var(--on-dark); }
section.dark .sub, section.dark .label, section.dark .fine { color: #b9b2a7; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.stat { padding: 26px 22px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 1; letter-spacing: -0.01em; }
.stat span { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-soft); }
/* Three numbers under the home hero photo */
.stats.three { grid-template-columns: repeat(3, 1fr); margin: 56px 0 0; }
.stats.three b { font-variant-numeric: tabular-nums; }
.as-of { text-align: center; margin: 12px 0 0; }
.stats.three .stat { padding: 26px 22px 24px; text-align: center; }

/* Odds */
.odds { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 64px; }
.odds h3 { font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 6px; }
.odd { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.num { font-family: var(--serif); font-size: 46px; line-height: 1; }
.num small { display: block; font-family: var(--sans); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; margin-top: 8px; }
.num.up { color: var(--up); }
.num.down { color: var(--down); }
.odd p { margin: 0; font-size: 17px; line-height: 1.4; }
.odd .n { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }

/* Feature (photo + text) */
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.feature img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.feature .meta { color: var(--ink-soft); margin: 14px 0 0; }
.quote { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.25; margin: 30px 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.shots { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.shots li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); }
.shots li::before { content: counter(s, decimal-leading-zero); font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.3; color: var(--muted); }
.tag { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; border: 1px solid var(--ink); padding: 6px 12px; border-radius: 999px; }

/* How we count */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; counter-reset: st; }
.step { border-top: 1px solid var(--ink); padding-top: 22px; counter-increment: st; }
.step::before { content: counter(st, decimal-leading-zero); display: block; font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--muted); margin-bottom: 14px; }
.step h3 { font-size: 26px; margin-bottom: 10px; }
.step p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* Plans */
.plans { width: 100%; border-collapse: collapse; }
.plans th, .plans td { text-align: left; vertical-align: top; padding: 20px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.plans thead th { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; border-bottom: 1px solid var(--ink); padding-bottom: 16px; }
.plans thead th small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.plans tbody th { font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); width: 20%; padding-top: 23px; }
.plans th:first-child, .plans td:first-child { padding-left: 0; }
.plans tr.group th { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; letter-spacing: 0; text-transform: none;
  color: var(--ink); width: auto; padding: 34px 0 10px; border-bottom: 1px solid var(--ink); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
details:first-of-type { border-top: 1px solid var(--ink); }
summary { font-family: var(--serif); font-size: 26px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 24px; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--ink-soft); max-width: 40em; }

/* Final call (dark) */
section.dark form.signup input[type=email] { border-color: var(--on-dark); background: transparent; color: var(--on-dark); }
section.dark form.signup input[type=email]::placeholder { color: #8f887e; }
section.dark .btn { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
section.dark .btn:hover { background: #fff; }
section.dark .notice { background: transparent; color: #e7b9ab; border-color: #e7b9ab; }

/* Footer */
footer.site { padding: 34px 0 44px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: baseline; }

/* Plain pages */
.page { max-width: 720px; margin: 0 auto; padding: 72px 24px 90px; }
.page h1 { font-size: clamp(44px, 6vw, 68px); margin-bottom: 18px; }
.page h2 { font-size: 30px; margin: 44px 0 8px; }
.page p { color: var(--ink-soft); }
.page .lede { margin: 0 0 24px; }

@media (max-width: 900px) {
  section { padding: 80px 0; }
  .odds, .feature { grid-template-columns: 1fr; gap: 44px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats.three .stat { border-top: 0; border-left: 1px solid var(--line); padding: 22px 12px 20px; }
  .stats.three .stat:first-child { border-left: 0; }
  .stats.three .stat b { font-size: 40px; }
  .steps { grid-template-columns: 1fr 1fr; }
  nav.top a:not(.btn) { display: none; }
  .hero { padding-top: 60px; }
  .hero-photo { margin-top: 52px; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .feature img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .wrap, .hero-photo { padding: 0 18px; }
  header.site .wrap { height: 64px; }
  .wordmark .a { font-size: 11px; letter-spacing: .2em; }
  .wordmark .b { font-size: 23px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .stat b { font-size: 40px; }
  .stat { padding: 20px 14px 18px; }
  .stats.three { grid-template-columns: 1fr; margin: 40px 0 0; }
  .stats.three .stat { border-left: 0; padding: 18px 0 16px; }
  .stats.three .stat + .stat { border-top: 1px solid var(--line); }
  .odd { grid-template-columns: 84px 1fr; gap: 14px; }
  .num { font-size: 36px; }
  form.signup { flex-direction: column; gap: 10px; }
  form.signup input[type=email] { border-right: 1px solid var(--ink); border-radius: 2px; }
  section.dark form.signup input[type=email] { border-right-color: var(--on-dark); }
  form.signup .btn { border-radius: 2px; width: 100%; }
  .quote { font-size: 25px; }
  .plans thead th { font-size: 21px; }
  .plans th, .plans td { padding: 14px 10px; font-size: 14px; }
  .plans tbody th { width: 26%; font-size: 10.5px; letter-spacing: .12em; }
  summary { font-size: 22px; }
}
