/* Countersign. Security-paper palette: cool paper, navy ink, guilloche teal,
   and one ultraviolet fiber colour kept for the pass and the focus ring.
   Atkinson Hyperlegible throughout, because the content is ids and keys
   that must never be misread. */

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/static/fonts/atkinson-next.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  src: url("/static/fonts/atkinson-mono.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f2f4ef;
  --panel: #fbfcf9;
  --sunk: #e7ebe5;
  --ink: #1a2238;
  --ink-2: #4b5569;
  --line: #c9d1cc;
  --teal: #1f6e6a;
  --teal-deep: #17524f;
  --on-teal: #ffffff;
  --fiber: #6d4aff;
  --alert: #b3261e;
  --alert-wash: #f8e7e4;
  --warn: #835600;
  --warn-wash: #f6eedb;
  --ok: #276338;
  --shadow: 0 1px 0 var(--line), 0 22px 44px -28px rgba(26, 34, 56, 0.5);

  --sans: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
  --mono: "Atkinson Hyperlegible Mono", "Cascadia Mono", Consolas, ui-monospace, monospace;

  /* 1.25 scale on a 17px body */
  --s-2: 0.64rem;
  --s-1: 0.8rem;
  --s1: 1.25rem;
  --s2: 1.5625rem;
  --s3: 1.953rem;
  --s4: 2.441rem;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --measure: 38rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #131926;
    --panel: #1a2232;
    --sunk: #0f1420;
    --ink: #e5e9f1;
    --ink-2: #a4adbf;
    --line: #2e384b;
    --teal: #5fc0b6;
    --teal-deep: #8ad6ce;
    --on-teal: #0d2422;
    --fiber: #a28dff;
    --alert: #ff8a7a;
    --alert-wash: #3a1d1f;
    --warn: #e6b65c;
    --warn-wash: #33291a;
    --ok: #7fd18f;
    --shadow: 0 1px 0 var(--line), 0 22px 44px -28px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; width: 100%; }

a { color: var(--teal); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-deep); text-decoration-thickness: 2px; }

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

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.012em; }
h1 { font-size: var(--s4); font-weight: 800; }
h2 { font-size: var(--s2); font-weight: 750; }
h3 { font-size: var(--s1); font-weight: 700; }
p { margin: 0 0 1em; max-width: var(--measure); }
small, .small { font-size: var(--s-1); }
.muted { color: var(--ink-2); }

code, kbd, .mono { font-family: var(--mono); font-size: 0.92em; }
code { overflow-wrap: anywhere; }
code { background: var(--sunk); padding: 0.08em 0.35em; border-radius: 4px; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 30rem; }

/* ---- top bar ---- */

.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; flex-wrap: wrap; }
.mark { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 1.1rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.mark:hover { color: var(--ink); }
.mark svg { width: 1.6rem; height: 1.6rem; color: var(--teal); }
.top nav { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; flex-wrap: wrap; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.top nav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); }
.top nav a:hover { color: var(--teal); }
.top nav a.btn:not(.quiet), .top nav a.btn:not(.quiet):hover { color: var(--on-teal); box-shadow: none; }
.top nav form { margin: 0; }

/* ---- buttons ---- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  font: inherit; font-weight: 700; line-height: 1.2;
  padding: 0.62em 1.05em; border-radius: 6px;
  border: 1.5px solid var(--teal); background: var(--teal); color: var(--on-teal);
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--on-teal); text-decoration: none; }
.btn.quiet { background: transparent; color: var(--teal); }
.btn.quiet:hover { background: var(--sunk); color: var(--teal-deep); }
.btn.danger { background: transparent; color: var(--alert); border-color: var(--alert); }
.btn.danger:hover { background: var(--alert-wash); }
.btn.small { padding: 0.35em 0.7em; font-size: var(--s-1); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.linkish { font: inherit; background: none; border: 0; padding: 0; color: var(--ink); font-weight: 600; cursor: pointer; }
.linkish:hover { color: var(--teal); }
.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; margin-top: 1.5rem; }

/* ---- landing ---- */

.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.3rem); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 0.3em; }
.signed-line { display: flex; align-items: baseline; gap: 0.75rem; margin: 0 0 1.6rem; color: var(--ink-2); max-width: 30rem; }
.signed-line::before { content: ""; flex: 1; border-bottom: 1.5px solid var(--ink); transform: translateY(-0.3em); }
.signed-line span { font-family: var(--mono); font-size: var(--s-1); white-space: nowrap; }
.lede { font-size: var(--s1); line-height: 1.5; max-width: 33rem; }

.pass {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8.75rem;
  background: var(--panel);
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-width: 34rem;
  justify-self: end;
  width: 100%;
  margin: 0;
}
.pass-main { padding: 1.4rem 1.5rem 1.25rem; min-width: 0; }
.pass-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 800; }
.pass-head span { font-family: var(--mono); font-weight: 400; color: var(--ink-2); font-size: var(--s-1); }
.guilloche {
  display: block; width: 100%; height: 3.25rem; margin: 0.6rem 0 0.9rem;
  background-color: var(--teal); opacity: 0.45;
  -webkit-mask: url("/static/guilloche.svg") center / 100% 100% no-repeat;
  mask: url("/static/guilloche.svg") center / 100% 100% no-repeat;
}
.pass dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.3rem 1.1rem; margin: 0; }
.pass dt { color: var(--ink-2); font-size: var(--s-1); padding-top: 0.12em; }
.pass dd { margin: 0; overflow-wrap: anywhere; }
.pass dd.hex { font-family: var(--mono); font-size: 0.9rem; }
.pass .sig { margin: 0.8rem 0 0; padding-top: 0.6rem; border-top: 1px dashed var(--line); font-family: var(--mono); font-size: var(--s-2); line-height: 1.45; color: var(--ink-2); overflow-wrap: anywhere; letter-spacing: 0.02em; }
.pass-stub {
  position: relative;
  border-left: 2px dashed var(--line);
  display: grid; place-items: center;
  padding: 1rem 0.5rem;
}
/* the windowed security thread */
.pass-stub::before {
  content: ""; position: absolute; left: 0.9rem; top: 1rem; bottom: 1rem; width: 3px;
  background: repeating-linear-gradient(to bottom, var(--fiber) 0 11px, transparent 11px 19px);
  opacity: 0.75; border-radius: 2px;
}
/* notches where the stub tears off */
.pass::before, .pass::after {
  content: ""; position: absolute; right: calc(8.75rem - 0.6rem); width: 1.2rem; height: 1.2rem;
  border-radius: 50%; background: var(--paper);
}
.pass::before { top: -0.6rem; }
.pass::after { bottom: -0.6rem; }
.seal { width: 7.2rem; height: 7.2rem; color: var(--teal); transform: rotate(-12deg); }
.seal text { font-family: var(--sans); font-weight: 700; font-size: 8.6px; fill: currentColor; }

@media (prefers-reduced-motion: no-preference) {
  .seal { animation: stamp 520ms cubic-bezier(0.2, 0.9, 0.25, 1.15) 450ms both; }
  @keyframes stamp {
    0% { opacity: 0; transform: rotate(-3deg) scale(1.7); }
    70% { opacity: 1; }
    100% { opacity: 1; transform: rotate(-12deg) scale(1); }
  }
}

.band { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.band h2 { font-size: var(--s3); letter-spacing: -0.02em; max-width: 26ch; }
.band > .wrap > p { color: var(--ink-2); }

.stops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 5vw, 4rem); margin-top: 2rem; }
.stops div { padding: 1.1rem 0 1.2rem; border-top: 1.5px solid var(--ink); }
.stops h3 { margin-bottom: 0.3rem; }
.stops p { color: var(--ink-2); margin: 0; }

.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1rem; padding: 1.05rem 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); font-weight: 800; font-size: var(--s2); color: var(--teal); line-height: 1; padding-top: 0.15rem; }
.steps h3 { margin-bottom: 0.25rem; }
.steps p { color: var(--ink-2); margin: 0; }
.steps .form { margin-top: 1rem; }
.steps p + p { margin-top: 0.6rem; }
code.cmd { white-space: nowrap; }
.doc section { margin-top: 3rem; scroll-margin-top: 1rem; }
.doc section > h2 { padding-bottom: 0.35rem; border-bottom: 1.5px solid var(--ink); }
.doc section > p, .doc section > ol, .doc section > ul { max-width: 44rem; }
.doc section > ol, .doc section > ul { padding-left: 1.4rem; }
.doc li { margin-bottom: 0.45rem; }
.auth .form + p { margin-top: 1.25rem; }
.auth .copyline + .form { margin-top: 1.25rem; }
.qr { display: block; width: 14rem; max-width: 100%; height: auto; margin: 1rem 0; border-radius: 8px; }
.doc section code { overflow-wrap: anywhere; }
.doc section pre code, .doc section td code { overflow-wrap: normal; }
.doc-contents { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin-top: 1rem; padding: 0.9rem 1.1rem; background: var(--sunk); border-radius: 8px; }
code.sum { overflow-wrap: anywhere; }

.stack { font-weight: 700; }

/* ---- tables ---- */

.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: var(--s-1); font-weight: 700; color: var(--ink-2); padding: 0.55rem 0.9rem 0.55rem 0; border-bottom: 1.5px solid var(--ink); white-space: nowrap; }
td { padding: 0.7rem 0.9rem 0.7rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
td.num, th.num { text-align: right; }
td.num, .meter-label, .figure b { font-variant-numeric: tabular-nums; }
.table-wrap td { white-space: nowrap; }
.table-wrap td.wrap { white-space: normal; min-width: 14rem; }
tr.current td { background: var(--sunk); }
tr.current td:first-child { box-shadow: inset 3px 0 0 var(--teal); padding-left: 0.6rem; }
td form { margin: 0; }
.plan-name { font-weight: 800; }

/* ---- forms ---- */

.form { max-width: 40rem; }
.field { margin: 0 0 1.25rem; }
.field > label, .field > .label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.hint { display: block; color: var(--ink-2); font-size: var(--s-1); margin-top: 0.3rem; max-width: var(--measure); }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], select, textarea {
  font: inherit; color: var(--ink); background: var(--panel);
  border: 1.5px solid var(--line); border-radius: 5px; padding: 0.55em 0.7em; width: 100%;
}
textarea { font-family: var(--mono); font-size: 0.9rem; min-height: 6.5rem; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-2); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--fiber); outline-offset: 0; }
input.mono { font-family: var(--mono); }
.check { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0 0 0.9rem; }
.check input { width: 1.15rem; height: 1.15rem; margin: 0.18rem 0 0; accent-color: var(--teal); flex: none; }
.check span { display: block; }
.check strong { display: block; }
.choices { display: grid; gap: 0.6rem; margin: 0; padding: 0; border: 0; }
.choices legend { font-weight: 700; margin-bottom: 0.5rem; padding: 0; }
.choice { display: grid; grid-template-columns: 1.15rem minmax(0, 1fr); gap: 0.7rem; padding: 0.75rem 0.9rem; border: 1.5px solid var(--line); border-radius: 8px; background: var(--panel); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.choice input { margin: 0.2rem 0 0; accent-color: var(--teal); }
.choice strong { display: block; }
.choice span { color: var(--ink-2); font-size: var(--s-1); }
fieldset.group { border: 0; border-top: 1.5px solid var(--ink); padding: 1.25rem 0 0.25rem; margin: 2rem 0 0; min-width: 0; }
fieldset.group > legend { font-weight: 800; font-size: var(--s1); padding: 0 0.5rem 0 0; }
details.more { margin: 1.5rem 0 0; border-top: 1px solid var(--line); padding-top: 1rem; }
details.more summary { cursor: pointer; font-weight: 700; color: var(--teal); }
details.more[open] summary { margin-bottom: 1rem; }
fieldset.group:has(input[name="playfab"]:not(:checked)) .pf-only { display: none; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }

/* ---- notices ---- */

.notice { border-left: 4px solid var(--teal); background: var(--panel); padding: 0.85rem 1.1rem; margin: 0 0 1.5rem; border-radius: 0 6px 6px 0; max-width: 48rem; }
.notice p:last-child { margin-bottom: 0; }
.notice.error { border-color: var(--alert); background: var(--alert-wash); }
.notice.warn { border-color: var(--warn); background: var(--warn-wash); }
.notice strong { display: block; margin-bottom: 0.15rem; }

.once { border: 2px solid var(--fiber); border-radius: 10px; padding: 1rem 1.2rem; margin: 0 0 1.75rem; background: var(--panel); max-width: 48rem; }
.once h2 { font-size: var(--s1); }

.copyline { display: flex; gap: 0.5rem; align-items: stretch; margin: 0.35rem 0 0.25rem; max-width: 48rem; }
.copy { display: none; }
.js .copy { display: inline-flex; }
.copyline code { flex: 1; display: block; padding: 0.55em 0.75em; border-radius: 5px; overflow-wrap: anywhere; background: var(--sunk); font-size: 0.88rem; }
pre { background: var(--sunk); border-radius: 8px; padding: 1rem 1.1rem; overflow-x: auto; font-family: var(--mono); font-size: 0.84rem; line-height: 1.55; margin: 0.5rem 0 1rem; max-width: 52rem; }
pre code { background: none; padding: 0; font-size: inherit; }

/* ---- app pages ---- */

.page { padding-top: 2rem; padding-bottom: 4rem; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.page-head h1 { font-size: var(--s3); margin: 0; }
.page-head .sub { color: var(--ink-2); margin: 0.25rem 0 0; overflow-wrap: anywhere; }
.status { display: inline-block; font-size: var(--s-1); font-weight: 700; padding: 0.12em 0.65em; border-radius: 999px; border: 1.5px solid currentColor; vertical-align: 0.2em; margin-left: 0.4rem; white-space: nowrap; }
.status.live { color: var(--ok); }
.status.paused { color: var(--warn); }
.status.suspended { color: var(--alert); }

.tabs { display: flex; gap: 0.25rem 1.5rem; border-bottom: 1px solid var(--line); margin: 0 0 2rem; overflow-x: auto; }
.tabs a { padding: 0.6rem 0; color: var(--ink-2); text-decoration: none; font-weight: 700; white-space: nowrap; border-bottom: 2.5px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--teal); }

.figures { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 1rem 3rem; margin: 0 0 1.5rem; }
.figures + .actions { margin: 0 0 3rem; }
.figure { min-width: 9rem; }
.figure b { display: block; font-size: var(--s3); font-weight: 800; line-height: 1.1; }
.figure span { color: var(--ink-2); font-size: var(--s-1); }

.meter { max-width: 32rem; margin: 0.25rem 0 1.5rem; }
.meter-label { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--s-1); color: var(--ink-2); margin-bottom: 0.3rem; }
.meter-label strong { color: var(--ink); }
progress { appearance: none; -webkit-appearance: none; width: 100%; height: 0.6rem; border: 0; border-radius: 99px; background: var(--sunk); overflow: hidden; display: block; }
progress::-webkit-progress-bar { background: var(--sunk); border-radius: 99px; }
progress::-webkit-progress-value { background: var(--teal); border-radius: 99px; }
progress::-moz-progress-bar { background: var(--teal); border-radius: 99px; }
progress.over::-webkit-progress-value { background: var(--alert); }
progress.over::-moz-progress-bar { background: var(--alert); }

.section { margin: 0 0 2.75rem; }
form + .section { margin-top: 2.75rem; }
.section > h2 { padding-bottom: 0.35rem; border-bottom: 1.5px solid var(--ink); }
.setup { list-style: none; padding: 0; margin: 0; counter-reset: setup; }
.setup > li { counter-increment: setup; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.75rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.setup > li::before { content: counter(setup); font-weight: 800; color: var(--teal); font-size: var(--s1); line-height: 1.2; }
.setup h3 { margin-bottom: 0.3rem; }

.empty { padding: 2rem 0; color: var(--ink-2); }
.empty p { margin-bottom: 1rem; }

.inline-form { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: flex-end; max-width: 48rem; }
.inline-form .field { margin: 0; flex: 1 1 12rem; }

.danger-zone { border-top: 1.5px solid var(--alert); padding-top: 1.25rem; margin-top: 3rem; max-width: 40rem; }
.danger-zone h2 { color: var(--alert); font-size: var(--s1); }

.outcome-denied, .outcome-banned, .outcome-refused { color: var(--alert); font-weight: 700; }
.outcome-upstream, .outcome-sent_back { color: var(--warn); font-weight: 700; }

.grades { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 1.25rem 0; }
.grade-card { display: flex; align-items: center; gap: 0.9rem; }
.grade-card b { display: block; font-size: var(--s1); line-height: 1.2; }
.grade-card span:not(.grade) { color: var(--ink-2); font-size: var(--s-1); }
.grade { display: inline-grid; place-items: center; width: 3.4rem; height: 3.4rem; flex: none; border: 3px solid currentColor; border-radius: 50%; font-size: var(--s3); font-weight: 800; line-height: 1; }
.grade-a { color: var(--ok); }
.grade-b { color: var(--teal); }
.grade-c, .grade-d { color: var(--warn); }
.grade-f { color: var(--alert); }
.rating-line { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 1.5rem; }
.rating-line .grade { width: 2.4rem; height: 2.4rem; border-width: 2px; font-size: var(--s1); }
.tier { margin: 1.75rem 0 0.25rem; }
.attacks { list-style: none; padding: 0; margin: 0; }
.attacks > li { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.attacks p { margin: 0.35rem 0 0; color: var(--ink-2); max-width: var(--measure); }
.attack-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1.5rem; }
.attack-head h4 { margin: 0; font-size: 1rem; flex: 1 1 16rem; }
.attack-verdicts { display: flex; flex-direction: column; align-items: flex-end; gap: 0.1rem; }
.verdict-pair { color: var(--ink-2); font-size: var(--s-1); }
.verdict { font-weight: 700; white-space: nowrap; }
.verdict-pair .verdict { font-size: 1rem; }
.verdict-stopped { color: var(--ok); }
.verdict-partly { color: var(--warn); }
.verdict-open { color: var(--alert); }
.verdict-yours { color: var(--ink-2); }
.evidence { margin-top: 0.4rem; font-size: var(--s-1); color: var(--ink-2); }
.evidence summary { cursor: pointer; }
.evidence ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.evidence code { overflow-wrap: anywhere; }
.fixes li, .limits li { margin: 0.45rem 0; max-width: var(--measure); }
.fixes .muted { display: block; font-size: var(--s-1); }

.auth { padding-top: clamp(2rem, 8vw, 5rem); padding-bottom: clamp(2rem, 8vw, 5rem); }
.auth h1 { font-size: var(--s3); }

footer.foot { border-top: 1px solid var(--line); color: var(--ink-2); font-size: var(--s-1); }
footer.foot .wrap { display: flex; gap: 1rem 2rem; flex-wrap: wrap; justify-content: space-between; padding-top: 1.25rem; padding-bottom: 1.5rem; }
footer.foot a { color: var(--ink-2); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 52rem) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .pass { justify-self: stretch; min-width: 0; max-width: 100%; }
  .stops { grid-template-columns: minmax(0, 1fr); }
  .two { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 34rem) {
  .pass { grid-template-columns: minmax(0, 1fr); }
  .pass-stub { border-left: 0; border-top: 2px dashed var(--line); padding: 0.9rem; }
  .pass-stub::before { left: 1rem; right: 1rem; top: 0.75rem; bottom: auto; width: auto; height: 3px; background: repeating-linear-gradient(to right, var(--fiber) 0 11px, transparent 11px 19px); }
  .pass::before, .pass::after { display: none; }
  .seal { width: 5.6rem; height: 5.6rem; }
  .top nav { gap: 0.9rem; margin-left: 0; }
  .page-head .btn { width: 100%; }
  .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .figure { min-width: 0; }
  .figure b { font-size: var(--s2); }
  .attack-verdicts { align-items: flex-start; }
}
