/* Bothhere home page. Dark by design, like the camera. */
@font-face {
  font-family: "Sora";
  src: url("/home/Sora.ttf") format("truetype");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --ink: #151716;
  --raised: #1E2120;
  --line: #3D4441;
  --line-soft: #5F6663;
  --paper: #F2EFE6;
  --text: #F2EFE6;
  --soft: #C9CECB;
  --muted: #A9B0AE;
  --teal: #3FB8A6;
  --amber: #E8913E;
  --display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--teal); }
a:hover { color: var(--text); }
a:focus-visible, .pill:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; }
p { margin: 0; }
.teal { color: var(--teal); }
.amber { color: var(--amber); }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.pad { padding-top: 96px; padding-bottom: 96px; }
.rule { border-top: 1px solid var(--line); }
.raised { background: var(--raised); }

/* Header */
.top { display: flex; align-items: center; gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--text); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; }
.brand img { border-radius: 8px; display: block; }
.top nav { display: flex; align-items: center; gap: 32px; }
.navlink { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; padding: 12px 0; }
.navlink:hover { color: var(--teal); }

.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; text-align: center; }
.pill.big { min-height: 54px; padding: 0 28px; font-size: 17px; }
.pill.light { background: var(--paper); color: var(--ink); }
.pill.light:hover { background: #fffdf6; color: var(--ink); }
.pill.teal-bg { background: var(--teal); color: var(--ink); }
.pill.teal-bg:hover { background: #5fcdbc; color: var(--ink); }
.pill.outline { border: 1.5px solid var(--line-soft); color: var(--soft); }

/* Hero */
.hero { display: flex; align-items: center; gap: 40px; padding-top: 40px; padding-bottom: 104px; }
.hero-text { flex: 1 1 0; min-width: 0; }
h1 { font-size: clamp(44px, 5.4vw, 66px); line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.lead { margin-top: 32px; font-size: 20px; line-height: 1.5; color: var(--soft); max-width: 29em; }
.actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.rings { flex: 0 1 480px; width: 480px; max-width: 100%; height: auto; }
.rings text { font-family: var(--body); }
.rings .r-sub { font-size: 15px; fill: var(--muted); }
.rings .r-main { font-size: 20px; font-weight: 600; }
.rings .r-mid { font-family: var(--display); font-size: 24px; font-weight: 700; }

/* Section type */
h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
h2.xl { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -0.03em; }
.intro { margin-top: 20px; font-size: 19px; color: var(--soft); max-width: 36em; }

/* Comparison */
.compare { margin-top: 48px; }
.crow { display: grid; grid-template-columns: 240px minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; border-top: 1px solid var(--line); padding: 22px 0; }
.crow:last-child { border-bottom: 1px solid var(--line); }
.chead { border-top: 0; padding: 0 0 14px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.clabel { color: var(--muted); }
.cold { color: var(--soft); }
.cnew { font-size: 20px; font-weight: 600; line-height: 1.35; }

/* Steps */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.dotline { display: flex; align-items: center; gap: 14px; }
.dot { flex: 0 0 20px; width: 20px; height: 20px; border-radius: 50%; border: 4px solid var(--teal); }
.dot.d-amber { border-color: var(--amber); }
.dot.d-full { border-color: var(--paper); background: var(--paper); }
.line { flex: 1 1 0; height: 1px; background: var(--line-soft); }
.steps h3 { margin: 22px 0 10px; font-size: 30px; }
.steps p { color: var(--soft); }

/* Who it's for */
#who .intro { margin: 0 0 40px; color: var(--muted); }
.pairs { list-style: none; margin: 0; padding: 0; }
.pairs li { display: flex; align-items: baseline; gap: 32px; padding: 18px 0; border-top: 1px solid var(--line); }
.pairs li:last-child { border-bottom: 1px solid var(--line); }
.pair { flex: 1 1 0; font-family: var(--display); font-weight: 700; font-size: clamp(27px, 4vw, 52px); line-height: 1.1; letter-spacing: -0.025em; }
.use { color: var(--soft); }

/* Privacy (paper band) */
.paper { background: var(--paper); color: var(--ink); }
.split { display: flex; gap: 72px; align-items: flex-start; }
.split > div:first-child, .split > div:last-child { flex: 1 1 0; min-width: 0; }
.paper p { margin-top: 16px; color: #3D4441; max-width: 30em; }
.paper h2 + p { margin-top: 24px; }
.ledger { flex: 0 0 500px; margin: 0; background: var(--ink); color: var(--text); border-radius: 10px; padding: 28px; font-family: var(--mono); font-size: 14px; line-height: 1.9; }
.ledger-title { font-family: var(--body); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; }
.ledger > div:not(.ledger-title) { display: flex; gap: 16px; }
.ledger dt { flex: 0 0 104px; color: var(--muted); }
.ledger dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* Check */
.check { align-items: center; }
.split > .drop { flex: 0 0 480px; }
.drop { min-height: 340px; border: 2px dashed var(--teal); border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px; text-align: center; text-decoration: none; color: var(--text); transition: background-color 0.2s ease-out; }
.drop:hover { background: #17423C; color: var(--text); }
.drop-title { font-family: var(--display); font-weight: 600; font-size: 24px; }
.drop-sub { font-size: 15px; color: var(--muted); max-width: 22em; }
.verdicts { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.verdict { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 8px; font-weight: 600; }
.verdict.ok { background: #17423C; color: #7FDCCB; }
.verdict.edited { background: #4A2A0C; color: #F2B273; }
.links { margin-top: 28px; display: flex; flex-direction: column; font-weight: 600; }
.links a { padding: 10px 0; }

/* Footer */
.foot { display: flex; gap: 40px; align-items: flex-start; padding-top: 56px; padding-bottom: 48px; font-size: 15px; }
.foot-brand { flex: 1 1 0; }
.foot-brand strong { font-family: var(--display); font-size: 20px; }
.foot-brand p { margin-top: 8px; color: var(--muted); }
.foot-links { display: flex; flex-direction: column; }
.foot-links a { padding: 6px 0; }
.badge { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 22px; border: 1.5px solid var(--line-soft); border-radius: 10px; color: var(--soft); font-weight: 600; }

/* Tablet */
@media (max-width: 980px) {
  .hero { flex-direction: column; align-items: stretch; padding-bottom: 72px; }
  .rings { flex: none; align-self: center; width: min(540px, 100%); }
  .split { flex-direction: column; gap: 40px; }
  .split > .drop, .ledger { flex: none; width: 100%; }
  .drop { min-height: 220px; }
  .steps { grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
  .steps h3 { margin-top: 14px; }
  .crow { grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; }
}

/* Phone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .pad { padding-top: 56px; padding-bottom: 56px; }
  .top { padding-top: 14px; padding-bottom: 14px; gap: 12px; }
  .navlink { display: none; }
  .brand { font-size: 18px; }
  .brand img { width: 32px; height: 32px; }
  .hero { padding-top: 20px; padding-bottom: 56px; gap: 28px; }
  .lead { margin-top: 20px; font-size: 17px; }
  .rings .r-sub { font-size: 20px; }
  .rings .r-main, .rings .r-mid { font-size: 27px; }
  .actions { flex-direction: column; margin-top: 24px; }
  .intro { font-size: 17px; }
  .compare { margin-top: 28px; }
  .crow.chead { display: none; }
  .crow { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; }
  .clabel { font-size: 14px; order: 1; }
  .cnew { font-size: 18px; order: 2; }
  .cold { font-size: 14px; color: var(--muted); order: 3; }
  .cold::before { content: "A stamp camera: "; }
  .steps h3 { font-size: 24px; }
  #who .intro { margin-bottom: 20px; }
  .pairs li { flex-direction: column; gap: 4px; padding: 14px 0; }
  .use { font-size: 15px; }
  .ledger { padding: 20px; font-size: 13px; }
  .ledger dt { flex-basis: 92px; }
  .verdicts { flex-direction: column; }
  .foot { flex-direction: column; gap: 24px; }
  .foot-links a { padding: 11px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drop { transition: none; }
}
