/* The Boring Brand Detector · This Agency */
:root {
  --olive: #6f6b2e;
  --olive-dark: #5d5a25;
  --cream: #f5f3e7;
  --paper: #fbfaf3;
  --ink: #111111;
  --muted: #5d5a4e;
  --line: #d6d2bf;
  --lime: #cde066;
  --pink: #f1bfd5;
  --blue: #bfebf4;
  --orange: #e67149;
  --blush: #ecc9c0;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --radius: 22px;
  --gutter: clamp(16px, 5vw, 56px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------- Logo ---------- */
.this-logo {
  display: inline-block; font-family: var(--sans); font-weight: 900; font-style: italic;
  font-size: 34px; letter-spacing: -1px; line-height: 1; transform: skewX(-8deg);
  color: var(--ink);
  background: repeating-linear-gradient(180deg, var(--ink) 0 3px, var(--lime) 3px 5px);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.6px var(--ink);
  filter: drop-shadow(2px 2px 0 var(--lime));
}
.logo { text-decoration: none; display: inline-flex; align-items: center; }

/* ---------- Top bar ---------- */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
}
.topbar-right { display: flex; gap: 14px; align-items: center; }
.lang-toggle {
  background: transparent; border: 1.5px solid currentColor; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; font-weight: 600; padding: 5px 10px; color: var(--ink);
}
.burger { width: 34px; height: 26px; background: none; border: 0; display: grid; align-content: center; gap: 5px; padding: 4px; }
.burger span { display: block; height: 2.4px; background: var(--ink); border-radius: 2px; }
body[data-screen="start"] .lang-toggle { color: var(--ink); }
.menu {
  position: fixed; inset: 0; z-index: 15; background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 var(--gutter);
}
.menu a { font-weight: 900; font-size: clamp(36px, 7vw, 72px); text-decoration: none; letter-spacing: -1.5px; line-height: 1.05; }
.menu a:hover { color: var(--lime); }
body.menu-open .topbar .this-logo { background: repeating-linear-gradient(180deg, var(--cream) 0 3px, var(--lime) 3px 5px); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke-color: var(--cream); }
body.menu-open .burger span { background: var(--cream); }
body.menu-open .lang-toggle { color: var(--cream); }

/* ---------- Shared type ---------- */
.mega {
  font-weight: 900; font-size: clamp(58px, 11vw, 160px); line-height: 0.86; letter-spacing: -0.035em;
  margin: 0; text-transform: uppercase;
}
.h-big { font-weight: 900; font-size: clamp(38px, 6vw, 76px); line-height: 0.92; letter-spacing: -0.03em; margin: 0 0 24px; }
.eyebrow, .mono-label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 14px; font-weight: 600; }
.lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.35; margin: 22px 0 32px; color: #191a08; }
.lede-dark { font-size: 20px; max-width: 34ch; }

/* ---------- Stickers ---------- */
.sticker {
  display: inline-block; font-weight: 900; font-size: 22px; line-height: 0.98; letter-spacing: -0.02em;
  padding: 16px 20px; border-radius: 16px; text-transform: uppercase; box-shadow: 0 2px 0 rgba(0,0,0,0.08);
}
.sticker-lime { background: var(--lime); }
.start-art .sticker.tilt-r { rotate: 8deg; transform: none; }
.sticker-pink { background: var(--pink); }
.sticker-blue { background: var(--blue); }
.tilt-r { transform: rotate(8deg); }
.tilt-l { transform: rotate(-7deg); }

/* ---------- Buttons ---------- */
.btn-black {
  display: flex; align-items: center; justify-content: center; gap: 14px; position: relative;
  width: 100%; background: var(--ink); color: #fff; border: 0; border-radius: 999px;
  padding: 22px 28px; font-weight: 800; font-size: 20px; letter-spacing: 0.01em; text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn-black .arrow { position: absolute; left: 28px; font-size: 24px; }
@media (max-width: 480px) { .btn-black { padding-left: 60px; font-size: 18px; } .btn-black .arrow { left: 24px; } .unlock-card { box-shadow: 6px 6px 0 var(--ink); width: calc(100% - 6px); } }
.btn-black:hover { transform: translateY(-2px); background: #000; }
.btn-black:disabled { opacity: .6; cursor: progress; transform: none; }
.pill {
  background: transparent; border: 1.5px solid var(--ink); border-radius: 999px; padding: 9px 18px;
  font-weight: 800; font-size: 12px; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap;
}
.pill:hover { background: var(--ink); color: var(--cream); }

/* ---------- Screen 1: start ---------- */
.screen-start {
  background: var(--olive); color: #fff; min-height: 100svh; position: relative; overflow: hidden;
  padding: 120px var(--gutter) 0; display: grid;
}
.start-inner { position: relative; z-index: 2; max-width: 860px; }
.screen-start .lede { color: #1a1a08; }
.start-form { max-width: 660px; }
.url-form {
  display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 8px 8px 8px 30px;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.35); transition: box-shadow .2s ease;
}
.url-field { flex: 1; min-width: 0; display: flex; }
.url-form input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-family: var(--sans);
  font-size: 19px; color: var(--ink); padding: 14px 0;
}
.url-form input::placeholder { color: #8b8a86; }
.go {
  flex: none; height: 60px; border-radius: 999px; border: 0; background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 22px 0 26px;
  font-weight: 800; font-size: 14.5px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
  transition: transform .15s ease, background .15s ease;
}
.go svg { width: 22px; height: 22px; flex: none; }
.go:hover { background: #000; }
.url-form:focus-within { box-shadow: 0 0 0 4px var(--lime); }
.start-fine { margin: 14px 0 0; padding: 0 8px 0 30px; color: #fff; font-size: 13.5px; line-height: 1.4; }
.start-fine a { color: #fff; text-underline-offset: 2px; font-weight: 600; }
/* Phones: the field on its own line, a big button under it */
@media (max-width: 699px) {
  .url-form { flex-direction: column; align-items: stretch; gap: 12px; background: none; box-shadow: none; padding: 0; border-radius: 0; }
  .url-form:focus-within { box-shadow: none; }
  .url-field { background: #fff; border-radius: 999px; padding: 4px 24px; box-shadow: 0 0 0 4px rgba(255,255,255,0.35); transition: box-shadow .2s ease; }
  .url-field:focus-within { box-shadow: 0 0 0 4px var(--lime); }
  .go { height: auto; min-height: 62px; padding: 14px 20px; font-size: 15.5px; white-space: normal; text-align: center; }
  .go span { text-wrap: balance; }
  .start-fine { padding: 0 6px; text-align: center; }
}
.form-error { color: #fff; font-weight: 700; min-height: 24px; margin: 12px 0 0; font-size: 16px; }
.start-form .form-error { padding-left: 30px; }
@media (max-width: 699px) { .start-form .form-error { padding-left: 6px; text-align: center; } }
.start-art { position: relative; height: clamp(250px, 32vw, 380px); margin: 32px calc(var(--gutter) * -1) 0; }
.flower { position: absolute; left: 0; bottom: -16px; width: clamp(255px, 28vw, 380px); container-type: inline-size; }
.flower img { width: 100%; height: auto; display: block; transform-origin: 30% 100%; }
.bubble {
  position: absolute; left: 60%; top: 17.6%; width: 73cqw; height: 31.5cqw; z-index: 2;
  display: flex; align-items: center; padding: 0 0 0 10cqw; white-space: nowrap;
  background: var(--blush); border: max(1.5px, 0.45cqw) solid var(--ink); border-radius: 7.5cqw;
  font-weight: 800; font-size: 7.4cqw; line-height: 1.02; letter-spacing: -0.02em; color: var(--ink);
}
.start-art .sticker { position: absolute; right: var(--gutter); bottom: clamp(36px, 6vw, 80px); color: var(--ink); font-size: clamp(22px, 2.6vw, 34px); }
@media (min-width: 1000px) {
  .screen-start {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr;
    column-gap: 48px; padding-top: 118px; min-height: max(100svh, 760px);
  }
  .start-inner { display: contents; }
  .screen-start .mega { grid-column: 1 / -1; font-size: clamp(80px, 8.6vw, 150px); }
  .mega br.mb { display: none; }
  .screen-start .lede { grid-column: 2; margin-top: 40px; }
  .start-form { grid-column: 2; width: 100%; }
  .start-art { grid-column: 1; grid-row: 2 / 5; position: static; margin: 0; height: auto; min-height: 340px; }
  .flower { left: 0; right: auto; bottom: -16px; width: min(360px, 26vw); }
  .start-art .sticker { right: calc(var(--gutter) + 40px); left: auto; bottom: clamp(60px, 9vh, 110px); top: auto; }
}

/* ---------- Info ---------- */
.info { padding: 96px var(--gutter); display: grid; gap: 72px; }
.info-inner { max-width: 1100px; }
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.how-steps li { display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: center; font-size: 21px; line-height: 1.3; }
.how-steps b, .num {
  width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center;
  font-weight: 900; font-size: 24px;
}
.how-steps li:nth-child(1) b { background: var(--lime); }
.how-steps li:nth-child(2) b { background: var(--pink); }
.how-steps li:nth-child(3) b { background: var(--blue); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 600; background: var(--paper); }
@media (min-width: 900px) { .info { grid-template-columns: 1fr 1fr; gap: 64px; } .how-steps li { font-size: 22px; } }

/* ---------- Screen 2: scan ---------- */
.screen-scan, .screen-report, .screen-error { min-height: 100svh; padding: 110px var(--gutter) 64px; position: relative; }
/* Stamps, stickers and the waving hand may poke out while animating; never let them widen the page on phones. */
.screen-scan, .screen-report { overflow-x: clip; }
.scan-head, .report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; max-width: 1180px; margin: 0 auto 24px; }
.scan-head .mono-label { margin: 0; }
.scan-host { font-family: var(--mono); font-size: clamp(20px, 3vw, 28px); margin: 2px 0 0; word-break: break-all; }
.scan-body { max-width: 1180px; margin: 0 auto; display: grid; gap: 28px; }
.radar-wrap { max-width: 520px; width: 100%; margin: 0 auto; }
.radar-wrap svg { width: 100%; height: auto; overflow: visible; }
.radar-loading .radar-shape { animation: wobble 1.6s ease-in-out infinite; transform-origin: 50% 52%; }
@keyframes wobble { 0%, 100% { transform: scale(0.55) rotate(0deg); opacity: .55; } 50% { transform: scale(0.95) rotate(6deg); opacity: .9; } }
.scan-side { width: 100%; max-width: 560px; margin: 0 auto; }
.scan-note { font-weight: 900; font-size: clamp(30px, 3.8vw, 48px); line-height: 0.96; letter-spacing: -0.03em; margin: 0 0 22px; }
.scan-hint { font-family: var(--mono); font-size: 12.5px; letter-spacing: .03em; color: var(--muted); margin: 18px 0 0; }
.scan-steps { list-style: none; padding: 0; margin: 0; width: 100%; }
/* Phones: what we found first, then the radar */
@media (max-width: 899px) { .scan-side { display: contents; } .scan-note { order: -1; margin: 0; } .scan-steps, .scan-hint { max-width: 560px; margin-left: auto; margin-right: auto; } .scan-hint { margin-top: -10px; } }
.scan-steps li {
  display: flex; justify-content: space-between; gap: 12px; padding: 14px 2px; border-bottom: 1.5px solid var(--line);
  font-size: 16px; opacity: .35; transition: opacity .3s ease;
}
.scan-steps li.active, .scan-steps li.done { opacity: 1; }
.scan-steps li b { font-family: var(--mono); font-weight: 600; font-size: 14px; }
.scan-steps li.active b::after { content: "…"; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (min-width: 900px) { .scan-body { grid-template-columns: 1fr 1fr; align-items: center; } }

/* Unlock card: from the free score to the full report */
.unlock { margin-top: 80px; }
.unlock-card {
  position: relative; display: grid; gap: 30px; background: var(--paper); border: 2px solid var(--ink); border-radius: 28px;
  padding: 44px clamp(22px, 4vw, 48px) 30px; box-shadow: 10px 10px 0 var(--ink);
}
@media (min-width: 900px) { .unlock-card { grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; padding-top: 48px; } }
.unlock-sticker { position: absolute; top: -30px; right: 22px; font-size: 18px; padding: 12px 16px; z-index: 2; }
.unlock-title { font-weight: 900; font-size: clamp(32px, 4.2vw, 52px); line-height: 0.95; letter-spacing: -0.03em; margin: 0 0 24px; }
.unlock-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.unlock-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; font-size: 15.5px; line-height: 1.35; color: #2a2a22; }
.unlock-list b { display: block; font-weight: 800; font-size: 17.5px; color: var(--ink); margin-bottom: 1px; }
.unlock-list .ico { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; background: var(--lime); }
.unlock-list li:nth-child(2) .ico { background: var(--pink); }
.unlock-list li:nth-child(3) .ico { background: var(--blue); }
.unlock-list li:nth-child(4) .ico { background: var(--blush); }
.unlock-list li:nth-child(5) .ico { background: var(--orange); }
.unlock-list .ico svg { width: 15px; height: 15px; }
.gate-form .btn-black { margin-top: 2px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.field input { font: inherit; font-weight: 400; font-size: 17px; padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); width: 100%; }
.field-row { display: grid; gap: 12px; }
@media (min-width: 540px) { .field-row { grid-template-columns: 1fr 1fr; } }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14px; line-height: 1.35; margin: 6px 0 20px; color: #2a2a22; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.hp { position: absolute; left: -9999px; }
.gate-form .form-error { color: #b3261e; }
.fine { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }

/* ---------- Screen 3: report ---------- */
.report-wrap { max-width: 1180px; margin: 0 auto; }
.report-head .host { font-family: var(--mono); font-size: clamp(20px, 3vw, 28px); margin: 2px 0 0; word-break: break-all; }
.report-head .mono-label { margin: 0; }
.score-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .score-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; } .score-grid > div:first-child { position: sticky; top: 24px; } }
.band-line { text-align: center; margin: 0; font-family: var(--mono); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; }
.roast { font-weight: 900; font-size: clamp(30px, 4.6vw, 56px); line-height: 0.98; letter-spacing: -0.03em; margin: 8px 0 18px; }
.house-note { display: inline-block; margin: 0 0 6px; padding: 7px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--pink); font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; transform: rotate(-2deg); }
.verdict { font-size: 19px; max-width: 60ch; color: #24241c; margin: 0 0 26px; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 2px; border-bottom: 1.5px solid var(--line); font-size: 16.5px; }
.rows li b { font-family: var(--mono); font-weight: 600; font-size: 19px; white-space: nowrap; }
.rows li > span { flex: 1 1 0; min-width: 0; } /* long reasons wrap, the percentage stays on the first line */
.rows li.expandable { cursor: pointer; flex-wrap: wrap; }
.rows li .row-more { flex-basis: 100%; font-size: 14.5px; color: var(--muted); display: none; padding-top: 6px; }
.rows li .row-more q { font-style: italic; color: var(--ink); }
.rows li.open .row-more { display: block; }
.rows li .dimtag { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-left: 6px; text-transform: uppercase; letter-spacing: .05em; }
.rows-head { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 26px 0 8px; }
.rows.strengths { margin-bottom: 4px; }
.rows li.locked-row { cursor: pointer; background: repeating-linear-gradient(135deg, transparent 0 9px, rgba(17,17,17,.045) 9px 18px); padding-left: 10px; padding-right: 10px; }
.rows li.locked-row span { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.rows li.locked-row svg { width: 16px; height: 16px; flex: none; }
.rows li.locked-row b { color: var(--muted); }
.rows li.locked-row:hover, .rows li.locked-row:focus-visible { background-color: rgba(205, 224, 102, .45); }
.rows.strengths li b { color: #3c6a12; }
.radar-wrap { position: relative; }
.tier-badge { position: absolute; bottom: 3%; right: 0; font-family: var(--mono); font-weight: 700; font-size: clamp(11px, 1.3vw, 14px); letter-spacing: .08em; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; transform: rotate(8deg); background: var(--lime); }
.tier-badge.tier-meh { background: var(--pink); }
.share-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.section { margin-top: 96px; }
.section, .rx, .unlock { scroll-margin-top: 56px; }
.score-grid .verdict { scroll-margin-top: 120px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 16px; border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 28px; }
.section-head h2 { font-weight: 900; font-size: clamp(32px, 5vw, 60px); line-height: 0.95; letter-spacing: -0.03em; margin: 0; min-width: 0; overflow-wrap: anywhere; }
.section-head .mono-label { margin: 0; color: var(--muted); }

.cards { display: grid; gap: 18px; }
.cards > * { min-width: 0; } /* long Dutch words may never push a card past the screen edge */
.card { overflow-wrap: break-word; }
@media (min-width: 720px) { .cards.two { grid-template-columns: 1fr 1fr; } .cards.three { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 24px; position: relative; }
.card h3 { margin: 0 0 4px; font-weight: 900; font-size: 22px; letter-spacing: -0.01em; line-height: 1.1; }
.card.small h3 { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 12px; }
.card .src { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 14px; }
.card p { margin: 0 0 10px; }
.card .big { font-weight: 900; font-size: 26px; line-height: 1.05; letter-spacing: -0.02em; }
.card.lime { background: var(--lime); }
.card.pink { background: var(--pink); }
.card.blue { background: var(--blue); }
.card.ink { background: var(--ink); color: var(--cream); }
.card.ink .src { color: #b9b6a6; }
.score10 { position: absolute; top: 20px; right: 20px; font-family: var(--mono); font-weight: 600; font-size: 15px; border: 1.5px solid currentColor; border-radius: 999px; padding: 3px 10px; }
.bars { display: grid; gap: 8px; margin: 10px 0 12px; }
.bar { display: grid; grid-template-columns: 112px 1fr 26px; gap: 10px; align-items: center; font-size: 13.5px; }
.bar i { display: block; height: 10px; border-radius: 99px; background: #e4e0cf; overflow: hidden; }
.bar i::before { content: ""; display: block; height: 100%; width: var(--v); background: var(--ink); border-radius: 99px; }
.bar span:last-child { font-family: var(--mono); font-size: 12.5px; text-align: right; }
.card.ink .bar i { background: #3b3b33; }
.card.ink .bar i::before { background: var(--lime); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 13px; font-family: var(--mono); margin-top: 6px; }
.meter { height: 14px; border-radius: 99px; background: linear-gradient(90deg, var(--blue) var(--v), var(--pink) var(--v)); border: 1.5px solid var(--ink); margin: 6px 0 2px; }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.tag { font-size: 13.5px; font-weight: 600; border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px 11px; background: var(--cream); }
.tag.unique { background: var(--lime); } .tag.generic { background: var(--cream); } .tag.missing { background: transparent; border-style: dashed; color: var(--muted); }
.tag.yes { background: var(--lime); } .tag.no { background: var(--blush); }
.quote { font-size: 18px; line-height: 1.35; border-left: 4px solid var(--orange); padding-left: 14px; margin: 10px 0 14px; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 6px 14px; font-size: 15px; margin: 0; }
.kv dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-top: 3px; }
.kv dd { margin: 0; }
.prism { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.prism div { border: 1.5px solid var(--ink); border-radius: 14px; padding: 10px; font-size: 13.5px; line-height: 1.25; min-height: 92px; background: var(--cream); }
.prism div b { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; overflow-wrap: anywhere; }
.prism div { min-width: 0; }
@media (max-width: 480px) { .prism { grid-template-columns: repeat(2, 1fr); } }
.prism div.weak { background: transparent; border-style: dashed; }
.prism div.strong { background: var(--lime); }
.pyramid { display: grid; gap: 4px; justify-items: center; margin: 6px 0 12px; }
.pyramid div { height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-family: var(--mono); text-transform: uppercase; border: 1.5px solid var(--ink); background: linear-gradient(90deg, var(--lime) var(--v), var(--paper) var(--v)); }
.pyramid div.weakest { outline: 3px solid var(--orange); outline-offset: 1px; }
.checklist { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; font-size: 15px; }
.checklist li::before { content: "✕"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--blush); border: 1.5px solid var(--ink); }
.checklist li.pass::before { content: "✓"; background: var(--lime); }
.checklist li small { color: var(--muted); }
.swatches { display: flex; gap: 8px; margin: 8px 0 12px; flex-wrap: wrap; }
.swatches span { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); position: relative; }
.shot { border: 1.5px solid var(--ink); border-radius: 16px; overflow: hidden; background: #ddd; margin-bottom: 14px; aspect-ratio: 16 / 10; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.logo-box { border: 1.5px solid var(--ink); border-radius: 16px; background: #fff; height: 120px; display: grid; place-items: center; padding: 16px; margin-bottom: 14px; }
.logo-box img { max-height: 84px; max-width: 80%; object-fit: contain; }

/* Bingo */
.bingo { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.bingo div { border: 1.5px solid var(--ink); border-radius: 16px; padding: 14px; min-height: 96px; display: flex; flex-direction: column; justify-content: space-between; background: var(--paper); }
.bingo div b { font-weight: 800; font-size: 17px; line-height: 1.1; }
.bingo div span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.bingo div.hit { background: var(--orange); color: #fff; }
.bingo div.hit span { color: #ffe9dd; }
.bingo div.hit:nth-child(3n+2) { background: var(--ink); color: var(--lime); }
.bingo div.hit:nth-child(3n+2) span { color: #cfd6a0; }
.bingo div.hit:nth-child(5n+4) { background: var(--pink); color: var(--ink); }
.bingo div.hit:nth-child(5n+4) span { color: #5a3a47; }

/* Onlyness / swap */
.onlyness { font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -0.015em; margin: 6px 0 14px; }
.stamp { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 14px; border: 2px solid currentColor; padding: 4px 10px; border-radius: 8px; transform: rotate(-4deg); letter-spacing: .08em; }
.stamp.fail { color: #c2361b; } .stamp.pass { color: #3c6a12; }

/* Prescription (screen 3) */
.rx { position: relative; margin-top: 110px; padding-top: 10px; }
.rx .mega { font-size: clamp(56px, 10vw, 136px); margin-bottom: 36px; max-width: 9ch; }
.rx-hand { position: absolute; right: calc((min(1180px, 100vw - 2 * var(--gutter)) - 100vw) / 2); top: 40px; width: clamp(130px, 19vw, 250px); pointer-events: none; }
.rx-steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 26px; max-width: 720px; }
.rx-steps li { display: grid; grid-template-columns: 70px 1fr; gap: 22px; align-items: start; }
.rx-steps .num { width: 70px; height: 70px; font-size: 28px; }
.rx-steps li:nth-child(1) .num { background: var(--lime); }
.rx-steps li:nth-child(2) .num { background: var(--pink); }
.rx-steps li:nth-child(3) .num { background: var(--blue); }
.rx-steps h3 { margin: 6px 0 6px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.rx-steps p { margin: 0; color: #34342a; font-size: 17px; }
.rx-sticker { position: absolute; right: clamp(40px, 10vw, 180px); top: clamp(330px, 30vw, 420px); font-size: clamp(20px, 2.4vw, 28px); z-index: 3; }
.rx-cta { max-width: 720px; margin: 44px 0 14px; }
.signature { font-family: var(--mono); letter-spacing: 0.3em; text-align: center; font-size: 15px; margin: 18px 0 0; max-width: 720px; }
.headlines { display: grid; gap: 10px; margin: 8px 0 0; }
.headlines div { font-weight: 900; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; line-height: 1.05; }
.before { text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--orange); color: var(--muted); font-size: 20px; font-weight: 600; }
.errc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.errc div { border: 1.5px solid var(--ink); border-radius: 16px; padding: 12px 14px; background: var(--paper); }
.errc b { font-family: var(--mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.errc ul { margin: 0; padding-left: 18px; font-size: 15px; }
@media (max-width: 760px) { .rx-sticker { position: static; display: inline-block; margin: 0 0 28px; } .rx-hand { width: 130px; top: 0; } }

/* Pending + error states inside report */
.pending { border: 1.5px dashed var(--muted); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); font-family: var(--mono); font-size: 14px; }
.pending::after { content: "…"; animation: blink 1s steps(2) infinite; }
.failed-block { border: 1.5px dashed #b3261e; border-radius: var(--radius); padding: 22px 24px; background: #fbeeea; font-size: 15px; }
.failed-block p { margin: 0 0 8px; }
.failed-block .fail-hint { font-weight: 600; }
.failed-block .fail-msg { font-family: var(--mono); font-size: 12px; color: var(--muted); word-break: break-word; }
.failed-block .pill { margin-top: 6px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); text-align: center; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700; z-index: 50; font-size: 15px; }

/* Error screen */
.error-inner { max-width: 620px; margin: 8vh auto 0; }
.error-inner .btn-black { margin-top: 28px; max-width: 420px; }

/* Footer */
.site-footer { display: flex; justify-content: space-between; padding: 26px var(--gutter); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; border-top: 1.5px solid var(--line); }
body[data-screen="scan"] .site-footer, body[data-screen="scan"] .info, body[data-screen="report"] .info, body[data-screen="error"] .info { display: none; }

/* Share page */
.share-page .share-wrap { max-width: 640px; margin: 0 auto; padding: 110px var(--gutter) 64px; }
.share-page .share-radar svg { width: 100%; height: auto; overflow: visible; }
.share-page .band { text-align: center; font-family: var(--mono); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.share-page .roast { text-align: center; }
.share-page .rows { margin: 28px 0 32px; }

/* Print */
/* ---------- Motion (subtle; disabled for reduced-motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Start screen entrance */
  .js .mega .line { display: inline-block; opacity: 0; transform: translateY(0.35em); animation: rise .7s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * 90ms + 80ms); }
  .js .screen-start .lede, .js .start-form { opacity: 0; animation: rise .7s cubic-bezier(.2,.8,.2,1) .5s forwards; }
  .js .start-form { animation-delay: .62s; }
  .js .flower { animation: popin .9s cubic-bezier(.3,1.5,.5,1) .55s both; }
  .flower img { animation: sway 6s ease-in-out 1.6s infinite; }
  .js .bubble { animation: popin .6s cubic-bezier(.3,1.6,.5,1) .6s both; }
  .bubble { transform-origin: 0 100%; }
  .js .start-art .sticker { animation: stickin .7s cubic-bezier(.3,1.6,.5,1) .9s both, float 5s ease-in-out 1.8s infinite; }
  .sticker { transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
  .sticker:hover { transform: rotate(-2deg) scale(1.06); }
  .go svg { transition: transform .2s ease; }
  .go:hover svg { transform: translateX(4px); }
  .url-form:focus-within .go svg { animation: nudge 1.2s ease-in-out infinite; }

  /* Unlock card */
  .unlock.in .unlock-sticker { animation: stickin .6s cubic-bezier(.3,1.6,.5,1) .35s both; }
  .unlock.in .unlock-list .ico { animation: popin .45s cubic-bezier(.3,1.6,.5,1) both; }
  .unlock.in .unlock-list li:nth-child(2) .ico { animation-delay: .08s; }
  .unlock.in .unlock-list li:nth-child(3) .ico { animation-delay: .16s; }
  .unlock.in .unlock-list li:nth-child(4) .ico { animation-delay: .24s; }
  .unlock.in .unlock-list li:nth-child(5) .ico { animation-delay: .32s; }

  /* Scan steps */
  .scan-note:not([hidden]) { animation: noteIn .6s cubic-bezier(.2,.8,.2,1) both; }
  .scan-steps li.done b { animation: popin .35s cubic-bezier(.3,1.6,.5,1) both; display: inline-block; }

  /* Report */
  .score-grid .radar-shape { transform-origin: 50% 52%; animation: grow 1s cubic-bezier(.2,1.2,.4,1) both; }
  .rows li { animation: slidein .45s ease both; animation-delay: calc(var(--i, 0) * 45ms + 250ms); }
  .rows li.expandable { transition: background .2s ease; }
  .rows li.expandable:hover { background: rgba(205, 224, 102, .25); }
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.in .bingo div { animation: popin .45s cubic-bezier(.3,1.6,.5,1) both; animation-delay: calc(var(--i, 0) * 35ms); }
  .bingo div { transition: transform .2s ease; }
  .bingo div:hover { transform: rotate(-3deg) scale(1.05); }
  .card { transition: transform .25s ease, box-shadow .25s ease; }
  .card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); }
  .reveal.in .stamp { animation: stamp .45s cubic-bezier(.3,1.6,.5,1) .35s both; }
  .bar i::before, .meter { transition: width 1s ease; }
  .reveal .bar i::before { width: 0; }
  .reveal.in .bar i::before { width: var(--v); transition-delay: .2s; }
  .rx.in .rx-hand { animation: wave 2.4s ease-in-out .3s 2; transform-origin: 40% 95%; }
  .rx.in .rx-steps .num { animation: popin .5s cubic-bezier(.3,1.6,.5,1) both; }
  .rx.in .rx-steps li:nth-child(2) .num { animation-delay: .12s; }
  .rx.in .rx-steps li:nth-child(3) .num { animation-delay: .24s; }
  .score-grid .tier-badge { animation: stamp .5s cubic-bezier(.3,1.6,.5,1) 1.1s both; }
  .rx.in .rx-sticker { animation: stickin .7s cubic-bezier(.3,1.6,.5,1) .4s both; }
  .btn-black .arrow { transition: transform .2s ease; }
  .btn-black:hover .arrow { transform: translateX(5px); }
}
#report.no-anim .radar-shape, #report.no-anim .rows li { animation: none !important; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes noteIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes popin { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes stickin { from { opacity: 0; transform: rotate(-18deg) scale(.5); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes sway { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-2.2deg); } }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateX(3px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-24px) rotate(-1.5deg); } }
@keyframes grow { from { transform: scale(0); opacity: 0; } }
@keyframes slidein { from { opacity: 0; transform: translateX(14px); } }
@keyframes stamp { from { opacity: 0; transform: rotate(-4deg) scale(2.2); } to { opacity: 1; transform: rotate(-4deg); } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-9deg); } 40% { transform: rotate(6deg); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(3deg); } }

@media print {
  .topbar, .share-bar, .rx-cta, .site-footer, .unlock { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff; }
  .section { break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
