/* Breakday: an eviction notice pinned to a dark hallway door. Anton for display, IBM Plex Mono for text. */
@font-face { font-family: "Anton"; src: url("fonts/anton-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #15120e; --bg2: #221d17; --surface: #2a241d; --line: #3a3229;
  --text: #f1e8d6; --muted: #a99d88;
  --paper: #f3ebd8; --ink: #1d1a15; --ink-muted: #6e6555; --rule: #cfc3a8;
  --red: #c9271d; --green: #2f6b46; --gold: #ffd27a;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.35  0 0 0 0 0.28  0 0 0 0 0.18  0 0 0 .09 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); font: 15px/1.6 var(--mono); -webkit-font-smoothing: antialiased;
  background: radial-gradient(ellipse 90% 60% at 50% -5%, #3a3024 0%, rgba(58,48,36,0) 70%), var(--bg);
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

main, .top { width: min(980px, 100% - 40px); margin: 0 auto; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 24px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.top-note { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 1px dashed var(--muted); padding-bottom: 2px; }
.top-note:hover { color: var(--gold); border-color: var(--gold); }
.census-link { margin: 22px 0 0; font-size: 13px; }
.census-link a { color: var(--gold); text-decoration: none; border-bottom: 1px dashed var(--gold); padding-bottom: 2px; }
.census-link b { font-weight: 600; color: #ff8a7f; }
.census-link + .census-link { margin-top: 10px; }

/* ---------- hero: flip countdown ---------- */
.hero { text-align: center; padding: 36px 0 28px; }
.countdown { display: inline-flex; align-items: center; gap: 22px; }
.flip { display: flex; gap: 10px; }
.tile {
  position: relative; display: inline-block; min-width: .74em; padding: .04em .1em 0;
  font: 400 clamp(104px, 17vw, 176px)/1.08 var(--display); color: var(--paper); text-align: center;
  background: linear-gradient(180deg, #3a3229 0%, #2b251f 49.6%, #1e1a15 50.4%, #262019 100%);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), inset 0 -2px 0 rgba(0,0,0,.4), 0 18px 40px rgba(0,0,0,.55);
  font-variant-numeric: tabular-nums;
}
.tile::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 1px); height: 3px; background: #0d0b08; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.tile::before { content: ""; position: absolute; left: -5px; right: -5px; top: calc(50% - 7px); height: 14px; background: linear-gradient(90deg, #4a4036 0 7px, transparent 7px calc(100% - 7px), #4a4036 calc(100% - 7px)); border-radius: 3px; z-index: 1; }
.cd-label { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.cd-unit { color: var(--muted); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.cd-word { font: 400 clamp(44px, 6vw, 68px)/.95 var(--display); color: var(--red); text-transform: uppercase; letter-spacing: .01em; }

.hero h1 { font: 400 clamp(26px, 3.6vw, 40px)/1.12 var(--display); letter-spacing: .01em; text-transform: uppercase; max-width: 22ch; margin: 34px auto 10px; }
.hero h1 mark { background: none; color: var(--paper); box-shadow: inset 0 -.32em 0 rgba(201,39,29,.75); padding: 0 .06em; }
.lead { color: var(--muted); margin: 0 auto 26px; max-width: 52ch; }

/* the input reads like the address line on a form */
.slot { display: flex; align-items: stretch; max-width: 640px; margin: 0 auto; background: var(--paper); border-radius: 6px; box-shadow: 0 14px 34px rgba(0,0,0,.45); overflow: hidden; }
.slot-prefix { display: flex; align-items: center; padding: 0 2px 0 18px; color: var(--ink-muted); font-size: 17px; }
.slot input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font-size: 19px; font-weight: 600; padding: 18px 10px 18px 0; outline: none; }
.slot input::placeholder { color: #a39a88; font-weight: 400; }
.slot button { border: 0; background: var(--red); color: #fff7ea; font: 400 20px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; padding: 0 26px; }
.slot button:hover { background: #ad1f16; }
.slot:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }
.try { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.try button { background: none; border: 0; border-bottom: 1px dashed var(--muted); color: var(--text); margin-left: 12px; padding: 2px 0; font-size: 13px; }
.try button:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- tally board ---------- */
.board { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 36px 0 44px; }
.board-cell { padding: 16px 12px 8px; text-align: center; }
.board-cell + .board-cell { border-left: 1px solid var(--line); }
.board-num { display: block; font: 400 34px/1.1 var(--display); color: var(--paper); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.board-lbl { display: block; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.board.is-empty { grid-template-columns: 1fr; }
.board.is-empty .board-cell { display: none; }
.board.is-empty .board-note { padding: 14px 0; font-size: 13px; letter-spacing: .04em; }
.board-note { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: 12px; margin: 0; padding: 4px 0 12px; }

/* ---------- the notice (signature element) ---------- */
#view { scroll-margin-top: 16px; }
.notice {
  position: relative; max-width: 860px; margin: 0 auto; padding: 46px 54px 38px;
  background: var(--noise), linear-gradient(180deg, #f6efde, #efe5cf); color: var(--ink);
  transform: rotate(-.35deg);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 28px 60px rgba(0,0,0,.55), 0 4px 10px rgba(0,0,0,.3);
}
.notice::before, .notice::after { content: ""; position: absolute; top: -14px; width: 116px; height: 32px; background: rgba(226,212,168,.62); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.notice::before { left: 38px; transform: rotate(-5deg); }
.notice::after { right: 38px; transform: rotate(4deg); }
.n-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 3px double var(--ink); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.n-title { font: 400 clamp(38px, 6vw, 64px)/1 var(--display); text-transform: uppercase; letter-spacing: .015em; margin: 0 0 18px; padding-right: 200px; }
.n-to { margin: 0; color: var(--ink-muted); font-size: 13px; }
.n-host { font-weight: 600; font-size: clamp(22px, 3.4vw, 32px); line-height: 1.2; margin: 4px 0 0; padding-bottom: 4px; border-bottom: 1px dashed var(--ink-muted); display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.n-shop { margin: 4px 0 0; color: var(--ink-muted); font-size: 12px; }
.n-verdict { font-size: clamp(17px, 2.2vw, 21px); line-height: 1.45; margin: 26px 0 22px; max-width: 34em; }
.n-count { color: var(--red); font-size: 1.25em; }
.n-sub { display: block; font-size: 14px; color: var(--ink-muted); margin-top: 6px; }
.n-detail { color: var(--ink-muted); font-size: 14px; margin: -8px 0 18px; max-width: 60ch; }

.n-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.n-row { display: grid; grid-template-columns: 44px minmax(0, 1.2fr) minmax(0, 1.3fr) 156px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dotted var(--ink-muted); }
.n-head { padding: 8px 0; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); border-bottom: 1px solid var(--ink); }
.c-no { font: 400 20px/1 var(--display); color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.n-head .c-no { font: inherit; }
.c-app b { display: block; font-size: 15px; line-height: 1.3; }
.c-app b.unknown { color: var(--ink-muted); font-style: italic; font-weight: 400; }
.c-app small, .c-host small { display: block; color: var(--ink-muted); font-size: 11.5px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-host code { display: block; font: 600 13px/1.3 var(--mono); overflow-wrap: anywhere; }
.c-status { text-align: right; }
.chip { display: inline-block; padding: 4px 8px 3px; border: 1.5px solid currentColor; border-radius: 3px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.chip-bad { color: var(--red); }
.chip-ok { color: var(--green); }
.is-covered .c-app b, .is-covered code { color: var(--ink-muted); }
/* "How to fix": a pinned slip under a line, closed by default */
.n-fix { grid-column: 2 / -1; margin-top: -4px; }
.n-fix summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); padding: 4px 0; border-bottom: 1px dashed var(--ink-muted); }
.n-fix summary::-webkit-details-marker { display: none; }
.n-fix summary::before { content: ""; width: 0; height: 0; border-left: 6px solid currentColor; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; transition: transform .15s; }
.n-fix[open] summary::before { transform: rotate(90deg); }
.n-fix summary:hover { color: var(--red); border-color: var(--red); }
.fix-body { margin: 10px 0 4px; padding: 12px 16px 12px 18px; background: rgba(29,26,21,.055); border-left: 3px solid var(--ink); font-size: 13px; line-height: 1.55; max-width: 62ch; }
.fix-for { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.fix-steps { margin: 0; padding-left: 20px; }
.fix-steps li { margin: 0 0 6px; padding-left: 2px; }
.fix-steps li::marker { font-weight: 600; color: var(--ink-muted); }
.fix-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 0; padding-top: 8px; border-top: 1px dotted var(--ink-muted); font-size: 11.5px; color: var(--ink-muted); }
.fix-embed { font-weight: 600; color: var(--ink); }
.fix-embed-yes { color: var(--green); }
.fix-src { margin: 6px 0 0; font-size: 11.5px; color: var(--ink-muted); overflow-wrap: anywhere; }
.fix-src a { color: var(--ink); text-underline-offset: 2px; }
.fix-src a:hover { color: var(--red); }
.is-covered .n-fix summary { color: var(--ink-muted); }
.n-embeds { font-size: 13px; color: var(--ink-muted); margin: 18px 0 0; }
.n-embeds b { color: var(--ink); }
.n-warn { font-size: 13px; color: var(--red); }
.n-sign { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 30px; font-size: 11px; color: var(--ink-muted); letter-spacing: .06em; text-transform: uppercase; }
.n-sig { font: 400 26px/1 var(--display); color: var(--ink); letter-spacing: .04em; border-top: 1px solid var(--ink); padding-top: 6px; min-width: 180px; text-align: center; transform: rotate(-2deg); }
.n-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn-ink { background: var(--ink); color: var(--paper); border: 0; padding: 11px 16px; border-radius: 4px; font-size: 13px; font-weight: 600; }
.btn-ink:hover { background: #000; }
.btn-plain { background: none; border: 1.5px solid var(--ink); color: var(--ink); padding: 10px 16px; border-radius: 4px; font-size: 13px; font-weight: 600; }

/* the rubber stamp */
.stamp {
  position: absolute; top: 74px; right: 40px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; padding: 10px 18px 8px;
  border: 5px double currentColor; border-radius: 8px; transform: rotate(-11deg);
  color: var(--red); opacity: .88; mix-blend-mode: multiply;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -3 2.1'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -3 2.1'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>");
  animation: thump .38s cubic-bezier(.2, 1.4, .4, 1) both .15s;
}
.stamp b { font: 400 46px/1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.stamp small { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; border-top: 2px solid currentColor; margin-top: 4px; padding-top: 3px; }
.stamp-green { color: var(--green); }
.stamp-ink { color: #2a3a6a; }
.stamp-grey { color: #5d5649; }
.stamp-ghost { color: #b3a78d; border-style: dashed; animation: none; opacity: .9; }
@keyframes thump { 0% { transform: rotate(-11deg) scale(2.2); opacity: 0; } 100% { transform: rotate(-11deg) scale(1); opacity: .88; } }

/* blank notice on first visit */
.notice-blank { color: #8d846f; }
.notice-blank .n-meta { color: #a1977f; border-color: #a1977f; }
.notice-blank .n-title { color: #6e6555; }
.blank-line { color: #b9ae95; font-style: italic; font-weight: 400; min-width: 60%; }
.blank-list { border-top: 2px solid #c9bea4; margin-top: 26px; }
.blank-list li { height: 40px; border-bottom: 1px dotted #b9ae95; display: flex; align-items: center; }
.blank-list li span { display: block; height: 9px; width: 55%; background: rgba(110,101,85,.12); border-radius: 2px; }
.blank-list li:nth-child(2) span { width: 40%; }
.blank-list li:nth-child(3) span { width: 48%; }
.n-hint { margin: 18px 0 0; color: var(--ink-muted); font-size: 13px; }

/* loading slip */
.notice-slip { max-width: 560px; padding: 36px 40px 30px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding: 10px 0 10px 34px; color: #a1977f; border-bottom: 1px dotted var(--rule); }
.steps li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 2px; }
.steps li.now { color: var(--ink); font-weight: 600; }
.steps li.now::before { border-color: var(--red); background: repeating-linear-gradient(45deg, var(--red) 0 2px, transparent 2px 5px); animation: blink 1s steps(2) infinite; }
.steps li.done { color: var(--ink-muted); }
.steps li.done::before { content: "\2713"; border-color: var(--ink); color: var(--ink); font-size: 12px; line-height: 12px; text-align: center; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- below the notice ---------- */
.help, .remind, .fine { max-width: 860px; margin: 56px auto 0; }
.help h2, .remind h2, .fine h2 { font: 400 28px/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 16px; }
.help-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.help h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.help p { color: var(--text); margin: 0 0 10px; font-size: 14px; }
.help em { color: #ff8a7f; font-style: normal; }
.help a { color: var(--gold); }

.remind { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--red); border-radius: 4px; }
.remind p { margin: 0; color: var(--muted); font-size: 14px; }
.remind-row { display: flex; gap: 8px; }
.remind-row input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); background: var(--bg); color: var(--text); border-radius: 4px; }
.remind-row button { border: 0; background: var(--paper); color: var(--ink); padding: 0 18px; border-radius: 4px; font: 400 17px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--red); }
.consent b { color: var(--text); font-weight: 600; }
.remind-msg { min-height: 1.4em; margin: 10px 0 0; font-size: 13px; }
.remind-msg.ok { color: #9bd3a9; }
.remind-msg.bad { color: #ff8a7f; }

.consent a { color: var(--gold); }

/* unsubscribe slip */
.unsub { padding: 34px 0 0; }
.unsub .n-title { padding-right: 0; }
.u-row { display: flex; gap: 8px; margin-top: 8px; }
.u-row input { flex: 1; min-width: 0; padding: 12px 14px; border: 1.5px solid var(--ink); background: #fbf6e9; color: var(--ink); border-radius: 4px; font-size: 16px; }
.u-row .btn-ink { padding: 0 18px; font: 400 17px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.u-row .btn-ink:disabled { opacity: .55; cursor: wait; }
.u-msg { min-height: 1.5em; margin: 10px 0 0; font-size: 14px; }
.unsub .n-hint { margin-top: 4px; }
.u-msg.ok { color: var(--green); font-weight: 600; }
.u-msg.bad { color: var(--red); font-weight: 600; }
.btn-plain { display: inline-block; text-decoration: none; }

.fine p { color: var(--muted); font-size: 13.5px; max-width: 72ch; margin: 0; }
.fine h2 { font-size: 20px; color: var(--muted); }

.msl-credit { display: flex; justify-content: center; padding: 28px 0; margin-top: 64px; border-top: 1px solid var(--line); }
.msl-credit a { display: inline-flex; align-items: center; gap: 8px; color: inherit; opacity: .7; text-decoration: none; font-size: 13px; }
.msl-credit a:hover { opacity: 1; }
.msl-credit b { color: #ffd27a; font-weight: 600; }

/* ---------- phone ---------- */
@media (max-width: 680px) {
  main, .top { width: calc(100% - 28px); }
  .top { padding: 16px 0; }
  .top-note { display: none; }
  .hero { padding: 18px 0 20px; }
  .countdown { flex-direction: column; gap: 10px; }
  .cd-label { align-items: center; text-align: center; }
  .flip { gap: 8px; }
  .tile { font-size: 112px; border-radius: 10px; }
  .hero h1 { margin-top: 24px; font-size: 26px; }
  .lead { font-size: 14px; margin-bottom: 20px; }
  .slot { flex-wrap: wrap; }
  .slot-prefix { padding-left: 14px; font-size: 15px; }
  .slot input { font-size: 17px; padding: 15px 10px 15px 0; }
  .slot button { flex: 1 0 100%; padding: 15px; font-size: 19px; }
  .try button { margin-left: 8px; }
  .board { margin: 28px 0 36px; }
  .board-num { font-size: 26px; }
  .board-lbl { font-size: 9.5px; letter-spacing: .06em; }
  .notice { padding: 34px 20px 26px; transform: none; }
  .notice::before { left: 18px; width: 84px; }
  .notice::after { right: 18px; width: 84px; }
  .n-title { padding-right: 0; font-size: 38px; }
  .n-meta { font-size: 10px; }
  .stamp { position: relative; top: auto; right: auto; display: inline-flex; margin: 0 0 18px 6px; }
  .stamp b { font-size: 36px; }
  .n-verdict { margin: 18px 0 16px; }
  .n-row { grid-template-columns: 34px minmax(0, 1fr); gap: 4px 10px; padding: 12px 0; }
  .n-head { display: none; }
  .c-no { grid-row: span 3; align-self: start; padding-top: 2px; }
  .c-status { text-align: left; margin-top: 4px; }
  .n-fix { margin-top: 2px; }
  .fix-body { padding: 10px 12px 10px 14px; }
  .n-sign { flex-direction: column; align-items: flex-start; }
  .u-row { flex-direction: column; }
  .u-row .btn-ink { padding: 14px; }
  .unsub .stamp { margin: 14px 0 0; align-self: flex-start; }
  .help-cols, .remind { grid-template-columns: 1fr; }
  .remind { padding: 22px 18px; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
