@font-face { font-family: "Unica One"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/unica-one-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: "Unica One"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/unica-one-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: "Cinzel"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/cinzel-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: "Cinzel"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/cinzel-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: "Cinzel"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/cinzel-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: "Cinzel"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/cinzel-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: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-500-italic.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: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-ext-500-italic.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: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-600-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: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-ext-600-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: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-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: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-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: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-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: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-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: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-600-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: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-ext-600-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; }
/*
 * certificates.stracmed.com: a letterhead like stracmed.com's header (the mark and the
 * Unica One wordmark), then a formal document in the certificate's own vocabulary: woven band,
 * double rule with a fine orange line, Cinzel labels, Cormorant for names, the seal.
 * Served at /assets/site.css after the @font-face rules (site.py). No scripts anywhere.
 */
:root {
  --ink: #1c1917; --muted: #57534e; --line: #d6d3d1; --soft: #a8a29e;
  --paper: #fffefb; --page: #f3f0e8; --accent: #ff3000;
  --ok: #166534;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--page); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--page);
  font: 16px/1.55 Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-variant-numeric: lining-nums;
}
a { color: var(--ink); text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace; font-weight: 500; letter-spacing: 0.04em; }

/* ---------- letterhead: as the website's header ---------- */
.letterhead { background: #fff; }
.letterhead .inner {
  max-width: 920px; margin: 0 auto; padding: 18px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand svg { display: block; width: 32px; height: auto; }
.brand span { font-family: "Unica One", sans-serif; font-size: 23px; line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }
.tag { font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); text-align: right; }

/* The certificate border's weave, as a band under the letterhead. */
.band {
  height: 18px; background: var(--paper) url("/assets/band.svg") repeat-x left center;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  box-shadow: 0 3px 0 -1px var(--accent);
}

/* ---------- the document ---------- */
.wrap { max-width: 800px; margin: 0 auto; padding: 36px 16px 8px; }
.sheet {
  background: var(--paper); border: 1.5px solid var(--ink); padding: 6px;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.06), 0 18px 40px -24px rgba(28, 25, 23, 0.35);
}
.sheet-inner { border: 1px solid var(--accent); padding: 40px 48px 36px; }

.heading { text-align: center; }
h1 {
  margin: 0; font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: 26px; line-height: 1.2;
  letter-spacing: 0.16em; padding-left: 0.16em; text-transform: uppercase;
}
.sub {
  margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 14px;
  font-family: Cinzel, Georgia, serif; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.sub .rule { width: 56px; height: 1px; background: var(--accent); position: relative; flex: none; }
.sub .rule::after { content: ""; position: absolute; top: -2.5px; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
.sub .rule:first-child::after { right: -3px; }
.sub .rule:last-child::after { left: -3px; }

.status { margin-top: 28px; text-align: center; }
.seal { width: 118px; margin: 0 auto 14px; color: var(--ink); }
.seal svg { display: block; width: 100%; height: auto; }
.verdict {
  margin: 0; display: inline-flex; align-items: center; gap: 9px;
  font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: 15px; letter-spacing: 0.3em; text-transform: uppercase;
}
.verdict svg { width: 20px; height: 20px; flex: none; }
.verdict.ok { color: var(--ok); }
.statement {
  max-width: 540px; margin: 10px auto 0;
  font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500; font-size: 20px; line-height: 1.4; color: var(--muted);
}
.statement .mono { font-style: normal; font-size: 0.8em; color: var(--ink); }
.note {
  max-width: 540px; margin: 16px auto 0; padding: 8px 14px;
  font-size: 14px; color: #6b4e16; background: #fbf6e9; border: 1px solid #eadfc4;
}

/* ---------- the record ---------- */
.record {
  width: 100%; margin-top: 30px; border-collapse: collapse;
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
}
.record tr + tr { border-top: 1px solid var(--line); }
.record th {
  width: 32%; padding: 13px 16px 11px 0; text-align: left; vertical-align: baseline;
  font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.record td { padding: 10px 0; vertical-align: baseline; font-size: 15px; overflow-wrap: anywhere; }
.record td.name { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 26px; line-height: 1.15; }
.record td.course { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 20px; line-height: 1.25; }
.record td.mono { font-size: 15px; }

/* ---------- buttons and lookup ---------- */
.actions { margin-top: 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink); border-radius: 0; cursor: pointer;
  font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none;
}
.btn.primary { background: var(--ink); color: #fff; }
.btn:hover { border-color: var(--accent); }
.btn.primary:hover { background: #000; }

.lookup { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; }
.lookup h2 { margin: 0 0 12px; font-family: Cinzel, Georgia, serif; font-weight: 700; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.lookup form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
.lookup input {
  flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--soft); border-radius: 0; background: #fff; color: var(--ink);
  font: 500 16px "IBM Plex Mono", ui-monospace, Consolas, monospace; letter-spacing: 0.03em;
}
.lookup input::placeholder { font-family: Inter, system-ui, sans-serif; letter-spacing: 0; color: var(--soft); }

/* ---------- footer ---------- */
.foot { max-width: 1060px; margin: 0 auto; padding: 18px 16px 44px; text-align: center; font-size: 12.5px; color: var(--muted); }
.foot p { margin: 6px 0 0; }
.provider span { white-space: nowrap; }
.provider span + span::before {
  content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 9px 2px; background: var(--accent); transform: rotate(45deg);
}

/* ---------- phones ---------- */
@media (max-width: 620px) {
  .letterhead .inner { padding: 14px 16px; }
  .brand svg { width: 26px; }
  .brand span { font-size: 19px; }
  .tag { display: none; }
  .wrap { padding-top: 20px; }
  .sheet-inner { padding: 28px 18px 26px; }
  h1 { font-size: 19px; letter-spacing: 0.1em; padding-left: 0.1em; }
  .sub { font-size: 10px; letter-spacing: 0.16em; gap: 10px; }
  .sub .rule { width: 28px; }
  .statement { font-size: 18px; }
  .record tr { display: block; padding: 10px 0; }
  .record th, .record td { display: block; width: auto; padding: 0; }
  .record th { margin-bottom: 3px; }
  .record td.name { font-size: 24px; }
  .actions .btn { flex: 1 1 100%; }
}
