/* The public page. Same palette as the reports it sells, so the product and
   the page that advertises it look like one thing. */

:root {
  --red: #cc1b22;
  --red-dark: #a3141a;
  --ink: #1a1a1a;
  --muted: #6b6b72;
  --line: #e1e1e6;
  --tint: #f7f7f9;
  --radius: 10px;
}

/* The hidden attribute has to win over any author rule that sets display,
   or an element marked hidden stays laid out and keeps taking clicks. */
[hidden] { display: none !important; }


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Aptos, "Segoe UI", -apple-system, system-ui, sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
}
h1, h2, h3 { line-height: 1.22; letter-spacing: -.01em; margin: 0 0 12px; }
h1 { font-size: 40px; }
h2 { font-size: 27px; margin-bottom: 26px; }
h3 { font-size: 18px; }
p { margin: 0 0 12px; }
a { color: var(--red); }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 620px; }

/* ---------- top bar ---------- */
.top { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 10; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: baseline; gap: 10px; }
.mark { font-size: 26px; font-weight: 800; font-style: italic; letter-spacing: -.02em; }
.mark .r { color: var(--red); }
.tag { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
nav a { font-size: 14.5px; text-decoration: none; color: var(--ink); padding: 8px 10px; }
nav a:hover { color: var(--red); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; text-decoration: none;
  padding: 9px 16px; border-radius: var(--radius);
  border: 1px solid var(--line); color: var(--ink); background: #fff; cursor: pointer;
  font-family: inherit; font-size: 15px;
}
.btn:hover { border-color: var(--ink); }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost { border-color: transparent; }
.btn-lg { padding: 13px 24px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 60px; border-bottom: 1px solid var(--line); }
.hero h1 { max-width: 820px; }
.lede { font-size: 19px; color: var(--muted); max-width: 720px; margin-bottom: 26px; }
.lede.small { font-size: 17px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.fineprint { font-size: 14px; color: var(--muted); margin-top: 18px; }

/* ---------- bands ---------- */
.band { padding: 58px 0; border-bottom: 1px solid var(--line); }
.band.alt { background: var(--tint); }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step .n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 14px; font-weight: 700;
  margin-bottom: 10px;
}
.step p, .grid3 p { color: var(--muted); font-size: 15px; }

/* ---------- pricing ---------- */
.price-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; background: #fff;
}
.price .amount { font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.price .unit {
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin: 4px 0 12px;
}
.price p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- the form ---------- */
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 5px; }
.field input {
  width: 100%; padding: 11px 13px; font: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.field input:focus { outline: 2px solid var(--red); outline-offset: -2px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.note { font-size: 14.5px; margin: 12px 0 0; min-height: 20px; color: var(--muted); }
.note.good { color: #1e8a4c; font-weight: 600; }
.note.bad { color: var(--red); font-weight: 600; }

/* ---------- footer ---------- */
.foot { padding: 26px 0; font-size: 14px; color: var(--muted); }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

@media (max-width: 880px) {
  h1 { font-size: 31px; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .grid3, .price-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid4 { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  nav a { padding: 6px 8px; font-size: 14px; }
}

/* The sign-in shown once, on the thank you page. */
table.creds { border-collapse: collapse; margin: 14px 0; }
table.creds td { padding: 7px 18px 7px 0; border-bottom: 1px solid var(--line); }
table.creds td:first-child { color: var(--muted); font-size: 14px; }
table.creds b { font-family: ui-monospace, Consolas, monospace; font-size: 17px; letter-spacing: .02em; }
