/* E-Invoice API landing page and free validator.
   Concept: the page is a desk; your invoice comes back as an A4 report sheet with
   DIN 5008 fold marks and a rubber-stamp verdict. */

@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/fonts/fira-sans-latin-400-normal.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: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/fonts/fira-sans-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/static/fonts/fira-sans-latin-500-normal.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: "Fira Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/static/fonts/fira-sans-latin-ext-500-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/static/fonts/fira-sans-latin-700-normal.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: "Fira Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/static/fonts/fira-sans-latin-ext-700-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fira Code"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/fonts/fira-code-latin-400-normal.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: "Fira Code"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/static/fonts/fira-code-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fira Code"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/static/fonts/fira-code-latin-500-normal.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: "Fira Code"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/static/fonts/fira-code-latin-ext-500-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #FFFFFF;
  --desk: #EDF0F2;
  --ink: #1B2430;
  --ink-soft: #4A5563;
  --rule: #CBD3DA;
  --stamp: #2F4FB5;
  --stamp-deep: #253F94;
  --red: #B8322A;
  --amber: #8A5A00;
  --sans: "Fira Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Fira Code", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --pad: clamp(20px, 4vw, 40px);
  --radius: 6px;
}

*, *::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: 400 1rem/1.55 var(--sans);
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.05rem, 1.3rem + 2.9vw, 2.7rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.012em; text-wrap: balance; }
.nowrap { white-space: nowrap; }
h2 { font-size: 1.65rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.006em; }
h3 { font-size: 1.12rem; line-height: 1.3; font-weight: 500; }
p { margin: 0; }
code, pre, kbd { font-family: var(--mono); }

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

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

.wrap { max-width: 1160px; margin-inline: auto; padding-inline: var(--pad); }

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

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--ink); color: #fff;
  padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

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

.top { border-bottom: 1px solid var(--rule); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.wordmark { color: var(--ink); font-weight: 700; font-size: 1.06rem; text-decoration: none; letter-spacing: -0.005em; }
.wordmark:hover { color: var(--ink); }
.top nav { display: flex; align-items: center; gap: 26px; }
.top nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.94rem; }
.top nav a:hover { color: var(--ink); text-decoration: underline; }
.top nav .nav-cta { color: var(--stamp); border: 1px solid var(--stamp); border-radius: var(--radius); padding: 7px 13px; font-weight: 500; }
.top nav .nav-cta:hover { background: var(--stamp); color: #fff; text-decoration: none; }

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

.button {
  display: inline-flex; align-items: center; justify-content: center;
  font: 500 1rem/1.1 var(--sans); padding: 12px 18px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.button.primary { background: var(--stamp); color: #fff; }
.button.primary:hover { background: var(--stamp-deep); color: #fff; }
.button.secondary { background: var(--paper); color: var(--stamp); border-color: var(--stamp); }
.button.secondary:hover { background: #F1F4FB; }
.button.quiet { background: none; border: 0; padding: 4px 0; color: var(--stamp);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.button.quiet:hover { color: var(--stamp-deep); text-decoration-thickness: 2px; }
.button[disabled] { opacity: 0.55; cursor: progress; }

/* ------------------------------------------------------------ hero */

.hero-band { overflow: hidden; }   /* clips the desk where it runs off to the right */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  column-gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.hero-copy { padding-block: 64px 56px; max-width: 34rem; }
.lead { margin-top: 20px; font-size: 1.14rem; line-height: 1.55; color: var(--ink); max-width: 33rem; }

.drop { margin-top: 32px; }
.drop-target {
  display: grid; gap: 8px; justify-items: start;
  padding: 26px 26px 24px;
  border: 1.5px dashed #8E99A6; border-radius: var(--radius);
  background: var(--paper); cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease;
}
.drop-target:hover { border-color: var(--stamp); }
.drop-target.is-over { border-style: solid; border-color: var(--stamp); background: #F3F5FB; }
#file:focus-visible + .drop-target { outline: 3px solid var(--stamp); outline-offset: 3px; }
.drop-title { font-size: 1.18rem; font-weight: 500; }
.drop-title-touch { display: none; }
@media (hover: none) and (pointer: coarse) {
  .drop-title-pointer { display: none; }
  .drop-title-touch { display: inline; }
}
.drop-help { color: var(--ink-soft); font-size: 0.94rem; max-width: 30rem; }
.drop-actions { margin-top: 10px; }
#try-sample { margin-top: 14px; }

.rulesets { margin-top: 28px; font-size: 0.88rem; color: var(--ink-soft); max-width: 31rem; }

/* the desk: a surface that runs to the right edge of the window */
.desk { position: relative; isolation: isolate; align-self: stretch; padding: 48px 0 56px clamp(24px, 4vw, 56px); }
.desk::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; right: -50vw;
  background: var(--desk);
}

/* ------------------------------------------------------------ report sheet */

.sheet {
  position: relative;
  max-width: 35rem;
  aspect-ratio: 210 / 297;          /* A4; grows when the report is longer */
  background: var(--paper);
  border: 1px solid #D5DCE2;
  box-shadow: 0 1px 1px rgba(27, 36, 48, 0.06), 0 14px 28px -20px rgba(27, 36, 48, 0.45);
  padding: 34px 34px 38px 46px;
  font-size: 0.94rem;
  scroll-margin-top: 16px;
}
/* DIN 5008 fold marks: 105 mm and 210 mm from the top of an A4 sheet are
   50 % and 100 % of its width (margin percentages are taken from the width). */
.sheet::before, .sheet::after {
  content: ""; position: absolute; left: 0; top: 0; width: 14px; border-top: 1px solid #9AA5B1;
  margin-top: 50%;
}
.sheet::after { margin-top: 100%; }

.sheet-loading, .sheet-wait { color: var(--ink-soft); }

.sheet-example {
  margin: -6px 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--rule);
  color: var(--ink-soft); font-size: 0.88rem;
}

.verdict { display: flex; align-items: center; gap: 14px 24px; margin-top: 24px; }
.sheet-title { font-size: 1.22rem; font-weight: 700; line-height: 1.25; }
.sheet-meta { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; margin: 12px 0 0; font-size: 0.88rem; }
.sheet-meta dt { color: var(--ink-soft); }
.sheet-meta dd { margin: 0; overflow-wrap: anywhere; }

/* the rubber stamp */
.stamp {
  flex: none;
  margin: 0 0 0 2px;
  padding: 6px 14px 7px;
  border: 4px double currentColor;
  border-radius: 5px;
  color: var(--stamp);
  text-align: center;
  transform: rotate(-3deg);
  mix-blend-mode: multiply;
  opacity: 0.93;
}
.stamp.is-invalid { color: var(--red); }
.stamp-word { display: block; font-size: 1.55rem; line-height: 1.05; font-weight: 700; letter-spacing: 0.01em; }
.stamp-profile { display: block; margin-top: 3px; font-size: 0.74rem; font-weight: 500; }
.stamp.is-pressed { animation: stamp-press 300ms cubic-bezier(0.2, 0.75, 0.3, 1) both; }
@keyframes stamp-press {
  0%   { opacity: 0;    transform: rotate(-3deg) scale(1.4); }
  55%  { opacity: 0.93; transform: rotate(-3deg) scale(0.95); }
  100% { opacity: 0.93; transform: rotate(-3deg) scale(1); }
}

.sheet-summary { font-size: 1rem; }
.notes { margin: 10px 0 0; padding-left: 1.1em; color: var(--ink-soft); font-size: 0.88rem; }
.notes li + li { margin-top: 4px; }

.checks { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 0.86rem; }
.checks caption { text-align: left; font-weight: 500; padding-bottom: 6px; font-size: 0.94rem; }
.checks th, .checks td { text-align: left; padding: 7px 10px 7px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.checks thead th { color: var(--ink-soft); font-weight: 400; border-top: 0; padding-top: 0; }
.checks td.version { color: var(--ink-soft); font-family: var(--mono); font-size: 0.8rem; }
.checks td.result { padding-right: 0; white-space: nowrap; font-weight: 500; }
.result-pass { color: var(--stamp); }
.result-fail { color: var(--red); }
.result-skip { color: var(--ink-soft); }

.findings-title { margin-top: 26px; font-size: 0.94rem; font-weight: 500; }
.findings { list-style: none; margin: 8px 0 0; padding: 0; }
.finding { position: relative; padding: 13px 0 14px; border-top: 1px solid var(--rule); }
.finding:last-child { border-bottom: 1px solid var(--rule); }
.finding:focus { outline: none; }
.finding:focus-visible { outline: 3px solid var(--stamp); outline-offset: 4px; }
/* change bar in the left margin, as in technical documents */
.finding::before { content: ""; position: absolute; left: -22px; top: 15px; bottom: 15px; width: 3px; border-radius: 2px; background: var(--ink-soft); }
.finding.is-error::before { background: var(--red); }
.finding.is-warning::before { background: var(--amber); }
.finding.is-info::before { background: #9AA5B1; }

.finding-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.sev { font-weight: 500; }
.is-error .sev { color: var(--red); }
.is-warning .sev { color: var(--amber); }
.is-info .sev { color: var(--ink-soft); }
.rule-id { font-family: var(--mono); font-weight: 500; font-size: 0.86rem; }
.rule-link { color: var(--stamp); text-decoration: underline; text-underline-offset: 3px; }
.rule-link:hover { color: var(--stamp-deep); }
.where { color: var(--ink-soft); font-size: 0.86rem; }
.finding-text { margin-top: 5px; }
.finding-fix { margin-top: 5px; }
.finding-fix strong { font-weight: 500; }
.finding-official, .finding-path { margin-top: 6px; color: var(--ink-soft); font-size: 0.84rem; overflow-wrap: anywhere; }
.finding-path code { font-size: 0.8rem; }

.more { margin-top: 14px; }

.sheet-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 26px; }
.sheet-actions .button { font-size: 0.94rem; padding: 10px 15px; }
.sheet-actions .button.quiet { padding-inline: 0; }

.sheet-problem h2 { font-size: 1.22rem; }
.sheet-problem p { margin-top: 12px; }
.sheet-problem .button { margin-top: 18px; }

/* ------------------------------------------------------------ sections */

.band { padding-block: 80px 8px; }
.band > h2 { max-width: 30ch; }
.section-lead { margin-top: 12px; color: var(--ink-soft); max-width: 40rem; }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 32px; }
.trio > div { border-top: 2px solid var(--ink); padding-top: 16px; }
.trio p { margin-top: 10px; color: var(--ink-soft); }
.trio .endpoint { margin-top: 14px; }
.endpoint code { font-size: 0.86rem; color: var(--ink); background: var(--desk); padding: 3px 7px; border-radius: 4px; }

.code-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 48px; max-width: 48rem; }
.code-title { font-size: 1rem; }
pre {
  margin: 10px 0 0; padding: 18px 20px; overflow-x: auto;
  background: var(--desk); border-radius: var(--radius);
  font-size: 0.84rem; line-height: 1.65; color: var(--ink); tab-size: 2;
}
.docs-link { margin-top: 18px; color: var(--ink-soft); }

/* timeline: a real sequence, so it is an ordered list along a line */
.timeline {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
  position: relative;
}
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; border-top: 1px solid var(--rule); }
.timeline li { position: relative; padding-top: 30px; }
.timeline li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink-soft);
}
.timeline li.is-past::before { background: var(--ink); border-color: var(--ink); }
.timeline li.is-next::before { background: var(--red); border-color: var(--red); }
.timeline time { display: block; font-weight: 700; font-size: 1.12rem; }
.timeline .status { display: block; margin-top: 2px; font-size: 0.88rem; color: var(--ink-soft); }
.timeline .is-next .status { color: var(--red); font-weight: 500; }
.timeline p { margin-top: 8px; max-width: 22rem; }

.table-scroll { overflow-x: auto; margin-top: 28px; }
.prices { width: 100%; border-collapse: collapse; }
.prices th, .prices td { text-align: left; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prices thead th { font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; border-bottom-color: var(--ink); }
.prices tbody th { font-weight: 700; }

.signup {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px;
  margin-top: 28px; max-width: 46rem;
}
.field { display: grid; gap: 6px; align-content: start; }
.field.wide { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 0.94rem; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  padding: 11px 12px; border: 1px solid #A9B4BF; border-radius: var(--radius); background: var(--paper);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 5.5em; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--stamp); outline-offset: 0; border-color: var(--stamp); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field.submit { align-content: end; justify-items: start; }
.form-status { grid-column: 1 / -1; min-height: 1.55em; }
.form-status.is-ok { color: var(--stamp); font-weight: 500; }
.form-status.is-error { color: var(--red); }

/* ------------------------------------------------------------ footer */

.foot { margin-top: 96px; border-top: 1px solid var(--rule); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-block: 24px 40px; font-size: 0.86rem; color: var(--ink-soft); }
.foot a { color: var(--ink-soft); margin-left: 14px; }

/* ------------------------------------------------------------ small screens */

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-block: 44px 36px; max-width: none; }
  .desk { padding: 32px var(--pad) 40px; margin-inline: calc(-1 * var(--pad)); }
  .desk::before { right: 0; }
  .sheet { margin-inline: auto; }
  .trio { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 720px) {
  .top nav a:not(.nav-cta) { display: none; }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .timeline::before { left: 7px; right: auto; top: 8px; bottom: 8px; border-top: 0; border-left: 1px solid var(--rule); }
  .timeline li { padding: 0 0 0 34px; }
  .signup { grid-template-columns: minmax(0, 1fr); }
  .band { padding-top: 64px; }
}

@media (max-width: 480px) {
  .sheet { padding: 24px 20px 28px 30px; }
  .sheet::before, .sheet::after { width: 10px; }
  .finding::before { left: -16px; }
  .stamp-word { font-size: 1.3rem; }
  .verdict { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .stamp.is-pressed { animation: none; }
  .drop-target { transition: none; }
}

@media print {
  .top, .drop, #try-sample, .band, .foot, .sheet-actions, .more { display: none; }
  .desk::before { display: none; }
  .sheet { box-shadow: none; border: 0; aspect-ratio: auto; max-width: none; }
}

/* ------------------------------------------------------------ imprint and privacy */

.legal { max-width: 44rem; padding-block: 48px 24px; }
.legal h1 { font-size: 2.1rem; }
.legal h2 { font-size: 1.15rem; margin-top: 32px; }
.legal p { margin-top: 10px; }
.draft-note { padding: 12px 14px; border-left: 3px solid var(--amber); background: #FBF6EC; color: var(--ink); font-size: 0.94rem; }

/* ------------------------------------------------------------ rule reference (/rules) */

.rule-page { max-width: 46rem; padding-block: 36px 56px; overflow-wrap: anywhere; }
.rule-page h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.1rem); line-height: 1.2; margin-top: 10px; }
.rule-page h2 { font-size: 1.15rem; margin-top: 32px; }
.rule-page p, .rule-page dl, .rule-page ul, .rule-page blockquote { margin-top: 10px; }
.rule-page .lead { margin-top: 14px; }
.rule-code { font-family: var(--mono); font-weight: 500; }
.rule-back { font-size: 0.94rem; }
.rule-back a::before { content: "\2039\00a0"; }
.rule-official { margin-inline: 0; padding: 12px 16px; border-left: 3px solid var(--rule); background: var(--desk); color: var(--ink); font-size: 0.94rem; }
.rule-official-label { font-size: 0.86rem; font-weight: 500; color: var(--ink-soft); }
.rule-note, .rule-api, .rule-set-line { color: var(--ink-soft); }
.rule-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.rule-facts dt { color: var(--ink-soft); }
.rule-facts dd { margin: 0; }
.rule-severity { font-weight: 500; }
.rule-severity.is-error { color: var(--red); }
.rule-severity.is-warning { color: var(--amber); }
.rule-severity.is-info { color: var(--ink-soft); }
.rule-page .rule-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.rule-list { list-style: none; padding: 0; }
.rule-list li { padding: 8px 0; border-top: 1px solid var(--rule); }
.rule-list li:last-child { border-bottom: 1px solid var(--rule); }
.rule-list a { color: var(--ink); text-decoration: none; }
.rule-list a .rule-code { color: var(--stamp); }
.rule-list a:hover .rule-code, .rule-list a:focus-visible .rule-code { text-decoration: underline; }

@media (max-width: 480px) {
  .rule-facts { grid-template-columns: 1fr; gap: 2px; }
  .rule-facts dd { margin-bottom: 8px; }
}
.foot .home-link { margin-left: 0; }
