/* Notes, screen 2, keep their names to yourself. Drawn at 1440 x 1080, centred: the
   headline 120 down, its two lines 352 down, the switch 500 down, the card 980 wide 590
   down on a lilac band tilted 4 degrees (running off the section's foot). Which reading
   shows is the switch's radios' (:has), so it works with no script. */
.np-band { position: absolute; left: calc(50% - 570 * var(--u)); top: calc(570 * var(--u)); width: calc(1140 * var(--u)); height: calc(520 * var(--u)); border-radius: calc(120 * var(--u)); background: var(--lilac); rotate: -4deg; pointer-events: none; }
.np-frame { position: relative; width: calc(1440 * var(--u)); height: calc(1080 * var(--u)); margin: 0 auto; text-align: center; }
.np-h { position: absolute; left: 0; right: 0; top: calc(120 * var(--u)); font-size: calc(96 * var(--u)); line-height: 0.98; font-weight: 800; letter-spacing: -0.045em; }
.np-mid { position: absolute; left: 0; right: 0; top: calc(352 * var(--u)); font-size: max(18px, calc(28 * var(--u))); line-height: 1.45; font-weight: 700; letter-spacing: -0.015em; color: var(--body); }

/* The switch: two radios drawn as one pill, the one picked in ink. */
.np-switch { position: absolute; left: 50%; top: calc(500 * var(--u)); translate: -50% 0; display: flex; gap: calc(4 * var(--u)); margin: 0; padding: calc(4 * var(--u)); border: 0; border-radius: 999px; background: var(--cream); box-shadow: inset 0 0 0 2px var(--ink); }
.np-opt { position: relative; display: inline-flex; align-items: center; height: max(40px, calc(44 * var(--u))); padding: 0 calc(20 * var(--u)); border-radius: 999px; font-size: max(15px, calc(16 * var(--u))); font-weight: 700; color: var(--ink); white-space: nowrap; cursor: pointer; }
.np-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.np-opt:has(input:checked) { background: var(--ink); color: var(--cream); }
.np-opt:has(input:focus-visible) { outline: 3px solid var(--breakout); outline-offset: 3px; }

/* The card: its name, the summary band, three turns, each led by who said it. */
.np-card { position: absolute; left: calc(230 * var(--u)); top: calc(590 * var(--u)); width: calc(980 * var(--u)); display: flex; flex-direction: column; gap: calc(26 * var(--u)); padding: calc(34 * var(--u)) calc(44 * var(--u)) calc(44 * var(--u)); border-radius: calc(24 * var(--u)); background: var(--cream); box-shadow: inset 0 0 0 3px var(--ink); text-align: left; }
.np-title { font-size: calc(20 * var(--u)); line-height: 1; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.np-sum { display: flex; flex-wrap: wrap; align-items: center; gap: calc(6 * var(--u)) calc(8 * var(--u)); margin-bottom: calc(10 * var(--u)); padding: calc(12 * var(--u)) calc(16 * var(--u)); border-radius: calc(12 * var(--u)); background: var(--lilac); color: var(--plum); font-size: max(13px, calc(15 * var(--u))); line-height: 1.35; font-weight: 600; }
.np-sum b { font-weight: 800; }
.np-chip { display: inline-flex; align-items: center; height: max(22px, calc(24 * var(--u))); padding: 0 calc(9 * var(--u)); border-radius: 999px; background: var(--iris); font-size: max(12px, calc(13 * var(--u))); font-weight: 800; }
.np-lane { display: grid; grid-template-columns: calc(36 * var(--u)) calc(190 * var(--u)) minmax(0, 1fr); align-items: start; gap: 0 calc(16 * var(--u)); font-size: calc(22 * var(--u)); line-height: calc(46 * var(--u)); font-weight: 600; color: var(--body); }
.np-face { width: calc(30 * var(--u)); height: calc(30 * var(--u)); margin-top: calc(8 * var(--u)); }
.np-nm { display: inline-block; line-height: calc(36 * var(--u)); border-radius: calc(9 * var(--u)); font-weight: 800; color: var(--ink); }

/* The two readings: as you read it (the names), as OpenAI reads it (a label in each one's place). */
.np-label, .np-oai { display: none; }
.nt-private:has(input[value="openai"]:checked) :is(.np-real, .np-you) { display: none; }
.nt-private:has(input[value="openai"]:checked) :is(.np-label, .np-oai) { display: inline; }
.nt-private:has(input[value="openai"]:checked) .np-nm { padding: 0 calc(8 * var(--u)); background: var(--iris); color: var(--plum); }

@media (max-width: 1023.98px) {
  .np-frame { width: auto; height: auto; padding: 64px var(--m) 72px; }
  .np-h, .np-mid, .np-switch, .np-card { position: static; }
  .np-h { font-size: var(--fs-l); text-wrap: balance; }
  .np-mid { margin-top: 16px; font-size: 18px; }
  .np-switch { translate: none; width: fit-content; margin: 28px auto 0; padding: 4px; gap: 4px; }
  .np-opt { height: 40px; padding: 0 14px; font-size: 14px; }
  .np-card { width: auto; margin-top: 28px; gap: 18px; padding: 22px 18px 24px; border-radius: 22px; }
  .np-title { font-size: 17px; }
  .np-sum { margin-bottom: 4px; padding: 10px 12px; border-radius: 10px; gap: 6px; font-size: 13px; }
  .np-chip { height: 22px; padding: 0 8px; font-size: 12px; }
  .np-lane { grid-template-columns: 26px minmax(0, 1fr); gap: 2px 10px; font-size: 17px; line-height: 1.6; }
  .np-face { width: 24px; height: 24px; margin-top: 2px; }
  .np-said { grid-column: 1 / -1; }
  .np-nm { line-height: 1.6; border-radius: 7px; }
  .nt-private:has(input[value="openai"]:checked) .np-nm { padding: 0 6px; }
  .np-band { left: -15vw; top: 380px; width: 130vw; height: calc(100% - 420px); border-radius: 60px; }
}

/* ---------------------------------------------------------------- motion */
.motion .np-press.is-pressing { animation: nt-press 0.7s linear both; }
