/* Trivit site: the premium look.
 *
 * Design's site-premium-skin.css (send 1, revision 2, 29 November), approved by Martin "for now" the same
 * day: a darker ground with light and grain on it, the display type in the site's own italic serif, ivory
 * or ink main buttons, hairlines that sit on any ground, and objects that lift off it. No markup and no
 * words change. Loaded after tokens.css and styles-v3.css, as Design's mockups loaded it, and before
 * halloween.css, so a costume still wins on its day. Not loaded on /play, whose board is the app's own
 * export and paints the app's ground (Design: "/play is the app's own export and is not part of this").
 *
 * Every value is Design's. Seven things differ from their file, each marked where it is:
 *   1. The rooms are written as the site writes them. Design's dark values sat on a bare :root, which
 *      loses to styles-v3.css's dark-on-open rule on any machine set to light, so the ground would have
 *      stayed #191614 there.
 *   2. The main buttons take their own tokens (--btn) instead of repainting --teal, which also colours
 *      text links, focus rings and the invite guide's numbers. Those keep their teal.
 *   3. Russian, Ukrainian, Greek, Japanese, Korean, both Chinese and Hindi keep today's display type
 *      (Martin, 29 November): Instrument Serif on the site is latin and latin-ext only.
 *   4. On Halloween the buttons follow the costume, as the pills always have.
 *   5. The light is pinned to the window rather than drawn over the top 1200, so it is behind every
 *      screen of a long page, and it takes no room, so no page scrolls past its footer.
 *   6. The language menu keeps a ground of its own; on Design's transparent --g2 it opened see-through.
 *   7. The heads keep Design's sizes at 1440 and 390, the two widths drawn, and step between them as
 *      today's do, so a long one-word head fits its column in every language.
 */

/* ------------------------------------------------------------------ the rooms (1) */
:root:not([data-room="light"]) {
  --g: #0B0A09;
  --g2: transparent;
  --ink: #F4EFE6;
  --hair: rgba(244, 239, 230, .16);
  --track: rgba(244, 239, 230, .08);
  --face: rgba(244, 239, 230, .20);
  --btn: #F4EFE6;
  --btn-edge: transparent;
  --btn-on: #12100E;
  --spot: rgba(255, 255, 255, .13), rgba(255, 255, 255, .03) 55%, transparent 76%;
  --glow-a: rgba(51, 34, 136, .34);
  --glow-b: rgba(0, 153, 136, .20);
  --lift: drop-shadow(0 1px 2px rgba(0, 0, 0, .30)) drop-shadow(0 12px 20px rgba(0, 0, 0, .50));
  --pill-lift: 0 10px 34px rgba(0, 0, 0, .55);
}
:root[data-room="light"] {
  /* The app's own white (its light ground since 11 November), where Design drew #F3EEE3 (Martin, 29
     November: "use the same white for the background as the app"). */
  --g: #FFFFFF;
  --g2: transparent;
  --ink: #1C1917;
  --hair: rgba(28, 25, 23, .14);
  --track: rgba(28, 25, 23, .06);
  --face: #FFFFFF;
  --btn: #1C1917;
  --btn-edge: transparent;
  --btn-on: #FFFFFF;
  --spot: rgba(255, 255, 255, .95), rgba(255, 255, 255, .45) 55%, transparent 78%;
  --glow-a: rgba(51, 34, 136, .08);
  --glow-b: rgba(0, 153, 136, .08);
  --lift: drop-shadow(0 1px 2px rgba(28, 25, 23, .06)) drop-shadow(0 12px 20px rgba(28, 25, 23, .14));
  --pill-lift: 0 2px 4px rgba(28, 25, 23, .12), 0 10px 26px rgba(28, 25, 23, .22);
}
/* (4) As specific as halloween.css's own room rule and more than the two above, so the costume's
   pumpkin reaches the buttons. */
:root.hw[data-room] { --btn: var(--teal); --btn-edge: var(--teal-edge); --btn-on: var(--onteal); }

/* ------------------------------------------------------------------ the ground, its light and its grain */
/* One soft pool behind the content and two faint washes taken from the cards, indigo low on the left and
   teal high on the right.
   (5) Pinned to the window, as Design's note offers for the site (Martin, 29 November: "yes do option 1"),
   so every screen of a long page has it, where the renders drew it over the top 1200 and the rest of
   Press or Privacy was plain ground. A layer of its own rather than background-attachment: fixed, which
   an iPhone ignores; the large viewport's height, so it still reaches the foot while a phone's toolbar
   folds away. It takes no room, so no page is any longer than its content. */
html { background: var(--g); }
body { background: transparent; position: relative; }
body::before {
  content: ""; position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100lvh; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 52% 46% at 68% 36%, var(--spot)),
    radial-gradient(ellipse 46% 36% at 0% 58%, var(--glow-a), transparent 70%),
    radial-gradient(ellipse 36% 26% at 100% 0%, var(--glow-b), transparent 70%);
}
/* A fine noise at 9%, inline so it costs no request. At least the window's height, so a short page has
   no plain band under its footer; svh, so it is never taller than the window a phone shows. */
body::after {
  content: ""; position: absolute; inset: 0; min-height: 100vh; min-height: 100svh;
  z-index: 40; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSczMDAnIGhlaWdodD0nMzAwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nLjknIG51bU9jdGF2ZXM9JzInIHN0aXRjaFRpbGVzPSdzdGl0Y2gnLz48ZmVDb2xvck1hdHJpeCB2YWx1ZXM9JzAgMCAwIDAgMSAgMCAwIDAgMCAxICAwIDAgMCAwIDEgIDAgMCAwIC41IDAnLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0nMzAwJyBoZWlnaHQ9JzMwMCcgZmlsdGVyPSd1cmwoI24pJy8+PC9zdmc+);
}
.strip { background: transparent; border-bottom: 1px solid var(--hair); }
/* (6) The language menu opens over the page, and --g2 was its ground, so it would open see-through. It
   keeps a ground of its own: --g2's old dark, and on white the app's light panel, #F3F2F1. */
:root:not([data-room="light"]) .lang-menu { background: #211D1A; }
:root[data-room="light"] .lang-menu { background: #F3F2F1; }

/* ------------------------------------------------------------------ display type (3)
 * The site's own italic serif in place of Archivo 900. The guard is a :where(), so it adds nothing to
 * the rules' weight: they win and lose exactly where Design's did. */
:where(html:not(:lang(ru)):not(:lang(uk)):not(:lang(el)):not(:lang(ja)):not(:lang(ko)):not(:lang(zh)):not(:lang(hi))) :is(.statement, .pagehead, .howp-h2, .howp-closing) {
  font-family: var(--ed); font-style: italic; font-weight: 400; letter-spacing: -.02em;
}
/* (7) Design drew 1440 and 390 only, at 104 and 92 on a computer. In between, the heads scale by the
   same steps today's do (styles-v3.css's --t-statement and --t-page), so 1440 lands on Design's 104 and
   92 exactly and a narrower window gets proportionally less. Flat, a one-word head like Latvian Terms
   ran 105 out of its column at 1120. */
:where(html:not(:lang(ru)):not(:lang(uk)):not(:lang(el)):not(:lang(ja)):not(:lang(ko)):not(:lang(zh)):not(:lang(hi))) .statement { font-size: calc(var(--t-statement) * 104 / 88); line-height: .95; }
:where(html:not(:lang(ru)):not(:lang(uk)):not(:lang(el)):not(:lang(ja)):not(:lang(ko)):not(:lang(zh)):not(:lang(hi))) .pagehead { font-size: calc(var(--t-page) * 92 / 72); line-height: .98; }
:where(html:not(:lang(ru)):not(:lang(uk)):not(:lang(el)):not(:lang(ja)):not(:lang(ko)):not(:lang(zh)):not(:lang(hi))) .howp-h2 { font-size: 38px; line-height: 1.02; }
:where(html:not(:lang(ru)):not(:lang(uk)):not(:lang(el)):not(:lang(ja)):not(:lang(ko)):not(:lang(zh)):not(:lang(hi))) .howp-hero { font-size: 46px; line-height: 1.02; }
:where(html:not(:lang(ru)):not(:lang(uk)):not(:lang(el)):not(:lang(ja)):not(:lang(ko)):not(:lang(zh)):not(:lang(hi))) .howp-closing { font-size: 32px; line-height: 1.12; }
@media (max-width: 760px) {
  :where(html:not(:lang(ru)):not(:lang(uk)):not(:lang(el)):not(:lang(ja)):not(:lang(ko)):not(:lang(zh)):not(:lang(hi))) .statement { font-size: 58px; }
  /* 54 from 381 wide up, as Design drew it at 390; under that it gives way to the window, so a one-word
     head (Icelandic and Latvian Terms) still fits a 320 phone. */
  :where(html:not(:lang(ru)):not(:lang(uk)):not(:lang(el)):not(:lang(ja)):not(:lang(ko)):not(:lang(zh)):not(:lang(hi))) .pagehead { font-size: min(54px, 14.2vw); }
  :where(html:not(:lang(ru)):not(:lang(uk)):not(:lang(el)):not(:lang(ja)):not(:lang(ko)):not(:lang(zh)):not(:lang(hi))) .howp-h2 { font-size: 34px; }
  :where(html:not(:lang(ru)):not(:lang(uk)):not(:lang(el)):not(:lang(ja)):not(:lang(ko)):not(:lang(zh)):not(:lang(hi))) .howp-hero { font-size: 44px; }
  :where(html:not(:lang(ru)):not(:lang(uk)):not(:lang(el)):not(:lang(ja)):not(:lang(ko)):not(:lang(zh)):not(:lang(hi))) .howp-closing { font-size: 28px; }
}
.serifline { color: var(--accent); }

/* ------------------------------------------------------------------ the main buttons (2) */
.pill, .howp-play { background: var(--btn); color: var(--btn-on); border-bottom-color: var(--btn-edge); box-shadow: var(--pill-lift); }
.press-video .play { background: var(--btn); }
button.press-video { color: var(--btn-on); }

/* ------------------------------------------------------------------ objects sit off the ground */
.howp-exboard svg, .howp-rowline svg.lens, .tipcard { filter: var(--lift); }
.press-shots img, .press-video { box-shadow: 0 14px 40px rgba(0, 0, 0, .35); border-color: var(--hair); }
.rooms button { box-shadow: 0 0 0 1px var(--hair); }

/* ================================================================== the front page (Part 2a and 2b)
 * Design's four front-page frames (send 1, revision 2), every value from their markup. The text column
 * keeps today's words, heading and badges; the board takes the fan's place. */

/* ------------------------------------------------------------------ the board
 * The frames draw it in their own units, a card 180 wide, and scale the whole picture to fit a box:
 * 710 wide at 1440 and 358 at 390, the cards' outline 1087.12 by 965.85 of those units. --u is one unit
 * of the box's own width, so every length below is the frame's number and the picture scales whole. The
 * perspective point sits where the frame's does against that outline: 481.51 in, 159.18 above. */
.hb-box {
  position: relative; container-type: inline-size; aspect-ratio: 1087.12 / 965.85; --u: calc(100cqw / 1087.12);
  --hb-shadow: .55; --hb-ring: rgba(255, 255, 255, .5); --hb-glow: rgba(255, 255, 255, .10); --hb-lit-glow: rgba(79, 201, 182, .45);
}
:root[data-room="light"] .hb-box { --hb-shadow: .23; --hb-ring: rgba(28, 25, 23, .10); --hb-glow: rgba(28, 25, 23, .04); --hb-lit-glow: rgba(0, 120, 106, .35); }
.hb-p { position: absolute; left: calc(481.51 * var(--u)); top: calc(-159.18 * var(--u)); width: 0; height: 0;
  perspective: calc(2400 * var(--u)); perspective-origin: 50% 30%; }
.hb-plane { position: absolute; left: calc(-300 * var(--u)); top: 0; width: calc(600 * var(--u)); height: calc(1098 * var(--u));
  transform-style: preserve-3d; transform-origin: 50% 50%; transform: rotateX(57deg) rotateZ(-30deg); }
.hb-sh, .hb-card { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u));
  width: calc(180 * var(--u)); height: calc(252 * var(--u)); border-radius: calc(22 * var(--u)); }
.hb-sh { background: #000; opacity: var(--hb-shadow); filter: blur(calc(18 * var(--u))); }
.hb-card { overflow: hidden; transform: translateZ(calc(18 * var(--u)));
  box-shadow: 0 0 0 calc(1 * var(--u)) var(--hb-ring), 0 0 calc(34 * var(--u)) var(--hb-glow);
  transition: transform 210ms ease, opacity 210ms ease, box-shadow 210ms ease; }
.hb-card svg { display: block; width: 100%; height: 100%; }
.hb-card i { position: absolute; inset: 0; }
.hb-sheen { mix-blend-mode: soft-light; }
.hb-tint { background: linear-gradient(180deg, rgba(255, 244, 214, 0) 55%, rgba(60, 40, 10, .16)); }
/* 2b: a trio lit. Its three cards rise a further 26 and take a 6 ring in the accent with a soft glow;
   the other nine drop to .32. The glow is read off the frames' loop, which gives no number for it. */
.hboard.lit .hb-card { opacity: .32; }
.hboard.lit .hb-card.on { opacity: 1; transform: translateZ(calc(44 * var(--u)));
  box-shadow: 0 0 0 calc(6 * var(--u)) var(--accent), 0 0 calc(34 * var(--u)) var(--hb-lit-glow); }
@media (prefers-reduced-motion: reduce) { .hb-card { transition: none; } }
/* The costume (Martin, 29 November: the board wears it). Both faces are in the page; the day picks one. */
.hb-card .hwc { display: none; }
html.hw .hb-card .tc:not(.hwc) { display: none; }
html.hw .hb-card .hwc { display: block; }

/* Where it sits. On a computer it is the fan's column, the picture 1.241 of that column wide as the frame
   draws it at 1440, centred on it and 18 below the middle, and laid over the column rather than in it, so
   the text beside it sets the row. From 1120 to 1439 it gives up width rather than run off the window: no
   more than the column and 24 each side. */
.landing > .hboard { position: relative; align-self: stretch; min-width: 0; }
/* The board bleeds past its column as the frame draws it, and its blurred shadows reach a little past the
   board, which made the page up to 29 wider than the window, on a phone as well as a computer. Nothing on this page is meant to be scrolled
   to sideways, so the page clips rather than scrolls; halloween.css does the same for its moon. */
:root:has(.hboard), body:has(.hboard) { overflow-x: clip; }
.landing > .hboard .hb-box { position: absolute; left: 50%; top: calc(50% + 18px); width: 124.1%; transform: translate(-50%, -50%); }
@media (max-width: 1439px) { .landing > .hboard .hb-box { width: min(124.1%, calc(100% + 48px)); } }
/* One column: in the page's flow, the column and 4 each side, as the frame's 358 at 390, up to 560. */
@media (max-width: 1119px) {
  .landing > .hboard { align-self: center; justify-self: center; width: min(calc(100% + 8px), 560px); }
  .landing > .hboard .hb-box { position: relative; left: auto; top: auto; width: 100%; transform: none; }
}
/* On a phone it goes above the words, where the fan went: 45 under the header and 37 over the heading. */
@media (max-width: 759px) {
  .landing > .hboard { order: -1; margin: 37px 0 17px; }
}

/* ------------------------------------------------------------------ the words beside it
 * Today's words in the frames' type and spacing. The heading and the badges are as built. */
.landing .statement .st2 { color: var(--accent); }
:where(html:not(:lang(ru)):not(:lang(uk)):not(:lang(el)):not(:lang(ja)):not(:lang(ko)):not(:lang(zh)):not(:lang(hi))) .landing .statement {
  font-size: calc(var(--t-statement) * 100 / 88); line-height: .95; letter-spacing: -2px; }
.landing .serifline { margin-bottom: 26px; }
.landing .statement { margin-bottom: 34px; }
:root:not([data-room="light"]) .landing .statement { text-shadow: 0 6px 40px rgba(0, 0, 0, .6); }
.landing .lsub { font-size: 21px; line-height: 1.4; font-weight: 600; color: var(--ink); max-width: none; margin-bottom: 10px; }
.landing .webslot { margin: 0 0 36px; max-width: 420px; }
.landing .webslot > .webline { font-size: 16px; }
.landing .actions { gap: 30px; }
.landing .pill { font-size: 17px; letter-spacing: -.2px; }
.landing .quiet { font-size: 16px; padding-bottom: 5px; border-bottom-color: var(--accent); }
@media (max-width: 759px) {
  :where(html:not(:lang(ru)):not(:lang(uk)):not(:lang(el)):not(:lang(ja)):not(:lang(ko)):not(:lang(zh)):not(:lang(hi))) .landing .statement {
    font-size: 58px; line-height: .96; letter-spacing: -1px; }
  .landing .serifline { margin-bottom: 16px; }
  .landing .statement { margin-bottom: 22px; }
  :root:not([data-room="light"]) .landing .statement { text-shadow: none; }
  .landing .lsub { font-size: 18px; margin-bottom: 8px; }
  .landing .webslot { margin: 0 0 26px; max-width: none; }
  .landing .webslot > .webline { font-size: 15px; }
  .landing .actions { gap: 22px; }
  .landing .pill { height: 52px; padding: 0 28px; font-size: 16px; letter-spacing: 0; }
  .landing .quiet { font-size: 15px; }
}

/* ------------------------------------------------------------------ its light
 * The frames' own light, over the board rather than the skin's, and on a computer a vignette at the
 * corners. Only on the front page, and only where its board is beside the words or above them. */
:root:has(.hboard) { --fspot: rgba(255, 255, 255, .17), rgba(255, 255, 255, .04) 55%, transparent 76%; --fvig: rgba(0, 0, 0, .60); }
:root[data-room="light"]:has(.hboard) { --fspot: rgba(255, 255, 255, .95), rgba(255, 255, 255, .45) 55%, transparent 78%; --fvig: rgba(70, 60, 45, .12); }
/* The page is at least the window, so the frame's light, drawn over a whole screen, is never cut short
   above the window's foot or repeated under the footer. */
:root:has(.hboard) { min-height: 100%; }
@media (min-width: 1120px) {
  :root:has(.hboard) { background:
    radial-gradient(ellipse 90% 80% at 55% 50%, transparent 58%, var(--fvig)) no-repeat,
    radial-gradient(ellipse 46% 60% at 72% 54%, var(--fspot)) no-repeat,
    radial-gradient(ellipse 50% 46% at 0% 100%, var(--glow-a), transparent 70%) no-repeat,
    radial-gradient(ellipse 36% 30% at 100% 0%, var(--glow-b), transparent 70%) no-repeat,
    var(--g); }
  /* Its own light stands in for the window's, rather than both at once. */
  :root:has(.hboard) body::before { content: none; }
}
@media (max-width: 759px) {
  :root:has(.hboard) { background:
    radial-gradient(ellipse 90% 26% at 50% 26%, var(--fspot)) 0 0 / 100% 1110px no-repeat,
    radial-gradient(ellipse 80% 30% at 0% 100%, var(--glow-a), transparent 70%) 0 0 / 100% 1110px no-repeat,
    radial-gradient(ellipse 60% 16% at 100% 0%, var(--glow-b), transparent 70%) 0 0 / 100% 1110px no-repeat,
    var(--g); }
  :root:has(.hboard) body::before { content: none; }
}

/* ================================================================== Press (Part 2d)
 * Design's site-press-pairing.css: each feature beside its own screens, and the head kept in view. */
@media (min-width: 1012px) {
  main.presspage { grid-template-columns: 400px minmax(0, 1fr); gap: 64px; }
  main.presspage > div:first-child { position: sticky; top: 40px; }
  /* Where the serif cannot set the head, today's Archivo 900 comes down to 52: at 72 in a column of 400
     a Russian or Greek word ran 116 out of it. */
  main.presspage .pagehead { font-size: 52px; }
  :where(html:not(:lang(ru)):not(:lang(uk)):not(:lang(el)):not(:lang(ja)):not(:lang(ko)):not(:lang(zh)):not(:lang(hi))) main.presspage .pagehead { font-size: 76px; }
}
.pf-wrap { display: grid; gap: 56px; padding-bottom: 44px; }
.pf { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 36px; align-items: center; }
.pf.wide { grid-template-columns: minmax(0, 1fr); gap: 20px; }
/* The feature's name: Archivo where the serif cannot set it, and for 1v1 everywhere. */
.pf-h { margin: 0 0 10px; font-size: 30px; line-height: 1.05; font-weight: 900; letter-spacing: -.02em; color: var(--ink); }
:where(html:not(:lang(ru)):not(:lang(uk)):not(:lang(el)):not(:lang(ja)):not(:lang(ko)):not(:lang(zh)):not(:lang(hi))) .pf-h:not(.plain) {
  font-family: var(--ed); font-style: italic; font-weight: 400; font-size: 40px; line-height: 1; }
.pf-text p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--dim); }
.pf-text p + p { margin-top: 10px; font-size: 15px; }
/* The screens, 372 tall as drawn, or less where a feature's three would not fit beside its words (they
   ran 30 past the column at 1440 in the frames); Holidays' four under its words at 330 the same way.
   Each screen's 1 of border on either side is counted, or a row ran 3 over. */
.pf .press-shots { display: flex; gap: 16px; container-type: inline-size; }
.pf .press-shots a { flex: none; border-bottom: 0; }
.pf .press-shots img { width: auto; height: min(372px, calc(((100cqw - 32px) / 3 - 2px) * 2556 / 1179 + 2px)); border-radius: 14px;
  border: 1px solid var(--hair); box-shadow: 0 18px 44px rgba(0, 0, 0, .42); }
.pf.wide .press-shots img { height: min(330px, calc(((100cqw - 48px) / 4 - 2px) * 1920 / 1080 + 2px)); }
:root[data-room="light"] .pf .press-shots img { box-shadow: 0 2px 4px rgba(28, 25, 23, .08), 0 18px 40px rgba(28, 25, 23, .18); }
/* One column: each feature's words, then its screens in a row that scrolls sideways, at 300. */
@media (max-width: 1011px) {
  .pf { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pf-h { font-size: 26px; }
  :where(html:not(:lang(ru)):not(:lang(uk)):not(:lang(el)):not(:lang(ja)):not(:lang(ko)):not(:lang(zh)):not(:lang(hi))) .pf-h:not(.plain) { font-size: 34px; }
  .pf .press-shots { overflow-x: auto; margin: 0 calc(-1 * var(--pad)); padding: 4px var(--pad) 28px; gap: 12px; }
  .pf .press-shots img, .pf.wide .press-shots img { height: 300px; }
}

/* ================================================================== How to play (Part 2c)
 * Design's site-how-rework.css. No new words: the numbers are each section's data-n, drawn here, so a
 * reader of the page's text finds none. */
.howp-s .howp-read::before { content: attr(data-n); display: block; font-family: var(--ed); font-style: italic; font-weight: 400;
  font-size: 64px; line-height: 1; color: var(--accent); margin-bottom: -6px; }
.howp-s:first-of-type .howp-eyebrow { margin-top: 0; }
.howp-pair { display: block; padding-top: 0; }
/* The four traits, as four pictures you can press. Chosen is an edge in the accent, doubled by a ring, a
   faint tint and a glow, with its card up 5 and larger, not a fill (Martin, 29 November). */
.tt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 16px; }
.tt-b { display: grid; justify-items: center; gap: 12px; padding: 18px 6px 14px; border-radius: 16px; border: 1px solid var(--hair);
  background: transparent; color: var(--ink); font-family: var(--ui); font-size: 13px; font-weight: 700; letter-spacing: 1.21px;
  text-transform: uppercase; cursor: pointer; min-width: 0; }
.tt-b span { max-width: 100%; overflow-wrap: anywhere; }
.tt-b svg { width: 48px; height: auto; display: block; filter: var(--lift); transition: transform .15s ease; opacity: .62; }
.tt-b.on { background: color-mix(in srgb, var(--accent) 11%, transparent); color: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 34px color-mix(in srgb, var(--accent) 22%, transparent); }
.tt-b.on svg { opacity: 1; transform: translateY(-5px) scale(1.12); }
@media (prefers-reduced-motion: reduce) { .tt-b svg { transition: none; } }
/* The only ways a trait can pass: three of one kind, and one of each. */
.ways { display: grid; grid-template-columns: minmax(0, 1fr) 194px; gap: 14px; }
.ways-g { border: 1px solid var(--hair); border-radius: 20px; padding: 18px 18px 6px; background: rgba(255, 255, 255, .035); }
:root[data-room="light"] .ways-g { background: rgba(255, 255, 255, .55); }
.ways-g .howp-h3 { margin: 0 0 4px; }
.ways-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
.ways-g.b .ways-tiles { grid-template-columns: minmax(0, 1fr); }
.ways .howp-row { border-bottom: 0; padding: 10px 0 12px; }
.ways .howp-rowline { flex-wrap: wrap; }
.ways .howp-rowv { flex-basis: 100%; padding-left: 0; margin-top: 2px; }
/* Design drew the two panels side by side at 1440, where All the same's three tiles have 161 each. Under
   1180 the page narrows and a tile would have less than the 154 its three cards need, so there the panels
   stack and the rows read across, as Design drew them on a phone. */
@media (max-width: 1179px) {
  .ways { grid-template-columns: minmax(0, 1fr); }
  .ways-tiles { grid-template-columns: minmax(0, 1fr); }
  .ways .howp-rowline { flex-wrap: nowrap; }
  .ways .howp-rowv { flex-basis: auto; padding-left: 8px; margin-top: 0; }
}
@media (max-width: 899px) {
  .howp-s .howp-read::before { font-size: 52px; margin-bottom: 6px; }
  .howp-s + .howp-s { margin-top: 56px; }
  .tt { margin-top: 20px; gap: 8px; }
  .tt-b { font-size: 11px; padding: 14px 2px 12px; gap: 10px; }
  .tt-b svg { width: 40px; }
}
/* The narrowest phones, which Design did not draw. A trait's name at 11 with Design's tracking broke
   mid-word in about a dozen languages at 320 (Latvian's PILDĪJUMS at 360 too), and in five a row of three
   cards with its tick and Trio ran up to 12 past its panel. So the names lose most of their tracking under
   390 (Design's 390 is as drawn) and a point under 360, and a row that cannot fit puts its Trio under its cards. */
@media (max-width: 389px) { .tt-b { padding-inline: 0; letter-spacing: .4px; } }
@media (max-width: 374px) { .ways .howp-rowline { flex-wrap: wrap; } }
@media (max-width: 359px) { .tt-b { font-size: 10px; } }

/* ================================================================== How to play, 3: What makes a trio? (send 3's examples; section 3 since 2 December)
 * Design's site-how-examples.css. Eight examples to step through, each card read trait by trait, then
 * checked. The desktop check rows are the page's own table. */
.anat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 0; }
.an-fig { width: 100%; height: auto; display: block; overflow: visible; }
.an-card { filter: var(--lift); }
/* The pointers cross a white card in both rooms, so they keep one colour in both. */
.an-l { stroke: #8B837A; stroke-width: 1.4; }
path.an-l { stroke: #1C1917; stroke-width: 1.4; }
.an-d { fill: #FFFFFF; stroke: #1C1917; stroke-width: 1.6; }
.an-t { font-family: var(--ui); font-size: 9.5px; font-weight: 700; letter-spacing: 1.6px; fill: var(--dim); }
.an-v { font-family: var(--ui); font-size: 15px; font-weight: 700; fill: var(--ink); }
.an-verdict { margin: 6px 0 0; display: flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--ed); font-style: italic;
  font-weight: 400; font-size: 44px; line-height: 1.1; }
.an-verdict.ok { color: var(--ok); }
.an-verdict.no { color: var(--no); }
.an-ex .an-table { margin-top: 20px; }
.exn { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.exn button { height: 52px; border-radius: 12px; border: 1px solid var(--hair); background: transparent; color: var(--ink); font-family: var(--ui);
  font-size: 17px; font-weight: 700; cursor: pointer; }
.exn button.on { background: color-mix(in srgb, var(--accent) 11%, transparent); color: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 34px color-mix(in srgb, var(--accent) 22%, transparent); }
/* All eight in one cell, one shown: the cell is the tallest of them, so a press moves nothing on the page. */
.an-stack { display: grid; min-width: 0; }
.an-stack > .an-ex { grid-area: 1 / 1; visibility: hidden; min-width: 0; }
.an-stack > .an-ex.on { visibility: visible; }
.an-phone { display: none; }
@media (max-width: 899px) {
  .an-desk { display: none; }
  .an-phone { display: block; margin-top: 14px; }
  .anp-fig { width: 100%; height: auto; display: block; overflow: visible; margin-bottom: 6px; }
  .anp-fig .an-t { font-size: 9px; letter-spacing: 1.5px; }
  .anp-fig .an-v { font-size: 14px; }
  .anp-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; padding: 10px 0; border-top: 1px solid var(--hair); }
  .anp-k { display: grid; gap: 4px; justify-items: center; text-align: center; }
  .anp-n { font-size: 9px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--dim); }
  .anp-v { display: flex; align-items: center; gap: 3px; font-size: 10.5px; line-height: 1.1; color: var(--ink); white-space: nowrap; }
  .anp-v b { font-weight: 700; }
  .anp-k.fails .anp-v { white-space: normal; text-align: left; }
  .anp-k.fails .anp-v b { color: var(--no); }
  .anp-k.fails .anp-n { color: var(--ink); }
  .an-phone .an-verdict { font-size: 34px; margin-top: 0; padding-top: 8px; border-top: 1px solid var(--hair); }
  .exn { margin-top: 18px; grid-template-columns: repeat(8, 1fr); gap: 6px; }
  .exn button { height: 44px; font-size: 15px; border-radius: 10px; }
}
/* The check row on a phone, in every language: Design set the words that pass on one line, and in English
   they fit; in most languages they ran past their quarter, and the page scrolled sideways. They wrap. */
@media (max-width: 899px) {
  .anp-k { min-width: 0; }
  .anp-n { max-width: 100%; overflow-wrap: anywhere; }
  .anp-v { white-space: normal; max-width: 100%; }
  .anp-v b { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
}

/* How to play's FAQs (SEO & AEO Desk, through Audit, 1 December). After the closing and the badges, so
   nothing above them moves: only the footer comes down. The page's own h2; each question a row you tap,
   in the ink at 17/800 with a plus that turns to a minus (Martin: "keep the plus"), its answer under it in the page's dim at 16/600,
   a hairline between, as the privacy page's rows have (Martin: "something for people to tab"). */
.howp-faq { margin-top: 64px; }
.howp-qa { margin: 24px 0 0; display: grid; border-bottom: 1px solid var(--hair); }
.howp-q { border-top: 1px solid var(--hair); }
.howp-q summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0;
  list-style: none; cursor: pointer; font-size: 17px; line-height: 24px; font-weight: 800; color: var(--ink); }
.howp-q summary::-webkit-details-marker { display: none; }
.howp-q summary::after { content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(var(--dim), var(--dim)) center / 14px 2px no-repeat,
    linear-gradient(var(--dim), var(--dim)) center / 2px 14px no-repeat; }
.howp-q[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat; }
.howp-q summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.howp-q p { margin: -6px 0 0; padding: 0 30px 20px 0; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--dim); text-wrap: pretty; }
@media (min-width: 900px) {
  .howp-faq { grid-column: 1 / -1; margin-top: 0; display: grid; grid-template-columns: 300px minmax(0, 1fr);
    column-gap: 72px; align-items: start; }
  .howp-qa { margin: 0; max-width: 760px; }
}
