/* Antilure website. Tokens, layout and components follow
   docs/design/2026-11-04-claude-design-site/Site Style Sheet.dc.html. */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/SchibstedGrotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/SchibstedGrotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */

:root {
  color-scheme: light dark;
  --bg: #F6F5F1;
  --surface: #FFFFFF;
  --ink: #15191D;
  --muted: #4A5158;
  --line: #E2E0D9;
  --chip: #ECEAE4;
  --red: #D33A2C;
  --red-text: #C43427; /* barb red darkened for text: 4.98:1 on paper, 4.51:1 on chip */

  --font-head: "Schibsted Grotesk", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-mail: "Google Sans", Roboto, Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
  --max: 1200px;
  --shadow: 0 24px 60px -30px rgba(21, 25, 29, .35);

  /* Status colours: product visuals only. */
  --danger: #B3261E;
  --warn: #B86E00;
  --safe: #1D7A3A;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111417;
    --surface: #181C20;
    --ink: #ECEBE6;
    --muted: #A6ACB2;
    --line: #2B3036;
    --chip: #23282D;
    --red: #FF6A5C;
    --red-text: #FF6A5C;
    --shadow: 0 24px 60px -30px rgba(0, 0, 0, .7);
  }
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font-body);
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }
a:hover { color: var(--red-text); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  color: inherit;
}

p { margin: 0; }

code, kbd { font-family: var(--font-mono); font-size: .88em; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }
.skip-link:hover { color: var(--bg); }

/* ---------- Layout ---------- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }

.band-surface {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band-ink { background: var(--ink); color: var(--bg); }
.band-ink :focus-visible { outline-color: var(--bg); }
.band-ink a:hover { color: inherit; opacity: .8; }

.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-14 { gap: 14px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-40 { gap: 40px; }
.gap-48 { gap: 48px; }

.measure { max-width: 680px; }
.measure-narrow { max-width: 520px; }

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}

.grid-figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
}

.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.split > * { min-width: 0; }
.split-top { align-items: flex-start; }

/* ---------- Type ---------- */

.display {
  font-size: clamp(42px, 6.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.display .quiet { display: block; color: var(--muted); }

.page-title {
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.h3 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.h4 {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--muted);
  text-wrap: pretty;
}

.muted { color: var(--muted); }
.small { font-size: 15px; }
.caption { font-size: 13.5px; color: var(--muted); }
.mono { font-family: var(--font-mono); font-size: 13px; }
.pretty { text-wrap: pretty; }

.eyebrow {
  font: 500 12.5px/1.4 var(--font-mono);
  letter-spacing: .04em;
  color: var(--muted);
  text-transform: uppercase;
}

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

.brand {
  flex: none;
  display: block;
  text-decoration: none;
  border-radius: 6px;
}
.brand img { height: 26px; width: auto; }

.nav-links {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  font-size: 15px;
  scrollbar-width: none;
}
.nav-links a {
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  color: var(--muted);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: var(--chip);
}

@media (max-width: 640px) {
  .site-header { position: static; }
  .site-nav {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 16px;
    padding-block: 12px 6px;
  }
  .nav-links {
    order: 3;
    flex: 1 1 100%;
    margin-inline: -8px;
    font-size: 14.5px;
    gap: 2px;
  }
  .nav-links a { padding: 8px; }
}

/* ---------- Buttons ---------- */

.btn {
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font: 600 15px/1 var(--font-body);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-lg { height: 48px; padding: 0 20px; font-size: 17px; }

.btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-primary:hover { color: var(--bg); opacity: .88; }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { color: var(--ink); background: var(--chip); }

.btn[aria-disabled="true"] {
  background: var(--chip);
  color: var(--muted);
  border-color: var(--line);
  cursor: default;
  opacity: 1;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ---------- Cards, chips, lists ---------- */

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}
.band-surface .card { background: var(--bg); }
.card-surface { background: var(--surface); }
.card p { font-size: 15.5px; color: var(--muted); text-wrap: pretty; }

.chip {
  display: inline-block;
  font-size: 13px;
  line-height: 1.5;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--chip);
}
.chip-struck {
  background: transparent;
  border: 1px solid var(--line);
  text-decoration: line-through;
  color: var(--muted);
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

.facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px 24px;
}
.facts > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.facts dt { font-weight: 650; }
.facts dd { margin: 0; font-size: 15px; color: var(--muted); }

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}
.list > li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.list > li:last-child { border-bottom: 1px solid var(--line); }
.list b { font-weight: 650; }
.list span, .list p { font-size: 15.5px; color: var(--muted); }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}
.steps > li {
  counter-increment: step;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}
.steps > li::before {
  content: counter(step);
  font: 500 13px/1 var(--font-mono);
  color: var(--muted);
}
.steps p { font-size: 15.5px; color: var(--muted); text-wrap: pretty; }

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 24px 48px;
}

.marker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 13px/1.4 var(--font-body);
  color: var(--muted);
}
.marker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
}
.marker-never::before { background: var(--red); }
.marker-never { color: var(--red-text); }

.note {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 15px;
  color: var(--muted);
}
.note b { color: var(--ink); font-weight: 650; }

.placeholder {
  display: inline-block;
  padding: 1px 8px;
  border: 1px dashed var(--muted);
  border-radius: 6px;
  font: 500 13.5px/1.6 var(--font-mono);
  color: var(--ink);
  background: var(--chip);
}

/* Prose pages (privacy, security) */
.prose { max-width: 680px; display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.025em; margin-top: 28px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose .muted { font-size: 15px; }

.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px); }
.section-tight { padding-bottom: var(--section); }

/* ---------- Home ---------- */

.hero {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: var(--section);
  gap: clamp(40px, 5vw, 64px);
}
.hero-text { flex: 1 1 400px; }
.hero-figure { flex: 1.35 1 560px; margin: 0; }
.hero-caption { margin-top: 12px; }

.ai-text { flex: 1 1 360px; }
.ai-figure { flex: 1 1 420px; margin: 0; }
.band-copy { opacity: .82; }

.co-text { flex: 1 1 380px; }
.co-figure { flex: 1.1 1 440px; }

.hiw-text { flex: 1 1 340px; }
.hiw-figure { flex: 1.3 1 520px; margin: 0; }
.facts-single { grid-template-columns: minmax(0, 1fr); }

/* ---------- Home: "What travels where" diagram ---------- */

.flow {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 16px;
}
.flow > * { min-width: 0; }
.flow-laptop {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
}
.flow-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.flow-client {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-size: 15px;
}
.band-surface .flow-client { background: var(--bg); }
.flow-model {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-size: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
}
.flow-model b { font-weight: 600; }
.flow-model span { opacity: .8; font-size: 13.5px; }
.flow-paths {
  flex: 1.2 1 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 8px 4px;
}
.flow-path { display: flex; flex-direction: column; gap: 8px; }
.flow-path .caption { font-size: 13px; }
.arrow { display: flex; align-items: center; }
.arrow::before { content: ""; flex: 1; height: 2px; background: var(--ink); }
.arrow::after {
  content: "";
  width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--ink);
}
.arrow-blocked { position: relative; display: flex; align-items: center; height: 26px; }
.arrow-blocked::before { content: ""; flex: 1; border-top: 2px dashed var(--muted); }
.arrow-blocked span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 14px/1 var(--font-body);
}
@media (prefers-color-scheme: dark) { .arrow-blocked span { color: #111417; } }
.flow-console {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 18px;
  border: 1.5px dashed var(--muted);
  border-radius: 14px;
}
.flow-console .small { font-size: 15px; }

/* ---------- Product visuals (always light, like screenshots) ---------- */

.pv-frame {
  background: #ffffff;
  color: #1f1f1f;
  border: 1px solid #d9dce1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pv-frame :focus-visible { outline-color: #15191D; }

.pv-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
  background: #eef0f3;
  border-bottom: 1px solid #dfe2e6;
}
.pv-dots { display: flex; gap: 6px; }
.pv-dots span { width: 10px; height: 10px; border-radius: 50%; background: #cfd3d9; }
.pv-url {
  flex: 1;
  max-width: 340px;
  height: 24px;
  border-radius: 12px;
  background: #ffffff;
  font: 12.5px/24px system-ui, sans-serif;
  color: #5e6670;
  padding: 0 12px;
  overflow: hidden;
  white-space: nowrap;
}

.gm {
  padding: 22px clamp(14px, 3vw, 28px) 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font: 15px/1.5 var(--font-mail);
  color: #1f1f1f;
}
.gm-subject { font-size: clamp(17px, 2vw, 20px); line-height: 1.3; }
.gm-from { display: flex; align-items: center; gap: 12px; }
.gm-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #12807a;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 15px;
  flex: none;
}
.gm-sender { flex: 1; min-width: 0; font-size: 13.5px; overflow-wrap: anywhere; }
.gm-sender b { font-weight: 600; }
.gm-sender span, .gm-time { color: #5e5e5e; }
.gm-time { font-size: 12.5px; flex: none; }

.gm-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 14px;
  background: #b3261e;
  color: #ffffff;
  border-radius: 12px;
}
.gm-banner :focus-visible { outline-color: #ffffff; }
.gm-bang {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #ffffff;
  color: #b3261e;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  flex: none;
}
.gm-banner-text { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.gm-banner-title { font-weight: 600; font-size: 15px; line-height: 1.35; }
.gm-banner-detail { font-size: 13px; line-height: 1.45; color: #ffe4e0; overflow-wrap: anywhere; }
.gm-banner-detail .d { font: 500 12.5px var(--font-mono); color: #fff; }
.gm-banner-detail .d-strong { font-weight: 600; }
.gm-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.gm-pill {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .12);
  color: #ffffff;
  font: 500 13px/1 var(--font-mail);
  cursor: pointer;
  white-space: nowrap;
}
.gm-pill:hover { background: rgba(255, 255, 255, .24); }
.gm-pill-solid {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #8f1d17;
  font: 600 13px/1 var(--font-mail);
  white-space: nowrap;
}

.gm-body { display: flex; flex-direction: column; gap: 10px; line-height: 1.75; }

/* Inline marks, from the in-mail redesign */
.mk {
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
  background: rgba(184, 110, 0, .13);
  border-bottom: 2px solid #b86e00;
}
.mk-high { background: rgba(179, 38, 30, .09); border-bottom-color: #b3261e; }
.mk-tag {
  font-size: 10.5px;
  font-weight: 650;
  color: #8a5300;
  vertical-align: super;
  line-height: 0;
  margin-left: 3px;
  white-space: nowrap;
}
.mk-tag-high { color: #a0281f; }
.mk-link {
  color: #0b57d0;
  text-decoration: underline wavy #b3261e;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

/* The hero message starts with the marks hidden, as in the mock. */
.gm-body:not(.is-marked) .mk { background: none; border-bottom: 0; padding: 0; }
.gm-body:not(.is-marked) .mk-tag { display: none; }
.gm-body:not(.is-marked) .mk-link { text-decoration: underline; text-underline-offset: auto; text-decoration-thickness: auto; }

/* Small product cards ("What you see") */
.pv-card {
  background: #ffffff;
  color: #1f1f1f;
  border: 1px solid #dcdfe3;
  border-radius: 12px;
  font-family: var(--font-mail);
}
.figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.figure > .pv-card { flex: 1; }
.figure figcaption { display: flex; flex-direction: column; gap: 2px; }
.figure figcaption .h4 { display: block; }
.figure figcaption span:last-child { font-size: 15px; color: var(--muted); }

.inbox { padding: 8px 0; font-size: 13.5px; }
.inbox-row {
  display: grid;
  grid-template-columns: 14px 104px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
}
.inbox-row + .inbox-row { border-top: 1px solid #eef0f2; }
.inbox-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-row .t { font-size: 12px; color: #5e5e5e; }
.inbox-row .s { color: #444; }
.inbox-row.unread { font-weight: 700; }
.inbox-row.unread .t, .inbox-row.unread .s { color: #1f1f1f; }
.dot { display: block; width: 8px; height: 8px; border-radius: 50%; }
.dot-danger { background: #b3261e; }
.dot-warn { background: #b86e00; }

.mini-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 16px;
}
.mini-banner .subj { font-size: 14px; color: #1f1f1f; }
.mini-banner .bar {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  background: #b3261e;
  color: #ffffff;
  border-radius: 10px;
}
.mini-banner .gm-bang { width: 24px; height: 24px; font-size: 14px; }
.mini-banner .gm-banner-title { font-size: 14px; }
.mini-banner .gm-banner-detail { font-size: 12.5px; }
.mini-banner .gm-banner-detail .d { font-size: 12px; font-weight: 600; }

.mini-marks {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  font-size: 14.5px;
  line-height: 1.85;
}

/* "Also for AI assistants" */
.ai-mail {
  background: #ffffff;
  color: #1f1f1f;
  border: 1px solid #d9dce1;
  border-radius: 12px;
  padding: 20px 22px;
  font: 15px/1.65 var(--font-mail);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ai-hidden {
  position: relative;
  padding: 12px 14px 10px;
  border: 1.5px dashed #b3261e;
  border-radius: 8px;
  background: rgba(179, 38, 30, .05);
}
.ai-hidden-label {
  position: absolute;
  top: -10px;
  left: 10px;
  padding: 0 6px;
  background: #ffffff;
  font: 650 11.5px/18px system-ui, sans-serif;
  color: #a0281f;
}
.ai-hidden-text { font: 13px/1.5 var(--font-mono); color: #5c1f1b; }
.ai-mail:not(.is-revealed) .ai-hidden {
  height: 2px;
  padding: 0;
  border: 0;
  background: none;
  overflow: hidden;
}
.ai-mail:not(.is-revealed) .ai-hidden-label { display: none; }
.ai-mail:not(.is-revealed) .ai-hidden-text { font-size: 1px; line-height: 1px; color: #ffffff; }

.btn-ghost-band {
  align-self: flex-start;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--bg) 45%, transparent);
  background: transparent;
  color: var(--bg);
  font: 600 14.5px/1 var(--font-body);
  cursor: pointer;
  white-space: nowrap;
}
.btn-ghost-band:hover { background: color-mix(in srgb, var(--bg) 10%, transparent); }

/* Console example (drawn in the site's style, follows the theme) */
.console {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.console-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.console-head b { font: 700 16px/1.2 var(--font-head); letter-spacing: -0.02em; }
.console-head span { font-size: 13px; color: var(--muted); }
.console-scroll { overflow-x: auto; overflow-y: hidden; }
.console table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 420px; }
.console th {
  text-align: left;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 8px;
}
.console td { padding: 11px 8px; border-top: 1px solid var(--line); white-space: nowrap; }
.console th:first-child, .console td:first-child { padding-left: 18px; }
.console th:last-child, .console td:last-child { padding-right: 18px; }
.console td.mono { font-size: 13px; }
.console-foot { padding: 12px 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.verdict::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
  background: var(--red);
}
.verdict-warn::before { background: #b86e00; }
.verdict-safe::before { background: #1D7A3A; }
@media (prefers-color-scheme: dark) {
  .verdict-warn::before { background: #E0A040; }
  .verdict-safe::before { background: #4CB873; }
}

/* Details panel (How it works) */
.dp {
  padding: 18px clamp(14px, 2.4vw, 22px) 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font: 14px/1.5 var(--font-mail);
  color: #1d2125;
}
.dp-title { font-size: 15px; font-weight: 650; }
.dp-group { display: flex; flex-direction: column; gap: 4px; }
.dp-group-name { font-size: 12px; font-weight: 600; color: #5c636a; letter-spacing: .02em; }
.dp-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
}
.dp-row + .dp-row { border-top: 1px solid #eef0f2; }
.dp-sev {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 21px;
  font-size: 12px;
  font-weight: 650;
  color: #b3261e;
}
.dp-sev::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #b3261e; flex: none; }
.dp-sev-med { color: #8a5300; }
.dp-sev-med::before { background: #b86e00; }
.dp-sev-info { color: #5c636a; }
.dp-sev-info::before { background: none; border: 1.5px solid #8a9198; }
.dp-reason { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; min-width: 0; }
.dp-reason-col { min-width: 0; display: flex; flex-direction: column; }
.v-mono { font: 500 13px var(--font-mono); overflow-wrap: anywhere; }
.dp-quote {
  white-space: nowrap;
  font-size: 13px;
  background: rgba(184, 110, 0, .13);
  border-bottom: 2px solid #b86e00;
  border-radius: 2px;
  padding: 0 3px;
}
.dp-quote-high { background: rgba(179, 38, 30, .09); border-bottom-color: #b3261e; }
@media (max-width: 480px) {
  .dp-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
.dp-link {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 4px 14px;
  padding: 10px 12px;
  margin-top: 8px;
  background: #f6f7f8;
  border-radius: 8px;
  font-size: 13px;
  align-items: baseline;
}
.dp-link .k { color: #5c636a; font-size: 12px; }
.dp-link .v { font-family: var(--font-mono); overflow-wrap: anywhere; }
.dp-swap { background: #b3261e; color: #fff; border-radius: 2px; padding: 0 1px; }
.dp-note { font-size: 12.5px; color: #5c636a; margin-top: 8px; text-wrap: pretty; }
.dp-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #eef0f2;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.dp-btn {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #b3261e;
  background: #b3261e;
  color: #fff;
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
}
.dp-btn-out { background: #fff; color: #b3261e; }
.dp-spacer { flex: 1 1 12px; }
.dp-quiet { font-size: 13px; color: #5c636a; text-decoration: underline; text-underline-offset: 3px; }
.dp-local { font-size: 12px; color: #5c636a; }

/* ---------- Pricing ---------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}
.tier {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.tier-price { font: 700 28px/1.1 var(--font-head); letter-spacing: -0.03em; }
.tier ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15.5px; color: var(--muted); }
.tier li { padding-left: 18px; position: relative; }
.tier li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--muted); }

.notify {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}
.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 260px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.input {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--muted);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: 16px/1 var(--font-body);
  width: 100%;
}
.input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.form-status { flex: 1 1 100%; min-height: 1.6em; font-size: 15px; }
.notify-card { max-width: 720px; }

/* ---------- Download ---------- */

.dl-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.dl-card > div { min-width: 0; flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.dl-notes {
  margin: 6px 0 0;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 14px;
  font-size: 14.5px;
}
.dl-notes > div { display: contents; }
.dl-notes dt { font-weight: 650; }
.dl-notes dd { margin: 0; color: var(--muted); }
.dl-side { flex: 0 1 auto !important; align-items: flex-start; }
.rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.row b { font-weight: 650; }
.status { font-size: 14px; color: var(--muted); }

.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 200px;
  height: 56px;
  padding: 0 18px;
  border: 1px dashed var(--muted);
  border-radius: 10px;
  color: var(--ink);
  background: var(--bg);
}
.store b { font-size: 15px; font-weight: 650; line-height: 1.2; }
.store span { font-size: 12.5px; color: var(--muted); }

ol.howto { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 15.5px; }
ol.howto b { color: var(--ink); font-weight: 650; }

pre.cmd {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font: 13px/1.5 var(--font-mono);
  overflow-x: auto;
  white-space: pre;
}

/* ---------- Docs ---------- */

.doc-card { text-decoration: none; }
.doc-card .status { margin-top: auto; padding-top: 6px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner {
  padding-block: 40px 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand img { height: 24px; width: auto; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px 32px;
  font-size: 15px;
  flex: 0 1 520px;
}
.footer-nav a { text-decoration: none; color: var(--muted); padding-block: 2px; }
.footer-nav a:hover { color: var(--ink); }

/* ---------- Motion ---------- */

/* Keep a focused or linked element clear of the sticky header. */
html { scroll-padding-top: 80px; }
@media (max-width: 640px) { html { scroll-padding-top: 16px; } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media print {
  .site-header, .site-footer, .skip-link { display: none; }
  body { background: #fff; color: #000; }
}
