
:root {
  --ink: #08172c;
  --navy: #071426;
  --navy-soft: #102641;
  --paper: #f4f1e8;
  --paper-bright: #fbfaf5;
  --gold: #c8a45f;
  --gold-light: #e4ca8d;
  --cyan: #55d7df;
  --blue: #2a85b9;
  --muted-ink: #556374;
  --line: rgba(8, 23, 44, 0.14);
  --background: var(--paper-bright);
  --foreground: var(--ink);
  --card: #ffffff;
  --card-foreground: var(--ink);
  --popover: #ffffff;
  --popover-foreground: var(--ink);
  --primary: var(--navy);
  --primary-foreground: #ffffff;
  --secondary: #eef2f3;
  --secondary-foreground: var(--ink);
  --muted: #edf0ed;
  --muted-foreground: var(--muted-ink);
  --accent: #e4f5f5;
  --accent-foreground: var(--ink);
  --destructive: #9f3131;
  --border: #d9ddd9;
  --input: #d9ddd9;
  --ring: var(--blue);
  --radius: 0.75rem;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 5px);
  --font-sans: "Aptos", "Segoe UI", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper-bright);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding: 10px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(7,20,38,.95);
  color: #fff;
  backdrop-filter: blur(15px);
}
.brand, .footer-brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(228,202,141,.65);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 1.1rem;
}
.brand strong, .footer-brand strong { display: block; font-family: Georgia, serif; letter-spacing: .08em; }
.brand small, .footer-brand small { display: block; margin-top: 1px; color: #a9bccb; font-size: .68rem; letter-spacing: .06em; }
.desktop-nav { display: flex; gap: 28px; color: #c6d1da; font-size: .86rem; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--gold-light); }
.header-action { justify-self: end; display: inline-flex; align-items: center; gap: 8px; color: var(--gold-light); font-size: .82rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
  align-items: center;
  gap: 64px;
  min-height: 720px;
  padding-block: 96px;
}
.eyebrow { margin: 0 0 16px; color: #298096; font-size: .72rem; font-weight: 750; letter-spacing: .18em; }
.hero h1, .section-heading h2, .method-grid h2, .final-call h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
}
.hero h1 { max-width: 720px; font-size: clamp(3.25rem, 6vw, 5.8rem); line-height: .97; }
.hero h1 em { display: block; color: #277b9a; font-weight: 400; }
.hero-lead { max-width: 650px; margin: 30px 0 0; color: var(--muted-ink); font-size: 1.12rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.primary-button:hover, .primary-button:focus-visible { background: #173552; }
.text-link { border-bottom: 1px solid var(--gold); padding-bottom: 3px; color: #384c5d; font-size: .88rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 52px; color: #66727f; font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; }
.hero-facts span { display: flex; align-items: baseline; gap: 6px; }
.hero-facts strong { color: var(--ink); font-family: Georgia, serif; font-size: 1.4rem; font-weight: 400; }

.hero-diagram {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(42,133,185,.25);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(85,215,223,.15), transparent 20%),
    repeating-radial-gradient(circle at center, transparent 0 46px, rgba(42,133,185,.12) 47px 48px),
    linear-gradient(145deg, #0c2239, #06111f);
  box-shadow: 0 30px 100px rgba(7,20,38,.2);
}
.hero-diagram::before, .hero-diagram::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 86%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(228,202,141,.55), transparent);
  transform: translate(-50%,-50%) rotate(32deg);
}
.hero-diagram::after { transform: translate(-50%,-50%) rotate(-32deg); }
.diagram-orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(85,215,223,.26); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 72%; height: 48%; transform: translate(-50%,-50%) rotate(23deg); }
.orbit-two { width: 48%; height: 76%; transform: translate(-50%,-50%) rotate(-23deg); }
.diagram-node { position: absolute; z-index: 2; display: grid; place-items: center; width: 78px; height: 78px; border: 1px solid var(--gold); border-radius: 50%; background: var(--navy); color: white; box-shadow: 0 0 35px rgba(200,164,95,.2); }
.diagram-node span { font-family: Georgia, serif; font-size: 1.6rem; }
.diagram-node small { margin-top: -12px; color: #9eafbc; font-size: .62rem; }
.node-a { left: 10%; top: 42%; }
.node-b { right: 10%; top: 42%; }
.diagram-zone { position: absolute; z-index: 3; left: 50%; top: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 170px; height: 170px; transform: translate(-50%,-50%); border: 1px dashed rgba(85,215,223,.7); border-radius: 50%; color: white; background: rgba(10,33,53,.82); }
.diagram-zone small { color: var(--cyan); font-size: .58rem; letter-spacing: .2em; }
.diagram-zone strong { font-family: Georgia, serif; font-size: 2.5rem; font-weight: 400; }
.diagram-zone span { color: #a7bac7; font-size: .66rem; }
.diagram-r0 { position: absolute; z-index: 5; left: 50%; top: 50%; display: grid; place-items: center; width: 62px; height: 62px; transform: translate(-50%,-50%); border-radius: 50%; background: var(--gold-light); color: var(--navy); box-shadow: 0 0 35px rgba(228,202,141,.6); }
.diagram-r0 span { font-family: Georgia, serif; font-size: 1.35rem; }
.diagram-r0 small { margin-top: -10px; font-size: .48rem; }
.diagram-law { position: absolute; bottom: 13%; left: 50%; transform: translateX(-50%); color: #cfdae2; font-family: Georgia, serif; font-size: .88rem; white-space: nowrap; }

.thesis-strip { display: flex; justify-content: center; gap: 56px; padding: 20px 24px; background: var(--navy); color: #dae5eb; }
.thesis-strip p, .thesis-strip span { margin: 0; font-size: .75rem; letter-spacing: .12em; }
.thesis-strip p { color: var(--gold-light); font-weight: 700; }

.route-section, .integrity-section, .doctrine-section, .final-call { padding-block: 110px; }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading h2, .method-grid h2, .final-call h2 { font-size: clamp(2.4rem, 4.5vw, 4.2rem); line-height: 1.04; }
.section-heading > p:last-child { max-width: 650px; margin-top: 18px; color: var(--muted-ink); }
.cycle-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cycle-card { position: relative; display: flex; min-height: 390px; flex-direction: column; justify-content: space-between; padding: 26px; border-right: 1px solid var(--line); background: rgba(255,255,255,.55); transition: transform .25s ease, background .25s ease; }
.cycle-card:last-child { border-right: 0; }
.cycle-card:hover { z-index: 2; transform: translateY(-8px); background: #fff; box-shadow: 0 20px 60px rgba(7,20,38,.09); }
.cycle-roman { color: var(--gold); font-family: Georgia, serif; font-size: 4.5rem; line-height: 1; }
.cycle-card div > p { margin: 0 0 8px; color: #277b9a; font-size: .7rem; font-weight: 800; letter-spacing: .15em; }
.cycle-card h3 { margin: 0 0 16px; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 400; }
.cycle-card div > span { color: var(--muted-ink); font-size: .85rem; }
.cycle-card > small { color: #5f6b77; font-size: .72rem; }

.method-section { padding-block: 100px; background: #e9edf0; }
.method-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.method-grid > div > p:last-child { max-width: 520px; color: var(--muted-ink); }
.method-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(8,23,44,.18); }
.method-steps li { display: grid; grid-template-columns: 55px 1fr; align-items: center; min-height: 74px; border-bottom: 1px solid rgba(8,23,44,.18); }
.method-steps li > span { color: var(--gold); font-family: Georgia, serif; font-size: 1.05rem; }
.method-steps strong, .method-steps small { display: block; }
.method-steps strong { letter-spacing: .08em; font-size: .78rem; }
.method-steps small { color: var(--muted-ink); }

.compact-heading { max-width: 820px; }
.evidence-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.evidence-card { gap: 0; min-height: 240px; border-radius: 3px; box-shadow: none; }
.evidence-card [data-slot="card-header"] { gap: 18px; }
.evidence-card [data-slot="card-title"] { font-family: Georgia, serif; font-size: 1.18rem; font-weight: 400; }
.evidence-card [data-slot="card-content"] { color: var(--muted-ink); font-size: .84rem; line-height: 1.65; }
.evidence-letter { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: white; font-family: Georgia, serif; }
.evidence-card-b .evidence-letter { background: #266f8f; }
.evidence-card-c .evidence-letter { background: #927239; }
.evidence-card-d .evidence-letter { background: #55715f; }
.integrity-section blockquote { max-width: 900px; margin: 60px auto 0; padding: 0; color: var(--navy); font-family: Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.25; text-align: center; }

.courses-section { padding-block: 110px; background: var(--paper); }
.cycle-curriculum { scroll-margin-top: 90px; margin-top: 82px; }
.cycle-heading { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 20px; margin-bottom: 22px; }
.cycle-heading > span { color: var(--gold); font-family: Georgia, serif; font-size: 4.5rem; line-height: 1; }
.cycle-heading p { margin: 0; color: #277b9a; font-size: .68rem; font-weight: 800; letter-spacing: .15em; }
.cycle-heading h3 { margin: 2px 0 0; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; }
.course-accordion { border-top: 1px solid var(--line); }
.course-item { border-bottom: 1px solid var(--line) !important; }
.course-trigger { display: grid !important; grid-template-columns: 1fr auto 18px; align-items: center !important; gap: 20px !important; padding: 24px 0 !important; text-decoration: none !important; }
.course-trigger-main { display: grid; grid-template-columns: 100px 1fr; gap: 24px; align-items: start; }
.course-code { color: #277b9a; font-family: "Cascadia Code", Consolas, monospace; font-size: .75rem; font-weight: 700; letter-spacing: .03em; }
.course-trigger h4 { margin: 0; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 400; }
.course-trigger p { max-width: 720px; margin: 7px 0 0; color: var(--muted-ink); font-size: .82rem; font-weight: 400; line-height: 1.55; }
.evidence-row { display: flex; gap: 5px; }
.evidence-chip { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: white; font-size: .61rem; font-weight: 800; }
.evidence-b { background: #266f8f; }.evidence-c { background: #927239; }.evidence-d { background: #55715f; }
.course-content { padding: 8px 0 46px 124px !important; }
.course-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.course-intro > div, .course-finish > div { padding: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.55); }
.label { display: block; margin-bottom: 8px; color: #277b9a; font-size: .62rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.course-intro p, .course-finish p { margin: 0; color: #455565; font-size: .85rem; }
.guiding-question { color: var(--ink) !important; font-family: Georgia, serif; font-size: 1.2rem !important; line-height: 1.35; }
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.module-grid article { min-height: 190px; padding: 20px; border: 1px solid var(--line); background: var(--paper-bright); }
.module-grid article > span { color: var(--gold); font-family: Georgia, serif; }
.module-grid h5 { margin: 28px 0 10px; font-family: Georgia, serif; font-size: 1.02rem; font-weight: 400; }
.module-grid p { margin: 0; color: var(--muted-ink); font-size: .78rem; }
.lesson-block { margin-top: 14px; padding: 26px; background: var(--navy); color: white; }
.lesson-heading { display: flex; justify-content: space-between; gap: 30px; align-items: baseline; margin-bottom: 22px; }
.lesson-heading .label { color: var(--cyan); }
.lesson-heading h5 { margin: 0; color: #d9e2e8; font-size: .73rem; letter-spacing: .08em; }
.lesson-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.lesson-grid article { position: relative; min-height: 245px; padding: 18px; border-left: 1px solid rgba(255,255,255,.15); }
.lesson-grid article:first-child { border-left: 0; }
.lesson-grid article > span { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 24px; border: 1px solid rgba(228,202,141,.6); border-radius: 50%; color: var(--gold-light); font-size: .7rem; }
.lesson-grid small { color: var(--cyan); font-size: .58rem; font-weight: 800; letter-spacing: .14em; }
.lesson-grid h6 { margin: 8px 0 10px; font-family: Georgia, serif; font-size: 1rem; font-weight: 400; }
.lesson-grid p { margin: 0; color: #b9c8d2; font-size: .74rem; line-height: 1.6; }
.course-finish { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 10px; margin-top: 14px; }
.formal-core code { display: block; color: var(--ink); font-size: .75rem; white-space: normal; }

.doctrine-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.doctrine-grid article { min-height: 190px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.doctrine-grid article > span { color: var(--gold); font-family: Georgia, serif; }
.doctrine-grid h3 { margin: 26px 0 10px; font-family: Georgia, serif; font-size: 1.08rem; font-weight: 400; }
.doctrine-grid p { margin: 0; color: var(--muted-ink); font-size: .8rem; }

.ecosystem-section { padding-block: 110px; background: var(--navy); color: white; }
.light-heading .eyebrow { color: var(--cyan); }
.light-heading h2 { color: white; }
.ecosystem-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.ecosystem-grid article { min-height: 270px; padding: 30px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.ecosystem-grid svg { color: var(--gold-light); }
.ecosystem-grid h3 { margin: 44px 0 12px; font-family: Georgia, serif; font-size: 1.3rem; font-weight: 400; }
.ecosystem-grid p { color: #b8c6d0; font-size: .83rem; }
.library-links { display: grid; gap: 8px; margin-top: 18px; }
.library-links a { color: var(--cyan); font-size: .72rem; text-decoration: underline; text-underline-offset: 4px; }

.final-call { max-width: 900px; text-align: center; }
.final-call > svg { width: 42px; height: 42px; margin-bottom: 26px; color: var(--gold); }
.final-call .eyebrow { color: #277b9a; }
.final-call > p:not(.eyebrow) { max-width: 680px; margin: 22px auto 32px; color: var(--muted-ink); }
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 38px max(24px, calc((100vw - 1180px) / 2)); background: #030b14; color: white; }
footer > p { color: #9fb0bd; font-size: .72rem; text-align: center; }
.footer-links { justify-self: end; display: flex; gap: 20px; color: #c7d2da; font-size: .75rem; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }.desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; }.hero-diagram { justify-self: center; }
  .cycle-grid, .evidence-grid { grid-template-columns: repeat(2, 1fr); }
  .cycle-card:nth-child(2) { border-right: 0; }.cycle-card { border-bottom: 1px solid var(--line); }
  .method-grid { grid-template-columns: 1fr; gap: 48px; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .lesson-grid { grid-template-columns: 1fr; }
  .lesson-grid article { min-height: auto; border-left: 0; border-top: 1px solid rgba(255,255,255,.15); }
  .lesson-grid article:first-child { border-top: 0; }
}

@media (max-width: 760px) {
  .section-shell { width: min(100% - 30px, 1180px); }
  .site-header { min-height: 68px; padding-inline: 15px; }.header-action { display: none; }
  .brand small { display: none; }
  .hero { min-height: auto; gap: 55px; padding-block: 70px; }
  .hero h1 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-diagram { width: 100%; }.diagram-node { width: 60px; height: 60px; }.diagram-zone { width: 145px; height: 145px; }
  .thesis-strip { align-items: center; flex-direction: column; gap: 8px; text-align: center; }
  .route-section, .integrity-section, .doctrine-section, .final-call, .courses-section, .ecosystem-section { padding-block: 75px; }
  .section-heading h2, .method-grid h2, .final-call h2 { font-size: 2.45rem; }
  .cycle-grid, .evidence-grid, .doctrine-grid, .ecosystem-grid { grid-template-columns: 1fr; }
  .cycle-card { min-height: 320px; border-right: 0; }
  .method-section { padding-block: 75px; }
  .cycle-heading { grid-template-columns: 56px 1fr; }.cycle-heading > span { font-size: 3.4rem; }.cycle-heading [data-slot="badge"] { grid-column: 2; justify-self: start; }
  .course-trigger { grid-template-columns: 1fr 18px; }.course-trigger-main { grid-template-columns: 1fr; gap: 8px; }.course-trigger > .evidence-row { display: none; }
  .course-content { padding-left: 0 !important; }
  .course-intro, .module-grid, .course-finish { grid-template-columns: 1fr; }
  .lesson-heading { align-items: flex-start; flex-direction: column; }
  .doctrine-grid, .ecosystem-grid { border-left: 0; }.doctrine-grid article, .ecosystem-grid article { border-left: 1px solid var(--line); }
  .ecosystem-grid article { border-left-color: rgba(255,255,255,.15); }
  footer { grid-template-columns: 1fr; text-align: center; }.footer-brand { justify-content: center; }.footer-links { justify-self: center; }
}

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

.static-course summary { list-style: none; cursor: pointer; }
.static-course summary::-webkit-details-marker { display: none; }
.static-course .summary-chevron { color: #277b9a; font-size: 1.25rem; transition: transform .2s ease; }
.static-course[open] .summary-chevron { transform: rotate(180deg); }
.evidence-card { min-height: 240px; padding: 24px; border: 1px solid var(--line); background: #fff; }
.evidence-card-head { display: flex; align-items: center; gap: 18px; }
.evidence-card h3 { font-family: Georgia, serif; font-size: 1.18rem; font-weight: 400; }
.evidence-card > p { color: var(--muted-ink); font-size: .84rem; line-height: 1.65; }
.certificate { justify-self: end; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-ink); font-size: .7rem; }
.eco-icon, .final-symbol { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--gold-light); border-radius: 50%; color: var(--gold-light); font-family: Georgia, serif; }
.final-symbol { margin: 0 auto 26px; color: var(--gold); border-color: var(--gold); }
