/*
 * The public website's one stylesheet (lib/site-data/html.ts). Served same-origin so the site CSP
 * (`style-src 'self'`, `font-src 'self'`, no scripts) allows it: no inline styles anywhere, and all
 * motion is CSS, transform only, gated by prefers-reduced-motion. Content is visible without JS.
 *
 * Design direction 2026-09-30 (binding), the same UI as the signed-in app (app/(app)/app.css):
 * black canvas; #141414 surface, #1e1e1e raised, #2a2a2a hairline. Text #fff / #a3a3a9 / #838885.
 * Mint #5cf2c9 = action and green flags (at most one mint-filled element per screen, black text on
 * it); coral #ff5a5f = red flags only. Newsreader for display, TikTok Sans for everything else, no
 * monospace. Radii: pills/chips/buttons/inputs 999, cards 24, tiles 16. Cards = surface + hairline +
 * inner top highlight. Buttons 48px. 4-pt spacing. Everything is prefixed s- (the flag meter is .fm,
 * as in the app).
 */

@font-face {
  font-family: "TikTok Sans";
  src: url("/fonts/TikTokSans.woff2") format("woff2");
  font-weight: 300 900;
  font-stretch: 75% 150%;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/Newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #141414;
  --raised: #1e1e1e;
  --line: #2a2a2a;
  --line-2: #3a3a3c;
  --mint: #5cf2c9;
  --on-mint: #000;
  --red: #ff5a5f;
  --green: #5cf2c9;
  --text: #fff;
  --text-2: #a3a3a9;
  --text-3: #838885;
  --sans: "TikTok Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --gutter: 16px;
  --nav-h: 64px;
  --hi: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --float: 0 24px 48px -12px rgba(0, 0, 0, 0.6);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --enter: cubic-bezier(0.2, 0.8, 0.2, 1);
  --r-card: 24px;
  --r-tile: 16px;
  --section: 80px;
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
    --section: 128px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  scrollbar-color: var(--line-2) var(--bg);
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

main {
  flex: 1 0 auto;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--mint);
  text-underline-offset: 3px;
}

a,
button,
summary,
select,
label {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

::selection {
  background: rgba(92, 242, 201, 0.3);
  color: #fff;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.s-wrap {
  width: min(1200px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.s-narrow {
  width: min(760px, 100% - 2 * var(--gutter));
}

.s-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.s-skip {
  position: absolute;
  left: var(--gutter);
  top: -64px;
  z-index: 50;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--on-mint);
  font-weight: 600;
  text-decoration: none;
}

.s-skip:focus {
  top: 12px;
}

/* ── Type ──────────────────────────────────────────────────────────── */

.s-h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5.4vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.s-h1 em,
.s-h2 em {
  font-style: italic;
  color: inherit;
}

.s-h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}

.s-center {
  text-align: center;
}

.s-lede {
  margin: 24px 0 0;
  max-width: 34ch;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
}

.s-sub {
  margin: 12px 0 0;
  max-width: 52ch;
  color: var(--text-2);
  font-size: 15px;
}

.s-sub a {
  color: var(--text);
}

.s-fine {
  margin: 16px 0 0;
  max-width: 56ch;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
}

.s-fine-strong {
  color: var(--text);
  font-weight: 600;
}

/* ── Buttons, chips, cards ─────────────────────────────────────────── */

.s-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font: 600 16px/1 var(--sans);
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.s-btn-mint {
  background: var(--mint);
  color: var(--on-mint);
}

.s-btn-mint:hover {
  background: #7ff5d6;
}

.s-btn-line {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.s-btn-line:hover {
  background: var(--surface);
}

.s-btn-sm {
  height: 40px;
  padding: 0 18px;
  font-size: 15px;
}

.s-btn-block {
  width: 100%;
}

.s-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.s-cta-center {
  justify-content: center;
}

.s-store img {
  height: 48px;
  width: auto;
}

.s-applink {
  margin: 20px 0 0;
  color: var(--text-2);
  font-size: 15px;
}

.s-applink a {
  color: var(--text);
}

.s-chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.s-chip-draft {
  color: var(--text);
}

.s-card {
  position: relative;
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--hi);
  color: var(--text);
}

@media (min-width: 768px) {
  .s-card {
    padding: 24px;
  }
}

a.s-card {
  text-decoration: none;
}

a.s-card:hover {
  border-color: var(--line-2);
}

.s-card-k {
  margin: 0 0 8px;
  color: var(--text-3);
  font-size: 14px;
  font-weight: 500;
}

.s-card-t {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.s-card p {
  color: var(--text-2);
  font-size: 15px;
}

.s-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--mint);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.s-go::after {
  content: "→";
}

.s-card-more {
  display: block;
  margin-top: 8px;
  color: var(--text-2);
  font-size: 14px;
}

/* ── Nav (matches the homepage header) ─────────────────────────────── */

.s-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  /* Solid enough to read over content: no backdrop blur (performance rule). */
  background: rgba(0, 0, 0, 0.94);
}

.s-nav-row {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.s-home {
  display: block;
  flex: none;
  border-radius: 8px;
}

.s-nav .s-home img {
  height: 32px;
  width: auto;
}

.s-links {
  flex: 1;
  display: flex;
  justify-content: center;
}

.s-links ul,
.s-menu-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.s-links ul {
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.6);
  box-shadow: inset 0 0 0 1px var(--line), var(--hi);
}

.s-links a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  color: #d6d6da;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.s-links a:hover,
.s-links a[aria-current="page"] {
  color: var(--text);
  background: var(--raised);
}

.s-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.s-login {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.s-login:hover {
  color: var(--mint);
}

.s-menu {
  position: relative;
  display: none;
}

.s-menu summary {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-2);
  cursor: pointer;
  list-style: none;
}

.s-menu summary::-webkit-details-marker {
  display: none;
}

.s-burger,
.s-burger::before,
.s-burger::after {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: #fff;
}

.s-burger {
  position: relative;
  background: transparent;
}

.s-burger::before,
.s-burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.s-burger::before {
  top: -3.5px;
}

.s-burger::after {
  top: 3.5px;
}

.s-menu[open] .s-burger::before {
  transform: translateY(3.5px) rotate(45deg);
}

.s-menu[open] .s-burger::after {
  transform: translateY(-3.5px) rotate(-45deg);
}

.s-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(300px, 100vw - 2 * var(--gutter));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--hi), var(--float);
}

.s-menu-panel a {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 16px;
  border-radius: var(--r-tile);
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.s-menu-panel a:hover,
.s-menu-panel a[aria-current="page"] {
  background: var(--raised);
}

@media (max-width: 899px) {
  .s-links,
  .s-login {
    display: none;
  }

  .s-menu {
    display: block;
  }

  .s-actions {
    gap: 8px;
  }
}

/* ── Sections and heroes ───────────────────────────────────────────── */

.s-section {
  padding-block: var(--section);
}

.s-section + .s-section {
  border-top: 1px solid var(--line);
}

.s-hero {
  padding-block: 40px 64px;
}

@media (min-width: 768px) {
  .s-hero {
    padding-block: 80px 112px;
  }
}

.s-hero-compact {
  padding-bottom: 0;
}

.s-split {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .s-split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
  }
}

/* The human line: a text bubble from Clairitea (no avatar). */
.s-say {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  max-width: 34rem;
  margin: 0 0 24px;
}

.s-say-b {
  padding: 10px 16px 11px;
  border-radius: 20px 20px 20px 6px;
  background: var(--raised);
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
}

/* ── Person teaser ─────────────────────────────────────────────────── */

.s-person-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .s-person-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 80px;
  }
}

.s-person h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 6.2vw, 88px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.s-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
}

.s-fact {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text-2);
  font-size: 14px;
}

.s-fact strong {
  color: var(--text);
  font-weight: 600;
}

.s-person .s-lede {
  margin-top: 32px;
}

@media (min-width: 768px) {
  .s-person {
    padding-bottom: 32px;
  }
}

/* The locked posts (concept "person a"): word-shaped capsules (#2a2a2a on #141414), never text,
   never a blur, no flag colour signed out. A small sentence-case "Locked" tag. */
.s-person-art {
  display: grid;
  place-items: center;
  /* /post/{id} lands on #posts. Adds to html's scroll-padding-top (which clears the sticky nav), so
     the name and the Read posts row stay in view beside the stack, not under the nav. */
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.s-stack {
  display: grid;
  width: min(480px, 100%);
  padding-top: 32px;
}

.s-locked {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--hi), var(--float);
}

.s-locked-back {
  transform: translate(-10px, -14px) rotate(-2.5deg);
  opacity: 0.6;
}

.s-locked-far {
  transform: translate(12px, -26px) rotate(2.5deg);
  opacity: 0.35;
}

.s-locked-head {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

/* A generic person glyph (data: SVG), never a photo or an initial. */
.s-anon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='6' r='3.5' fill='%23838885'/%3E%3Cpath d='M2 17c0-3.9 3.1-6.5 7-6.5s7 2.6 7 6.5' fill='%23838885'/%3E%3C/svg%3E") no-repeat center / 18px 18px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.s-locked i {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: var(--line);
}

.s-locked-body {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.s-locked-body p {
  display: flex;
  gap: 8px;
  margin: 0;
}

.s-locked .w1 { flex: 0 1 18%; }
.s-locked .w2 { flex: 0 1 34%; }
.s-locked .w3 { flex: 0 1 26%; }
.s-locked .w4 { flex: 0 1 40%; }
.s-locked .w5 { flex: 0 1 22%; }
.s-locked .w6 { flex: 0 1 30%; }

.s-lock {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  margin-top: 20px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* A small padlock (a data: SVG, allowed by the site CSP's img-src). */
.s-lock::before {
  content: "";
  width: 10px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='14' viewBox='0 0 12 14'%3E%3Cpath d='M3 6V4.2a3 3 0 0 1 6 0V6' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3Crect x='0.5' y='6' width='11' height='7.5' rx='2' fill='%23fff'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Watch this name: a bell before the label (it swings on hover and press). */
.s-btn-bell::before {
  content: "";
  width: 16px;
  height: 16px;
  transform-origin: 50% 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.5a4.5 4.5 0 0 0-4.5 4.5v3L2 11.5h12L12.5 9V6A4.5 4.5 0 0 0 8 1.5z' fill='none' stroke='%23fff' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='M6.3 13.5a1.8 1.8 0 0 0 3.4 0' fill='none' stroke='%23fff' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Plain bubble (no avatar) above the name on a person page. */
.s-person .s-say {
  margin-bottom: 20px;
}

@media (max-width: 959px) {
  .s-person-art {
    order: 2;
    /* Stacked below the copy: keep the sign-in line and the Read posts row in view above it. */
    scroll-margin-top: 185px;
  }

  .s-stack {
    width: min(400px, 100%);
  }
}

/* How it works (person page): three steps of a real sequence. */
.s-how-steps {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 48px 0 0;
  padding: 0;
}

@media (min-width: 768px) {
  .s-how-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

.s-how-steps li {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--hi);
}

.s-step-n {
  flex: none;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--text-3);
  font-variant-numeric: lining-nums;
}

.s-how-steps h3,
.s-steps h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.s-how-steps p,
.s-steps p {
  margin: 6px 0 0;
  color: var(--text-2);
  font-size: 15px;
}

/* ── Support ───────────────────────────────────────────────────────── */

.s-receipt {
  max-width: 480px;
  justify-self: end;
  width: 100%;
}

.s-receipt-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  line-height: 1.15;
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.s-receipt-head .s-chip {
  font-family: var(--sans);
  letter-spacing: 0;
}

.s-receipt dl {
  margin: 16px 0 0;
}

.s-receipt-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.s-receipt-row dt {
  color: var(--text-3);
  font-size: 14px;
}

.s-receipt-row dd {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

.s-receipt-foot {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.s-card .s-receipt-foot {
  color: var(--text);
}

/* The 911 / 988 card: two halves split by a hairline, white text only, a footer strip. */
.s-danger {
  padding: 0;
  overflow: hidden;
}

.s-danger-grid {
  display: grid;
}

@media (min-width: 768px) {
  .s-danger-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .s-danger-half + .s-danger-half {
    border-left: 1px solid var(--line);
  }
}

.s-danger-half {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 20px 24px;
  color: var(--text);
  font-size: 16px;
}

@media (max-width: 767px) {
  .s-danger-half + .s-danger-half {
    border-top: 1px solid var(--line);
  }
}

.s-danger-n {
  align-self: flex-start;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(56px, 6vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
  font-variant-numeric: lining-nums;
}

.s-danger-n:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.s-card .s-danger-sub {
  color: var(--text-2);
  font-size: 14px;
}

.s-card .s-danger-note {
  margin: 0;
  padding: 12px 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-2);
  font-size: 13px;
  text-align: center;
}

.s-bento {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .s-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .s-card-feature {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .s-bento {
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  }

  .s-card-feature {
    grid-column: auto;
  }
}

.s-bento .s-card {
  display: flex;
  flex-direction: column;
}

.s-bento .s-card p {
  margin: 12px 0 0;
}

.s-bento .s-go {
  margin-top: auto;
  padding-top: 20px;
}

.s-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.s-reasons-h {
  flex-basis: 100%;
  color: var(--text-3);
  font-size: 14px;
}

.s-channels {
  padding-top: 48px;
}

/* ── "A post about you?" ───────────────────────────────────────────── */

.s-named-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 960px) {
  .s-named-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 80px;
    align-items: start;
  }

  .s-named-copy {
    position: sticky;
    top: calc(var(--nav-h) + 32px);
  }
}

.s-named .s-lede {
  font-size: 20px;
}

.s-steps {
  list-style: none;
  display: grid;
  gap: 20px;
  margin: 32px 0 24px;
  padding: 0;
}

.s-steps li {
  display: flex;
  gap: 16px;
}

.s-steps .s-step-n {
  width: 28px;
  font-size: 28px;
}

.s-steps h3 {
  font-size: 20px;
}

.s-form-card form {
  display: grid;
  gap: 20px;
}

.s-field {
  display: grid;
  gap: 6px;
}

.s-field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.s-req,
.s-opt {
  color: var(--text-3);
  font-size: 13px;
  font-weight: 500;
}

.s-hint {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
}

.s-form-card input:not([type="checkbox"]),
.s-form-card select,
.s-form-card textarea {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--raised);
  color: var(--text);
  font: 400 16px/1.4 var(--sans);
  -webkit-appearance: none;
  appearance: none;
}

.s-form-card select {
  padding-right: 44px;
  background: var(--raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a3a3a9' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 20px center / 12px 8px;
  cursor: pointer;
}

.s-form-card option {
  background: var(--surface);
  color: var(--text);
}

.s-form-card textarea {
  min-height: 132px;
  border-radius: var(--r-tile);
  resize: vertical;
}

.s-form-card input::placeholder,
.s-form-card textarea::placeholder {
  color: var(--text-3);
}

.s-form-card input:not([type="checkbox"]):hover,
.s-form-card select:hover,
.s-form-card textarea:hover {
  border-color: var(--line-2);
}

.s-form-card input:not([type="checkbox"]):focus-visible,
.s-form-card select:focus-visible,
.s-form-card textarea:focus-visible {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(92, 242, 201, 0.2);
}

.s-field-row {
  display: grid;
  gap: 20px;
}

@media (min-width: 600px) {
  .s-field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.s-fixed {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 0;
  padding: 14px 20px;
  border-radius: var(--r-tile);
  background: var(--raised);
  font-size: 14px;
}

.s-fixed span:first-child {
  color: var(--text-3);
}

.s-fixed span:last-child {
  color: var(--text);
  overflow-wrap: anywhere;
}

.s-field .s-check {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.s-check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--mint);
}

/* Errors: words and a coral mark, never a coral field (design direction: white text + coral icon). */
.s-err {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 2px 0 0;
  color: var(--text);
  font-size: 14px;
}

.s-err::before {
  content: "!";
  display: grid;
  flex: none;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  color: #000;
  font-size: 12px;
  font-weight: 700;
}

.s-field:has(:user-invalid) .s-err {
  display: flex;
}

.s-after {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
  text-align: center;
}

/* ── Invite (concept "invite b": one centred column over a ticket) ── */

.s-invite-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1100px;
  text-align: center;
}

.s-invite .s-h1 {
  font-size: clamp(40px, 5vw, 72px);
}

.s-invite-lede {
  margin: 16px 0 0;
  color: var(--text);
  font-size: 18px;
}

.s-ticket {
  position: relative;
  width: min(560px, 100%);
  margin-top: 24px;
  padding: 56px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--hi), var(--float);
}

/* The two notches at the dashed divider: half-circles of canvas with a hairline edge. */
.s-ticket::before,
.s-ticket::after {
  content: "";
  position: absolute;
  top: 87px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
}

.s-ticket::before {
  left: -13px;
  clip-path: inset(0 0 0 50%);
}

.s-ticket::after {
  right: -13px;
  clip-path: inset(0 50% 0 0);
}

.s-ticket-head {
  margin: 0;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--line-2);
  color: var(--text-2);
  font-size: 15px;
}

.s-ticket dl {
  margin: 24px 0 0;
}

.s-ticket dd {
  margin: 0;
}

.s-ticket code {
  font-family: var(--sans);
  font-size: clamp(44px, 9vw, 56px);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.s-ticket-bonus {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--text);
  font-size: 17px;
}

.s-ticket-bonus dt {
  color: var(--text-2);
}

.s-invite .s-btn-block {
  width: min(560px, 100%);
  margin-top: 20px;
}

.s-invite-age {
  margin: 12px 0 0;
  color: var(--text-2);
  font-size: 13px;
}

.s-invite .s-store {
  margin-top: 20px;
}

.s-invite .s-applink {
  margin-top: 16px;
}

/* ── Legal documents (concept "terms b") ───────────────────────────── */

/* Every document as one sideways row of pills under the nav; the current one has a mint outline. */
.s-legal-bar {
  border-bottom: 1px solid var(--line);
}

.s-legal-bar ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin-block: 0;
  padding-block: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
}

.s-legal-bar ul::-webkit-scrollbar {
  display: none;
}

.s-legal-bar li {
  flex: none;
  scroll-snap-align: start;
}

.s-legal-bar a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text-2);
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
}

.s-legal-bar a:hover {
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.s-legal-bar a[aria-current="page"] {
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--mint);
}

/* Phones: the current document comes first in the row. */
@media (max-width: 767px) {
  .s-legal-bar li:has([aria-current="page"]) {
    order: -1;
  }
}

/* A centred 720px reading column, with the contents list beside it at >= 1200px. */
.s-docs {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
  padding-block: 40px 96px;
}

@media (min-width: 768px) {
  .s-docs {
    padding-block: 64px 128px;
  }
}

@media (min-width: 1200px) {
  .s-docs {
    grid-template-columns: minmax(0, 720px) 260px;
    column-gap: 96px;
  }
}

.s-doc {
  min-width: 0;
}

.s-toc {
  display: none;
}

@media (min-width: 1200px) {
  .s-toc {
    display: block;
    position: sticky;
    top: calc(var(--nav-h) + 32px);
    align-self: start;
    max-height: calc(100dvh - var(--nav-h) - 64px);
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

.s-toc .s-toc-h {
  margin: 0 0 12px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.s-toc ol,
.s-toc-m ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.s-toc a,
.s-toc-m a {
  display: flex;
  gap: 12px;
  padding: 6px 0;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}

.s-toc a:hover,
.s-toc-m a:hover,
.s-toc a:focus-visible {
  color: var(--text);
}

.s-toc-n {
  flex: none;
  min-width: 2ch;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.s-doc-head {
  display: grid;
  gap: 0;
}

@media (min-width: 768px) {
  .s-doc-head-art {
    grid-template-columns: minmax(0, 1fr) clamp(200px, 22vw, 280px);
    align-items: center;
    gap: 24px;
  }

  .s-doc-head-art .s-doc-title {
    font-size: clamp(40px, 4.4vw, 64px);
  }
}

.s-doc-say {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 17px;
}

.s-doc-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
}

.s-doc-hello {
  margin: 16px 0 0;
  max-width: 36ch;
  color: var(--text-2);
  font-size: 20px;
  line-height: 1.4;
}

.s-doc-pill {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 20px 0 0;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--text-2);
  font-size: 14px;
}

.s-doc-pill-draft {
  color: var(--text);
}

.s-doc-draft {
  margin: 8px 0 0;
  color: var(--text-3);
  font-size: 14px;
}

/* The two human lines, in plain English, as a card under the title. */
.s-plain {
  margin-top: 32px;
}

.s-card.s-plain p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.45;
}

.s-card.s-plain p + p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 17px;
}

.s-doc .s-danger {
  margin-top: 40px;
}

/* /safety: three cards that jump to sections of the document. */
.s-jumps {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

@media (min-width: 768px) {
  .s-jumps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.s-jump {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 140px;
}

.s-jump-t {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.s-jump .s-go {
  margin-top: 0;
}

/* Below 1200px: the contents list is a disclosure above the text. */
.s-toc-m {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--hi);
}

.s-toc-m summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 20px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.s-toc-m summary::-webkit-details-marker {
  display: none;
}

.s-toc-m summary::after {
  content: "+";
  color: var(--text-2);
  font-size: 20px;
  font-weight: 400;
}

.s-toc-m[open] summary::after {
  content: "−";
}

.s-toc-m ol {
  padding: 0 20px 16px;
}

@media (min-width: 1200px) {
  .s-toc-m {
    display: none;
  }
}

/* The document: readable long-form. Newsreader headings, 17/1.6 text, about 68 characters a line. */
.s-doc-body {
  max-width: 68ch;
  padding-top: 40px;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.s-doc-body > :first-child {
  margin-top: 0;
}

.s-doc-body h2 {
  display: flex;
  gap: 12px;
  margin: 64px 0 16px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.s-doc-body h3 {
  display: flex;
  gap: 10px;
  margin: 40px 0 12px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.015em;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.s-doc-body h4 {
  margin: 32px 0 8px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
}

.s-doc-body h2 .s-doc-n,
.s-doc-body h3 .s-doc-n {
  flex: none;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.s-doc-body p {
  margin: 0 0 16px;
}

.s-clause .s-doc-n {
  color: var(--text-3);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.s-doc-body strong {
  color: var(--text);
  font-weight: 600;
}

.s-doc-body a {
  color: var(--text);
  text-decoration-color: var(--mint);
  text-decoration-thickness: 1px;
}

.s-doc-body a:hover {
  color: var(--mint);
}

.s-doc-body ul,
.s-doc-body ol {
  margin: 0 0 16px;
  padding-left: 1.4em;
}

.s-doc-body li {
  margin: 6px 0;
  padding-left: 4px;
}

.s-doc-body li::marker {
  color: var(--text-3);
}

.s-doc-body blockquote {
  margin: 24px 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--line-2);
  color: var(--text);
}

.s-doc-body hr {
  margin: 48px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.s-doc-body code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--raised);
  color: var(--text);
  font-family: inherit;
  font-size: 0.94em;
}

.s-todo {
  color: var(--text-3);
  text-decoration: underline dotted;
  text-underline-offset: 4px;
}

.s-table {
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  background: var(--surface);
}

.s-table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

.s-table th,
.s-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

.s-table th {
  color: var(--text);
  font-weight: 600;
  background: var(--raised);
}

.s-table tr + tr td {
  border-top: 1px solid var(--line);
}

.s-doc-foot {
  max-width: 68ch;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.s-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.s-pager a {
  display: grid;
  gap: 4px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.s-pager span {
  color: var(--text-3);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
}

.s-pager-next {
  text-align: right;
}

.s-doc-ask {
  margin: 32px 0 0;
  color: var(--text-2);
  font-size: 15px;
}

.s-doc-ask a,
.s-top {
  color: var(--text);
}

.s-top {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
}

/* ── Legal intro blocks (/safety, /rules) ──────────────────────────── */

.s-intro {
  display: grid;
  gap: 12px;
  max-width: 760px;
  padding-top: 40px;
}

.s-intro-h {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.s-intro-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .s-intro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .s-intro-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.s-intro-card h3,
.s-intro-never h3,
.s-intro-checks h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.s-intro-card p:last-child {
  margin: 8px 0 0;
}

.s-intro-card .s-step-n {
  display: block;
  margin-bottom: 12px;
  font-size: 32px;
}

.s-intro-named {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  color: var(--text-2);
  font-size: 15px;
}

.s-intro-named strong {
  color: var(--text);
  font-weight: 600;
}

.s-intro-named .s-go {
  margin-top: 0;
}

.s-intro-split {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .s-intro-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.s-intro-never ul,
.s-intro-checks ul {
  margin: 12px 0 0;
  padding-left: 1.2em;
  color: var(--text-2);
  font-size: 15px;
}

.s-intro-never li,
.s-intro-checks li {
  margin: 6px 0;
}

.s-intro-never li::marker,
.s-intro-checks li::marker {
  color: var(--text-3);
}

.s-intro-checks p {
  margin: 12px 0 0;
}

/* ── /support FAQ and "go deeper" ──────────────────────────────────── */

.s-faq-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .s-faq-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 80px;
    align-items: start;
  }
}

.s-faq-list {
  border-top: 1px solid var(--line);
}

.s-faq-item {
  border-bottom: 1px solid var(--line);
}

.s-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.s-faq-item summary::-webkit-details-marker {
  display: none;
}

.s-faq-item summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--text-2);
  font-size: 18px;
  font-weight: 400;
}

.s-faq-item[open] summary::after {
  content: "−";
}

.s-faq-item p {
  margin: 0;
  padding: 0 48px 20px 0;
  color: var(--text-2);
  font-size: 16px;
}

.s-deep-grid {
  display: grid;
  gap: 12px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .s-deep-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1000px) {
  .s-deep-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.s-deep-cell {
  display: grid;
  gap: 8px;
}

.s-deep-k {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.s-deep-k::after {
  content: " →";
  color: var(--text-3);
}

.s-deep-v {
  color: var(--text-2);
  font-size: 15px;
}

/* ── Status pages: 404, 410, results ───────────────────────────────── */

.s-status {
  padding-block: 64px 96px;
}

@media (min-width: 768px) {
  .s-status {
    padding-block: 96px 128px;
  }
}

.s-status-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 560px;
  text-align: center;
}

.s-status-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.s-status-body {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 17px;
}

.s-status-body p {
  margin: 0 0 12px;
}

.s-status-body a {
  color: var(--text);
}

.s-status-body form {
  margin: 24px 0 12px;
}

.s-status .s-cta-row {
  margin-top: 24px;
}

/* ── Footer (matches the homepage footer) ──────────────────────────── */

.s-foot {
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

@media (min-width: 768px) {
  .s-foot {
    padding-top: 72px;
  }
}

.s-foot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 24px;
}

.s-foot-brand {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

@media (min-width: 640px) {
  .s-foot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .s-foot-grid {
    grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
    gap: 48px;
  }

  .s-foot-brand {
    grid-column: auto;
  }
}

.s-foot .s-home img {
  height: 40px;
  width: auto;
}

.s-foot-blurb {
  margin: 0;
  max-width: 38ch;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

.s-foot-adults {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--text-3);
  font-size: 13px;
}

.s-foot-18 {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
}

.s-foot-h {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.s-foot-col ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.s-foot-col a {
  color: var(--text-2);
  font-size: 15px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.s-foot-col a:hover,
.s-foot-col a[aria-current="page"] {
  color: var(--text);
}

.s-foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 13px;
}

@media (min-width: 900px) {
  .s-foot-note {
    flex: 1;
    text-align: center;
  }
}

/* ── Motion: transform only, one-shot, never hiding content ────────── */

@media (prefers-reduced-motion: no-preference) {
  .s-btn {
    transition: transform 120ms ease-out, background-color 150ms ease-out;
  }

  .s-btn:active {
    transform: scale(0.97);
  }

  a.s-card,
  .s-how-steps li {
    transition: transform 300ms var(--enter), border-color 150ms ease-out;
  }

  a.s-card:hover {
    transform: translateY(-2px);
  }

  .s-burger::before,
  .s-burger::after {
    transition: transform 250ms var(--spring);
  }

  .s-go::after,
  .s-deep-k::after {
    display: inline-block;
    transition: transform 200ms var(--enter);
  }

  a:hover > .s-go::after,
  .s-go:hover::after,
  a.s-card:hover .s-deep-k::after {
    transform: translateX(3px);
  }

  .s-menu[open] .s-menu-panel {
    animation: s-drop 250ms var(--enter);
  }

  .s-rise {
    animation: s-rise 600ms var(--enter) both;
  }

  .s-doc-head {
    animation: s-rise 600ms var(--enter) both;
  }

  .s-stack .s-locked-front {
    animation: s-rise 700ms var(--enter) 120ms both;
  }

  .s-btn-bell:hover::before,
  .s-btn-bell:focus-visible::before,
  .s-btn-bell:active::before {
    animation: s-bell 700ms ease-out;
  }

  .s-faq-item p,
  .s-toc-m ol {
    animation: s-rise 300ms var(--enter);
  }
}

@keyframes s-rise {
  from {
    transform: translateY(12px);
  }

  to {
    transform: none;
  }
}

@keyframes s-drop {
  from {
    transform: translateY(-6px) scale(0.98);
  }

  to {
    transform: none;
  }
}

/* Watch bell: swings +-14deg (design direction motion table). */
@keyframes s-bell {
  0% {
    transform: rotate(0);
  }

  20% {
    transform: rotate(14deg);
  }

  45% {
    transform: rotate(-14deg);
  }

  70% {
    transform: rotate(7deg);
  }

  100% {
    transform: rotate(0);
  }
}
