:root {
  --ink: #10203d;
  --ink-soft: #40506b;
  --navy: #0d1b3f;
  --navy-2: #162b52;
  --indigo: #5364c8;
  --indigo-dark: #39469f;
  --sky: #dcebf7;
  --paper: #f7f5ef;
  --paper-deep: #eeeae0;
  --white: #ffffff;
  --line: #d9dee7;
  --line-dark: #b9c3d2;
  --green: #176956;
  --green-soft: #e3f2ec;
  --amber: #a45f16;
  --amber-soft: #fbedd8;
  --red: #a43b3b;
  --red-soft: #f8e4e1;
  --shadow: 0 22px 60px rgba(13, 27, 63, 0.12);
  --shadow-small: 0 10px 28px rgba(13, 27, 63, 0.09);
  --radius-large: 28px;
  --radius: 18px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body.ai-portfolio-page {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: -0.012em;
  text-rendering: optimizeLegibility;
}

.ai-portfolio-page img {
  max-width: 100%;
}

.ai-portfolio-page a {
  color: inherit;
}

.ai-portfolio-page a:focus-visible,
.ai-portfolio-page button:focus-visible,
.ai-portfolio-page input:focus-visible,
.ai-portfolio-page summary:focus-visible {
  outline: 3px solid #f0b15a;
  outline-offset: 3px;
}

.ai-portfolio-page h1,
.ai-portfolio-page h2,
.ai-portfolio-page h3,
.ai-portfolio-page p {
  margin-top: 0;
}

.ai-portfolio-page h1,
.ai-portfolio-page h2,
.ai-portfolio-page h3 {
  word-break: keep-all;
  text-wrap: balance;
}

.ai-portfolio-page p,
.ai-portfolio-page li,
.ai-portfolio-page td,
.ai-portfolio-page th {
  word-break: keep-all;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--paper);
}

.section-blue {
  background: #f1f5fa;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--indigo-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.7vw, 1.14rem);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 20%, rgba(108, 129, 220, 0.22), transparent 34%),
    linear-gradient(130deg, #09152f 0%, var(--navy) 58%, #142b50 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  mask-image: linear-gradient(to right, black, transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(400px, 0.96fr);
  min-height: 690px;
  align-items: center;
  gap: 56px;
  padding: 64px 0 76px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 54px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.83rem;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #cdd5ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero-eyebrow::before {
  width: 34px;
  height: 2px;
  background: #f0b15a;
  content: "";
}

.hero h1 {
  max-width: 740px;
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 5vw, 4.85rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero h1 em {
  color: #cad3ff;
  font-style: normal;
}

.hero-answer {
  max-width: 700px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
}

.hero-answer strong {
  color: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.ai-portfolio-page .button-primary {
  color: var(--navy);
  background: #f1b35c;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.19);
}

.ai-portfolio-page .button-primary:hover {
  background: #ffc778;
}

.ai-portfolio-page .button-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.ai-portfolio-page .button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.14);
}

.ai-portfolio-page .button-dark {
  color: var(--white);
  background: var(--navy);
}

.button-dark:hover {
  background: var(--navy-2);
  box-shadow: var(--shadow-small);
}

.button-light {
  border-color: var(--line-dark);
  color: var(--navy);
  background: var(--white);
}

.button-light:hover {
  border-color: var(--indigo);
  box-shadow: var(--shadow-small);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.79rem;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: -22px 34px 30px -26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  content: "";
}

.hero-figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: #182440;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.34);
  transform: rotate(1.35deg);
}

.hero-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-figure figcaption {
  padding: 12px 16px 14px;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(8, 17, 37, 0.92);
  font-size: 0.72rem;
  line-height: 1.55;
}

.truth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.truth-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 2px 0 rgba(13, 27, 63, 0.02);
}

.truth-card::after {
  position: absolute;
  right: -42px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.truth-number {
  margin-bottom: 42px;
  color: var(--indigo);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.truth-card h3 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 1.34rem;
  line-height: 1.35;
}

.truth-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.truth-card strong {
  color: var(--ink);
}

.source-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: start;
}

.source-intro {
  position: sticky;
  top: 106px;
}

.source-intro h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.source-intro p {
  color: var(--ink-soft);
}

.source-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--amber);
  background: var(--amber-soft);
  color: #633f18;
  font-size: 0.92rem;
}

.source-list {
  display: grid;
  gap: 14px;
}

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

.public-proof-list .source-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.source-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: inherit;
  background: var(--white);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.source-card:hover {
  transform: translateY(-2px);
  border-color: #aeb9d3;
  box-shadow: var(--shadow-small);
}

.source-index {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid #c7d0e7;
  border-radius: 50%;
  color: var(--indigo-dark);
  background: #f1f4ff;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 900;
}

.source-card h3 {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 1.08rem;
}

.source-card p {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.source-link-label {
  color: var(--indigo-dark);
  font-size: 0.83rem;
  font-weight: 850;
}

.national-school-coverage {
  background: linear-gradient(180deg, #f7f9ff 0%, #eef2fb 100%);
}

.school-coverage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 20px;
  align-items: start;
}

.school-coverage-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-small);
}

.school-coverage-code {
  margin-bottom: 12px;
  color: var(--indigo);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.school-coverage-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.45rem;
}

.school-coverage-lead {
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.school-name-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.school-coverage-card--compact .school-name-list {
  grid-template-columns: 1fr;
}

.school-coverage-card--planned {
  grid-column: 1 / -1;
  border-color: #c9d4f1;
  background: linear-gradient(135deg, #ffffff 0%, #f7f9ff 100%);
}

.school-name-list li {
  padding: 13px 12px 13px 0;
  border-top: 1px solid var(--line);
}

.school-name-list strong,
.school-name-list span {
  display: block;
}

.school-name-list strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 0.94rem;
}

.school-name-list span {
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.55;
}

.school-name-sources a {
  color: var(--indigo-dark);
  font-weight: 800;
}

.school-coverage-note {
  margin-top: 20px;
  padding: 20px 24px;
  border-left: 4px solid var(--amber);
  border-radius: 0 14px 14px 0;
  background: var(--amber-soft);
  color: #633f18;
}

.school-coverage-note p {
  margin: 5px 0 8px;
  font-size: 0.9rem;
}

.school-coverage-note a {
  color: #70430f;
  font-size: 0.86rem;
  font-weight: 850;
}

.evidence-board {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 52px;
  align-items: center;
}

.evidence-copy h2 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.048em;
}

.evidence-copy p {
  color: var(--ink-soft);
}

.evidence-copy strong {
  color: var(--ink);
}

.evidence-stages {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.evidence-stage {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.055);
}

.evidence-stage:nth-child(2),
.evidence-stage:nth-child(5) {
  margin-left: 22px;
}

.evidence-stage:nth-child(3),
.evidence-stage:nth-child(6) {
  margin-left: 44px;
}

.stage-code {
  padding-top: 2px;
  color: #f2bc73;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 900;
}

.evidence-stage h3 {
  margin-bottom: 3px;
  color: var(--white);
  font-size: 1rem;
}

.evidence-stage p {
  margin-bottom: 0;
  font-size: 0.84rem;
  line-height: 1.55;
}

.example-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 30px;
}

.example-lead {
  padding: 34px;
  border-radius: var(--radius-large);
  color: var(--white);
  background: var(--navy);
}

.example-label {
  margin-bottom: 30px;
  color: #f2bc73;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.example-lead h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
}

.example-lead p {
  color: rgba(255, 255, 255, 0.74);
}

.example-disclosure {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.79rem;
}

.example-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.example-step {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.example-step:nth-child(1) {
  border-top: 4px solid var(--indigo);
}

.example-step:nth-child(2) {
  border-top: 4px solid var(--green);
}

.example-step:nth-child(3) {
  border-top: 4px solid var(--amber);
}

.example-step:nth-child(4) {
  border-top: 4px solid #6d5b90;
}

.example-step small {
  display: block;
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.example-step h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.04rem;
}

.example-step p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.checklist-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 46px;
  align-items: start;
}

.checklist-copy {
  position: sticky;
  top: 106px;
}

.checklist-copy h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.13;
  letter-spacing: -0.045em;
}

.checklist-copy p {
  color: var(--ink-soft);
}

.checklist-progress {
  margin: 28px 0 20px;
  padding: 18px;
  border: 1px solid #cbd4e6;
  border-radius: 12px;
  background: #f8faff;
}

.checklist-progress strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-size: 1.45rem;
}

.checklist-progress span {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.checklist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checklist-panel {
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-small);
}

.checklist-group + .checklist-group {
  margin-top: 12px;
}

.checklist-group h3 {
  margin: 0;
  padding: 12px 14px 8px;
  color: var(--indigo-dark);
  font-size: 0.79rem;
  letter-spacing: 0.08em;
}

.check-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 16px 14px;
  border-radius: 11px;
  cursor: pointer;
  transition: background-color 140ms ease;
}

.check-item:hover {
  background: #f5f7fb;
}

.check-item + .check-item {
  border-top: 1px solid #edf0f4;
}

.check-item input {
  width: 21px;
  height: 21px;
  margin-top: 3px;
  accent-color: var(--indigo-dark);
}

.check-item strong {
  display: block;
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 0.96rem;
}

.check-item span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.58;
}

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

.fit-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.fit-card.good {
  border-top: 5px solid var(--green);
}

.fit-card.caution {
  border-top: 5px solid var(--red);
}

.fit-card h3 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 1.28rem;
}

.fit-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-card li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: var(--ink-soft);
}

.fit-card li + li {
  border-top: 1px solid #edf0f4;
}

.fit-card li::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.55;
}

.academy-selection-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 64px;
  align-items: start;
}

.academy-selection-copy h2 {
  max-width: 14ch;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.academy-selection-copy > p {
  color: var(--ink-soft);
}

.academy-cit-note {
  margin-top: 30px;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--indigo-dark);
}

.academy-cit-note strong {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 0.92rem;
}

.academy-cit-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.68;
}

.academy-criteria {
  margin: 0;
  border-top: 1px solid var(--line-dark);
}

.academy-criteria > div {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}

.academy-criteria dt {
  color: var(--navy);
  font-weight: 850;
  line-height: 1.45;
}

.academy-criteria dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.68;
}

.program-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.program-band::before {
  position: absolute;
  top: -180px;
  right: -100px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.program-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 56px;
  align-items: center;
}

.program-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.program-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.program-copy .button {
  margin-top: 8px;
}

.program-flow {
  display: grid;
  gap: 2px;
}

.flow-step {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 17px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
}

.flow-step:first-child {
  border-radius: 16px 16px 4px 4px;
}

.flow-step:last-child {
  border-radius: 4px 4px 16px 16px;
}

.flow-step b {
  color: #f2bc73;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.flow-step strong {
  display: block;
  margin-bottom: 2px;
  color: var(--white);
  font-size: 0.98rem;
}

.flow-step span {
  color: rgba(255, 255, 255, 0.59);
  font-size: 0.82rem;
}

.faq-list {
  max-width: 880px;
  margin-inline: auto;
  border-top: 1px solid var(--line-dark);
}

.faq-list details {
  border-bottom: 1px solid var(--line-dark);
}

.faq-list summary {
  position: relative;
  padding: 24px 56px 24px 0;
  cursor: pointer;
  color: var(--navy);
  font-size: 1.06rem;
  font-weight: 850;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--indigo-dark);
  content: "+";
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 23px;
  text-align: center;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 780px;
  padding: 0 0 24px;
  color: var(--ink-soft);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.methodology {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
  gap: 34px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.methodology h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 1.55rem;
}

.methodology p {
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 0.91rem;
}

.methodology p:last-child {
  margin-bottom: 0;
}

.author-card {
  padding-left: 28px;
  border-left: 1px solid var(--line-dark);
}

.author-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}

.author-card a {
  color: var(--indigo-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.related-link {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--navy);
  background: var(--white);
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
}

.related-link:hover {
  border-color: var(--indigo);
  box-shadow: var(--shadow-small);
}

.site-footer {
  padding: 36px 0;
  color: rgba(255, 255, 255, 0.62);
  background: #08142b;
  font-size: 0.82rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-grid strong {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a:hover {
  color: var(--white);
}

.sticky-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid rgba(13, 27, 63, 0.09);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .source-callout,
  .evidence-board,
  .example-grid,
  .checklist-layout,
  .academy-selection-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .public-proof-list {
    grid-template-columns: 1fr;
  }

  .school-coverage-grid {
    grid-template-columns: 1fr;
  }

  .school-coverage-card--compact .school-name-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid {
    gap: 46px;
    padding-top: 46px;
  }

  .breadcrumb {
    margin-bottom: 38px;
  }

  .hero-visual {
    max-width: 740px;
  }

  .truth-grid {
    grid-template-columns: 1fr;
  }

  .truth-card {
    min-height: 0;
  }

  .truth-number {
    margin-bottom: 26px;
  }

  .source-intro,
  .checklist-copy {
    position: static;
  }

  .source-callout,
  .checklist-layout {
    gap: 32px;
  }

  .example-lead {
    min-height: auto;
  }

  .methodology {
    grid-template-columns: 1fr;
  }

  .author-card {
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .related-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.ai-portfolio-page {
    font-size: 16px;
  }

  .page-shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .section {
    padding: 70px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .hero-grid {
    min-height: 0;
    padding: 34px 0 54px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-figure {
    transform: none;
  }

  .hero-visual::before {
    display: none;
  }

  .truth-card,
  .example-lead,
  .fit-card,
  .methodology {
    padding: 24px;
  }

  .source-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding: 20px;
  }

  .source-index {
    width: 42px;
    height: 42px;
  }

  .school-coverage-card {
    padding: 22px;
  }

  .school-name-list,
  .school-coverage-card--compact .school-name-list {
    grid-template-columns: 1fr;
  }

  .school-coverage-note {
    padding: 18px;
  }

  .evidence-stages {
    padding: 11px;
  }

  .evidence-stage,
  .evidence-stage:nth-child(2),
  .evidence-stage:nth-child(3),
  .evidence-stage:nth-child(5),
  .evidence-stage:nth-child(6) {
    margin-left: 0;
  }

  .example-steps,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .academy-criteria > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .example-step {
    min-height: 0;
  }

  .checklist-panel {
    padding: 9px;
  }

  .check-item {
    padding: 15px 10px;
  }

  .program-flow {
    gap: 8px;
  }

  .flow-step,
  .flow-step:first-child,
  .flow-step:last-child {
    border-radius: 12px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  @page {
    margin: 14mm;
  }

  body.ai-portfolio-page {
    color: #000;
    background: #fff;
    font-size: 10.5pt;
  }

  #navBarContainer,
  .hero,
  .section:not(#checklist),
  .site-footer,
  .checklist-actions,
  .checklist-progress,
  .skip-link {
    display: none !important;
  }

  #checklist {
    display: block !important;
    padding: 0;
    background: #fff;
  }

  .page-shell,
  .checklist-layout {
    display: block;
    width: 100%;
  }

  .checklist-copy {
    margin-bottom: 14mm;
  }

  .checklist-copy h2 {
    font-size: 22pt;
  }

  .checklist-panel {
    border: 1px solid #777;
    box-shadow: none;
  }

  .check-item {
    break-inside: avoid;
  }

  .check-item input {
    appearance: none;
    width: 15px;
    height: 15px;
    border: 1px solid #333;
    border-radius: 2px;
  }

  .check-item input:checked::after {
    display: block;
    content: "✓";
    font-size: 13px;
    line-height: 13px;
    text-align: center;
  }
}
