@font-face {
  font-family: "Bricolage Grotesque";
  font-weight: 700;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-1.001-700-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/public-sans-2.001-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/public-sans-2.001-600-latin.woff2") format("woff2");
}
/* The first screen's joke, italic 600 as the landing boards load it (Google Fonts, Public Sans v21). */
@font-face {
  font-family: "Public Sans";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/public-sans-v21-600-italic-latin.woff2") format("woff2");
}

/* Colours and sizes from the v3 boards (Nov. 9th): PlayPhoneFinal at 390, PlayDesktopFinal at 1440. */
:root {
  --ink: #1b1830;
  --ink-soft: #3e3a55;
  --muted: #5e5a75;
  --faint: #8f8aa8;
  --line: #e6e2f2;
  --line-soft: #efecf7;
  --edge: #d9d4ee;
  --card: #ffffff;
  --page: #f7f6fb;
  --violet: #5b47d9;
  --violet-deep: #4a38c9;
  --violet-ink: #2f2290;
  --lilac: #eeebfb;
  --lilac-text: #e4deff;
  --pass: #1f7a4d;
  --pass-wash: #e3f4ea;
  --flag: #b4540a;
  --flag-wash: #fff7f1;
  --note: #8a5a00;
  --note-ring: #c98a12;
  --note-wash: #fffbef;
  --quiet: #6e6a85;
  --unknown: #6d6a78;
  --gap: 0.75rem;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 0.9375rem/1.4 "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1,
h2 {
  font-family: "Bricolage Grotesque", "Public Sans", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}
p {
  margin: 0;
}
a {
  color: var(--violet-deep);
}
a:hover {
  color: var(--violet-ink);
}
button {
  font: inherit;
  cursor: pointer;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 2px;
}
/* Words for one layout only: the phone's below 1080 pixels, the computer's from there up. */
.wide-only {
  display: none;
}

/* The top bar: logo at left, the check's name centred. */
.top {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) 2.25rem;
  gap: 0.5rem;
  align-items: center;
  /* The boards' bar height, which their Replay button set. */
  min-height: 3.0625rem;
  padding: 0.5rem 0.75rem;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
}
.brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.name {
  justify-self: center;
  text-align: center;
  font: 700 0.9375rem/1.2 "Bricolage Grotesque", system-ui, sans-serif;
  color: var(--violet-ink);
}

main {
  padding: 0 0 4rem;
}

/* The first screen (LandingPhone at 390, LandingDesktop at 1440): the ad's cats, then the address form, one column
   with the boards' 10 between parts. */
.ask {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  max-width: 40rem;
  margin: 1rem auto 0;
  padding: 0 0.75rem;
}
.ask h1,
.land-second {
  font-size: 1.625rem;
  line-height: 1.1;
}
/* The boards' 22 from the line under the cats to the second headline. */
.land-second {
  margin-top: 0.75rem;
}
/* A visitor from a search ad has seen no cat: the first screen without the cats, their line and the second headline. */
.ask.plain .land-cats,
.ask.plain .land-line,
.ask.plain .land-second {
  display: none;
}
/* Five to a row, 62 wide on the board; on the narrowest phones they shrink rather than stick out. */
.land-cats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 3.875rem));
  gap: 0.5rem;
  justify-content: space-between;
}
.land-cat {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--line-soft);
}
.land-cat:has(img) {
  background: none;
}
.land-cat:disabled {
  background: var(--violet);
  cursor: default;
  opacity: 1;
}
.land-cat img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
}
/* The ad's own cat: the boards' 3-pixel ring. */
.land-cat.ringed img {
  border: 3px solid var(--violet);
}
.land-cat .play {
  left: 3px;
  bottom: 3px;
  width: 16px;
  height: 16px;
  border-radius: 8px;
}
.land-line {
  font-size: 0.8125rem;
  color: var(--muted);
}
.land-line i {
  font-weight: 600;
  color: var(--ink);
}
.lead {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.ask-form {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.ask label {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
}
.ask-row {
  display: flex;
  gap: 0.5rem;
}
.ask-row {
  flex-wrap: wrap;
}
.ask input {
  height: 3rem;
  padding: 0 0.75rem;
  font-size: 1rem;
}
input,
textarea {
  flex: 1 1 14rem;
  min-width: 0;
  font: inherit;
  font-size: 1.05rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
}
input:focus,
textarea:focus {
  outline: 3px solid var(--lilac);
  border-color: var(--violet);
}
.ask-row button {
  font-weight: 700;
  padding: 0 1.3rem;
  min-height: 2.875rem;
  border: 0;
  border-radius: 10px;
  background: var(--violet);
  color: #fff;
}
.ask-row button {
  min-height: 3rem;
  padding: 0 1rem;
}
button:disabled {
  opacity: 0.6;
  cursor: default;
}
/* The help under the address form (addresshelp.js): fixed pixel sizes, so it is the same at 390 and 1440. */
.addresshelp {
  margin-top: 8px;
  font-family: "Public Sans", system-ui, sans-serif;
}
.ah-head {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.ah-browser {
  width: 240px;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 2px 8px rgba(27, 24, 48, 0.08);
  color: var(--ink);
  pointer-events: none;
  user-select: none;
}
.ah-browser i {
  display: block;
}
.ah-browser svg {
  display: block;
  flex: none;
}
.ah-tabs {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 25px;
  padding: 0 8px;
  background: var(--line);
}
.ah-dots {
  display: flex;
  gap: 4px;
  align-self: center;
}
.ah-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5f57;
}
.ah-dots i:nth-child(2) {
  background: #febc2e;
}
.ah-dots i:nth-child(3) {
  background: #28c840;
}
.ah-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 19px;
  padding: 0 14px 0 8px;
  border-radius: 6px 6px 0 0;
  background: var(--card);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.ah-favicon {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--faint);
}
.ah-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 27px;
  padding: 0 8px;
  border-bottom: 1px solid var(--line);
}
.ah-nav {
  color: var(--faint);
}
.ah-field {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 5px;
  height: 19px;
  padding: 0 4px 0 8px;
  border-radius: 10px;
  background: var(--line-soft);
}
.ah-lock {
  color: var(--quiet);
}
/* The address as selected text: the selection's blue, ringed in violet. */
.ah-url {
  padding: 1px 5px;
  border: 1.8px solid var(--violet);
  border-radius: 999px;
  background: #b4d5fe;
  font-size: 10px;
  line-height: 12px;
  white-space: nowrap;
}
.ah-site {
  display: grid;
  gap: 6px;
  padding: 7px 8px 9px;
}
.ah-site-head {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 14px;
  padding: 0 6px;
  border-radius: 3px;
  background: var(--line-soft);
}
.ah-site-head i {
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--edge);
}
.ah-site-head .ah-logo {
  width: 30px;
  height: 6px;
  margin-right: auto;
  background: var(--faint);
}
.ah-hero {
  height: 22px;
  border-radius: 3px;
  background: var(--line);
}
.ah-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.ah-cards i {
  height: 16px;
  border-radius: 3px;
  background: var(--line-soft);
}
.ah-line {
  max-width: 280px;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
.error {
  color: var(--flag);
  font-weight: 600;
}
/* "Is this your website?" under the address box (ask.js), in the error line's place: its line, then its buttons. */
.question {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.question .q-line {
  margin: 0;
}
.question .q-line b {
  font-weight: 700;
}
.q-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.q-row button,
.q-choice {
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 2px solid var(--violet);
  border-radius: 10px;
  background: var(--card);
  color: var(--violet-ink);
  font-weight: 700;
}
.q-row .q-yes {
  background: var(--violet);
  color: #fff;
}
.q-choices {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.q-choice {
  padding: 0.5rem 1rem;
  text-align: left;
}
.q-choice span {
  display: block;
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.question .q-mail {
  height: 2.75rem;
  padding: 0 0.75rem;
  font-size: 1rem;
}
.question .q-error {
  margin: 0;
}

/* The report, phone first: one column in the board's order, the computer's two columns opened up into it. */
.report {
  display: flex;
  flex-direction: column;
  max-width: 40rem;
  margin: 0 auto;
}
.col,
.side {
  display: contents;
}
.head {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.625rem 0.75rem 0.5rem;
}
.strip,
.strip-hint {
  display: none;
}
.rows {
  order: 3;
  margin: 0 0.75rem;
}
.rows-hint {
  order: 4;
  margin: 0.375rem 0.75rem 0.75rem;
}
.offer {
  order: 5;
  margin: 0 0.75rem;
}
/* The Holiday Special box sits right under the offer card, in the page's order after it. */
.holiday {
  order: 5;
  margin: 0.625rem 0.75rem 0;
}
.after {
  order: 6;
  padding: 1.125rem 0.75rem 0;
}

.kicker {
  display: none;
  font-size: 0.9375rem;
  color: var(--muted);
}
/* Two lines held from the start, so the verdict at the finish moves no row below it. */
.headline {
  font-size: 1.1875rem;
  line-height: 1.15;
  min-height: 2.3em;
  overflow-wrap: anywhere;
}
.progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* On the narrowest phones the bar gives up width, so the totals never take a third line. */
.bar {
  flex: 0 1 6.875rem;
  min-width: 0;
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: 0;
  background: var(--violet);
  transition: width 0.4s;
}
.report.finished .bar-fill {
  background: var(--pass);
}
/* The totals line shares one cell with an unseen copy of the longest totals in two lines (data-longest, from drip.js):
   the cell is that wide and the board's two lines tall from the start, so the totals at the finish never take a third. */
.count-box {
  flex: 1 0 auto;
  display: grid;
  font-size: 0.75rem;
  line-height: 1.4;
}
.count-box > .count,
.count-box::after {
  grid-area: 1 / 1;
}
.count-box::after {
  content: attr(data-longest);
  white-space: pre;
  visibility: hidden;
}
/* The live line adds nothing to the cell's width, so the unseen copy alone sets it. */
.count {
  width: 0;
  min-width: 100%;
  display: flex;
  align-items: center;
  color: var(--muted);
}
.hint {
  font-size: 0.75rem;
  color: var(--muted);
}

/* The rows: a dot, the check, its result; a flag carries "Show the fix", the rest "What we checked". */
.rows {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.row {
  padding: 0.375rem 0.625rem;
  background: var(--card);
  border-bottom: 1px solid var(--line-soft);
}
.row:last-child {
  border-bottom: 0;
}
.row-top {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.thumb {
  position: relative;
  flex: none;
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--violet);
  overflow: hidden;
}
/* Behind a picture the backing is white, so a waiting cat fades to pale grey as on the boards; purple only without one. */
.thumb:has(img),
.tile-pic:has(img) {
  background: var(--card);
}
.thumb:disabled {
  cursor: default;
  opacity: 1;
}
.thumb img,
.tile-pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    filter 0.6s,
    opacity 0.6s;
}
.row:not(.landed) .thumb img,
.tile:not(.landed) .tile-pic img {
  opacity: 0.45;
  filter: grayscale(0.8);
}
.play {
  position: absolute;
  left: 2px;
  bottom: 2px;
  width: 14px;
  height: 14px;
  border-radius: 7px;
  background: rgba(20, 16, 40, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.play svg {
  width: 6px;
  height: 8px;
}
.row-btn {
  flex: 1;
  min-width: 0;
  min-height: 3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
}
.row-btn:disabled {
  cursor: default;
  opacity: 1;
}
.row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.title {
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.25;
}
/* One line on both layouts, so a row never grows when its result lands; the whole sentence is in the opened row. */
.short {
  font-size: 0.8125rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink-soft);
}
.row:not(.landed) .short {
  color: var(--faint);
  font-style: italic;
}
.mark {
  order: 2;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--line);
}
.fix-btn,
.more-btn {
  display: none;
}

/* The grades' colours, on the row and its tile. */
.row[data-state="flag"] {
  background: var(--flag-wash);
  box-shadow: inset 4px 0 0 var(--flag);
}
.row[data-state="note"] {
  background: var(--note-wash);
  box-shadow: inset 4px 0 0 var(--note);
}
[data-state="flag"] .mark,
.tile[data-state="flag"] .badge {
  background: var(--flag);
}
[data-state="note"] .mark,
.tile[data-state="note"] .badge {
  background: var(--note);
}
[data-state="pass"] .mark,
.tile[data-state="pass"] .badge {
  background: var(--pass);
}
[data-state="quiet"] .mark,
.tile[data-state="quiet"] .badge {
  background: var(--quiet);
}
[data-state="unknown"] .mark,
.tile[data-state="unknown"] .badge {
  background: var(--unknown);
}
.row[data-state="flag"] .short {
  font-weight: 600;
  color: var(--flag);
}
.row[data-state="note"] .short {
  font-weight: 600;
  color: var(--note);
}

/* An opened row: what we found, what we checked, why it matters, and a flag's fix. */
.open {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin: 0.375rem 0 0.125rem 3.375rem;
  padding: 0.625rem 0.75rem;
  background: var(--page);
  border-radius: 10px;
  font-size: 0.8125rem;
  overflow-wrap: anywhere;
}
.ours {
  font-style: italic;
  color: var(--muted);
}
.why {
  color: var(--muted);
}
.open b {
  color: var(--ink);
}
.fix-intro {
  color: var(--muted);
}
.send-row {
  display: flex;
  gap: 0.375rem;
  align-items: center;
}
.send-row code {
  flex: 1;
  min-width: 0;
  font: 600 1em/1.35 "Public Sans", system-ui, sans-serif;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4375rem 0.5625rem;
  user-select: all;
}
.send-row button {
  flex: none;
  min-height: 2.5rem;
  max-width: 6rem;
  padding: 0 0.625rem;
  border: 0;
  border-radius: 8px;
  background: var(--violet);
  color: #fff;
  font-weight: 700;
}

/* The offer: the purple card. On a phone it is ready from the start, as the board shows. */
.offer {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1rem;
  border-radius: 16px;
  background: var(--violet-deep);
  color: #fff;
}
.offer-title {
  font-size: 1.3125rem;
}
.demo-box {
  flex: none;
}
/* The demo clip holds the poster's shape, 720 by 900, before and after it loads, so the card never changes height. */
.demo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 900;
  object-fit: cover;
  border-radius: 12px;
  background: var(--violet);
}
/* The paragraph, the email box with its button, and the refusal line each share one cell with unseen copies of their
   longest words (offercard.js), so the card is as tall from the start as it will ever be. */
.offer-body,
.offer-take,
.offer-error {
  display: grid;
}
.offer-body > *,
.offer-take > *,
.offer-error > * {
  grid-area: 1 / 1;
}
.ghost {
  visibility: hidden;
}
.offer-body {
  font-size: 0.875rem;
  color: var(--lilac-text);
}
/* Claire's paragraph is shorter than the room the build's longest holds: it sits on the email box, the card's gap above
   the box as on the build card, and the room it doesn't fill goes under the picture, so nothing moves (stenzil
   marketing, Nov. 21st 2026). */
.offer[data-way="look"] .offer-said {
  align-self: end;
}
.offer-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.offer-form input {
  flex: none;
  height: 2.875rem;
  padding: 0 0.75rem;
  font-size: 1rem;
  border-color: transparent;
}
.offer-form input:disabled {
  opacity: 0.6;
}
/* After a press the words take the email box's room; the box keeps it, unseen. */
.offer-take.done .offer-form {
  visibility: hidden;
}
.offer-done {
  align-self: center;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
}
.offer-done:empty {
  visibility: hidden;
}
.offer-error {
  font-size: 0.8125rem;
  line-height: 1.3;
  font-weight: 600;
}
.build {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.875rem;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--violet-ink);
  font: inherit;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.offer-line {
  font-size: 0.8125rem;
  color: var(--lilac-text);
}
/* The line under the build card's button (Claire's "Let's go with A", Nov. 22nd 2026). Its room is held from the start,
   unseen until the card is the build card, so nothing under it moves; Claire's card leaves it unseen. */
.offer-note {
  font-size: 0.8125rem;
  line-height: 1.3;
  color: var(--lilac-text);
  text-align: center;
  visibility: hidden;
}
.offer[data-way="build"] .offer-note {
  visibility: visible;
}
/* The "Not today?" row (offercardhtml.js): after a tap the thanks and the note box take the ask's and the choices'
   room, so nothing moves. Its colours come from its card, or from the overlay. */
.not-now {
  display: grid;
  gap: 0.375rem;
}
/* Its own quieter card after the offer, so the offer leads (Claire, Nov. 24th 2026: "otherwise it feels like we are
   leading them right into saying no thanks"). */
#not-now {
  --nn-chip: #fff;
  --nn-edge: var(--edge);
  --nn-soft: var(--ink-soft);
  --nn-send: var(--violet);
  --nn-send-ink: #fff;
  --nn-ring: var(--violet);
  order: 5;
  margin: 0.625rem 0.75rem 0;
  padding: 1rem;
  border-radius: 16px;
  background: var(--lilac);
  color: var(--violet-ink);
}
.not-now-ask {
  grid-area: 1 / 1;
  font-size: 0.8125rem;
  font-weight: 700;
}
.not-now-choices {
  grid-area: 2 / 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0.375rem;
}
.not-now-choices button,
.not-now-send button {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  min-height: 2.75rem;
  padding: 0.375rem 0.625rem;
  /* Filled light chips, so they read as buttons (Claire, Nov. 24th 2026: purple on purple looked like no buttons). */
  border: 1px solid var(--nn-edge);
  border-radius: 10px;
  background: var(--nn-chip);
  color: var(--violet-ink);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: start;
  box-shadow: 0 1px 2px rgba(27, 24, 48, 0.25);
}
.not-now-choices button:hover:not(:disabled),
.not-now-send button:hover:not(:disabled) {
  border-color: var(--nn-ring);
}
.not-now-choices button svg {
  stroke: var(--violet);
}
.not-now-choices button:disabled,
.not-now-send button:disabled {
  opacity: 0.6;
  cursor: default;
}
/* Send is the filled main button; Nope is only outlined, quieter (Claire, Nov. 24th 2026). */
.not-now-send {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.not-now-send button {
  justify-content: center;
}
.not-now-send .not-now-nope {
  background: transparent;
  color: var(--nn-soft);
  box-shadow: none;
}
.not-now-send [type="submit"] {
  border-color: var(--nn-send);
  background: var(--nn-send);
  color: var(--nn-send-ink);
  font-weight: 700;
}
.not-now-choices svg,
.not-now-close svg {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* A ring that shows on the card and on the purple overlay. */
.not-now :focus-visible,
.not-now-close:focus-visible {
  outline-color: var(--nn-ring);
}
/* The thanks' line is held while empty, so the card is as tall as the note box needs from the start. */
.not-now-after {
  grid-area: 1 / 1 / 3 / 2;
  display: grid;
  grid-template-rows: 1.375rem auto;
  align-content: center;
  gap: 0.625rem;
}
.not-now:not(.done) .not-now-after,
.not-now.done > :not(.not-now-after),
.not-now.noted .not-now-box {
  visibility: hidden;
}
.not-now-box {
  grid-area: 2 / 1;
  display: grid;
  gap: 0.5rem;
}
.not-now-box label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--nn-soft);
}
/* About three lines, at the email box's size so a phone doesn't zoom; it never grows the card. */
.not-now-box textarea {
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.2;
  border-color: var(--nn-edge);
  resize: none;
}
.not-now-done {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
}
.not-now.noted .not-now-done {
  grid-area: 1 / 1 / 3 / 2;
  align-self: center;
  text-align: center;
}
/* The same row over the page for an owner leaving the offer (offercard.js), on the offer's purple. */
.not-now-sheet {
  --nn-chip: var(--lilac);
  --nn-edge: rgba(228, 222, 255, 0.55);
  --nn-soft: var(--lilac-text);
  --nn-send: #fff;
  --nn-send-ink: var(--violet-ink);
  --nn-ring: #fff;
  width: calc(100% - 2rem);
  max-width: 26rem;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 0;
  border-radius: 16px;
  background: var(--violet-deep);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  animation: land 0.25s;
}
.not-now-sheet:focus {
  outline: none;
}
.not-now-sheet::backdrop {
  background: rgba(16, 13, 32, 0.72);
}
.not-now-sheet .not-now-ask {
  padding-inline-end: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  color: #fff;
}
/* More room between every part of the overlay than the card can spare (Claire, Nov. 24th 2026: "more breathing room"). */
.not-now-sheet .not-now-choices,
.not-now-sheet .not-now-send {
  gap: 0.75rem;
}
.not-now-sheet .not-now-after {
  gap: 1rem;
}
.not-now-sheet .not-now-box {
  gap: 0.75rem;
}
.not-now-sheet .not-now-box textarea {
  padding: 0.75rem 1rem;
}
.not-now-close {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
}

/* The Holiday Special box: text only, a plain card under the offer. */
.holiday {
  padding: 0.875rem 1rem;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
}
.holiday-title {
  font-size: 1.0625rem;
  margin: 0 0 0.25rem;
}
.holiday-body {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

/* What sums up the check, under the rows. */
.after h2 {
  font-size: 1.0625rem;
  margin: 0 0 0.375rem;
}
.none {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.875rem 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.none .none-more {
  margin-top: 0.4rem;
  font-weight: 400;
  color: var(--muted);
}
.none-ran {
  color: var(--muted);
  margin: 0 0 1.25rem;
}
.how p {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 0.375rem;
}

/* A video's box, and the play button it shows only when the device asks for less motion. */
.vid {
  position: relative;
}
.vid-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4rem;
  height: 4rem;
  margin: -2rem 0 0 -2rem;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(20, 16, 40, 0.65);
}
.vid-play::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 1.25rem;
  border-style: solid;
  border-width: 0.75rem 0 0.75rem 1.25rem;
  border-color: transparent transparent transparent #fff;
}

/* While the cat view is open the page behind stays put; a scrollbar it had keeps its room, so nothing shifts. */
html.held {
  overflow: hidden;
}
html.held-bar {
  scrollbar-gutter: stable;
}

/* The cat view (CatViewPhone at 390): the feed ad on top, the result under it, Build, then the mark and Close. */
.clip {
  width: calc(100% - 1.5rem);
  max-width: 30rem;
  max-height: calc(100dvh - 2.75rem);
  margin: 1.375rem auto auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--card);
  color: var(--ink);
  /* The boards' own line height. */
  line-height: normal;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  overflow: auto;
  overscroll-behavior: contain;
}
.clip:focus {
  outline: none;
}
.clip::backdrop {
  background: rgba(16, 13, 32, 0.88);
}
.clip[open] {
  display: flex;
  flex-direction: column;
  animation: land 0.25s;
}
/* The ad's own 4:5 shape from the first paint; on a short screen it shrinks whole rather than lose its words. */
.clip-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: calc(100dvh - 15rem);
  object-fit: contain;
  background: #000;
}
.clip-side {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 0.875rem 0.875rem 1rem;
}
.clip-brand,
.clip-note,
.clip-pitch {
  display: none;
}
.clip-result {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
}
.clip-mark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--line);
}
.clip-words {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.clip-title {
  font-weight: 700;
  font-size: 0.9375rem;
}
.clip-line {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.clip-result:not(.landed) .clip-line {
  font-weight: 400;
  font-style: italic;
  color: var(--faint);
}
.clip-result[data-state="flag"] .clip-mark {
  background: var(--flag);
}
.clip-result[data-state="note"] .clip-mark {
  background: var(--note);
}
.clip-result[data-state="pass"] .clip-mark {
  background: var(--pass);
}
.clip-result[data-state="quiet"] .clip-mark {
  background: var(--quiet);
}
.clip-result[data-state="unknown"] .clip-mark {
  background: var(--unknown);
}
.clip-result[data-state="flag"] .clip-line {
  color: var(--flag);
}
.clip-result[data-state="note"] .clip-line {
  color: var(--note);
}
.clip-build {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.875rem;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 12px;
  background: var(--violet);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.clip-build:hover {
  color: #fff;
  background: var(--violet-deep);
}
/* Opened from the first screen there is no check yet: the cat's joke, italic as the landing boards show it, in place
   of the result, the pitch and Build. */
.clip.from-landing .clip-result,
.clip.from-landing .clip-pitch,
.clip.from-landing .clip-build {
  display: none;
}
.clip-joke {
  font-style: italic;
  font-weight: 600;
  font-size: 0.9375rem;
}
.clip-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.clip-stenzil {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.clip-stenzil img {
  width: 20px;
  height: 20px;
  display: block;
}
.clip-close {
  min-height: 2.5rem;
  padding: 0 1rem;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: var(--card);
  color: var(--violet-deep);
  font-weight: 700;
}

@keyframes land {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* The computer: two columns, the results at left and the offer card with the Holiday Special box at right (PlayDesktopFinal, 1440). */
@media (min-width: 1080px) {
  html {
    /* A scrollbar that appears late must not shift the centred columns. */
    scrollbar-gutter: stable;
  }
  body {
    font-size: 1rem;
    line-height: 1.5;
  }
  /* The columns keep the page's own order; the phone's reordering is off. */
  .head,
  .rows,
  .rows-hint,
  .offer,
  .holiday,
  #not-now,
  .after {
    order: 0;
  }
  .wide-only {
    display: inline;
  }
  .narrow-only {
    display: none;
  }
  .top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 4.1875rem;
    padding: 0.875rem 3rem;
  }
  .brand img {
    width: 2.125rem;
    height: 2.125rem;
  }
  .brand-name {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    font: 700 1.375rem/1 "Bricolage Grotesque", system-ui, sans-serif;
  }
  .name {
    font-size: 1.25rem;
  }

  /* The first screen at LandingDesktop's sizes: an 820 column, 48 under the bar, 14 between parts. */
  .ask {
    gap: 0.875rem;
    max-width: 51.25rem;
    margin-top: 3rem;
    padding: 0;
    line-height: 1.45;
  }
  .ask h1,
  .land-second {
    font-size: 2.75rem;
    line-height: 1.05;
  }
  /* The board's 28 above the second headline. */
  .land-second {
    margin-top: 1.75rem;
  }
  .land-cats {
    grid-template-columns: repeat(10, minmax(0, 4.625rem));
  }
  .land-cat,
  .land-cat img {
    border-radius: 12px;
  }
  .land-cat .play {
    left: 4px;
    bottom: 4px;
    width: 18px;
    height: 18px;
    border-radius: 9px;
  }
  .land-cat .play svg {
    width: 7px;
    height: 9px;
  }
  .land-line {
    font-size: 0.875rem;
  }
  .lead {
    max-width: 45rem;
    font-size: 1.125rem;
  }
  .ask-form {
    gap: 0.875rem;
  }
  .ask label {
    margin-top: 0.375rem;
    font-size: 0.9375rem;
  }
  .ask-row {
    gap: 0.625rem;
    max-width: 38.75rem;
  }
  .ask input {
    height: 3.25rem;
    padding: 0 0.875rem;
    border-radius: 12px;
    font-size: 1.0625rem;
  }
  .ask-row button {
    min-height: 3.25rem;
    padding: 0 1.375rem;
    border-radius: 12px;
  }

  .report {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    max-width: none;
    width: min(77.5rem, 100% - 4rem);
    padding: 1.625rem 0 3.5rem;
  }
  .col {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
    flex: 1 1 auto;
    min-width: 0;
  }
  /* The column keeps its width whatever it holds, so nothing in it can narrow the rows beside it. */
  .side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 0 0 23.75rem;
    min-width: 0;
  }
  .head {
    gap: 0.375rem;
    padding: 0;
  }
  .kicker {
    display: block;
  }
  .headline {
    font-size: 2.125rem;
    line-height: 1.1;
    min-height: 2.2em;
  }
  .progress {
    gap: 0.875rem;
  }
  /* The bar gives up its width before the totals line wraps, so the head keeps one height. */
  .bar {
    flex: 0 1 17.5rem;
    min-width: 3rem;
    height: 8px;
    border-radius: 4px;
  }
  .count-box {
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  /* The cats strip: nine in a row, in the rows' order. */
  .strip {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 0.625rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.875rem;
  }
  .strip-hint {
    display: block;
    font-size: 0.8125rem;
    margin-top: -0.625rem;
  }
  .tile {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: stretch;
    padding: 0;
    border: 0;
    background: none;
    text-align: center;
    color: inherit;
  }
  .tile:disabled {
    cursor: default;
    opacity: 1;
  }
  .tile-pic {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    background: var(--violet);
    overflow: hidden;
  }
  .tile[data-state="flag"] .tile-pic {
    box-shadow: inset 0 0 0 3px var(--flag);
  }
  .tile[data-state="note"] .tile-pic {
    box-shadow: inset 0 0 0 3px var(--note-ring);
  }
  .tile[data-state="flag"] .tile-pic img,
  .tile[data-state="note"] .tile-pic img {
    outline: 3px solid;
    outline-offset: -3px;
  }
  .tile[data-state="flag"] .tile-pic img {
    outline-color: var(--flag);
  }
  .tile[data-state="note"] .tile-pic img {
    outline-color: var(--note-ring);
  }
  .badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 11px;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: land 0.4s;
  }
  .tile:not(.landed) .badge {
    display: none;
  }
  .tile .play {
    left: 5px;
    bottom: 5px;
    width: 22px;
    height: 22px;
    border-radius: 11px;
  }
  .tile .play svg {
    width: 10px;
    height: 12px;
  }
  .tile-label {
    font-size: 0.75rem;
    line-height: 1.2;
    color: var(--muted);
  }
  .tile.landed .tile-label {
    font-weight: 600;
    color: var(--ink);
  }
  .tile[data-state="flag"] .tile-label {
    color: var(--flag);
  }
  .tile[data-state="note"] .tile-label {
    color: var(--note);
  }

  .rows,
  .rows-hint,
  .offer,
  .holiday,
  #not-now {
    margin: 0;
  }
  .rows {
    border-radius: 18px;
  }
  .rows-hint {
    display: none;
  }
  .row {
    padding: 0.375rem 1.125rem;
  }
  .row-top {
    gap: 0.875rem;
    min-height: 3.25rem;
  }
  .thumb {
    display: none;
  }
  .row-btn {
    flex: 1;
    gap: 0.875rem;
    min-height: 0;
    cursor: default;
  }
  .row-text {
    flex-direction: row;
    align-items: center;
    gap: 0.875rem;
  }
  .title {
    flex: 0 0 15.625rem;
    font-size: 1rem;
    line-height: 1.5;
  }
  .short {
    flex: 1;
    min-width: 0;
    font-size: 1rem;
    line-height: 1.5;
  }
  /* The computer's flag has its Show the fix button in place of the phone's words. */
  .tap {
    display: none;
  }
  .mark {
    order: -1;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    font-size: 0.8125rem;
  }
  .row.landed .fix-btn,
  .row.landed .more-btn {
    display: block;
    flex: none;
  }
  .fix-btn {
    height: 2.25rem;
    padding: 0 0.75rem;
    border: 1px solid var(--edge);
    border-radius: 8px;
    background: var(--card);
    color: var(--violet-deep);
    font-size: 0.875rem;
    font-weight: 700;
  }
  .more-btn {
    padding: 0;
    border: 0;
    background: none;
    font-size: 0.875rem;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .more-btn:hover {
    color: var(--violet-deep);
  }
  .open {
    gap: 0.5rem;
    margin: 0.125rem 0 0.5rem 2.375rem;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    font-size: 0.9375rem;
  }
  .send-row {
    gap: 0.625rem;
  }
  .send-row code {
    padding: 0.5625rem 0.75rem;
  }
  .send-row button {
    padding: 0 0.875rem;
    border-radius: 10px;
  }

  .after {
    padding: 0.25rem 0.25rem 0;
  }
  .after h2 {
    font-size: 1.25rem;
  }
  .how p {
    font-size: 0.9375rem;
  }

  /* The offer waits in a light card until the check finishes, then wakes. */
  .offer {
    gap: 0.75rem;
    padding: 1.375rem;
    border-radius: 20px;
    transition:
      background 0.5s,
      color 0.5s;
  }
  .offer-title {
    font-size: 1.625rem;
  }
  .offer-body {
    font-size: 0.9375rem;
  }
  .offer-line,
  .offer-note {
    font-size: 0.875rem;
  }
  .build {
    min-height: 3.125rem;
  }
  .offer:not(.ready) {
    background: var(--lilac);
    color: var(--violet-ink);
  }
  .offer:not(.ready) .offer-body,
  .offer:not(.ready) .offer-line {
    color: var(--violet-ink);
  }
  .offer:not(.ready) .build {
    color: var(--faint);
  }
  .offer-done {
    font-size: 1rem;
  }
  .holiday,
  #not-now {
    padding: 1.125rem 1.375rem;
    border-radius: 20px;
  }
  .holiday-title {
    font-size: 1.1875rem;
  }
  .holiday-body {
    font-size: 0.9375rem;
  }

  /* The cat view (CatViewDesktop at 1440): the ad at left, about 720 tall; at right the check's name, the result,
     the pitch, Build and Close. */
  .clip {
    width: fit-content;
    max-width: calc(100vw - 4rem);
    max-height: calc(100vh - 2rem);
    margin: auto;
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    overflow: hidden;
  }
  .clip::backdrop {
    background: rgba(16, 13, 32, 0.82);
  }
  .clip[open] {
    flex-direction: row;
  }
  .clip-video {
    width: auto;
    height: min(45rem, calc(100vh - 4rem));
    max-height: none;
    object-fit: cover;
  }
  /* The board's 340 of content inside its padding. */
  .clip-side {
    flex: 0 0 24.5rem;
    gap: 1rem;
    padding: 1.75rem 1.625rem;
  }
  .clip-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font: 700 1.0625rem/1.2 "Bricolage Grotesque", system-ui, sans-serif;
    color: var(--violet-ink);
  }
  .clip-brand img {
    width: 28px;
    height: 28px;
    display: block;
  }
  .clip-result {
    gap: 0.75rem;
    padding: 0.875rem;
    border-radius: 14px;
    background: var(--page);
    border: 1px solid var(--line);
  }
  .clip-result[data-state="flag"] {
    background: var(--flag-wash);
    border-color: #f3d6bf;
  }
  .clip-result[data-state="note"] {
    background: var(--note-wash);
    border-color: #f1e3c2;
  }
  .clip-mark {
    width: 24px;
    height: 24px;
    border-radius: 12px;
    font-size: 0.8125rem;
  }
  .clip-words {
    gap: 0.125rem;
  }
  .clip-title {
    font-size: 1rem;
  }
  .clip-line {
    font-size: 0.9375rem;
  }
  .clip-note {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8125rem;
    color: var(--muted);
  }
  .clip-pitch {
    display: block;
    font: 700 1.25rem/1.2 "Bricolage Grotesque", system-ui, sans-serif;
  }
  .clip-build {
    min-height: 3.125rem;
  }
  .clip-joke {
    font-size: 1rem;
  }
  /* The board's spacer: Close sits at the bottom right. */
  .clip-foot {
    flex: 1;
    align-items: flex-end;
    justify-content: flex-end;
  }
  .clip-stenzil {
    display: none;
  }
  .clip-close {
    min-height: 2.625rem;
    padding: 0 1.125rem;
  }
}

/* From 1280 the column holds the longest totals line on one row, as the board shows: the box steps aside and holds no
   copy, the line stays on its row, and the bar gives up width instead. */
@media (min-width: 1280px) {
  .count-box {
    display: contents;
  }
  .count-box::after {
    content: none;
  }
  .count {
    flex: none;
    width: auto;
    min-width: 0;
    white-space: nowrap;
  }
}
