/* MWRiddle.com
 *
 * Design language: a detective agency's archive. Case files, exhibit
 * tags, dossiers. Built from a reference the author supplied
 * (breezymystery.lovable.app) -- palette and type measured directly off
 * that page with a canvas probe, not eyeballed.
 *
 * Two colour pairs in the reference failed WCAG AA when measured:
 *   muted-on-dark   3.62:1 (needs 4.5)
 *   red-on-dark     2.77:1 (needs 4.5)
 * Both are corrected below to compliant values that keep the same hue.
 * This audience is frequently past sixty, on a phone, next to an open
 * book -- the atmosphere has to survive that, not fight it.
 *
 * Dressed everywhere except the answer form on answer.php. Someone
 * mid-puzzle wants a fast box to type a name into, not atmosphere. The
 * theatre is spent on CASE CLOSED instead, which is what gets
 * screenshotted.
 *
 *   - 19px base, nothing under 16px anywhere
 *   - self-hosted fonts, no CDN, no JavaScript, nothing fetched offsite
 *   - touch targets at least 48px
 */

@font-face { font-family:"EB Garamond"; src:url("fonts/ebgaramond.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"EB Garamond"; src:url("fonts/ebgaramond-bold.woff2") format("woff2"); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:"Inter"; src:url("fonts/inter.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Inter"; src:url("fonts/inter-medium.woff2") format("woff2"); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:"Inter"; src:url("fonts/inter-semibold.woff2") format("woff2"); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:"Inter"; src:url("fonts/inter-bold.woff2") format("woff2"); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:"Courier Prime"; src:url("fonts/courierprime.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Courier Prime"; src:url("fonts/courierprime-bold.woff2") format("woff2"); font-weight:700; font-style:normal; font-display:swap; }

:root {
  --bg:      #EEEEF2;
  --card:    #FFFFFF;
  --subtle:  #E4E4E8;
  --ink:     #18181D;
  --panel:   #212127;   /* cards sitting inside a dark section */

  --muted:      #565560;  /* 6.3:1 on --bg   (measured base #70707D was 4.2:1) */
  --muted-dark: #A8A8B4;  /* 7.5:1 on --ink  (measured base #70707D was 3.6:1, FAIL) */

  --red:       #BE1022;   /* 5.5:1 on --bg, matches the reference exactly */
  --red-d:     #8F0C1A;   /* hover / pressed */
  --red-dark:  #F2646F;   /* 5.8:1 on --ink  (measured base #BE1022 was 2.8:1, FAIL) */

  --amber:      #8C6118;  /* 4.7:1 on --bg   (measured base #B07C1F was 3.2:1, FAIL) */
  --amber-dark: #E0A93D;  /* 8.4:1 on --ink  -- elimination line, dark section */

  --green:      #2E6B45;
  --green-dark: #5FAE7C;
  --focus:      #1C5FA8;

  --radius: 2px;
  --wrap:   68rem;

  --display: "EB Garamond", Georgia, "Times New Roman", serif;
  --mono:    "Courier Prime", ui-monospace, Menlo, Consolas, monospace;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
             "Helvetica Neue", Arial, sans-serif;
}

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

/* rem resolves against the ROOT, not body -- putting the base size on
 * body would leave every rem in this file computing off the browser
 * default of 16 instead. A percentage rather than px respects a reader
 * who has already enlarged their default text. */
html { font-size: 118.75%; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 1rem/1.6 var(--sans);
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px;
}
.skip { position: absolute; left: -9999px; background: var(--ink);
        color: #fff; padding: .7rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ------------------------------------------------------------ chrome */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238,238,242,.86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(24,24,29,.08);
}
.bar { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: center;
       justify-content: space-between; padding: .95rem 0; }
.brand {
  font-family: var(--display); font-size: 1.55rem; line-height: 1;
  color: var(--ink); text-decoration: none;
}
.brand span { color: var(--red); }
header nav { display: flex; gap: 1.5rem; align-items: center; }
header nav a {
  font-family: var(--mono); font-size: .86rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  padding: .6rem 0; border-bottom: 2px solid transparent;
}
header nav a:hover { color: var(--ink); }
header nav a.on { color: var(--ink); border-bottom-color: var(--red); }
header nav a.cta {
  display: inline-flex; align-items: center; min-height: 48px;
  color: #fff; background: var(--ink); border-bottom: 0;
  padding: .55rem 1rem; border-radius: var(--radius);
}
header nav a.cta:hover { background: var(--red); }

footer.site {
  margin-top: 4.5rem; padding: 2.4rem 0 2.8rem;
  background: var(--ink); color: var(--muted-dark); font-size: .95rem;
}
footer .footer-top {
  display: flex; flex-wrap: wrap; gap: 1rem 1.6rem;
  justify-content: space-between; align-items: center;
  padding-bottom: 1.4rem; margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
footer.site a { color: #fff; text-decoration: none; }
footer.site a:hover { color: var(--red-dark); }
footer .links { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem;
                font-family: var(--mono); font-size: .86rem;
                letter-spacing: .04em; text-transform: uppercase; }
footer .brand-mark { font-family: var(--display); font-size: 1.3rem; color: #fff; }
footer .fine { margin: 0; font-size: .86rem; max-width: 40rem; }

/* ------------------------------------------------------------ text */
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h1 { font-size: 2.6rem; line-height: 1.08; margin: 0 0 .9rem; }
h2 { font-size: 2rem; line-height: 1.16; margin: 0 0 .7rem; }
h3 { font-size: 1.35rem; line-height: 1.2; margin: 0 0 .5rem; }
p  { margin: 0 0 1rem; max-width: 42rem; }
a  { color: var(--red); }
a:hover { color: var(--red-d); }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }

/* The mono uppercase micro-label -- case numbers, exhibit tags, section
 * eyebrows. This is the single most repeated motif on the site. */
.eyebrow {
  display: block; font-family: var(--mono); font-size: .86rem;
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); margin-bottom: .9rem;
}
.eyebrow.on-dark { color: var(--red-dark); }
.eyebrow.muted { color: var(--muted); }

@media (min-width: 46rem) {
  h1 { font-size: 3.4rem; }
  h2 { font-size: 2.3rem; }
}

/* ------------------------------------------------------------ buttons */
.btn, button {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; min-height: 48px; padding: .8rem 1.4rem;
  font: 600 1rem/1.3 var(--sans); color: #fff; background: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--radius);
  text-decoration: none; cursor: pointer; text-align: center;
}
.btn:hover, button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary { background: var(--red); border-color: var(--red); }
.btn.primary:hover { background: var(--red-d); border-color: var(--red-d); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.big { font-size: 1.08rem; padding: 1rem 1.8rem; }
.btn .arrow { font-family: var(--mono); }

/* ------------------------------------------------------------ hero */
.hero { padding: 3.2rem 0 3.4rem; }
.hero-grid { display: grid; gap: 2.4rem; align-items: start; }
.hero-copy { max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }

/* The evidence board: the strike-through mechanic as a rotated exhibit
 * card, plus a second card naming the format. Both invented, never a
 * real answer -- checked by check_site_safety.py. */
.board { position: relative; min-height: 15rem; }
.exhibit {
  background: var(--card); border: 1px solid rgba(24,24,29,.08);
  border-radius: var(--radius); box-shadow: 0 14px 28px -16px rgba(24,24,29,.35);
  padding: 1rem 1.1rem;
}
.exhibit .tag {
  display: block; font-family: var(--mono); font-size: .86rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .5rem;
}
.exhibit.strikes {
  font-family: var(--mono); font-size: 1rem; line-height: 1.95;
  transform: rotate(-2deg);
}
.exhibit.strikes span { display: block; position: relative; color: var(--muted); }
.exhibit.strikes span.out::after {
  content: ""; position: absolute; left: -.2em; right: -.2em; top: 54%;
  height: 2px; background: var(--red); transform: rotate(-.8deg);
}
.exhibit.strikes span.stands { color: var(--ink); font-weight: 700; font-size: 1.12rem; }
.exhibit.strikes .found {
  display: block; margin-top: .5rem; font-size: .86rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--red);
}
.exhibit.note {
  position: relative; margin: -1.6rem 0 0 2.4rem; max-width: 15rem;
  transform: rotate(2.5deg); z-index: 2;
}
.exhibit.note h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.exhibit.note p { font-size: .92rem; color: var(--muted); margin: 0; }

@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
}

/* --------------------------------------------------- investigation */
.paths {
  background: var(--ink); color: var(--bg);
  padding: 3.6rem 0 3.8rem; margin-top: 3rem;
}
.paths .eyebrow { color: var(--red-dark); }
.paths h2 { color: #fff; }
.paths .lede { color: var(--muted-dark); }
.paths-head {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end;
  justify-content: space-between; margin-bottom: 2rem;
}
.dossier-count {
  font-family: var(--mono); font-size: .86rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted-dark);
}
.path-cards { display: grid; gap: 1.1rem; }
.path-card {
  background: var(--panel); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; flex-direction: column;
}
.path-badge {
  display: inline-block; align-self: flex-start; margin-bottom: .9rem;
  padding: .28rem .6rem; border: 1px solid currentColor; border-radius: var(--radius);
  font-family: var(--mono); font-size: .86rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
/* Dark context (the homepage's .paths section). */
.paths .path-badge.original { color: var(--red-dark); }
.paths .path-badge.jr       { color: var(--muted-dark); }
.paths .path-badge.advanced { color: var(--amber-dark); }

/* Light context (books.php's .line-head) -- same shape, colours picked
 * for contrast on --bg instead of --ink. */
.line-head .path-badge.original { color: var(--red); }
.line-head .path-badge.jr       { color: var(--muted); }
.line-head .path-badge.advanced { color: var(--amber); }
.path-card h3 { color: #fff; }
.path-card p { color: var(--muted-dark); font-size: .98rem; }
.path-card .go {
  margin-top: auto; padding-top: 1rem;
  font-family: var(--mono); font-size: .86rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: #fff; text-decoration: none;
}
.path-card .go:hover { color: var(--red-dark); }

@media (min-width: 56rem) { .path-cards { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------ quote */
.quote-section { padding: 3.6rem 0; text-align: center; }
blockquote.pull {
  font-family: var(--display); font-style: italic; font-size: 1.7rem;
  line-height: 1.35; max-width: 38rem; margin: 0 auto 1.6rem;
  color: var(--ink);
}
.quote-section .lede { margin: 0 auto 1.4rem; text-align: center; }

/* ------------------------------------------------------------ lines
 * (used on /books, distinct from the dark .paths section on /) */
.lines-intro { margin-bottom: 2.2rem; }
.line-block { margin: 3rem 0; padding-top: 2.2rem; border-top: 1px solid rgba(24,24,29,.1); }
.line-block:first-of-type { border-top: 0; padding-top: 0; }
.line-head { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap;
             margin-bottom: .3rem; }
.line-head h2 { margin: 0; }

/* ------------------------------------------------------------ books */
.book {
  display: grid; gap: 1.4rem; padding: 1.7rem 0;
  border-top: 1px solid rgba(24,24,29,.08);
}
.book:first-of-type { border-top: 0; }
.book .shelf { position: relative; }
.book img {
  width: 160px; height: auto; display: block; border-radius: 1px;
  box-shadow: 0 18px 30px -18px rgba(24,24,29,.5), 0 1px 0 rgba(24,24,29,.12);
}
.book h3 { margin-top: 0; }
.buys { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.buys .btn { min-width: 12.5rem; }

.stamp {
  display: inline-block; margin-bottom: .6rem;
  padding: .25rem .7rem; border: 2px solid var(--amber);
  border-radius: 2px; color: var(--amber);
  font-family: var(--mono); font-size: .86rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  transform: rotate(-2.5deg); opacity: .92;
}

@media (min-width: 34rem) { .book { grid-template-columns: 160px 1fr; } }

/* ------------------------------------------------------------ forms
 * Deliberately the plainest thing on the site. A reader mid-puzzle wants
 * a box and a button, not atmosphere. */
.panel {
  background: var(--card); border: 1px solid rgba(24,24,29,.12);
  border-radius: var(--radius); padding: 1.5rem; margin: 1.5rem 0;
  max-width: 34rem;
}
label { display: block; font-weight: 600; margin-bottom: .4rem; font-family: var(--sans); }
input[type=text], input:not([type]) {
  width: 100%; min-height: 52px; padding: .6rem .85rem;
  font: 1.15rem/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 2px solid #b7b3ab; border-radius: var(--radius);
}
input:focus { border-color: var(--focus); }
form .btn, form button { margin-top: .95rem; width: 100%; }
@media (min-width: 34rem) { form .btn, form button { width: auto; } }

/* ------------------------------------------------------------ results */
.result { border-left: 6px solid rgba(24,24,29,.12); padding: .1rem 0 .1rem 1.1rem;
          margin: 1.5rem 0; }
.result.good  { border-left-color: var(--green); }
.result.near  { border-left-color: var(--amber); }
.result.wrong { border-left-color: var(--red); }

ul.clues { list-style: none; padding: 0; margin: 1.1rem 0; max-width: 44rem; }
ul.clues li { padding: .68rem 0 .68rem 3rem; position: relative;
              border-bottom: 1px solid rgba(24,24,29,.08); }
ul.clues li:last-child { border-bottom: 0; }
ul.clues .no {
  position: absolute; left: 0; top: .55rem;
  width: 1.95rem; height: 1.95rem; border-radius: 50%;
  border: 1.5px solid var(--red); color: var(--red);
  font: 700 .86rem/1.75rem var(--mono); text-align: center;
}

/* ------------------------------------------------- CASE CLOSED
 * The one moment the whole site is designed around. */
.closed {
  position: relative; margin: 2rem 0 2.4rem; padding: 2.6rem 1.5rem 1.8rem;
  background: var(--card); border: 1px solid rgba(24,24,29,.1);
  border-radius: var(--radius); text-align: center;
  box-shadow: 0 20px 40px -26px rgba(24,24,29,.5);
}
.closed .mark {
  display: inline-block; padding: .5rem 1.5rem;
  border: 4px double var(--green); border-radius: 4px;
  color: var(--green); font: 700 1.5rem/1.15 var(--mono);
  letter-spacing: .16em; text-transform: uppercase;
  transform: rotate(-4deg);
}
.closed .who { font-family: var(--display); font-size: 2.1rem; margin: 1.3rem 0 .2rem; }
.closed .where {
  font-family: var(--mono); font-size: .86rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.closed p { margin: .95rem auto 0; max-width: 34rem; }

.reveal { max-width: 40rem; }
.reveal h3 { margin-top: 2.3rem; font-size: 1.4rem; }
.reveal h3::before {
  content: ""; display: block; width: 2.6rem; height: 2px;
  background: var(--red); margin-bottom: .65rem; opacity: .55;
}

/* ------------------------------------------------------------ prose
 * about.php / privacy.php: same chrome, plain reading column. */
.prose h2 { margin-top: 2.4rem; }
.prose p { max-width: 40rem; }

/* ------------------------------------------------ detective certificate
 *
 * /certificate. A printable for the Room 2 Mysteries line, aimed at a
 * six-year-old rather than the adult reader the rest of this site
 * serves, so it is warmer and far emptier than anything else here.
 *
 * The whole point is the printed sheet, not the screen. The print rules
 * at the end drop the header, the footer and every instruction, leaving
 * one certificate alone on one page. A parent who prints this should get
 * paper worth sticking on a fridge, not a screenshot of a website.
 */
.certificate {
  background: var(--card);
  border: 3px double var(--ink);
  padding: 2.4rem 2rem 2rem;
  margin: 2rem 0;
  text-align: center;
  max-width: 42rem;
}
.cert-rule {
  height: 6px;
  background: var(--amber);
  margin: 0 auto 1.6rem;
  width: 5rem;
}
.certificate .cert-rule:last-child { margin: 1.6rem auto 0; }
.cert-eyebrow {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.cert-title {
  font-family: var(--display);
  /* The FLOOR is what matters here, not the cap. It was 2.2rem, which is
     41.8px, and on a phone that is wider than the box: "Detective
     Certificate" wrapped to two lines at every width up to 414px while
     looking fine on a desktop. 7vw never got a chance to shrink it
     because the floor kept winning. Measured at 320, 360, 375, 414, 500,
     768 and 1200: one line from 360 up. */
  font-size: clamp(1.5rem, 7vw, 3.4rem);
  line-height: 1.05;
  margin: 0.4rem 0 1.6rem;
  text-wrap: balance;
}
.cert-awarded, .cert-body {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0.4rem 0;
}
.cert-body { margin: 1.6rem auto 2rem; max-width: 28rem; }
.cert-line { margin: 1.2rem 0 0.2rem; }
.cert-fill {
  display: block;
  border-bottom: 2px solid var(--ink);
  height: 2.2rem;
}
.cert-line.short .cert-fill { height: 1.8rem; }
.cert-caption {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.cert-foot {
  display: flex;
  gap: 2.4rem;
  justify-content: center;
  margin-top: 1.2rem;
}
.cert-foot > div { max-width: 16rem; }
.cert-foot > div { flex: 1; }
.cert-seal { font-size: 2.4rem; margin: 2rem 0 0; }
.cert-sign {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  margin: 0.2rem 0 0;
}


/* The certificate chooser, shown only when more than one line has one. */
.cert-list { list-style: none; padding: 0; margin: 1.4rem 0; }
.cert-list li { margin: 0 0 0.9rem; }
.cert-list a {
  display: block;
  background: var(--card);
  border: 1px solid var(--subtle);
  border-left: 5px solid var(--amber);
  padding: 1rem 1.2rem;
  font-family: var(--display);
  font-size: 1.25rem;
  text-decoration: none;
  min-height: 48px;
}
.cert-list a:hover { border-left-color: var(--red); }

/* The book title, printed rather than written. A six-year-old should
   have to write their name and the date, and nothing else. */
.cert-award {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  margin: 0.6rem auto 2rem;
  max-width: 30rem;
  text-align: left;
}
.cert-award.no-cover { justify-content: center; text-align: center; }
.cert-cover {
  width: 120px;
  height: auto;
  border: 1px solid var(--subtle);
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  flex: none;
}
.cert-book {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  line-height: 1.15;
  margin: 0;
}


/* On a phone the cover and the book title share a row and neither gets
   enough width, so "Who Took the Cookie?" broke over two lines. Stack
   them below 30rem: the cover on top, the title full width under it. */
@media (max-width: 30rem) {
  .cert-award { flex-direction: column; gap: 0.9rem; text-align: center; }
  .cert-cover { width: 96px; }
}

/* ---------------------------------------------------------------- print
 *
 * THIS BLOCK MUST STAY LAST IN THE FILE.
 *
 * @media print does not raise specificity. A plain rule written after it
 * beats it on a tie, and that is exactly what happened: .cert-cover was
 * appended below and kept the cover at 120px while the print override
 * asked for 100px. The certificate then measured 1082px against the
 * 960px a Letter sheet allows and printed on two pages.
 *
 * Append new rules ABOVE this comment, never below it.
 */
@media print {
  /* One certificate, one sheet. Everything else goes. */
  .site, .skip, .no-print, h1, .eyebrow { display: none !important; }
  body, main.wrap { background: #fff; margin: 0; padding: 0; max-width: none; }

  /* KEEP THE COLOUR. Browsers strip backgrounds and adjust colour when
     printing unless told otherwise, which would have turned the cover
     and the amber rules into grey. This is a keepsake for a six-year-
     old, so it is worth the ink. An img prints either way; the rules
     and the border need the override. */
  .certificate, .certificate * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .certificate {
    border: 3px double var(--amber);
    margin: 0;
    max-width: none;
    page-break-inside: avoid;
  }
  .cert-cover { box-shadow: none; }

  /* MEASURED, not guessed. With the cover added the certificate came to
     1082px against the 960px a US Letter sheet leaves at half-inch
     margins, so it broke onto a second page. These trim it back with
     room to spare. Screen keeps the roomier version. */
  .certificate { padding: 1.6rem 2rem 1.4rem; }
  .cert-title { font-size: 2.4rem; margin: 0.3rem 0 1rem; }
  .cert-body { margin: 1rem auto 1.2rem; }
  .cert-award { margin: 0.4rem auto 1.2rem; }
  .cert-cover { width: 100px; }
  .cert-seal { font-size: 1.8rem; margin: 1rem 0 0; }
  .cert-rule { margin-bottom: 1rem; }
  .certificate .cert-rule:last-child { margin: 1rem auto 0; }
}
