@import url("aal-dot.css?v=20261026g"); /* grey dot token (Coop, 26 Oct 2026) */
/* AI Accuracy Lab — Apple-inspired bold / clean design system */

/* Self-hosted Inter (no Google Fonts CDN) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Inter-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Inter-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/Inter-ExtraBold.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/Inter-Black.woff2") format("woff2");
}

:root {
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --muted: #6e6e73;
  --white: #ffffff;
  --grey: #f5f5f7;
  --grey-mid: #e8e8ed;
  --border: #d2d2d7;
  --black: #000000;
  --ocean: #e10600;
  --ocean-deep: #e10600;
  --teal: #ff2d00;
  --accent-grad: linear-gradient(110deg, #c40000 0%, #e10600 28%, #ff2d00 55%, #ff6a00 78%, #ffb000 100%);
  --accent-glow: 0 8px 24px rgba(225, 6, 0, 0.35);
  --coral: #ff6b6b;
  --coral-deep: #e11d48;
  --success: #9A3412;
  --success-bg: #ecfdf5;
  --danger: #e11d48;
  --danger-bg: #fff1f2;
  --warning: #d97706;
  --warning-bg: #fffbeb;
  --info: #0284c7;
  --info-bg: #e0f2fe;
  --ocean-soft: #fff1e8;
  --mint-soft: #fff7ed;
  --sky-soft: #fffbeb;
  --sand: #fef3c7;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Georgia", "Times New Roman", serif;
  --nav-h: 52px;
  --cta: var(--ink);
  --cta-hover: #333;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

a { color: var(--ocean-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--ocean);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ——— Slim elegant demo banner ——— */
.demo-banner {
  background: var(--grey);
  color: var(--muted);
  text-align: center;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--grey-mid);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.demo-banner strong { color: var(--ink); font-weight: 600; }

/* ——— Frosted sticky nav ——— */
.site-nav {
  position: sticky;
  top: 1.85rem;
  z-index: 900;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
}
.site-nav .nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}
.brand-mark {
  width: 28px;
  height: 28px;
  background: transparent;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: -0.04em;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark img,
.brand-mark svg {
  width: 28px;
  height: 28px;
  display: block;
}
.nav-links {
  display: flex;
  gap: 0.15rem;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
}
.nav-links a {
  color: var(--ink-soft);
  padding: 0.4rem 0.7rem;
  border-radius: 980px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
}
.nav-cta {
  background: var(--accent-grad) !important;
  box-shadow: var(--accent-glow);
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 0.45rem 1rem !important;
  margin-left: 0.35rem;
}
.nav-cta:hover {
  background: var(--accent-grad) !important;
  filter: brightness(1.08);
  color: var(--white) !important;
}

/* ——— About us nav dropdown ——— */
.nav-dropdown {
  position: relative;
  list-style: none;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--ink-soft);
  padding: 0.4rem 0.7rem;
  border-radius: 980px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: color 0.15s, background 0.15s;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: inherit;
}
.nav-dropdown-toggle:hover,
.nav-dropdown.is-open > .nav-dropdown-toggle,
.nav-dropdown:focus-within > .nav-dropdown-toggle {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
}
.nav-dropdown-toggle.active {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
}
.nav-chevron {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.15s ease;
  opacity: 0.7;
}
.nav-dropdown.is-open .nav-chevron,
.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
  transform: rotate(225deg) translateY(-1px);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 11.5rem;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 950;
  pointer-events: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-dropdown-menu a {
  display: block;
  width: 100%;
  color: var(--ink-soft);
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none !important;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.05);
  outline: none;
}
.nav-dropdown-menu a:focus-visible {
  outline: 2px solid var(--ocean);
  outline-offset: 1px;
}
@media (hover: none) {
  /* Rely on .is-open from tap; still allow focus-within for keyboard */
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-dropdown-menu,
  .nav-chevron {
    transition: none;
  }
}

#who-we-are {
  scroll-margin-top: calc(1.85rem + var(--nav-h) + 1rem);
}



.pro-badge, .badge-pro {
  display: inline-flex;
  align-items: center;
  background: var(--coral);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.12rem 0.4rem;
  border-radius: 980px;
  margin-left: 0.3rem;
  vertical-align: middle;
}
.pro-badge.lock::before { content: ""; }

/* ——— Layout ——— */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.page { padding: 3rem 0 5rem; background: var(--grey); min-height: 70vh; }
.page-header { margin-bottom: 2.5rem; }
.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.page-header p { color: var(--muted); font-size: 1.1rem; max-width: 36rem; }
.page-header-list { color: var(--muted); font-size: 1.1rem; max-width: 36rem; margin: 0.25rem 0 1rem; padding-left: 1.35rem; list-style: disc; }
.page-header-list li { margin: 0.2rem 0; padding-left: 0.15rem; }
.page-header-list li::marker { color: var(--muted); }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.6rem;
  border-radius: 980px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, opacity 0.15s;
  font-family: inherit;
  letter-spacing: -0.01em;
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--accent-grad);
  background-size: 140% 100%;
  background-position: 0% 50%;
  color: var(--white);
  border: none;
  box-shadow: var(--accent-glow);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.btn-primary:hover { background: var(--accent-grad); background-size: 140% 100%; background-position: 100% 50%; color: var(--white); box-shadow: 0 10px 30px rgba(225, 6, 0, 0.45); }
.btn-gold, .btn-accent {
  background: var(--accent-grad);
  color: var(--white);
  border: none;
}
.btn-gold:hover, .btn-accent:hover { opacity: 0.92; color: var(--white); }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-outline:hover { background: var(--grey); color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--grey); color: var(--ink); }
.btn-danger { background: var(--coral-deep); color: var(--white); }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.btn-lg { padding: 1rem 1.85rem; font-size: 1.05rem; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }

/* ——— Cards ——— */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: none;
  border: 1px solid var(--grey-mid);
  padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { box-shadow: var(--shadow); }
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ——— Reveal animations ——— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.reveal-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ========== LANDING: APPLE HERO ========== */
.hero {
  background: var(--white);
  color: var(--ink);
  padding: 4.5rem 0 3rem;
  position: relative;
  overflow: hidden;
  border-bottom: none;
}
.hero::before, .hero::after { display: none; }

.hero-showcase {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: none;
  margin-bottom: 1.25rem;
  border: none;
  padding: 0;
  box-shadow: none;
  background: linear-gradient(90deg, #9b0000, #c40000, #e10600, #ff2d00, #ff6a00, #ffb000, #ff6a00, #ff2d00, #e10600, #c40000, #9b0000);
  background-size: 220% 100%;
  animation: avt-wave 6s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1, .hero-showcase h1 {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  line-height: 1.02;
  margin-bottom: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.055em;
  color: var(--ink);
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 span, .gradient-text {
  background: linear-gradient(90deg, #9b0000, #c40000, #e10600, #ff2d00, #ff6a00, #ffb000, #ff6a00, #ff2d00, #e10600, #c40000, #9b0000);
  background-size: 200% 100%;
  animation: avt-wave 5s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--muted);
  margin: 0 auto 2rem;
  max-width: 34rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.45;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.hero-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 3.5rem;
}

/* Device / window mock of Hunt */
.device-frame {
  max-width: 880px;
  margin: 0 auto;
  border-radius: 18px;
  background: #d9d9de;
  padding: 12px 12px 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.14);
  text-align: left;
}
.device-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.35rem 10px;
}
.device-chrome .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a3a3c;
}
.device-chrome .dot:nth-child(1) { background: #ff5f57; }
.device-chrome .dot:nth-child(2) { background: #febc2e; }
.device-chrome .dot:nth-child(3) { background: #28c840; }
.device-chrome .title {
  flex: 1;
  text-align: center;
  color: #6e6e73;
  font-size: 0.7rem;
  font-weight: 500;
  margin-right: 2rem;
}
.device-screen {
  background: #fafafa;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 200px;
  min-height: 280px;
}
@media (max-width: 700px) {
  .device-screen { grid-template-columns: 1fr; }
  .device-side { display: none; }
}
.device-memo {
  padding: 1.25rem 1.4rem;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  line-height: 1.65;
  color: #333;
}
.device-memo .dm-label {
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.glow-err {
  background: rgba(255, 107, 107, 0.2);
  border-bottom: 2px solid var(--coral);
  border-radius: 3px;
  box-shadow: 0 0 16px rgba(255, 107, 107, 0.45);
  animation: glowPulse 2.4s ease-in-out infinite;
  padding: 0 0.1em;
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 107, 107, 0.35); }
  50% { box-shadow: 0 0 22px rgba(255, 107, 107, 0.65); }
}
.device-side {
  background: var(--white);
  border-left: 1px solid var(--grey-mid);
  padding: 1rem;
  font-family: var(--font);
  font-size: 0.72rem;
}
.device-side h4 {
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.device-side .chip {
  display: block;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--grey-mid);
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.device-side .chip.on {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* Sections */
.section {
  padding: 5.5rem 0;
  background: var(--white);
}
.section-alt { background: var(--grey); border: none; }
.section-dark {
  background: var(--black);
  color: var(--white);
  padding: 5.5rem 0;
}
.section-dark .section-title h2 { color: var(--white); }
.section-dark .section-title p { color: #a1a1a6; }
.section-dark .muted-on-dark { color: #a1a1a6; }

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.section-title p {
  color: var(--muted);
  max-width: 32rem;
  margin: 0 auto;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
}

/* Bento grid */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 1rem;
}
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
}
.bento-tile {
  background: var(--white);
  border-radius: 24px;
  padding: 1.75rem;
  border: 1px solid var(--grey-mid);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 160px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.section-alt .bento-tile { background: var(--white); }
.section-dark .bento-tile {
  background: #1d1d1f;
  border-color: #2c2c2e;
  color: var(--white);
}
.bento-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.bento-tile.wide { grid-column: span 2; }
.bento-tile.tall { grid-row: span 2; min-height: 280px; }
.bento-tile .bt-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ocean);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.section-dark .bento-tile .bt-kicker { color: #ffb000; }
.bento-tile h3 {
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}
.bento-tile p { color: var(--muted); font-size: 0.95rem; }
.section-dark .bento-tile p { color: #a1a1a6; }
.bento-stat {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.35rem;
}

.feature-icon {
  width: 44px; height: 44px;
  background: var(--grey);
  color: var(--ink);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
}
.feature-card p { color: var(--muted); font-size: 0.95rem; }

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 700px) {
  .audience-grid { grid-template-columns: 1fr; }
}
.audience-card {
  padding: 2.25rem;
  border-top: none;
  border-image: none;
  border-radius: 24px;
}
.audience-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.audience-card ul { list-style: none; margin-top: 1.25rem; }
.audience-card li {
  padding: 0.45rem 0 0.45rem 1.4rem;
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
}
.audience-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--ocean);
  font-weight: 700;
}

/* Pricing — 3 columns then wrap */
.pricing-grid, #pricing-grid.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 1000px) {
  .pricing-grid, #pricing-grid.pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pricing-grid, #pricing-grid.pricing-grid { grid-template-columns: 1fr; }
}
.price-card {
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  border-radius: 24px;
  background: var(--white);
}
.section-alt .price-card { background: var(--white); }
.price-card.featured {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.price-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 980px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-card h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.price-amount {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0.5rem 0 0.25rem;
}
.price-amount small {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.price-note {
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--grey);
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 980px;
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.price-limit {
  font-size: 0.75rem;
  color: var(--ocean-deep);
  background: var(--ocean-soft);
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 980px;
  margin-bottom: 1rem;
  font-weight: 600;
}
.price-card ul {
  list-style: none;
  text-align: left;
  margin: 1rem 0 1.25rem;
}
.price-card li {
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: var(--muted);
  border-bottom: 1px solid var(--grey-mid);
}
.price-card li:last-child { border-bottom: none; }

.placeholder-tag {
  display: inline-block;
  background: var(--grey);
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 0.25rem;
  vertical-align: middle;
}

/* Pro promo */
.pro-promo {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: 28px;
  padding: 3rem;
  box-shadow: none;
}
@media (max-width: 800px) {
  .pro-promo { grid-template-columns: 1fr; padding: 2rem; }
}
.pro-promo h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
  margin: 0.5rem 0 0.75rem;
  font-weight: 800;
  line-height: 1.1;
}
.pro-promo-visual {
  background: var(--grey);
  border-radius: 20px;
  padding: 1.5rem;
  border: none;
  font-size: 0.85rem;
  color: var(--muted);
}
.pro-promo-visual .fake-doc {
  background: var(--white);
  border-radius: 10px;
  padding: 0.85rem;
  margin-bottom: 0.5rem;
  border-left: 3px solid var(--coral);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 0.8rem;
}

.privacy-note {
  background: var(--grey);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  background: var(--black);
  color: #a1a1a6;
  padding: 3.5rem 0 1.75rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h4 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.site-footer a { color: #a1a1a6; }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #2c2c2e;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
}

/* ——— App pages (dashboard etc.) ——— */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 860px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
}
.stat-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.35rem;
  border: 1px solid var(--grey-mid);
}
.stat-card .label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.stat-card .value {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-top: 0.2rem;
}
.stat-card .sub {
  font-size: 0.8rem;
  color: var(--success);
  margin-top: 0.15rem;
}

.module-list { display: flex; flex-direction: column; gap: 0.85rem; }
.module-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
}
@media (max-width: 640px) {
  .module-item { grid-template-columns: 1fr; }
}
.module-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.05rem;
}
.module-num.done { background: var(--success); }
.module-num.locked { background: var(--grey-mid); color: var(--muted); }
.module-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}
.module-info p { color: var(--muted); font-size: 0.9rem; }
.module-meta { display: flex; gap: 0.5rem; margin-top: 0.5rem; flex-wrap: wrap; }
.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 980px;
  font-size: 0.72rem;
  font-weight: 600;
}
.badge-open { background: var(--info-bg); color: var(--info); }
.badge-done { background: var(--success-bg); color: var(--success); }
.badge-locked { background: var(--grey); color: var(--muted); }
.badge-cpd { background: #fff7ed; color: #c2410c; }

/* Exercise */
.exercise-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 960px) {
  .exercise-layout { grid-template-columns: 1fr; }
}
.memo-panel {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--grey-mid);
  overflow: hidden;
}
.memo-toolbar {
  background: var(--ink);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
}
.memo-body {
  padding: 2rem 2.25rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.75;
  color: #1e293b;
}
.memo-body .memo-letterhead {
  font-family: var(--font);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.memo-body .memo-letterhead h2 {
  font-size: 1.05rem;
  color: var(--ink);
  font-family: var(--font);
  margin-bottom: 0.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.memo-meta-line {
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.memo-body h3 {
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--ink);
  margin: 1.5rem 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.memo-body p { margin-bottom: 1rem; }

.claim {
  cursor: pointer;
  border-radius: 4px;
  padding: 0.05em 0.15em;
  transition: background 0.15s;
  border-bottom: 2px dotted transparent;
}
.claim:hover {
  background: rgba(8, 145, 178, 0.12);
  border-bottom-color: var(--ocean);
}
.claim.flagged {
  background: rgba(255, 107, 107, 0.15);
  border-bottom: 2px solid var(--coral);
  outline: 2px solid rgba(255, 107, 107, 0.25);
}
.claim.flagged.correct-flag {
  background: rgba(5, 150, 105, 0.12);
  border-bottom-color: var(--success);
  outline-color: rgba(5, 150, 105, 0.25);
}
.claim.missed {
  background: rgba(217, 119, 6, 0.12);
  border-bottom: 2px dashed var(--warning);
}
.claim.false-positive {
  background: rgba(225, 29, 72, 0.08);
  border-bottom: 2px solid var(--danger);
  text-decoration: line-through;
}

.sidebar-panel {
  position: sticky;
  top: 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.instruction-card ol {
  margin: 0.75rem 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.instruction-card li { margin-bottom: 0.4rem; }
.error-types { display: flex; flex-direction: column; gap: 0.35rem; }
.error-type-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid var(--grey-mid);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  font-size: 0.82rem;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.12s, background 0.12s, transform 0.1s;
  color: var(--ink);
  font-weight: 500;
}
.error-type-btn:hover {
  border-color: var(--ink);
  background: var(--grey);
}
.error-type-btn.selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}
.error-type-btn .etype-icon {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--grey);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--ink);
}
.error-type-btn.selected .etype-icon {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}
.flags-list { max-height: 200px; overflow-y: auto; }
.flag-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--grey-mid);
  font-size: 0.8rem;
}
.flag-item:last-child { border-bottom: none; }
.flag-item .flag-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.flag-item .flag-tag {
  font-size: 0.65rem;
  background: var(--danger-bg);
  color: var(--danger);
  padding: 0.15rem 0.4rem;
  border-radius: 980px;
  white-space: nowrap;
  font-weight: 600;
}
.flag-remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0 0.2rem;
}
.flag-remove:hover { color: var(--danger); }
.progress-bar-wrap {
  background: var(--grey-mid);
  border-radius: 980px;
  height: 6px;
  overflow: hidden;
  margin-top: 0.5rem;
}
.progress-bar {
  height: 100%;
  background: var(--accent-grad);
  border-radius: 980px;
  transition: width 0.3s;
  width: 0%;
}
.submit-area { display: flex; flex-direction: column; gap: 0.5rem; }

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: 24px;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.modal h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.modal p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }
.modal-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

/* Results */
.score-hero {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--black);
  color: var(--white);
  border-radius: 28px;
  margin-bottom: 2rem;
}
.score-circle {
  width: 140px; height: 140px;
  border-radius: 50%;
  border: 4px solid transparent;
  background:
    linear-gradient(#000, #000) padding-box,
    var(--accent-grad) border-box;
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
}
.score-circle .pct {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}
.score-circle .label {
  font-size: 0.7rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.score-hero h2 {
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.score-hero p { opacity: 0.75; max-width: 28rem; margin: 0 auto; }
.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 700px) {
  .breakdown-grid { grid-template-columns: 1fr; }
}
.breakdown-card { text-align: center; padding: 1.5rem; border-radius: 20px; }
.breakdown-card .num {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.breakdown-card .lbl { font-size: 0.85rem; color: var(--muted); }
.review-item {
  padding: 1.25rem;
  border-left: 4px solid var(--border);
  margin-bottom: 0.85rem;
  background: var(--white);
  border-radius: 0 16px 16px 0;
}
.review-item.hit { border-left-color: var(--success); }
.review-item.miss { border-left-color: var(--warning); }
.review-item.false { border-left-color: var(--danger); }
.review-item .review-status {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}
.review-item.hit .review-status { color: var(--success); }
.review-item.miss .review-status { color: var(--warning); }
.review-item.false .review-status { color: var(--danger); }
.review-item .claim-quote {
  font-family: var(--font-serif);
  font-style: italic;
  margin-bottom: 0.5rem;
}
.review-item .explanation { font-size: 0.9rem; color: var(--muted); }
.certificate {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: 28px;
  padding: 3rem;
  text-align: center;
  margin-top: 2rem;
  position: relative;
}
.certificate::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--grey-mid);
  border-radius: 18px;
  pointer-events: none;
}
.certificate h2 {
  font-family: var(--font);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin: 1rem 0 0.5rem;
}
.certificate .cert-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1rem 0;
  border-bottom: 2px solid var(--coral);
  display: inline-block;
  padding: 0 1rem 0.25rem;
}
.certificate .cert-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Admin */
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  height: 180px;
  padding: 1rem 0 0;
}
.chart-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}
.chart-bar {
  width: 100%;
  max-width: 48px;
  background: var(--accent-grad);
  border-radius: 8px 8px 0 0;
  min-height: 4px;
}
.chart-bar-label {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 0.4rem;
  text-align: center;
}
.chart-bar-val {
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.table-wrap { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.data th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--grey);
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1px solid var(--grey-mid);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
table.data td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--grey-mid);
}
table.data tr:hover td { background: #fafafa; }
.score-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 980px;
  font-weight: 700;
  font-size: 0.8rem;
}
.score-pill.high { background: var(--success-bg); color: var(--success); }
.score-pill.mid { background: var(--warning-bg); color: var(--warning); }
.score-pill.low { background: var(--danger-bg); color: var(--danger); }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-cloud span {
  background: var(--grey);
  color: var(--ink-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 980px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Builder */
.wizard-steps {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.wizard-step {
  flex: 1;
  min-width: 110px;
  text-align: center;
  padding: 0.7rem 0.5rem;
  border-radius: 980px;
  background: var(--white);
  border: 1.5px solid var(--grey-mid);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}
.wizard-step.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.wizard-step.done {
  background: var(--grey);
  border-color: var(--border);
  color: var(--ink);
}
.wizard-panel { display: none; }
.wizard-panel.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--grey);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--ink);
  background: var(--white);
}
.upload-zone .uz-icon { font-size: 2.25rem; margin-bottom: 0.75rem; }
.upload-zone h3 { font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.35rem; }
.type-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
@media (max-width: 560px) {
  .type-checks { grid-template-columns: 1fr; }
}
.type-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--grey-mid);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
}
.type-check:hover { border-color: var(--ink); }
.type-check input { accent-color: var(--ink); width: 16px; height: 16px; }
.type-check.checked {
  border-color: var(--ink);
  background: var(--grey);
}
.slider-row { margin: 1.25rem 0; }
.slider-row label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.slider-row input[type="range"] {
  width: 100%;
  accent-color: var(--ink);
  height: 6px;
}
.diff-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.diff-pill {
  padding: 0.5rem 1rem;
  border-radius: 980px;
  border: 1.5px solid var(--grey-mid);
  background: var(--white);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--muted);
}
.diff-pill.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.answer-key-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--grey-mid);
  border-radius: 14px;
  margin-bottom: 0.65rem;
  background: var(--white);
  border-left: 4px solid var(--etype, var(--coral));
  align-items: flex-start;
}
.answer-key-item .ak-type {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--etype-label, var(--coral-deep));
}
.answer-key-item .ak-text {
  font-size: 0.88rem;
  font-family: var(--font-serif);
  margin: 0.3rem 0;
}
.answer-key-item .ak-exp { font-size: 0.78rem; color: var(--muted); }
.answer-key-item .ak-main { flex: 1; min-width: 0; }
textarea.doc-paste, input.ex-title {
  width: 100%;
  border: 1.5px solid var(--grey-mid);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  background: var(--white);
  color: var(--ink);
}
textarea.doc-paste:focus, input.ex-title:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.gen-loading { text-align: center; padding: 3rem 1rem; }
.gen-loading .spinner {
  width: 44px; height: 44px;
  border: 3px solid var(--grey-mid);
  border-top-color: var(--ink);
  border-radius: 50%;
  margin: 0 auto 1rem;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.published-list .pub-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--grey-mid);
  flex-wrap: wrap;
}
.published-list .pub-item:last-child { border-bottom: none; }

/* Colour-coded review plants */
.review-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  padding: 0.75rem 1.1rem;
  background: var(--grey);
  border-bottom: 1px solid var(--grey-mid);
  font-size: 0.72rem;
  font-weight: 600;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.legend-item i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  border: 2px solid currentColor;
  display: inline-block;
}
.claim.review-plant.etype-fabricated,
.legend-item.etype-fabricated i,
.answer-key-item.etype-fabricated { --etype: #fb7185; --etype-bg: rgba(251,113,133,0.16); --etype-label: #be123c; }
.claim.review-plant.etype-wrong_cite,
.legend-item.etype-wrong_cite i,
.answer-key-item.etype-wrong_cite { --etype: #f59e0b; --etype-bg: rgba(245,158,11,0.18); --etype-label: #b45309; }
.claim.review-plant.etype-mischaracterised,
.legend-item.etype-mischaracterised i,
.answer-key-item.etype-mischaracterised { --etype: #a855f7; --etype-bg: rgba(168,85,247,0.16); --etype-label: #7e22ce; }
.claim.review-plant.etype-fake_quote,
.legend-item.etype-fake_quote i,
.answer-key-item.etype-fake_quote { --etype: #0ea5e9; --etype-bg: rgba(14,165,233,0.16); --etype-label: #0369a1; }
.claim.review-plant.etype-outdated,
.legend-item.etype-outdated i,
.answer-key-item.etype-outdated { --etype: #64748b; --etype-bg: rgba(100,116,139,0.18); --etype-label: #334155; }
.claim.review-plant.etype-jurisdiction,
.legend-item.etype-jurisdiction i,
.answer-key-item.etype-jurisdiction { --etype: #14b8a6; --etype-bg: rgba(20,184,166,0.18); --etype-label: #0f766e; }
.claim.review-plant.etype-overconfident,
.legend-item.etype-overconfident i,
.answer-key-item.etype-overconfident { --etype: #f97316; --etype-bg: rgba(249,115,22,0.18); --etype-label: #c2410c; }
.claim.review-plant {
  background: var(--etype-bg, rgba(251,113,133,0.12));
  border-bottom: 2px solid var(--etype, var(--coral));
  outline: 2px dashed color-mix(in srgb, var(--etype, var(--coral)) 45%, transparent);
  border-radius: 4px;
  padding: 0.1em 0.2em;
}
.legend-item i {
  background: var(--etype-bg, #fecdd3);
  border-color: var(--etype, #fb7185);
}
.btn-remove-compact {
  flex-shrink: 0;
  margin-top: 0.15rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: inherit;
  border-radius: 6px !important;
  border: 1px solid var(--grey-mid);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  line-height: 1.2;
  height: auto;
  width: auto;
}
.btn-remove-compact:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: var(--danger-bg);
}
.memo-source-header {
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--grey);
  border: 1px solid var(--grey-mid);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  white-space: pre-wrap;
  line-height: 1.5;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  display: none;
  font-size: 0.9rem;
  max-width: 320px;
}
.toast.show { display: block; animation: slideUp 0.25s ease; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.hidden { display: none !important; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }

/* Legacy hero-grid for non-landing pages */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.hero-card { display: none; }

/* University integrations */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .integrations-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .integrations-grid { grid-template-columns: 1fr; }
}
.integ-tile {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: 20px;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  min-height: 180px;
}
.integ-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.integ-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.integ-tile h3 {
  font-size: 1.1rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
}
.integ-tile p {
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 0.85rem;
}
.integ-tag {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--grey);
  color: var(--muted);
  padding: 0.2rem 0.55rem;
  border-radius: 980px;
}

/* Admin tabs */
.admin-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--grey-mid);
  padding-bottom: 0.5rem;
}
.admin-tab {
  appearance: none;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.55rem 1rem;
  border-radius: 980px;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: background 0.15s, color 0.15s;
}
.admin-tab:hover { background: var(--grey); color: var(--ink); }
.admin-tab.active {
  background: var(--ink);
  color: var(--white);
}
.admin-panel { display: none; }
.admin-panel.active { display: block; animation: fadeIn 0.3s ease; }

.integ-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: 18px;
  padding: 1.35rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.85rem;
}
@media (max-width: 640px) {
  .integ-card { grid-template-columns: 1fr; }
}
.integ-card h3 {
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}
.integ-card .integ-desc {
  font-size: 0.85rem;
  color: var(--muted);
}
.integ-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 650;
  margin-top: 0.5rem;
}
.integ-status .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #94a3b8;
}
.integ-status.connected .dot { background: var(--success); }
.integ-status.planned .dot { background: #f59e0b; }
.integ-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}
.toggle-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}
.toggle-row input { accent-color: var(--ink); width: 16px; height: 16px; }
.planned-banner {
  background: var(--grey);
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.audience-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1000px) {
  .audience-grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .audience-grid-4 { grid-template-columns: 1fr; }
}
.audience-path.hidden { display: none !important; }

/* ——— Legal pages (Terms / Privacy) ——— */
.legal-draft-banner {
  background: #fff7ed;
  color: #9a3412;
  border-bottom: 1px solid #fed7aa;
  text-align: center;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: sticky;
  top: 1.85rem;
  z-index: 950;
}
.legal-draft-banner strong { font-weight: 700; color: #7c2d12; }
.legal-toggle-highlights {
  appearance: none;
  border: 1px solid #fdba74;
  background: #fff;
  color: #9a3412;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 980px;
  cursor: pointer;
}
.legal-toggle-highlights:hover { background: #ffedd5; }

body.legal-page .site-nav { top: calc(1.85rem + 2.4rem); }
body.legal-page .demo-banner { z-index: 1000; }

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 2.5rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  align-items: start;
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-sidebar { position: static !important; max-height: none; }
}

.legal-sidebar {
  position: sticky;
  top: calc(1.85rem + 2.4rem + var(--nav-h) + 0.75rem);
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
  padding-right: 0.5rem;
}
.legal-toc h2 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.legal-toc ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.legal-toc a {
  display: inline;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none !important;
  line-height: 1.35;
}
.legal-toc a:hover { color: var(--ocean-deep); }
.legal-toc li {
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  line-height: 1.35;
}
.legal-toc li:hover { background: var(--grey); }
.toc-badge {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #9a3412;
  background: #ffedd5;
  border: 1px solid #fed7aa;
  padding: 0.1rem 0.4rem;
  border-radius: 980px;
  vertical-align: middle;
  white-space: nowrap;
}
body:not(.legal-review) .toc-badge { display: none; }

.legal-doc {
  max-width: 760px;
  min-width: 0;
}
.legal-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--grey-mid);
}
.legal-eyebrow {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin-bottom: 0.65rem;
}
.legal-meta {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.legal-summary {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 2rem;
}
.legal-summary-head {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.75rem;
}
.legal-summary-head strong {
  font-size: 1rem;
  font-weight: 800;
  color: #92400e;
  letter-spacing: -0.02em;
}
.legal-summary-head span {
  font-size: 0.8rem;
  color: #a16207;
}
.legal-summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.35rem;
}
.legal-summary-list a {
  font-size: 0.85rem;
  font-weight: 650;
  color: #9a3412;
  text-decoration: none !important;
}
.legal-summary-list a:hover { text-decoration: underline !important; }
.legal-summary-snip {
  display: block;
  font-size: 0.75rem;
  color: #78716c;
  font-weight: 400;
  margin-top: 0.1rem;
  line-height: 1.4;
}
body:not(.legal-review) .legal-summary,
body:not(.legal-review) .legal-draft-banner { display: none; }
body:not(.legal-review).legal-page .site-nav { top: 1.85rem; }
body:not(.legal-review) .legal-sidebar {
  top: calc(1.85rem + var(--nav-h) + 0.75rem);
}

.legal-body {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink);
  letter-spacing: -0.011em;
}
.legal-body > blockquote,
.legal-body blockquote {
  background: var(--grey);
  border-left: 4px solid var(--ink);
  padding: 0.85rem 1.1rem;
  border-radius: 0 12px 12px 0;
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.legal-body h2 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 2.25rem 0 0.85rem;
  padding-top: 0.5rem;
  scroll-margin-top: 8rem;
  line-height: 1.25;
}
.legal-body h3 {
  font-size: 1.1rem;
  font-weight: 750;
  margin: 1.5rem 0 0.6rem;
  letter-spacing: -0.025em;
  scroll-margin-top: 8rem;
}
.legal-body p { margin-bottom: 0.9rem; }
.legal-body ul, .legal-body ol {
  margin: 0 0 1rem 1.25rem;
}
.legal-body li { margin-bottom: 0.4rem; }
.legal-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.45;
}
.legal-body th, .legal-body td {
  border: 1px solid var(--grey-mid);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}
.legal-body th {
  background: var(--grey);
  font-weight: 700;
  font-size: 0.8rem;
}
.legal-body hr {
  border: none;
  border-top: 1px solid var(--grey-mid);
  margin: 2rem 0;
}
.legal-body strong { font-weight: 700; }

/* Highlighting — only when body.legal-review */
.legal-callout {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-left: 4px solid var(--coral);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  margin: 1.1rem 0 1.35rem;
  scroll-margin-top: 8rem;
}
.legal-callout-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #be123c;
  margin-bottom: 0.35rem;
}
.legal-callout p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #881337;
}
mark.legal-placeholder {
  background: #fef08a;
  color: inherit;
  padding: 0.05em 0.2em;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
mark.legal-company {
  background: #fde68a;
  outline: 1px dashed #d97706;
  outline-offset: 1px;
}
body:not(.legal-review) .legal-callout {
  display: none;
}
body:not(.legal-review) mark.legal-placeholder {
  background: transparent;
  padding: 0;
  outline: none;
  color: inherit;
}

.legal-agree {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.85rem;
  line-height: 1.45;
}
.legal-agree a { font-weight: 600; }

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0.15rem;
}
.footer-legal-links a:hover { color: #fff; }

.nav-links a.active {
  background: var(--grey);
  color: var(--ink);
}

/* Animated colour wave (hero word + primary buttons) */
@keyframes avt-wave { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
.btn-primary, .nav-cta {
  background-image: linear-gradient(90deg, #9b0000, #c40000, #e10600, #ff2d00, #ff6a00, #ffb000, #ff6a00, #ff2d00, #e10600, #c40000, #9b0000) !important;
  background-size: 200% 100% !important;
  animation: avt-wave 8s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 span, .gradient-text, .hero-eyebrow, .btn-primary, .nav-cta { animation: none; }
}

/* ——— About page ——— */
.about-grid{display:grid;grid-template-columns:280px 1fr;gap:3rem;align-items:start}
.about-photo{aspect-ratio:4/5;border-radius:var(--radius);background:var(--accent-grad);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;box-shadow:var(--accent-glow)}
.about-photo span{font-size:4rem;font-weight:700;letter-spacing:-0.02em}
.about-photo small{opacity:.85;margin-top:.5rem}
.about-copy h2{font-size:2.2rem;margin-bottom:.25rem}
.about-role{font-weight:600;background:var(--accent-grad);-webkit-background-clip:text;background-clip:text;color:transparent;margin-bottom:1.25rem}
.about-copy p{margin-bottom:1rem;line-height:1.7}
.about-cta{text-align:center;max-width:760px;margin:0 auto}
.about-cta .hero-actions{justify-content:center}
@media (max-width:760px){.about-grid{grid-template-columns:1fr}.about-photo{max-width:240px}}


/* Launch: schools / coming-later pricing */
.price-card-later {
  opacity: 0.72;
  border-style: dashed;
}
.price-badge-later {
  background: #fef3c7 !important;
  color: #92400e !important;
}

/* ——— Brand logo entrance (C2 morph mark) ——— */
.brand-mark {
  position: relative;
}
.brand-mark .brand-logo {
  width: 28px;
  height: 28px;
  display: block;
  overflow: visible;
}
.brand-mark .logo-stroke {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-mark .logo-stroke-a { stroke-width: 7.6; }
.brand-mark .logo-stroke-b { stroke-width: 6.8; }
.brand-mark .logo-morph {
  transform-box: fill-box;
  transform-origin: 20% 70%;
}
.brand-mark .logo-tick {
  fill: #000;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes brand-morph-in {
  0%   { opacity: 0; transform: scale(0.55, 0.4) translate(-4px, 6px); filter: blur(1.5px); }
  35%  { opacity: 0; }
  55%  { opacity: 1; filter: blur(0); }
  78%  { transform: scale(1.04, 1.02) translate(0, 0); }
  100% { opacity: 1; transform: scale(1) translate(0, 0); filter: none; }
}
@keyframes brand-tick-in {
  0%, 48% { opacity: 0; transform: scale(0.2); }
  68%     { opacity: 1; transform: scale(1.15); }
  100%    { opacity: 1; transform: scale(1); }
}
@keyframes brand-mark-settle {
  0%   { transform: scale(0.92); opacity: 0.85; }
  55%  { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes brand-word-in {
  0%   { opacity: 0; transform: translateX(-4px); }
  100% { opacity: 1; transform: translateX(0); }
}

.brand-mark.brand-enter .logo-morph {
  opacity: 0;
  animation: brand-morph-in 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}
.brand-mark.brand-enter .logo-tick {
  opacity: 0;
  animation: brand-tick-in 1.55s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}
.brand-mark.brand-enter {
  animation: brand-mark-settle 1.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.brand.brand-enter-active [data-avt-name] {
  animation: brand-word-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

@keyframes brand-nav-pulse {
  0%   { transform: scale(1); filter: brightness(1); }
  40%  { transform: scale(1.08); filter: brightness(1.08); }
  100% { transform: scale(1); filter: brightness(1); }
}
.brand-mark.brand-pulse {
  animation: brand-nav-pulse 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark.brand-enter,
  .brand-mark.brand-enter .logo-morph,
  .brand-mark.brand-enter .logo-tick,
  .brand-mark.brand-pulse,
  .brand.brand-enter-active [data-avt-name] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ——— Learn track ——— */
.learn-loop-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 1.15rem 1.35rem;
}
.learn-loop-step {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  flex: 1 1 140px;
  min-width: 140px;
}
.learn-loop-step p { margin: 0.15rem 0 0; font-size: 0.85rem; }
.learn-loop-n {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 750;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.learn-loop-arrow {
  color: var(--muted);
  font-weight: 700;
  opacity: 0.55;
}
.learn-progress-card { padding: 1.25rem 1.35rem; }
.learn-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.learn-progress-pct {
  font-size: 1.75rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.learn-progress-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}
.learn-type-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.learn-type-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  border: 1px solid var(--grey-mid);
}
.learn-type-card:hover {
  text-decoration: none;
  box-shadow: var(--shadow);
  border-color: var(--border);
  transform: translateY(-1px);
}
.learn-type-card.is-done { border-color: rgba(5, 150, 105, 0.35); }
.learn-type-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 750;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.learn-type-num.done { background: var(--success); }
.learn-type-body { flex: 1; min-width: 0; }
.learn-type-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 0.35rem;
}
.learn-type-body h3 {
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}
.learn-type-blurb {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0;
}
.learn-type-go {
  color: var(--muted);
  font-size: 1.25rem;
  font-weight: 700;
  align-self: center;
}
.learn-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 6px;
  background: var(--grey);
  font-size: 0.75rem;
  font-weight: 750;
  color: var(--ink);
}
.learn-opener-blurb {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 42rem;
  margin: 0.5rem 0 0.75rem;
  line-height: 1.45;
}
.learn-hook p { color: var(--ink-soft); line-height: 1.55; }
.learn-snippet-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.learn-snippet-body {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
}
.learn-snippet-note {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  border-top: 1px solid var(--grey-mid);
  padding-top: 0.75rem;
}
.learn-mark {
  border-radius: 4px;
  padding: 0.05em 0.2em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.learn-mark-fabricated { background: rgba(251, 113, 133, 0.28); box-shadow: inset 0 -2px 0 #fb7185; }
.learn-mark-fake_quote { background: rgba(14, 165, 233, 0.22); box-shadow: inset 0 -2px 0 #0ea5e9; }
.learn-mark-wrong_cite { background: rgba(245, 158, 11, 0.25); box-shadow: inset 0 -2px 0 #f59e0b; }
.learn-mark-jurisdiction { background: rgba(20, 184, 166, 0.22); box-shadow: inset 0 -2px 0 #14b8a6; }
.learn-mark-mischaracterised { background: rgba(168, 85, 247, 0.2); box-shadow: inset 0 -2px 0 #a855f7; }
.learn-mark-outdated { background: rgba(100, 116, 139, 0.22); box-shadow: inset 0 -2px 0 #64748b; }
.learn-mark-overconfident { background: rgba(249, 115, 22, 0.22); box-shadow: inset 0 -2px 0 #f97316; }
.learn-checklist {
  margin: 0 0 0 1.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.learn-checklist li { margin-bottom: 0.45rem; }
.learn-spots { display: flex; flex-direction: column; gap: 0.85rem; }
.learn-spot-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.65rem;
}
.learn-spot-passage {
  margin: 0 0 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--grey);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--border);
  font-family: var(--font-serif);
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink);
}
.learn-spot-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.learn-spot-reveal {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--grey);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.learn-reveal-verdict { font-weight: 750; margin-bottom: 0.35rem; color: var(--ink); }
.learn-reveal-verdict.ok { color: var(--success); }
.learn-reveal-verdict.bad { color: var(--danger); }
.learn-complete-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
}
.learn-complete-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.learn-banner {
  background: var(--info-bg);
  border: 1px solid #bae6fd;
  color: #0c4a6e;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.95rem;
}
.learn-banner a { font-weight: 650; }
.mistakes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
}
.mistake-card {
  padding: 1.1rem 1.15rem;
  min-height: auto;
  justify-content: flex-start;
}
.mistake-card h3 {
  font-size: 1rem;
  font-weight: 750;
  margin: 0.35rem 0 0.4rem;
  letter-spacing: -0.02em;
}
.mistake-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 800px) {
  .how-steps { grid-template-columns: 1fr; }
  .learn-loop-arrow { display: none; }
}
.how-step-card {
  padding: 1.35rem 1.4rem;
  min-height: auto;
}
.how-step-card .how-n {
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 0.4rem;
}
.how-step-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}
.how-step-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.85rem; }
.hunt-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 0.75rem;
}
.hunt-lib-card.locked { opacity: 0.72; }
.hunt-lib-card h3 { font-size: 1rem; font-weight: 750; margin-bottom: 0.35rem; }
.hunt-lib-card p { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.65rem; }
.review-lesson-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 650;
}

/* ——— Document Check ——— */
.check-textarea {
  width: 100%;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  line-height: 1.55;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--grey);
  color: var(--ink);
  resize: vertical;
  min-height: 16rem;
}
.check-textarea:focus {
  outline: 3px solid var(--ocean);
  outline-offset: 2px;
  background: var(--white);
}
.check-run-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.check-results-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 900px) {
  .check-results-grid { grid-template-columns: 1fr; }
}
.check-annotated-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.65rem;
}
.check-annotated-body {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.55;
  white-space: pre-wrap;
  color: var(--ink);
}
.check-mark {
  border-radius: 3px;
  padding: 0.05em 0.15em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.check-mark-fabricated { background: rgba(251, 113, 133, 0.28); box-shadow: inset 0 -2px 0 #fb7185; }
.check-mark-fake_quote { background: rgba(14, 165, 233, 0.22); box-shadow: inset 0 -2px 0 #0ea5e9; }
.check-mark-wrong_cite { background: rgba(245, 158, 11, 0.25); box-shadow: inset 0 -2px 0 #f59e0b; }
.check-mark-jurisdiction { background: rgba(20, 184, 166, 0.22); box-shadow: inset 0 -2px 0 #14b8a6; }
.check-mark-mischaracterised { background: rgba(168, 85, 247, 0.2); box-shadow: inset 0 -2px 0 #a855f7; }
.check-mark-outdated { background: rgba(100, 116, 139, 0.22); box-shadow: inset 0 -2px 0 #64748b; }
.check-mark-overconfident { background: rgba(249, 115, 22, 0.22); box-shadow: inset 0 -2px 0 #f97316; }
.check-findings-list { display: flex; flex-direction: column; gap: 0.75rem; }
.check-finding-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  margin-bottom: 0.65rem;
}
.check-finding-num {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.check-type-chip {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--grey);
}
.check-finding-passage {
  margin: 0 0 0.65rem;
  padding: 0.7rem 0.85rem;
  background: var(--grey);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--border);
  font-family: var(--font-serif);
  font-size: 0.92rem;
  line-height: 1.45;
}
.check-finding-why { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }
.check-finding-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.how-steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) {
  .how-steps-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .how-steps-4 { grid-template-columns: 1fr; }
}

/* ——— Billing / subscribe demo ——— */
.billing-interval-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0.85rem 0 0.25rem;
}
.billing-interval-option {
  cursor: pointer;
  margin: 0;
}
.billing-interval-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.billing-interval-card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border: 1.5px solid var(--grey-mid);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  background: var(--white);
  transition: border-color 0.12s, box-shadow 0.12s, background 0.12s;
}
.billing-interval-option input:checked + .billing-interval-card {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
  background: var(--grey);
}
.billing-interval-card strong {
  font-size: 0.85rem;
  font-weight: 750;
}
.billing-interval-price {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.billing-interval-hint {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 550;
}

.billing-wrap { max-width: 960px; }
.billing-demo-banner {
  background: var(--warning-bg);
  border: 1px solid #fcd34d;
  color: #92400e;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.billing-demo-banner strong { color: #78350f; }
.billing-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.25rem;
  align-items: start;
}
.billing-account-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 800px) {
  .billing-layout,
  .billing-account-grid { grid-template-columns: 1fr; }
}
.billing-summary h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.billing-feature-list {
  list-style: none;
  margin: 1rem 0;
  font-size: 0.92rem;
}
.billing-feature-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--grey-mid);
  padding-left: 1.25rem;
  position: relative;
}
.billing-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.billing-renew-box {
  background: var(--grey);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-top: 1rem;
}
.billing-renew-box h3 {
  font-size: 0.85rem;
  font-weight: 750;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.billing-renew-box p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.billing-next-charge {
  font-size: 0.88rem !important;
  color: var(--ink) !important;
  margin-bottom: 0 !important;
}
.billing-form-card h2 { color: var(--ink); }
.form-row { margin-bottom: 0.9rem; }
.form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
}
.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.billing-input {
  width: 100%;
  border: 1.5px solid var(--grey-mid);
  border-radius: 12px;
  padding: 0.7rem 0.95rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}
.billing-input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.form-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.3rem;
}
.form-error {
  color: var(--danger);
  font-size: 0.88rem;
  margin-top: 0.5rem;
}
.billing-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 0.5rem;
  cursor: pointer;
}
.billing-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}
.billing-success-card {
  grid-column: 2;
  text-align: center;
  padding: 2.5rem 2rem;
}
@media (max-width: 800px) {
  .billing-success-card { grid-column: 1; }
}
.billing-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}
.billing-success-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.billing-dl {
  text-align: left;
  margin: 1.25rem auto 0;
  max-width: 22rem;
}
.billing-dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--grey-mid);
  font-size: 0.9rem;
}
.billing-dl dt { color: var(--muted); font-weight: 500; }
.billing-dl dd { font-weight: 650; text-align: right; }
.billing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.badge-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--grey);
  color: var(--ink-soft);
}
.badge-status.trial {
  background: var(--info-bg);
  color: var(--info);
}
.badge-status.active {
  background: var(--success-bg);
  color: var(--success);
}
.badge-status.cancelled {
  background: var(--danger-bg);
  color: var(--danger);
}
.text-center { text-align: center; }

/* ——— Billing: order summary, free trial & discount codes (demo) ——— */
.billing-wrap [hidden] { display: none !important; }
.billing-totals {
  margin-top: 1.25rem;
  border: 1px solid var(--grey-mid);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: var(--white);
}
.billing-totals h3 {
  font-size: 0.85rem;
  font-weight: 750;
  margin-bottom: 0.5rem;
}
.billing-totals-dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.35rem 0;
  font-size: 0.88rem;
}
.billing-totals-dl dt { color: var(--muted); font-weight: 500; }
.billing-totals-dl dd { font-weight: 650; text-align: right; margin: 0; }
.billing-totals-discount dd { color: var(--success); }
.billing-totals-strong { border-top: 1px solid var(--grey-mid); margin-top: 0.25rem; }
.billing-totals-strong dt { color: var(--ink-soft); font-weight: 600; }
.billing-totals-due dt { color: var(--ink); font-weight: 750; }
.billing-totals-due dd { font-size: 1.05rem; font-weight: 800; }
.billing-code-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--success-bg);
  color: var(--success);
  margin-left: 0.25rem;
}
.form-optional { font-weight: 500; color: var(--muted); }
.billing-discount-entry {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.billing-discount-entry .billing-input { flex: 1; text-transform: uppercase; }
.billing-discount-entry .billing-input::placeholder { text-transform: none; }
.billing-discount-entry .btn { flex-shrink: 0; }
.billing-discount-applied {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1.5px solid var(--success);
  background: var(--success-bg);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  color: var(--ink);
}
.billing-discount-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: var(--success);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}
.billing-discount-text { flex: 1; }
.billing-discount-remove {
  background: none;
  border: none;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.2rem 0.3rem;
}
.billing-discount-remove:hover { color: var(--danger); }
.billing-discount-msg {
  font-size: 0.85rem;
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
}
.billing-discount-msg:empty { display: none; }
.billing-discount-msg.is-error { color: var(--danger); }
.billing-input[aria-invalid="true"] { border-color: var(--danger); }
.billing-card-optional .billing-input { background: var(--grey); }

/* ========================================================================
   ——— Learn games ———
   Spot the Difference · Real or Fake? · Overconfidence Meter · Be the AI
   + Learn hub game cards + homepage "Learn by playing" strip
   ======================================================================== */

/* Type chips (colours match learn-mark palette) */
.game-type-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.5rem;
  border-radius: 980px;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0;
  white-space: nowrap;
  border: 1px solid transparent;
  background: var(--grey);
  color: var(--ink-soft);
}
.game-type-chip.gt-fabricated { background: rgba(251, 113, 133, 0.14); color: #be123c; border-color: rgba(251, 113, 133, 0.4); }
.game-type-chip.gt-wrong_cite { background: rgba(245, 158, 11, 0.14); color: #b45309; border-color: rgba(245, 158, 11, 0.4); }
.game-type-chip.gt-mischaracterised { background: rgba(168, 85, 247, 0.12); color: #7e22ce; border-color: rgba(168, 85, 247, 0.35); }
.game-type-chip.gt-fake_quote { background: rgba(14, 165, 233, 0.12); color: #0369a1; border-color: rgba(14, 165, 233, 0.35); }
.game-type-chip.gt-outdated { background: rgba(100, 116, 139, 0.14); color: #334155; border-color: rgba(100, 116, 139, 0.35); }
.game-type-chip.gt-jurisdiction { background: rgba(20, 184, 166, 0.12); color: #0f766e; border-color: rgba(20, 184, 166, 0.35); }
.game-type-chip.gt-overconfident { background: rgba(249, 115, 22, 0.13); color: #c2410c; border-color: rgba(249, 115, 22, 0.38); }
.game-type-chip.gt-clean { background: var(--danger-bg); color: var(--danger); border-color: rgba(225, 29, 72, 0.25); }

/* Gradient icon tile — Fire brand */
.game-card-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: var(--accent-grad);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: var(--accent-glow);
  flex-shrink: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Learn hub — Games section */
.learn-games-section { margin-top: 3rem; scroll-margin-top: calc(1.85rem + var(--nav-h) + 1rem); }
.learn-games-title { text-align: left; margin-bottom: 1.25rem; }
.learn-games-title h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.learn-games-title p { margin: 0; max-width: 40rem; font-size: 1rem; }
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 760px) { .game-grid { grid-template-columns: 1fr; } }
.game-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.35rem 1.4rem;
  color: inherit;
  text-decoration: none !important;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.game-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--border); }
.game-card:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; }
.game-card.is-played { border-color: rgba(5, 150, 105, 0.35); }
.game-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.25rem; }
.game-card h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; }
.game-card-hook { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.45; }
.game-card-meta { color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.game-card-types { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.15rem; }
.game-card-go { margin-top: auto; padding-top: 0.5rem; font-weight: 700; font-size: 0.9rem; color: var(--ocean); }

/* Homepage strip */
.games-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 960px) { .games-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .games-strip { grid-template-columns: 1fr; } }
.games-strip-tile {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: 24px;
  color: var(--ink);
  text-decoration: none !important;
  transition: transform 0.25s, box-shadow 0.25s;
}
.games-strip-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.games-strip-tile .game-card-icon { margin-bottom: 0.35rem; }
.games-strip-tile h3 { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.03em; }
.games-strip-tile p { color: var(--muted); font-size: 0.92rem; line-height: 1.4; }
.games-strip-meta { margin-top: auto; font-size: 0.75rem; font-weight: 700; color: var(--ocean); text-transform: uppercase; letter-spacing: 0.06em; }

/* Game page chrome */
.game-crumbs { font-size: 0.82rem; color: var(--muted); margin-bottom: 1rem; }
.game-crumbs a { color: var(--ink-soft); font-weight: 600; }
.game-header { margin-bottom: 1.25rem; }
.game-header p { max-width: 44rem; }
.game-header-types { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; margin-top: 0.85rem; }
.game-header-types-label { font-size: 0.78rem; font-weight: 700; color: var(--muted); margin-right: 0.2rem; }
.game-fiction-note {
  background: var(--white);
  border: 1px solid transparent;
  border-left-width: 4px;
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--accent-grad) border-box;
  padding: 0.7rem 1rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  border-radius: 12px;
}
.game-root { min-height: 320px; }
.game-root kbd, .game-hint kbd, .bai-help kbd {
  display: inline-block;
  min-width: 1.5em;
  padding: 0.05em 0.4em;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--white);
  font-family: var(--font);
  font-size: 0.8em;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
}
.game-hud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.75rem;
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.1rem;
  position: relative;
}
.game-stat { display: flex; flex-direction: column; line-height: 1.2; }
.game-stat span { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.game-stat strong { font-size: 1.2rem; font-weight: 850; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.game-hud-bar { flex: 1 1 160px; margin-top: 0; }
.game-round-title { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.85rem; }
.game-round-title:focus { outline: none; }
.game-hint { font-size: 0.86rem; color: var(--muted); margin: 0.85rem 0 0; line-height: 1.6; }
.game-hint-kbd { white-space: nowrap; }
@media (max-width: 600px) { .game-hint-kbd { display: none; } }
.game-actionbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1rem;
}
.game-actionbar > .text-muted { margin-right: auto; font-size: 0.88rem; }

/* End screen */
.game-end { text-align: center; padding: 2.25rem 1.75rem; max-width: 760px; margin: 0 auto; }
.game-end:focus { outline: none; }
.game-end-mark { display: block; margin: 0 auto 0.75rem; }
.game-end h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 850; letter-spacing: -0.04em; }
.game-end-score {
  font-size: clamp(3rem, 9vw, 4.75rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.05;
  margin: 0.4rem 0 0.25rem;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.game-end-label { color: var(--ink-soft); font-weight: 600; margin-bottom: 1rem; }
.game-end-lines { list-style: none; text-align: left; max-width: 34rem; margin: 0 auto 1rem; color: var(--ink-soft); font-size: 0.94rem; }
.game-end-lines li { padding: 0.45rem 0 0.45rem 1.4rem; border-top: 1px solid var(--grey-mid); position: relative; }
.game-end-lines li::before { content: "✓"; position: absolute; left: 0; color: #000; font-weight: 800; }
.game-end-review { background: var(--grey); border-radius: 12px; padding: 0.75rem 1rem; font-size: 0.9rem; max-width: 34rem; margin: 0 auto 1rem; text-align: left; }
.game-end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 1.25rem; }
.game-end-fiction { margin-top: 1.25rem; font-size: 0.78rem; color: var(--muted); }

/* ——— 1. Spot the Difference ——— */
.sd-panes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 820px) { .sd-panes { grid-template-columns: 1fr; } }
.sd-pane {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem 1.4rem;
}
.sd-pane-ai { border-color: rgba(225, 6, 0, 0.28); box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.07); }
.sd-pane-label { display: flex; align-items: center; gap: 0.45rem; font-size: 0.72rem; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink); }
.sd-pane-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--ink); }
.sd-pane-dot.ai { background: var(--accent-grad); }
.sd-pane-cite { font-size: 0.8rem; color: var(--muted); margin: 0.3rem 0 0.85rem; }
.sd-text { font-family: var(--font-serif); font-size: 1.06rem; line-height: 1.85; color: var(--ink); }
.sd-word {
  cursor: pointer;
  border-radius: 4px;
  padding: 0.05em 0.08em;
  transition: background 0.12s, box-shadow 0.12s;
  -webkit-tap-highlight-color: transparent;
}
.sd-word:hover { background: rgba(255, 106, 0, 0.12); }
.sd-word:focus-visible { outline: 2px solid var(--ocean); outline-offset: 1px; }
.sd-word.is-marked { background: rgba(255, 45, 0, 0.16); box-shadow: inset 0 -2px 0 var(--ocean); }
.sd-ai.is-locked .sd-word { cursor: default; }
.sd-ai.is-locked .sd-word:hover { background: none; }
.sd-ai.is-locked .sd-word.learn-mark:hover { background: inherit; }
.sd-word.sd-found { font-weight: 650; }
.sd-word.sd-missed { outline: 1.5px dashed var(--warning); outline-offset: 1px; }
.sd-word.sd-fp { background: var(--danger-bg); color: var(--danger); text-decoration: line-through; box-shadow: none; }
.sd-src-empty::after {
  content: "∧ not in source";
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  color: #be123c;
  vertical-align: super;
  margin-left: 0.15rem;
  display: none;
}
.sd-src-empty.learn-mark { background: none; box-shadow: none; padding: 0; }
.sd-src-empty.learn-mark::after { display: inline; }
.sd-reveal { margin-top: 1.1rem; }
.sd-reveal-card h3 { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.85rem; }
.sd-reveal-card h3:focus { outline: none; }
.sd-round-pts { color: var(--success); font-weight: 850; margin-left: 0.35rem; }
.sd-diff-list, .bai-results { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.sd-diff-item, .bai-res {
  border: 1px solid var(--grey-mid);
  border-left: 4px solid var(--success);
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  text-align: left;
  background: var(--white);
}
.sd-diff-item.is-missed, .bai-res.is-miss { border-left-color: var(--warning); }
.bai-res.is-hit_wrong_type { border-left-color: #f59e0b; }
.bai-res.is-fp { border-left-color: var(--danger); }
.sd-diff-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.sd-diff-status { font-size: 0.8rem; font-weight: 750; color: var(--ink-soft); }
.sd-diff-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 1rem; font-size: 0.9rem; font-family: var(--font-serif); color: var(--ink); }
.sd-diff-compare strong { font-family: var(--font); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-right: 0.2rem; }
@media (max-width: 640px) { .sd-diff-compare { grid-template-columns: 1fr; } }
.sd-diff-why { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.35rem; }

/* ——— 2. Real or Fake? ——— */
.rof-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.25rem; align-items: start; }
@media (max-width: 960px) { .rof-layout { grid-template-columns: 1fr; } .rof-pack { order: -1; } }
.rof-pack { padding: 1.25rem 1.3rem; position: sticky; top: 5.5rem; }
@media (max-width: 960px) { .rof-pack { position: static; } }
.rof-pack h2 { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; }
.rof-pack-details > summary { list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; cursor: pointer; margin-bottom: 0.4rem; }
.rof-pack-details > summary::-webkit-details-marker { display: none; }
.rof-pack-details > summary::after { content: ""; width: 0.5rem; height: 0.5rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); align-self: center; flex-shrink: 0; }
.rof-pack-details[open] > summary::after { transform: rotate(225deg); }
.rof-pack-details > summary:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; border-radius: 6px; }
.rof-pack-count { font-size: 0.75rem; font-weight: 700; color: var(--muted); margin-left: auto; }
.rof-pack-intro { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.75rem; }
.rof-pack-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.rof-pack-list li { border-top: 1px solid var(--grey-mid); padding-top: 0.6rem; }
.rof-pack-cite { display: block; font-family: var(--font-serif); font-size: 0.9rem; font-style: italic; }
.rof-pack-court { display: block; font-size: 0.72rem; font-weight: 700; color: var(--ocean); text-transform: uppercase; letter-spacing: 0.05em; margin: 0.1rem 0 0.2rem; }
.rof-pack-list p { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.45; }
.rof-start h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.rof-start > p { color: var(--ink-soft); }
.rof-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.1rem; }
@media (max-width: 560px) { .rof-modes { grid-template-columns: 1fr; } }
.rof-mode {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
  padding: 1.1rem 1.2rem;
  border: 2px solid var(--grey-mid);
  border-radius: 18px;
  background: var(--white);
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.rof-mode strong { font-size: 1.05rem; font-weight: 800; }
.rof-mode span { font-size: 0.85rem; color: var(--muted); }
.rof-mode:hover { border-color: var(--ocean); box-shadow: var(--accent-glow); transform: translateY(-2px); }
.rof-timebar-wrap { height: 6px; background: var(--grey-mid); border-radius: 980px; overflow: hidden; margin: -0.5rem 0 1rem; }
.rof-timebar { height: 100%; width: 100%; background: var(--accent-grad); transition: width 0.2s linear; }
.rof-stage { display: flex; justify-content: center; padding: 0.75rem 1rem 1.75rem; margin: -0.75rem -1rem -1.25rem; overflow: hidden; }
.rof-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-height: 210px;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: 24px;
  padding: 1.6rem 1.75rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s, box-shadow 0.2s;
}
.rof-card:focus { outline: none; }
.rof-card:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; }
.rof-card.is-dragging { transition: none; cursor: grabbing; }
.rof-card.drag-real, .rof-card.chose-real.is-answered { border-color: var(--success); }
.rof-card.drag-fake, .rof-card.chose-fake.is-answered { border-color: var(--danger); }
.rof-card.is-answered { cursor: default; }
.rof-card.is-correct { box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15), 0 14px 40px rgba(0, 0, 0, 0.06); }
.rof-card.is-wrong { box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.14), 0 14px 40px rgba(0, 0, 0, 0.06); animation: rof-shake 0.35s ease; }
@keyframes rof-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.rof-kind { align-self: flex-start; font-size: 0.7rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--ink); padding: 0.2rem 0.6rem; border-radius: 980px; }
.rof-text { font-family: var(--font-serif); font-size: 1.22rem; line-height: 1.5; color: var(--ink); }
.rof-stamp {
  position: absolute;
  top: 1.1rem;
  padding: 0.2rem 0.65rem;
  border: 3px solid currentColor;
  border-radius: 10px;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}
.rof-stamp-fake { right: 1.1rem; color: var(--danger); transform: rotate(10deg); }
.rof-stamp-real { left: auto; right: 1.1rem; color: var(--success); transform: rotate(-10deg); }
.rof-card.drag-fake .rof-stamp-fake, .rof-card.chose-fake.is-answered .rof-stamp-fake,
.rof-card.drag-real .rof-stamp-real, .rof-card.chose-real.is-answered .rof-stamp-real { opacity: 1; }
.rof-actions { display: flex; justify-content: center; gap: 0.85rem; margin-top: 1rem; }
.rof-btn { min-width: 9.5rem; font-size: 1.05rem; padding: 0.9rem 1.5rem; border: 2px solid var(--grey-mid); background: var(--white); color: var(--ink); }
.rof-btn-fake:hover:not(:disabled), .rof-btn-fake.is-chosen { border-color: var(--danger); color: var(--danger); background: var(--danger-bg); }
.rof-btn-real:hover:not(:disabled), .rof-btn-real.is-chosen { border-color: var(--success); color: var(--success); background: var(--success-bg); }
.rof-btn.is-chosen:disabled { opacity: 1; }
.rof-feedback { max-width: 560px; margin: 1rem auto 0; padding: 1rem 1.15rem; border-radius: 16px; background: var(--white); border: 1px solid var(--grey-mid); }
.rof-feedback.ok { border-left: 4px solid var(--success); }
.rof-feedback.bad { border-left: 4px solid var(--danger); }
.rof-verdict { font-weight: 850; font-size: 1.05rem; margin-bottom: 0.25rem; }
.rof-feedback.ok .rof-verdict { color: var(--success); }
.rof-feedback.bad .rof-verdict { color: var(--danger); }
.rof-streak-pop { display: inline-block; margin-left: 0.4rem; padding: 0.1rem 0.55rem; border-radius: 980px; background: var(--accent-grad); color: #fff; font-size: 0.75rem; font-weight: 800; }
.rof-answer, .rof-clue { font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 0.4rem; }
.rof-feedback .btn { margin-top: 0.35rem; }

/* ——— 3. Overconfidence Meter ——— */
.oc-card { padding: 1.4rem 1.6rem; margin-bottom: 1rem; }
.oc-label { font-size: 0.72rem; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.oc-sentence { font-family: var(--font-serif); font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.55; color: var(--ink); border-left: 4px solid; border-image: var(--accent-grad) 1; padding-left: 1rem; }
.oc-sentence:focus { outline: none; }
.oc-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 820px) { .oc-controls { grid-template-columns: 1fr; } }
.oc-control { padding: 1.2rem 1.3rem; min-width: 0; }
fieldset.oc-control { border: 1px solid var(--grey-mid); }
fieldset.oc-control > legend { float: left; width: 100%; }
.oc-support { clear: both; }
.oc-q { display: block; font-weight: 800; font-size: 1rem; letter-spacing: -0.02em; margin-bottom: 0.75rem; padding: 0; }
.oc-range { width: 100%; accent-color: #e10600; height: 1.75rem; cursor: pointer; }
.oc-range:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; }
.oc-scale { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.oc-out { display: inline-block; margin-top: 0.6rem; font-weight: 800; font-size: 0.95rem; padding: 0.2rem 0.65rem; border-radius: 980px; background: var(--ocean-soft); color: #9a3412; font-variant-numeric: tabular-nums; }
.oc-support { display: flex; flex-direction: column; gap: 0.5rem; }
.oc-pill { display: block; cursor: pointer; }
.oc-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.oc-pill > span {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.65rem 0.9rem;
  border: 2px solid var(--grey-mid);
  border-radius: 14px;
  background: var(--white);
  transition: border-color 0.12s, background 0.12s;
}
.oc-pill > span strong { font-size: 0.92rem; font-weight: 750; }
.oc-pill > span small { font-size: 0.78rem; color: var(--muted); }
.oc-pill:hover > span { border-color: var(--border); background: var(--grey); }
.oc-pill input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.oc-pill input:checked + span small { color: #d1d1d6; }
.oc-pill input:focus-visible + span { outline: 3px solid var(--ocean); outline-offset: 2px; }
.oc-pill input:disabled + span { cursor: default; opacity: 0.75; }
.oc-result { margin-top: 1rem; padding: 1.4rem 1.5rem; }
.oc-result-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.85rem; margin-bottom: 1rem; }
.oc-verdict { font-weight: 850; font-size: 0.85rem; padding: 0.25rem 0.75rem; border-radius: 980px; text-transform: uppercase; letter-spacing: 0.05em; }
.oc-verdict-overclaim { background: var(--danger-bg); color: var(--danger); }
.oc-verdict-calibrated { background: var(--success-bg); color: var(--success); }
.oc-verdict-underclaim { background: var(--warning-bg); color: var(--warning); }
.oc-pts { margin-left: auto; font-weight: 850; font-size: 1.1rem; color: var(--ink); }
.oc-pts:focus { outline: none; }
.oc-meter { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 1rem; }
.oc-meter-row { display: grid; grid-template-columns: 150px 1fr 80px; align-items: center; gap: 0.85rem; }
@media (max-width: 640px) { .oc-meter-row { grid-template-columns: 1fr; gap: 0.4rem; } }
.oc-meter-label { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); }
.oc-meter-score { font-size: 0.82rem; font-weight: 750; color: var(--ink-soft); text-align: right; }
.oc-track {
  position: relative;
  height: 12px;
  border-radius: 980px;
  background: linear-gradient(90deg, #e8e8ed 0%, #ffb000 55%, #ff6a00 75%, #e10600 100%);
  margin: 1.35rem 0 0.25rem;
}
.oc-marker { position: absolute; top: 50%; width: 18px; height: 18px; margin-left: -9px; margin-top: -9px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }
.oc-marker span { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 0.68rem; font-weight: 800; }
.oc-marker-you { background: var(--ink); }
.oc-marker-you span { bottom: 140%; color: var(--ink); }
.oc-marker-ans { background: #fff; border-color: #000; }
.oc-marker-ans::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.6rem; font-weight: 900; color: #000; }
.oc-marker-ans span { top: 140%; color: var(--muted); }
.oc-support-compare { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.oc-sup-step { padding: 0.3rem 0.7rem; border-radius: 980px; border: 1.5px solid var(--grey-mid); font-size: 0.82rem; font-weight: 650; color: var(--muted); }
.oc-sup-step small { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.oc-sup-step.is-answer { border-color: #000; color: #000; background: #fff; box-shadow: inset 0 0 0 1px #000; }
.oc-sup-step.is-you:not(.is-answer) { border-color: var(--danger); color: var(--danger); background: var(--danger-bg); }
.oc-why { color: var(--ink-soft); margin-bottom: 0.65rem; }
.oc-flags { font-size: 0.9rem; margin-bottom: 0.75rem; }
.oc-flag-chip { display: inline-block; margin: 0.1rem 0.15rem; padding: 0.1rem 0.5rem; border-radius: 6px; background: rgba(249, 115, 22, 0.15); color: #c2410c; font-weight: 700; font-size: 0.82rem; }
.oc-rewrite { background: var(--grey); border-radius: 14px; padding: 0.9rem 1.1rem; }
.oc-rewrite p { font-family: var(--font-serif); font-size: 1.02rem; line-height: 1.55; color: var(--ink); }

/* ——— 4. Be the AI ——— */
.bai-steps { list-style: none; display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.bai-steps li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.85rem 0.35rem 0.4rem; border-radius: 980px; background: var(--white); border: 1px solid var(--grey-mid); font-size: 0.85rem; font-weight: 650; color: var(--muted); }
.bai-step-n { width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--grey); color: var(--ink); font-size: 0.75rem; font-weight: 800; }
.bai-steps li.is-active { color: var(--ink); border-color: var(--ink); }
.bai-steps li.is-active .bai-step-n { background: var(--accent-grad); color: #fff; }
.bai-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem 1.5rem; margin-bottom: 1rem; align-items: start; }
@media (max-width: 820px) { .bai-intro { grid-template-columns: 1fr; } }
.bai-intro h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.35rem; }
.bai-intro-text p { color: var(--ink-soft); font-size: 0.95rem; }
.bai-memo-pick { border: none; display: flex; flex-direction: column; gap: 0.45rem; min-width: 0; }
.bai-memo-pick legend { font-size: 0.75rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.4rem; }
.bai-sample-line { grid-column: 1 / -1; font-size: 0.88rem; color: var(--muted); border-top: 1px solid var(--grey-mid); padding-top: 0.6rem; }
.bai-sample-line .btn { color: var(--ocean); font-weight: 700; }
.bai-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
@media (max-width: 960px) { .bai-layout { grid-template-columns: 1fr; } }
.bai-col-right { display: flex; flex-direction: column; gap: 1rem; }
.bai-h { font-size: 1rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.4rem; display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.bai-count { font-size: 0.8rem; font-weight: 750; color: var(--ocean); }
.bai-help { font-size: 0.86rem; margin-bottom: 0.75rem; }
.bai-textarea {
  width: 100%;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.65;
  padding: 1rem 1.1rem;
  border: 1.5px solid var(--grey-mid);
  border-radius: 14px;
  background: #fffdf9;
  color: var(--ink);
  resize: vertical;
  cursor: text;
}
.bai-textarea:focus-visible { outline: 3px solid var(--ocean); outline-offset: 2px; }
.bai-textarea::selection { background: rgba(255, 106, 0, 0.3); }
.bai-selbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem; margin-top: 0.65rem; font-size: 0.86rem; }
.bai-selbar > span { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.bai-plant-form { margin-top: 0.85rem; border: 2px solid var(--ink); border-radius: 16px; padding: 1rem 1.1rem; background: var(--white); }
.bai-orig { font-size: 0.9rem; margin-bottom: 0.65rem; }
.bai-orig q { font-family: var(--font-serif); background: var(--grey); padding: 0.05em 0.3em; border-radius: 4px; }
.bai-type-pick { border: none; margin-bottom: 0.5rem; min-width: 0; }
.bai-type-pick legend { font-size: 0.8rem; font-weight: 650; color: var(--ink-soft); margin-bottom: 0.4rem; }
.bai-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; }
@media (max-width: 480px) { .bai-type-grid { grid-template-columns: 1fr; } }
.bai-type-opt { display: block; cursor: pointer; }
.bai-type-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bai-type-opt > span { display: flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.6rem; border: 1.5px solid var(--grey-mid); border-radius: 10px; font-size: 0.8rem; font-weight: 550; transition: border-color 0.12s, background 0.12s; }
.bai-type-opt .etype-icon { width: 20px; height: 20px; border-radius: 6px; background: var(--grey); display: grid; place-items: center; font-size: 0.68rem; font-weight: 800; flex-shrink: 0; }
.bai-type-opt:hover > span { border-color: var(--ink); }
.bai-type-opt input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.bai-type-opt input:checked + span .etype-icon { background: rgba(255, 255, 255, 0.2); color: #fff; }
.bai-type-opt input:focus-visible + span { outline: 3px solid var(--ocean); outline-offset: 2px; }
.bai-tip { font-size: 0.84rem; color: var(--ink-soft); background: var(--ocean-soft); border-radius: 10px; padding: 0.5rem 0.75rem; margin-bottom: 0.75rem; }
.game-input {
  width: 100%;
  border: 1.5px solid var(--grey-mid);
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}
.game-input:focus-visible { outline: 3px solid var(--ocean); outline-offset: 1px; border-color: var(--ink); }
.bai-form-actions { display: flex; gap: 0.5rem; }
.bai-preview { padding: 0.75rem 0 0; font-size: 0.97rem; line-height: 1.7; }
.bai-preview p { margin-bottom: 0.75rem; }
.bai-del { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--danger); }
.bai-ins { text-decoration: none; margin-left: 0.2em; }
.bai-plant-list { list-style: none; border-top: 1px solid var(--grey-mid); margin-top: 0.5rem; }
.bai-plant-item { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.55rem 0; border-bottom: 1px solid var(--grey-mid); font-size: 0.84rem; }
.bai-plant-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.bai-plant-empty { padding: 0.65rem 0; font-size: 0.86rem; }
.bai-swap { max-width: 760px; margin: 0 auto 1rem; padding: 2rem; }
.bai-swap:focus { outline: none; }
.bai-swap h2 { font-size: 1.6rem; font-weight: 850; letter-spacing: -0.04em; margin-bottom: 0.4rem; }
.bai-swap > p { color: var(--ink-soft); }
.bai-link-label { display: block; font-size: 0.8rem; font-weight: 700; margin: 1rem 0 0.35rem; }
.bai-link-row { display: flex; gap: 0.5rem; }
.bai-link-row .btn { white-space: nowrap; flex-shrink: 0; }
.bai-link-row .game-input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; }
@media (max-width: 560px) { .bai-link-row { flex-direction: column; } }
.bai-swap .game-end-actions { justify-content: flex-start; }
.bai-saved { margin-top: 1rem; }
.bai-saved h2 { font-size: 1rem; font-weight: 800; margin-bottom: 0.5rem; }
.bai-saved-list { list-style: none; }
.bai-saved-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem; padding: 0.65rem 0; border-top: 1px solid var(--grey-mid); }
.bai-saved-list li > div:first-child { display: flex; flex-direction: column; font-size: 0.9rem; }
.bai-saved-list li span.text-muted { font-size: 0.8rem; }
.bai-saved-actions { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.bai-play-banner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem; padding: 0.9rem 1.2rem; margin-bottom: 1rem; }
.bai-play-banner:focus { outline: none; }
.bai-play-banner .text-muted { font-size: 0.88rem; }
.claim:focus-visible { outline: 2px solid var(--ocean); outline-offset: 2px; }
.bai-results-h { text-align: left; font-size: 1rem; font-weight: 800; margin: 1rem 0 0.6rem; }
.bai-results { margin-bottom: 1rem; }
.bai-res-text { font-family: var(--font-serif); font-size: 0.9rem; }
.bai-after { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }

/* Reduced motion: no drag spring, no shake, no lift */
@media (prefers-reduced-motion: reduce) {
  .rof-card, .rof-mode, .game-card, .games-strip-tile, .rof-timebar { transition: none !important; }
  .rof-card.is-wrong { animation: none !important; }
  .game-card:hover, .games-strip-tile:hover, .rof-mode:hover { transform: none; }
}

/* ========== Meet the characters (Learn step 1) ========== */
.m7-page { padding-top: 2rem; }
.m7-crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.25rem; }
.m7-crumbs a { color: var(--muted); font-weight: 600; }
.m7-crumbs a:hover { color: var(--ink); }
.m7-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 1.75rem; }
.m7-eyebrow {
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block; margin-bottom: 0.35rem;
}
.m7-title { font-size: clamp(2.5rem, 7vw, 4.25rem); font-weight: 900; letter-spacing: -0.045em; line-height: 1; margin-bottom: 0.75rem; }
.m7-title span { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.m7-lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink-soft); max-width: 40rem; line-height: 1.45; }

/* line-up wall */
.m7-wide { max-width: 1320px; margin: 0 auto; padding: 0 1.5rem; }
.m7-wall { border-radius: 22px; overflow: hidden; background: #efeff1; border: 1px solid var(--border); }
.m7-band {
  min-height: 46px; background: #111; color: #fff; display: flex; align-items: center; justify-content: flex-start; gap: 1rem;
  padding: 0.6rem 1.35rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; position: relative;
}
.m7-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent-grad); }
.m7-live { color: #ffb000; }
.m7-scroller { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.m7-scroller:focus-visible { outline-offset: -3px; }
.m7-chart { position: relative; }
.m7-chart-lines { position: absolute; left: 0; top: 0; }
.m7-lbl { position: absolute; left: 10px; font-size: 11px; font-weight: 700; color: #a1a1a6; background: #efeff1; padding: 0 6px; font-variant-numeric: tabular-nums; z-index: 1; }
.m7-floor { height: 34px; background: #e2e2e6; border-top: 2px solid #c7c7cc; }
.m7-suspects { position: absolute; top: 0; bottom: 0; display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.m7-slot-li { flex: none; position: relative; scroll-snap-align: center; }
.m7-slot { position: absolute; inset: 0; display: block; color: inherit; text-decoration: none !important; border-radius: 14px; cursor: pointer; }
.m7-slot:focus-visible { outline: 3px solid var(--ocean); outline-offset: 2px; }
.m7-num { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); font-size: 26px; font-weight: 900; color: #8e8e93; letter-spacing: -0.04em; transition: color 0.2s; }
.m7-fig { position: absolute; z-index: 1; transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); transform-origin: 50% 88%; }
.m7-fig img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; max-width: none; }
.m7-straps { position: absolute; left: 0; bottom: 0; z-index: 2; overflow: visible; pointer-events: none; }
.m7-board {
  position: absolute; z-index: 3; background: #111; border-radius: calc(6px * var(--k));
  box-shadow: inset 0 0 0 calc(3px * var(--k)) #111, inset 0 0 0 calc(4px * var(--k)) rgba(255, 255, 255, 0.3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 calc(8px * var(--k));
}
.m7-board > span { display: block; white-space: nowrap; overflow: hidden; width: 100%; line-height: 1.15; }
.m7-board .b-type { font-size: calc(8.5px * var(--k)); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #ffb000; }
.m7-board .b-name { font-size: calc(15px * var(--k)); font-weight: 900; letter-spacing: -0.01em; text-transform: uppercase; color: #fff; }
.m7-board .b-ck { font-size: calc(8px * var(--k)); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #ff6a00; margin-top: 1px; }
.m7-board .b-charge { font-size: calc(10px * var(--k)); font-weight: 600; color: #fff; }
.m7-slot:hover .m7-num, .m7-slot:focus-visible .m7-num { color: var(--ocean); }

/* rap-sheet cards */
.m7-section-h { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 3rem 0 1.1rem; }
.m7-section-h h2 { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 900; letter-spacing: -0.03em; }
.m7-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.m7-card {
  position: relative; background: var(--white); border: 1px solid var(--grey-mid); border-radius: var(--radius);
  padding: 1.15rem 1.25rem 1.1rem; display: flex; flex-direction: column; gap: 0.7rem; scroll-margin: 5rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.m7-card:hover { box-shadow: var(--shadow); }
.m7-card:focus { outline: none; }
.m7-card:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; }
.m7-card.is-met { border-color: rgba(5, 150, 105, 0.4); }
.m7-card.is-flash { animation: m7-flash 1.2s ease-out; }
@keyframes m7-flash { 0% { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.55); } 35% { box-shadow: 0 0 0 8px rgba(255, 106, 0, 0.25); } 100% { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0); } }
.m7-card-head { display: flex; gap: 1rem; align-items: center; }
.m7-thumb {
  width: 112px; height: 112px; flex: none; border-radius: 14px; position: relative; overflow: hidden;
  background: #efeff1 repeating-linear-gradient(to top, rgba(0, 0, 0, 0.14) 0 1px, transparent 1px 13px);
}
.m7-thumb img { position: absolute; width: 158px; height: 158px; max-width: none; left: -23px; top: -6px; }
.m7-thumb[data-suspect="fake_quote"] img { left: -18px; }
.m7-thumb[data-suspect="overconfident"] img { left: -26px; }
.m7-card-id { min-width: 0; }
.m7-no { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.m7-booking { color: var(--ink); white-space: nowrap; }
.m7-card h3 { font-size: 1.45rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; margin: 0.15rem 0 0.4rem; }
.m7-pill { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 0.22rem 0.6rem; border-radius: 999px; background: #fff1e8; color: #c40000; border: 1px solid #ffd2b8; }
.m7-stamp {
  position: absolute; top: 0.9rem; right: 0.9rem; transform: rotate(10deg) scale(0.7); opacity: 0;
  font-size: 0.78rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: #9A3412;
  border: 2px solid #9A3412; border-radius: 6px; padding: 2px 8px; transition: opacity 0.2s, transform 0.2s;
}
.m7-card.is-met .m7-stamp { opacity: 1; transform: rotate(10deg); }
.m7-persona { font-size: 0.9rem; color: var(--muted); font-style: italic; }
.m7-charge { align-self: flex-start; font-size: 0.8rem; font-weight: 700; color: #fff; background: #111; border-radius: 8px; padding: 0.35rem 0.65rem; }
.m7-charge span { color: #ffb000; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.68rem; margin-right: 0.15rem; }
.m7-k { display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ocean); margin-bottom: 0.15rem; }
.m7-spot { border-left: 4px solid var(--ocean); padding: 0.1rem 0 0.1rem 0.7rem; }
.m7-spot p { font-size: 1.02rem; font-weight: 700; line-height: 1.35; }
.m7-checks { list-style: none; margin-top: 0.4rem; display: grid; gap: 0.3rem; }
.m7-checks li { position: relative; padding-left: 1rem; font-size: 0.9rem; line-height: 1.4; color: var(--ink, #111); }
.m7-checks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.55em; width: 0.42rem; height: 0.42rem; border-radius: 50%; background: #ff6a00; }
.m7-example { background: var(--grey); border-radius: 12px; padding: 0.7rem 0.85rem; }
.m7-example .m7-k { color: var(--muted); }
.m7-example p { font-family: var(--font-serif); font-size: 0.9rem; line-height: 1.5; color: #2a2a2d; }
.m7-example mark { background: linear-gradient(transparent 58%, rgba(255, 106, 0, 0.28) 58%); color: inherit; border-bottom: 2px solid #ff2d00; padding: 0 1px; }
.m7-card-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: auto; padding-top: 0.2rem; }
.btn-met { background: var(--success-bg); color: var(--success); border-color: rgba(5, 150, 105, 0.45); }
.btn-met:hover { background: #d1fae5; color: var(--success); }
.m7-lesson-link { color: var(--ocean); font-weight: 700; }
.m7-lesson-link:hover { color: var(--ocean); }

/* end CTA */
.m7-end { text-align: center; padding: 1.75rem 1.5rem 1.25rem; display: flex; flex-direction: column; justify-content: center; background: #111; color: #fff; border-color: #111; }
.m7-end:hover { box-shadow: var(--shadow-lg); }
.m7-end-faces { display: flex; justify-content: center; margin-bottom: 0.75rem; }
.m7-end-faces img { width: 64px; height: 64px; margin: 0 -6px; }
.m7-end h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 900; letter-spacing: -0.035em; margin-bottom: 0.4rem; }
.m7-end-msg { color: #d2d2d7; max-width: 32rem; margin: 0 auto; }
.m7-end-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; }

/* avatars used on Learn, lesson and home */
.suspect-avatar {
  display: inline-block; flex: none; width: 52px; height: 52px; border-radius: 999px; overflow: hidden; position: relative;
  background: #efeff1 repeating-linear-gradient(to top, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 9px); border: 1px solid var(--grey-mid);
}
.suspect-avatar img { position: absolute; width: 190%; height: 190%; max-width: none; left: -45%; top: -18%; }
.suspect-avatar.lg { width: 72px; height: 72px; }

@media (max-width: 860px) {
  .m7-intro { flex-direction: column; align-items: stretch; gap: 1.25rem; }
    .m7-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .m7-wide { padding: 0 1rem; }
  .m7-band { font-size: 0.66rem; letter-spacing: 0.1em; padding: 0.55rem 1rem; }
  .m7-band .m7-ref { display: none; }
  .m7-card { padding: 1rem; }
  .m7-thumb { width: 92px; height: 92px; }
  .m7-thumb img { width: 130px; height: 130px; left: -19px; top: -5px; }
  .m7-card h3 { font-size: 1.25rem; }
  .m7-end-faces img { width: 44px; height: 44px; margin: 0 -5px; }
}
@media (prefers-reduced-motion: reduce) {
  .m7-fig, .m7-met-stamp, .m7-stamp { transition: none; }
  .m7-slot:hover .m7-fig, .m7-slot:focus-visible .m7-fig { transform: none; }
  .m7-card.is-flash { animation: none; }
  .m7-scroller { scroll-behavior: auto; }
}
.m7-end .btn-outline { color: #fff; border-color: #3a3a3c; }
.m7-end .btn-outline:hover { background: #1d1d1f; color: #fff; }
.m7-end .btn-lg { padding: 0.9rem 1.4rem; font-size: 1rem; }

/* Small screens: a closed About-us dropdown must not widen the page (it sat just past the right edge at 390px). */
@media (max-width: 700px) {
  .nav-dropdown:not(.is-open):not(:focus-within) .nav-dropdown-menu { display: none; }
  .nav-dropdown-menu { min-width: 10.5rem; max-width: calc(100vw - 2rem); }
}
.m7-board .b-charge.two { white-space: normal; line-height: 1.12; font-size: calc(9.5px * var(--k)); }
.m7-board .b-charge.two { text-wrap: balance; }
@media (max-width: 640px) { .m7-band .m7-live { display: none; } }

/* ——— Learn hub: steps, Meet the characters (step 1), suspect avatars on mini-lesson cards and lesson headers ——— */
.learn-steps .learn-loop-step { color: inherit; text-decoration: none !important; border-radius: 12px; }
.learn-steps .learn-loop-step:hover strong { color: var(--ocean); }
.learn-loop-n-hunt { background: var(--accent-grad); }
.learn-step-section { margin-bottom: 2.5rem; scroll-margin-top: 4.5rem; }
.learn-games-section { scroll-margin-top: 4.5rem; }
.learn-step-eyebrow { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ocean); margin-bottom: 0.35rem; }
.learn-step-title { margin-bottom: 1rem; text-align: left; }
.learn-step-title h2 { font-size: 1.5rem; }
.learn-meet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 1.5rem; align-items: center; padding: 1.5rem 1.6rem; border-color: var(--border); }
.learn-meet h2 { font-size: 1.75rem; font-weight: 900; letter-spacing: -0.035em; margin-bottom: 0.35rem; }
.learn-meet-copy > p { margin-bottom: 0.9rem; }
.learn-meet-progress { margin-bottom: 1rem; max-width: 18rem; font-size: 0.9rem; }
.learn-meet-faces { list-style: none; margin: 0; padding: 0.6rem 0.5rem 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.25rem; border-radius: 14px;
  background: #efeff1 repeating-linear-gradient(to top, rgba(0, 0, 0, 0.1) 0 1px, transparent 1px 14px); }
.learn-meet-face { position: relative; display: flex; flex-direction: column; align-items: center; text-decoration: none !important; color: var(--ink); border-radius: 10px; padding-bottom: 0.4rem; }
.learn-meet-face img { width: 100%; height: auto; max-width: 96px; aspect-ratio: 1; transition: transform 0.2s; }
.learn-meet-face:hover img, .learn-meet-face:focus-visible img { transform: translateY(-3px); }
.learn-meet-face-name { font-size: 0.68rem; font-weight: 800; text-align: center; line-height: 1.15; background: #111; color: #fff; border-radius: 5px; padding: 0.15rem 0.35rem; margin-top: -0.35rem; }
.learn-meet-tick { position: absolute; top: 0; right: 0.1rem; width: 1.3rem; height: 1.3rem; border-radius: 999px; background: var(--success); color: #fff; font-size: 0.75rem; font-weight: 800; display: grid; place-items: center; }
.learn-type-avatar { width: 52px; height: 52px; }
.learn-suspect-name { font-size: 0.78rem; font-weight: 800; color: var(--ink); background: var(--ocean-soft); border: 1px solid #ffd2b8; border-radius: 999px; padding: 0.1rem 0.55rem; }
.learn-hunt { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; margin-top: 2.5rem; }
.learn-hunt h2 { font-size: 1.4rem; font-weight: 850; letter-spacing: -0.03em; }
.lesson-suspect { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.lesson-suspect h1 { margin-bottom: 0.15rem; }
.lesson-suspect-line { font-size: 0.95rem !important; color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .learn-meet { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .learn-meet { padding: 1.15rem; }
  .learn-meet-faces { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 0.4rem; }
  .learn-type-avatar { width: 44px; height: 44px; }
  .learn-type-card { gap: 0.7rem; }
  .suspect-avatar.lg { width: 60px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .learn-meet-face img { transition: none; }
  .learn-meet-face:hover img, .learn-meet-face:focus-visible img { transform: none; }
}
/* homepage: mistakes as suspects */
.mistake-suspect { display: flex; gap: 0.85rem; align-items: flex-start; color: inherit; text-decoration: none !important; }
.mistake-suspect:hover { border-color: var(--border); box-shadow: var(--shadow); }
.mistake-suspect:hover h3 { color: var(--ocean); }
.mistake-suspect .suspect-avatar { width: 56px; height: 56px; }
.mistake-meet { background: #111; border-color: #111; color: #fff; }
.mistake-meet .bt-kicker { color: #ffb000; }
.mistake-meet h3, .mistake-meet:hover h3 { color: #fff; }
.mistake-meet p { color: #d2d2d7; }
.mistake-meet-go { display: inline-block; margin-top: 0.6rem; font-weight: 700; font-size: 0.9rem; color: #ff6a00; }
.mistake-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; }
.learn-step-title { text-align: left; margin-bottom: 1.25rem; }
.learn-step-title h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.learn-step-title p { margin: 0; max-width: 40rem; font-size: 1rem; }
.section-title .learn-step-eyebrow { color: var(--ocean); font-size: 0.75rem; letter-spacing: 0.1em; max-width: none; margin: 0 0 0.35rem; }
.mistake-suspect .bt-kicker { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ocean); }
.mistake-suspect.mistake-meet .bt-kicker { color: #ffb000; }
@media (max-width: 640px) {
  /* keep the MET stamp clear of the booking number: sit it on the thumbnail instead */
  .m7-stamp { top: 5.6rem; right: auto; left: 0.75rem; background: rgba(255, 255, 255, 0.92); }
}

/* ——— Homepage hero: "Spot the AI" + rolling word ———
   The word sits on its own fixed-height, full-width line (clipped for the vertical roll), so swapping
   never reflows the page. Long words shrink to fit (--fit, set by js/hero-rotator.js) instead of wrapping. */
.hero h1 .hero-h1-visual, .hero h1 .hero-rotator, .hero h1 .hero-fit, .hero h1 .hero-word {
  background: none; animation: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit;
}
.hero h1 .hero-rotator {
  display: block; min-width: 100%; height: 1.3em; line-height: 1.1em; white-space: nowrap; overflow: hidden;
  position: relative; padding-top: 0.04em;
}
.hero h1 .hero-fit { display: inline-block; font-size: calc(1em * var(--fit, 1)); line-height: 1.1em; vertical-align: top; }
.hero h1 .hero-word {
  display: inline-block; position: relative; padding-bottom: 0.14em;
  color: #e10600;
  transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.hero h1 .hero-word.is-out { opacity: 0; transform: translateY(-100%); }
.hero h1 .hero-word.is-pre { opacity: 0; transform: translateY(100%); transition: none; }
@media (prefers-reduced-motion: reduce) {
  .hero h1 .hero-word { transition: none; }
}
.hero h1 .hero-tail { display: block; font-size: 1em; line-height: 1.1; margin-top: 0.08em; }
.hero-sub { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 650; letter-spacing: -0.02em; color: var(--ink); margin: 0.4rem auto 0.6rem; }
.hero-check { font-size: 0.92rem; color: var(--muted); margin: 0.25rem auto 0.4rem; }
.hero-check a { color: #c40000; font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; text-decoration-color: #ff6a00; }
.hero-check a:hover { color: #e10600; }

/* ——— Homepage audience picker ("You are a/an [audience]") ——— */
.aud-picker {
  display: flex; width: fit-content; max-width: 100%; align-items: baseline; gap: 0.4rem; flex-wrap: wrap; justify-content: center;
  font-size: 1.05rem; color: var(--muted); margin: 0 auto 1.4rem; padding: 0.45rem 0.6rem 0.45rem 1.1rem;
  border: 1px solid var(--grey-mid); border-radius: 999px; background: #fff; box-shadow: 0 1px 10px rgba(0, 0, 0, 0.04);
}
.aud-sentence { white-space: nowrap; }
.aud-select {
  -webkit-appearance: none; appearance: none; font: inherit; font-weight: 750; color: var(--ink); letter-spacing: -0.01em;
  background: #fff7f0 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='%23e10600' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.7rem center;
  border: 1px solid #ffd2b8; border-radius: 999px; padding: 0.3rem 2rem 0.3rem 0.8rem; cursor: pointer; max-width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.aud-select:hover { border-color: #ff6a00; }
.aud-select:focus-visible { outline: none; border-color: #e10600; box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.18); }
.aud-meter { position: absolute; visibility: hidden; white-space: nowrap; font-size: 1.05rem; font-weight: 750; letter-spacing: -0.01em; padding: 0 0.8rem; }
.hero-showcase [data-aud-text], .hero-showcase [data-aud-ctas], .hero-showcase [data-aud-points], .hero-showcase .hero-rotate-h1 { transition: opacity 0.17s ease; }
.hero-showcase.aud-fading [data-aud-text], .hero-showcase.aud-fading [data-aud-ctas], .hero-showcase.aud-fading [data-aud-points] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .hero-showcase [data-aud-text], .hero-showcase [data-aud-ctas], .hero-showcase [data-aud-points] { transition: none; }
  .aud-select { transition: none; }
}
.aud-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0.6rem; margin: -0.75rem auto 1.75rem; padding: 0; max-width: 46rem; }
.aud-points[hidden] { display: none; }
.aud-points li { font-size: 0.88rem; font-weight: 650; color: var(--ink); background: var(--grey); border: 1px solid var(--grey-mid); border-radius: 999px; padding: 0.35rem 0.8rem 0.35rem 0.7rem; }
.aud-points li::before { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--aal-dot,linear-gradient(135deg,#B4B4B9 15%,#7C7C80 85%)); margin-right: 0.45rem; vertical-align: 0.08em; }
.aud-pricing-note { text-align: center; font-weight: 650; color: var(--ink); margin: -0.5rem auto 1.75rem; max-width: 44rem; }
.aud-pricing-note[hidden] { display: none; }
.aud-tile-current { outline: 2px solid #ff6a00; outline-offset: 3px; }
/* Business and law firm modes: never show the Style A cartoon characters */
html[data-aud="university"] .m7-bunch-cartoon, html[data-aud="business"] .m7-bunch-cartoon, html[data-aud="firm"] .m7-bunch-cartoon { display: none !important; }
html[data-aud="business"] #learn-by-playing, html[data-aud="firm"] #learn-by-playing, html[data-aud="firm"] #integrations { display: none; }

/* ——— Seven mistakes: text-only descriptor cards + group line-up box ——— */
.mistakes-grid.mistakes-grid-3 { grid-template-columns: repeat(3, 1fr); }
.mistake-desc { display: block; color: inherit; text-decoration: none !important; }
.mistake-desc:hover { border-color: var(--border); box-shadow: var(--shadow); }
.mistake-desc:hover h3 { color: var(--ocean); }
.mistake-desc h3 { margin-top: 0; }
.mistake-risk { margin-top: 0.55rem !important; font-size: 0.88rem !important; color: var(--ink) !important; }
.mistake-risk b { color: var(--risk, #c40000); }
.m7-box { grid-column: span 2; display: flex; flex-direction: column; gap: 0.9rem; color: #fff; text-decoration: none !important; padding: 1rem 1.15rem 1.15rem; }
.m7-group {
  display: flex; align-items: flex-end; justify-content: center; border-radius: 12px; overflow: hidden; padding-top: 0.4rem;
  background: #efeff1 repeating-linear-gradient(to top, rgba(60, 60, 67, 0.13) 0 1px, transparent 1px 14px);
  box-shadow: inset 0 -6px 0 #d9d9de;
}
.m7-group img { flex: none; width: calc(100% / 5.6); height: auto; aspect-ratio: 1; margin: 0 calc(-100% / 56) -3%; display: block; max-width: none; }
.m7-group-exec { background: #f6f3ec repeating-linear-gradient(to top, rgba(31, 31, 34, 0.07) 0 1px, transparent 1px 16px); box-shadow: inset 0 -6px 0 #e4ded1; }
.m7-box-text h3 { font-size: 1.15rem; }
.m7-box:hover .m7-group img { transform: translateY(-2px); }
.m7-group img { transition: transform 0.25s ease; }
@media (prefers-reduced-motion: reduce) { .m7-group img { transition: none; } .m7-box:hover .m7-group img { transform: none; } }
@media (max-width: 900px) {
  .mistakes-grid.mistakes-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .m7-box { grid-column: auto; }
}
@media (max-width: 600px) {
  .mistakes-grid.mistakes-grid-3 { grid-template-columns: 1fr; }
  .m7-box { grid-column: auto; }
  .aud-picker { font-size: 1rem; padding-left: 0.9rem; }
  .aud-meter { font-size: 1rem; }
}
#seven-mistakes h2 em { font-style: normal; background: linear-gradient(90deg, #c40000, #e10600, #ff2d00, #ff6a00); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 600px) {
  .m7-group { flex-wrap: wrap; padding-top: 0.2rem; }
  .m7-group img { width: 26%; margin: -3% -1.6% -4%; }
}

/* ——— Meet the characters box: solid black, characters straight on the black (no inner panel) ——— */
.mistake-meet.m7-box { background: #000; border-color: #000; padding: 1.25rem 1.4rem 1.4rem; gap: 0.6rem; }
.m7-box .m7-group, .m7-box .m7-group-exec {
  background: none; box-shadow: none; border-radius: 0; overflow: visible; padding: 0.25rem 2.2% 0;
}
.m7-box .m7-group img { width: calc(100% / 4.4); margin: 0 -4.25% -2%; }
/* Style A outlines are near-black: a faint light rim keeps them crisp on #000 without changing colours */
.m7-box .m7-group-cartoon img { filter: drop-shadow(0 0 0.6px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 5px rgba(255, 255, 255, 0.16)); }
.m7-box .m7-group-exec img { filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.08)); }
.m7-box .m7-box-text { position: relative; z-index: 1; }
@media (max-width: 600px) {
  .mistake-meet.m7-box { padding: 1rem 1rem 1.2rem; }
  .m7-box .m7-group { flex-wrap: wrap; padding: 0 1%; }
  .m7-box .m7-group img { width: 29%; margin: -2% -2.4% -5%; }
}

/* ——— Enquiry page (enquiry.html) ——— */
.enq-page { padding: 3.5rem 0 5rem; }
.enq-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: start; }
.enq-intro { padding-top: 0.5rem; }
.enq-intro h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; margin: 0.5rem 0 1rem; }
.enq-intro h1 span { background: linear-gradient(90deg, #c40000, #ff2d00 45%, #ff6a00 75%, #ffb000); -webkit-background-clip: text; background-clip: text; color: transparent; }
.enq-lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 30rem; margin-bottom: 1.25rem; }
.enq-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.enq-points li { position: relative; padding-left: 1.6rem; font-weight: 600; }
.enq-points li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--aal-dot,linear-gradient(135deg,#B4B4B9 15%,#7C7C80 85%)); }
.enq-card { padding: 1.75rem 1.75rem 1.6rem; }
.enq-form-h { font-size: 1.35rem; font-weight: 850; letter-spacing: -0.02em; margin-bottom: 0.2rem; }
.enq-req-note { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.1rem; }
.enq-select { appearance: auto; }
.enq-msg { resize: vertical; min-height: 7.5rem; line-height: 1.5; }
.enq-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enq-consent { display: flex; gap: 0.65rem; align-items: flex-start; margin: 0.4rem 0 1.2rem; }
.enq-consent input { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; flex: none; accent-color: #c40000; }
.enq-consent label { font-size: 0.88rem; font-weight: 500; margin: 0; color: var(--ink-soft); }
.enq-consent label a { color: #c40000; font-weight: 650; }
.enq-submit { width: 100%; justify-content: center; }
.enq-errors { border: 1.5px solid #c40000; background: #fff5f3; color: #8a0000; border-radius: 12px; padding: 0.8rem 1rem; margin-bottom: 1rem; font-size: 0.9rem; }
.enq-errors ul { margin: 0.35rem 0 0 1.1rem; padding: 0; }
.enq-errors a { color: #8a0000; }
.enq-card .billing-input[aria-invalid="true"] { border-color: #c40000; }
.enq-thanks { text-align: center; padding: 1.5rem 0.5rem 0.75rem; outline: none; }
.enq-thanks-mark { width: 3.4rem; height: 3.4rem; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.6rem; font-weight: 900;
  background: linear-gradient(135deg, #c40000, #ff2d00 50%, #ffb000); }
.enq-thanks h2 { font-size: 1.5rem; font-weight: 850; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.enq-thanks p { color: var(--ink-soft); margin-bottom: 1.25rem; overflow-wrap: anywhere; }
.enq-thanks-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
@media (max-width: 860px) {
  .enq-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .enq-page { padding: 2rem 0 3.5rem; }
}
@media (max-width: 560px) {
  .enq-split { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .enq-card { padding: 1.25rem 1.1rem; }
}

/* E1 professional mode on Learn pages: hide the static Style A faces until JS swaps in E1 */
/* (E1 end-face and avatar overrides retired: the painted characters is used for every audience) */

/* Game icons (set A2): fire tiles drawn edge to edge in a 240×240 viewBox */
.game-icon { display: block; flex: none; width: 64px; height: 64px; max-width: none; }
.games-strip-tile .game-icon { margin-bottom: 0.35rem; }
.game-header-title { display: flex; align-items: center; gap: 1rem; }
.game-header-title .hero-eyebrow { margin-bottom: 0.3rem !important; }
.game-header-title h1 { margin-bottom: 0; }
.game-header-title + p { margin-top: 0.85rem; }
.game-header-icon { width: 72px; height: 72px; }
@media (max-width: 600px) {
  .game-icon { width: 56px; height: 56px; }
  .game-header-icon { width: 56px; height: 56px; }
  .game-header-title { gap: 0.75rem; }
}

/* ——— Meet the characters box v3: bunched group (individual, university) and typographic box (business, firm) ——— */
.m7-bunch { position: relative; width: min(100%, 500px); aspect-ratio: 100 / 56; margin: 0.2rem auto 0.4rem; }
.m7-bunch img { position: absolute; display: block; max-width: none; height: auto; aspect-ratio: 1;
  width: var(--w); left: calc(var(--c) - var(--w) / 2); bottom: var(--b); z-index: var(--z, 1);
  transform: rotate(var(--r, 0deg)); transform-origin: 50% 88%; transition: transform 0.3s ease; }
/* a tight huddle: back row smaller and higher (depth), front row larger and overlapping; every face stays clear */
.m7-bunch .bn-mischaracterised { --c: 32.5%; --w: 29%; --b: 25%; --r: -3deg; }
.m7-bunch .bn-wrong_cite       { --c: 50%; --w: 30%; --b: 28%; --r: 2deg; }
.m7-bunch .bn-fake_quote       { --c: 67.5%; --w: 30%; --b: 25.5%; --r: -3deg; }
.m7-bunch .bn-fabricated    { --c: 22%; --w: 34%; --b: -4%; --r: -6deg; --z: 2; }
.m7-bunch .bn-jurisdiction  { --c: 41%; --w: 36%; --b: -6%; --r: 2deg; --z: 3; }
.m7-bunch .bn-outdated      { --c: 59.5%; --w: 35%; --b: -5%; --r: -2deg; --z: 3; }
.m7-bunch .bn-overconfident { --c: 78%; --w: 36%; --b: -4%; --r: 6deg; --z: 2; }
.m7-bunch-cartoon img { filter: drop-shadow(0 0 0.6px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 5px rgba(255, 255, 255, 0.16)); }
.m7-bunch-exec img { filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.08)); }
.m7-box:hover .m7-bunch img { transform: rotate(var(--r, 0deg)) translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .m7-bunch img { transition: none; } .m7-box:hover .m7-bunch img { transform: rotate(var(--r, 0deg)); } }
@media (max-width: 600px) { .m7-bunch { width: 100%; margin-top: 0; } }

.m7-box-type { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 1.75rem; }
.m7-big7 { font-size: clamp(7rem, 13vw, 11.5rem); font-weight: 900; line-height: 0.78; letter-spacing: -0.06em; padding: 0 0.1em 0.04em 0;
  background: linear-gradient(170deg, #ffb000 0%, #ff6a00 35%, #ff2d00 62%, #c40000 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.m7-box-type h3 { font-size: 1.45rem; letter-spacing: -0.03em; margin-bottom: 0.7rem; }
.m7-names { list-style: none; margin: 0 0 0.8rem; padding: 0.7rem 0 0; border-top: 1px solid rgba(255, 255, 255, 0.16); columns: 2; column-gap: 1.25rem; }
.m7-names li { break-inside: avoid; color: #fff; font-weight: 650; font-size: 0.92rem; line-height: 1.3; padding: 0.22rem 0; }
.m7-n { display: inline-block; min-width: 1.7rem; color: #ff6a00; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .m7-box-type { grid-template-columns: minmax(0, 1fr); }
  .m7-big7 { font-size: 5.5rem; margin-bottom: 0.4rem; }
  .m7-names { columns: 1; }
}

/* ——— Carousel (js/carousel.js): looping, scroll-snap, touch-first ——— */
.carousel { position: relative; --slide-w: 80%; --gap: 0.9rem; }
.carousel-viewport { position: relative;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; touch-action: pan-x pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-viewport.is-jumping { scroll-behavior: auto !important; }
.carousel .carousel-track { display: flex; grid-template-columns: none; gap: var(--gap); padding: 0.6rem 0 1rem; margin: 0; }
.carousel-slide { flex: 0 0 var(--slide-w); min-width: 0; display: flex; scroll-snap-align: center; scroll-snap-stop: always; }
.carousel-slide > * { flex: 1 1 auto; width: 100%; min-width: 0; }
.carousel-slide > a:focus-visible { outline: 3px solid #ff6a00; outline-offset: -3px; }
.carousel-slide.is-clone { pointer-events: auto; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 0.35rem; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--grey-mid); background: var(--white); color: var(--ink);
  display: inline-grid; place-items: center; cursor: pointer; flex: none; transition: border-color 0.2s, background 0.2s;
}
.carousel-btn:hover { border-color: var(--ink); }
.carousel-btn:focus-visible, .carousel-dot:focus-visible { outline: 3px solid #ff6a00; outline-offset: 2px; }
.carousel-pause .i-play { display: none; }
.carousel-pause.is-paused .i-play { display: block; }
.carousel-pause.is-paused .i-pause { display: none; }
.carousel-dots { display: flex; align-items: center; }
.carousel-dot { width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-grid; place-items: center; border-radius: 999px; }
.carousel-dot-mark { width: 10px; height: 10px; border-radius: 999px; background: #c7c7cc; transition: width 0.25s, background 0.25s; }
.carousel-dot.is-active .carousel-dot-mark { width: 26px; background: var(--aal-dot,linear-gradient(135deg,#B4B4B9 15%,#7C7C80 85%)); }
@media (min-width: 640px) { .carousel { --slide-w: 46%; --gap: 1rem; } }
@media (min-width: 1000px) { .carousel { --slide-w: 31.5%; } .carousel:has(.game-grid) { --slide-w: 45%; } }
@media (hover: none) and (pointer: coarse) { .carousel-prev, .carousel-next { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .carousel-viewport { scroll-behavior: auto; }
  .carousel-dot-mark { transition: none; }
}
/* the homepage strip tiles fill their slide */
.carousel .games-strip-tile { height: 100%; }
.carousel .game-card { height: 100%; }

/* ——— Business and law firm: one full-width black checklist replaces the cards ——— */
.mistakes-grid.mistakes-grid-solo { grid-template-columns: minmax(0, 1fr); }
.mistake-meet.m7-checklist { grid-column: 1 / -1; display: block; padding: 2rem 2.25rem 2.1rem; cursor: default; }
.mistake-meet.m7-checklist:hover { transform: none; }
.m7-ck-head { display: flex; align-items: center; gap: 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.m7-checklist .m7-big7 { font-size: clamp(5.5rem, 9vw, 8rem); }
.m7-ck-head h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.1; margin: 0.25rem 0 0; }
.m7-ck-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2rem; }
.m7-ck-item { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0 0.5rem; padding: 1.15rem 0 1.2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.m7-ck-n { color: #ff6a00; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; padding-top: 0.2rem; }
.m7-checklist .m7-ck-name { color: #fff; font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; margin: 0 0 0.3rem; }
.m7-checklist .m7-ck-desc { color: #a1a1a6; font-size: 0.88rem; line-height: 1.45; margin: 0 0 0.45rem; }
.m7-checklist .m7-ck-risk { color: #e8e8ed; font-size: 0.86rem; line-height: 1.4; margin: 0; }
.m7-ck-risk b { color: #ff6a00; font-weight: 700; }
.m7-ck-foot { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 1.15rem 0 1.2rem 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.m7-checklist .m7-ck-foot p { color: #d2d2d7; font-size: 0.95rem; line-height: 1.5; margin: 0; max-width: 34rem; }
.m7-ck-foot .mistake-meet-go { min-height: 44px; display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.3rem; text-decoration: none; }
.m7-ck-item:nth-child(7), .m7-ck-foot { border-bottom: 0; padding-bottom: 0.2rem; }
.m7-ck-foot .mistake-meet-go:hover, .m7-ck-foot .mistake-meet-go:focus-visible { text-decoration: underline; }
@media (max-width: 960px) {
  .m7-ck-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m7-ck-foot { grid-column: span 1; padding-left: 2.5rem; }
}
@media (max-width: 600px) {
  .mistake-meet.m7-checklist { padding: 1.4rem 1.2rem 1.3rem; }
  .m7-ck-head { gap: 1rem; padding-bottom: 1.1rem; }
  .m7-checklist .m7-big7 { font-size: 4.6rem; margin: 0; }
  .m7-ck-list { grid-template-columns: minmax(0, 1fr); }
  .m7-ck-foot { grid-column: auto; padding: 1.1rem 0 0.2rem; border-bottom: 0; }
  .m7-ck-item:nth-child(7) { border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding-bottom: 1.2rem; }
}

/* ——— Individual and university: the same black box, with the bunched group in the bottom-right cells ——— */
.m7-ck-head-split { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 22rem); align-items: center; column-gap: 1.4rem; }
.m7-ck-intro { justify-self: end; }
.m7-checklist .m7-ck-intro p { color: #d2d2d7; font-size: 0.95rem; line-height: 1.5; margin: 0; }
.m7-ck-intro .mistake-meet-go { min-height: 44px; display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.2rem; text-decoration: none; }
.m7-ck-intro .mistake-meet-go:hover, .m7-ck-intro .mistake-meet-go:focus-visible { text-decoration: underline; }
.m7-ck-tag { display: inline-block; margin: 0 0 0.45rem; padding: 0.12rem 0.5rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.01em; line-height: 1.4;
  color: #ffb000; background: rgba(255, 106, 0, 0.14); border: 1px solid rgba(255, 106, 0, 0.35); }
.m7-checklist-cast .m7-ck-name { margin-bottom: 0.35rem; }
.m7-ck-group { grid-column: span 2; display: flex; justify-content: flex-end; align-items: flex-end; padding-top: 0.6rem; margin-bottom: -1.1rem; min-width: 0; }
.m7-ck-group .m7-bunch { width: min(100%, 480px); margin: 0 -0.25rem 0 0; }
.m7-checklist-cast:hover .m7-bunch img { transform: rotate(var(--r, 0deg)); }
@media (max-width: 960px) {
  .m7-ck-head-split { grid-template-columns: auto minmax(0, 1fr); }
  .m7-ck-intro { grid-column: 1 / -1; justify-self: start; margin-top: 1rem; }
  .m7-ck-group { grid-column: span 1; }
  .m7-ck-group .m7-bunch { width: 100%; margin: 0; }
}
@media (max-width: 600px) {
  .m7-ck-group { grid-column: auto; justify-content: center; padding-top: 1rem; margin-bottom: -0.6rem; }
}

/* ——— Meet the characters: hero uses the full width (no progress panel) ——— */
.m7-intro > div { flex: 1 1 auto; min-width: 0; }

/* ——— Line-up: name-only placards; details pop out from behind the character ——— */
.m7-board .b-name.two { white-space: normal; text-wrap: balance; font-size: calc(12.5px * var(--k)); line-height: 1.06; }
.m7-slot-li.is-open, .m7-slot-li:focus-within { z-index: 6; }
@media (hover: hover) { .m7-slot-li:hover { z-index: 6; } }
.m7-pop {
  position: absolute; z-index: 0; pointer-events: none; text-align: center; white-space: nowrap;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 calc(8px * var(--k));
  background: #111; color: #fff; border-radius: calc(6px * var(--k));
  box-shadow: inset 0 0 0 calc(3px * var(--k)) #111, inset 0 0 0 calc(4px * var(--k)) rgba(255, 255, 255, 0.3), 0 6px 16px rgba(0, 0, 0, 0.18);
  opacity: 0; visibility: hidden; transform: translateY(var(--rise, 40px));
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.22s;
}
.m7-pop > span { display: block; overflow: hidden; width: 100%; line-height: 1.15; }
.m7-pop .p-type { font-size: calc(9.5px * var(--k)); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #ffb000; }
.m7-pop .p-ck { font-size: calc(8.5px * var(--k)); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #ff6a00; margin-top: 2px; }
.m7-pop .p-line { font-size: calc(12px * var(--k)); font-weight: 600; color: #fff; }
.m7-pop .p-line.two { white-space: normal; text-wrap: balance; line-height: 1.12; font-size: calc(11px * var(--k)); }
.m7-slot-li.is-open .m7-pop, .m7-slot:focus-visible .m7-pop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.m7-slot-li.is-open .m7-num, .m7-slot:focus-visible .m7-num { opacity: 0; }
@media (hover: hover) {
  .m7-slot-li:hover .m7-pop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .m7-slot-li:hover .m7-num { opacity: 0; }
}

/* ——— Line-up: slow, gentle character moves on hover, focus or tap (transforms and opacity only; layout never shifts) ——— */
.m7-fig > img, .m7-fig > .m7-fig-art { transform-origin: 50% 88%; }
.m7-fig > .m7-fig-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.m7-fig-art .fx-cam, .m7-fig-art .fx-mouth, .m7-fig-art .fx-wink, .m7-fig-art .fx-brow, .m7-fig-art .fx-smile, .m7-fig-art .fx-sly,
.m7-fig-art .fx-blink, .m7-fig-art .fx-pjaw, .m7-fig-art .fx-phand { transform-box: fill-box; transform-origin: center; }
.m7-fig-art .fx-ptalk { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); }
.m7-fig-art .fx-bubble { transform-box: fill-box; transform-origin: 20% 100%; }
.m7-fig-art .fx-note { transform-box: fill-box; transform-origin: 50% 0; }
.m7-fig-art .fx-puppet, .m7-fig-art .fx-ehand, .m7-fig-art .fx-write, .m7-fig-art .fx-scribble { transform-box: view-box; }
/* the Inventor: bulb off at rest, steadily lit while hovered; his writing arm swaps in for the resting arm */
.m7-fig-art .fx-rays, .m7-fig-art .fx-glow { opacity: 0; transition: opacity 0.45s ease; }
.m7-fig-art .fx-bulbfill { fill: #ece9e2; transition: fill 0.45s ease; }
.m7-fig-art .fx-arm0 { transition: opacity 0.35s ease; }
.m7-fig-art .fx-write { opacity: 0; transition: opacity 0.35s ease; }
.m7-fig-fx { position: absolute; z-index: 4; pointer-events: none; }
.m7-flash { position: absolute; width: 40%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(0.2); border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, #fff 0 18%, rgba(255, 255, 255, 0.85) 30%, rgba(255, 255, 255, 0) 68%); }
.m7-slot-li { --fx: m7-hop; --fxd: 0.65s; }
.m7-slot[data-suspect="fabricated"], .m7-slot[data-suspect="fake_quote"], .m7-slot[data-suspect="overconfident"] { --fx: none; }
.m7-slot[data-suspect="wrong_cite"] { --fx: m7-squash; --fxd: 0.75s; }
.m7-slot[data-suspect="mischaracterised"] { --fx: none; --fxd: 2.2s; }   /* no 3D turn: the whirlwind turns round him instead */
.m7-slot[data-suspect="outdated"] { --fx: m7-sway; --fxd: 0.8s; }
.m7-slot[data-suspect="jurisdiction"] { --fx: m7-lift; --fxd: 1.1s; }
/* painted Seven (raster art): the three characters whose moves used SVG parts get whole-figure moves instead */
.m7-slot[data-suspect="fabricated"]:has(.m7-fig-painted) { --fx: m7-idea; --fxd: 1.2s; }
.m7-slot[data-suspect="fake_quote"]:has(.m7-fig-painted) { --fx: m7-wiggle; --fxd: 1s; }
.m7-slot[data-suspect="overconfident"]:has(.m7-fig-painted) { --fx: m7-puff; --fxd: 1.2s; }
@keyframes m7-idea { 0%, 100% { transform: none; filter: none; } 30%, 70% { transform: translateY(-5px) rotate(-2deg); filter: brightness(1.08) drop-shadow(0 0 10px rgba(255, 196, 0, 0.55)); } }
@keyframes m7-wiggle { 0%, 100% { transform: none; } 20% { transform: rotate(-3deg); } 45% { transform: rotate(3deg); } 70% { transform: rotate(-1.5deg); } 88% { transform: rotate(0.6deg); } }
@keyframes m7-puff { 0%, 100% { transform: none; } 35%, 70% { transform: translateY(-3px) rotate(2deg); } }
@keyframes m7-hop { 0% { transform: none; } 35% { transform: translateY(-6px); } 65% { transform: translateY(0); } 82% { transform: translateY(-1.5px); } 100% { transform: none; } }
@keyframes m7-squash { 0%, 100% { transform: none; } 62% { transform: translateY(-4px); } }
@keyframes m7-sway { 0%, 100% { transform: none; } 28% { transform: rotate(-3deg); } 62% { transform: rotate(2.5deg); } 86% { transform: rotate(-0.8deg); } }
@keyframes m7-lift { 0%, 100% { transform: none; } 35%, 70% { transform: translateY(-4px) rotate(-1.2deg); } }
@keyframes m7-spin { from { transform: perspective(700px) rotateY(0deg); } to { transform: perspective(700px) rotateY(360deg); } }
@keyframes m7-cam { 0%, 100% { transform: none; } 30%, 72% { transform: translateY(-15px) rotate(-8deg); } }
@keyframes m7-grin { 0%, 100% { transform: none; } 35%, 75% { transform: scale(1.18, 1.45); } }
@keyframes m7-camflash { 0%, 38% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); } 48% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); } }
@keyframes m7-smile { 0%, 100% { transform: none; } 30%, 75% { transform: scale(1.2, 1.5); } }
@keyframes m7-sly { 0%, 100% { transform: none; } 30%, 75% { transform: translateX(1.5px) rotate(-8deg) scale(1.12, 1.25); } }
@keyframes m7-blink { 0%, 22%, 48%, 100% { transform: none; } 32%, 38% { transform: scaleY(0.1); } }
@keyframes m7-note { 0%, 100% { transform: none; } 20% { transform: rotate(6deg); } 45% { transform: rotate(-5deg); } 70% { transform: rotate(2.5deg); } }
@keyframes m7-bubble { 0%, 100% { transform: none; } 30% { transform: scale(1.12) rotate(-3deg); } 60% { transform: scale(0.98); } }
@keyframes m7-write-in { from { transform: rotate(-30deg); } to { transform: none; } }
@keyframes m7-scribble { 0%, 100% { transform: none; } 25% { transform: translate(2.5px, -1.5px) rotate(-3deg); } 50% { transform: translate(5px, 0.5px); } 75% { transform: translate(2px, 1.5px) rotate(2deg); } }
@keyframes m7-puppet { 0%, 100% { transform: rotate(-3deg); } 50% { transform: translateY(-3px) rotate(4deg); } }
@keyframes m7-ptalk { 0%, 50%, 100% { transform: scaleY(0); } 22%, 72% { transform: scaleY(1); } }
@keyframes m7-pjaw { 0%, 50%, 100% { transform: none; } 22%, 72% { transform: translateY(2.5px); } }
@keyframes m7-ehand { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }
@keyframes m7-phand { 0%, 100% { transform: none; } 50% { transform: scale(1.12, 0.72); } }
.m7-slot-li.is-open .m7-fig > img, .m7-slot-li.is-open .m7-fig > .m7-fig-art, .m7-slot:focus-visible .m7-fig > img, .m7-slot:focus-visible .m7-fig > .m7-fig-art { animation: var(--fx, m7-hop) var(--fxd, 0.65s) cubic-bezier(0.45, 0, 0.25, 1) both; }
.m7-slot-li.is-open .m7-flash, .m7-slot:focus-visible .m7-flash { animation: m7-camflash 1s ease-out both; }
.m7-slot-li.is-open .m7-fig-art .fx-rays, .m7-slot:focus-visible .m7-fig-art .fx-rays { opacity: 1; }
.m7-slot-li.is-open .m7-fig-art .fx-glow, .m7-slot:focus-visible .m7-fig-art .fx-glow { opacity: 0.3; }
.m7-slot-li.is-open .m7-fig-art .fx-bulbfill, .m7-slot:focus-visible .m7-fig-art .fx-bulbfill { fill: #ffb000; }
.m7-slot-li.is-open .m7-fig-art .fx-arm0, .m7-slot:focus-visible .m7-fig-art .fx-arm0 { opacity: 0; }
.m7-slot-li.is-open .m7-fig-art .fx-write, .m7-slot:focus-visible .m7-fig-art .fx-write { opacity: 1; animation: m7-write-in 0.9s cubic-bezier(0.45, 0, 0.25, 1) both; }
.m7-slot-li.is-open .m7-fig-art .fx-scribble, .m7-slot:focus-visible .m7-fig-art .fx-scribble { animation: m7-scribble 1.1s ease-in-out 0.9s infinite; }
.m7-slot-li.is-open .m7-fig-art .fx-smile, .m7-slot:focus-visible .m7-fig-art .fx-smile { animation: m7-smile 1.2s cubic-bezier(0.45, 0, 0.25, 1) both; }
.m7-slot-li.is-open .m7-fig-art .fx-cam, .m7-slot:focus-visible .m7-fig-art .fx-cam { animation: m7-cam 1.1s cubic-bezier(0.45, 0, 0.25, 1) both; }
.m7-slot-li.is-open .m7-fig-art .fx-mouth, .m7-slot:focus-visible .m7-fig-art .fx-mouth { animation: m7-grin 1.2s cubic-bezier(0.45, 0, 0.25, 1) both; }
.m7-slot-li.is-open .m7-fig-art .fx-blink, .m7-slot:focus-visible .m7-fig-art .fx-blink { animation: m7-blink 1.1s linear both; }
.m7-slot-li.is-open .m7-fig-art .fx-note, .m7-slot:focus-visible .m7-fig-art .fx-note { animation: m7-note 1.3s cubic-bezier(0.45, 0, 0.25, 1) both; }
.m7-slot-li.is-open .m7-fig-art .fx-bubble, .m7-slot:focus-visible .m7-fig-art .fx-bubble { animation: m7-bubble 0.9s cubic-bezier(0.45, 0, 0.25, 1) both; }
.m7-slot-li.is-open .m7-fig-art .fx-puppet, .m7-slot:focus-visible .m7-fig-art .fx-puppet { animation: m7-puppet 1.3s ease-in-out infinite; }
.m7-slot-li.is-open .m7-fig-art .fx-ptalk, .m7-slot:focus-visible .m7-fig-art .fx-ptalk { animation: m7-ptalk 1.3s ease-in-out infinite; }
.m7-slot-li.is-open .m7-fig-art .fx-pjaw, .m7-slot:focus-visible .m7-fig-art .fx-pjaw { animation: m7-pjaw 1.3s ease-in-out infinite; }
.m7-slot-li.is-open .m7-fig-art .fx-ehand, .m7-slot:focus-visible .m7-fig-art .fx-ehand { animation: m7-ehand 1.3s ease-in-out infinite; }
.m7-slot-li.is-open .m7-fig-art .fx-phand, .m7-slot:focus-visible .m7-fig-art .fx-phand { animation: m7-phand 0.65s ease-in-out infinite; }
.m7-slot-li.is-open .m7-fig-art .fx-sly, .m7-slot:focus-visible .m7-fig-art .fx-sly { animation: m7-sly 1.2s cubic-bezier(0.45, 0, 0.25, 1) 0.4s both; }
/* the Know-It-All: jointed megaphone arm (rest pose matches the drawn arm); one smooth lift on hover, lowered on leave */
.m7-fig-art .fx-kup, .m7-fig-art .fx-kfore, .m7-fig-art .fx-kmega { transform-box: view-box; transition: transform 1.1s cubic-bezier(0.45, 0, 0.25, 1); }
.m7-fig-art .fx-karm0 { transition: opacity 0.2s ease 1.05s; }
.m7-fig-art .fx-knew { opacity: 0; transition: opacity 0.2s ease 1.05s; }
.m7-fig-art .fx-karcs { transform-box: fill-box; }
.m7-fig-art .fx-brow { transition: transform 0.4s ease; }
.m7-fig-art path.fx-kcone[fill="#e10600"] { fill: #fff4d6; }
.m7-fig-art g.fx-kcone path { fill: #ffb000; }
.m7-fig-art path.fx-kcone[fill="#fbfaf7"] { fill: #ffb000; }
/* the Spin Doctor's whirlwind (back layer sits behind the art, front layer in front of it and under the placard) */
.m7-tw { z-index: 1; visibility: hidden; opacity: 0; transform-origin: 50% 90%; --tw-ink: #7f8a96; --tw-ink2: #aab3bd; --tw-halo: rgba(255, 255, 255, 0.75); }
.m7-tw svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.m7-tw path, .m7-tw rect { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.m7-tw .tw-sway { transform-box: view-box; transform-origin: 120px 220px; }
.m7-tw .tw-band { stroke: var(--tw-ink); stroke-width: 2; stroke-dasharray: 22 7 12 9; }
.m7-tw-back .tw-band { stroke: var(--tw-ink2); stroke-width: 1.8; }
.m7-tw .tw-halo { stroke: var(--tw-halo); stroke-width: 4.5; stroke-dasharray: 22 7 12 9; }
.m7-tw .tw-f1, .m7-tw .tw-b1 { stroke-dasharray: 30 8 8 4; }
.m7-tw .tw-f2, .m7-tw .tw-b2 { stroke-dasharray: 16 6 20 8; }
.m7-tw .tw-gust { stroke: var(--tw-ink2); stroke-width: 2; stroke-dasharray: 100; stroke-dashoffset: 100; }
.m7-tw .tw-g1 { animation-delay: 0.3s !important; }
.m7-tw .tw-g2 { animation-delay: 0.6s !important; }
.m7-tw .tw-fly { transform-box: view-box; transform-origin: 0 0; }
.m7-tw .tw-fly rect { fill: #fffdf6; stroke: var(--tw-ink); stroke-width: 1.1; }
.m7-tw .tw-fly path { stroke: var(--tw-ink2); stroke-width: 1; }
.m7-tw .tw-fly .tw-leaf { fill: #ffb000; stroke: #c76a00; stroke-width: 1; }
/* on a dark board the whirlwind switches to light ink */
.is-dark .m7-tw, [data-theme="dark"] .m7-tw { --tw-ink: #e6e9ee; --tw-ink2: #c4cad2; --tw-halo: rgba(0, 0, 0, 0.35); }
@keyframes m7-announce { 0%, 100% { opacity: 1; transform: none; } 50% { opacity: 0.35; transform: scale(1.15); } }
@keyframes m7-twister { 0% { opacity: 0; transform: scale(0.8, 0.55); } 16% { opacity: 1; transform: none; } 76% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes m7-twsway { 0%, 100% { transform: translateX(-3px) skewX(2deg); } 50% { transform: translateX(3px) skewX(-2deg); } }
@keyframes m7-twflow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
@keyframes m7-twgust { 0% { stroke-dashoffset: 100; opacity: 0; } 15% { opacity: 1; } 55% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes m7-twp1 { 0% { transform: translate(118.0px, 45.0px) rotate(0deg) scale(1.00); } 6.25% { transform: translate(150.1px, 44.2px) rotate(34deg) scale(0.99); } 12.5% { transform: translate(177.4px, 41.8px) rotate(68deg) scale(0.96); } 18.75% { transform: translate(195.6px, 38.2px) rotate(101deg) scale(0.91); } 25% { transform: translate(202.0px, 34.0px) rotate(135deg) scale(0.85); } 31.25% { transform: translate(195.6px, 29.8px) rotate(169deg) scale(0.79); } 37.5% { transform: translate(177.4px, 26.2px) rotate(202deg) scale(0.74); } 43.75% { transform: translate(150.1px, 23.8px) rotate(236deg) scale(0.71); } 50% { transform: translate(118.0px, 23.0px) rotate(270deg) scale(0.70); } 56.25% { transform: translate(85.9px, 23.8px) rotate(304deg) scale(0.71); } 62.5% { transform: translate(58.6px, 26.2px) rotate(338deg) scale(0.74); } 68.75% { transform: translate(40.4px, 29.8px) rotate(371deg) scale(0.79); } 75% { transform: translate(34.0px, 34.0px) rotate(405deg) scale(0.85); } 81.25% { transform: translate(40.4px, 38.2px) rotate(439deg) scale(0.91); } 87.5% { transform: translate(58.6px, 41.8px) rotate(472deg) scale(0.96); } 93.75% { transform: translate(85.9px, 44.2px) rotate(506deg) scale(0.99); } 100% { transform: translate(118.0px, 45.0px) rotate(540deg) scale(1.00); } }
@keyframes m7-twp2 { 0% { transform: translate(118.0px, 142.0px) rotate(0deg) scale(0.70); } 6.25% { transform: translate(92.0px, 142.6px) rotate(34deg) scale(0.71); } 12.5% { transform: translate(69.9px, 144.3px) rotate(68deg) scale(0.74); } 18.75% { transform: translate(55.2px, 146.9px) rotate(101deg) scale(0.79); } 25% { transform: translate(50.0px, 150.0px) rotate(135deg) scale(0.85); } 31.25% { transform: translate(55.2px, 153.1px) rotate(169deg) scale(0.91); } 37.5% { transform: translate(69.9px, 155.7px) rotate(202deg) scale(0.96); } 43.75% { transform: translate(92.0px, 157.4px) rotate(236deg) scale(0.99); } 50% { transform: translate(118.0px, 158.0px) rotate(270deg) scale(1.00); } 56.25% { transform: translate(144.0px, 157.4px) rotate(304deg) scale(0.99); } 62.5% { transform: translate(166.1px, 155.7px) rotate(338deg) scale(0.96); } 68.75% { transform: translate(180.8px, 153.1px) rotate(371deg) scale(0.91); } 75% { transform: translate(186.0px, 150.0px) rotate(405deg) scale(0.85); } 81.25% { transform: translate(180.8px, 146.9px) rotate(439deg) scale(0.79); } 87.5% { transform: translate(166.1px, 144.3px) rotate(472deg) scale(0.74); } 93.75% { transform: translate(144.0px, 142.6px) rotate(506deg) scale(0.71); } 100% { transform: translate(118.0px, 142.0px) rotate(540deg) scale(0.70); } }
@keyframes m7-twp3 { 0% { transform: translate(196.0px, 96.0px) rotate(0deg) scale(0.85); } 6.25% { transform: translate(190.1px, 92.6px) rotate(34deg) scale(0.79); } 12.5% { transform: translate(173.2px, 89.6px) rotate(68deg) scale(0.74); } 18.75% { transform: translate(147.8px, 87.7px) rotate(101deg) scale(0.71); } 25% { transform: translate(118.0px, 87.0px) rotate(135deg) scale(0.70); } 31.25% { transform: translate(88.2px, 87.7px) rotate(169deg) scale(0.71); } 37.5% { transform: translate(62.8px, 89.6px) rotate(202deg) scale(0.74); } 43.75% { transform: translate(45.9px, 92.6px) rotate(236deg) scale(0.79); } 50% { transform: translate(40.0px, 96.0px) rotate(270deg) scale(0.85); } 56.25% { transform: translate(45.9px, 99.4px) rotate(304deg) scale(0.91); } 62.5% { transform: translate(62.8px, 102.4px) rotate(338deg) scale(0.96); } 68.75% { transform: translate(88.2px, 104.3px) rotate(371deg) scale(0.99); } 75% { transform: translate(118.0px, 105.0px) rotate(405deg) scale(1.00); } 81.25% { transform: translate(147.8px, 104.3px) rotate(439deg) scale(0.99); } 87.5% { transform: translate(173.2px, 102.4px) rotate(472deg) scale(0.96); } 93.75% { transform: translate(190.1px, 99.4px) rotate(506deg) scale(0.91); } 100% { transform: translate(196.0px, 96.0px) rotate(540deg) scale(0.85); } }
.m7-slot-li.is-open .m7-fig-art .fx-kup, .m7-slot:focus-visible .m7-fig-art .fx-kup, .m7-slot-li.is-open .m7-fig-art .fx-kfore, .m7-slot:focus-visible .m7-fig-art .fx-kfore, .m7-slot-li.is-open .m7-fig-art .fx-kmega, .m7-slot:focus-visible .m7-fig-art .fx-kmega { transform: rotate(var(--kr, 0deg)); transition: transform 1.3s cubic-bezier(0.45, 0, 0.25, 1); }
.m7-slot-li.is-open .m7-fig-art .fx-karm0, .m7-slot:focus-visible .m7-fig-art .fx-karm0 { opacity: 0; transition-delay: 0s; }
.m7-slot-li.is-open .m7-fig-art .fx-knew, .m7-slot:focus-visible .m7-fig-art .fx-knew { opacity: 1; transition-delay: 0s; }
.m7-slot-li.is-open .m7-fig-art .fx-karcs, .m7-slot:focus-visible .m7-fig-art .fx-karcs { animation: m7-announce 1.2s ease-in-out 1.3s infinite; }
.m7-slot-li.is-open .m7-fig-art .fx-brow, .m7-slot:focus-visible .m7-fig-art .fx-brow { transform: translateY(-2.5px) rotate(-6deg); transition: transform 0.6s cubic-bezier(0.45, 0, 0.25, 1) 0.9s; }
.m7-slot-li.is-open .m7-tw, .m7-slot:focus-visible .m7-tw { visibility: visible; animation: m7-twister 3s cubic-bezier(0.45, 0, 0.25, 1) both; }
.m7-slot-li.is-open .m7-tw .tw-sway, .m7-slot:focus-visible .m7-tw .tw-sway { animation: m7-twsway 1.5s ease-in-out infinite; }
.m7-slot-li.is-open .m7-tw-front .tw-band, .m7-slot:focus-visible .m7-tw-front .tw-band, .m7-slot-li.is-open .m7-tw-front .tw-halo, .m7-slot:focus-visible .m7-tw-front .tw-halo { animation: m7-twflow 1.2s linear infinite; }
.m7-slot-li.is-open .m7-tw-back .tw-band, .m7-slot:focus-visible .m7-tw-back .tw-band { animation: m7-twflow 1.2s linear infinite reverse; }
.m7-slot-li.is-open .m7-tw .tw-gust, .m7-slot:focus-visible .m7-tw .tw-gust { animation: m7-twgust 1.5s ease-in-out infinite; }
.m7-slot-li.is-open .m7-tw .tw-p1, .m7-slot:focus-visible .m7-tw .tw-p1 { animation: m7-twp1 1.6s linear infinite; }
.m7-slot-li.is-open .m7-tw .tw-p2, .m7-slot:focus-visible .m7-tw .tw-p2 { animation: m7-twp2 1.4s linear infinite; }
.m7-slot-li.is-open .m7-tw .tw-p3, .m7-slot:focus-visible .m7-tw .tw-p3 { animation: m7-twp3 1.8s linear infinite; }
@media (hover: hover) {
  .m7-slot-li:hover .m7-fig > img, .m7-slot-li:hover .m7-fig > .m7-fig-art { animation: var(--fx, m7-hop) var(--fxd, 0.65s) cubic-bezier(0.45, 0, 0.25, 1) both; }
  .m7-slot-li:hover .m7-flash { animation: m7-camflash 1s ease-out both; }
  .m7-slot-li:hover .m7-fig-art .fx-rays { opacity: 1; }
  .m7-slot-li:hover .m7-fig-art .fx-glow { opacity: 0.3; }
  .m7-slot-li:hover .m7-fig-art .fx-bulbfill { fill: #ffb000; }
  .m7-slot-li:hover .m7-fig-art .fx-arm0 { opacity: 0; }
  .m7-slot-li:hover .m7-fig-art .fx-write { opacity: 1; animation: m7-write-in 0.9s cubic-bezier(0.45, 0, 0.25, 1) both; }
  .m7-slot-li:hover .m7-fig-art .fx-scribble { animation: m7-scribble 1.1s ease-in-out 0.9s infinite; }
  .m7-slot-li:hover .m7-fig-art .fx-smile { animation: m7-smile 1.2s cubic-bezier(0.45, 0, 0.25, 1) both; }
  .m7-slot-li:hover .m7-fig-art .fx-cam { animation: m7-cam 1.1s cubic-bezier(0.45, 0, 0.25, 1) both; }
  .m7-slot-li:hover .m7-fig-art .fx-mouth { animation: m7-grin 1.2s cubic-bezier(0.45, 0, 0.25, 1) both; }
  .m7-slot-li:hover .m7-fig-art .fx-blink { animation: m7-blink 1.1s linear both; }
  .m7-slot-li:hover .m7-fig-art .fx-note { animation: m7-note 1.3s cubic-bezier(0.45, 0, 0.25, 1) both; }
  .m7-slot-li:hover .m7-fig-art .fx-bubble { animation: m7-bubble 0.9s cubic-bezier(0.45, 0, 0.25, 1) both; }
  .m7-slot-li:hover .m7-fig-art .fx-puppet { animation: m7-puppet 1.3s ease-in-out infinite; }
  .m7-slot-li:hover .m7-fig-art .fx-ptalk { animation: m7-ptalk 1.3s ease-in-out infinite; }
  .m7-slot-li:hover .m7-fig-art .fx-pjaw { animation: m7-pjaw 1.3s ease-in-out infinite; }
  .m7-slot-li:hover .m7-fig-art .fx-ehand { animation: m7-ehand 1.3s ease-in-out infinite; }
  .m7-slot-li:hover .m7-fig-art .fx-phand { animation: m7-phand 0.65s ease-in-out infinite; }
  .m7-slot-li:hover .m7-fig-art .fx-sly { animation: m7-sly 1.2s cubic-bezier(0.45, 0, 0.25, 1) 0.4s both; }
  .m7-slot-li:hover .m7-fig-art .fx-kup, .m7-slot-li:hover .m7-fig-art .fx-kfore, .m7-slot-li:hover .m7-fig-art .fx-kmega { transform: rotate(var(--kr, 0deg)); transition: transform 1.3s cubic-bezier(0.45, 0, 0.25, 1); }
  .m7-slot-li:hover .m7-fig-art .fx-karm0 { opacity: 0; transition-delay: 0s; }
  .m7-slot-li:hover .m7-fig-art .fx-knew { opacity: 1; transition-delay: 0s; }
  .m7-slot-li:hover .m7-fig-art .fx-karcs { animation: m7-announce 1.2s ease-in-out 1.3s infinite; }
  .m7-slot-li:hover .m7-fig-art .fx-brow { transform: translateY(-2.5px) rotate(-6deg); transition: transform 0.6s cubic-bezier(0.45, 0, 0.25, 1) 0.9s; }
  .m7-slot-li:hover .m7-tw { visibility: visible; animation: m7-twister 3s cubic-bezier(0.45, 0, 0.25, 1) both; }
  .m7-slot-li:hover .m7-tw .tw-sway { animation: m7-twsway 1.5s ease-in-out infinite; }
  .m7-slot-li:hover .m7-tw-front .tw-band, .m7-slot-li:hover .m7-tw-front .tw-halo { animation: m7-twflow 1.2s linear infinite; }
  .m7-slot-li:hover .m7-tw-back .tw-band { animation: m7-twflow 1.2s linear infinite reverse; }
  .m7-slot-li:hover .m7-tw .tw-gust { animation: m7-twgust 1.5s ease-in-out infinite; }
  .m7-slot-li:hover .m7-tw .tw-p1 { animation: m7-twp1 1.6s linear infinite; }
  .m7-slot-li:hover .m7-tw .tw-p2 { animation: m7-twp2 1.4s linear infinite; }
  .m7-slot-li:hover .m7-tw .tw-p3 { animation: m7-twp3 1.8s linear infinite; }
}
/* Reduced motion: nothing moves; the only change is a state change (the Inventor's bulb lights) */
@media (prefers-reduced-motion: reduce) {
  .m7-pop { transition: none; transform: none !important; }
  .m7-slot-li .m7-fig > *, .m7-slot-li .m7-fig-art, .m7-slot-li .m7-fig-art *, .m7-flash { animation: none !important; transition: none !important; }
  .m7-fig-art .fx-write { opacity: 0 !important; }
  .m7-fig-art .fx-arm0, .m7-fig-art .fx-karm0 { opacity: 1 !important; }
  .m7-fig-art .fx-knew { opacity: 0 !important; }
  .m7-fig-art .fx-kup, .m7-fig-art .fx-kfore, .m7-fig-art .fx-kmega, .m7-fig-art .fx-brow { transform: none !important; }
  .m7-tw { display: none !important; }
}

/* Homepage audience variants: law firm keeps legal examples; everyone else gets general ones */
html[data-aud="firm"] .aud-gen, html:not([data-aud="firm"]) .aud-law,
html:not([data-aud="business"]) .aud-biz, html[data-aud="business"] .aud-edu { display: none !important; }

/* Individual-only copy */
html:not([data-aud]) .aud-noind, html[data-aud="individual"] .aud-noind, html[data-aud]:not([data-aud="individual"]) .aud-ind { display: none !important; }

/* Host-character art used as Learn hub card icons (Use-By Date, Dial It Back) */
.game-icon-host { object-fit: contain; background: var(--grey); border-radius: 16px; }

/* ——— layered painted characters (js/seven-layered.js) ——— */
.sl { position: relative; display: inline-block; aspect-ratio: 1; line-height: 0; pointer-events: none; }
.sl > .sl-rig, .sl .sl-p { position: absolute; inset: 0; display: block; }
.sl .sl-p > img { position: absolute !important; inset: 0 !important; left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important;
  max-width: none !important; margin: 0 !important; transform: none !important; animation: none !important; filter: none !important; display: block !important; }
/* The Inventor (fabricated): origins in % of the 960 canvas */
.sl-fabricated .sl-rig { transform-origin: 50.0% 88.0%; }
.sl-fabricated .sl-rays { opacity: 0; transform-origin: 50.8% 19.2%; transform: scale(0.85); transition: opacity 0.45s ease, transform 0.45s ease; }
.sl-fabricated .sl-bulb { transform-origin: 50.8% 19.2%; filter: saturate(0.3) brightness(0.96); transition: filter 0.45s ease; }
.sl-fabricated .sl-arm { transform-origin: 33.2% 61.5%; transition: transform 0.4s ease; }
.sl-fabricated .sl-doc { transform-origin: 69.1% 67.0%; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.sl-fabricated .sl-mouth { transform-origin: 51.4% 54.6%; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.sl-fabricated .sl-lid0 { transform-origin: 45.3% 42.7%; transform: scaleY(0); animation: sl-blink 5.2s linear 1.2s infinite; }
.sl-fabricated .sl-lid1 { transform-origin: 57.3% 42.7%; transform: scaleY(0); animation: sl-blink 5.2s linear 1.2s infinite; }
:is(.sl-on, .sl-open).sl-fabricated .sl-rig { animation: sl-bob 1.6s ease-in-out infinite; }
:is(.sl-on, .sl-open).sl-fabricated .sl-rays { opacity: 1; transform: none; animation: sl-rays 1.4s ease-in-out 0.45s infinite; }
:is(.sl-on, .sl-open).sl-fabricated .sl-bulb { filter: brightness(1.12) drop-shadow(0 0 0.35em rgba(255, 196, 0, 0.85)); }
:is(.sl-on, .sl-open).sl-fabricated .sl-arm { animation: sl-write 0.9s ease-in-out 0.2s infinite; }
:is(.sl-on, .sl-open).sl-fabricated .sl-doc { transform: translateY(-1.6%) rotate(-2.5deg); }
:is(.sl-on, .sl-open).sl-fabricated .sl-mouth { transform: scale(1.2, 1.45); }
:is(.sl-on, .sl-open).sl-fabricated .sl-lid0, :is(.sl-on, .sl-open).sl-fabricated .sl-lid1 { animation: sl-blink-quick 2.6s linear 0.9s infinite; }
@keyframes sl-bob { 0%, 100% { transform: none; } 50% { transform: translateY(-1.6%); } }
@keyframes sl-rays { 0%, 100% { opacity: 1; transform: none; } 50% { opacity: 0.7; transform: scale(1.06); } }
/* pencil strokes: small rotations about the shoulder; the moving part is the raised pencil above the head line */
@keyframes sl-write { 0%, 100% { transform: rotate(0deg); } 20% { transform: rotate(-3deg) translateY(-0.3%); } 40% { transform: rotate(1.5deg); } 60% { transform: rotate(-2.5deg) translateY(-0.2%); } 80% { transform: rotate(1deg); } }
@keyframes sl-blink { 0%, 95%, 100% { transform: scaleY(0); } 97% { transform: scaleY(1); } }
@keyframes sl-blink-quick { 0%, 90%, 100% { transform: scaleY(0); } 94% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  .sl .sl-p, .sl .sl-rig { animation: none !important; transition: none !important; }
}
/* meet-seven: the layered Inventor carries its own moves, so the slot's whole-figure move is a plain bob */
.m7-slot[data-suspect="fabricated"]:has(.sl) { --fx: none; }
/* ——— the others, layered (same component; one-shot moves unless the moving part is a prop up high or off to the side) ——— */
.sl .sl-lid0, .sl .sl-lid1 { transform: scaleY(0); animation: sl-blink 5.6s linear 1.6s infinite; }
.sl-fake_quote .sl-lid0, .sl-fake_quote .sl-lid1 { transform-origin: 50% 38%; }
.sl-wrong_cite .sl-lid0, .sl-wrong_cite .sl-lid1 { transform-origin: 50% 40.3%; animation-delay: 0.7s; }
.sl-mischaracterised .sl-lid0, .sl-mischaracterised .sl-lid1 { transform-origin: 50% 42.6%; animation-delay: 2.4s; }
.sl-outdated .sl-lid0, .sl-outdated .sl-lid1 { transform-origin: 50% 41.6%; animation-delay: 3.1s; }
.sl-overconfident .sl-lid0, .sl-overconfident .sl-lid1 { transform-origin: 50% 39.8%; animation-delay: 1.1s; }
:is(.sl-on, .sl-open) .sl-lid0, :is(.sl-on, .sl-open) .sl-lid1 { animation: sl-blink-quick 2.8s linear 0.6s infinite; }

/* Ventriloquist: the speech bubble pops, the puppet tilts and talks (puppet held out at his side) */
.sl-fake_quote .sl-bubble { transform-origin: 62.5% 30.2%; }
.sl-fake_quote .sl-puppet { transform-origin: 67.7% 66.7%; }
.sl-fake_quote .sl-pmouth { transform-origin: 50% 45.8%; }
:is(.sl-on, .sl-open).sl-fake_quote .sl-bubble { animation: m7-bubble 0.9s cubic-bezier(0.45, 0, 0.25, 1) both; }
:is(.sl-on, .sl-open).sl-fake_quote .sl-puppet { animation: sl-puppet 1.3s ease-in-out infinite; }
:is(.sl-on, .sl-open).sl-fake_quote .sl-pmouth { animation: sl-talk 0.65s ease-in-out infinite; }
@keyframes sl-puppet { 0%, 100% { transform: rotate(-2deg); } 50% { transform: translateY(-0.6%) rotate(3deg); } }
@keyframes sl-talk { 0%, 100% { transform: none; } 50% { transform: scaleY(1.35) translateY(0.2%); } }

/* Misfiler: the floating note drifts, the held notes flutter once */
.sl-wrong_cite .sl-note0 { transform-origin: 67% 27.3%; }
.sl-wrong_cite .sl-note1 { transform-origin: 34% 61%; }
.sl-wrong_cite .sl-note2 { transform-origin: 65% 60%; }
.sl-wrong_cite .sl-note3 { transform-origin: 44.5% 66%; }
:is(.sl-on, .sl-open).sl-wrong_cite .sl-note0 { animation: sl-drift 2.2s ease-in-out infinite; }
:is(.sl-on, .sl-open).sl-wrong_cite .sl-note1 { animation: m7-note 1.3s cubic-bezier(0.45, 0, 0.25, 1) both; }
:is(.sl-on, .sl-open).sl-wrong_cite .sl-note2 { animation: m7-note 1.3s cubic-bezier(0.45, 0, 0.25, 1) 0.12s both; }
:is(.sl-on, .sl-open).sl-wrong_cite .sl-note3 { animation: sl-note-small 1.2s cubic-bezier(0.45, 0, 0.25, 1) 0.25s both; }
@keyframes sl-drift { 0%, 100% { transform: none; } 50% { transform: translate(0.8%, -1.2%) rotate(8deg); } }
@keyframes sl-note-small { 0%, 100% { transform: none; } 30% { transform: rotate(-3deg); } 65% { transform: rotate(2deg); } }

/* Tourist: lifts the camera (flash in Meet the characters), grins, flaps the map, the suitcase rocks once */
.sl-jurisdiction .sl-camera { transform-origin: 47% 58.3%; transition: transform 0.6s cubic-bezier(0.45, 0, 0.25, 1); }
.sl-jurisdiction .sl-mouth { transform-origin: 42.2% 54.9%; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.sl-jurisdiction .sl-map { transform-origin: 25% 62.5%; }
.sl-jurisdiction .sl-suitcase { transform-origin: 72.9% 89.6%; }
:is(.sl-on, .sl-open).sl-jurisdiction .sl-camera { transform: translateY(-2.2%) rotate(-6deg); }
:is(.sl-on, .sl-open).sl-jurisdiction .sl-mouth { transform: scale(1.15, 1.45); }
:is(.sl-on, .sl-open).sl-jurisdiction .sl-map { animation: sl-flap 1.1s ease-in-out 0.3s both; }
:is(.sl-on, .sl-open).sl-jurisdiction .sl-suitcase { animation: sl-rock 1.2s ease-in-out 0.15s both; }
@keyframes sl-flap { 0%, 100% { transform: none; } 35% { transform: rotate(-6deg); } 70% { transform: rotate(2deg); } }
@keyframes sl-rock { 0%, 100% { transform: none; } 30% { transform: rotate(3deg); } 60% { transform: rotate(-1.5deg); } 85% { transform: rotate(0.6deg); } }

/* Spin Doctor: waves his paper overhead and gives a sly look (the twister is drawn by meet-seven) */
.sl-mischaracterised .sl-arm { transform-origin: 67.2% 52.1%; }
.sl-mischaracterised .sl-mouth { transform-origin: 48.3% 55.6%; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.3s; }
:is(.sl-on, .sl-open).sl-mischaracterised .sl-arm { animation: sl-wave 1.1s ease-in-out infinite; }
:is(.sl-on, .sl-open).sl-mischaracterised .sl-mouth { transform: translateX(0.3%) rotate(-7deg) scale(1.1, 1.2); }
@keyframes sl-wave { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(7deg); } }

/* Time Traveller: the pocket watch swings once, the old notice flutters */
.sl-outdated .sl-watch { transform-origin: 58.9% 49.5%; }
.sl-outdated .sl-paper { transform-origin: 28.6% 65.6%; }
:is(.sl-on, .sl-open).sl-outdated .sl-watch { animation: sl-swing 1.6s ease-in-out both; }
:is(.sl-on, .sl-open).sl-outdated .sl-paper { animation: m7-note 1.3s cubic-bezier(0.45, 0, 0.25, 1) 0.2s both; }
@keyframes sl-swing { 0%, 100% { transform: none; } 22% { transform: rotate(6deg); } 48% { transform: rotate(-4deg); } 72% { transform: rotate(2deg); } 88% { transform: rotate(-0.8deg); } }

/* Know-It-All: brows up, smug smile, flag flutters overhead */
.sl-overconfident .sl-brows { transition: transform 0.6s cubic-bezier(0.45, 0, 0.25, 1) 0.2s; }
.sl-overconfident .sl-mouth { transform-origin: 48.4% 47.4%; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.sl-overconfident .sl-flag { transform-origin: 72.9% 35%; }
:is(.sl-on, .sl-open).sl-overconfident .sl-brows { transform: translateY(-0.9%); }
:is(.sl-on, .sl-open).sl-overconfident .sl-mouth { transform: scale(1.18, 1.3); }
:is(.sl-on, .sl-open).sl-overconfident .sl-flag { animation: sl-flutter 0.9s ease-in-out infinite; }
@keyframes sl-flutter { 0%, 100% { transform: none; } 50% { transform: skewY(-6deg) scaleX(0.94); } }

/* Learn hub: flagship game card (The Lost Archive) */
.game-card.is-flagship { box-shadow: 0 0 0 2px #ff6a00, 0 10px 30px rgba(255, 106, 0, 0.18); background: linear-gradient(180deg, #fff7ec, #fff); }
.game-card-flag { display: inline-block; align-self: flex-start; margin: 0.2rem 0 0.1rem; padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, #e10600, #ff6a00, #ffb000); }
.hero-eyebrow:empty { display: none; }
.hero-lead:empty { display: none; }
.hero-showcase .aud-points { margin-top: 14px; }

/* Hero (all audiences): "before it matters." in black, same size; hide empty eyebrow/meta/support lines */
html .hero h1 .hero-tail { color: #000; -webkit-text-fill-color: #000; background: none; font-size: 1em; }
.hero .hero-meta:empty, .hero .hero-eyebrow:empty, .hero .hero-lead:empty { display: none; }
/* Hero points: balanced 2x2 grid on desktop, single column on mobile */
.hero .aud-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 42rem; gap: 0.55rem 0.6rem; }
.hero .aud-points li { text-align: center; white-space: nowrap; }
html[data-aud="firm"] .hero .aud-points { max-width: 48rem; }
@media (max-width: 640px) {
  .hero .aud-points { grid-template-columns: 1fr; max-width: 22rem; }
  .hero .aud-points li { white-space: normal; }
}
.hero .aud-points[hidden] { display: none; }
html .hero .hero-sub { color: #5f6368; font-weight: 500; }

/* Homepage Interactive learning carousel: compact cards (more visible at once) */
#learn-by-playing .carousel { --slide-w: 72%; --gap: 0.75rem; }
@media (min-width: 640px) { #learn-by-playing .carousel { --slide-w: 37%; --gap: 0.85rem; } }
@media (min-width: 1000px) { #learn-by-playing .carousel { --slide-w: 23.5%; --gap: 0.9rem; } }
#learn-by-playing .games-strip-tile { padding: 1rem; gap: 0.35rem; border-radius: 18px; }
#learn-by-playing .games-strip-tile .game-icon { width: 48px; height: 48px; margin-bottom: 0.2rem; }
#learn-by-playing .game-icon-host { border-radius: 12px; }
#learn-by-playing .games-strip-tile h3 { font-size: 0.98rem; line-height: 1.25; }
#learn-by-playing .games-strip-tile p { font-size: 0.84rem; line-height: 1.38; }
#learn-by-playing .games-strip-meta { font-size: 0.68rem; }

/* Homepage Interactive learning: Option B gradient cards + simplified nav (2026-10-11) */
#learn-by-playing .games-strip-tile { border: 0; color: #fff; }
#learn-by-playing .games-strip-tile h3 { color: #fff; }
#learn-by-playing .games-strip-tile p { color: rgba(255,255,255,0.94); }
#learn-by-playing .games-strip-meta { align-self: flex-start; color: #fff; background: rgba(0,0,0,0.28); padding: 0.25rem 0.6rem; border-radius: 999px; }
#learn-by-playing .carousel-slide:nth-child(6n+1) .games-strip-tile { background: linear-gradient(135deg,#c40000,#ff2d00 60%,#ff6a00); }
#learn-by-playing .carousel-slide:nth-child(6n+2) .games-strip-tile { background: linear-gradient(135deg,#e10600,#ff6a00); }
#learn-by-playing .carousel-slide:nth-child(6n+3) .games-strip-tile { background: linear-gradient(135deg,#b83a00,#e06a00 55%,#e89000); }
#learn-by-playing .carousel-slide:nth-child(6n+4) .games-strip-tile { background: linear-gradient(135deg,#9d1457,#e11d48 60%,#ff5a3c); }
#learn-by-playing .carousel-slide:nth-child(6n+5) .games-strip-tile { background: linear-gradient(135deg,#5b21b6,#a21caf 55%,#f97316); }
#learn-by-playing .carousel-slide:nth-child(6n+6) .games-strip-tile { background: linear-gradient(135deg,#0f3d6e,#0369a1 50%,#f59e0b); }
#learn-by-playing .carousel-controls { gap: 0.6rem; max-width: 100%; margin-top: 0.6rem; }
#learn-by-playing .carousel-btn { width: 36px; height: 36px; border: 0; background: none; border-radius: 6px; color: #1d1d1f; opacity: 0.7; }
#learn-by-playing .carousel-btn:hover { opacity: 1; }
#learn-by-playing .carousel-btn svg path { stroke-width: 1.5; }
#learn-by-playing .carousel-dot { width: 18px; height: 32px; border-radius: 4px; }
#learn-by-playing .carousel-dot-mark { width: 6px; height: 6px; }
#learn-by-playing .carousel-dot.is-active .carousel-dot-mark { width: 16px; border-radius: 3px; background: #e10600; }
#learn-by-playing .carousel-dot.is-active { width: 26px; }

/* AI Check live results (js/check-api.js) */
.check-live-green { background: rgba(22,163,74,0.15); border-color: #16a34a; }
.check-live-amber { background: rgba(217,119,6,0.15); border-color: #d97706; }
.check-live-red { background: rgba(220,38,38,0.15); border-color: #dc2626; }
mark.check-live-green, mark.check-live-amber, mark.check-live-red { border-bottom: 2px solid; padding: 0 2px; }
article.check-live-green, article.check-live-amber, article.check-live-red { border-left: 4px solid; background: inherit; }
article.check-live-green { border-left-color: #16a34a; } article.check-live-amber { border-left-color: #d97706; } article.check-live-red { border-left-color: #dc2626; }
.check-live-badge-green { background: #16a34a; color: #fff; } .check-live-badge-amber { background: #d97706; color: #fff; } .check-live-badge-red { background: #dc2626; color: #fff; }
.check-live-tag { background: #fee2e2; color: #991b1b; font-weight: 700; }

/* About: Shane Cooper profile photo */
.about-photo.has-photo { background: none; border: 0; padding: 0; aspect-ratio: 1 / 1; max-width: 340px; width: 100%; margin-inline: auto; border-radius: 24px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,0,0,0.18); }
.about-photo.has-photo picture, .about-photo.has-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
@media (max-width:760px){ .about-photo.has-photo { max-width: 240px; } }

/* ===== Integrations — Option D (scoped) ===== */
#integrations .ig-split{display:grid;grid-template-columns:1fr 1.15fr;gap:60px;align-items:center}
#integrations .ig-copy{min-width:0}
#integrations .ig-eyebrow{display:inline-block;background:var(--accent-grad);color:#fff;font-size:.75rem;font-weight:700;padding:5px 12px;border-radius:99px}
#integrations .ig-copy h2{font-size:3.2rem;line-height:1.05;letter-spacing:-.03em;margin:14px 0}
#integrations .ig-lead{font-size:1.15rem;color:var(--muted);margin:0}
#integrations .ig-list{list-style:none;padding:0;margin:26px 0}
#integrations .ig-list li{display:flex;gap:12px;align-items:center;margin:12px 0;font-weight:500}
#integrations .ig-tick{width:28px;height:28px;border-radius:50%;background:var(--accent-grad);display:flex;align-items:center;justify-content:center;flex:none}
#integrations .ig-tick svg{width:16px;height:16px;position:static}
#integrations .ig-lms{display:flex;flex-wrap:wrap;gap:8px 18px;color:var(--muted)}
#integrations .ig-lms b{font-weight:800;letter-spacing:-.02em}
#integrations .ig-visual{min-width:0}
#integrations .ig-course{background:#fff;border-radius:20px;box-shadow:var(--shadow-lg);overflow:hidden;border:1px solid var(--grey-mid);transform:perspective(1400px) rotateY(-6deg)}
#integrations .ig-top{background:#2d3b45;color:#fff;padding:14px 20px;display:flex;gap:14px;align-items:center;flex-wrap:wrap}
#integrations .ig-top span{opacity:.7;font-size:.85rem}
#integrations .ig-body{display:grid;grid-template-columns:140px 1fr}
#integrations .ig-side{background:var(--grey);padding:16px}
#integrations .ig-side i{display:block;font-style:normal;font-size:.85rem;padding:8px;color:var(--ink-soft)}
#integrations .ig-side i.on{border-left:3px solid #e10600;font-weight:700}
#integrations .ig-main{padding:22px;min-width:0}
#integrations .ig-main h4{margin:0 0 12px}
#integrations .ig-item{padding:12px;border:1px solid var(--grey-mid);border-radius:10px;font-size:.88rem;margin:10px 0}
#integrations .ig-card{border-radius:16px;padding:20px;background:var(--accent-grad);color:#fff;box-shadow:0 14px 34px rgba(225,6,0,.3)}
#integrations .ig-ch{display:flex;gap:10px;align-items:center}
#integrations .ig-cl{width:40px;height:40px;border-radius:10px;background:rgba(255,255,255,.22);display:flex;align-items:center;justify-content:center;flex:none}
#integrations .ig-cl svg{position:static}
#integrations .ig-ch small{display:block;opacity:.85;font-size:.75rem}
#integrations .ig-card h3{margin:14px 0 4px;color:#fff}
#integrations .ig-card p{margin:0;opacity:.95;font-size:.9rem;color:#fff}
#integrations .ig-cm{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;margin-top:14px;font-size:.8rem}
#integrations .ig-launch{margin-left:auto;background:#fff;color:#e10600;font-weight:700;padding:8px 16px;border-radius:99px}
#integrations .ig-foot{font-size:.9rem;margin-top:40px}
@media (max-width:960px){
#integrations .ig-split{grid-template-columns:1fr;gap:40px}
#integrations .ig-course{transform:none}
}
@media (max-width:600px){
#integrations .ig-copy h2{font-size:2.2rem}
#integrations .ig-body{grid-template-columns:1fr}
#integrations .ig-side{display:none}
#integrations .ig-main{padding:16px}
#integrations .ig-launch{margin-left:0}
}

/* ——— AI Accuracy Lab V5 logo (header/footer) ——— */
.brand.brand-logo-link { gap: 0; line-height: 0; flex-shrink: 0; }
.brand-logo-img { display: block; height: 36px; width: auto; }
.footer-logo { display: inline-block; margin-bottom: 0.75rem; line-height: 0; }
.footer-logo img { display: block; height: 36px; width: auto; }
@media (max-width: 600px) { .brand-logo-img { height: 32px; } }

/* Extra breathing room above "Built to make verification instinctive" */
#features, #integrations { padding-top: 4.5rem; }
@media (max-width: 768px) { #features, #integrations { padding-top: 3rem; } }
@media (max-width: 480px) { #features, #integrations { padding-top: 2.5rem; } }

/* Simplified "Plugs into your platform" block */
#integrations { padding-bottom: 4.5rem; }
.ig-simple { max-width: 42rem; margin: 0 auto; text-align: center; }
.ig-simple .ig-eyebrow { display: inline-block; margin-bottom: 1rem; }
#integrations .ig-simple h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 1rem; }
.ig-simple .ig-lead { margin: 0 auto; }
@media (max-width: 768px) { #integrations { padding-bottom: 3rem; } }
/* Oct 2026: name plates sit below the feet, so the hand-held straps are retired */
.m7-straps { display: none; }

/* =====================================================================
   Brand style guide alignment (Oct 13, 2026): typography, colour usage, gradient rules.
   Overrides only; the Lost Archive theme (css/lost-archive.css) is untouched.
   ===================================================================== */
:root { --text-grad: linear-gradient(100deg, #e10600 0%, #ff6a00 100%); --ink-2: #424245; --muted: #6e6e73; --focus: #e10600; }
body { font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.55; font-weight: 400; }
/* type scale (~1.25 ratio, rem so text respects zoom) */
h1 { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.hero h1.hero-rotate-h1 { letter-spacing: -0.02em; }
.m7-title { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
h2, .section-title h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 600; }
.hero-sub, .lede, .section-title p, .page-header p, .m7-lead, .ig-lead { font-size: clamp(1.125rem, 1.6vw, 1.25rem); line-height: 1.5; font-weight: 400; letter-spacing: 0; }
p { line-height: 1.55; }
p, .hero-sub, .lede, .section-title p, .page-header p, .m7-lead, .ig-lead { max-width: 65ch; }
small, .text-small, .caption { font-size: 0.875rem; }
.hero-eyebrow, .bt-kicker, .m7-eyebrow, .learn-step-eyebrow, .eyebrow { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.btn { font-size: 1rem; font-weight: 600; min-height: 44px; }
.btn-sm { min-height: 44px; }
[style*="justify"] { text-align: left !important; }
/* centred only for short intros: keep centred section intros, but cap their width */
.section-title p, .text-center p { margin-left: auto; margin-right: auto; }
/* colour: text on light backgrounds */
.text-muted { color: var(--muted); }
main p a:not(.btn), .page p a:not(.btn), .legal p a { color: #e10600; text-decoration: underline; text-underline-offset: 0.18em; }
.hero-check a { text-decoration-color: #e10600; }
/* gradient text: red to orange only, headlines only, charcoal fallback */
.gradient-text, .m7-title span, #seven-mistakes h2 em, .enq-intro h1 span {
  color: #1d1d1f; background: var(--text-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .gradient-text, .m7-title span, #seven-mistakes h2 em, .enq-intro h1 span { background: none; color: #1d1d1f; -webkit-text-fill-color: #1d1d1f; } }
/* never gradient eyebrows or small text */
.m7-eyebrow, .about-role { background: none; -webkit-text-fill-color: currentColor; color: #e10600; }
/* small orange text on dark boxes: orange is for large headlines only, use bright yellow */
.mistake-meet-go, .m7-ck-n, .m7-ck-risk b, .m7-n, .m7-board .b-ck, .m7-pop .p-ck { color: #ffc400; }
.m7-live, .m7-board .b-type, .m7-pop .p-type, .m7-charge span, .mistake-meet .bt-kicker, .section-dark .bento-tile .bt-kicker { color: #ffc400; }
/* primary CTA: original red/orange/yellow gradient with moving shine (restored 13 Oct); white text with shadow for legibility */
.btn-primary, .nav-cta { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }
.btn-primary:hover, .nav-cta:hover { color: #fff; box-shadow: 0 10px 30px rgba(225, 6, 0, 0.45); }
/* visible focus ring on all interactive elements */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.section-dark a:focus-visible, .section-dark button:focus-visible, .m7-box a:focus-visible { outline-color: #ffc400; }
/* cards and borders */
.card, .bento-tile { border-radius: 20px; }
.card { border-color: #d2d2d7; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }

/* =====================================================================
   Dark-background rule (Oct 13, 2026): on black, charcoal or grey, text, links, eyebrows,
   meaningful icons and focus rings are ONLY white or bright yellow #ffc400, at every size.
   ===================================================================== */
:root { --on-dark: #ffffff; --on-dark-accent: #ffc400; }
.site-footer, .site-footer p, .site-footer span, .site-footer li, .site-footer a, .site-footer small, .footer-legal-links,
.section-dark p, .section-dark li, .section-dark span:not(.btn), .muted-on-dark,
.mistake-meet, .mistake-meet p, .mistake-meet li, .m7-box p, .m7-box h3, .m7-box h4, .m7-ck-desc, .m7-ck-risk, .m7-ck-name,
.m7-end, .m7-end p, .m7-end-msg, .m7-end h2, .m7-band, .m7-board, .m7-board span, .m7-pop, .m7-pop span, .m7-charge,
.learn-meet-face-name, .games-strip-meta { color: #fff; -webkit-text-fill-color: currentColor; background-clip: border-box; -webkit-background-clip: border-box; }
.site-footer a:hover, .site-footer a:focus-visible, .section-dark a:not(.btn):hover, .mistake-meet a:hover, .m7-box a:hover, .m7-end a:not(.btn):hover { color: #ffc400; text-decoration: underline; }
.site-footer h4, .section-dark h2, .section-dark h3 { color: #fff; }
/* accents on dark: bright yellow only (no red, orange, amber or gradient) */
.section-dark .bt-kicker, .mistake-meet .bt-kicker, .m7-box .bt-kicker, .m7-end .m7-eyebrow, .m7-live, .m7-ck-tag, .m7-ck-n, .m7-n, .m7-ck-risk b,
.mistake-meet-go, .m7-board .b-type, .m7-board .b-ck, .m7-pop .p-type, .m7-pop .p-ck, .m7-charge span,
.m7-band .m7-live, .m7-ref { color: #ffc400 !important; -webkit-text-fill-color: #ffc400; background: none; }
.m7-ck-tag { background: rgba(255, 196, 0, 0.12); border-color: rgba(255, 196, 0, 0.4); }
/* outline buttons on dark: white text and border */
.section-dark .btn-outline, .mistake-meet .btn-outline, .m7-box .btn-outline { color: #fff !important; border-color: #fff !important; background: transparent; }
.section-dark .btn-outline:hover, .mistake-meet .btn-outline:hover { color: #1d1d1f !important; background: #ffc400; border-color: #ffc400 !important; }
/* focus on dark: yellow ring */
.site-footer :focus-visible, .section-dark :focus-visible, .mistake-meet :focus-visible, .m7-box :focus-visible, .m7-end :focus-visible,
.m7-wall :focus-visible, .m7-slot:focus-visible, .arc :focus-visible, .arc-overlay :focus-visible { outline: 3px solid #ffc400 !important; outline-offset: 3px; }
/* light-background marks inside dark cards keep their own dark text */
.m7-example mark, .m7-example em { color: inherit; }

/* ---------- Character motion (approved Oct 13, 2026): A breathing + E signatures, subtle ---------- */
@keyframes avt-breathe { 0%, 100% { transform: none; } }  /* no scale: characters never grow/shrink (Shane, 14 Oct 2026) */
@keyframes avt-sway { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }
@keyframes avt-nudge { 0%, 72%, 100% { transform: translateX(0) rotate(0); } 78% { transform: translateX(1.2%) rotate(1.4deg); } 84% { transform: translateX(0) rotate(0); } }
@keyframes avt-glow { 0%, 100% { opacity: 0.2; transform: scale(0.85); } 50% { opacity: 0.9; transform: scale(1.12); } }
@keyframes avt-z { 0% { opacity: 0; transform: translate(0, 0) scale(0.7); } 20% { opacity: 0.85; } 100% { opacity: 0; transform: translate(-60%, -130%) scale(1.1); } }
img.avt-anim { transform-origin: 50% 88%; }
/* Spin Doctor stays still: no sway (Shane, Oct 14, 2026); his tornado spins round him instead (char-motion.js) */
/* 23 Oct 2026: Smooth Talker idle nudge removed: every character is still until hovered, tapped or focused (play-once, js/char-motion.js). Was: img.avt-anim[data-avt="overconfident"] { animation: avt-nudge 4.6s ease-in-out infinite; animation-delay: 1.2s; } */
.avt-fx { position: absolute; pointer-events: none; z-index: 2; }
.avt-fx-glow { border-radius: 50%; background: radial-gradient(circle, rgba(255, 196, 0, 0.85) 0%, rgba(255, 176, 0, 0.35) 45%, rgba(255, 176, 0, 0) 70%); animation: avt-glow 3s ease-in-out infinite; }
.avt-fx-z { font-weight: 800; line-height: 1; color: #6e6e73; opacity: 0; animation: avt-z 4.5s ease-out infinite; }
.section-dark .avt-fx-z, .m7-box .avt-fx-z, .mistake-meet .avt-fx-z, .m7-end .avt-fx-z, .arc .avt-fx-z { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  img.avt-anim, .avt-fx { animation: none !important; }
  .avt-fx { display: none; }
}
.m7-box .m7-ck-desc, .m7-box .m7-ck-risk, .m7-box p, .mistake-meet p, .section-dark .muted-on-dark, .section-dark p.muted-on-dark { color: #fff !important; }
.oc-pill input:checked + span small { color: #fff; }
.oc-pill input:checked:focus-visible + span { outline-color: #ffc400; }
.section-dark p, .section-dark .bento-tile p { color: #fff !important; }
/* any remaining element styled with --ocean focus inside dark: yellow */

/* ——— Hero headline rhythm fix (13 Oct 2026): every line, including the rolling word, sits on the same
   1.08em line box at every breakpoint. The rotator is exactly one line tall; clip-path (not overflow)
   hides the roll while leaving room for ascenders/descenders, so nothing shifts as words change. */
.hero h1.hero-rotate-h1, .hero h1.hero-rotate-h1 .hero-h1-visual { line-height: 1.08; }
.hero h1 .hero-rotator { height: 1.08em; line-height: 1.08em; padding: 0; overflow: visible; clip-path: inset(-0.12em -100vw -0.22em -100vw); }
.hero h1 .hero-fit { line-height: 1.08em; height: 1.08em; vertical-align: top; }
.hero h1 .hero-word { line-height: inherit; padding-bottom: 0; }
.hero h1 .hero-tail, html .hero h1 .hero-tail { line-height: 1.08; margin-top: 0; }

/* ——— "One checklist for every risk": Concept C (13 Oct 2026), light split layout ———
   Panel version (business, law firm, university): one white panel with a gradient top edge and Lucide icons.
   Cast version (individual): clay character cards. No dark backgrounds; charcoal/grey text; red only for small labels. */
.mistakes-grid-solo .ckc { grid-column: 1 / -1; }
.ckc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; text-align: left; position: relative; }
.ckc.ckc-is-cast { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.ckc-intro { position: sticky; top: 6rem; padding-top: 0.5rem; }
.ckc-kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #e10600; margin: 0 0 0.75rem; }
.ckc-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; color: #1d1d1f; margin: 0 0 1rem; }
.ckc-grad { background: linear-gradient(100deg, #e10600, #ff6a00); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) { .ckc-grad { color: #1d1d1f; -webkit-text-fill-color: #1d1d1f; } }
.ckc-lead { font-size: 1.125rem; line-height: 1.5; color: #424245; max-width: 60ch; margin: 0; }
.ckc-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.ckc-ctas .btn { min-height: 48px; }
.ckc-link { color: #1d1d1f; font-weight: 600; text-decoration: underline; text-underline-offset: 0.25em; min-height: 44px; display: inline-flex; align-items: center; }
.ckc-link:hover { color: #e10600; }
.ckc-panel { background: #fff; border: 1px solid #d2d2d7; border-radius: 20px; box-shadow: 0 10px 40px rgba(29, 29, 31, 0.07); overflow: hidden; }
.ckc-panel::before { content: ""; display: block; height: 6px; background: linear-gradient(100deg, #e10600, #ff6a00, #ffb000); }
.ckc-list { list-style: none; margin: 0; padding: 0.5rem 2rem; }
.ckc-item { display: flex; gap: 1.25rem; padding: 1.35rem 0; border-top: 1px solid #ececf0; }
.ckc-item:first-child { border-top: 0; }
.ckc-ico { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #fff4ea; border: 1px solid #ffd9b8; color: #1d1d1f; }
.ckc-name { font-size: 1.25rem; line-height: 1.3; font-weight: 600; color: #1d1d1f; margin: 0 0 0.35rem; }
.ckc-desc { font-size: 1rem; line-height: 1.55; color: #424245; margin: 0; max-width: 60ch; }
.ckc-risk { font-size: 0.9375rem; line-height: 1.5; color: #424245; margin: 0.6rem 0 0; }
.ckc-risk b { color: #e10600; font-weight: 600; }
.ckc-cast { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.125rem; }
.ckc-char { background: #fff; border: 1px solid #d2d2d7; border-radius: 20px; box-shadow: 0 6px 24px rgba(29, 29, 31, 0.06); overflow: hidden; }
.ckc-art { aspect-ratio: 1 / 1; background: #fff; border-bottom: 1px solid #d2d2d7; display: grid; place-items: center; }
.ckc-art img { width: 88%; height: 88%; object-fit: contain; display: block; }
.ckc-body { padding: 1rem 1.125rem 1.25rem; }
.ckc-who { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #e10600; margin: 0 0 0.3rem; }
.ckc-char .ckc-name { font-size: 1.0625rem; }
.ckc-char .ckc-desc { font-size: 0.9375rem; }
@media (max-width: 960px) {
  .ckc, .ckc.ckc-is-cast { grid-template-columns: minmax(0, 1fr); }
  .ckc-intro { position: static; }
  .ckc-cast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .ckc-list { padding: 0.25rem 1.25rem; }
  .ckc-item { gap: 1rem; }
  .ckc-ico { width: 40px; height: 40px; }
  .ckc-cast { gap: 0.75rem; }
  .ckc-body { padding: 0.75rem 0.875rem 1rem; }
}

/* v6 character signatures (Oct 14, 2026): Misfiler, Tourist, Smooth Talker. Overlay added by js/char-motion.js. */
@keyframes avt-v6-in { 0%,13% { opacity: 0; } 17%,72% { opacity: 1; } 76%,100% { opacity: 0; } }
@keyframes avt-v6-out { 0%,14% { opacity: 1; } 18%,71% { opacity: 0; } 75%,100% { opacity: 1; } }
.avt-sig { position: absolute; z-index: 1; pointer-events: none; display: block; transform-origin: 50% 88%; }
.avt-sig > img, .avt-sig-k, .avt-sig-k > img, .avt-sig-k > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; max-width: none; }
.avt-sig-o { transform-origin: 50% 88%; animation: avt-v6-out 7s cubic-bezier(.45,0,.55,1) infinite; animation-delay: var(--sig-d, 0s); }
.avt-sig-k { opacity: 0; transform-origin: 50% 88%; animation: avt-v6-in 7s cubic-bezier(.45,0,.55,1) infinite; animation-delay: var(--sig-d, 0s); }
img.avt-anim.avt-sig-base { opacity: 0 !important; }
@media (prefers-reduced-motion: reduce) { .avt-sig { display: none !important; } img.avt-anim.avt-sig-base { opacity: 1 !important; } }

.avt-spin { position: absolute; z-index: 1; pointer-events: none; display: block; }
.avt-spin > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (prefers-reduced-motion: reduce) { .avt-spin { display: none !important; } }

.m7-num { display: none !important; }   /* character numbers removed (Shane, Oct 14, 2026) */

/* ——— Learn page (20261014L1): Step 1 error-type list; characters small, static memory aids ——— */
.learn-learn { padding: 1.5rem 1.6rem; }
.learn-learn h2 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.35rem; }
.learn-err-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0.75rem; }
.learn-err { display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.9rem 1rem; border: 1px solid #d2d2d7; border-radius: 12px; background: #fff; }
.learn-err h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; margin: 0 0 0.25rem; }
.learn-err-art { width: 48px; height: 48px; flex: none; object-fit: contain; transform: none !important; animation: none !important; }
.learn-err-what { margin: 0 0 0.35rem; font-size: 0.9375rem; color: #424245; line-height: 1.45; }
.learn-err-check { margin: 0; font-size: 0.875rem; color: #6e6e73; }
.learn-err-check strong { color: #1d1d1f; font-weight: 600; }
.learn-err-more { margin: 1rem 0 0; }
.learn-err-more a { color: #e10600; font-weight: 600; }
#learn .learn-step-title, #mini-lessons .learn-step-title, .learn-games-title { text-align: left; }
#mini-lessons .learn-step-title p, .learn-games-title p { margin-left: 0; max-width: 65ch; }
#mini-lessons .learn-type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0.75rem; }
#mini-lessons .learn-type-card { margin: 0; height: 100%; }

/* ===== 2026-10-15 handoff: site-wide button rules (brief §2.3) — yellow primary, no glows/gradients/shadows ===== */
/* 24 Oct 2026 (QA must-fix 1, Coop approved): primary buttons use the cta.css gradient (was flat #FFC21A !important, which beat .btn-grad). */
.btn-primary,.btn-gold,.nav-cta{background:linear-gradient(95deg,#FFD60A 0%,#FFD60A 55%,#FF8A00 80%,#F2501E 100%)!important;background-origin:border-box!important;color:#1D1D1F!important;box-shadow:none!important;border-color:transparent!important;text-shadow:none!important}
.btn-primary:hover,.btn-gold:hover,.nav-cta:hover{background:linear-gradient(95deg,#FFD60A 0%,#FFD60A 55%,#FF8A00 80%,#F2501E 100%)!important;color:#1D1D1F!important;border-color:#1D1D1F!important;box-shadow:inset 0 0 0 1px #1D1D1F!important}
.btn:not(.btn-primary):not(.btn-gold):not(.btn-grad),.btn-outline,.btn-ghost{box-shadow:none!important;background-image:none!important;filter:none!important}
.btn::before,.btn::after{display:none!important}
/* new wordmark 2026-10-16 (mockup) */ img[src*="logo-wordmark"]{height:30px!important;width:auto!important;max-width:100%} @media (max-width:720px){img[src*="logo-wordmark"]{height:24px!important}}
/* footer logo ~1/3 smaller (Shane, 23 Oct 2026). Overrides the wordmark rule above in footers only (incl. the white wordmark):
   30px -> 20px tall (~227 -> ~151px wide); mobile 24px -> 16px (~182 -> ~121px wide). */
footer img[src*="logo-wordmark"]{height:20px!important} @media (max-width:720px){footer img[src*="logo-wordmark"]{height:16px!important}}

/* Headline end mark = gradient ball (brand rule, Shane 23 Oct 2026): see css/hball.css (linked on every page by handoff-build/headdot.py). */
/* Status text contrast and no-greens rule (site check 31 Oct 2026) */
.stat-card .sub{color:#1D1D1F}
.review-item.hit{border-left-color:#1D1D1F}
.review-item.hit .review-status{color:#1D1D1F}
.review-item.miss .review-status{color:#C2410C}
.score-pill.high{background:#F2F2F4;color:#1D1D1F}
.score-pill.mid{background:#FFF4E5;color:#9A3412}
