/* What to Call — 90s CD-ROM / game-manual. Real type, not a picture of letters. */

:root {
  --paper: #f3e6c8;
  --ink: #2a160e;
  --muted: #5c3a24;
  --panel: #ffe9c2;
  --line: #3d1f14;
  --orange: #e47a22;
  --brown: #8e451a;
  --gold: #fcd954;
  --gold-deep: #f5a623;
  --cream: #f3e0b0;
  --yes: #1f5a32;
  --no: #8a2a16;
  --stretch: #8a5a10;
  --max: 42rem;
  --display: "Luckiest Guy", "Trebuchet MS", Verdana, Geneva, sans-serif;
  --body: "Trebuchet MS", Verdana, Geneva, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}
.skip {
  position: absolute; left: 0.75rem; top: -3rem; z-index: 20;
  padding: 0.4rem 0.7rem; background: var(--ink); color: var(--paper); text-decoration: none;
}
.skip:focus { top: 0.75rem; }
a { color: var(--brown); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.site-header, main, .site-footer {
  width: min(var(--max), calc(100% - 1.5rem));
  margin-inline: auto;
}
.site-header { padding: 0.75rem 0 0.25rem; }

/* Logo: concentric rings + real type */
.mark-link { display: block; text-decoration: none; color: inherit; }
.mark {
  position: relative;
  width: min(36rem, 100%);
  margin: 0 auto;
  aspect-ratio: 480 / 310;
}
.mark .rings {
  display: block;
  width: 100%;
  height: auto;
}
.mark-type {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8% 10% 10%;
  pointer-events: none;
}
.line1, .line2 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: 0.02em;
  line-height: 0.86;
  text-align: center;
}
.line1 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.18em;
}
.what, .call, .to, .line2 {
  display: inline-block;
  -webkit-text-stroke: 0;
  paint-order: stroke fill;
}
.what, .call {
  font-size: clamp(2.35rem, 10.5vw, 4.35rem);
  color: var(--gold-deep);
  background: linear-gradient(180deg, #fcd954 0%, #e47a22 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 0 0.5px #111)
    drop-shadow(-2px 0 0 #111)
    drop-shadow(2px 0 0 #111)
    drop-shadow(0 -2px 0 #111)
    drop-shadow(0 2px 0 #111)
    drop-shadow(-2px -2px 0 #111)
    drop-shadow(2px 2px 0 #111)
    drop-shadow(4px 5px 0 #111);
}
.to {
  font-size: clamp(1.05rem, 4.6vw, 1.85rem);
  color: var(--cream);
  -webkit-text-fill-color: var(--cream);
  background: none;
  filter:
    drop-shadow(-1.5px 0 0 #111)
    drop-shadow(1.5px 0 0 #111)
    drop-shadow(0 -1.5px 0 #111)
    drop-shadow(0 1.5px 0 #111)
    drop-shadow(3px 4px 0 #111);
  padding-top: 0.08em;
}
.line2 {
  margin-top: 0.12em;
  font-size: clamp(1.35rem, 6.2vw, 2.55rem); /* ~58% of WHAT */
  color: var(--gold);
  background: linear-gradient(180deg, #fcd954 0%, #f5a623 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(-2px 0 0 #111)
    drop-shadow(2px 0 0 #111)
    drop-shadow(0 -2px 0 #111)
    drop-shadow(0 2px 0 #111)
    drop-shadow(3px 4px 0 #111);
}
.mark:not(.mark--cats) .line2 { display: none; }

h1, h2, h3, legend {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.privacy h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin: 0.6rem 0 0.7rem; }
h2 { font-size: 1.25rem; margin: 1.4rem 0 0.4rem; }

.lead {
  margin: 0.6rem 0 1.2rem;
  color: var(--muted);
  text-align: center;
}

.hub-actions { display: flex; justify-content: center; margin: 1.5rem 0 2rem; }
.tile, .btn, .btn-ghost, .chip, .mini {
  font-family: var(--body);
  border-radius: 0;
  cursor: pointer;
}
.tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  min-height: 7.5rem;
  padding: 0.8rem;
  font-family: var(--display);
  font-size: 1.6rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--gold);
  border: 1px solid #fff8e0;
  border-right-color: var(--line);
  border-bottom-color: var(--line);
}
.tile:hover { filter: brightness(1.04); }

/* Quiz — square chips, all questions on one scroll */
.quiz { padding: 0 0 1.5rem; }
fieldset {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0.85rem 0.9rem 1rem;
  margin: 0 0 0.9rem;
}
legend {
  font-size: 1.15rem;
  padding: 0 0.3rem;
}
.hint, .sublabel { margin: 0.15rem 0 0.55rem; color: var(--muted); font-size: 0.92rem; }
.sublabel { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.72rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  appearance: none;
  font: inherit;
  min-height: 2.6rem;
  padding: 0.4rem 0.7rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #fff8e0;
  border-right-color: var(--line);
  border-bottom-color: var(--line);
}
.chip:hover { background: #fff3d6; }
.chip[aria-pressed="true"] {
  background: var(--brown);
  color: var(--paper);
  border-color: var(--line);
}
.actions { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.8rem 0 0; }
.btn, .btn-ghost, .mini {
  appearance: none;
  font: inherit;
  font-weight: 700;
  min-height: 2.7rem;
  padding: 0.45rem 0.95rem;
}
.btn {
  background: var(--orange);
  color: #fff8e0;
  border: 1px solid #fff3d0;
  border-right-color: var(--line);
  border-bottom-color: var(--line);
}
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.btn-ghost {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid #fff8e0;
  border-right-color: var(--line);
  border-bottom-color: var(--line);
}
.mini {
  font-size: 0.85rem;
  min-height: 2.4rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid #fff8e0;
  border-right-color: var(--line);
  border-bottom-color: var(--line);
}
.mini[data-copied="true"] { background: #d5ecda; }

.results { margin: 1.2rem 0 2rem; }
.results-head h2 { margin: 0; }
.summary { margin: 0.2rem 0 0.8rem; color: var(--muted); font-size: 0.92rem; }
.cards { display: grid; gap: 0.85rem; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 0.95rem 0.95rem 0.85rem;
}
.card h3 { font-size: clamp(1.45rem, 5vw, 1.9rem); margin: 0 0 0.4rem; }
.why { margin: 0 0 0.75rem; }
.yell-block { border-top: 1px dashed var(--brown); padding-top: 0.65rem; margin-bottom: 0.75rem; }
.yell-label { margin: 0 0 0.3rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.yell {
  display: inline-block;
  margin: 0 0 0.35rem;
  padding: 0.15rem 0.4rem;
  font-family: var(--display);
  letter-spacing: 0.04em;
  border: 1px solid currentColor;
}
.yell[data-v="yes"] { color: var(--yes); }
.yell[data-v="stretch"] { color: var(--stretch); }
.yell[data-v="no"] { color: var(--no); }
.yell-reason { margin: 0; font-size: 0.92rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.share-banner { color: var(--muted); }
.hidden, [hidden] { display: none !important; }

.site-footer {
  margin-top: auto;
  padding: 1.4rem 0 2rem;
  border-top: 2px solid var(--line);
  color: var(--ink);
  font-size: 1rem;
}
.site-footer p { margin: 0; }

.privacy p { color: var(--muted); }
.noscript, #boot {
  padding: 0.7rem 0.85rem;
  background: var(--panel);
  border: 1px solid var(--line);
}

@media (prefers-reduced-motion: reduce) {
  .chip, .btn, .tile { filter: none; }
}

/* /cats/ two-column: quiz left, live results right. Phone stacks. */
body.cats .site-header,
body.cats main,
body.cats .site-footer {
  width: min(72rem, calc(100% - 1.5rem));
}
#app {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 880px) {
  #app {
    grid-template-columns: minmax(16rem, 1fr) minmax(16rem, 1fr);
  }
  #results { position: sticky; top: 0.75rem; }
}
.empty {
  margin: 0;
  padding: 0.9rem 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
}
.grok-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.grok-inline img {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  vertical-align: middle;
}
.lead p { margin: 0 0 0.7rem; }
.lead p:last-child { margin-bottom: 0; }
