
:root {
  --navy: #071f2e;
  --navy-2: #0b2b3b;
  --teal: #0b766d;
  --teal-soft: #dceee9;
  --gold: #d8aa57;
  --gold-soft: #f3e8d1;
  --paper: #f5f7f5;
  --ink: #173441;
  --muted: #61757d;
  --line: #d7e0e0;
  --radius: 22px;
  --shadow: 0 22px 60px rgba(7, 31, 46, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Thmanyah Sans", Arial, sans-serif;
  font-synthesis: none;
  font-feature-settings: "calt" 1, "liga" 1;
  font-size: 16px;
  line-height: 1.75;
}
h1, h2, h3, .identity strong {
  font-family: "Thmanyah Serif Display", "Thmanyah Sans", serif;
  font-synthesis: none;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
.skip-link {
  position: fixed;
  inset-block-start: .75rem;
  inset-inline-start: .75rem;
  z-index: 100;
  padding: .65rem 1rem;
  color: var(--navy);
  background: white;
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.site-header {
  min-height: 84px;
  padding-inline: clamp(1.1rem, 5vw, 5.5rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.identity { display: flex; align-items: center; gap: .8rem; width: fit-content; }
.identity-mark {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--navy);
  border-radius: 14px 5px 14px 5px;
  border-bottom: 3px solid var(--gold);
  font-weight: 700;
}
.identity strong, .identity small { display: block; line-height: 1.3; }
.identity strong { color: var(--navy); font-size: 1rem; }
.identity small { color: var(--muted); font-size: .76rem; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.2rem); }
nav a { position: relative; color: #506770; font-size: .9rem; font-weight: 600; }
nav a::after {
  content: "";
  height: 2px;
  position: absolute;
  inset-inline: 0;
  inset-block-end: -.65rem;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 180ms ease;
}
nav a:hover::after { transform: scaleX(1); }
.header-action {
  justify-self: end;
  padding: .58rem 1rem;
  color: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 700;
}
.mobile-menu { display: none; }

.hero {
  min-height: 650px;
  padding: clamp(4.5rem, 8vw, 7.5rem) clamp(1.4rem, 8vw, 8.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  position: relative;
  overflow: hidden;
  color: white;
  background: radial-gradient(circle at 80% 20%, rgba(11,118,109,.3), transparent 34%), linear-gradient(135deg, var(--navy), #061923 72%);
}
.hero::after {
  content: "";
  width: 40vw;
  height: 40vw;
  position: absolute;
  inset-inline-start: -18vw;
  inset-block-end: -28vw;
  border: 1px solid rgba(216,170,87,.2);
  border-radius: 50%;
}
.hero-copy, .hero-card { position: relative; z-index: 2; }
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: 0;
  color: var(--gold);
  font-size: .86rem;
  font-weight: 700;
}
.eyebrow::before, .section-kicker::before { content: ""; width: 30px; height: 1px; background: currentColor; }
h1 { margin: 1.1rem 0 1.4rem; font-size: clamp(3.5rem, 7vw, 7.2rem); line-height: 1.04; font-weight: 700; }
h1 em { color: var(--gold); font-style: normal; }
.hero-lead { max-width: 680px; margin: 0; color: #cfdee2; font-size: clamp(1.08rem, 1.7vw, 1.32rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button {
  min-height: 48px;
  padding: .72rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
}
.button-primary { color: var(--navy); background: var(--gold); }
.button-ghost { color: white; border: 1px solid rgba(255,255,255,.3); }
.hero-card {
  padding: 1.3rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,.2);
  backdrop-filter: blur(10px);
}
.card-label { display: block; padding: .35rem .5rem 1rem; color: var(--gold); font-size: .8rem; font-weight: 700; }
.hero-card ol { list-style: none; margin: 0; padding: 0; }
.hero-card li { min-height: 82px; padding: 1rem; display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: .9rem; border-top: 1px solid rgba(255,255,255,.14); }
.hero-card b { color: var(--gold); font-size: .76rem; }
.hero-card span { color: #e5edef; font-size: 1rem; }
.hero-orbit { position: absolute; width: 420px; aspect-ratio: 1; inset-inline-end: -220px; inset-block-start: -200px; opacity: .4; }
.hero-orbit span { position: absolute; inset: 0; border: 1px solid var(--gold); border-radius: 50%; }
.hero-orbit span:nth-child(2) { inset: 65px; border-color: white; }
.hero-orbit span:nth-child(3) { inset: 130px; background: rgba(216,170,87,.2); }

.page-section { padding: clamp(4rem, 8vw, 7.5rem) clamp(1.4rem, 8vw, 8.5rem); }
.section-intro { max-width: 850px; }
.section-intro .section-kicker { color: var(--teal); }
.section-intro h2 { margin: .8rem 0 1rem; color: var(--navy); font-size: clamp(2.15rem, 4vw, 4.3rem); line-height: 1.25; }
.section-intro > p:last-child { max-width: 760px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.section-intro.inverse h2 { color: white; }
.section-intro.inverse > p:last-child { color: #a9bec5; }

.purpose { background: white; }
.purpose-grid { margin-top: 3.3rem; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.purpose-grid article { min-height: 220px; padding: 1.5rem; border-inline-start: 1px solid var(--line); background: #fbfcfb; }
.purpose-grid article:first-child { border-inline-start: 0; }
.purpose-grid span, .topic-number { color: var(--teal); font-size: .76rem; font-weight: 700; }
.purpose-grid h3 { margin: 3.5rem 0 .65rem; color: var(--navy); font-size: 1.25rem; }
.purpose-grid p { margin: 0; color: var(--muted); font-size: .93rem; }

.map { background: var(--navy); color: white; }
.map-flow { list-style: none; margin: 3.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); overflow: hidden; }
.map-flow li { min-height: 250px; padding: 1.6rem; display: grid; grid-template-columns: 44px 1fr; gap: 1rem; background: var(--navy-2); }
.step-number { width: 40px; height: 40px; display: grid; place-items: center; color: var(--navy); background: var(--gold); border-radius: 50%; font-size: .75rem; font-weight: 800; }
.map-flow small { color: #7fc3bc; font-weight: 700; }
.map-flow h3 { margin: 2.2rem 0 .55rem; color: white; font-size: 1.25rem; }
.map-flow p { margin: 0; color: #9fb6bd; font-size: .94rem; }

.domains { background: var(--paper); }
.tracks { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.track-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.track-card header { min-height: 235px; padding: clamp(1.5rem, 4vw, 2.5rem); }
.track-card header > span { color: var(--teal); font-size: .8rem; font-weight: 800; }
.track-card h3 { margin: .7rem 0 .6rem; color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.7rem); }
.track-card header p { margin: 0; color: var(--muted); }
.track-card ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.track-card li { min-height: 84px; padding: 1.1rem; display: flex; align-items: center; gap: .8rem; border-inline-start: 1px solid var(--line); border-top: 1px solid var(--line); }
.track-card li:nth-child(odd) { border-inline-start: 0; }
.track-card li:nth-child(-n+2) { border-top: 0; }
.track-card li b { color: var(--teal); font-size: .72rem; }
.supervision-track header { background: var(--teal-soft); }
.evaluation-track header { background: var(--gold-soft); }
.method-note { margin: 1.2rem 0 0; padding: 1rem 1.2rem; color: #4e666e; background: white; border-inline-start: 4px solid var(--gold); border-radius: 8px; }
.method-note strong { color: var(--navy); }

.evaluation { background: white; }
.evaluation-tools { margin-top: 3.2rem; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.evaluation-tools article { min-height: 220px; padding: 1.35rem; border-inline-start: 1px solid var(--line); background: #fbfcfb; }
.evaluation-tools article:first-child { border-inline-start: 0; }
.evaluation-tools span { color: var(--teal); font-size: .74rem; font-weight: 800; }
.evaluation-tools h3 { margin: 3rem 0 .55rem; color: var(--navy); font-size: 1.14rem; }
.evaluation-tools p { margin: 0; color: var(--muted); font-size: .88rem; }
.evaluation-cycle { margin-top: 1.4rem; padding: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; position: relative; background: var(--teal-soft); border-radius: var(--radius); }
.evaluation-cycle::before { content: ""; height: 1px; position: absolute; inset-inline: 11%; inset-block-start: 3rem; background: rgba(11,118,109,.35); }
.evaluation-cycle article { position: relative; z-index: 1; padding: 0 1rem; }
.cycle-dot { width: 18px; height: 18px; display: block; margin-bottom: 1.5rem; background: var(--gold); border: 5px solid white; border-radius: 50%; box-shadow: 0 0 0 1px rgba(11,118,109,.2); }
.evaluation-cycle small { color: var(--teal); font-weight: 800; }
.evaluation-cycle h3 { margin: .35rem 0 .45rem; color: var(--navy); font-size: 1.2rem; }
.evaluation-cycle p { margin: 0; color: #526b73; font-size: .9rem; }

.evidence { background: #0b3845; color: white; }
.evidence-equation { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1.15fr; align-items: stretch; gap: .8rem; }
.evidence-equation article { min-height: 225px; padding: 1.4rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; }
.evidence-equation article > span { color: var(--gold); font-size: .75rem; font-weight: 700; }
.evidence-equation h3 { margin: 3.1rem 0 .5rem; color: white; font-size: 1.4rem; }
.evidence-equation p { margin: 0; color: #adbec4; font-size: .9rem; }
.evidence-equation > i { align-self: center; color: var(--gold); font-size: 1.6rem; font-style: normal; }
.evidence-equation .evidence-result { color: var(--navy); background: var(--gold); border-color: var(--gold); }
.evidence-result > span, .evidence-result h3, .evidence-result p { color: var(--navy); }
.evidence-check { margin-top: 1.2rem; padding: 1.2rem 1.4rem; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; background: rgba(255,255,255,.06); border-radius: 14px; }
.evidence-check p { margin: 0; color: white; font-weight: 800; }
.evidence-check ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.evidence-check li { padding: .35rem .7rem; color: #c5d4d8; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: .83rem; }

.mistakes { background: var(--paper); }
.mistakes-grid { margin-top: 3.2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
.mistakes-grid article { min-height: 200px; padding: 1.35rem; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: 1fr auto; gap: .7rem 1rem; background: white; border: 1px solid var(--line); border-radius: 14px; }
.mistakes-grid article > span { width: 36px; height: 36px; display: grid; place-items: center; color: var(--navy); background: var(--gold-soft); border-radius: 50%; font-size: .73rem; font-weight: 800; }
.mistakes-grid h3 { margin: .15rem 0 .35rem; color: var(--navy); font-size: 1.18rem; }
.mistakes-grid p { margin: 0; color: var(--muted); font-size: .91rem; }
.mistakes-grid strong { grid-column: 2; padding-top: .8rem; color: var(--teal); border-top: 1px solid var(--line); font-size: .86rem; font-weight: 700; }
.golden-rule { margin-top: 1rem; padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; color: white; background: var(--navy); border-radius: var(--radius); }
.golden-rule small { color: var(--gold); font-weight: 800; }
.golden-rule h3 { margin: .35rem 0 0; color: white; font-size: clamp(1.4rem, 2.5vw, 2.2rem); line-height: 1.35; }
.golden-rule p { margin: 0; padding: 1rem 1.2rem; color: #c2d1d5; background: rgba(255,255,255,.06); border-inline-start: 3px solid var(--gold); }
.golden-rule p strong { color: white; }
.adaptation-note { margin: 1rem 0 0; color: var(--muted); font-size: .82rem; }
.adaptation-note a { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.library { background: white; }
.library-grid { margin-top: 3.2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.library-grid article { min-height: 205px; padding: 1.4rem; display: grid; grid-template-columns: 42px 1fr auto; gap: 1rem; align-items: center; background: #f8faf9; border: 1px solid var(--line); border-radius: 14px; transition: transform 180ms ease, box-shadow 180ms ease; }
.library-grid article:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.library-grid small { color: var(--teal); font-weight: 700; }
.library-grid h3 { margin: .3rem 0 .45rem; color: var(--navy); font-size: 1.25rem; }
.library-grid p { margin: 0; color: var(--muted); font-size: .91rem; }
.status { padding: .25rem .62rem; color: #6a5a38; background: var(--gold-soft); border-radius: 999px; font-size: .73rem; white-space: nowrap; }
.status-ready { color: white; background: var(--teal); }

.about { display: grid; grid-template-columns: .45fr 1.25fr .85fr; gap: clamp(2rem, 5vw, 5.5rem); align-items: center; background: var(--teal-soft); }
.about-mark { aspect-ratio: 1; width: min(100%, 210px); display: grid; place-items: center; color: white; background: var(--teal); border-radius: 50% 12% 50% 12%; box-shadow: inset -12px -12px 0 rgba(7,31,46,.1); font-size: clamp(3rem, 7vw, 6rem); font-weight: 800; }
.about h2 { margin: .8rem 0 1rem; color: var(--navy); font-size: clamp(2rem, 3.4vw, 3.5rem); line-height: 1.3; }
.about-copy > p { color: #4e666e; }
.reference-note { padding: .9rem 1rem; background: rgba(255,255,255,.5); border-inline-start: 3px solid var(--gold); font-size: .88rem; }
.source-links { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .9rem; }
.source-links a { padding: .35rem .72rem; color: var(--teal); background: rgba(255,255,255,.62); border: 1px solid rgba(11,118,109,.2); border-radius: 999px; font-size: .8rem; font-weight: 700; }
.about blockquote { margin: 0; padding: 1.4rem 1.4rem 1.4rem 0; border-inline-start: 2px solid var(--gold); }
.about blockquote p { margin: 0; color: var(--navy); font-size: 1.16rem; font-weight: 700; }
.about blockquote footer { margin-top: .7rem; color: var(--muted); font-size: .8rem; }

.press-promo { padding: clamp(3.5rem, 7vw, 6rem) clamp(1.4rem, 8vw, 8.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: white; background: var(--navy); }
.press-promo h2 { margin: .6rem 0 .5rem; font-size: clamp(2rem, 3.4vw, 3.5rem); }
.press-promo p { margin: 0; color: #a9bec5; }
.button-light { flex: 0 0 auto; color: var(--navy); background: white; }
.site-footer { padding: 1.5rem clamp(1.4rem, 8vw, 8.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #afc1c7; background: #04151d; font-size: .83rem; }
.site-footer strong, .site-footer span { display: block; }
.site-footer strong { color: white; }
.site-footer a { color: var(--gold); }

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

/* Independent guide pages */
.guide-body { background-color: #eef2ef; }
.guide-hero {
  min-height: 540px;
  padding: 9rem clamp(1.4rem, 8vw, 8.5rem) 5rem;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: white;
  background:
    radial-gradient(circle at 20% 20%, rgba(11,118,109,.35), transparent 30%),
    linear-gradient(145deg, var(--navy), #061923 75%);
}
.guide-hero::after {
  content: "";
  width: 360px;
  aspect-ratio: 1;
  position: absolute;
  inset-inline-end: -180px;
  inset-block-end: -190px;
  border: 1px solid rgba(216,170,87,.28);
  border-radius: 50%;
}
.guide-hero > div { max-width: 970px; position: relative; z-index: 1; }
.breadcrumb { display: inline-flex; gap: .5rem; align-items: center; color: #a9bec5; font-size: .86rem; }
.breadcrumb a { color: var(--gold); font-weight: 700; }
.guide-hero h1 { margin: 1rem 0; font-size: clamp(3.8rem, 9vw, 8rem); }
.guide-hero p { max-width: 760px; margin: 0 auto; color: #c5d4d8; font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.guide-main { padding-block: clamp(1rem, 3vw, 2rem) 4rem; }
.guide-section {
  margin: 1rem clamp(.65rem, 2vw, 1.8rem);
  padding: clamp(4rem, 8vw, 7.5rem) clamp(1.4rem, 7vw, 7rem);
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: 0 18px 55px rgba(7,31,46,.07);
}
.guide-section.dark { color: white; background: #0b3845; border-color: transparent; }
.guide-section.soft { background: var(--teal-soft); }
.guide-section .section-intro { margin-bottom: 3rem; }
.guide-section .tracks,
.guide-section .evaluation-tools,
.guide-section .mistakes-grid,
.guide-section .evidence-equation { margin-top: 0; }
.guide-section .source-links { margin-top: 1.4rem; }
.guide-section .source-links a { background: white; }
.guide-navigation {
  margin: 1rem clamp(.65rem, 2vw, 1.8rem);
  padding: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.guide-navigation a { padding: .7rem 1rem; color: var(--teal); font-weight: 800; }
.guide-navigation a:first-child { color: white; background: var(--navy); border-radius: 999px; }
.comparison-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.comparison-card { padding: 1.5rem; background: white; border: 1px solid var(--line); border-radius: 24px; }
.comparison-card small { color: var(--teal); font-weight: 800; }
.comparison-card h3 { margin: .45rem 0 .7rem; color: var(--navy); font-size: 1.35rem; }
.comparison-card p { margin: .35rem 0; color: var(--muted); }
.comparison-card strong { color: var(--teal); }
.guide-note { margin: 2rem 0 0; padding: 1.2rem 1.35rem; color: #435b63; background: var(--gold-soft); border-inline-start: 4px solid var(--gold); border-radius: 14px; }
.guide-note strong { color: var(--navy); }
.guide-footer { margin-top: 0; }

@media (max-width: 720px) {
  .guide-hero { min-height: 470px; padding-top: 8rem; }
  .guide-section { margin-inline: .5rem; border-radius: 26px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .guide-navigation { margin-inline: .5rem; }
  .guide-navigation a { width: 100%; text-align: center; }
}

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav, .header-action { display: none; }
  .mobile-menu { display: block; justify-self: end; position: relative; }
  .mobile-menu summary { cursor: pointer; list-style: none; color: var(--teal); font-weight: 800; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu > div { min-width: 220px; padding: .7rem; display: grid; position: absolute; inset-inline-end: 0; inset-block-start: 2.5rem; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
  .mobile-menu a { padding: .65rem .75rem; }
  .hero { grid-template-columns: 1fr .65fr; gap: 2rem; }
  .purpose-grid { grid-template-columns: repeat(2, 1fr); }
  .purpose-grid article:nth-child(3) { border-inline-start: 0; border-top: 1px solid var(--line); }
  .purpose-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .map-flow { grid-template-columns: repeat(2, 1fr); }
  .evaluation-tools { grid-template-columns: repeat(3, 1fr); }
  .evaluation-tools article:nth-child(4) { border-inline-start: 0; border-top: 1px solid var(--line); }
  .evaluation-tools article:nth-child(5) { border-top: 1px solid var(--line); }
  .evidence-equation { grid-template-columns: 1fr 1fr; }
  .evidence-equation > i { display: none; }
  .about { grid-template-columns: .45fr 1fr; }
  .about blockquote { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .site-header { min-height: 74px; }
  .identity-mark { width: 41px; height: 41px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 2.5rem; padding-block: 4.5rem; }
  h1 { font-size: clamp(3.25rem, 16vw, 5rem); }
  .hero-card { max-width: none; }
  .purpose-grid, .map-flow, .tracks, .library-grid, .evaluation-tools, .evaluation-cycle, .mistakes-grid, .golden-rule { grid-template-columns: 1fr; }
  .purpose-grid article { min-height: 190px; border-inline-start: 0; border-top: 1px solid var(--line); }
  .purpose-grid article:first-child { border-top: 0; }
  .purpose-grid h3 { margin-top: 2.4rem; }
  .map-flow li { min-height: 220px; }
  .track-card ul { grid-template-columns: 1fr; }
  .track-card li, .track-card li:nth-child(odd), .track-card li:nth-child(-n+2) { border-inline-start: 0; border-top: 1px solid var(--line); }
  .track-card li:first-child { border-top: 0; }
  .evaluation-tools article, .evaluation-tools article:nth-child(4), .evaluation-tools article:nth-child(5) { min-height: 180px; border-inline-start: 0; border-top: 1px solid var(--line); }
  .evaluation-tools article:first-child { border-top: 0; }
  .evaluation-tools h3 { margin-top: 2rem; }
  .evaluation-cycle { padding: 1.5rem; }
  .evaluation-cycle::before { width: 1px; height: auto; inset-inline-start: 1.55rem; inset-inline-end: auto; inset-block: 2.4rem; }
  .evaluation-cycle article { padding: 0 0 1.1rem; display: grid; grid-template-columns: 30px 1fr; column-gap: .8rem; }
  .evaluation-cycle .cycle-dot { grid-row: 1 / 4; margin: 0; }
  .evaluation-cycle article > :not(.cycle-dot) { grid-column: 2; }
  .evidence-equation { grid-template-columns: 1fr; }
  .evidence-equation article { min-height: 190px; }
  .evidence-equation h3 { margin-top: 2rem; }
  .evidence-check { grid-template-columns: 1fr; }
  .library-grid article { grid-template-columns: 34px 1fr; }
  .library-grid .status { grid-column: 2; justify-self: start; }
  .mistakes-grid article { min-height: 190px; }
  .golden-rule { gap: 1rem; }
  .about { grid-template-columns: 1fr; }
  .about-mark { width: 120px; }
  .press-promo { align-items: flex-start; flex-direction: column; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-card li { grid-template-columns: 32px 1fr; }
  .page-section { padding-inline: 1rem; }
}

/* Identity refresh: soft digital minimalism, adapted to the Zamil brand. */
:root {
  --paper: #f8f8f6;
  --ink: #172f3a;
  --muted: #5f6b6e;
  --line: #e4e7e5;
  --orange: #e7833b;
  --blue: #3f72db;
  --mint: #4caf89;
  --radius: 30px;
  --shadow: 0 18px 50px rgba(7, 31, 46, .10);
}

body {
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(7,31,46,.12) 1px, transparent 1.2px);
  background-size: 28px 28px;
}
main { overflow: hidden; }
section[id] { scroll-margin-top: 7rem; }

.site-header {
  min-height: 0;
  padding: 0 clamp(1rem, 6vw, 6rem);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: fixed;
  inset: 1.2rem 0 auto;
  z-index: 80;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  pointer-events: none;
}
.identity, .site-menu { pointer-events: auto; }
.identity {
  padding: .46rem .56rem .46rem 1.05rem;
  gap: .68rem;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(7,31,46,.08);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(7,31,46,.10);
  backdrop-filter: blur(16px);
}
.identity-mark {
  width: 42px;
  height: 42px;
  color: var(--navy);
  background: var(--gold);
  border: 0;
  border-radius: 50%;
}
.identity strong { font-size: .88rem; }
.identity small { font-size: .68rem; }
.site-menu { position: relative; }
.site-menu > summary {
  width: 52px;
  height: 52px;
  display: grid;
  place-content: center;
  gap: 4px;
  cursor: pointer;
  list-style: none;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(7,31,46,.08);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(7,31,46,.10);
  backdrop-filter: blur(16px);
}
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu > summary span { width: 18px; height: 1.5px; display: block; background: var(--navy); transition: transform 180ms ease, opacity 180ms ease; }
.site-menu[open] > summary span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.site-menu[open] > summary span:nth-child(2) { opacity: 0; }
.site-menu[open] > summary span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.site-menu nav {
  width: min(320px, calc(100vw - 2rem));
  padding: .7rem;
  display: grid;
  gap: .18rem;
  position: absolute;
  inset-inline-end: 0;
  inset-block-start: 4rem;
  background: rgba(255,255,255,.97);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.site-menu nav a {
  padding: .65rem .78rem;
  color: #435860;
  border-radius: 12px;
  font-size: .88rem;
  font-weight: 700;
}
.site-menu nav a:hover { color: var(--navy); background: var(--teal-soft); }
.site-menu nav a::after { display: none; }

.hero {
  min-height: 760px;
  padding: 9rem clamp(1.4rem, 8vw, 8.5rem) 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  text-align: center;
  color: var(--navy);
  background: rgba(248,248,246,.78);
  border-bottom: 1px solid var(--line);
}
.hero::before, .hero::after {
  content: "";
  width: min(88vw, 1060px);
  height: 100%;
  position: absolute;
  inset-block: 0;
  inset-inline: 50% auto;
  transform: translateX(50%);
  border-inline: 1px solid rgba(7,31,46,.07);
  border-radius: 0;
  pointer-events: none;
}
.hero::after { width: 1px; border: 0; background: rgba(7,31,46,.06); }
.hero-copy { max-width: 900px; }
.eyebrow { color: var(--teal); }
.hero h1 {
  margin: 1.1rem 0 1.5rem;
  color: var(--navy);
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: .86;
}
.hero h1 em { color: var(--navy); }
.hero-lead { max-width: 720px; margin-inline: auto; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.35rem); }
.hero-actions { justify-content: center; }
.button { min-height: 50px; padding-inline: 1.55rem; border-radius: 999px; box-shadow: 0 10px 24px rgba(7,31,46,.10); }
.hero .button-primary { color: white; background: var(--navy); }
.hero .button-ghost { color: var(--navy); background: white; border: 1px solid var(--line); }
.hero-principles { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; position: relative; z-index: 2; }
.hero-principles > span {
  padding: .72rem 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: #43575f;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(7,31,46,.08);
}
.hero-principles b { color: var(--teal); font-size: .68rem; }

.page-section { padding-block: clamp(6rem, 11vw, 10rem); position: relative; }
.section-intro h2 { font-size: clamp(2.8rem, 6vw, 6.4rem); line-height: 1.08; }
.section-intro > p:last-child { font-size: 1.08rem; }
.purpose, .domains, .evaluation, .mistakes, .library, .faq { background-color: rgba(255,255,255,.94); }

.purpose-grid, .evaluation-tools { gap: .8rem; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.purpose-grid article, .evaluation-tools article {
  border: 1px solid var(--line) !important;
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(7,31,46,.06);
}
.purpose-grid article:nth-child(1) span { color: var(--orange); }
.purpose-grid article:nth-child(2) span { color: var(--blue); }
.purpose-grid article:nth-child(3) span { color: var(--mint); }
.purpose-grid article:nth-child(4) span { color: var(--teal); }

.map, .evidence { margin: 0 clamp(.65rem, 2vw, 1.8rem); border-radius: 34px; box-shadow: 0 24px 70px rgba(7,31,46,.18); }
.map-flow { gap: .75rem; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.map-flow li, .evidence-equation article { border-radius: 22px; }
.track-card, .mistakes-grid article, .library-grid article { border-radius: 24px; box-shadow: 0 12px 34px rgba(7,31,46,.06); }
.evaluation-cycle { border-radius: 26px; }
.evidence-equation article { box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.evidence-check li, .source-links a, .status { border-radius: 999px; }

.faq { border-top: 1px solid var(--line); }
.faq-list { margin-top: 3.5rem; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  min-height: 94px;
  padding: 1.25rem .35rem;
  display: grid;
  grid-template-columns: 46px 1fr 34px;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; width: 32px; height: 32px; display: grid; place-items: center; color: var(--navy); background: white; border: 1px solid var(--line); border-radius: 50%; font-size: 1.2rem; }
.faq-list details[open] summary::after { content: "−"; color: white; background: var(--navy); }
.faq-list summary span { color: var(--teal); font-size: .72rem; font-weight: 800; }
.faq-list h3 { margin: 0; color: var(--navy); font-size: clamp(1.05rem, 2vw, 1.35rem); }
.faq-list details > p { max-width: 850px; margin: 0 3.9rem 1.5rem; color: var(--muted); }

.action-panel {
  margin: 1rem clamp(.65rem, 2vw, 1.8rem);
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 7vw, 7rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  color: white;
  background: var(--navy);
  border-radius: 34px;
  box-shadow: 0 24px 70px rgba(7,31,46,.18);
}
.action-panel h2 { margin: .65rem 0 0; font-size: clamp(2.6rem, 6vw, 6rem); line-height: 1.08; }
.action-panel-links { display: flex; flex-wrap: wrap; gap: .7rem; flex: 0 0 auto; }
.action-panel .button-primary { color: var(--navy); background: var(--gold); }
.action-panel .button-ghost { color: white; border: 1px solid rgba(255,255,255,.25); }

.about { margin: 1rem clamp(.65rem, 2vw, 1.8rem); border-radius: 34px; }
.about-mark { border-radius: 50%; }
.press-promo {
  margin: 1rem clamp(.65rem, 2vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 30px;
  color: var(--navy);
  background: rgba(255,255,255,.96);
}
.press-promo h2 { color: var(--navy); }
.press-promo p { color: var(--muted); }
.button-light { color: white; background: var(--navy); }
.site-footer {
  margin: 1rem clamp(.65rem, 2vw, 1.8rem) 1.5rem;
  padding: 1.5rem 2rem;
  border-radius: 26px;
}

@keyframes soft-reveal {
  from { opacity: 0; filter: blur(10px); transform: translateY(18px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
.hero-copy { animation: soft-reveal 700ms cubic-bezier(.2,.7,.2,1) both; }
.hero-principles { animation: soft-reveal 700ms 160ms cubic-bezier(.2,.7,.2,1) both; }
@media (max-width: 860px) {
  .site-header { inset-block-start: .75rem; padding-inline: .75rem; }
  .identity { padding-inline-end: .45rem; }
  .hero { min-height: 700px; padding-top: 8rem; }
  .hero h1 { font-size: clamp(4.2rem, 20vw, 7rem); }
  .hero-principles { align-items: stretch; flex-direction: column; width: min(100%, 430px); }
  .hero-principles > span { justify-content: flex-start; }
  .map, .evidence, .about, .action-panel, .press-promo { margin-inline: .5rem; border-radius: 26px; }
  .action-panel { align-items: flex-start; flex-direction: column; }
  .action-panel-links { width: 100%; }
  .action-panel-links .button { flex: 1; }
}

@media (max-width: 560px) {
  .identity span:last-child { display: none; }
  .identity { padding: .36rem; }
  .identity-mark { width: 40px; height: 40px; }
  .site-menu > summary { width: 48px; height: 48px; }
  .hero { min-height: 720px; padding-inline: 1rem; }
  .hero h1 { font-size: clamp(4rem, 23vw, 6rem); }
  .section-intro h2 { font-size: clamp(2.6rem, 14vw, 4.2rem); }
  .faq-list summary { grid-template-columns: 34px 1fr 32px; gap: .7rem; }
  .faq-list details > p { margin-inline: 2.9rem .2rem; }
  .action-panel-links { display: grid; }
  .action-panel-links .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy, .hero-principles,
  .section-intro, .purpose-grid, .tracks, .evaluation-tools, .evaluation-cycle,
  .evidence-equation, .mistakes-grid, .library-grid, .faq-list, .action-panel {
    animation: none !important;
    filter: none !important;
    transform: none !important;
  }
}

/* Balanced Arabic type scale */
.hero h1 {
  max-width: 820px;
  font-size: clamp(4rem, 8.5vw, 7.25rem);
  line-height: .94;
}
.section-intro { max-width: 920px; }
.section-intro h2 {
  font-size: clamp(2.2rem, 4.25vw, 4.35rem);
  line-height: 1.16;
}
.guide-hero h1 {
  font-size: clamp(3.4rem, 7vw, 6.25rem);
  line-height: .98;
}
.action-panel h2 {
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  line-height: 1.16;
}

@media (max-width: 860px) {
  .hero h1 { font-size: clamp(3.8rem, 15vw, 5.7rem); }
  .guide-hero h1 { font-size: clamp(3.2rem, 12vw, 4.8rem); }
}

@media (max-width: 560px) {
  .hero h1 {
    max-width: 360px;
    font-size: clamp(3.35rem, 17vw, 4.3rem);
    line-height: .98;
  }
  .guide-hero h1 {
    font-size: clamp(3rem, 14vw, 3.75rem);
    line-height: 1.02;
  }
  .section-intro h2 {
    font-size: clamp(2.15rem, 10.5vw, 3rem);
    line-height: 1.2;
  }
  .action-panel h2 {
    font-size: clamp(2.25rem, 11vw, 3.1rem);
    line-height: 1.2;
  }
}

/* Readable secondary labels and inverse section labels. */
.section-intro.inverse .section-kicker { color: var(--gold); }
.identity small { font-size: .75rem; }
.hero-principles b, .topic-number, .step-number, .faq-list summary span,
.evaluation-tools span, .evidence-equation article > span, .track-card li b { font-size: .75rem; }
.error-body { min-height: 100vh; display: grid; place-items: center; padding: 2rem; }
.error-card { max-width: 650px; padding: clamp(2rem, 5vw, 4rem); text-align: center; background: white; border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); }
.error-card h1 { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.2; }
.error-card p { color: var(--muted); }
.error-card .button { color: white; background: var(--navy); margin-top: 1rem; }
