:root {
  color-scheme: light;
  --mr-navy: #10243f;
  --mr-navy-2: #17365c;
  --mr-gold: #f0c95a;
  --mr-gold-dark: #9b7130;
  --mr-purple: #6d4bb3;
  --mr-purple-dark: #4b2f83;
  --mr-cream: #fbf7ed;
  --ink: #17202c;
  --muted: #5d6a78;
  --navy: var(--mr-navy);
  --navy-2: var(--mr-navy-2);
  --cream: var(--mr-cream);
  --paper: #ffffff;
  --line: #d9e0e7;
  --gold: var(--mr-gold);
  --gold-dark: var(--mr-gold-dark);
  --purple: var(--mr-purple);
  --purple-dark: var(--mr-purple-dark);
  --teal: var(--mr-purple);
  --teal-dark: var(--mr-purple-dark);
  --shadow: 0 24px 60px rgba(16, 36, 63, .14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cream);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(240, 201, 90, .24), transparent 34rem),
    radial-gradient(circle at 92% 18%, rgba(109, 75, 179, .12), transparent 28rem),
    linear-gradient(180deg, #fffaf0 0%, #f7f4fb 48%, #fff 100%);
}

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

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 224, 231, .78);
  background: rgba(251, 247, 237, .92);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(1320px, calc(100% - 36px));
  margin: 0 auto;
}

.section,
.hero-inner,
.hero-grid,
.hero-preview-wide {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.nav-wrap {
  min-height: 64px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 1 auto;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: .01em;
}

.brand-icon {
  width: clamp(56px, 5vw, 70px);
  height: clamp(56px, 5vw, 70px);
  flex: 0 0 auto;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 5px 10px rgba(16, 36, 63, .16));
}

.brand-logo {
  width: clamp(320px, 32vw, 420px);
  height: auto;
  margin: -30px 0;
  object-fit: contain;
  object-position: left center;
  clip-path: inset(20% 0 20% 0);
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 0 rgba(16, 36, 63, .16));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: 28px;
  flex-wrap: nowrap;
  flex: 0 0 auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
}

.nav-links a {
  padding: 8px 11px;
  border-radius: 8px;
  color: #304154;
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--navy);
  background: rgba(109, 75, 179, .1);
  outline: none;
}

.nav-links .nav-cta {
  margin-left: 6px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(16, 36, 63, .18);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  color: #fff;
  background: var(--navy-2);
}

@media (min-width: 961px) and (max-width: 1100px) {
  .brand-logo {
    width: 260px;
  }

  .nav-links {
    gap: 4px;
    margin-left: 10px;
  }

  .nav-links a {
    padding-inline: 7px;
    font-size: .9rem;
  }

  .nav-links .nav-cta {
    margin-left: 2px;
  }
}

.hero {
  padding: 51px 0 37px;
}

.hero-inner,
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  gap: 42px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--purple-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  line-height: .94;
}

.hero-copy h1 {
  font-size: clamp(2.16rem, 6.4vw, 4.64rem);
}

.page-title {
  font-size: clamp(2.45rem, 6vw, 4.6rem);
}

.research-title {
  font-size: clamp(1.95rem, 4.1vw, 3.15rem);
}

h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.2;
}

.card h2,
.note-card h2 {
  font-size: 1.35rem;
  line-height: 1.18;
}

p {
  color: var(--muted);
  line-height: 1.68;
}

.subtitle {
  max-width: 760px;
  margin: 18px 0 0;
  color: #26374a;
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  line-height: 1.3;
}

.lede {
  max-width: 720px;
  margin: 20px 0 0;
  font-size: 1.08rem;
}

.citation {
  color: #586a78;
  font-size: .92em;
  font-weight: 650;
}

.research-pill {
  width: fit-content;
  margin: 22px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(109, 75, 179, .28);
  border-radius: 999px;
  color: var(--purple-dark);
  background: rgba(109, 75, 179, .09);
  font-size: .9rem;
  font-weight: 850;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(16, 36, 63, .2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--navy-2);
  outline: none;
}

.button-secondary {
  color: var(--navy);
  border-color: #cbd6df;
  background: rgba(255, 255, 255, .78);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--purple);
  outline: none;
}

.hero-card,
.hero-summary-card,
.panel,
.card,
.feature-card,
.note-card {
  border: 1px solid rgba(217, 224, 231, .92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
}

.hero-card,
.hero-summary-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.hero-card::before,
.hero-summary-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
}

.asset-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
}

.asset-row img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 3px 5px rgba(16, 36, 63, .18));
}

.asset-row img:last-child {
  width: 32px;
  height: 32px;
}

.hero-summary-card h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
}

.hero-summary-card p {
  margin: 16px 0 0;
}

.mission-preview,
.summary-steps {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.mission-row,
.summary-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e5ebf1;
  border-radius: 8px;
  background: #f9fbfd;
}

.mission-step,
.summary-step span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--purple-dark);
  background: rgba(109, 75, 179, .12);
  font-weight: 900;
}

.hero-preview-wide {
  width: min(1120px, calc(100% - 36px));
  margin-top: 18px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  align-items: stretch;
  border: 1px solid rgba(240, 201, 90, .46);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 42px rgba(12, 31, 54, .13);
}

.preview-quad {
  max-width: 1050px;
}

.preview-gif-row {
  display: flex;
  gap: 12px;
  align-items: center;
  overflow-x: auto;
  padding: 8px;
  scrollbar-color: rgba(109, 75, 179, .45) rgba(255, 255, 255, .55);
}

.preview-frame {
  flex: 0 0 auto;
  overflow: hidden;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 42, 70, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 30px rgba(12, 31, 54, .14);
}

.preview-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(12px, 2vw, 24px);
  border: 1px solid rgba(109, 75, 179, .16);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(251, 247, 237, .9), rgba(255, 255, 255, .96));
}

.preview-label {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 8px 10px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(109, 75, 179, .28);
  border-radius: 8px;
  color: var(--purple-dark);
  background: rgba(109, 75, 179, .09);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.preview-label-link {
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.preview-label-link:hover,
.preview-label-link:focus-visible {
  border-color: rgba(240, 201, 90, .72);
  background: rgba(240, 201, 90, .16);
  box-shadow: 0 10px 22px rgba(16, 36, 63, .12);
  outline: none;
  transform: translateY(-1px);
}

.preview-label img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  image-rendering: pixelated;
}

.game-preview-gif {
  width: min(100%, clamp(312px, 24vw, 432px));
  height: auto;
  border-radius: 6px;
  background: #fff;
}

.preview-caption {
  margin: 12px 0 0;
  color: #4c5b69;
  font-size: .95rem;
  line-height: 1.5;
}

.dashboard-preview-section {
  padding-top: 8px;
}

.dashboard-preview-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px 26px;
  border: 1px solid rgba(240, 201, 90, .58);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 248, 226, .9));
  box-shadow: 0 18px 42px rgba(16, 36, 63, .1);
}

.dashboard-preview-card h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.dashboard-preview-card p:not(.eyebrow) {
  max-width: 780px;
  margin: 10px 0 0;
  color: #3f5062;
}

.dashboard-preview-card .eyebrow {
  margin-bottom: 10px;
}

.dashboard-preview-card .button {
  white-space: nowrap;
}

.inside-game {
  padding-top: 18px;
}

.inside-game-intro {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto 21px;
}

.inside-game-intro p:last-child {
  max-width: 840px;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.game-feature-grid {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.game-feature-card {
  position: relative;
  min-height: 230px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(217, 224, 231, .92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 16px 38px rgba(16, 36, 63, .09);
}

.game-feature-card::before {
  content: "";
  display: block;
  width: 48px;
  height: 5px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
}

.game-feature-card::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  opacity: .86;
  background: url("../game/skin-v2/behavior-xp-icon.png") center / contain no-repeat;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 7px rgba(16, 36, 63, .18));
}

.game-feature-card:nth-child(5)::after {
  background-image: url("../game/skin-v2/heart-icon.png");
}

.game-feature-card h3 {
  max-width: calc(100% - 38px);
  margin-top: 8px;
}

.game-feature-card p {
  margin-bottom: 0;
  color: #4c5b69;
  line-height: 1.58;
}

.feature-kicker {
  display: inline-flex;
  color: var(--purple-dark);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.inside-game-note {
  width: min(1120px, calc(100% - 36px));
  margin: 14px auto 0;
  padding: 16px 18px;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  color: #3f5062;
  background: rgba(255, 255, 255, .82);
  font-weight: 750;
}

.preview-note {
  margin-top: 18px;
}

.practice-loop-section {
  padding-top: 35px;
}

.process-strip {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(217, 224, 231, .92);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 44px rgba(16, 36, 63, .1);
}

.process-strip article {
  padding: 26px 24px;
}

.process-strip article + article {
  border-left: 1px solid #dfe7ee;
}

.process-strip span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--purple-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.process-strip p {
  margin: 0;
  color: #26374a;
  font-size: 1.02rem;
  line-height: 1.5;
}

.section {
  padding: 45px 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-intro p {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: start;
}

.refined-split {
  align-items: stretch;
}

.refined-split .panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel {
  padding: 28px;
}

.panel.dark {
  color: #f6f8fb;
  background: linear-gradient(145deg, var(--navy), #15183f);
}

.panel.dark h2,
.panel.dark h3,
.panel.dark p {
  color: inherit;
}

.panel.dark p {
  color: #d9e2ec;
}

.grid-3,
.grid-5,
.content-grid {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.feature-card,
.note-card {
  padding: 22px;
}

.card p,
.feature-card p,
.note-card p {
  margin-bottom: 0;
}

.number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--navy);
  background: linear-gradient(145deg, #f5db91, #d3a84d);
  font-weight: 900;
}

.feature-card {
  box-shadow: none;
}

.feature-card::before {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--purple);
}

.icon-eyebrow img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  image-rendering: pixelated;
}

.research-wizard-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: center;
  border-color: rgba(109, 75, 179, .24);
}

.wizard-accent {
  width: 88px;
  height: auto;
  justify-self: center;
  image-rendering: pixelated;
  filter: drop-shadow(0 12px 18px rgba(16, 36, 63, .2));
}

.research-hero .hero-inner {
  align-items: start;
}

.outcome-grid,
.stat-grid {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 18px;
  display: grid;
  gap: 14px;
}

.outcome-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.outcome-card,
.mini-card,
.stat-card {
  border: 1px solid rgba(217, 224, 231, .92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .9);
}

.outcome-card {
  min-height: 112px;
  display: flex;
  align-items: center;
  padding: 18px;
  color: var(--navy);
  font-size: 1.02rem;
  font-weight: 850;
  box-shadow: 0 14px 34px rgba(16, 36, 63, .08);
}

.outcome-card::before {
  content: "";
  width: 10px;
  height: 42px;
  flex: 0 0 auto;
  margin-right: 14px;
  border-radius: 999px;
  background: linear-gradient(var(--gold), var(--purple));
}

.support-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.support-list li {
  padding: 9px 12px;
  border: 1px solid #dfe7ee;
  border-radius: 999px;
  color: #26374a;
  background: #fff;
  font-size: .92rem;
  font-weight: 800;
}

.compact-grid {
  margin: 18px 0;
}

.mini-card {
  padding: 16px;
  color: var(--navy);
  font-weight: 850;
  box-shadow: none;
}

.research-card h3,
.phase-card h3,
.decision-card h3 {
  margin-bottom: 12px;
}

.research-card .citation {
  margin-top: 14px;
  color: var(--purple-dark);
}

.phase-card {
  border-top: 5px solid var(--gold);
}

.decision-card {
  border-top: 5px solid var(--purple);
}

.measure-grid .feature-card {
  min-height: 190px;
}

.section-note {
  width: min(1120px, calc(100% - 36px));
  margin: 16px auto 0;
  padding: 18px 22px;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .82);
  color: #425467;
  font-weight: 700;
}

.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  padding: 22px;
  box-shadow: 0 16px 38px rgba(16, 36, 63, .1);
}

.stat-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
}

.stat-card span {
  color: #536271;
  line-height: 1.45;
}

.homepage-stats .stat-card {
  min-height: 170px;
}

.researcher-note {
  color: #31465c;
  font-weight: 750;
}

.references-section {
  padding-top: 22px;
}

.reference-list {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 45px;
  padding: 24px 28px 24px 48px;
  border: 1px solid rgba(217, 224, 231, .92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .82);
  color: #536271;
  box-shadow: 0 14px 38px rgba(16, 36, 63, .08);
  columns: 2;
  column-gap: 42px;
  font-size: .82rem;
  line-height: 1.5;
}

.reference-list li {
  break-inside: avoid;
  margin: 0 0 12px;
  padding-left: 4px;
}

.reference-list a {
  color: var(--purple-dark);
  overflow-wrap: anywhere;
}

.callout {
  border-color: rgba(109, 75, 179, .28);
  background: linear-gradient(135deg, #fff7e2, #f7f2ff);
}

.cta-band {
  margin: 27px auto 54px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), #221b54);
  box-shadow: var(--shadow);
}

.cta-band::before {
  content: "";
  align-self: stretch;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(var(--gold), var(--purple));
}

.cta-band-with-guide {
  position: relative;
  padding-left: 28px;
}

.cta-guide {
  width: clamp(76px, 9vw, 118px);
  height: auto;
  flex: 0 0 auto;
  align-self: flex-end;
  margin: -12px 0 -10px;
  image-rendering: pixelated;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .24));
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band p {
  margin-bottom: 0;
  color: #dbe7ef;
}

.cta-band .button-primary {
  color: #10243f;
  background: linear-gradient(145deg, #ffe28a, var(--gold));
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.cta-band .button-primary:hover,
.cta-band .button-primary:focus-visible {
  color: #10243f;
  background: #ffe28a;
}

.site-footer {
  padding: 27px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.completion-page {
  display: flex;
  flex-direction: column;
}

.completion-main {
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 12vh, 120px) 0;
  display: grid;
  flex: 1;
  place-items: center;
}

.completion-card {
  width: 100%;
  padding: clamp(32px, 7vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
}

.completion-card .eyebrow {
  justify-content: center;
  margin: 0 0 12px;
}

.completion-card h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.08;
}

.completion-detail {
  max-width: 580px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.completion-icon {
  min-height: 64px;
  margin-bottom: 12px;
  color: var(--purple-dark);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.completion-card .button {
  margin-top: 24px;
}

.completion-card .button[hidden] {
  display: none;
}

.footer-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .92rem;
}

.placeholder-box {
  padding: 28px;
  border: 1px dashed rgba(109, 75, 179, .45);
  border-radius: var(--radius);
  background: rgba(109, 75, 179, .07);
}

.beta-briefing {
  padding: 46px 0 61px;
}

.briefing-hero,
.briefing-panel,
.briefing-cta {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.briefing-hero {
  max-width: 900px;
  margin-bottom: 27px;
  text-align: center;
}

.briefing-hero .eyebrow {
  justify-content: center;
}

.briefing-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(112px, 170px) 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 14px;
  padding: 26px 30px;
  overflow: hidden;
  border: 1px solid rgba(217, 224, 231, .92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 44px rgba(16, 36, 63, .1);
}

.briefing-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
}

.briefing-panel.reverse {
  grid-template-columns: 1fr minmax(112px, 170px);
}

.briefing-panel.reverse .briefing-wizard {
  grid-column: 2;
  grid-row: 1;
}

.briefing-panel.reverse .briefing-copy {
  grid-column: 1;
  grid-row: 1;
}

.briefing-wizard {
  width: min(150px, 100%);
  height: auto;
  justify-self: center;
  image-rendering: pixelated;
  filter: drop-shadow(0 13px 18px rgba(16, 36, 63, .18));
}

.briefing-wizard.flip {
  transform: scaleX(-1);
}

.briefing-copy h2 {
  margin-top: 10px;
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
}

.briefing-copy p {
  max-width: 760px;
  margin: 14px 0 0;
  color: #3f5062;
  font-size: 1.03rem;
}

.briefing-label {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(240, 201, 90, .58);
  border-radius: 8px;
  color: var(--purple-dark);
  background: rgba(240, 201, 90, .18);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.briefing-note {
  padding: 14px 16px;
  border-left: 5px solid var(--purple);
  border-radius: 8px;
  background: rgba(109, 75, 179, .08);
  font-weight: 700;
}

.briefing-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.briefing-checklist li {
  padding: 11px 12px;
  border: 1px solid rgba(217, 224, 231, .92);
  border-radius: 8px;
  color: #27384c;
  background: #fff;
  font-size: .95rem;
  font-weight: 800;
}

.briefing-cta {
  margin-top: 22px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), #221b54);
  box-shadow: var(--shadow);
}

.briefing-cta h2,
.briefing-cta p {
  color: #fff;
}

.briefing-cta p {
  margin-bottom: 0;
  color: #e6edf7;
}

.briefing-cta .eyebrow {
  color: #ffe28a;
}

.launch-beta-button {
  flex: 0 0 auto;
}

.field-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.field-list li {
  padding: 14px 16px;
  border: 1px solid #dfe7ee;
  border-radius: 8px;
  background: #fff;
  color: #34465b;
  font-weight: 700;
}

.coach-dashboard-shell {
  background: #f7f9fc;
}

.coach-dashboard {
  padding: 44px 0 58px;
  background:
    linear-gradient(180deg, rgba(16, 36, 63, .98) 0%, rgba(18, 48, 82, .95) 520px, rgba(247, 249, 252, 1) 521px);
}

.coach-hero,
.coach-section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.coach-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 26px;
  align-items: end;
  padding: 18px 0 70px;
}

.coach-hero .eyebrow {
  color: #ffe28a;
}

.coach-hero .page-title,
.coach-hero .subtitle {
  color: #fff;
}

.coach-hero .page-title {
  max-width: 880px;
  font-size: clamp(2.25rem, 4.7vw, 4rem);
  line-height: 1;
}

.coach-hero .subtitle {
  margin-top: 12px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.coach-template-note {
  max-width: 820px;
  margin: 24px 0 0;
  color: #d8e5f0;
  font-weight: 700;
}

.coach-purpose-card,
.plan-snapshot-card,
.dashboard-card,
.review-card,
.coaching-plan-panel,
.interpretation-panel,
.coach-stat-card {
  min-width: 0;
  border: 1px solid rgba(217, 224, 231, .9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 44px rgba(12, 31, 54, .12);
}

.coach-purpose-card {
  padding: 24px;
  border-color: rgba(240, 201, 90, .58);
  background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(255, 248, 226, .96));
}

.coach-purpose-card h2 {
  font-size: 1.3rem;
}

.coach-purpose-card p {
  margin-bottom: 0;
  color: #33465a;
}

.coach-section {
  padding: 16px 0;
}

.coach-section-heading {
  max-width: 780px;
}

.coach-section-heading h2 {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.coach-section-heading p:last-child {
  margin-bottom: 0;
}

.plan-snapshot-card,
.interpretation-panel,
.dashboard-card,
.coaching-plan-panel {
  padding: 28px;
}

.plan-snapshot-card {
  border-top: 6px solid var(--gold);
}

.plan-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
}

.plan-snapshot-grid div {
  padding: 15px 16px;
  border: 1px solid #e2e9f0;
  border-radius: 8px;
  background: #f9fbfd;
}

.plan-snapshot-grid .wide {
  grid-column: 1 / -1;
}

.plan-snapshot-grid dt {
  margin-bottom: 6px;
  color: var(--purple-dark);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.plan-snapshot-grid dd {
  margin: 0;
  color: #24364a;
  line-height: 1.45;
  font-weight: 750;
}

.summary-metric-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.coach-stat-card {
  min-height: 132px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 5px solid #cbd6df;
}

.coach-stat-card span {
  color: #526273;
  font-size: .88rem;
  font-weight: 850;
  line-height: 1.35;
}

.coach-stat-card strong {
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1;
}

.coach-stat-card.aligned {
  border-top-color: #2f8f77;
}

.coach-stat-card.refine {
  border-top-color: var(--gold);
}

.coach-stat-card.missed {
  border-top-color: #b46060;
}

.interpretation-panel {
  color: #f7fbff;
  border-color: rgba(240, 201, 90, .44);
  background: linear-gradient(135deg, #10243f, #183a62);
}

.interpretation-panel .eyebrow,
.interpretation-panel h2 {
  color: #fff;
}

.interpretation-panel .eyebrow::before {
  background: #ffe28a;
}

.interpretation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.interpretation-grid section {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.interpretation-grid span,
.chart-kicker {
  display: inline-flex;
  color: #ffe28a;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.interpretation-grid p {
  margin: 10px 0 0;
  color: #e4edf6;
  line-height: 1.58;
}

.chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, .9fr);
  gap: 18px;
  align-items: stretch;
}

.chart-card h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
}

.chart-card {
  overflow: hidden;
}

.chart-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.chart-heading .eyebrow {
  margin-bottom: 10px;
}

.chart-kicker {
  color: var(--purple-dark);
  padding-top: 5px;
  white-space: nowrap;
}

.line-chart-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 4px;
}

.line-chart {
  width: 100%;
  min-width: 520px;
  height: auto;
}

.line-chart text {
  fill: #607083;
  font-size: 12px;
  font-weight: 800;
}

.chart-axis {
  stroke: #708195;
  stroke-width: 2;
}

.chart-grid-line {
  stroke: #d9e2eb;
  stroke-width: 1;
}

.score-line {
  fill: none;
  stroke: var(--gold-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.score-points circle {
  fill: #fff;
  stroke: var(--purple-dark);
  stroke-width: 3;
}

.chart-x-labels text {
  text-anchor: middle;
}

.alignment-bars,
.target-bars {
  display: grid;
  gap: 14px;
}

.alignment-row,
.target-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(140px, 1.4fr) 46px;
  gap: 12px;
  align-items: center;
}

.alignment-row span,
.target-row span {
  color: #33465a;
  font-size: .93rem;
  font-weight: 800;
  line-height: 1.3;
}

.alignment-row strong,
.target-row strong {
  color: var(--navy);
  text-align: right;
}

.bar-track {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5ebf1;
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.aligned-fill {
  background: #2f8f77;
}

.refine-fill {
  background: var(--gold);
}

.missed-fill {
  background: #b46060;
}

.target-fill {
  background: linear-gradient(90deg, var(--purple-dark), var(--gold-dark));
}

.chart-interpretation {
  margin: 20px 0 0;
  padding: 15px 16px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: #f8fbfd;
  color: #3e5063;
  font-weight: 720;
}

.review-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.review-card {
  padding: 22px;
  border-top: 5px solid var(--gold);
}

.review-card.missed-review {
  border-top-color: #b46060;
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.review-card-top span,
.review-card-top strong {
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.review-card-top span {
  color: #607083;
}

.review-card-top strong {
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--purple-dark);
  background: rgba(109, 75, 179, .1);
}

.review-card h3 {
  margin-bottom: 12px;
}

.review-card p {
  margin: 10px 0 0;
  color: #45586b;
  line-height: 1.55;
}

.review-card b {
  color: #24364a;
}

.stronger-move {
  padding: 13px 14px;
  border-radius: 8px;
  background: rgba(240, 201, 90, .17);
}

.coaching-plan-panel {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: start;
  border-color: rgba(240, 201, 90, .52);
  background: linear-gradient(135deg, #fff, #fff8e8);
}

.coaching-plan-panel h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.coaching-plan-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: coaching-plan;
}

.coaching-plan-list li {
  counter-increment: coaching-plan;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #e3e9ef;
  border-radius: 8px;
  color: #26384b;
  background: rgba(255, 255, 255, .82);
  font-weight: 780;
}

.coaching-plan-list li::before {
  content: counter(coaching-plan);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--navy);
  background: var(--gold);
  font-weight: 950;
}

@media (max-width: 960px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding: 4px 0 8px;
  }

  .nav-links {
    justify-content: flex-start;
    margin-left: 0;
  }

  .brand-logo {
    width: clamp(390px, 72vw, 540px);
    margin: -26px 0;
  }

  .brand-icon {
    width: 56px;
    height: 56px;
  }

  .hero-inner,
  .hero-grid,
  .split,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .process-strip {
    grid-template-columns: 1fr;
  }

  .hero-preview-wide {
    grid-template-columns: 1fr;
  }

  .dashboard-preview-card {
    grid-template-columns: 1fr;
  }

  .dashboard-preview-card .button {
    width: fit-content;
  }

  .process-strip article + article {
    border-left: 0;
    border-top: 1px solid #dfe7ee;
  }

  .grid-3,
  .grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .outcome-grid,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-list {
    columns: 1;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .briefing-panel,
  .briefing-panel.reverse {
    grid-template-columns: 120px 1fr;
  }

  .briefing-panel.reverse .briefing-wizard {
    grid-column: 1;
  }

  .briefing-panel.reverse .briefing-copy {
    grid-column: 2;
  }

  .briefing-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band::before {
    width: 100%;
    height: 5px;
  }

  .cta-guide {
    align-self: flex-start;
    margin: -8px 0 0;
  }

  .research-wizard-card {
    grid-template-columns: 72px 1fr;
  }

  .wizard-accent {
    width: 72px;
  }

  .coach-hero,
  .chart-grid,
  .coaching-plan-panel {
    grid-template-columns: 1fr;
  }

  .summary-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .review-card-grid,
  .interpretation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav-wrap,
  .section,
  .hero-inner,
  .hero-grid,
  .hero-preview-wide,
  .footer-inner,
  .coach-hero,
  .coach-section {
    width: min(100% - 24px, 1120px);
  }

  .button,
  .actions {
    width: 100%;
  }

  .button {
    justify-content: center;
  }

  .nav-wrap {
    position: relative;
    min-height: 56px;
    padding: 6px 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .brand {
    gap: 4px;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .brand-logo {
    width: clamp(104px, 32vw, 145px);
    max-width: calc(100% - 40px);
    margin: -10px 0;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
  }

  .nav-links {
    position: static;
    gap: 6px;
    margin: 0;
    flex: 0 0 auto;
  }

  .nav-links .nav-cta {
    min-height: 40px;
    margin: 0;
    padding: 7px 8px;
    display: inline-flex;
    align-items: center;
    font-size: .78rem;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(16, 36, 63, .24);
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--navy);
    background: #fff;
    cursor: pointer;
  }

  .nav-toggle[hidden] {
    display: none;
  }

  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    width: 20px;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: currentColor;
  }

  .nav-toggle span {
    position: relative;
  }

  .nav-toggle span::before,
  .nav-toggle span::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }

  .nav-toggle:focus-visible {
    outline: 3px solid var(--gold-dark);
    outline-offset: 2px;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    padding: 8px;
    display: grid;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 0 0 10px 10px;
    background: var(--cream);
    box-shadow: 0 18px 35px rgba(16, 36, 63, .18);
  }

  .nav-menu a {
    width: 100%;
    min-height: 44px;
    padding: 11px 14px;
    display: flex;
    align-items: center;
  }

  .nav-enhanced .nav-menu {
    display: none;
  }

  .nav-enhanced .nav-links.is-open .nav-menu {
    display: grid;
  }

  .grid-3,
  .grid-5 {
    grid-template-columns: 1fr;
  }

  .outcome-grid,
  .stat-grid,
  .process-strip,
  .game-feature-grid,
  .inside-game-intro,
  .inside-game-note,
  .section-note {
    width: min(100% - 24px, 1120px);
  }

  .outcome-grid,
  .stat-grid,
  .game-feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 38px;
  }

  .preview-gif-row {
    padding: 6px;
  }

  .game-preview-gif {
    width: min(100%, clamp(288px, 84vw, 396px));
  }

  .section {
    padding: 32px 0;
  }

  .reference-list {
    width: min(100% - 24px, 1120px);
    padding: 20px 20px 20px 36px;
  }

  .beta-briefing {
    padding: 34px 0 46px;
  }

  .briefing-hero,
  .briefing-panel,
  .briefing-cta {
    width: min(100% - 24px, 1120px);
  }

  .briefing-panel,
  .briefing-panel.reverse {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 24px 22px;
  }

  .briefing-panel.reverse .briefing-wizard,
  .briefing-panel.reverse .briefing-copy {
    grid-column: 1;
  }

  .briefing-wizard {
    display: none;
  }

  .dashboard-preview-card {
    padding: 20px;
  }

  .dashboard-preview-card .button {
    width: 100%;
    white-space: normal;
  }

  .coach-dashboard {
    padding-top: 28px;
  }

  .coach-purpose-card,
  .plan-snapshot-card,
  .interpretation-panel,
  .dashboard-card,
  .review-card,
  .coaching-plan-panel {
    padding: 20px;
  }

  .plan-snapshot-grid,
  .summary-metric-grid {
    grid-template-columns: 1fr;
  }

  .alignment-row,
  .target-row {
    grid-template-columns: 1fr 46px;
  }

  .alignment-row .bar-track,
  .target-row .bar-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .alignment-row strong,
  .target-row strong {
    grid-column: 2;
    grid-row: 1;
  }

  .chart-heading {
    flex-direction: column;
  }

  .chart-kicker {
    white-space: normal;
  }

  .review-card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .briefing-copy p {
    font-size: 1rem;
  }

  .briefing-checklist {
    grid-template-columns: 1fr;
  }

  .launch-beta-button {
    width: 100%;
  }

  .research-wizard-card {
    grid-template-columns: 1fr;
  }

  .wizard-accent {
    width: 64px;
    justify-self: start;
  }

  .asset-row img {
    width: 22px;
    height: 22px;
  }

  .asset-row img:last-child {
    width: 28px;
    height: 28px;
  }
}
