:root {
  --paper: #f7f6ef;
  --paper-2: #efeee6;
  --card: #ffffff;
  --card-soft: #fafaf7;
  --track: #ebebe6;
  --inverse: #151619;
  --ink: #151619;
  --muted: #686a70;
  --line: #dcdcd4;
  --line-dark: #c8c8bf;
  --blue: #4b57f3;
  --blue-dark: #2f39c9;
  --blue-soft: #e9ebff;
  --green: #37b66f;
  --green-soft: #e4f8ec;
  --orange: #f08b35;
  --orange-soft: #fff0df;
  --red: #eb5b5f;
  --red-soft: #ffe8e8;
  --purple: #8a63e8;
  --purple-soft: #f0eaff;
  --pink: #df5f9d;
  --pink-soft: #ffe8f3;
  --shadow-sm: 0 2px 0 rgba(21,22,25,.08), 0 10px 28px rgba(21,22,25,.06);
  --shadow-md: 0 3px 0 rgba(21,22,25,.09), 0 18px 48px rgba(21,22,25,.10);
  --shadow-button: 0 5px 0 var(--blue-dark);
  --header-bg: rgba(247,246,239,.90);
  --soft-section: rgba(255,255,255,.55);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --shell: 1180px;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 11%, rgba(75,87,243,.10), transparent 26rem),
    radial-gradient(circle at 92% 32%, rgba(240,139,53,.08), transparent 24rem),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .22;
  pointer-events: none;
  background-image: radial-gradient(rgba(21,22,25,.18) .65px, transparent .65px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--blue); color: #fff; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 999;
  padding: 12px 16px;
  color: #fff;
  background: var(--inverse);
  border-radius: 10px;
}
.skip-link:focus-visible { top: 16px; }
.skip-link:focus:not(:focus-visible) { top: -100px; }

.site-shell { width: min(calc(100% - 40px), var(--shell)); margin: 0 auto; }
.section { padding: 104px 0; }
.section-tight { padding: 60px 0; }
.section-soft { background: var(--soft-section); border-block: 1px solid rgba(200,200,191,.75); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(200,200,191,.68);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; letter-spacing: -.035em; }
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  position: relative;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--card);
}
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: var(--inverse); opacity: .28; }
.brand-mark::before { width: 1px; height: 48px; }
.brand-mark::after { height: 1px; width: 48px; }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.brand-text { font-size: 18px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 14px; font-weight: 700; }
.nav-links > a:not(.button):hover, .nav-links > a[aria-current="page"] { color: var(--ink); }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 12px;
  cursor: pointer;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: -.015em;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(3px); }
.button-primary { color: #fff; background: var(--blue); border-color: var(--blue-dark); box-shadow: var(--shadow-button); }
.button-primary:hover { box-shadow: 0 7px 0 var(--blue-dark); }
.button-primary:active { box-shadow: 0 2px 0 var(--blue-dark); }
.button-secondary { color: var(--ink); background: var(--card); border-color: var(--line-dark); box-shadow: 0 4px 0 #c9c9c0; }
.button-secondary:active { box-shadow: 0 1px 0 #c9c9c0; }
.button-quiet { background: transparent; color: var(--muted); border-color: transparent; box-shadow: none; }
.button-danger { color: #fff; background: var(--red); border-color: #c94145; box-shadow: 0 5px 0 #c94145; }
.button-small { min-height: 40px; padding-inline: 16px; border-radius: 12px; font-size: 14px; }
.button-wide { min-width: 190px; }
.icon-button {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  font-weight: 750;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--blue);
  font: 800 12px/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 20px; height: 2px; background: currentColor; }

.hero { padding: 76px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .93fr) minmax(460px, .78fr); gap: clamp(54px, 8vw, 112px); align-items: center; }
.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(54px, 6.3vw, 88px);
  line-height: .94;
  letter-spacing: -.072em;
  font-weight: 900;
}
.hero h1 em { display: block; color: var(--blue); font-style: normal; }
.hero-copy { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { margin: 22px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; }

.mini-test-card {
  position: relative;
  border: 1.5px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transform: none;
}
.mini-test-card::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -72px;
  top: -68px;
  border: 24px solid var(--blue-soft);
  border-radius: 50%;
  pointer-events: none;
}
.mini-test-top { min-height: 62px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.mini-test-top strong { font-size: 15px; }
.live-pill { padding: 7px 10px; color: var(--blue); background: var(--blue-soft); border-radius: 999px; font: 800 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.mini-stage {
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
  background: linear-gradient(145deg, #fff, #f4f4ed);
  cursor: pointer;
  user-select: none;
  transition: background .2s ease, color .2s ease;
}
.mini-stage[data-state="wait"] { background: var(--red-soft); }
.mini-stage[data-state="go"] { color: #0c4d2b; background: var(--green-soft); }
.mini-stage[data-state="result"] { background: var(--blue-soft); cursor: default; }
.mini-stage-inner { max-width: 340px; }
.mini-target {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  position: relative;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--card);
}
.mini-target::before, .mini-target::after { content: ""; position: absolute; background: var(--inverse); opacity: .28; }
.mini-target::before { width: 1px; height: 132px; }
.mini-target::after { height: 1px; width: 132px; }
.mini-target span { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 8px var(--blue-soft); }
.mini-stage h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.045em; }
.mini-stage p { margin: 12px auto 0; color: var(--muted); line-height: 1.55; }
.mini-result-number { margin: 2px 0 6px; font: 900 clamp(64px, 9vw, 104px)/.95 var(--sans); letter-spacing: -.07em; }
.mini-result-number small { font-size: 24px; letter-spacing: -.02em; }
.mini-result-label { color: var(--blue); font-weight: 850; }
.mini-result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.mini-test-foot { padding: 17px 22px; display: flex; justify-content: space-between; gap: 18px; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; }

.quick-choice { padding: 22px 0 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.choice-card {
  min-height: 230px;
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.choice-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.choice-card.featured { color: #fff; background: var(--inverse); border-color: var(--inverse); }
.choice-card .choice-time { width: fit-content; padding: 7px 10px; border-radius: 999px; color: var(--blue); background: var(--blue-soft); font: 800 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.choice-card.featured .choice-time { color: #fff; background: rgba(255,255,255,.13); }
.choice-card h3 { margin: 28px 0 10px; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.05em; }
.choice-card p { max-width: 490px; margin: 0; color: var(--muted); line-height: 1.58; }
.choice-card.featured p { color: #b9bbc1; }
.choice-card .choice-link { margin-top: auto; padding-top: 24px; color: var(--blue); font-weight: 850; }
.choice-card.featured .choice-link { color: #aeb5ff; }
.choice-card .choice-orbit { position: absolute; right: -22px; bottom: -38px; width: 150px; height: 150px; border: 22px solid var(--blue-soft); border-radius: 50%; opacity: .75; }
.choice-card.featured .choice-orbit { border-color: rgba(75,87,243,.42); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-head h2 { max-width: 720px; margin: 0; font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -.06em; }
.section-head > p { max-width: 430px; margin: 0; color: var(--muted); line-height: 1.65; }

.test-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.test-card {
  --test-accent: var(--blue);
  --test-soft: var(--blue-soft);
  min-height: 300px;
  padding: 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.test-card:hover { transform: translateY(-6px) rotate(-.3deg); box-shadow: var(--shadow-md); }
.test-card[data-test="reaction"] { --test-accent: var(--blue); --test-soft: var(--blue-soft); }
.test-card[data-test="timing"] { --test-accent: var(--orange); --test-soft: var(--orange-soft); }
.test-card[data-test="accuracy"] { --test-accent: var(--red); --test-soft: var(--red-soft); }
.test-card[data-test="memory"] { --test-accent: var(--purple); --test-soft: var(--purple-soft); }
.test-card[data-test="focus"] { --test-accent: var(--green); --test-soft: var(--green-soft); }
.test-card[data-test="rhythm"] { --test-accent: var(--pink); --test-soft: var(--pink-soft); }
.test-card-top { display: flex; align-items: center; justify-content: space-between; }
.test-chip { padding: 7px 10px; border-radius: 999px; color: var(--test-accent); background: var(--test-soft); font: 800 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.test-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--test-accent); background: var(--test-soft); border-radius: 16px; font-size: 24px; font-weight: 900; }
.test-card h3 { margin: 42px 0 10px; font-size: 29px; letter-spacing: -.045em; }
.test-card p { margin: 0; color: var(--muted); line-height: 1.58; }
.test-card-meta { margin-top: auto; padding-top: 26px; display: flex; gap: 14px; color: var(--muted); font: 700 11px/1 var(--mono); text-transform: uppercase; }
.test-card-meta span + span::before { content: "•"; margin-right: 14px; }

.score-story { display: grid; grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr); gap: 58px; align-items: center; }
.score-card {
  min-height: 560px;
  padding: 44px;
  position: relative;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: var(--inverse);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.score-card::before { content: ""; position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(to bottom, black, transparent); }
.score-card > * { position: relative; }
.score-card-label { color: #aeb5ff; font: 800 12px/1 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.score-card-number { margin-top: 28px; font-size: clamp(104px, 15vw, 168px); line-height: .86; font-weight: 900; letter-spacing: -.09em; }
.score-card h3 { margin: 26px 0 4px; font-size: 34px; letter-spacing: -.05em; }
.score-card p { margin: 0; color: #b8bac1; }
.score-mini-bars { margin-top: auto; display: grid; gap: 11px; }
.score-mini-row { display: grid; grid-template-columns: 82px 1fr 34px; align-items: center; gap: 12px; font: 750 11px/1 var(--mono); color: #c6c8cf; text-transform: uppercase; }
.score-mini-track { height: 8px; background: rgba(255,255,255,.11); border-radius: 99px; overflow: hidden; }
.score-mini-track span { display: block; width: var(--value); height: 100%; background: var(--bar, #aeb5ff); border-radius: inherit; }
.story-copy h2 { margin: 0; max-width: 660px; font-size: clamp(40px, 5vw, 66px); line-height: .98; letter-spacing: -.065em; }
.story-copy > p { max-width: 620px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.story-list { margin-top: 34px; display: grid; gap: 20px; }
.story-item { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; }
.story-num { width: 42px; height: 42px; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 13px; font-weight: 900; }
.story-item strong { display: block; margin-bottom: 5px; font-size: 17px; }
.story-item span { color: var(--muted); line-height: 1.5; }

.challenge-band { padding: 76px 0; }
.challenge-card {
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: center;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue-dark);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 0 var(--blue-dark), 0 28px 60px rgba(47,57,201,.23);
  overflow: hidden;
  position: relative;
}
.challenge-card::before, .challenge-card::after { content: ""; position: absolute; border: 28px solid rgba(255,255,255,.14); border-radius: 50%; }
.challenge-card::before { width: 220px; height: 220px; right: 23%; top: -180px; }
.challenge-card::after { width: 130px; height: 130px; right: 2%; bottom: -110px; }
.challenge-card > * { position: relative; }
.challenge-card h2 { max-width: 750px; margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: .97; letter-spacing: -.06em; }
.challenge-card p { max-width: 650px; margin: 18px 0 0; color: #e3e5ff; font-size: 18px; line-height: 1.6; }
.challenge-card .button { color: var(--ink); background: var(--card); border-color: #d5d7ff; box-shadow: 0 5px 0 #b9bef4; white-space: nowrap; }

.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; }
.faq-intro h2 { margin: 0; font-size: clamp(40px, 5vw, 60px); line-height: 1; letter-spacing: -.06em; }
.faq-intro p { color: var(--muted); line-height: 1.65; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 22px 24px; border: 1.5px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.75); }
.faq-list summary { cursor: pointer; font-weight: 820; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--blue); font-size: 22px; }
.faq-list details[open] summary::after { content: "-"; }
.faq-list p { margin: 15px 0 0; color: var(--muted); line-height: 1.65; }

.page-hero { padding: 70px 0 52px; }
.page-hero.compact { padding-bottom: 28px; }
.breadcrumbs { margin-bottom: 22px; color: var(--muted); font: 750 11px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.breadcrumbs a:hover { color: var(--blue); }
.page-hero h1 { max-width: 900px; margin: 0; font-size: clamp(46px, 6vw, 76px); line-height: .98; letter-spacing: -.068em; }
.page-hero > .site-shell > p { max-width: 760px; margin: 22px 0 0; color: var(--muted); font-size: 19px; line-height: 1.67; }
.page-hero-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.mode-switch { display: inline-flex; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: var(--shadow-sm); }
.mode-switch a { padding: 11px 16px; border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 820; }
.mode-switch a.is-active { color: #fff; background: var(--inverse); }
.page-tools { display: flex; align-items: center; gap: 10px; }

.callout { padding: 18px 20px; border: 1px solid #cfd3ff; border-radius: 15px; color: #343dc0; background: var(--blue-soft); line-height: 1.55; }
.callout strong { color: var(--ink); }

.combine-shell { padding: 18px 0 80px; }
.combine-frame { border: 1.5px solid var(--line-dark); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-md); overflow: hidden; }
.combine-top { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--line); background: var(--card-soft); }
.combine-segment { min-height: 60px; padding: 0 12px; display: flex; align-items: center; justify-content: center; color: #8a8c90; border-right: 1px solid var(--line); font: 800 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.combine-segment:last-child { border-right: 0; }
.combine-segment.is-active { color: var(--blue); background: var(--blue-soft); }
.combine-segment.is-done { color: #197849; background: var(--green-soft); }
.combine-segment[hidden] { display: none; }

.game-layout { padding-bottom: 86px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.game-card { border: 1.5px solid var(--line-dark); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow-md); overflow: hidden; }
.game-head { min-height: 62px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: var(--card-soft); }
.game-title { font-weight: 850; }
.game-progress { padding: 7px 10px; border-radius: 999px; color: var(--test-accent, var(--blue)); background: var(--test-soft, var(--blue-soft)); font: 800 11px/1 var(--mono); }
.game-stage, .combine-stage {
  min-height: 560px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 36px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #f5f5ef);
  user-select: none;
  touch-action: manipulation;
}
.combine-stage { min-height: 620px; }
.game-stage[data-state="wait"] { background: var(--red-soft); }
.game-stage[data-state="go"] { background: var(--green-soft); }
.game-stage[data-state="false"] { background: var(--orange-soft); }
.stage-center { max-width: 600px; text-align: center; }
.stage-kicker { margin-bottom: 16px; color: var(--test-accent, var(--blue)); font: 800 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.stage-title { margin: 0; font-size: clamp(42px, 6vw, 74px); line-height: .96; letter-spacing: -.065em; }
.stage-copy { max-width: 560px; margin: 18px auto 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.stage-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.stage-stat { font-size: clamp(92px, 14vw, 160px); line-height: .9; font-weight: 920; letter-spacing: -.08em; color: var(--test-accent, var(--blue)); }
.result-grade { width: fit-content; margin: 20px auto 0; padding: 8px 12px; border-radius: 999px; color: var(--test-accent, var(--blue)); background: var(--test-soft, var(--blue-soft)); font: 850 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.result-next { margin-top: 18px; color: var(--muted); font-size: 14px; }

body[data-test-type="reaction"] { --test-accent: var(--blue); --test-soft: var(--blue-soft); }
body[data-test-type="timing"] { --test-accent: var(--orange); --test-soft: var(--orange-soft); }
body[data-test-type="accuracy"] { --test-accent: var(--red); --test-soft: var(--red-soft); }
body[data-test-type="memory"] { --test-accent: var(--purple); --test-soft: var(--purple-soft); }
body[data-test-type="focus"] { --test-accent: var(--green); --test-soft: var(--green-soft); }
body[data-test-type="rhythm"] { --test-accent: var(--pink); --test-soft: var(--pink-soft); }

.game-side { display: grid; gap: 14px; }
.side-card { padding: 22px; border: 1.5px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.84); }
.side-card h2, .side-card h3 { margin: 0 0 14px; font-size: 17px; letter-spacing: -.02em; }
.side-card ol, .side-card ul { margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.55; }
.side-card li + li { margin-top: 8px; }
.personal-best { font-size: 30px; font-weight: 900; letter-spacing: -.05em; color: var(--test-accent, var(--blue)); }
.result-list { display: grid; gap: 8px; }
.result-chip { padding: 10px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 13px; }
.result-chip:last-child { border-bottom: 0; }
.result-chip strong { color: var(--ink); font-size: 16px; }

.timer-display { font: 900 clamp(64px, 11vw, 124px)/1 var(--mono); letter-spacing: -.07em; }
.timer-target { margin-top: 18px; color: var(--orange); font: 850 12px/1 var(--mono); letter-spacing: .08em; }
.target { position: absolute; padding: 0; border: 0; border-radius: 50%; cursor: crosshair; background: var(--red); box-shadow: inset 0 0 0 9px rgba(255,255,255,.55), 0 0 0 2px #aa3438; }
.target::before, .target::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(255,255,255,.86); transform: translate(-50%,-50%); }
.target::before { width: 2px; height: 130%; }
.target::after { height: 2px; width: 130%; }
.memory-grid { width: min(480px, 86vw); display: grid; gap: 10px; }
.memory-tile { aspect-ratio: 1; border: 1.5px solid #d4d4cc; border-radius: 14px; background: #ecece5; cursor: pointer; transition: transform .1s ease, background .1s ease; }
.memory-tile.is-on { background: var(--purple); transform: scale(.91); box-shadow: inset 0 0 0 4px rgba(255,255,255,.45); }
.memory-tile.is-selected { background: var(--purple-soft); border-color: var(--purple); }
.focus-stimulus { display: grid; place-items: center; }
.focus-shape { width: 150px; height: 150px; box-shadow: 0 14px 40px rgba(21,22,25,.12); }
.focus-shape.circle { border-radius: 50%; background: var(--green); }
.focus-shape.square { border-radius: 28px; background: var(--red); }
.rhythm-pad { width: min(340px, 72vw); aspect-ratio: 1; border: 2px solid #cccad0; border-radius: 50%; color: var(--pink); background: var(--pink-soft); box-shadow: inset 0 0 0 24px #fff, 0 18px 50px rgba(223,95,157,.18); cursor: pointer; font-size: 32px; font-weight: 900; transition: transform .08s ease, background .08s ease; }
.rhythm-pad.is-beat { transform: scale(.93); background: #ffd1e7; }

.combine-results { padding: clamp(28px, 5vw, 60px); background: linear-gradient(135deg, #fff, #f1f1ff); }
.score-hero { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: 52px; align-items: center; }
.score-ring { aspect-ratio: 1; display: grid; place-items: center; position: relative; border-radius: 50%; background: conic-gradient(var(--blue) var(--score-angle, 275deg), #e0e2ee 0); box-shadow: 0 20px 60px rgba(47,57,201,.20); }
.score-ring::before { content: ""; position: absolute; inset: 22px; border-radius: 50%; background: var(--card); }
.score-ring > div { position: relative; text-align: center; }
.score-ring strong { display: block; font-size: clamp(86px, 12vw, 142px); line-height: .86; letter-spacing: -.09em; }
.score-ring span { display: block; max-width: 150px; margin: 14px auto 0; color: var(--muted); font: 800 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.score-summary h2 { margin: 0; font-size: clamp(42px, 6vw, 72px); line-height: .95; letter-spacing: -.065em; }
.score-summary > p { max-width: 650px; margin: 18px 0 0; color: var(--muted); line-height: 1.65; }
.score-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.score-badge { padding: 8px 11px; border-radius: 999px; color: var(--blue); background: var(--blue-soft); font: 800 11px/1 var(--mono); text-transform: uppercase; }
.score-bars { margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.score-bar-card { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.72); }
.score-bar-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 13px; font-weight: 780; }
.score-bar-head strong { font-size: 16px; }
.score-bar-track { height: 7px; margin-top: 10px; background: #e8e8e1; border-radius: 999px; overflow: hidden; }
.score-bar-track span { display: block; width: var(--value); height: 100%; background: var(--bar, var(--blue)); border-radius: inherit; animation: bar-in .8s ease both; }
.share-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@keyframes bar-in { from { width: 0; } }

.content-page { padding: 20px 0 100px; }
.content-grid { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 70px; align-items: start; }
.content-nav { position: sticky; top: 100px; display: grid; gap: 5px; }
.content-nav a { padding: 10px 12px; color: var(--muted); border-radius: 10px; font-size: 13px; font-weight: 750; }
.content-nav a:hover { color: var(--blue); background: var(--blue-soft); }
.prose { font-size: 17px; line-height: 1.75; }
.prose h2 { margin: 54px 0 12px; font-size: 34px; line-height: 1.1; letter-spacing: -.04em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 22px; }
.prose table { width: 100%; border-collapse: collapse; margin: 24px 0; border: 1px solid var(--line); background: var(--card); border-radius: 14px; overflow: hidden; }
.prose th, .prose td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.prose th { background: var(--card-soft); font-size: 13px; }
.prose tr:last-child td { border-bottom: 0; }
.plain-panel { border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); }
.ad-slot { min-height: 100px; display: grid; place-items: center; color: #9a9b98; border: 1px dashed #c9c9c1; border-radius: 14px; background: var(--soft-section); font-size: 12px; }
.ad-slot[hidden] { display: none; }

.leaderboard { border: 1.5px solid var(--line-dark); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); overflow: hidden; }
.leader-row { min-height: 70px; padding: 0 24px; display: grid; grid-template-columns: 70px 1fr 100px 160px; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.leader-row:last-child { border-bottom: 0; }
.leader-row.head { min-height: 48px; color: var(--muted); background: var(--card-soft); font: 800 10px/1 var(--mono); text-transform: uppercase; }
.leader-rank { color: var(--muted); font-family: var(--mono); }
.leader-score { color: var(--blue); font-size: 24px; font-weight: 900; }
.leader-device { color: var(--muted); font-size: 13px; }

.site-footer { margin-top: 40px; padding: 68px 0 24px; color: #b8bbc2; background: var(--inverse); }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { border-color: #fff; background: #25262a; }
.site-footer .brand-mark::before, .site-footer .brand-mark::after { background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .7fr; gap: 60px; }
.footer-brand p { max-width: 460px; color: #989ba4; line-height: 1.65; }
.footer-col { display: grid; align-content: start; gap: 11px; }
.footer-col h3 { margin: 0 0 8px; color: #fff; font-size: 14px; }
.footer-col a { font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 52px; padding-top: 22px; display: flex; justify-content: space-between; gap: 22px; border-top: 1px solid #303137; color: #7f828b; font-size: 12px; }

.toast { position: fixed; left: 50%; bottom: -100px; z-index: 200; padding: 13px 18px; color: #fff; background: var(--inverse); border-radius: 13px; box-shadow: var(--shadow-md); transform: translateX(-50%); opacity: 0; transition: bottom .25s ease, opacity .25s ease; font-weight: 760; }
.toast.is-visible { bottom: 24px; opacity: 1; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .mini-test-card { width: min(100%, 620px); transform: none; }
  .test-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .score-story { grid-template-columns: 1fr; }
  .score-card { min-height: 520px; }
  .game-layout { grid-template-columns: 1fr; }
  .game-side { grid-template-columns: repeat(3, 1fr); }
  .game-side .ad-slot { display: none; }
  .score-hero { grid-template-columns: 1fr; }
  .score-ring { width: min(420px, 82vw); margin: 0 auto; }
}

@media (max-width: 760px) {
  .site-shell { width: min(calc(100% - 28px), var(--shell)); }
  .section { padding: 76px 0; }
  .section-tight { padding: 46px 0; }
  .nav-wrap { min-height: 64px; }
  .brand-text { font-size: 16px; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 70px;
    padding: 16px;
    display: none;
    align-items: stretch;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--card);
    box-shadow: var(--shadow-md);
  }
  .nav-links.is-open { display: grid; }
  .nav-links > a { padding: 12px 10px; }
  .nav-links .nav-cta { margin-top: 6px; }
  .hero { padding: 52px 0 44px; }
  .hero h1 { font-size: clamp(49px, 15vw, 72px); }
  .hero-copy { font-size: 17px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .mini-stage { min-height: 350px; padding: 26px 18px; }
  .mini-test-foot { align-items: flex-start; flex-direction: column; }
  .choice-grid, .test-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: 210px; }
  .section-head { display: block; }
  .section-head > p { margin-top: 16px; }
  .test-card { min-height: 270px; }
  .score-card { min-height: 500px; padding: 32px; }
  .challenge-card { grid-template-columns: 1fr; }
  .challenge-card .button { width: 100%; }
  .faq-grid { grid-template-columns: 1fr; gap: 34px; }
  .page-hero { padding: 52px 0 34px; }
  .page-hero-row { display: block; }
  .page-tools { margin-top: 24px; justify-content: space-between; }
  .mode-switch { flex: 1; }
  .mode-switch a { flex: 1; text-align: center; }
  .combine-top { grid-template-columns: repeat(3, 1fr); }
  .combine-segment { min-height: 48px; border-bottom: 1px solid var(--line); }
  .game-stage, .combine-stage { min-height: 500px; padding: 24px 18px; }
  .game-side { grid-template-columns: 1fr; }
  .score-bars { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; gap: 30px; }
  .content-nav { position: static; display: flex; overflow-x: auto; padding-bottom: 8px; }
  .content-nav a { white-space: nowrap; background: var(--card); border: 1px solid var(--line); }
  .prose table { display: block; overflow-x: auto; }
  .leader-row { grid-template-columns: 42px 1fr 70px; padding: 0 14px; gap: 10px; }
  .leader-row > :last-child { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .hero h1 { letter-spacing: -.065em; }
  .button { width: 100%; }
  .mini-result-actions { display: grid; }
  .stage-actions, .share-actions { display: grid; width: 100%; }
  .stage-actions .button, .share-actions .button { width: 100%; }
  .game-head { padding-inline: 15px; }
  .game-stage, .combine-stage { min-height: 470px; }
  .combine-results { padding: 22px 16px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* v2.1 : cleaner cards, simplified hero and improvement guide */
.nav-links { gap: 20px; }
.hero-simple { padding: 92px 0 76px; }
.hero-simple .hero-copy-wrap { max-width: 920px; margin: 0 auto; text-align: center; }
.hero-simple h1 { max-width: 900px; margin-inline: auto; }
.hero-simple .hero-copy { max-width: 760px; margin-inline: auto; }
.hero-simple .hero-actions { justify-content: center; }
.hero-simple .hero-note { text-align: center; }
.hero-facts {
  max-width: 680px;
  margin: 38px auto 0;
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  color: var(--muted);
  font-size: 14px;
}
.hero-facts span { min-width: 0; padding: 0 18px; }
.hero-facts span + span { border-left: 1px solid var(--line); }
.hero-facts strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 22px; letter-spacing: -.035em; }

/* Decorative corner rings are intentionally removed so copy always remains clear. */
.choice-card .choice-orbit,
.mini-test-card::before { display: none; content: none; }
.test-card::after { display: none !important; content: none !important; }

.choice-card,
.test-card { min-width: 0; }
.choice-card > *,
.test-card > * { min-width: 0; }
.choice-card p,
.test-card p,
.test-card h3,
.section-head h2,
.section-head p { overflow-wrap: anywhere; }
.test-card { min-height: 292px; padding: 27px; }
.test-card h3 { margin: 34px 0 10px; }
.test-card p { line-height: 1.62; }
.test-card-meta { position: relative; z-index: 1; flex-wrap: wrap; row-gap: 8px; }
.test-card-meta span + span::before { margin-right: 10px; }

.improve-preview { border-top: 1px solid var(--line); }
.improve-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(56px, 8vw, 110px);
  align-items: start;
}
.improve-preview-copy { min-width: 0; }
.improve-preview h2 { max-width: 680px; margin: 0; font-size: clamp(42px, 5.3vw, 68px); line-height: .98; letter-spacing: -.065em; }
.improve-preview-copy > p { max-width: 650px; margin: 24px 0 30px; color: var(--muted); font-size: 18px; line-height: 1.72; }
.improve-steps { display: grid; gap: 14px; border: 0; }
.improve-step {
  min-height: 112px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1.5px solid var(--line-dark);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.improve-step-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 13px;
  font: 850 12px/1 var(--mono);
}
.improve-step-copy { min-width: 0; }
.improve-step strong { display: block; margin: 2px 0 8px; font-size: 22px; letter-spacing: -.035em; }
.improve-step p { margin: 0; color: var(--muted); line-height: 1.55; overflow-wrap: anywhere; }

.improve-hero h1 { max-width: 980px; }
.promise-panel {
  padding: clamp(28px, 5vw, 50px);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 34px;
  align-items: center;
  color: #fff;
  background: var(--inverse);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.promise-mark { width: 96px; height: 96px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; color: #fff; font-size: 28px; font-weight: 900; letter-spacing: -.06em; }
.promise-panel .eyebrow { color: #aeb5ff; }
.promise-panel h2 { margin: 0; max-width: 800px; font-size: clamp(32px, 4vw, 50px); line-height: 1.02; letter-spacing: -.055em; }
.promise-panel p { max-width: 860px; margin: 18px 0 0; color: #c3c5cc; line-height: 1.7; }

.routine-list { border-top: 1.5px solid var(--ink); }
.routine-list article { padding: 30px 0; display: grid; grid-template-columns: 86px 1fr; gap: 22px; border-bottom: 1px solid var(--line-dark); }
.routine-number { color: var(--blue); font: 850 15px/1 var(--mono); padding-top: 8px; }
.routine-list h3 { margin: 0; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.045em; }
.routine-list p { max-width: 780px; margin: 10px 0 0; color: var(--muted); line-height: 1.68; }

.habit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); border-left: 1px solid var(--line-dark); }
.habit-grid article { min-height: 250px; padding: 30px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: rgba(255,255,255,.5); }
.habit-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  border-radius: 16px;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}
.habit-grid h3 { margin: 34px 0 10px; font-size: 28px; letter-spacing: -.045em; }
.habit-grid p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.65; }

.improve-note { padding: 34px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; border: 1.5px solid var(--line-dark); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); }
.improve-note h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.05em; }
.improve-note p { max-width: 820px; margin: 12px 0 0; color: var(--muted); line-height: 1.65; }
.sources-section { padding-top: 20px; }
.sources-section a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }


.leaderboard-principles .test-card {
  min-height: 275px;
  padding: 26px;
}
.leaderboard-principles .test-card h3 { margin-top: 34px; }
.leaderboard-principles .test-card p { max-width: 100%; padding-right: 0; }
.test-card h3,
.test-card p,
.test-card-meta { position: relative; z-index: 1; }

@media (max-width: 1050px) {
  .nav-links { gap: 15px; font-size: 13px; }
  .improve-preview-grid { grid-template-columns: 1fr; }
  .improve-steps { max-width: 760px; }
}

@media (max-width: 760px) {
  .hero-simple { padding: 58px 0 52px; }
  .hero-facts { grid-template-columns: 1fr; gap: 15px; text-align: left; }
  .hero-facts span { padding: 0; display: grid; grid-template-columns: 72px 1fr; align-items: baseline; }
  .hero-facts span + span { padding-top: 15px; border-left: 0; border-top: 1px solid var(--line); }
  .hero-facts strong { margin: 0; }
  .test-card { min-height: 0; }
  .improve-preview-grid { gap: 34px; }
  .improve-step { grid-template-columns: 46px minmax(0, 1fr); padding: 20px; }
  .promise-panel { grid-template-columns: 1fr; }
  .promise-mark { width: 72px; height: 72px; }
  .routine-list article { grid-template-columns: 48px 1fr; }
  .habit-grid { grid-template-columns: 1fr; }
  .improve-note { grid-template-columns: 1fr; }
  .improve-note .button { width: 100%; }
}

/* Keep the main call-to-action clean and typographic. */
.challenge-card::before,
.challenge-card::after { display: none; content: none; }

/* v3.0 IQ assessment and broader Human Precision experience */
.nav-links { gap: 15px; }
.nav-iq-link {
  padding: 7px 10px;
  color: var(--blue-dark) !important;
  background: var(--blue-soft);
  border-radius: 10px;
}

.iq-home-feature {
  margin-top: 30px;
  color: #fff;
  background: var(--inverse);
  border-block: 1px solid #2d2f34;
}
.iq-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .72fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}
.iq-home-copy .eyebrow { color: #aeb5ff; }
.iq-home-copy h2 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: .98;
  letter-spacing: -.065em;
}
.iq-home-copy > p {
  max-width: 690px;
  margin: 24px 0 0;
  color: #c9cad0;
  font-size: 18px;
  line-height: 1.7;
}
.iq-home-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.iq-home-promises span {
  padding: 9px 12px;
  border: 1px solid #42454d;
  border-radius: 999px;
  color: #e6e7ea;
  font-size: 13px;
  font-weight: 750;
}
.iq-home-feature .button-secondary { color: #151619; background: #fff; }
.iq-home-score {
  padding: 34px;
  color: var(--ink);
  background: var(--card);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0,0,0,.26);
  transform: none;
}
.iq-home-label {
  display: block;
  color: var(--blue);
  font: 800 12px/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.iq-home-score > strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(94px, 11vw, 150px);
  line-height: .9;
  letter-spacing: -.08em;
}
.iq-home-score > span:not(.iq-home-label) { color: var(--muted); font-weight: 700; }
.iq-home-score > div { display: grid; gap: 12px; margin-top: 30px; }
.iq-home-score i {
  position: relative;
  display: block;
  padding-bottom: 9px;
  color: var(--muted);
  border-bottom: 7px solid #ebebe6;
  font-style: normal;
  font-size: 13px;
  font-weight: 750;
}
.iq-home-score i::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: var(--width);
  height: 7px;
  background: var(--domain);
  border-radius: 999px;
}

.iq-hero { padding: 88px 0 72px; overflow: hidden; }
.iq-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .72fr);
  gap: clamp(54px, 8vw, 112px);
  align-items: center;
}
.iq-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(58px, 6.5vw, 92px);
  line-height: .94;
  letter-spacing: -.075em;
}
.iq-hero-copy > p {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.62;
}
.iq-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}
.iq-trust-strip span {
  padding: 9px 12px;
  color: #3f434a;
  background: var(--card);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
}
.iq-trust-strip span::before { content: "✓"; margin-right: 7px; color: var(--green); font-weight: 900; }
.iq-sample-result {
  padding: 32px;
  background: var(--card);
  border: 1.5px solid var(--line-dark);
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  transform: none;
}
.iq-sample-top { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.iq-sample-score { margin-top: 24px; font-size: clamp(108px, 12vw, 160px); font-weight: 900; line-height: .86; letter-spacing: -.09em; }
.iq-sample-label { margin-top: 14px; font-size: 22px; font-weight: 850; letter-spacing: -.035em; }
.iq-sample-range { margin-top: 6px; color: var(--muted); font-size: 14px; font-weight: 700; }
.iq-sample-profile { display: grid; gap: 14px; margin-top: 30px; }
.iq-sample-profile span {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}
.iq-sample-profile span::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  height: 8px;
  background: linear-gradient(to right, var(--domain) var(--value), #ebebe6 var(--value));
  border-radius: 999px;
}
.iq-sample-profile strong { position: absolute; right: 0; top: -21px; color: var(--ink); }
.iq-challenge-banner {
  margin-top: 34px;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  background: var(--inverse);
  border-radius: 16px;
}
.iq-challenge-banner[hidden] { display: none; }
.latest-iq-result {
  margin-top: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
}
.latest-iq-result[hidden] { display: none; }
.latest-iq-result span { color: var(--muted); }
.latest-iq-result strong { font-size: 26px; }
.latest-iq-result a { margin-left: auto; color: var(--blue-dark); font-weight: 800; }

.iq-mode-section { padding-top: 0; }
.iq-mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.iq-mode-card {
  min-height: 380px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line-dark);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.iq-mode-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.iq-mode-card.featured { color: #fff; background: var(--blue); border-color: var(--blue-dark); }
.iq-mode-time { font: 800 12px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--blue); }
.iq-mode-card.featured .iq-mode-time { color: #dfe1ff; }
.iq-mode-card h2 { margin: 34px 0 12px; font-size: clamp(32px, 4vw, 46px); line-height: 1; letter-spacing: -.055em; }
.iq-mode-card p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.iq-mode-card.featured p, .iq-mode-card.featured li { color: #eaebff; }
.iq-mode-card ul { margin: 24px 0 30px; padding-left: 20px; display: grid; gap: 9px; color: var(--muted); line-height: 1.45; }
.iq-mode-card .choice-link { margin-top: auto; }

.iq-domain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.iq-domain-grid article {
  min-height: 230px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border-top: 6px solid var(--domain);
}
.iq-domain-grid article > span { color: var(--domain); font: 850 12px/1 var(--mono); }
.iq-domain-grid h3 { margin: 38px 0 10px; font-size: 25px; letter-spacing: -.04em; }
.iq-domain-grid p { margin: 0; color: var(--muted); line-height: 1.62; }
.iq-value-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(48px, 8vw, 105px); align-items: start; }
.iq-value-grid h2 { margin: 0; font-size: clamp(44px, 5vw, 68px); line-height: .98; letter-spacing: -.065em; }
.iq-value-grid > div:first-child > p { margin: 24px 0 30px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.iq-value-list { border-top: 1.5px solid var(--ink); }
.iq-value-list article { padding: 24px 0; display: grid; grid-template-columns: 210px 1fr; gap: 24px; border-bottom: 1px solid var(--line-dark); }
.iq-value-list strong { font-size: 18px; }
.iq-value-list span { color: var(--muted); line-height: 1.6; }
.iq-puzzle-promo {
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  color: #fff;
  background: var(--inverse);
  border-radius: 24px;
}
.iq-puzzle-promo .eyebrow { color: #aeb5ff; }
.iq-puzzle-promo h2 { margin: 0; font-size: clamp(32px, 4vw, 46px); letter-spacing: -.05em; }
.iq-puzzle-promo p { max-width: 760px; margin: 12px 0 0; color: #c9cad0; line-height: 1.65; }
.iq-puzzle-promo .button-secondary { background: var(--card); }

.iq-run-hero { padding-bottom: 28px; }
.iq-test-shell { padding: 18px 0 44px; }
.iq-test-frame {
  min-height: 610px;
  background: var(--card);
  border: 1.5px solid var(--line-dark);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.iq-test-frame.is-intro { display: grid; place-items: center; padding: clamp(28px, 6vw, 72px); }
.iq-intro-panel { max-width: 850px; text-align: center; }
.iq-intro-badge {
  display: inline-flex;
  padding: 9px 12px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  font: 800 12px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.iq-intro-panel h2, .iq-break-panel h2 { margin: 26px 0 14px; font-size: clamp(42px, 5vw, 66px); line-height: .98; letter-spacing: -.065em; }
.iq-intro-panel > p, .iq-break-panel > p { max-width: 690px; margin: 0 auto; color: var(--muted); font-size: 18px; line-height: 1.65; }
.iq-intro-facts { margin: 34px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.iq-intro-facts span { padding: 20px 16px; color: var(--muted); font-size: 13px; }
.iq-intro-facts span + span { border-left: 1px solid var(--line); }
.iq-intro-facts strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 20px; }
.iq-start-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: left; }
.iq-start-notes > div { padding: 18px; background: var(--paper); border-radius: 15px; }
.iq-start-notes strong { display: block; margin-bottom: 7px; }
.iq-start-notes span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.iq-start-button { margin-top: 30px; }
.iq-fine-print { margin-top: 18px !important; font-size: 12px !important; }
.iq-run-top { padding: 20px 26px 0; background: var(--card); }
.iq-run-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13px; font-weight: 750; }
.iq-domain-pill { padding: 8px 11px; color: var(--domain); background: color-mix(in srgb, var(--domain) 12%, white); border-radius: 999px; font-weight: 850; }
.iq-progress-track { height: 6px; margin-top: 16px; background: #e9e9e4; border-radius: 999px; overflow: hidden; }
.iq-progress-track span { display: block; height: 100%; background: var(--blue); border-radius: inherit; transition: width .3s ease; }
.iq-question-panel { max-width: 930px; margin: 0 auto; padding: 52px 42px 48px; }
.iq-question-number { color: var(--blue); font: 850 12px/1 var(--mono); letter-spacing: .08em; }
.iq-question-panel h2 { max-width: 840px; margin: 20px 0 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.05em; }
.iq-stimulus { margin: 34px auto; display: grid; place-items: center; }
.iq-answer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.iq-answer-option {
  min-height: 78px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  text-align: left;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line-dark);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.iq-answer-option:hover { transform: translateY(-2px); border-color: var(--blue); }
.iq-answer-option.is-selected { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.iq-answer-option.is-correct { border-color: var(--green); background: var(--green-soft); }
.iq-answer-option.is-wrong { border-color: var(--red); background: var(--red-soft); }
.iq-option-letter { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--muted); background: var(--paper); font: 850 12px/1 var(--mono); }
.iq-answer-option.is-selected .iq-option-letter { color: #fff; background: var(--blue); }
.iq-option-content { min-width: 0; font-size: 16px; font-weight: 700; line-height: 1.45; }
.iq-answer-option.is-visual { min-height: 142px; }
.iq-answer-option.is-visual .iq-option-content { display: grid; place-items: center; }
.iq-question-actions { display: flex; justify-content: flex-end; margin-top: 28px; }
.iq-question-actions button:disabled { opacity: .38; cursor: not-allowed; transform: none; box-shadow: none; }
.iq-memory-instruction { max-width: 620px; margin: 16px 0 0; color: var(--muted); line-height: 1.65; }
.iq-memory-ready { margin-top: 30px; }
.iq-memory-countdown { color: var(--blue); font: 850 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.iq-memory-exposure { min-height: 310px; display: grid; place-items: center; }
.iq-memory-timer { width: min(420px, 70%); height: 6px; margin: 0 auto; background: #e8e8e2; border-radius: 999px; overflow: hidden; }
.iq-memory-timer span { display: block; width: 100%; height: 100%; background: var(--blue); transform-origin: left; animation: memoryTimer linear forwards; }
@keyframes memoryTimer { to { transform: scaleX(0); } }
.memory-exposure-text { font: 850 clamp(34px, 7vw, 72px)/1 var(--mono); letter-spacing: .18em; }
.memory-exposure-symbols { display: flex; gap: 20px; align-items: center; }
.memory-exposure-symbols > * { width: 72px; height: 72px; }
.memory-exposure-grid .iq-grid-token { width: 200px; height: 200px; }
.memory-exposure-words { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.memory-exposure-words span { padding: 14px 18px; background: var(--blue-soft); border-radius: 13px; font-size: 22px; font-weight: 800; }
.memory-path { width: 230px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.memory-path i { aspect-ratio: 1; display: grid; place-items: center; border: 2px solid var(--line-dark); border-radius: 14px; font-style: normal; font-weight: 900; }
.memory-path i.is-on { color: #fff; background: var(--blue); border-color: var(--blue-dark); }
.iq-break-panel { max-width: 720px; text-align: center; }
.iq-break-panel .button { margin-top: 30px; }
.iq-run-note { padding: 22px 26px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line-dark); border-radius: 16px; }
.iq-run-note span { color: var(--muted); line-height: 1.55; }
.iq-run-note a { color: var(--blue-dark); font-weight: 800; white-space: nowrap; }

.iq-matrix { width: min(470px, 100%); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.iq-matrix-cell, .iq-sequence-cell {
  min-width: 0;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1.5px solid var(--line-dark);
  border-radius: 14px;
}
.iq-matrix-cell.missing, .iq-sequence-cell.missing { color: var(--blue); background: var(--blue-soft); border-style: dashed; }
.iq-missing { font-size: 42px; font-weight: 900; }
.number-matrix .iq-text-token { font: 850 32px/1 var(--mono); }
.iq-sequence { max-width: 780px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.iq-sequence-cell { width: 100px; }
.iq-text-sequence { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.iq-text-sequence span { min-width: 68px; padding: 16px; text-align: center; background: var(--paper); border: 1px solid var(--line-dark); border-radius: 14px; font: 850 26px/1 var(--mono); }
.iq-single-visual { width: 220px; height: 220px; display: grid; place-items: center; padding: 18px; background: var(--paper); border: 1.5px solid var(--line-dark); border-radius: 18px; }
.iq-shape-set { width: 100%; height: 100%; display: grid; place-items: center; color: var(--ink); }
.iq-shape-set svg { width: 64px; height: 64px; }
.iq-shape-set.count-2 { grid-template-columns: repeat(2, 1fr); }
.iq-shape-set.count-3 { grid-template-columns: repeat(3, 1fr); }
.iq-shape-set.count-4, .iq-shape-set.count-5 { grid-template-columns: repeat(3, 1fr); }
.iq-shape-set.count-2 svg, .iq-shape-set.count-3 svg, .iq-shape-set.count-4 svg, .iq-shape-set.count-5 svg { width: 45px; height: 45px; }
.iq-grid-token { width: 94px; height: 94px; display: grid; grid-template-columns: repeat(var(--grid-size), 1fr); gap: 5px; padding: 5px; }
.iq-grid-token i { display: block; background: #e4e4de; border-radius: 4px; }
.iq-grid-token i.is-filled { background: var(--blue); }
.iq-combo { position: relative; width: 110px; height: 110px; display: block; }
.iq-combo .combo-item { position: absolute; width: 54px; height: 54px; }
.iq-combo .combo-0, .iq-combo .combo-tl { left: 0; top: 0; }
.iq-combo .combo-1, .iq-combo .combo-tr { right: 0; top: 0; }
.iq-combo .combo-2, .iq-combo .combo-bl { left: 0; bottom: 0; }
.iq-combo .combo-3, .iq-combo .combo-br { right: 0; bottom: 0; }
.iq-combo .combo-left { left: 0; top: 28px; }
.iq-combo .combo-right { right: 0; top: 28px; }
.iq-stack { width: 170px; height: 130px; display: flex; align-items: flex-end; gap: 10px; padding: 8px; }
.iq-stack i { flex: 1; height: calc(var(--height) * 32px); display: grid; place-items: start center; padding-top: 8px; color: #fff; background: var(--blue); border: 2px solid var(--blue-dark); border-radius: 8px 8px 3px 3px; font-style: normal; }
.iq-stack b { font-size: 14px; }

.iq-test-frame.is-results { background: var(--paper); }
.iq-results { padding: clamp(28px, 6vw, 70px); }
.iq-result-hero { text-align: center; }
.iq-result-brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; }
.iq-result-kicker { display: block; margin-top: 28px; color: var(--blue); font: 850 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.iq-result-score { margin-top: 16px; font-size: clamp(130px, 19vw, 230px); line-height: .82; font-weight: 950; letter-spacing: -.095em; }
.iq-result-score-label { margin-top: 20px; font-size: 24px; font-weight: 850; }
.iq-result-range { margin-top: 9px; color: var(--muted); font-size: 15px; font-weight: 700; }
.iq-result-hero h2 { margin: 32px 0 8px; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.055em; }
.iq-result-hero p { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 17px; line-height: 1.65; }
.iq-result-grid { margin-top: 52px; display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 22px; }
.iq-profile-card, .iq-result-summary { padding: 28px; background: var(--card); border: 1px solid var(--line-dark); border-radius: 20px; }
.iq-section-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.iq-section-title span { color: var(--muted); font-size: 13px; font-weight: 750; }
.iq-section-title h3 { margin: 4px 0 0; font-size: 30px; letter-spacing: -.045em; }
.iq-domain-results { display: grid; gap: 19px; margin-top: 30px; }
.iq-domain-result > div { display: flex; justify-content: space-between; gap: 20px; font-size: 14px; font-weight: 750; }
.iq-domain-track { height: 9px; display: block; margin-top: 8px; background: #e9e9e4; border-radius: 999px; overflow: hidden; }
.iq-domain-track > span { display: block; height: 100%; background: var(--domain); border-radius: inherit; }
.iq-result-summary { display: flex; flex-direction: column; }
.iq-summary-label { margin-top: 22px; color: var(--blue); font: 850 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.iq-result-summary .iq-summary-label:first-child { margin-top: 0; }
.iq-result-summary strong { margin-top: 8px; font-size: 22px; }
.iq-result-summary p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.iq-result-note, .iq-result-disclaimer { margin-top: 20px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line-dark); border-radius: 15px; color: var(--muted); line-height: 1.6; }
.iq-result-note strong, .iq-result-disclaimer strong { color: var(--ink); }
.iq-result-disclaimer a { color: var(--blue-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.iq-result-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.puzzle-shell { padding: 24px 0 70px; }
.puzzle-card { max-width: 920px; margin: 0 auto; padding: clamp(28px, 5vw, 52px); background: var(--card); border: 1.5px solid var(--line-dark); border-radius: 26px; box-shadow: var(--shadow-md); }
.puzzle-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
.puzzle-card > h2 { margin: 34px 0 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.05em; }
.puzzle-result { margin-top: 24px; padding: 24px; border-radius: 16px; }
.puzzle-result.is-correct { background: var(--green-soft); }
.puzzle-result.is-wrong { background: var(--red-soft); }
.puzzle-result strong { font-size: 22px; }
.puzzle-result p { margin: 8px 0 0; color: #4f5258; line-height: 1.65; }
.puzzle-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

.percentile-tool { max-width: 620px; padding: 24px; background: var(--card); border: 1px solid var(--line-dark); border-radius: 18px; }
.percentile-tool label { display: block; margin-bottom: 10px; font-weight: 800; }
.percentile-tool > div { display: flex; gap: 12px; }
.percentile-tool input { width: 150px; min-height: 50px; padding: 0 15px; border: 1.5px solid var(--line-dark); border-radius: 13px; font-size: 20px; font-weight: 800; }
.percentile-output { max-width: 620px; margin-top: 14px; padding: 20px 22px; display: flex; align-items: center; gap: 16px; background: var(--blue-soft); border-radius: 14px; color: #41444a; }
.percentile-output strong { color: var(--blue-dark); font-size: 30px; }

@media (max-width: 1120px) {
  .nav-links { gap: 10px; font-size: 12px; }
  .nav-links > a:not(.button) { padding-inline: 6px; }
  .nav-iq-link { padding: 7px 9px !important; }
  .iq-hero-grid, .iq-home-grid { grid-template-columns: 1fr; }
  .iq-sample-result, .iq-home-score { max-width: 620px; transform: none; }
  .iq-value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .iq-mode-grid, .iq-domain-grid { grid-template-columns: 1fr; }
  .iq-domain-grid article { min-height: 0; }
  .iq-result-grid { grid-template-columns: 1fr; }
  .iq-start-notes { grid-template-columns: 1fr; }
  .iq-intro-facts { grid-template-columns: 1fr; }
  .iq-intro-facts span + span { border-left: 0; border-top: 1px solid var(--line); }
  .iq-run-note { grid-template-columns: 1fr; }
  .iq-run-note a { white-space: normal; }
  .iq-value-list article { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 760px) {
  .iq-hero { padding: 56px 0 46px; }
  .iq-hero-grid { gap: 38px; }
  .iq-hero-copy h1 { font-size: clamp(50px, 14vw, 72px); }
  .iq-sample-result { padding: 24px; }
  .iq-sample-score { font-size: 110px; }
  .iq-challenge-banner, .latest-iq-result { align-items: flex-start; flex-direction: column; }
  .latest-iq-result a { margin-left: 0; }
  .iq-home-feature { margin-top: 22px; padding-block: 72px; }
  .iq-home-grid { gap: 38px; }
  .iq-home-score { padding: 26px; }
  .iq-mode-card { min-height: 0; padding: 26px; }
  .iq-puzzle-promo { grid-template-columns: 1fr; }
  .iq-puzzle-promo .button { width: 100%; }
  .iq-test-frame { min-height: 540px; border-radius: 20px; }
  .iq-test-frame.is-intro { padding: 28px 18px; }
  .iq-question-panel { padding: 38px 20px 34px; }
  .iq-answer-grid { grid-template-columns: 1fr; }
  .iq-answer-option.is-visual { min-height: 122px; }
  .iq-run-top { padding-inline: 18px; }
  .iq-run-meta { align-items: flex-start; flex-direction: column; gap: 9px; }
  .iq-matrix { max-width: 360px; }
  .iq-sequence-cell { width: 76px; }
  .iq-shape-set svg { width: 52px; height: 52px; }
  .iq-grid-token { width: 80px; height: 80px; }
  .iq-question-actions .button { width: 100%; }
  .memory-exposure-text { letter-spacing: .08em; }
  .memory-exposure-symbols { gap: 8px; }
  .memory-exposure-symbols > * { width: 54px; height: 54px; }
  .iq-results { padding: 30px 18px; }
  .iq-result-score { font-size: 132px; }
  .iq-section-title { align-items: flex-start; flex-direction: column; }
  .iq-result-actions { display: grid; }
  .iq-result-actions .button { width: 100%; }
  .puzzle-card { padding: 26px 18px; border-radius: 20px; }
  .puzzle-head { align-items: flex-start; flex-direction: column; }
  .percentile-tool > div { flex-direction: column; }
  .percentile-tool input { width: 100%; }
  .percentile-output { align-items: flex-start; flex-direction: column; }
}


/* Human Precision v4: curiosity-first homepage and guide system */
.hero-lab { padding: 92px 0 72px; }
.hero-lab-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr); gap:72px; align-items:center; }
.hero-lab-copy h1 { max-width:790px; margin:18px 0 24px; font-size:clamp(64px,8.7vw,118px); line-height:.88; letter-spacing:-.085em; }
.hero-lab-copy h1 em { color:var(--blue); font-style:normal; }
.hero-lab-copy > p { max-width:660px; margin:0; color:var(--muted); font-size:clamp(19px,2vw,24px); line-height:1.5; }
.hero-lab-copy .hero-actions { margin-top:34px; }
.curiosity-card { min-height:480px; padding:38px; display:flex; flex-direction:column; color:#fff; background:var(--inverse); border:1px solid #000; border-radius:34px; box-shadow:var(--shadow-md); position:relative; overflow:hidden; transition:transform .2s ease; }
.curiosity-card:hover { transform:translateY(-6px) rotate(1deg); }
.curiosity-card::before { content:""; position:absolute; inset:0; opacity:.35; background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size:36px 36px; mask-image:linear-gradient(to bottom,#000,transparent); }
.curiosity-card > * { position:relative; }
.curiosity-label { font:800 12px/1 var(--mono); text-transform:uppercase; letter-spacing:.1em; color:#b8bdff; }
.curiosity-card strong { margin:auto 0; font-size:clamp(160px,20vw,250px); line-height:.75; letter-spacing:-.11em; }
.curiosity-prompt { color:#c9cbd0; font-weight:700; }
.curiosity-cta { margin-top:20px; font-size:18px; font-weight:850; }
.launch-strip { border-block:1px solid var(--line); background:rgba(255,255,255,.66); }
.launch-strip .site-shell { min-height:74px; display:grid; grid-template-columns:repeat(4,1fr); align-items:center; }
.launch-strip span { padding:8px 22px; text-align:center; color:var(--muted); font-size:13px; }
.launch-strip span+span { border-left:1px solid var(--line); }
.launch-strip strong { color:var(--ink); font-size:18px; }
.section-head.compact { align-items:center; }
.path-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.path-card { min-height:350px; padding:30px; display:flex; flex-direction:column; border:1.5px solid var(--line-dark); border-radius:24px; background:var(--card); box-shadow:var(--shadow-sm); transition:transform .2s ease,box-shadow .2s ease; }
.path-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.path-card > span { color:var(--blue); font:800 11px/1 var(--mono); text-transform:uppercase; letter-spacing:.08em; }
.path-card h3 { margin:52px 0 14px; font-size:34px; line-height:1.06; letter-spacing:-.05em; }
.path-card p { margin:0; color:var(--muted); line-height:1.6; }
.path-card b { margin-top:auto; padding-top:28px; color:var(--blue-dark); }
.path-card.primary { background:var(--blue-soft); border-color:#aeb4ff; }
.path-card.dark { color:#fff; background:var(--inverse); border-color:var(--inverse); }
.path-card.dark > span,.path-card.dark b { color:#b8bdff; }
.path-card.dark p { color:#b9bbc1; }
.guide-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.guide-card { min-height:245px; padding:26px; display:flex; flex-direction:column; border:1.5px solid var(--line-dark); border-radius:20px; background:var(--card); box-shadow:var(--shadow-sm); transition:transform .18s ease,box-shadow .18s ease; }
.guide-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.guide-card > span { color:var(--blue); font:800 10px/1 var(--mono); text-transform:uppercase; letter-spacing:.1em; }
.guide-card h2,.guide-card h3 { margin:38px 0 10px; font-size:28px; line-height:1.08; letter-spacing:-.045em; }
.guide-card p { margin:0; color:var(--muted); line-height:1.58; }
.guide-card b { margin-top:auto; padding-top:22px; color:var(--blue-dark); }
.center-action { margin-top:28px; text-align:center; }
.section-dark { padding:104px 0; color:#fff; background:var(--inverse); }
.result-explainer { display:grid; grid-template-columns:1fr minmax(340px,.72fr); gap:80px; align-items:center; }
.result-explainer h2 { max-width:680px; margin:16px 0 20px; font-size:clamp(48px,6vw,76px); line-height:.95; letter-spacing:-.07em; }
.result-explainer p { max-width:610px; color:#c7c9ce; font-size:18px; line-height:1.65; }
.eyebrow.light { color:#aeb5ff; }
.button-light { color:#151619; background:#fff; border-color:#fff; box-shadow:0 5px 0 #aeb5ff; }
.mini-result { padding:34px; color:var(--ink); background:var(--card); border-radius:26px; transform:rotate(1.2deg); }
.mini-result > span { color:var(--muted); font:800 11px/1 var(--mono); text-transform:uppercase; }
.mini-result > strong { display:block; margin:20px 0 5px; font-size:112px; line-height:.8; letter-spacing:-.09em; }
.mini-result h3 { margin:18px 0 24px; font-size:30px; }
.mini-skills { display:grid; gap:10px; }
.mini-skills i { position:relative; padding:9px 12px; overflow:hidden; border-radius:9px; background:var(--paper); font-style:normal; font-size:12px; font-weight:800; }
.mini-skills i::before { content:""; position:absolute; inset:0 auto 0 0; width:var(--v); background:var(--blue-soft); }
.mini-skills i { isolation:isolate; }
.mini-skills i::after { content:""; }
.faq-simple { max-width:850px; }
.faq-simple h2 { margin:14px 0 36px; font-size:58px; letter-spacing:-.06em; }
.faq-simple details { padding:22px 0; border-top:1px solid var(--line-dark); }
.faq-simple details:last-child { border-bottom:1px solid var(--line-dark); }
.faq-simple summary { cursor:pointer; font-size:20px; font-weight:850; }
.faq-simple details p { max-width:720px; color:var(--muted); line-height:1.65; }
.guide-hub-hero { padding-bottom:66px; }
.guide-hub-grid .guide-card { min-height:310px; }
.guide-hub-grid .featured-guide { grid-column:span 2; color:#fff; background:var(--inverse); border-color:var(--inverse); }
.guide-hub-grid .featured-guide p { color:#c5c7cc; }
.guide-hub-grid .featured-guide span,.guide-hub-grid .featured-guide b { color:#b8bdff; }
.editorial-note { display:grid; grid-template-columns:.8fr 1.2fr; gap:70px; align-items:start; }
.editorial-note h2 { margin:12px 0 0; font-size:48px; letter-spacing:-.055em; }
.editorial-note p { margin:0; color:var(--muted); font-size:18px; line-height:1.7; }
.editorial-note a { color:var(--blue-dark); font-weight:800; text-decoration:underline; text-underline-offset:3px; }
.article-hero { padding:66px 0 54px; }
.article-shell { max-width:900px; }
.article-hero h1 { max-width:880px; margin:20px 0 22px; font-size:clamp(54px,7vw,86px); line-height:.94; letter-spacing:-.075em; }
.article-dek { max-width:760px; margin:0; color:var(--muted); font-size:22px; line-height:1.55; }
.article-byline { margin-top:30px; display:flex; align-items:center; gap:12px; }
.author-avatar { width:42px; height:42px; display:grid; place-items:center; border-radius:50%; color:#fff; background:var(--inverse); font-weight:900; }
.article-byline strong,.article-byline small { display:block; }
.article-byline small { margin-top:3px; color:var(--muted); }
.article-content { padding:18px 0 96px; }
.article-layout { display:grid; grid-template-columns:220px minmax(0,760px); gap:70px; justify-content:center; align-items:start; }
.article-side { position:sticky; top:100px; display:grid; gap:13px; padding:20px; border:1px solid var(--line); border-radius:16px; background:rgba(255,255,255,.65); }
.article-side strong { font-size:13px; text-transform:uppercase; letter-spacing:.06em; }
.article-side a { color:var(--blue-dark); font-size:14px; font-weight:800; }
.article-side p { margin:8px 0 0; color:var(--muted); font-size:12px; line-height:1.5; }
.article-prose { font-family:Georgia,"Times New Roman",serif; font-size:19px; line-height:1.78; }
.article-prose .article-intro { margin:0 0 44px; padding:26px 28px; border-left:5px solid var(--blue); background:var(--card); border-radius:0 16px 16px 0; }
.article-prose section { margin-top:48px; }
.article-prose h2 { margin:0 0 16px; font-family:var(--sans); font-size:34px; line-height:1.1; letter-spacing:-.045em; }
.article-prose p { margin:0; }
.article-prose a { color:var(--blue-dark); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.article-caution { margin-top:52px; padding:24px; border:1px solid #efcaa8; border-radius:16px; background:var(--orange-soft); font-family:var(--sans); }
.article-caution p { margin:8px 0 0; color:#5f5147; font-size:15px; line-height:1.6; }
.article-sources { padding-top:42px; border-top:1px solid var(--line); }
.article-sources ul { padding-left:22px; }
.article-sources li+li { margin-top:10px; }
.related-guides { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.related-guides a { min-height:150px; padding:22px; display:flex; flex-direction:column; border:1px solid var(--line-dark); border-radius:16px; background:var(--card); }
.related-guides span { color:var(--blue); font:800 10px/1 var(--mono); text-transform:uppercase; }
.related-guides strong { margin-top:auto; font-size:20px; line-height:1.2; }
.nav-links [aria-current="page"] { position:relative; }
.nav-links [aria-current="page"]::after { content:""; position:absolute; left:6px; right:6px; bottom:-12px; height:3px; border-radius:99px; background:var(--blue); }
@media (max-width:980px) {
  .hero-lab-grid,.result-explainer,.editorial-note { grid-template-columns:1fr; gap:42px; }
  .curiosity-card { min-height:360px; }
  .path-grid,.guide-card-grid { grid-template-columns:repeat(2,1fr); }
  .guide-hub-grid .featured-guide { grid-column:span 2; }
  .article-layout { grid-template-columns:1fr; }
  .article-side { position:static; grid-template-columns:repeat(2,1fr); }
  .article-side p { grid-column:1/-1; }
}
@media (max-width:760px) {
  .hero-lab { padding:58px 0 50px; }
  .hero-lab-copy h1 { font-size:clamp(58px,19vw,82px); }
  .hero-lab-copy .hero-actions { display:grid; }
  .curiosity-card { min-height:310px; padding:28px; }
  .curiosity-card strong { font-size:160px; }
  .launch-strip .site-shell { grid-template-columns:repeat(2,1fr); padding:10px 0; }
  .launch-strip span:nth-child(3) { border-left:0; border-top:1px solid var(--line); }
  .launch-strip span:nth-child(4) { border-top:1px solid var(--line); }
  .path-grid,.guide-card-grid,.related-guides { grid-template-columns:1fr; }
  .guide-hub-grid .featured-guide { grid-column:auto; }
  .path-card { min-height:290px; }
  .result-explainer { gap:48px; }
  .mini-result { transform:none; }
  .article-hero h1 { font-size:clamp(48px,15vw,70px); }
  .article-dek { font-size:19px; }
  .article-prose { font-size:18px; }
  .article-prose h2 { font-size:30px; }
  .article-side { grid-template-columns:1fr; }
  .article-side p { grid-column:auto; }
}

/* Release accessibility and no-script fallbacks */
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.button-primary:focus-visible,
.target:focus-visible {
  outline-color: var(--ink);
}
.noscript-banner {
  padding: 12px 20px;
  color: #4d3b19;
  background: #fff4cf;
  border-bottom: 1px solid #e6cf88;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

/* Official release: local-first daily progress system */
.daily-status-panel {
  margin-bottom: 18px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.daily-status-panel[hidden] { display: none; }
.daily-status-panel div { display: grid; gap: 5px; }
.daily-status-panel span { color: var(--muted); font: 800 10px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.daily-status-panel strong { font-size: 20px; letter-spacing: -.025em; }
.daily-status-panel a { color: var(--blue); font-weight: 850; }

.result-callout { margin-top: 20px; padding: 16px 18px; display: grid; gap: 5px; border: 1px solid #e4c889; border-radius: 14px; background: #fff8e8; }
.result-callout.is-win { border-color: #9fd6b8; background: var(--green-soft); }
.result-callout strong { font-size: 16px; }
.result-callout span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.result-metrics { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.result-metrics > div { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.result-metrics span { display: block; color: var(--muted); font: 800 10px/1.2 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.result-metrics strong { display: block; margin-top: 9px; font-size: 28px; letter-spacing: -.045em; }
.result-metrics small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.score-bar-card > small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.result-fine-print { margin-top: 18px !important; color: var(--muted); font-size: 12px; line-height: 1.55 !important; }

.curiosity-card.is-complete { background: linear-gradient(145deg, #edf9f2, #fff); border-color: #8cc8a8; }
.curiosity-card.is-complete strong { color: #197849; }

.progress-hero .page-hero-row { align-items: end; }
.today-progress-card { padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1.5px solid var(--line-dark); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); }
.today-progress-card.is-complete { background: linear-gradient(135deg, #fff, var(--green-soft)); border-color: #8cc8a8; }
.today-progress-card > div { display: grid; gap: 6px; }
.today-progress-card span { color: var(--muted); font: 800 10px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.today-progress-card strong { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.055em; }
.today-progress-card small { color: var(--muted); font-size: 14px; }
.progress-metric-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.progress-metric-grid article { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.progress-metric-grid span { color: var(--muted); font: 800 10px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.progress-metric-grid strong { display: block; margin-top: 14px; font-size: clamp(34px, 4vw, 52px); line-height: .9; letter-spacing: -.065em; }
.progress-metric-grid small { display: block; min-height: 32px; margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.progress-chart { min-height: 330px; padding: 28px 24px 20px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: end; gap: 14px; border: 1.5px solid var(--line-dark); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); }
.progress-day { min-width: 0; display: grid; gap: 4px; text-align: center; }
.progress-bar-area { height: 240px; position: relative; display: flex; align-items: end; justify-content: center; border-bottom: 1px solid var(--line); }
.progress-bar-fill { width: min(52px, 70%); min-height: 4px; display: block; border-radius: 12px 12px 3px 3px; background: #dddeda; transition: height .5s ease; }
.progress-day.has-score .progress-bar-fill { background: linear-gradient(180deg, #6d77f7, var(--blue)); }
.progress-day.is-today .progress-bar-fill { box-shadow: 0 0 0 4px var(--blue-soft); }
.progress-bar-value { position: absolute; bottom: calc(var(--bar-height, 0%) + 8px); top: 7px; color: var(--muted); font: 800 11px/1 var(--mono); }
.progress-day.has-score .progress-bar-value { color: var(--ink); }
.progress-day > strong { margin-top: 7px; font-size: 13px; }
.progress-day > small { color: var(--muted); font-size: 10px; }
.chart-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.progress-tools-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); gap: 60px; align-items: center; }
.progress-tools-grid h2 { margin: 14px 0; font-size: clamp(38px, 5vw, 62px); line-height: .96; letter-spacing: -.06em; }
.progress-tools-grid p { max-width: 660px; color: var(--muted); line-height: 1.7; }
.progress-tool-card { padding: 24px; display: grid; gap: 12px; border: 1.5px solid var(--line-dark); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); }
.progress-tool-card .button { width: 100%; }
.progress-tool-card small { color: var(--muted); line-height: 1.45; text-align: center; }
.file-button { cursor: pointer; }
.file-button input { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.danger-button { color: #a13636; }
.privacy-strip { padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.privacy-strip > div { display: grid; gap: 5px; }
.privacy-strip span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.privacy-strip a { color: var(--blue); font-weight: 850; white-space: nowrap; }

.article-source-list { margin: 26px 0 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card-soft); }
.article-source-list h3 { margin: 0 0 12px; font-size: 18px; }
.article-source-list ul { margin: 0; padding-left: 20px; display: grid; gap: 9px; }
.article-source-list a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.guide-category { margin-top: 54px; }
.guide-category:first-child { margin-top: 0; }
.guide-category > h2 { margin-bottom: 18px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.045em; }

@media (max-width: 900px) {
  .result-metrics, .progress-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .progress-tools-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 640px) {
  .daily-status-panel { grid-template-columns: 1fr 1fr; }
  .daily-status-panel a { grid-column: 1 / -1; }
  .result-metrics { grid-template-columns: 1fr; }
  .today-progress-card { align-items: stretch; flex-direction: column; }
  .progress-metric-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .progress-metric-grid article { padding: 17px; }
  .progress-chart { min-height: 270px; padding: 20px 10px 14px; gap: 6px; }
  .progress-bar-area { height: 180px; }
  .progress-bar-fill { width: 68%; }
  .progress-bar-value { font-size: 9px; }
  .privacy-strip { align-items: flex-start; flex-direction: column; }
}


/* Official release: private all-time skill records */
.skill-best-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.skill-best-card { display:flex; min-height:168px; flex-direction:column; gap:7px; padding:22px; border:1.5px solid var(--line-dark); border-radius:var(--radius); background:var(--card); box-shadow:var(--shadow-sm); }
.skill-best-card > span { color:var(--muted); font-size:.8rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.skill-best-card strong { font-family:var(--sans); font-size:clamp(2rem,5vw,3.15rem); line-height:1; }
.skill-best-card small { color:var(--muted); }
.skill-best-card a { margin-top:auto; font-weight:800; text-decoration:none; }
.skill-best-card a:hover { text-decoration:underline; }
@media (max-width:860px) { .skill-best-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px) { .skill-best-grid { grid-template-columns:1fr; } }


/* Human Precision Official Release: unified results, navigation actions and themes */
body { overflow-x: clip; }

.nav-links { gap: 14px; }
.nav-links > a:not(.button) { white-space: nowrap; }
.nav-links > a.nav-iq-link:not(.button) {
  padding: 9px 14px;
  color: #5d35b7 !important;
  background: var(--purple-soft);
  border: 1px solid color-mix(in srgb, var(--purple) 35%, var(--line));
  border-radius: 999px;
  box-shadow: 0 2px 0 rgba(93,53,183,.12);
}
.nav-links > a.nav-iq-link:not(.button):hover,
.nav-links > a.nav-iq-link[aria-current="page"] {
  color: #fff !important;
  background: #7650d5;
  border-color: #6842c7;
}
.nav-links > a.nav-iq-link[aria-current="page"]::after { display: none; }

.theme-toggle {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  box-shadow: 0 2px 0 color-mix(in srgb, var(--line-dark) 75%, transparent);
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.theme-toggle:hover { transform: translateY(-2px); border-color: var(--blue); }
.theme-toggle:active { transform: translateY(1px); }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle-label { display: none; }

.hero-lab-copy .hero-actions { margin-top: 38px; }
.hero-lab-copy .hero-note {
  max-width: 620px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.55;
}

.curiosity-card.is-complete {
  min-height: 580px;
  padding: 34px;
  color: var(--ink);
  background: var(--card);
  border: 0;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}
.curiosity-card.is-complete::before { display: none; }
.curiosity-card.is-complete:hover { transform: translateY(-5px) rotate(.25deg); }
.curiosity-card.is-complete .curiosity-label {
  color: #18784a;
  font: 800 12px/1 var(--mono);
  letter-spacing: .10em;
  text-transform: uppercase;
}
.home-score-line { display: flex; align-items: flex-end; gap: 10px; margin: 20px 0 4px; }
.curiosity-card.is-complete .home-score-line > strong {
  margin: 0;
  color: var(--ink);
  font-size: clamp(94px, 11vw, 150px);
  line-height: .9;
  letter-spacing: -.08em;
}
.home-score-line small { padding-bottom: 10px; color: var(--muted); font-size: 15px; font-weight: 800; }
.home-profile-title { display: block; color: var(--muted); font-size: 16px; font-weight: 750; }
.home-skill-bars { display: grid; gap: 12px; margin-top: 30px; }
.home-skill-row { display: grid; grid-template-columns: 76px minmax(0,1fr) 38px; gap: 10px; align-items: center; }
.home-skill-row > span { color: var(--muted); font-size: 13px; font-weight: 750; }
.home-skill-row > strong { margin: 0 !important; color: var(--ink) !important; font-size: 13px !important; line-height: 1 !important; letter-spacing: 0 !important; text-align: right; }
.home-skill-track { height: 7px; overflow: hidden; background: var(--track); border-radius: 999px; }
.home-skill-track i { width: var(--skill-width); height: 100%; display: block; background: var(--skill-color); border-radius: inherit; }
.home-result-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.home-result-meta span { padding: 7px 10px; color: var(--muted); background: var(--card-soft); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 750; }
.curiosity-complete-link { display: block; margin-top: 20px; color: #18784a; font-size: 15px; }

.launch-strip { background: color-mix(in srgb, var(--card) 76%, transparent); }
.launch-strip .launch-stat-grid { min-height: 104px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); align-items: stretch; }
.launch-stat { min-width: 0; padding: 23px 26px; display: flex; flex-direction: column; justify-content: center; text-align: left; }
.launch-stat + .launch-stat { border-left: 1px solid var(--line); }
.launch-stat strong { color: var(--ink); font-size: clamp(25px, 2.5vw, 34px); line-height: .95; letter-spacing: -.045em; }
.launch-stat span { margin-top: 8px; padding: 0; color: var(--muted); font-size: 14px; font-weight: 650; line-height: 1.3; text-align: left; }

.path-grid.path-grid-two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.path-grid.path-grid-two .path-card { min-height: 330px; }

.iq-home-feature { margin-top: 0; }
.iq-home-score { display: block; background: var(--card); transition: transform .18s ease, box-shadow .18s ease; }
.iq-home-score:hover { transform: translateY(-5px) rotate(.4deg); box-shadow: 0 30px 78px rgba(0,0,0,.30); }
.iq-home-link { display: block; margin-top: 24px; color: #6a3ccc; font-size: 15px; }

html[data-theme="dark"] {
  --paper: #101217;
  --paper-2: #151820;
  --card: #1b1f27;
  --card-soft: #222731;
  --track: #343a45;
  --inverse: #090b0f;
  --ink: #f4f5f7;
  --muted: #b2b7c1;
  --line: #303641;
  --line-dark: #444b58;
  --blue: #7d87ff;
  --blue-dark: #5964e7;
  --blue-soft: #262d57;
  --green: #50c887;
  --green-soft: #173827;
  --orange: #f3a15c;
  --orange-soft: #3c2819;
  --red: #f07175;
  --red-soft: #402124;
  --purple: #a786f2;
  --purple-soft: #30264a;
  --pink: #ec7db2;
  --pink-soft: #42243a;
  --shadow-sm: 0 2px 0 rgba(0,0,0,.40), 0 12px 30px rgba(0,0,0,.22);
  --shadow-md: 0 3px 0 rgba(0,0,0,.46), 0 22px 56px rgba(0,0,0,.32);
  --header-bg: rgba(16,18,23,.90);
  --soft-section: rgba(27,31,39,.56);
}
html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 14% 11%, rgba(125,135,255,.13), transparent 26rem),
    radial-gradient(circle at 92% 32%, rgba(243,161,92,.09), transparent 24rem),
    var(--paper);
}
html[data-theme="dark"] body::before { background-image: radial-gradient(rgba(255,255,255,.14) .65px, transparent .65px); }
html[data-theme="dark"] .site-header { border-bottom-color: rgba(68,75,88,.78); }
html[data-theme="dark"] .section-soft { border-block-color: rgba(68,75,88,.76); }
html[data-theme="dark"] .nav-links { color: #c2c6cf; }
html[data-theme="dark"] .nav-links > a.nav-iq-link:not(.button) { color: #d8ccff !important; }
html[data-theme="dark"] .article-prose a,
html[data-theme="dark"] .article-source-list a,
html[data-theme="dark"] .privacy-strip a,
html[data-theme="dark"] .daily-status-panel a { color: var(--blue); }
html[data-theme="dark"] .brand-mark { background: #f7f8fa; border-color: #f7f8fa; }
html[data-theme="dark"] .brand-mark::before,
html[data-theme="dark"] .brand-mark::after { background: #151619; }
html[data-theme="dark"] .brand-dot { box-shadow: 0 0 0 4px #dfe2ff; }
html[data-theme="dark"] .button-secondary,
html[data-theme="dark"] .icon-button,
html[data-theme="dark"] .menu-toggle { box-shadow: 0 3px 0 #090b0f; }
html[data-theme="dark"] .button-secondary { border-color: #555d6c; }
html[data-theme="dark"] .mini-stage { background: linear-gradient(145deg, var(--card), var(--card-soft)); }
html[data-theme="dark"] .choice-card.featured p,
html[data-theme="dark"] .score-card p { color: #c3c7d0; }
html[data-theme="dark"] .article-caution p { color: #e5d5c6; }
html[data-theme="dark"] .noscript-banner { color: #f1dfad; background: #392f18; border-bottom-color: #665329; }
html[data-theme="dark"] .result-callout { background: #342a19; border-color: #6c562b; }
html[data-theme="dark"] .result-callout.is-win { background: var(--green-soft); border-color: #2f704e; }
html[data-theme="dark"] .today-progress-card.is-complete { background: linear-gradient(135deg, var(--card), var(--green-soft)); border-color: #2f704e; }
html[data-theme="dark"] .progress-bar-fill { background: #3b414d; }
html[data-theme="dark"] .article-intro,
html[data-theme="dark"] .article-prose .article-intro { background: var(--card); }
html[data-theme="dark"] .iq-home-feature { border-block-color: #262b34; }
html[data-theme="dark"] .iq-home-score { box-shadow: 0 24px 70px rgba(0,0,0,.45); }
html[data-theme="dark"] .iq-home-score i { border-bottom-color: var(--track); }
html[data-theme="dark"] .iq-home-link { color: #bda6ff; }
html[data-theme="dark"] .curiosity-card.is-complete .curiosity-label,
html[data-theme="dark"] .curiosity-complete-link { color: #6bd39a; }
html[data-theme="dark"] .site-footer .brand-mark { background: #25262a; border-color: #fff; }
html[data-theme="dark"] .site-footer .brand-mark::before,
html[data-theme="dark"] .site-footer .brand-mark::after { background: #fff; }

@media (max-width: 1200px) {
  .nav-links { gap: 10px; font-size: 12px; }
  .nav-links > a:not(.button) { padding-inline: 5px; }
  .nav-links > a.nav-iq-link:not(.button) { padding: 8px 10px; }
  .nav-cta { padding-inline: 13px; }
}

@media (max-width: 900px) {
  .nav-links > a.nav-iq-link:not(.button) { padding: 12px 14px; text-align: center; }
  .theme-toggle { width: 100%; height: 44px; justify-content: flex-start; padding: 0 12px; }
  .theme-toggle-label { display: inline; }
  .launch-strip .launch-stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .launch-stat:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .launch-stat:nth-child(4) { border-top: 1px solid var(--line); }
  .path-grid.path-grid-two { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero-lab-copy .hero-actions { gap: 12px; margin-top: 30px; }
  .hero-lab-copy .hero-note { margin-top: 24px; font-size: 14px; }
  .curiosity-card.is-complete { min-height: 540px; padding: 28px 24px 26px; }
  .curiosity-card.is-complete .home-score-line > strong { font-size: clamp(88px, 28vw, 118px); }
  .home-skill-row { grid-template-columns: 68px minmax(0,1fr) 34px; gap: 8px; }
  .launch-stat { padding: 20px 18px; }
  .launch-stat strong { font-size: 26px; }
  .launch-stat span { font-size: 13px; }
  .iq-home-promises { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .iq-home-promises span { text-align: center; }
}
