/* Shared stylesheet for the public marketing pages (landing.en.html,
   landing.de.html, websites.html). Fonts are self-hosted under /vendor so no
   visitor IP reaches a third party. Newsreader, Geist and Geist Mono are
   licensed under the SIL Open Font License 1.1 (see FONTS-LICENSE.txt). */

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/vendor/newsreader-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url("/vendor/newsreader-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/vendor/geist-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/vendor/geist-mono-latin-wght-normal.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper: #F3F0E8; --card: #FBFAF6; --ink: #16181A; --muted: #5E615D; --line: #D8D3C5;
  --escalate: #B4321F; --proceed: #1F6B4A; --review: #A9741A;
  --ink-muted: #A6A79F; --ink-line: #35383B;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --pad: clamp(1.25rem, 8.3vw, 7.5rem);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem;
  line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.dark a:focus-visible { outline-color: var(--paper); }
em { font-style: italic; }

.wrap { max-width: 90rem; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.label { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dark .label { color: var(--ink-muted); }
.lede { color: var(--muted); font-size: 1.0625rem; line-height: 1.55; max-width: 27.5rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.06; letter-spacing: -0.02em; }

/* Buttons */
.btn { display: inline-block; font-family: var(--sans); font-weight: 500; font-size: 0.9375rem; line-height: 1.2;
  padding: 0.95rem 1.5rem; border-radius: 4px; border: 1px solid var(--ink); text-decoration: none;
  white-space: nowrap; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--escalate); border-color: var(--escalate); color: var(--card); }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); font-size: 1rem; padding: 1.05rem 1.75rem; }
.btn-light:hover { background: var(--card); border-color: var(--card); }
.textlink { font-weight: 500; font-size: 0.9375rem; text-underline-offset: 3px; }
.textlink:hover { color: var(--escalate); }

/* Nav */
.nav { border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.wordmark { font-family: var(--serif); font-weight: 500; font-size: 1.75rem; letter-spacing: -0.02em; text-decoration: none; line-height: 1; }
.nav-links { display: flex; gap: 2.25rem; font-size: 0.9375rem; }
.nav-links a, .nav-right a:not(.btn) { text-decoration: none; }
.nav-links a:hover, .nav-right a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-right { display: flex; align-items: center; gap: 1.5rem; font-size: 0.9375rem; }
.lang { display: flex; gap: 0.4rem; font-size: 0.8125rem; color: var(--muted); }
.lang a { color: var(--muted); }
.lang a[aria-current="true"] { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 5rem; align-items: start; padding-top: 6rem; padding-bottom: 6.5rem; }
.hero h1 { font-size: clamp(2.75rem, 5.4vw, 4.875rem); line-height: 0.98; letter-spacing: -0.025em; margin: 2rem 0; }
.hero .sub { color: var(--muted); font-size: 1.1875rem; line-height: 1.55; max-width: 32.5rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 2.5rem; }
.hero .promise { font-weight: 500; margin-top: 2rem; }

/* Report card */
.report { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 2rem 2rem 1.75rem;
  box-shadow: 0 28px 56px rgba(22, 24, 26, 0.10); }
.report-head { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--mono); font-size: 0.6875rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.report-entity { font-family: var(--serif); font-weight: 500; font-size: 2.25rem; letter-spacing: -0.015em; line-height: 1.15; margin: 1.5rem 0; }
.report-verdict { display: flex; justify-content: space-between; align-items: flex-end; }
.report-verdict .flags { font-size: 0.9375rem; margin-top: 0.625rem; }
.score { font-family: var(--mono); font-weight: 500; font-size: 3.75rem; letter-spacing: -0.04em; line-height: 1; }
.score b { font-weight: 500; }
.score small { font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-left: 0.25rem; }
.bar { height: 6px; background: var(--line); margin: 1.5rem 0; }
.bar span { display: block; height: 100%; width: 88%; background: var(--escalate); }
.findings { list-style: none; }
.findings li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 0.875rem 0; border-top: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.45; }
.findings .k { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 0.15rem; }
.report-note { font-family: var(--mono); font-size: 0.6875rem; line-height: 1.5; color: var(--muted); margin-top: 0.75rem; }

.tag { display: inline-block; font-family: var(--mono); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.08em;
  color: var(--card); padding: 0.3rem 0.625rem; border-radius: 2px; line-height: 1.2; }
.tag-escalate { background: var(--escalate); }
.tag-proceed { background: var(--proceed); }
.tag-ink { background: var(--ink); }

/* Report card entrance. Everything is visible without JS; the script adds
   .anim, which hides the parts and then reveals them in sequence. */
.report.anim .ch, .report.anim .findings li, .report.anim .score, .report.anim .tag,
.report.anim .flags, .report.anim .report-note { opacity: 0; }
.report.anim .findings li { transform: translateY(8px); }
.report.anim .bar span { width: 0; }
.report.anim .tag { transform: scale(0.8); }
.report .ch, .report .findings li, .report .score, .report .tag, .report .flags, .report .report-note {
  transition: opacity 0.35s ease-out, transform 0.35s ease-out; }
.report .bar span { transition: width 1.8s ease-in-out; }
.report.anim .ch.on, .report.anim .findings li.on, .report.anim .score.on, .report.anim .flags.on,
.report.anim .report-note.on { opacity: 1; transform: none; }
.report.anim .tag.on { opacity: 1; transform: none; transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1); }
.report.anim .bar.on span { width: 88%; }

/* Proof strip */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 2.75rem; padding-bottom: 2.75rem; }
.stat { border-left: 1px solid var(--line); padding: 0 1.5rem; }
.stat b { display: block; white-space: nowrap; font-family: var(--serif); font-weight: 500; font-size: 3.25rem; letter-spacing: -0.02em; line-height: 1.05; }
.stat span { display: block; color: var(--muted); font-size: 0.9375rem; line-height: 1.45; max-width: 15rem; margin-top: 0.375rem; }

/* Sections */
.section .wrap { padding-top: 7.5rem; padding-bottom: 7.5rem; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; margin-bottom: 4rem; }
.section-head h2 { max-width: 40rem; }

/* Ledger of real runs */
.ledger { border-bottom: 1px solid var(--line); }
.run { display: grid; grid-template-columns: 15.5rem 18.75rem 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.875rem 0; border-top: 1px solid var(--line); }
.run .who { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.run .entity { font-family: var(--serif); font-weight: 500; font-size: 1.875rem; letter-spacing: -0.01em; line-height: 1.1; }
.run .entity small { display: block; font-family: var(--sans); font-size: 0.8125rem; letter-spacing: 0; color: var(--muted); margin-top: 0.375rem; }
.run .what { color: var(--muted); line-height: 1.5; }
.run .verdict { display: flex; align-items: center; gap: 1.125rem; justify-content: flex-end; }
.run .verdict b { font-family: var(--mono); font-weight: 500; font-size: 1.875rem; min-width: 2.4ch; text-align: right; }
.after-ledger { margin-top: 2rem; }

/* Dark band */
.dark { background: var(--ink); color: var(--paper); }
.dark .lede, .dark p { color: var(--ink-muted); }
.how .wrap { display: grid; grid-template-columns: minmax(0, 30rem) minmax(0, 37.5rem); justify-content: space-between; gap: 4rem; }
.how h2 { margin: 1.75rem 0; }
.how .not { font-family: var(--mono); font-size: 0.75rem; line-height: 1.7; margin-top: 1.75rem; }
.steps { list-style: none; }
.steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 2rem; padding: 2rem 0; border-top: 1px solid var(--ink-line); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps .n { font-family: var(--mono); font-size: 0.8125rem; color: var(--ink-muted); padding-top: 0.5rem; }
.steps h3 { font-size: 1.75rem; letter-spacing: -0.01em; line-height: 1.2; color: var(--paper); margin-bottom: 0.625rem; }
.steps p { max-width: 30rem; }

/* Human review (only rendered while the service is switched on) */
.review { border-top: 1px solid var(--line); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.review-grid > div { border-left: 1px solid var(--line); padding: 0.25rem 1.5rem; display: grid; gap: 0.75rem; align-content: start; }
.review-grid h3 { font-size: 1.625rem; letter-spacing: -0.01em; line-height: 1.2; }
.review-grid p { color: var(--muted); }

/* Trust row */
.trust { background: var(--card); border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.25rem; padding-top: 1.625rem; padding-bottom: 1.625rem;
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); list-style: none; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); }
.plan { border-left: 1px solid var(--line); padding: 0.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.875rem; }
.plan .price { font-family: var(--serif); font-weight: 500; font-size: 2.875rem; letter-spacing: -0.02em; line-height: 1.1; white-space: nowrap; }
.plan .price small { font-family: var(--sans); font-size: 0.9375rem; letter-spacing: 0; color: var(--muted); margin-left: 0.375rem; }
.plan ul { list-style: none; font-size: 0.9375rem; line-height: 1.5; display: grid; gap: 0.375rem; }
.plan .textlink { margin-top: auto; padding-top: 0.5rem; }
.pricing-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; border-top: 1px solid var(--line);
  margin-top: 4rem; padding-top: 1.5rem; }
.pricing-foot p:last-child { color: var(--muted); }
.fineprint { color: var(--muted); font-size: 0.875rem; margin-top: 1rem; }

/* Closing + footer */
.closing h2 { font-size: clamp(2.5rem, 5.8vw, 5.25rem); line-height: 0.98; letter-spacing: -0.025em; max-width: 56rem; color: var(--paper); }
.closing .cta-row { align-items: center; gap: 1.5rem; margin-top: 2.75rem; }
.closing .cta-row p { font-family: var(--mono); font-size: 0.8125rem; }
.footer { border-top: 1px solid var(--ink-line); font-size: 0.875rem; color: var(--ink-muted); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-top: 1.75rem; padding-bottom: 1.75rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

/* Websites page */
.browser { background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; box-shadow: 0 28px 56px rgba(22, 24, 26, 0.10); }
.browser-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.6875rem; color: var(--muted); }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.browser-bar span { margin-left: 0.5rem; }
.browser-body { padding: 1.75rem 2rem; display: grid; gap: 1.125rem; }
.browser-body h3 { font-size: 2.25rem; letter-spacing: -0.015em; line-height: 1.15; }
.browser-body .meta { color: var(--muted); font-size: 0.9375rem; }
.reserve { border: 1px solid var(--line); border-radius: 4px; padding: 1.125rem; display: grid; gap: 0.875rem; justify-items: start; }
.reserve .fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; width: 100%; }
.reserve .fields span { background: var(--paper); border: 1px solid var(--line); border-radius: 2px; padding: 0.625rem 0.75rem; font-size: 0.875rem; }
.phone { display: flex; align-items: center; gap: 0.75rem; border-top: 1px solid var(--line); padding-top: 1rem; font-size: 0.875rem; }
.plans-3 { grid-template-columns: repeat(3, 1fr); }
.plans-3 .plan { padding: 0.25rem 1.75rem; }

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .hero .wrap { grid-template-columns: 1fr; gap: 3.5rem; padding-top: 4rem; padding-bottom: 4.5rem; }
  .report, .browser { max-width: 34rem; }
  .how .wrap { grid-template-columns: 1fr; }
  .run { grid-template-columns: 1fr auto; }
  .run .who { grid-column: 1 / -1; }
  .run .what { grid-column: 1 / -1; }
  .plans { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .plans-3 { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; row-gap: 2.5rem; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 1.5rem; margin-bottom: 3rem; }
}
@media (max-width: 640px) {
  .section .wrap { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .nav .wrap { padding-top: 1rem; padding-bottom: 1rem; gap: 0.75rem; }
  .nav-right { gap: 0.875rem; }
  .nav-right .signin { display: none; }
  .nav .btn { padding: 0.7rem 1rem; }
  .proof .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .stat { padding: 0 1rem; }
  .stat b { font-size: 2.125rem; }
  .plans { grid-template-columns: 1fr; }
  .report { padding: 1.5rem 1.25rem; }
  .report-head { flex-direction: column; gap: 0.25rem; }
  .findings li { grid-template-columns: 1fr; gap: 0.25rem; }
  .score { font-size: 3rem; }
  .run .entity { font-size: 1.5rem; }
  .cta-row .btn { width: 100%; text-align: center; white-space: normal; }
  .reserve .fields { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 2rem 1fr; gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .report *, .report .bar span { transition: none !important; }
}
