/* hunchpin.com: Hunchpin's own look. Loaded on hunchpin.com only, after site.css (and play.css on the game page), so
   christophtrattner.com keeps its own look.

   The look comes from Hunchpin's cards and explainer videos: comic panels, a yellow title card, ink outlines, hard shadows,
   dotted paper and the blue robot.
   - Two voices. Blue is the assistant: the robot, its suggestion, its markers. Yellow is you and Hunchpin: the calls to
     action, your highlight, the title cards.
   - Ink outlines and hard shadows only on things you press, and on the panels of the game. Text stays flat.
   - One loud moment per page: the title card, and on the home page the sample round with its burst when you answer.
   - Type: Bangers is Hunchpin speaking (wordmark, titles, verdicts). Atkinson Hyperlegible Next is everything you read and
     press; it was drawn for readers with low vision, which suits classrooms. Newsreader stays for the material under test:
     the headlines, and what an AI tool wrote.
   - Motion only answers the player: buttons press down, the burst pops after an answer. */

/* 1 Fonts ------------------------------------------------------------------------------------------------------------ */

@font-face { font-family: "Bangers"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/bangers-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bangers"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/bangers-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/atkinson-next-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/atkinson-next-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/atkinson-next-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/atkinson-next-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/atkinson-next-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible Next"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/atkinson-next-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* 2 Tokens ----------------------------------------------------------------------------------------------------------- */

:root {
  --hp-ink: #1d1b22;          /* outlines and text: 17:1 on white */
  --hp-paper: #fbf4e4;        /* the dotted paper of the cards and videos */
  --hp-yellow: #ffd23f;       /* you and Hunchpin: calls to action, title cards (ink on it: 11.8:1) */
  --hp-yellow-soft: #fff3c4;
  --hp-blue: #2457d6;         /* the assistant (6.2:1 on white) */
  --hp-blue-soft: #e6edff;
  --hp-green: #06a77d;        /* right (ink on it: 5.5:1) */
  --hp-green-deep: #05795b;   /* right, under white text (5.4:1) */
  --hp-green-soft: #d7f5ea;
  --hp-red: #ef476f;          /* caught (ink on it: 4.7:1) */
  --hp-red-deep: #c42350;     /* caught, as text (5.7:1) */
  --hp-red-soft: #ffe0e8;
  --hp-muted: #5e5a69;        /* secondary text: 6.7:1 on white */
  --hp-rule: #e4dece;
  --hp-display: "Bangers", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --hp-news: "Newsreader", "Iowan Old Style", Georgia, serif;
  --hp-text: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", Verdana, sans-serif;
  --hp-dots: radial-gradient(rgba(29, 27, 34, 0.085) 1.6px, transparent 1.9px) 0 0 / 18px 18px;
  --hp-robot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5.6V3.4' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='2.7' r='1.5' fill='%23ffd23f'/%3E%3Crect x='2.6' y='10.2' width='2.2' height='4.6' rx='1.1' fill='white'/%3E%3Crect x='19.2' y='10.2' width='2.2' height='4.6' rx='1.1' fill='white'/%3E%3Crect x='4.4' y='6' width='15.2' height='13' rx='4.2' fill='white'/%3E%3Ccircle cx='9.3' cy='11.6' r='1.75' fill='%232457d6'/%3E%3Ccircle cx='14.7' cy='11.6' r='1.75' fill='%232457d6'/%3E%3Cpath d='M9.4 15.4q2.6 1.7 5.2 0' stroke='%232457d6' stroke-width='1.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E");

  /* the shared tokens of site.css and play.css, in Hunchpin's colours and type */
  --ink: var(--hp-ink);
  --paper: #ffffff;
  --graphite: var(--hp-muted);
  --line: var(--hp-rule);
  --fog: #f7f2e6;
  --blue: var(--hp-blue);
  --tint: var(--hp-yellow-soft);
  --mark: #ffe27a;
  --accent: var(--hp-yellow);
  --on-accent: var(--hp-ink);
  --serif: var(--hp-text);
  --sans: var(--hp-text);
  --t-base: 1.125rem;
}

/* 3 Base ------------------------------------------------------------------------------------------------------------- */

body { font-feature-settings: normal; }
h1, h2 { font-family: var(--hp-display); font-weight: 400; letter-spacing: 0.012em; line-height: 1; }
h3, h4 { font-family: var(--hp-text); font-weight: 700; letter-spacing: -0.005em; }
strong, b { font-weight: 700; }
::selection { background: var(--hp-yellow); color: var(--hp-ink); }
:focus-visible { outline: 3px solid var(--hp-blue); outline-offset: 3px; }
.skip-link { background: var(--hp-ink); color: #fff; }
.muted { color: var(--hp-muted); }
/* no fading in while scrolling: on hunchpin.com, things move only when the player does something */
.fx-rise, .fx-rise.fx-in { opacity: 1; transform: none; transition: none; }

/* The assistant's marker: wherever the game marks the assistant's suggestion, the robot stands in for the old "1". */
.tease-fn, .drill-fn, .dc-fn {
  display: inline-block; flex: none; width: 1.55em; min-width: 0; height: 1.55em; padding: 0; vertical-align: -0.35em;
  font-size: 0.9rem; line-height: 0; color: transparent; overflow: hidden;
  background: var(--hp-blue) var(--hp-robot) center / 86% no-repeat; border-radius: 0.36em; box-shadow: none;
}
.tease-headline .tease-fn, .dc-headline .dc-fn { font-size: max(0.3em, 0.95rem); margin: 0.32em 0 0 0.32em; }
.dc-fn.is-off, .is-muted > .dc-fn { background-color: var(--hp-muted); color: transparent; }

/* 4 Hunchpin's bar --------------------------------------------------------------------------------------------------- */

.nt-bar { background: #fff; box-shadow: 0 0 0 100vmax #fff; gap: 0.6rem 1rem; padding-block: 0.8rem; }
.nt-bar::after { height: 3px; bottom: -3px; background: var(--hp-ink); box-shadow: 0 0 0 100vmax var(--hp-ink); }
/* the white band reaches the window's edges by a layer behind the bar, not by a shadow clipped to the bar's edges: that clip
   also cut off the menu's panel, which opens below the bar */
.nt-bar { box-shadow: none; clip-path: none; }
.nt-bar::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); background: #fff; pointer-events: none; }
.nt-lock { gap: 0.65rem; }
.nt-mark { width: 2.6rem; height: 2.6rem; border-radius: 0.7rem; background: var(--hp-blue) var(--hp-robot) center / 76% no-repeat;
  box-shadow: 0 0 0 2.5px var(--hp-ink), 3px 3px 0 2.5px var(--hp-ink); }
.nt-word { font: 400 2.15rem/1 var(--hp-display); letter-spacing: 0.03em; color: var(--hp-ink); }
.nt-dot { display: none; }
.nt-tm { font: 700 0.62rem/0 var(--hp-text); color: var(--hp-muted); vertical-align: 1.9em; margin-left: 0.18em; letter-spacing: 0; }
.nt-links { gap: 0.2rem 0.9rem; position: relative; }   /* the hidden “på engelsk” of the EN tags stays inside the list when it scrolls on a phone */
.nt-links a { font: 700 1rem/1.2 var(--hp-text); padding: 0.4rem 0 0.3rem; border-bottom: 3px solid transparent; }
.nt-links a:hover { border-bottom-color: var(--hp-yellow); background: none; }
.nt-links a[aria-current="page"] { font-weight: 700; border-bottom: 3px solid var(--hp-ink); }
.nt-fb { color: var(--hp-ink); font: 700 0.95rem/1 var(--hp-text); text-decoration-thickness: 2px; text-decoration-color: var(--hp-yellow); }
.nt-fb:hover { text-decoration-color: var(--hp-ink); }
.nt-go { padding: 0.6rem 1rem; border: 2.5px solid var(--hp-ink); border-radius: 10px; background: #fff; color: var(--hp-ink);
  font: 700 0.95rem/1 var(--hp-text); box-shadow: 3px 3px 0 var(--hp-ink); transition: transform 0.08s, box-shadow 0.08s; }
.nt-go:hover { background: var(--hp-yellow-soft); border-color: var(--hp-ink); color: var(--hp-ink); }
.nt-go:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--hp-ink); }
.nt-go[aria-current="page"] { background: var(--hp-ink); color: #fff; }
.nt-bar.is-stuck .nt-word { font-size: 1.6rem; }
.nt-bar.is-stuck .nt-mark { width: 2rem; height: 2rem; border-radius: 0.55rem; }
@media (max-width: 46rem) {
  /* a phone: the mark, the language and one Menu, on one line; the menu opens everything else under the bar */
  .nt-bar { gap: 0.5rem 0.7rem; padding: 0.7rem 0; }
  .nt-mark { width: 2.15rem; height: 2.15rem; border-radius: 0.6rem; }
  .nt-word { font-size: 1.6rem; }
}

/* 5 Buttons: yellow and pressable, white for the second choice ------------------------------------------------------- */

.btn {
  padding: 0.85em 1.2em 0.8em; border: 2.5px solid var(--hp-ink); border-radius: 10px;
  background: var(--hp-yellow); color: var(--hp-ink); font: 700 1rem/1 var(--hp-text);
  box-shadow: 4px 4px 0 var(--hp-ink); transition: transform 0.08s ease-out, box-shadow 0.08s ease-out, background-color 0.12s;
}
.btn:hover { background-color: #ffdc66; color: var(--hp-ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--hp-ink); }
.btn[disabled] { background: var(--fog); color: var(--hp-muted); border-color: #b9b3a5; box-shadow: none; transform: none; }
.btn--line { background: #fff; color: var(--hp-ink); box-shadow: 4px 4px 0 var(--hp-ink); }
.btn--line:hover { background: var(--hp-yellow-soft); color: var(--hp-ink); }
@media (prefers-reduced-motion: reduce) { .btn, .nt-go { transition: none; } .btn:active, .nt-go:active { transform: none; } }

/* 6 Page openings and section heads --------------------------------------------------------------------------------- */

.page-head { padding-block: clamp(2rem, 5vw, 3.75rem) clamp(1.75rem, 4vw, 3rem); margin-bottom: clamp(1rem, 3vw, 2rem); }
.page-head::before { background: var(--hp-paper) var(--hp-dots); border-bottom: 3px solid var(--hp-ink); }
.page-head h1 { font: 400 clamp(2.6rem, 1.5rem + 3.6vw, 4.6rem)/0.95 var(--hp-display); letter-spacing: 0.012em; max-width: 17ch; text-wrap: balance; }
.page-head .deck { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3rem); line-height: 1.5; max-width: 40em; }
.ag-kicker { display: inline-block; margin: 0 0 1rem; padding: 0.4rem 0.7rem 0.35rem; border: 2px solid var(--hp-ink); border-radius: 8px;
  background: var(--hp-yellow); color: var(--hp-ink); font: 700 0.9rem/1.1 var(--hp-text); letter-spacing: 0; text-transform: none; rotate: -1.5deg; }
.section-head h2, .section > h2 { font: 400 clamp(2rem, 1.4rem + 2vw, 3.1rem)/0.98 var(--hp-display); letter-spacing: 0.015em; }
.section-head p { color: var(--hp-muted); }
.deck { color: var(--hp-ink); }
.section { border-top: 0; }

/* 7 The home page ---------------------------------------------------------------------------------------------------- */

/* the opening: dotted paper from edge to edge, the question on a tilted yellow card, a real round beside it */
.hp-hero { position: relative; isolation: isolate; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2rem, 4.5vw, 3.5rem) clamp(2.75rem, 6vw, 5rem); }
/* the way into the game comes right after the question, on every screen: question, Play, then the rest */
.hp-hero-copy { display: flex; flex-direction: column; }
.hp-hero .actions { order: 1; }
.hp-hero .deck { order: 2; }
.hp-facts { order: 3; }
.hp-hero::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); background: var(--hp-paper) var(--hp-dots);
  border-bottom: 3px solid var(--hp-ink); }
.hp-card-title { position: relative; margin: 0.6rem 0 1.9rem; padding: clamp(1.25rem, 2.4vw, 1.9rem) clamp(1.4rem, 3vw, 2.3rem) clamp(1.1rem, 2vw, 1.6rem);
  max-width: 40rem; background: var(--hp-yellow); border: 4px solid var(--hp-ink); border-radius: 6px; box-shadow: 10px 10px 0 var(--hp-ink); rotate: -1.6deg; }
@media (min-width: 46.01rem) { .hp-card-title { max-width: min(40rem, calc(100% - 1.5rem)); } }   /* with very large text, the tilted card stays inside the page */
.hp-card-title::after { content: ""; position: absolute; top: -1.7rem; right: -1.4rem; width: 4.1rem; height: 4.1rem; rotate: 9deg; border-radius: 1rem;
  background: var(--hp-blue) var(--hp-robot) center / 74% no-repeat; box-shadow: 0 0 0 3px var(--hp-ink), 4px 4px 0 3px var(--hp-ink); }
.hp-hero h1 { margin: 0; font: 400 clamp(2.7rem, 1.5rem + 3.6vw, 4.6rem)/0.92 var(--hp-display); letter-spacing: 0.01em; text-wrap: balance; }
.hp-card-title p { margin: 0.95rem 0 0; font: 700 clamp(1.05rem, 0.98rem + 0.3vw, 1.25rem)/1.3 var(--hp-text); }
.hp-hero .deck { margin: 0; max-width: 33em; font-size: clamp(1.125rem, 1.06rem + 0.25vw, 1.25rem); line-height: 1.55; }
.hp-hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 0 0 1.75rem; }
.hp-hero .actions a:not(.btn) { font-weight: 700; }
.btn--big { padding: 1.05em 1.45em 1em; font-size: 1.125rem; box-shadow: 6px 6px 0 var(--hp-ink); }
.btn--big:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--hp-ink); }
.hp-facts { gap: 0.55rem; margin-top: 1.6rem; }
.hp-facts li { padding: 0.38rem 0.75rem 0.34rem; border: 2px solid var(--hp-ink); border-radius: 999px; background: #fff; font: 700 0.875rem/1.2 var(--hp-text); }

/* the round: a comic panel. The assistant's line is blue; the options are pressable; the answer gets a burst. */
.hp-round { position: relative; padding: clamp(1.15rem, 2.4vw, 1.8rem); border: 4px solid var(--hp-ink); border-radius: 8px; background: #fff; box-shadow: 10px 10px 0 var(--hp-ink); }
.hp-round .try-k { margin: 0 0 1rem; font: 400 1.65rem/1 var(--hp-display); letter-spacing: 0.03em; color: var(--hp-ink); }
.hp-round .tease { display: block; position: relative; border: 0; padding: 0; }
.hp-round .tease-dateline { margin-bottom: 0.6rem; font-size: 0.95rem; color: var(--hp-muted); }
.hp-round .tease-slot { border-bottom: 2px solid var(--hp-ink); }
.hp-round .tease-headline { font: 500 clamp(1.6rem, 1.05rem + 1.5vw, 2.35rem)/1.08 var(--hp-news); letter-spacing: -0.015em; max-width: 19em; }
.hp-round .tease-note { align-items: center; gap: 0.6rem; margin-top: 1.15rem; padding: 0.6rem 0.85rem; border-radius: 10px; background: var(--hp-blue-soft);
  color: var(--hp-blue); font: 400 1.0625rem/1.35 var(--hp-text); }
.hp-round .tease-note .tease-fn { font-size: 1.15rem; }
.hp-round .where { margin-top: 1.25rem; }
.hp-round .tease-q { font: 700 1rem/1.3 var(--hp-text); margin-bottom: 0.7rem; }
.hp-round .where .tease-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; border: 0; }
.hp-round .where .tease-options li { border: 0; margin: 0; font: 700 1.0625rem/1.2 var(--hp-text); }
.hp-round .tease-options li > span:first-child { display: block; padding: 0.75rem 0.9rem; border: 2.5px solid var(--hp-ink); border-radius: 10px; }
.hp-round .tease-options li[data-suggested] { display: block; padding: 0; }
.hp-round .tease-options li[data-suggested] > span:first-child, .hp-round .tease-options li[data-suggested] button > span:first-child { background-image: none; }
.hp-round .tease-options button { height: 100%; padding: 0.72rem 0.8rem 0.7rem 0.9rem; border: 2.5px solid var(--hp-ink); border-radius: 10px; background: #fff;
  box-shadow: 3px 3px 0 var(--hp-ink); transition: transform 0.08s ease-out, box-shadow 0.08s ease-out, background-color 0.12s; }
.hp-round .tease-options button:hover { background-color: var(--hp-yellow-soft); }
.hp-round .tease-options button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--hp-ink); }
.hp-round .tease-options button .tease-fn { font-size: 0.95rem; }
.hp-round .tease-options--tf button { border: 2.5px solid var(--hp-ink); border-radius: 12px; padding: 0.8rem 0.95rem; }
.hp-round .tease-options--tf .tease-tf { font: 400 2rem/0.95 var(--hp-display); letter-spacing: 0.03em; }
.hp-round .tease-options--tf .tease-sub { font: 400 0.875rem/1.3 var(--hp-text); color: inherit; opacity: 0.85; }
.hp-round .tease.is-done .tease-options button { cursor: default; color: var(--hp-muted); font-weight: 700; border-color: #c9c3b4; box-shadow: none; transform: none; }
.hp-round .tease.is-done .tease-options button:hover { background-color: #fff; }
.hp-round .tease.is-done .tease-options .is-mine button { background: var(--hp-red-soft); border-color: var(--hp-red-deep); color: var(--hp-ink); text-decoration: line-through; text-decoration-thickness: 2px; }
.hp-round .tease.is-done .tease-options .is-truth button, .hp-round .tease.is-done .tease-options .is-truth button:hover {
  background: var(--hp-green-deep); border-color: var(--hp-ink); color: #fff; box-shadow: 3px 3px 0 var(--hp-ink); }
.hp-round .tease-result { margin-top: 1.1rem; max-width: none; font: 700 1.0625rem/1.45 var(--hp-text); }
.hp-round .tease-actions { margin-top: 1.35rem; }
.hp-round .tease-actions .muted { font-size: 0.9rem; }
/* the burst after an answer: what the round shows in one word, as the cards do. Decorative; the sentence below says it. */
.hp-burst { position: absolute; z-index: 2; top: -4.4rem; right: -2.6rem; display: none; width: 10.5rem; height: 7.4rem; pointer-events: none; rotate: 7deg; color: var(--hp-ink); }
.hp-burst svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hp-burst .hp-burst-shadow { fill: var(--hp-ink); }
.hp-burst .hp-burst-face { fill: var(--burst, var(--hp-yellow)); stroke: var(--hp-ink); stroke-width: 6; stroke-linejoin: round; }
.hp-burst::after { position: absolute; inset: 0 0 0.4rem; display: grid; place-items: center; padding: 0 2.1rem; font: 400 1.45rem/0.92 var(--hp-display); letter-spacing: 0.03em; text-align: center; }
.tease[data-result] .hp-burst { display: block; animation: hp-pop 0.42s cubic-bezier(0.2, 1.5, 0.4, 1) both; }
.tease[data-result="right"] .hp-burst { --burst: var(--hp-green); }
.tease[data-result="right"] .hp-burst::after { content: attr(data-right); }
.tease[data-result="followed"] .hp-burst { --burst: var(--hp-red); }
.tease[data-result="followed"] .hp-burst::after { content: attr(data-followed); }
.tease[data-result="other"] .hp-burst::after { content: attr(data-other); }
@keyframes hp-pop { from { transform: scale(0.2) rotate(-18deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tease[data-result] .hp-burst { animation: none; } .hp-round .tease-options button { transition: none; } }
.hp-round .live { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 2px dashed var(--hp-rule); }
.hp-round .live-h { color: var(--hp-ink); font: 400 1.5rem/1 var(--hp-display); letter-spacing: 0.03em; }
.hp-round .live-h .muted { color: var(--hp-muted); }
.hp-round .live-facts li { background: var(--fog); border-top: 3px solid var(--hp-ink); }
.hp-round .live-facts b { color: var(--hp-ink); font: 400 2rem/1 var(--hp-display); }
.hp-round .live-facts span, .hp-round .live-hard, .hp-round .live-hard .muted { color: var(--hp-muted); }
.hp-round .live-hard a { color: var(--hp-ink); font-family: var(--hp-news); }

/* how a round goes: a comic strip, four panels in reading order */
.hp-how { padding-top: clamp(3rem, 6vw, 4.5rem); }
.hp-how h2, .hp-ways h2 { margin: 0 0 1.4rem; font: 400 clamp(2.1rem, 1.5rem + 2vw, 3.2rem)/0.98 var(--hp-display); letter-spacing: 0.015em; }
.hp-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: hp-step;
  border: 3px solid var(--hp-ink); border-radius: 8px; background: var(--hp-ink); box-shadow: 8px 8px 0 var(--hp-ink); overflow: hidden; }
.hp-strip li { counter-increment: hp-step; position: relative; display: flex; flex-direction: column; gap: 0.45rem; margin: 0; padding: 1.15rem 1.2rem 1.35rem;
  background: #fff; font-size: 1rem; line-height: 1.45; color: var(--hp-muted); }
.hp-strip li + li { margin-left: 3px; }
.hp-strip li::before { content: counter(hp-step); position: absolute; top: 0.85rem; right: 0.95rem; display: grid; place-items: center; width: 2rem; height: 2rem;
  border: 2.5px solid var(--hp-ink); border-radius: 50%; background: var(--hp-yellow); color: var(--hp-ink); font: 400 1.15rem/1 var(--hp-display); }
.hp-strip svg { display: block; width: 4.5rem; height: 4.5rem; margin-bottom: 0.35rem; }
.hp-strip b { display: block; font: 400 1.55rem/1 var(--hp-display); letter-spacing: 0.025em; color: var(--hp-ink); }
.hp-strip li:nth-child(2) { background: var(--hp-blue-soft); }
.hp-how .actions { display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; margin: 1.4rem 0 0; font-weight: 700; }
@media (max-width: 60rem) { .hp-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; } .hp-strip li + li { margin-left: 0; } }
@media (max-width: 34rem) { .hp-strip { grid-template-columns: minmax(0, 1fr); } }

/* three ways in: rows, each with its own door */
.hp-ways { padding-top: clamp(3rem, 6vw, 4.5rem); }
.hp-rows { margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--hp-ink); }
.hp-rows li { position: relative; display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 2.2fr) 15rem; align-items: center; gap: 0.5rem 2rem;
  margin: 0; padding: 1.35rem 0.25rem 1.35rem 0; border-bottom: 3px solid var(--hp-ink); }
.hp-rows h3 { margin: 0; font: 400 clamp(1.75rem, 1.4rem + 1.1vw, 2.35rem)/1 var(--hp-display); letter-spacing: 0.02em; }
.hp-rows .hp-for { margin: 0.45rem 0 0; font: 700 0.9rem/1.2 var(--hp-text); color: var(--hp-muted); }
.hp-rows p { margin: 0; max-width: 42em; color: var(--hp-ink); }
.hp-rows .hp-go { justify-self: end; white-space: nowrap; }
.hp-rows .hp-go::after { content: ""; position: absolute; inset: 0; }
.hp-rows li:hover { background: linear-gradient(var(--hp-yellow-soft), var(--hp-yellow-soft)) 0 0 / 100% 100% no-repeat; }
.hp-rows li:focus-within .hp-go { outline: 3px solid var(--hp-blue); outline-offset: 3px; }
.hp-rows .hp-go:focus-visible { outline: none; }
.hp-langs { margin-top: 1rem; font: 400 1rem/1.4 var(--hp-text); }
@media (max-width: 52rem) { .hp-rows li { grid-template-columns: minmax(0, 1fr); padding-right: 0; } .hp-rows .hp-go { justify-self: start; } }

/* why: one sentence, large, and the research behind it */
.hp-why { padding-top: clamp(3.25rem, 7vw, 5rem); grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
.hp-why h2 { margin: 0; font: 400 clamp(2.4rem, 1.4rem + 3.2vw, 4.4rem)/0.94 var(--hp-display); letter-spacing: 0.012em; max-width: 13ch; }
.hp-why h2 mark { background: none; color: var(--hp-blue); }
.hp-why p { font-size: 1.125rem; line-height: 1.6; }
.hp-why a { font-weight: 700; }

/* free for now: the yellow band before the footer */
.hp-free { position: relative; isolation: isolate; margin: clamp(3.5rem, 7vw, 5.5rem) 0 0; padding: clamp(2.25rem, 5vw, 3.5rem) 0; border-radius: 0; background: none; box-shadow: none; }
.hp-free::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); background: var(--hp-yellow); border-top: 3px solid var(--hp-ink); }
.hp-free h2 { margin: 0 0 0.75rem; font: 400 clamp(2.2rem, 1.5rem + 2.4vw, 3.6rem)/0.95 var(--hp-display); letter-spacing: 0.015em; }
.hp-free p { max-width: 46em; font-size: 1.125rem; }
.hp-free .btn { background: #fff; }
.hp-free .btn:hover { background: var(--hp-yellow-soft); }
.hp-free .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 1.4rem 0 0; font-weight: 700; }
main:has(> .hp-free:last-child) + .site-footer { margin-top: 0; border-top: 0; }

@media (max-width: 60rem) {
  .hp-hero { grid-template-columns: minmax(0, 1fr); }
  .hp-card-title p { text-wrap: balance; }
  .hp-why { grid-template-columns: minmax(0, 1fr); }
  .hp-round { margin-right: 10px; }
}
/* the sample round: what the assistant is, an invented example said to be one, the newsroom's first lines to open if you like,
   and what the question is about (where the story was published) */
.hp-round .try-bot { margin: -0.35rem 0 1rem; font: 400 0.95rem/1.4 var(--hp-text); color: var(--hp-muted); }
.hp-round .tease-tag { display: inline-block; margin: 0 0 0.55rem; padding: 0.2rem 0.5rem 0.15rem; border: 2px dashed var(--hp-ink); border-radius: 6px;
  font: 700 0.8rem/1.2 var(--hp-text); color: var(--hp-ink); background: var(--hp-yellow-soft); }
.hp-round .tease-tag[hidden] { display: none; }
.hp-round .tease-lines { margin: 0 0 1rem; border: 2px solid var(--hp-ink); border-radius: 10px; background: #fff; }
.hp-round .tease-lines[hidden] { display: none; }
.hp-round .tease-lines summary { padding: 0.55rem 0.8rem; font: 700 0.95rem/1.3 var(--hp-text); cursor: pointer; }
.hp-round .tease-lines summary:focus-visible { outline: 3px solid var(--hp-blue); outline-offset: 2px; border-radius: 8px; }
.hp-round .tease-lines p { margin: 0 0.8rem 0.7rem; font: 400 1rem/1.45 var(--hp-news); }
.hp-round .tease-lines .tease-lines-f { font: 400 0.8rem/1.3 var(--hp-text); color: var(--hp-muted); }
.hp-round .tease-hint { margin: -0.35rem 0 0.75rem; font: 400 0.875rem/1.35 var(--hp-text); color: var(--hp-muted); }

/* a phone: the question's card, then the round itself, so that a first answer is on the opening screen; the play button, the
   introduction and the facts follow it */
@media (max-width: 46rem) {
  .hp-hero { gap: 1.1rem; padding-block: 1.1rem 2.5rem; }
  .hp-hero-copy { display: contents; }
  .hp-card-title { margin: 0.2rem 8px 0.6rem 0; padding: 1rem 1.15rem 0.9rem; }
  .hp-hero .hp-card-title { order: 1; }          /* the home page's own order; elsewhere (drilling on your own) the card stays first */
  .hp-hero h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 2.5rem); }
  .hp-card-title p { margin-top: 0.55rem; font-size: 1rem; }
  .hp-card-title::after { width: 2.7rem; height: 2.7rem; top: -1.1rem; right: -0.5rem; }
  .hp-round { order: 2; padding: 0.95rem 1rem 1.1rem; box-shadow: 7px 7px 0 var(--hp-ink); }
  .hp-round .try-k { margin-bottom: 0.45rem; font-size: 1.35rem; }
  .hp-round .try-bot { margin: 0 0 0.75rem; font-size: 0.875rem; }
  .hp-round .tease-dateline { margin-bottom: 0.35rem; }
  .hp-round .tease-headline { font-size: 1.45rem; }
  .hp-round .tease-note { margin-top: 0.7rem; padding: 0.45rem 0.7rem; }
  .hp-round .where { margin-top: 0.8rem; }
  .hp-round .tease-q { margin-bottom: 0.45rem; }
  .hp-round .tease-options--tf .tease-tf { font-size: 1.65rem; }
  .hp-hero .actions { order: 3; margin: 0.6rem 0 0; }
  .hp-hero .deck { order: 4; font-size: 1.0625rem; }
  .hp-facts { order: 5; margin-top: 0; }
}
@media (max-width: 34rem) {
  .hp-card-title { rotate: -1deg; box-shadow: 7px 7px 0 var(--hp-ink); margin-right: 8px; }
  .hp-card-title::after { width: 3.2rem; height: 3.2rem; top: -1.4rem; right: -0.6rem; }
  .hp-round .where .tease-options { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hp-burst { right: -0.6rem; top: -3.6rem; width: 8.6rem; height: 6.1rem; }
  .hp-burst::after { font-size: 1.2rem; padding: 0 1.7rem; }
}

/* 8 The footer: ink, with the paper's colours ----------------------------------------------------------------------- */

.site-footer { margin-top: clamp(3rem, 7vw, 5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); background: var(--hp-ink); color: #ece6d8; border-top: 0; }
.site-footer h2 { font: 400 1.6rem/1 var(--hp-display); letter-spacing: 0.04em; color: var(--hp-yellow); }
.site-footer p, .site-footer li { color: #ece6d8; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.45); background-image: linear-gradient(rgba(255, 210, 63, 0.28), rgba(255, 210, 63, 0.28)); }
.site-footer a:hover { text-decoration-color: var(--hp-yellow); }
.site-footer :focus-visible { outline-color: var(--hp-yellow); }
.site-footer .footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.2); color: #c9c2b2; }

/* 9 The game --------------------------------------------------------------------------------------------------------- */

/* the table: the dotted paper, from edge to edge */
.dc { --dc-yes: var(--hp-green-deep); --dc-no: var(--hp-red-deep); --dc-yes-soft: var(--hp-green-soft); --dc-no-soft: var(--hp-red-soft); }
.dc[data-look="game"] { --dc-table: #fff; position: relative; isolation: isolate; background: none; box-shadow: none; clip-path: none; }
.dc[data-look="game"]::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); background: var(--hp-paper) var(--hp-dots);
  border-top: 3px solid var(--hp-ink); border-bottom: 3px solid var(--hp-ink); pointer-events: none; }
html.dc-playing:has(.dc[data-look="game"]), html.dc-playing:has(.dc[data-look="game"]) body { background: var(--hp-paper); }
html.dc-playing .dc[data-look="game"]::before { border-top: 0; }

/* the game's own mark and name, in Hunchpin's lettering */
.dc-mark { background: var(--hp-blue) var(--hp-robot) center / 80% no-repeat; box-shadow: 0 0 0 2px var(--hp-ink); }
.dc-wordmark, .dc-bar-name { font-family: var(--hp-display); font-weight: 400; letter-spacing: 0.03em; }
.dc-wordmark { font-size: 1.9rem; }
.dc-bar-name { font-size: 1.45rem; }
.dc-bar-name .nt-dot, .dc-wordmark .nt-dot { display: none; }

/* titles and verdicts are Hunchpin speaking; the headline is the news */
.dc-title, .dc-card-h { font-family: var(--hp-display); font-weight: 400; letter-spacing: 0.012em; line-height: 0.95; }
.dc-title { font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.6rem); max-width: 16ch; }
.dc-card-h { font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.4rem); }
.dc-headline { font-family: var(--hp-news); font-weight: 500; letter-spacing: -0.02em; }
[data-look="game"] .dc-verdict { font: 400 clamp(2.4rem, 1.7rem + 2.2vw, 3.6rem)/0.95 var(--hp-display); letter-spacing: 0.02em; }
.dc-big b { font: 400 clamp(3rem, 2.3rem + 2.4vw, 4.4rem)/1 var(--hp-display); letter-spacing: 0.02em; }
.dc-h, .dc-go-h, .dc-fold-h, .dc-about h2, .dc-demo-group h2 { font-family: var(--hp-text); font-weight: 700; letter-spacing: -0.005em; }
.dc-today h2, .dc-review h2, .dc-kept h2, .dc-board h2 { font-family: var(--hp-text); font-weight: 700; }
.dc-challenge { color: var(--hp-blue); font-weight: 700; }

/* everything you press: ink, a hard shadow, and it presses down */
[data-look="game"] .btn, [data-look="game"] .dc-opt, [data-look="game"] .dc-check-btn, [data-look="game"] .dc-chip, [data-look="game"] .dc-switch {
  border: 2.5px solid var(--hp-ink); border-radius: 10px; box-shadow: 4px 4px 0 var(--hp-ink); }
[data-look="game"] .btn:hover { background: #ffdc66; color: var(--hp-ink); transform: none; box-shadow: 4px 4px 0 var(--hp-ink); }
[data-look="game"] .dc-btn-plain, [data-look="game"] .btn.btn--line { background: #fff; }
[data-look="game"] .dc-btn-plain:hover, [data-look="game"] .btn.btn--line:hover { background: var(--hp-yellow-soft); color: var(--hp-ink); }
[data-look="game"] .btn:active, [data-look="game"] .dc-opt:not(:disabled):active, [data-look="game"] .dc-check-btn:active, [data-look="game"] .dc-chip:not(:disabled):active {
  transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--hp-ink); }
[data-look="game"] .dc-opt:not(:disabled):hover { background: var(--hp-yellow-soft); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--hp-ink); }
[data-look="game"] .dc-opt.is-mine { background: var(--hp-yellow); box-shadow: 4px 4px 0 var(--hp-ink); }
[data-look="game"] .is-done .dc-opt { border-color: #cfc8b8; }
[data-look="game"] .is-done .dc-opt.is-truth { background: var(--dc-yes); border-color: var(--hp-ink); box-shadow: 4px 4px 0 var(--hp-ink); }
[data-look="game"] .is-done .dc-opt.is-missed { background: var(--dc-no-soft); border-color: var(--dc-no); }
.dc-opt.is-suggested .dc-opt-label { background-image: linear-gradient(transparent 60%, #c9d8ff 60%); }
[data-look="game"] .dc-chip { border-radius: 999px; box-shadow: 3px 3px 0 var(--hp-ink); }
[data-look="game"] .dc-chip[aria-pressed="true"] { background: var(--hp-ink); color: #fff; transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--hp-ink); }
[data-look="game"] .dc-check-btn { border-radius: 999px; box-shadow: 3px 3px 0 var(--hp-ink); }
/* Your games and the talking point: cards with ink and a hard shadow, figures in the comic face */
[data-look="game"] .dc-mine-figs li, [data-look="game"] .dc-talk { border: 3px solid var(--hp-ink); box-shadow: 5px 5px 0 var(--hp-ink); }
[data-look="game"] .dc-mine-figs b { font: 400 2.4rem/1 var(--hp-display); letter-spacing: 0.03em; }
/* the week, the milestones and a settled challenge, in Hunchpin's look */
[data-look="game"] .dc-week-dots i.is-on { background: var(--hp-blue); border-color: var(--hp-blue); }
[data-look="game"] .dc-ms li.is-on { border: 3px solid var(--hp-ink); box-shadow: 4px 4px 0 var(--hp-ink); background: var(--hp-yellow-soft); }
[data-look="game"] .dc-beat { border: 3px solid var(--hp-ink); border-left-width: 8px; box-shadow: 5px 5px 0 var(--hp-ink); background: #fff; }
[data-look="game"] .dc-mine .dc-title { font-family: var(--hp-display); }
[data-look="game"] .dc-mine-in { border: 2.5px solid var(--hp-ink); box-shadow: 3px 3px 0 var(--hp-ink); }
[data-look="game"] .dc-mine-cal li.is-on { background: var(--hp-yellow); }
/* True or false: two big comic answers; after the answer, the story as a clipping: its picture, its own lines, the link */
[data-look="game"] .dc-opt--tf .dc-opt-label { font: 400 2.1rem/0.95 var(--hp-display); letter-spacing: 0.03em; }
[data-look="game"] .dc-specimen .dc-opt--tf { border: 2px solid #cfc8b8; box-shadow: none; }
[data-look="game"] .dc-specimen .dc-options--tf .dc-opt-label { font-size: 1.35rem; }
[data-look="game"] .dc-source { border: 3px solid var(--hp-ink); border-radius: 12px; box-shadow: 6px 6px 0 var(--hp-ink); }
[data-look="game"] .dc-source .dc-pic { border: 2px solid var(--hp-ink); border-radius: 8px; }
[data-look="game"] .dc-source-h { color: var(--hp-ink); }
[data-look="game"] .dc-source-h::before { content: ""; display: inline-block; width: 0.7em; height: 0.7em; margin-right: 0.4em; background: var(--hp-yellow); border: 1.5px solid var(--hp-ink); border-radius: 2px; vertical-align: -0.05em; }
[data-look="game"] .dc-specimen, [data-look="game"] .dc-board, [data-look="game"] .dc-sharetext { border: 3px solid var(--hp-ink); border-radius: 8px; box-shadow: 6px 6px 0 var(--hp-ink); }
[data-look="game"] .dc-board .dc-sharetext { box-shadow: none; border-width: 2px; }
[data-look="game"] .dc-cardview img { border: 3px solid var(--hp-ink); border-radius: 8px; }
[data-look="game"] .dc-bar { border-bottom: 3px solid var(--hp-ink); }
[data-look="game"] .dc-score { background: var(--hp-ink); color: #fff; }
[data-look="game"] .dc-note { border: 2.5px solid var(--hp-blue); border-radius: 10px; background: #fff; color: var(--hp-blue); }
[data-look="game"] .dc-meter-track { border: 2.5px solid var(--hp-ink); }
[data-look="game"] .dc-tick { box-shadow: inset 0 0 0 2px var(--hp-ink); }
@media (prefers-reduced-motion: reduce) {
  [data-look="game"] .btn:active, [data-look="game"] .dc-opt:not(:disabled):active, [data-look="game"] .dc-check-btn:active, [data-look="game"] .dc-chip:not(:disabled):active,
  [data-look="game"] .dc-opt:not(:disabled):hover { transform: none; }
}
/* the research questions after a game: a yellow note, not an alarm */
.dc-survey--top { background: var(--hp-yellow-soft); border: 2.5px solid var(--hp-ink); border-left-width: 2.5px; border-radius: 10px; }
.dc-survey-tag { background: var(--hp-ink); }

/* 10 The game page's opening: the question on its card, the three ways under it ------------------------------------- */

.nth h1 { display: inline-block; margin: 0 0 0.2rem; padding: clamp(1rem, 2.2vw, 1.6rem) clamp(1.2rem, 2.6vw, 2rem); max-width: 15ch;
  font: 400 clamp(2.6rem, 1.5rem + 3.6vw, 4.6rem)/0.92 var(--hp-display); letter-spacing: 0.012em;
  background: var(--hp-yellow); border: 4px solid var(--hp-ink); border-radius: 6px; box-shadow: 9px 9px 0 var(--hp-ink); rotate: -1.4deg; }
.nth-lede { color: var(--hp-ink); font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3rem); margin-top: 1.6rem; }
.nth-where-l a, .nth-where-l li { border-color: var(--hp-ink); }
.nth-way { border-top-width: 4px; }
.nth-way, .nth-way--class, .nth-way--news { --acc: var(--hp-ink); }
.nth-for { color: var(--hp-muted); }
.nth-way h2 { font: 400 clamp(1.7rem, 1.35rem + 1vw, 2.2rem)/1 var(--hp-display); letter-spacing: 0.02em; }

/* 11 Drill demos: small rounds on the pages, as comic panels -------------------------------------------------------- */

.drill-demo { border: 3px solid var(--hp-ink); border-radius: 8px; box-shadow: 6px 6px 0 var(--hp-ink); background: #fff; }
.drill-demo.is-mini { border: 2.5px solid var(--hp-ink); border-radius: 8px; box-shadow: 5px 5px 0 var(--hp-ink); }
.drill-text { font-family: var(--hp-news); font-weight: 500; letter-spacing: -0.015em; }
.drill-kind { color: var(--hp-muted); }
.drill-note { color: var(--hp-blue); }
.drill-opts button { border: 2.5px solid var(--hp-ink); border-radius: 10px; background: #fff; font-weight: 700; box-shadow: 3px 3px 0 var(--hp-ink);
  transition: transform 0.08s ease-out, box-shadow 0.08s ease-out, background-color 0.12s; }
.drill-opts button.is-suggested { box-shadow: 3px 3px 0 var(--hp-ink), inset 5px 0 0 var(--hp-blue); }
.drill-opts button:hover:not(:disabled), .drill-opts button:focus-visible { background: var(--hp-yellow-soft); color: var(--hp-ink); }
.drill-opts button:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--hp-ink); }
.drill-opts button:disabled { box-shadow: none; border-color: #cfc8b8; }
.drill-opts button.is-truth { background: var(--hp-green-deep); border-color: var(--hp-ink); color: #fff; box-shadow: 3px 3px 0 var(--hp-ink); }
.drill-opts button.is-wrong { background: var(--hp-red-soft); border-color: var(--hp-red-deep); color: var(--hp-ink); }
.drill-check { font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .drill-opts button { transition: none; } .drill-opts button:active:not(:disabled) { transform: none; } }

/* 12 Figures: big numbers in Hunchpin's lettering ------------------------------------------------------------------- */

.plan-n { font: 400 clamp(2.8rem, 2rem + 2vw, 3.9rem)/1 var(--hp-display); letter-spacing: 0.02em; color: var(--hp-ink); }
.plan-n small { font: 700 0.85rem/1.3 var(--hp-text); letter-spacing: 0; }
.ag-figures b { font-family: var(--hp-display); font-weight: 400; letter-spacing: 0.02em; color: var(--hp-ink); }
.ag-figures li { border: 2.5px solid var(--hp-ink); border-radius: 8px; box-shadow: none; }
.plan { border-color: var(--hp-ink); }

/* 13 The small floating buttons (the AI switch, Jump to): stickers with an ink edge ---------------------------------- */

.ai-fab, .fx-fab { border: 2px solid var(--hp-ink); background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 3px 3px 0 var(--hp-ink); font: 700 0.85rem/1 var(--hp-text); }
.ai-fab:active, .fx-fab:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--hp-ink); }
.fx-fab kbd { background: var(--hp-yellow-soft); color: var(--hp-ink); border: 1px solid var(--hp-ink); }
.ai-fab[data-on="1"] .ai-mini, .ai-sw[aria-checked="true"] { background: var(--hp-blue); }
@media (prefers-reduced-motion: reduce) { .ai-fab:active, .fx-fab:active { transform: none; } }

/* 14 The daily reminder on the result screen ------------------------------------------------------------------------ */
.dc-remind { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.75rem; margin: 0.7rem 0 0; }
.dc-remind .dc-link { font-weight: 700; }
.dc-remind .dc-small { margin: 0; }
.hp-print { display: block; margin-top: 0.5rem; font-weight: 700; color: var(--hp-ink); }

/* 15 The language switch: English and Norsk on every page, the page's own language filled ---------------------------- */
.nt-langs { display: inline-flex; flex: none; margin: 0 0 0 auto; border: 2.5px solid var(--hp-ink); border-radius: 999px; overflow: hidden; background: #fff; box-shadow: 2px 2px 0 var(--hp-ink); }
.nt-langs a { display: inline-block; padding: 0.42rem 0.65rem 0.38rem; font: 700 0.9rem/1 var(--hp-text); color: var(--hp-ink); text-decoration: none; background: none; white-space: nowrap; }
.nt-langs a + a { border-left: 2px solid var(--hp-ink); }
.nt-langs a[aria-current] { background: var(--hp-ink); color: #fff; }
.nt-langs a:not([aria-current]):hover { background: var(--hp-yellow-soft); }
.nt-langs a:focus-visible { outline: 3px solid var(--hp-blue); outline-offset: -3px; }
.nt-lang-s { display: none; }
.nt-bar .nt-go { margin-left: 0; }
.nt-go-x { display: none; }
@media (min-width: 100rem) { .nt-go-x { display: inline; } }
/* the language switch is short (EN, NO) wherever the bar is tight: on a phone, and on a computer narrower than a wide screen */
@media (max-width: 80rem) {
  .nt-lang-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nt-lang-s { display: inline; }
  .nt-langs a { padding: 0.42rem 0.6rem 0.38rem; }
}
/* the English home's “English and norsk” fact leads to the Norwegian home */
.hp-facts a { color: inherit; text-decoration-thickness: 2px; text-decoration-color: var(--hp-yellow); }
/* a Norwegian link to a page that is only in English */
.nt-en { display: inline-block; margin-left: 0.3em; padding: 0.12em 0.3em 0.08em; border: 1.5px solid currentColor; border-radius: 4px; font: 700 0.62em/1 var(--hp-text); letter-spacing: 0.02em; vertical-align: 0.25em; opacity: 0.75; }
/* the Norwegian bar is longer (its words and the EN tags): a little tighter, so that it stays on one line on a laptop */
html[lang="nb"] .nt-links { gap: 0.2rem 0.8rem; }
html[lang="nb"] .nt-links a { font-size: 0.95rem; }

/* 16 The game page is the game: its start screen compact enough that the way in shows on a laptop's first screen ------ */
.dc-intro .dc-title { font-size: clamp(2.2rem, 1.4rem + 2.1vw, 3.4rem); max-width: 19ch; }
.dc-intro .dc-lede { margin-top: 0.75rem; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.2rem); line-height: 1.45; }
.dc-intro .dc-pick { margin-top: 1rem; margin-bottom: 0.45rem; }
.dc-intro .dc-switch--cards .dc-switch-btn { padding: 0.55rem 0.85rem; gap: 0.2rem; }
.dc-intro .dc-go { margin-top: 1.1rem; padding-top: 0.9rem; }

/* the legal pages' tables on a phone: long Norwegian words break, with a hyphen where the browser can, instead of widening the page */
@media (max-width: 40rem) { .hp-legal th, .hp-legal td { overflow-wrap: anywhere; hyphens: auto; padding-right: 0.5rem; } }

/* 17 The bar's menu, the two ways into a room, and the site's small tools ------------------------------------------- */
/* On a computer the bar shows the five ways in, then More (plans, how to play, feedback, search and the AI switch), the
   language, Join with a code for players and Sign in for whoever runs a room. On a phone: the mark, the language and one Menu
   with all of it. The search button and the AI switch sit in the menu instead of floating over the page. */
.nt-bar { position: sticky; }
.nt-langs { order: 4; margin-left: auto; }
.nt-bar > .nt-join { order: 5; }
.nt-bar > .nt-go { order: 6; }
.nt-menu { order: 3; position: relative; }
.nt-menu-b { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.4rem 0 0.3rem; list-style: none; cursor: pointer;
  font: 700 1rem/1.2 var(--hp-text); color: var(--hp-ink); border-bottom: 3px solid transparent; user-select: none; }
.nt-menu-b::-webkit-details-marker { display: none; }
.nt-menu-b::after { content: ""; width: 0.5rem; height: 0.5rem; margin: -0.2rem 0.1rem 0 0.15rem; border: solid currentColor; border-width: 0 2.5px 2.5px 0; rotate: 45deg; transition: rotate 0.15s; }
.nt-menu[open] > .nt-menu-b::after { rotate: 225deg; margin-top: 0.25rem; }
.nt-menu-b:hover { border-bottom-color: var(--hp-yellow); }
.nt-menu-b:focus-visible { outline: 3px solid var(--hp-blue); outline-offset: 3px; border-radius: 4px; }
.nt-menu-m { display: none; }
.nt-panel { position: absolute; z-index: 70; top: calc(100% + 0.7rem); left: 0; width: max-content; min-width: 15rem; max-width: min(24rem, calc(100vw - 2rem));
  display: grid; gap: 0.6rem; padding: 0.8rem 1rem 0.9rem; background: #fff; border: 2.5px solid var(--hp-ink); border-radius: 10px; box-shadow: 5px 5px 0 var(--hp-ink); }
.nt-panel-links { display: grid; gap: 0.1rem; margin: 0; padding: 0; list-style: none; }
.nt-panel-links a { display: block; padding: 0.4rem 0.2rem; font: 700 1rem/1.2 var(--hp-text); color: var(--hp-ink); text-decoration: none; border-radius: 6px; }
.nt-panel-links a:hover { background: var(--hp-yellow-soft); }
.nt-panel-links a[aria-current="page"] { text-decoration: underline 3px; text-underline-offset: 0.3em; }
.nt-p-main { display: none; }
.nt-panel-room { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.7rem; margin: 0; }
.nt-panel-for { font: 400 0.875rem/1.3 var(--hp-text); color: var(--hp-muted); }
.nt-panel-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0; padding-top: 0.7rem; border-top: 2px dashed var(--hp-rule); }
.nt-panel .nt-fb { margin: 0; padding: 0.5rem 0.75rem; border: 2px solid var(--hp-ink); border-radius: 999px; background: #fff; text-decoration: none; }
.nt-panel .nt-fb:hover { background: var(--hp-yellow-soft); }
.nt-tools { display: contents; }
.nt-tools .ai-fab, .nt-tools .fx-fab { position: static; inset: auto; z-index: auto; box-shadow: none; }
.nt-tools .fx-fab span, .nt-tools .fx-fab kbd { display: inline; }
/* Join with a code: the players' way in, yellow; Sign in beside it stays white */
.nt-join { display: inline-block; padding: 0.6rem 1rem; border: 2.5px solid var(--hp-ink); border-radius: 10px; background: var(--hp-yellow); color: var(--hp-ink);
  font: 700 0.95rem/1 var(--hp-text); text-decoration: none; white-space: nowrap; box-shadow: 3px 3px 0 var(--hp-ink); transition: transform 0.08s, box-shadow 0.08s; }
.nt-join:hover { background: #ffdc66; color: var(--hp-ink); }
.nt-join:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--hp-ink); }
.nt-join:focus-visible, .nt-go:focus-visible { outline: 3px solid var(--hp-blue); outline-offset: 3px; }
.nt-go { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .nt-join { transition: none; } .nt-join:active { transform: none; } .nt-menu-b::after { transition: none; } }
@media (max-width: 46rem) {
  .nt-links, .nt-bar > .nt-join, .nt-bar > .nt-go { display: none; }
  .nt-langs { order: 2; box-shadow: none; }
  .nt-menu { order: 3; position: static; }
  .nt-menu-d { display: none; }
  .nt-menu-m { display: inline; }
  .nt-menu-b { padding: 0.5rem 0.75rem; border: 2.5px solid var(--hp-ink); border-radius: 10px; background: #fff; box-shadow: 2px 2px 0 var(--hp-ink); font-size: 0.95rem; }
  .nt-menu-b:hover { border-bottom-color: var(--hp-ink); background: var(--hp-yellow-soft); }
  .nt-menu[open] > .nt-menu-b { background: var(--hp-ink); color: #fff; }
  .nt-panel { left: 0; right: 0; width: auto; max-width: none; top: calc(100% + 3px); border-radius: 0 0 10px 10px; box-shadow: 0 6px 0 rgba(29, 27, 34, 0.12);
    max-height: calc(100dvh - 5rem); overflow-y: auto; overscroll-behavior: contain; }
  .nt-p-main { display: block; }
  .nt-panel-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 0.75rem; }
  .nt-panel-room { padding-top: 0.15rem; }
  .nt-panel .nt-join, .nt-panel .nt-go { padding: 0.65rem 1rem; }
  .nt-bar.is-stuck .nt-lock { display: inline-flex; }
}
/* the join pages: one box for the code, large enough to read on a projected screen and to type on a laptop */
.hp-join .deck { max-width: 36em; }
.code-go--big { max-width: 34rem; margin-top: 1.5rem; gap: 0.7rem; }
.code-go--big label { font: 700 1rem/1.2 var(--hp-text); color: var(--hp-ink); }
.code-go--big input { flex: 1 1 12rem; padding: 0.8rem 1rem; border: 2.5px solid var(--hp-ink); border-radius: 10px; font: 700 1.6rem/1.1 var(--hp-text); letter-spacing: 0.12em; }
.code-go--big input:focus-visible { outline: 3px solid var(--hp-blue); outline-offset: 2px; }
.code-go--big .btn { font-size: 1.1rem; padding: 0.9em 1.4em 0.85em; }
.join-bad { flex: 1 0 100%; font: 400 0.95rem/1.4 var(--hp-text); color: var(--hp-muted); }
/* play on your own, no room needed: the stage and desk links press like the game's chips */
.solo-l a { border: 2.5px solid var(--hp-ink); box-shadow: 3px 3px 0 var(--hp-ink); font: 700 1rem/1.2 var(--hp-text); color: var(--hp-ink);
  transition: transform 0.08s ease-out, box-shadow 0.08s ease-out, background-color 0.12s; }
.solo-l a:hover { background: var(--hp-yellow-soft); }
.solo-l a:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--hp-ink); }
@media (prefers-reduced-motion: reduce) { .solo-l a { transition: none; } .solo-l a:active { transform: none; } }
.hp-join-more { margin-top: 1.1rem; }

/* the AI switch's panel and its tip open under the bar when the switch sits in the menu */
html.ai-docked .ai-pop, html.ai-docked .ai-tip { top: 5.25rem; bottom: auto; left: auto; right: max(1rem, calc((100vw - 76rem) / 2)); }
html.ai-docked .ai-tip::after { display: none; }
@media (max-width: 46rem) { html.ai-docked .ai-pop, html.ai-docked .ai-tip { top: 4.5rem; left: 1rem; right: 1rem; width: auto; } }
/* the question about statistics, compact on a phone: two lines of text and the two answers beside each other */
@media (max-width: 46rem) {
  .stats-ask { left: 0.6rem; right: 0.6rem; bottom: 0.6rem; gap: 0.45rem 0.8rem; padding: 0.6rem 0.7rem 0.65rem; }
  .stats-ask p { font-size: 0.8rem; line-height: 1.4; }
  .stats-acts { flex: 1 0 100%; }
  .stats-no, .stats-yes { flex: 1 1 0; padding: 0.6em 0.8em; }
}

/* 18 The home page: "Worried that AI is doing your thinking? Do the drill." The worry in a sentence, one study named as a study,
   and what the game gives you, in three comic panels */
.hp-worry { padding-top: clamp(3rem, 6vw, 4.75rem); }
.hp-worry-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 1rem clamp(2rem, 5vw, 4rem); align-items: end; }
.hp-worry h2 { margin: 0; font: 400 clamp(2.3rem, 1.4rem + 3vw, 4.1rem)/0.95 var(--hp-display); letter-spacing: 0.012em; text-wrap: balance; }
.hp-worry-head p { margin: 0; font-size: 1.0625rem; line-height: 1.6; max-width: 36em; }
.hp-worry-head a { font-weight: 700; }
.hp-gets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0; padding: 0; list-style: none; }
.hp-gets li { margin: 0; padding: 1.1rem 1.2rem 1.25rem; background: #fff; border: 3px solid var(--hp-ink); border-radius: 8px; box-shadow: 6px 6px 0 var(--hp-ink); }
.hp-gets li:nth-child(2) { background: var(--hp-yellow); rotate: -0.6deg; }
.hp-gets h3 { margin: 0 0 0.5rem; font: 400 1.75rem/1 var(--hp-display); letter-spacing: 0.025em; }
.hp-gets p { margin: 0; font-size: 1rem; line-height: 1.5; }
.hp-worry .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 1.75rem 0 0; }
.hp-worry .actions a:not(.btn) { font-weight: 700; }
.hp-worry-note { margin: 1rem 0 0; color: var(--hp-muted); font-size: 0.95rem; }
@media (max-width: 52rem) {
  .hp-worry-head, .hp-gets { grid-template-columns: minmax(0, 1fr); }
  .hp-gets li:nth-child(2) { rotate: none; }
}
@media (prefers-reduced-motion: reduce) { .hp-gets li:nth-child(2) { rotate: none; } }
/* the newsroom page's example report and offers in Hunchpin's own look */
.nw-figs li { background: #fff; border: 2.5px solid var(--hp-ink); border-radius: 8px; box-shadow: 4px 4px 0 var(--hp-ink); }
.nw-figs b { font: 400 2.2rem/1 var(--hp-display); letter-spacing: 0.02em; }
.nw-q { border: 2.5px solid var(--hp-ink); border-radius: 8px; background: var(--hp-yellow); }
.nw-q-t { font: 700 1.15rem/1.4 var(--hp-text); }
.nw-offer-list li { border: 3px solid var(--hp-ink); border-radius: 8px; box-shadow: 6px 6px 0 var(--hp-ink); }
.nw-offer-list li:nth-child(2) { background: var(--hp-yellow-soft); }
.nw-offer-list h3 { font: 400 1.7rem/1 var(--hp-display); letter-spacing: 0.025em; }
.nw-offer-k { font: 700 0.85rem/1.2 var(--hp-text); color: var(--hp-muted); }
/* the research page in Hunchpin's look: the studies as panels, the open questions on yellow */
.rs-list li { padding: 1rem 1.1rem 1.1rem; background: #fff; border: 2.5px solid var(--hp-ink); border-radius: 8px; box-shadow: 5px 5px 0 var(--hp-ink); }
.rs-list h3, .rs-design h3, .rs-own h3 { font: 400 1.6rem/1.02 var(--hp-display); letter-spacing: 0.02em; }
.rs-design li, .rs-own li { border-top: 3px solid var(--hp-ink); }
.rs-open .rs-design li { padding: 1rem 1.1rem; background: var(--hp-yellow-soft); border: 2.5px solid var(--hp-ink); border-radius: 8px; }

/* the muted line in the yellow question box keeps its contrast */
.nw-q .muted { color: var(--hp-ink); }
