/* ChainShot website. No external fonts, scripts or trackers: the site follows PRIVACY.md. */
:root {
  --paper: #f3f5f7;
  --ink: #14213d;
  --muted: #5b6577;
  --line: #d5dbe3;
  --black: #000;
  --yellow: #ffd400;
  --ok: #1f7a4d;
  --bad: #b3261e;
  --white: #fff;
  --display: Bahnschrift, "DIN Alternate", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: Consolas, "SFMono-Regular", "DejaVu Sans Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0f1626; --ink: #e6ebf3; --muted: #9aa6b8; --line: #2a3550; --white: #18213a; --ok: #5cc28f; --bad: #ff8a80; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--text); }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
code, pre { font-family: var(--mono); font-size: 0.86em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 21px/1 var(--display); text-decoration: none; letter-spacing: .01em; }
.brand img { width: 30px; height: 30px; }
.top nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }

/* hero: the page opens like a ChainShot capture, banner below the picture */
.hero { padding: 40px 0 72px; }
.hero h1 { font: 600 clamp(40px, 6.4vw, 76px)/1.02 var(--display); letter-spacing: -0.01em; margin: 0 0 22px; max-width: 13ch; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 58ch; margin: 0 0 28px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.btn { display: inline-block; padding: 13px 20px; border-radius: 6px; font-weight: 600; text-decoration: none; border: 2px solid var(--ink); }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.quiet { background: transparent; }
.capture { border: 1px solid var(--line); background: var(--white); box-shadow: 0 30px 60px -30px rgba(20, 33, 61, .45); }
.capture img { width: 100%; }
.banner { background: var(--black); color: #dcdcdc; font: 600 13px/1.75 var(--mono); padding: 10px 14px 12px; overflow-x: auto; white-space: nowrap; }
.banner .l1 { color: var(--yellow); }

/* sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
h2 { font: 600 clamp(30px, 3.6vw, 42px)/1.1 var(--display); margin: 0 0 18px; max-width: 22ch; }
h3 { font: 600 21px/1.25 var(--display); margin: 0 0 6px; }
.intro { color: var(--muted); max-width: 64ch; margin: 0 0 36px; }
.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* what a capture carries */
.fields { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; }
.fields dt { font: 600 14px/1.5 var(--mono); }
.fields dd { margin: 0; color: var(--muted); }

/* the process is a real sequence */
ol.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
ol.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 14px; }
ol.steps li::before { content: counter(s); font: 600 34px/1 var(--display); display: block; margin-bottom: 10px; }
ol.steps p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { ol.steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { ol.steps { grid-template-columns: 1fr; } }

/* tamper proof */
.verdicts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.verdicts figure { margin: 0; }
.verdicts figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.verdicts figcaption b.ok { color: var(--ok); }
.verdicts figcaption b.bad { color: var(--bad); }
@media (max-width: 860px) { .verdicts { grid-template-columns: 1fr; } }

/* tools */
.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.tools > div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.tools > div:nth-child(odd) { border-right: 1px solid var(--line); }
.tools > div:nth-child(even) { padding-left: 24px; }
.tools p { margin: 0; color: var(--muted); }
.tools .for { font-size: 14px; margin-bottom: 8px; }
@media (max-width: 760px) { .tools { grid-template-columns: 1fr; } .tools > div:nth-child(odd) { border-right: 0; } .tools > div:nth-child(even) { padding-left: 0; } }

/* install and verify */
pre { background: var(--black); color: #e6e6e6; padding: 18px 20px; border-radius: 6px; overflow-x: auto; line-height: 1.6; margin: 0 0 18px; }
pre .c { color: #8f9bb0; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.note { font-size: 15px; color: var(--muted); }

/* privacy */
.promises { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 70ch; }
.promises li { padding-left: 30px; position: relative; }
.promises li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg); }

footer { border-top: 1px solid var(--line); padding: 36px 0 56px; color: var(--muted); font-size: 15px; }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }

/* text pages (code signing policy, privacy) */
.doc { max-width: 760px; padding: 24px 0 64px; }
.doc h1 { font: 600 44px/1.1 var(--display); margin: 10px 0 20px; }
.doc h2 { font-size: 26px; margin-top: 40px; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0 20px; }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; text-align: left; vertical-align: top; }
.status { display: inline-block; padding: 4px 10px; border: 2px solid var(--ink); border-radius: 4px; font-weight: 600; font-size: 15px; }
/* grid children may shrink below their content width (code blocks scroll instead) */
.split > *, .cols > *, .verdicts > *, .tools > * { min-width: 0; }
@media (max-width: 600px) {
  .top { flex-direction: column; align-items: flex-start; }
  .top nav { gap: 16px; }
  .banner { font-size: 11px; }
  .fields { grid-template-columns: 1fr; gap: 2px; }
  .fields dd { margin-bottom: 10px; }
}
.doc table th { width: 28%; font-weight: 600; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc h2 { max-width: none; }
