/* public/home.css — the public front page only (item 10, 24 September 2026).
 *
 * Source of the look: the design canvas Jorg approved on 24 September 2026,
 * Desktop 1440 and Phone 390. Paper ground, ink, one green for clean, one burnt
 * orange for a defect mark. Instrument Serif for display, IBM Plex for the rest.
 *
 * ⛔ EVERY FONT IS SERVED FROM THIS HOST. A Google Fonts link sends each visitor's
 * IP to Google, and the privacy policy names Hetzner and Migadu only. The files
 * and their licences are in public/fonts/, fetched once by scripts/fetch_fonts.sh.
 *
 * ⚠ LIGHT ONLY, ON PURPOSE. The desk follows the viewer's scheme through system
 * colours (app.css); this page is a designed surface with a fixed palette, so it
 * says so rather than half-inverting in dark mode.
 *
 * Mobile first: one column, then 48rem (tablet) and 72rem (the desktop board).
 */

@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/instrument-serif-400.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/instrument-serif-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-400.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-sans-500.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans-600.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-400.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-500.woff2) format('woff2'); }

body.home {
  --paper: #F5F3EC;
  --sand: #EAE6DA;
  --white: #FFFFFF;
  --ink: #17160F;
  --ink-2: #3A382F;
  --muted: #5B5850;
  --rule: #DCD8CC;
  --clean: #146C43;
  --clean-dark: #0E5031;
  --clean-tint: #E3F1E9;
  --defect: #B4470F;
  --on-ink: #F5F3EC;
  --on-ink-2: #CFCABB;
  --on-ink-3: #A8A395;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --pad: 20px;
  color-scheme: light;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
}
@media (min-width: 48rem) { body.home { --pad: 48px; } }
@media (min-width: 72rem) { body.home { --pad: 96px; } }

.home a { color: var(--clean); }
.home a:hover { color: var(--clean-dark); }
.home main { max-width: none; margin: 0; padding: 0; }
.home p { margin: 0; }
.home h1, .home h2, .home h3 { margin: 0; }
.home .wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--pad); }
.home .kicker { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.home .display { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; }
.home .notice { margin: 16px 0 0; }
.home figure { margin: 0; }
.home .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── buttons ─────────────────────────────────────────────────────────── */
.home .pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: 500 17px/1 var(--sans); text-decoration: none;
}
.home .pill.ink { background: var(--ink); color: #FFFFFF; }
.home .pill.ink:hover { background: #000000; color: #FFFFFF; }
.home .pill.line { border: 1px solid var(--ink); color: var(--ink); }
.home .pill.line:hover { background: var(--ink); color: #FFFFFF; }
.home .pill.paper { background: var(--paper); color: var(--ink); }
.home .pill.paper:hover { background: #FFFFFF; color: var(--ink); }
.home .pill.clean { background: var(--clean); color: #FFFFFF; min-height: 56px; padding: 0 36px; font-size: 18px; }
.home .pill.clean:hover { background: var(--clean-dark); color: #FFFFFF; }
.home .pill.small { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* ── header ──────────────────────────────────────────────────────────── */
.home header.top {
  position: static; background: var(--paper); border-bottom: 1px solid var(--rule);
  padding: 16px var(--pad);
}
.home header.top a.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font: 400 28px/1 var(--serif); }
.home header.top a.brand .dot { width: 13px; height: 13px; border-radius: 50%; background: var(--clean); }
.home header.top nav { gap: 16px; font-size: 15px; }
.home header.top nav a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.home header.top nav a:hover { color: var(--clean); }
.home header.top nav a.pill.ink { color: #FFFFFF; }
.home header.top nav .sect { display: none; }
@media (min-width: 72rem) {
  .home header.top { padding-block: 22px; }
  .home header.top nav { gap: 32px; }
  .home header.top nav .sect { display: inline-flex; }
}

/* ── hero ────────────────────────────────────────────────────────────── */
.home .hero { display: grid; gap: 40px; padding-block: 40px 40px; align-items: center; }
.home .hero-copy { display: flex; flex-direction: column; gap: 20px; }
.home .hero h1 { font-size: 60px; line-height: 0.95; letter-spacing: -0.02em; max-width: 7.2em; }
.home .hero h1 em { color: var(--clean); }
.home .hero .lead { font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 30em; }
.home .hero .ctas { display: flex; flex-direction: column; gap: 10px; }
.home .hero .facts { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
@media (min-width: 48rem) {
  .home .hero h1 { font-size: 84px; }
  .home .hero .ctas { flex-direction: row; }
}
@media (min-width: 72rem) {
  .home .hero { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; padding-block: 96px 112px; }
  .home .hero-copy { gap: 28px; }
  .home .hero h1 { font-size: 104px; }
  .home .hero .lead { font-size: 22px; }
  .home .hero .facts { font-size: 13px; gap: 24px; }
}

/* the example gate card, the product shown instead of described */
.home .stage { position: relative; padding: 16px 16px 76px; border-radius: 20px; background: var(--sand); }
.home .gate {
  display: flex; flex-direction: column; gap: 18px; padding: 20px;
  border-radius: 14px; background: var(--white); border: 1px solid var(--rule);
  box-shadow: 0 1px 0 var(--rule), 0 24px 48px -24px rgba(23, 22, 15, 0.25);
}
.home .gate-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.home .gate-head b { font-size: 16px; font-weight: 600; }
.home .gate-head span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.home .gate-count { display: flex; align-items: flex-end; gap: 16px; }
.home .gate-count .n { font: 400 104px/0.8 var(--serif); }
.home .gate-count .lbl { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 4px; font-size: 17px; font-weight: 500; }
.home .passed {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  background: var(--clean-tint); color: var(--clean-dark); font: 400 12px/1.2 var(--mono);
}
.home .bars { display: flex; align-items: flex-end; gap: 4px; height: 56px; padding-top: 6px; border-top: 1px dashed var(--rule); }
.home .bars i { flex: 1; height: 3px; border-radius: 2px; background: var(--clean); }
.home .bars i.d1 { height: 22px; background: var(--defect); }
.home .bars i.d2 { height: 44px; background: var(--defect); }
.home .gate-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; font-size: 12px; line-height: 1.35; color: var(--muted); }
.home .gate-nums b { display: block; font: 500 18px/1.3 var(--mono); color: var(--ink); }
.home .report {
  position: absolute; right: 20px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #FFFFFF;
  font-size: 15px; font-weight: 500; box-shadow: 0 12px 24px -12px rgba(23, 22, 15, 0.6);
}
.home .report::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #F2A36B; }
.home .stage .caption { position: absolute; left: 20px; bottom: 28px; font: 400 11px/1.2 var(--mono); color: var(--muted); }
@media (min-width: 72rem) {
  .home .stage { padding: 40px 40px 110px; }
  .home .gate { padding: 32px; gap: 24px; border-radius: 16px; }
  .home .gate-head b { font-size: 17px; }
  .home .gate-head span { font-size: 12px; }
  .home .gate-count { gap: 20px; }
  .home .gate-count .n { font-size: 144px; }
  .home .gate-count .lbl { font-size: 20px; }
  .home .passed { font-size: 13px; padding: 6px 12px; }
  .home .bars { height: 72px; gap: 6px; }
  .home .bars i { height: 4px; }
  .home .bars i.d1 { height: 28px; }
  .home .bars i.d2 { height: 56px; }
  .home .gate-nums { font-size: 14px; gap: 16px; }
  .home .gate-nums b { font-size: 22px; }
  .home .report { right: 64px; bottom: 36px; padding: 0 18px; }
  .home .stage .caption { left: 64px; bottom: 50px; font-size: 12px; }
}

/* ── why it exists, on ink ───────────────────────────────────────────── */
.home .band-ink { background: var(--ink); color: var(--on-ink); }
.home .why { display: grid; gap: 16px; padding-block: 48px; }
.home .why .kicker { color: var(--on-ink-3); }
.home .why .big { font: 400 30px/1.2 var(--serif); }
.home .why .big span { color: #F2A36B; }
.home .why .after { font-size: 17px; color: var(--on-ink-2); }
@media (min-width: 72rem) {
  .home .why { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-block: 96px; }
  .home .why .kicker { grid-column: span 4; padding-top: 14px; }
  .home .why .big { grid-column: span 8; font-size: 44px; }
  .home .why .after { grid-column: 5 / span 7; font-size: 19px; margin-top: 8px; }
}

/* ── the three pillars ───────────────────────────────────────────────── */
.home .pillars { display: flex; flex-direction: column; gap: 20px; padding-block: 56px 40px; }
.home .pillars h2 { font-size: 40px; max-width: 14em; }
.home .pillar-row { display: grid; gap: 12px; }
.home .pillar { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; }
.home .pillar .tag { font: 400 12px/1.2 var(--mono); color: var(--clean); }
.home .pillar h3 { font-size: 21px; font-weight: 600; line-height: 1.25; }
.home .pillar p { color: var(--ink-2); }
@media (min-width: 72rem) {
  .home .pillars { gap: 56px; padding-block: 112px 96px; }
  .home .pillars h2 { font-size: 64px; line-height: 1; }
  .home .pillar-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .home .pillar { padding: 32px; gap: 16px; border-radius: 16px; }
  .home .pillar .tag { font-size: 13px; }
  .home .pillar h3 { font-size: 24px; }
}

/* ── split sections: a heading column and a content column ─────────── */
.home .split { display: grid; gap: 24px; padding-block: 48px; }
.home .split-head { display: flex; flex-direction: column; gap: 12px; }
.home .split-head h2 { font-size: 34px; line-height: 1.08; }
.home .split-head p { color: var(--ink-2); }
.home .ruled { border-top: 1px solid var(--rule); }
.home .band-sand { background: var(--sand); }
.home .band-white { background: var(--white); border-top: 1px solid var(--rule); }
@media (min-width: 72rem) {
  .home .split { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 24px; padding-block: 96px; }
  .home .split-head { grid-column: span 4; gap: 16px; }
  .home .split-head h2 { font-size: 48px; line-height: 1.05; }
  .home .split-body { grid-column: 6 / span 7; }
}
.home .how .split-head h2 { font-size: 40px; line-height: 1.02; }
@media (min-width: 72rem) { .home .how .split-head h2 { font-size: 56px; line-height: 1; } }

/* how it works */
.home .steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 24px; }
.home .steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
.home .steps .no { font: 400 36px/1 var(--serif); color: var(--clean); }
.home .steps .body { display: flex; flex-direction: column; gap: 8px; }
.home .steps b { font-size: 18px; font-weight: 600; }
.home .steps span { color: var(--ink-2); }
.home .code {
  display: block; margin: 4px 0 0; padding: 14px; border-radius: 10px; background: var(--ink); color: #E8E4D8;
  font: 400 12px/1.5 var(--mono); white-space: pre-wrap; word-break: break-all;
}
@media (min-width: 72rem) {
  .home .steps { gap: 32px; }
  .home .steps li { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
  .home .steps .no { font-size: 44px; }
  .home .steps b { font-size: 20px; }
  .home .code { padding: 18px 20px; font-size: 14px; border-radius: 12px; }
}

/* who sees what: cards on a phone, a table from 48rem */
.home .roles-cards { display: flex; flex-direction: column; gap: 10px; }
.home .roles-cards div { padding: 18px; border-radius: 12px; background: var(--white); display: flex; flex-direction: column; gap: 6px; }
.home .roles-cards b { font-size: 17px; }
.home .roles-cards span { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.home table.roles { display: none; width: 100%; border-collapse: collapse; background: var(--white); border-radius: 16px; overflow: hidden; }
.home table.roles th, .home table.roles td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--rule); }
.home table.roles thead th { background: var(--ink); color: var(--on-ink); font-weight: 500; border-bottom: 0; }
.home table.roles tbody th { font-weight: 600; }
.home table.roles tbody tr:last-child th, .home table.roles tbody tr:last-child td { border-bottom: 0; }
@media (min-width: 48rem) {
  .home .roles-cards { display: none; }
  .home table.roles { display: table; }
}

/* what it will not do */
.home .wont { display: grid; gap: 0 32px; }
.home .wont div { padding: 16px 0; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 4px; }
.home .wont div:last-child { border-bottom: 1px solid var(--ink); }
.home .wont b { font-size: 17px; font-weight: 600; }
.home .wont span { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
@media (min-width: 72rem) {
  .home .wont { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .wont div { padding: 20px 0; }
  .home .wont div:last-child { border-bottom: 0; }
  .home .wont b { font-size: 18px; }
}

/* ── pricing ─────────────────────────────────────────────────────────── */
.home .pricing { display: flex; flex-direction: column; gap: 16px; padding-block: 48px; }
.home .pricing-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.home .pricing-head h2 { font-size: 40px; }
.home .pricing-head p { font-size: 15px; color: var(--muted); }
.home .plans { display: grid; gap: 16px; }
.home .plan { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 14px; background: var(--white); border: 1px solid var(--rule); }
.home .plan.free { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.home .plan.pro { border: 1px dashed var(--ink); }
.home .plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.home .plan-head h3 { font-size: 22px; font-weight: 600; }
.home .plan-head span { font: 400 12px/1.2 var(--mono); color: var(--muted); text-align: right; }
.home .plan.free .plan-head span { color: var(--on-ink-3); }
.home .plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.home .plan p { color: var(--ink-2); }
.home .plan .note { font-size: 14px; color: var(--muted); line-height: 1.5; }
.home .plan .pill { margin-top: auto; min-height: 48px; font-size: 16px; }
@media (min-width: 72rem) {
  .home .pricing { gap: 48px; padding-block: 96px; }
  .home .pricing-head { flex-direction: row; justify-content: space-between; align-items: flex-end; margin: 0; }
  .home .pricing-head h2 { font-size: 64px; line-height: 1; }
  .home .pricing-head p { font-size: 16px; max-width: 22em; text-align: right; }
  .home .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .home .plan { padding: 36px; gap: 20px; border-radius: 16px; }
  .home .plan-head h3 { font-size: 26px; }
  .home .plan-head span { font-size: 14px; }
}

/* ── questions ───────────────────────────────────────────────────────── */
.home .faq h2 { font-size: 40px; line-height: 1; }
.home .qa { display: flex; flex-direction: column; }
.home .qa div { padding: 18px 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.home .qa div:last-child { border-bottom: 1px solid var(--rule); }
.home .qa b { font-size: 17px; font-weight: 600; }
.home .qa span { font-size: 15px; color: var(--ink-2); }
@media (min-width: 72rem) {
  .home .faq h2 { font-size: 56px; }
  .home .qa div { padding: 22px 0; gap: 8px; }
  .home .qa b { font-size: 18px; }
  .home .qa span { font-size: 16px; }
}

/* ── the closing call ────────────────────────────────────────────────── */
.home .cta { display: flex; flex-direction: column; gap: 20px; padding-block: 64px; }
.home .cta h2 { font-size: 52px; line-height: 1; }
.home .cta p { font-size: 17px; color: var(--on-ink-2); }
.home .cta .pill { align-self: stretch; }
@media (min-width: 72rem) {
  .home .cta { align-items: center; text-align: center; gap: 28px; padding-block: 112px; }
  .home .cta h2 { font-size: 88px; }
  .home .cta p { font-size: 19px; }
  .home .cta .pill { align-self: center; }
}

/* ── footer, the shared one restyled ─────────────────────────────────── */
.home footer.foot {
  max-width: none; margin: 0; background: var(--ink); color: var(--on-ink-3);
  border-top: 1px solid #36342B; padding: 28px var(--pad) 40px; font-size: 14px;
  display: flex; flex-direction: column; gap: 16px;
}
.home footer.foot nav { gap: 4px 20px; margin: 0; }
.home footer.foot nav a { color: var(--on-ink-2); min-height: 44px; display: inline-flex; align-items: center; }
.home footer.foot nav a:hover { color: #FFFFFF; }
.home footer.foot p { margin: 0; }
@media (min-width: 72rem) {
  .home footer.foot { flex-direction: row-reverse; justify-content: space-between; align-items: center; padding-block: 28px; }
  .home footer.foot nav { gap: 28px; }
}
