:root {
  --graphite: #111214;
  --graphite-2: #18191d;
  --graphite-3: #222328;
  --paper: #fcfaf3;
  --paper-muted: rgba(252, 250, 243, .68);
  --line: rgba(252, 250, 243, .14);
  --line-strong: rgba(252, 250, 243, .24);
  --terracotta: #d97757;
  --terracotta-deep: #a84f35;
  --teal: #4fb3a7;
  --work: #73a8d8;
  --work-violet: #9a87cf;
  --portal-sidebar-width: 238px;
  --font: "Space Grotesk", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; background: var(--graphite); }
body { min-width: 320px; margin: 0; color: var(--paper); background: var(--graphite); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(217, 119, 87, .58); outline-offset: 4px; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; color: var(--graphite); background: var(--paper); transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }

.portal-sidebar {
  position: fixed;
  z-index: 60;
  inset: 0 auto 0 0;
  width: var(--portal-sidebar-width);
  display: none;
  flex-direction: column;
  padding: 16px 13px 14px;
  overflow-y: auto;
  color: var(--paper);
  background:
    radial-gradient(circle at 15% 15%, rgba(217,119,87,.09), transparent 31%),
    linear-gradient(180deg, #17181b, #111214 68%);
  border-right: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: rgba(252,250,243,.18) transparent;
}
html.has-world .portal-sidebar { display: flex; }
.portal-sidebar-head { min-height: 51px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 3px 7px 14px; border-bottom: 1px solid var(--line); }
.portal-sidebar-brand { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; color: var(--paper); text-decoration: none; line-height: 1; }
.portal-sidebar-brand > img { width: 34px; height: 34px; border-radius: 7px; }
.portal-sidebar-brand .brand-copy { display: grid; gap: 5px; }
.portal-sidebar-brand strong { font-size: .96rem; letter-spacing: -.045em; }
.portal-sidebar-brand strong span { color: var(--terracotta); }
.portal-sidebar-brand small { color: var(--paper-muted); font: 500 .54rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.portal-sidebar-close { display: none; padding: 0 4px; color: var(--paper-muted); background: transparent; border: 0; cursor: pointer; font-size: 1.5rem; line-height: 1; }
.portal-sidebar-intro { display: grid; gap: 4px; padding: 16px 8px 13px; }
.portal-sidebar-intro > span, .portal-world-nav > span, .portal-route-nav > span { color: var(--terracotta); font: 600 .57rem/1.25 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.portal-sidebar-intro strong { font-size: .9rem; line-height: 1.15; }
.portal-sidebar-intro p { color: var(--paper-muted); font-size: .64rem; line-height: 1.4; }
.portal-main-nav, .portal-world-nav, .portal-route-nav { display: grid; gap: 4px; }
.portal-world-nav, .portal-route-nav { padding-top: 12px; margin-top: 9px; border-top: 1px solid var(--line); }
.portal-world-nav > span, .portal-route-nav > span { padding: 0 8px 4px; }
.portal-nav-item {
  position: relative;
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 8px 9px;
  color: rgba(252,250,243,.65);
  text-align: left;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}
.portal-nav-item:hover { color: var(--paper); background: rgba(255,255,255,.045); border-color: var(--line); }
.portal-nav-item > i { color: rgba(252,250,243,.35); font: 600 .57rem/1 var(--mono); font-style: normal; letter-spacing: .04em; }
.portal-nav-item > span { min-width: 0; display: grid; gap: 2px; }
.portal-nav-item strong { overflow: hidden; color: inherit; font-size: .71rem; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.portal-nav-item small { overflow: hidden; color: rgba(252,250,243,.42); font-size: .58rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.portal-nav-item.is-current { color: var(--paper); background: rgba(255,255,255,.055); border-color: var(--line); border-left-color: var(--terracotta); }
.portal-nav-item.is-current > i { color: var(--terracotta); }
.portal-nav-item--work.is-current { border-left-color: var(--work); }
.portal-nav-item--work.is-current > i { color: var(--work); }
.portal-nav-item--foundation { color: rgba(252,250,243,.82); background: rgba(217,119,87,.055); }
.portal-nav-item--foundation > i { color: var(--terracotta); font-size: .48rem; }
.portal-nav-item--guide > i { width: 20px; height: 20px; display: grid; place-items: center; color: var(--paper); border: 1px solid var(--line-strong); border-radius: 50%; }
.portal-nav-item[aria-disabled="true"], .portal-nav-item:disabled { opacity: .34; cursor: default; pointer-events: none; }
.portal-world-group { display: grid; gap: 3px; }
.portal-world-group > .portal-nav-item { grid-template-columns: 32px minmax(0, 1fr) 13px; }
.portal-world-chevron { color: rgba(252,250,243,.38); font: 500 .9rem/1 var(--mono); transition: transform 160ms ease, color 160ms ease; }
.portal-nav-item[aria-expanded="true"] .portal-world-chevron { color: var(--terracotta); transform: rotate(45deg); }
.portal-nav-item--work[aria-expanded="true"] .portal-world-chevron { color: var(--work); }
.portal-world-lessons { display: grid; gap: 1px; padding: 1px 0 6px 13px; margin-left: 19px; border-left: 1px solid var(--line); }
.portal-world-lessons > button,
.portal-world-lessons > a,
.portal-world-lessons > span {
  min-height: 38px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  padding: 5px 7px;
  color: rgba(252,250,243,.66);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 5px;
}
.portal-world-lessons > a { text-decoration: none; }
.portal-world-lessons > button,
.portal-world-lessons > a { cursor: pointer; }
.portal-world-lessons > button:hover,
.portal-world-lessons > a:hover { color: var(--paper); background: rgba(255,255,255,.04); }
.portal-world-lessons > span[aria-disabled="true"] { opacity: .42; }
.portal-world-lessons i { color: rgba(252,250,243,.34); font: 600 .51rem/1 var(--mono); font-style: normal; }
.portal-world-lessons span span,
.portal-world-lessons button span,
.portal-world-lessons a span { min-width: 0; display: grid; gap: 1px; font-size: .64rem; line-height: 1.18; }
.portal-world-lessons small { color: rgba(252,250,243,.38); font: 500 .49rem/1.2 var(--mono); text-transform: uppercase; }
.portal-sidebar-foot { display: grid; gap: 8px; padding: 12px 7px 0; margin-top: auto; border-top: 1px solid var(--line); }
.portal-sidebar-foot > span { color: rgba(252,250,243,.42); font: 500 .55rem/1.3 var(--mono); text-transform: uppercase; }
.portal-sidebar-foot > a, .portal-sidebar-foot > button { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; padding: 0; color: var(--paper-muted); text-decoration: none; background: transparent; border: 0; cursor: pointer; text-align: left; }
.portal-sidebar-foot > a strong, .portal-sidebar-foot > button strong { font-size: .69rem; }
.portal-sidebar-foot > a small, .portal-sidebar-foot > button small { font-size: .57rem; }
.sidebar-progress-summary > strong { color: var(--paper); font-size: .76rem; }
.sidebar-progress-summary > small { color: var(--paper-muted); font-size: .6rem; line-height: 1.4; }
.portal-sidebar-overlay, .portal-sidebar-toggle { display: none; }
body > main { margin-left: 0; }
html.has-world body > main { margin-left: var(--portal-sidebar-width); }

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  min-height: 66px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 10px clamp(18px, 3vw, 42px);
  background: rgba(17, 18, 20, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
html.has-world .site-header { left: var(--portal-sidebar-width); }
.site-brand { display: flex; width: fit-content; gap: 10px; align-items: center; color: var(--paper); text-decoration: none; line-height: 1; }
.site-brand > img { width: 34px; height: 34px; border-radius: 7px; }
.site-brand .brand-copy { display: grid; gap: 5px; }
.site-brand strong { font-size: 1.02rem; letter-spacing: -.045em; }
.site-brand strong span { color: var(--terracotta); }
.site-brand small { color: var(--paper-muted); font: 500 .57rem/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.universe-label { display: flex; gap: 9px; align-items: center; color: var(--paper-muted); font: 500 .65rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.universe-label i { width: 7px; height: 7px; background: var(--terracotta); border-radius: 50%; box-shadow: 0 0 0 4px rgba(217,119,87,.12); }
.header-actions { display: flex; justify-content: flex-end; gap: 11px; align-items: center; }
.member-link, .world-switch { min-height: 36px; display: inline-flex; align-items: center; padding: 8px 11px; color: var(--paper-muted); text-decoration: none; background: transparent; border: 1px solid var(--line); border-radius: 7px; font: 600 .65rem/1 var(--mono); cursor: pointer; }
.member-link:hover, .world-switch:hover { color: var(--paper); border-color: var(--line-strong); }
.world-switch { gap: 9px; }
.world-switch b { color: var(--terracotta); font-size: .62rem; }

@media (min-width: 1180px) {
  html.has-world .site-header { grid-template-columns: 1fr auto; }
  html.has-world .site-header .site-brand { display: none; }
  .universe-label { justify-self: start; }
}

.universe-entry {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1180px);
  grid-template-rows: auto auto auto auto;
  justify-content: center;
  gap: 14px;
  align-content: center;
  padding: 84px clamp(24px, 5vw, 64px) 24px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(17,18,20,.98) 0%, rgba(17,18,20,.9) 42%, rgba(17,18,20,.66) 100%),
    radial-gradient(circle at 72% 42%, rgba(79,179,167,.11), transparent 34%),
    var(--graphite);
}
.universe-entry::before {
  position: absolute;
  z-index: -1;
  inset: 66px 0 0;
  opacity: .3;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to right, transparent 0, black 40%, black 100%);
  content: "";
}
.universe-canvas { position: absolute; z-index: -1; inset: 66px 0 0; width: 100%; height: calc(100% - 66px); opacity: .9; }
.universe-poster { position: absolute; z-index: -2; top: 66px; right: 0; bottom: 0; width: 58%; overflow: hidden; opacity: .16; mix-blend-mode: luminosity; }
.universe-poster::after { position: absolute; inset: 0; background: linear-gradient(90deg, var(--graphite), transparent 48%, rgba(17,18,20,.35)); content: ""; }
.universe-poster img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.1); }
.entry-copy { z-index: 2; max-width: 800px; }
.eyebrow { display: block; color: var(--terracotta); font: 600 .67rem/1.3 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
.entry-copy h1 { max-width: 15ch; margin-top: 8px; font-size: clamp(2.35rem, 3.8vw, 4.25rem); line-height: .92; }
.entry-copy h1 span { display: block; color: var(--terracotta); }
.entry-copy p { max-width: 72ch; margin-top: 12px; color: var(--paper-muted); font-size: clamp(.84rem, 1vw, .94rem); }
.entry-copy code { color: var(--terracotta); font-family: var(--mono); font-size: .88em; }

.context-complete-note { z-index: 2; display: flex; flex-wrap: wrap; gap: 7px 14px; align-items: baseline; padding: 10px 13px; color: var(--paper); background: rgba(79,179,167,.09); border: 1px solid rgba(79,179,167,.3); border-radius: 8px; }
.context-complete-note span { color: var(--teal); font: 600 .61rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.context-complete-note strong { font-size: .77rem; }
.worlds { z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.world-card {
  position: relative;
  min-height: 306px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  overflow: hidden;
  color: var(--paper);
  text-align: left;
  background: linear-gradient(180deg, rgba(31,32,36,.76), rgba(22,23,26,.74));
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 18px 54px rgba(0,0,0,.12);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}
.world-card::before { position: absolute; inset: 0; opacity: .22; background: radial-gradient(circle at 50% 34%, var(--world-glow), transparent 38%); content: ""; transition: opacity 220ms ease; }
.world-card::after { position: absolute; right: -46px; bottom: -70px; width: 190px; height: 190px; border: 1px solid var(--world-color); border-radius: 50%; opacity: .18; content: ""; }
.world-card--side { --world-color: var(--terracotta); --world-glow: rgba(217,119,87,.42); }
.world-card--work { --world-color: var(--work); --world-glow: rgba(115,168,216,.38); }
.world-card--start {
  --world-color: #f09a72;
  --world-glow: rgba(217,119,87,.52);
  background:
    linear-gradient(145deg, rgba(151,68,45,.58) 0%, rgba(86,44,33,.54) 38%, rgba(27,29,30,.9) 82%),
    #261d1a;
  border-color: rgba(240,154,114,.72);
  box-shadow: inset 0 2px 0 rgba(255,181,145,.86), 0 18px 54px rgba(0,0,0,.18);
}
.world-card--start::before { opacity: .48; background: radial-gradient(circle at 48% 29%, rgba(255,168,126,.4), transparent 39%); }
.world-card--start::after { border-color: rgba(79,179,167,.72); opacity: .25; }
.world-card--start .world-index { display: inline-flex; padding: 6px 8px; color: #241713; background: #f09a72; border: 1px solid #f7b393; border-radius: 5px; box-shadow: 0 7px 22px rgba(71,30,19,.24); }
.world-card--start > strong { color: #fff8f1; }
.world-card--start > b { color: #ffc0a2; }
.world-card--start > p { color: rgba(255,248,241,.76); }
.world-card--start .world-cta { border-color: rgba(255,194,165,.28); }
.world-card:hover { z-index: 3; background: linear-gradient(180deg, rgba(37,38,43,.9), rgba(25,26,29,.9)); border-color: var(--world-color); box-shadow: 0 24px 62px rgba(0,0,0,.24); transform: translateY(-5px); }
.world-card--start:hover {
  background:
    linear-gradient(145deg, rgba(174,78,51,.68) 0%, rgba(99,48,35,.62) 38%, rgba(31,33,34,.96) 82%),
    #2c211e;
  border-color: #ffae86;
}
.world-card:hover::before { opacity: .48; }
.world-index { color: var(--world-color); font: 600 .64rem/1.2 var(--mono); letter-spacing: .13em; }
.world-card > strong { position: relative; margin-top: auto; font-size: clamp(1.55rem, 2vw, 2.2rem); letter-spacing: -.055em; line-height: .95; }
.world-card > b { position: relative; margin-top: 10px; color: var(--world-color); font-size: .82rem; }
.world-card > p { position: relative; min-height: 4.35em; margin-top: 8px; color: var(--paper-muted); font-size: .72rem; line-height: 1.45; }
.world-readiness { position: relative; display: flex; gap: 8px; align-items: center; margin-top: 9px; color: rgba(252,250,243,.5); font: 600 .56rem/1.35 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.world-readiness i, .status-lock { position: relative; width: 11px; height: 9px; flex: 0 0 auto; border: 1px solid currentColor; border-radius: 2px; }
.world-readiness i::before, .status-lock::before { position: absolute; right: 2px; bottom: 7px; left: 2px; height: 6px; border: 1px solid currentColor; border-bottom: 0; border-radius: 8px 8px 0 0; content: ""; }
.world-cta { position: relative; width: 100%; display: flex; justify-content: space-between; gap: 10px; align-items: center; padding-top: 13px; margin-top: 13px; border-top: 1px solid rgba(252,250,243,.1); font-size: .72rem; font-weight: 700; }
.world-cta i { color: var(--world-color); font-style: normal; font-size: 1.1rem; }
.world-orbit { position: absolute; top: 46px; left: 50%; width: 104px; height: 104px; border: 1px solid color-mix(in srgb, var(--world-color) 44%, transparent); border-radius: 50%; transform: translateX(-50%); }
.world-orbit::before, .world-orbit::after { position: absolute; inset: 19px; border: 1px solid color-mix(in srgb, var(--world-color) 24%, transparent); border-radius: 50%; content: ""; }
.world-orbit::after { inset: 31px; background: color-mix(in srgb, var(--world-color) 13%, transparent); }
.world-orbit i { position: absolute; width: 9px; height: 9px; background: var(--world-color); border-radius: 50%; box-shadow: 0 0 0 5px color-mix(in srgb, var(--world-color) 12%, transparent); }
.world-orbit i:nth-child(1) { top: -5px; left: 47px; }
.world-orbit i:nth-child(2) { top: 63px; right: 1px; }
.world-orbit i:nth-child(3) { bottom: 7px; left: 21px; }
.world-card:hover .world-orbit { animation: orbit-turn 11s linear infinite; }

.context-files { position: absolute; top: 47px; left: 50%; width: 126px; height: 68px; transform: translateX(-50%); }
.context-files i { position: absolute; width: 98px; height: 58px; display: grid; place-items: end start; padding: 9px; color: #f2a27e; background: rgba(20,22,24,.92); border: 1px solid rgba(240,154,114,.42); border-radius: 7px; box-shadow: 0 15px 35px rgba(0,0,0,.28); font: 600 .55rem/1 var(--mono); font-style: normal; }
.context-files i:first-child { left: 0; transform: rotate(-5deg); }
.context-files i:last-child { right: 0; transform: translateY(8px) rotate(6deg); }
.entry-note { z-index: 2; color: rgba(252,250,243,.43); text-align: center; font: 500 .56rem/1.4 var(--mono); }

.cai-consent-settings--floating { position: fixed !important; z-index: 90 !important; right: 14px !important; bottom: 14px !important; margin: 0 !important; }
.cai-consent-settings { min-height: 34px; padding: 7px 10px; color: var(--paper-muted); background: rgba(17,18,20,.94); border: 1px solid var(--line); border-radius: 7px; cursor: pointer; font: 600 .58rem/1 var(--mono); }

.world-hub { min-height: 100vh; padding-top: 66px; overflow-x: clip; background: var(--graphite); }
.hub-hero { min-height: 38svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .32fr); gap: 36px; align-items: center; padding: clamp(42px, 6vw, 74px) clamp(24px, 7vw, 90px); overflow: hidden; background:
  radial-gradient(circle at 78% 42%, var(--hub-glow), transparent 32%),
  linear-gradient(135deg, var(--graphite), var(--graphite-2)); }
.hub-title { max-width: 760px; }
.hub-title h1 { max-width: 13ch; margin-top: 12px; font-size: clamp(3rem, 5.5vw, 5.9rem); line-height: .88; }
.hub-title h1 span { display: block; color: var(--hub-color); }
.hub-title p { max-width: 58ch; margin-top: 24px; color: var(--paper-muted); font-size: clamp(.95rem, 1.25vw, 1.08rem); }
.hub-signal { position: relative; width: min(23vw, 240px); aspect-ratio: 1; display: grid; place-items: center; justify-self: end; border: 1px solid color-mix(in srgb, var(--hub-color) 36%, transparent); border-radius: 50%; }
.hub-signal::before, .hub-signal::after { position: absolute; border: 1px solid color-mix(in srgb, var(--hub-color) 25%, transparent); border-radius: 50%; content: ""; }
.hub-signal::before { inset: 14%; }
.hub-signal::after { inset: 31%; background: color-mix(in srgb, var(--hub-color) 10%, transparent); }
.hub-signal span { z-index: 2; color: var(--hub-color); font: 600 clamp(2rem, 5vw, 4.5rem)/1 var(--mono); }
.hub-signal i { position: absolute; top: 8%; left: 50%; width: 12px; height: 12px; background: var(--hub-color); border-radius: 50%; transform: translateX(-50%); box-shadow: 0 0 0 7px color-mix(in srgb, var(--hub-color) 12%, transparent); animation: signal-pulse 2.8s ease-in-out infinite; }

.foundation-route { padding: clamp(60px, 8vw, 110px) clamp(24px, 7vw, 110px); color: #222a28; background: #f1ede6; }
.section-intro { max-width: 750px; }
.section-intro > span, .power-scale > div > span, .world-promise-copy > span { color: var(--terracotta-deep); font: 600 .66rem/1.3 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.section-intro h2, .power-scale h2, .world-promise h2 { max-width: 16ch; margin-top: 12px; font-size: clamp(2.35rem, 5vw, 5.2rem); line-height: .94; }
.section-intro p { max-width: 65ch; margin-top: 20px; color: #5a625f; }
.lesson-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.lesson-card { position: relative; min-height: 445px; display: flex; flex-direction: column; padding: 25px; overflow: hidden; background: #e2dcd3; border: 1px solid rgba(34,42,40,.18); border-radius: 15px; transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.lesson-card header { display: flex; justify-content: space-between; gap: 12px; color: var(--terracotta-deep); font: 600 .61rem/1.3 var(--mono); letter-spacing: .09em; }
.lesson-card header b { padding: 4px 6px; background: rgba(168,79,53,.08); border-radius: 4px; }
.lesson-number { margin: 47px 0 12px; color: rgba(34,42,40,.14); font: 600 4.7rem/.75 var(--mono); letter-spacing: -.09em; }
.lesson-card h3 { max-width: 12ch; font-size: clamp(1.55rem, 2.4vw, 2.35rem); line-height: .98; }
.lesson-card > p { margin-top: 14px; color: #5a625f; font-size: .86rem; }
.lesson-card ul { display: grid; gap: 4px; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid rgba(34,42,40,.13); list-style: none; color: #5a625f; font: 500 .65rem/1.45 var(--mono); }
.lesson-card li::before { margin-right: 7px; color: var(--terracotta-deep); content: "·"; }
.lesson-card code { color: var(--terracotta-deep); font-family: var(--mono); }
.primary-link, .submit-button { min-height: 49px; display: flex; justify-content: space-between; gap: 14px; align-items: center; width: 100%; padding: 12px 15px; margin-top: auto; color: var(--paper); text-align: left; text-decoration: none; background: var(--terracotta-deep); border: 1px solid var(--terracotta-deep); border-radius: 8px; cursor: pointer; font: 700 .86rem/1.3 var(--font); }
.primary-link:hover, .submit-button:hover { background: #843b28; }
.primary-link span, .submit-button span { font-size: 1.1rem; }
.lesson-card--core { background: #d9d2c8; border-color: rgba(168,79,53,.55); box-shadow: inset 0 4px 0 var(--terracotta-deep); }
.lesson-card--core header b { color: #73331f; background: rgba(168,79,53,.13); }
.lesson-card--available { border-color: color-mix(in srgb, var(--hub-color) 58%, rgba(34,42,40,.18)); box-shadow: inset 0 4px 0 var(--hub-color); }
.lesson-card--available:hover { transform: translateY(-2px); }
.lesson-card--locked { background: #e6e0d7; border-color: rgba(34,42,40,.13); }
.lesson-card--locked header b { color: #5f6663; background: rgba(34,42,40,.07); }
.lesson-card--locked .lesson-number { color: rgba(34,42,40,.1); }
.lesson-card--locked[role="button"] { cursor: pointer; }
.lesson-card--locked[role="button"]:hover { z-index: 1; border-color: color-mix(in srgb, var(--hub-color) 54%, rgba(34,42,40,.18)); box-shadow: 0 16px 34px rgba(34,42,40,.11); transform: translateY(-2px); }
.lesson-card--locked[role="button"]:focus-visible { z-index: 1; outline: 3px solid color-mix(in srgb, var(--hub-color) 68%, white); outline-offset: 3px; }
.lesson-card--program { background: #ddd6cc; border-color: rgba(168,79,53,.3); }
.lesson-card--program .lesson-number { color: rgba(168,79,53,.18); }
.lesson-program-link { margin-top: auto; }
.future-lines { display: grid; gap: 9px; margin-top: 24px; }
.future-lines i { display: block; height: 1px; background: linear-gradient(90deg, var(--terracotta-deep), transparent); }
.future-lines i:nth-child(2) { width: 76%; }
.future-lines i:nth-child(3) { width: 51%; }
.locked-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 18px; }
.coming-label { display: flex; gap: 7px; align-items: center; color: #69706d; font: 600 .62rem/1.4 var(--mono); text-transform: uppercase; }
.lesson-notify { min-height: 44px; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 12px; color: #343b39; background: rgba(252,250,243,.48); border: 1px solid rgba(34,42,40,.14); border-radius: 7px; font-size: .73rem; font-weight: 700; }
.lesson-card--locked[role="button"]:hover .lesson-notify { color: #222a28; background: rgba(252,250,243,.78); border-color: color-mix(in srgb, var(--hub-color) 45%, rgba(34,42,40,.14)); }
.lesson-notify b { color: var(--terracotta-deep); font-size: 1rem; }
.core-confirm { display: flex; gap: 11px; align-items: flex-start; padding: 13px 14px; margin-top: 10px; color: #222a28; background: rgba(252,250,243,.5); border: 1px solid rgba(34,42,40,.14); border-radius: 8px; cursor: pointer; }
.core-confirm input { width: 19px; height: 19px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--terracotta-deep); }
.core-confirm > span { display: grid; gap: 3px; }
.core-confirm strong { color: inherit; font-size: .76rem; line-height: 1.35; }
.core-confirm small { color: #69706d; font-size: .65rem; line-height: 1.4; }
.core-confirm code { color: var(--terracotta-deep); font-family: var(--mono); }
.core-ready { display: flex; gap: 8px; align-items: center; padding: 11px 13px; margin-top: auto; color: #315f56; background: rgba(79,179,167,.09); border: 1px solid rgba(49,95,86,.2); border-radius: 8px; font: 600 .65rem/1.4 var(--mono); text-transform: uppercase; }
.core-ready b { width: 20px; height: 20px; display: grid; place-items: center; color: var(--paper); background: #315f56; border-radius: 50%; }

.power-scale { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: clamp(38px, 7vw, 100px); align-items: end; padding: clamp(60px, 8vw, 110px) clamp(24px, 7vw, 110px); }
.power-scale h2 { max-width: 11ch; color: var(--paper); }
.power-scale > div > p { max-width: 52ch; margin-top: 20px; color: var(--paper-muted); }
.power-scale ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0; margin: 0; border-top: 1px solid var(--line); list-style: none; }
.power-scale li { position: relative; min-height: 175px; display: grid; align-content: end; gap: 7px; padding: 16px 12px 19px; border-bottom: 1px solid var(--line); }
.power-scale li + li { border-left: 1px solid var(--line); }
.power-scale li::before { position: absolute; right: 50%; bottom: 0; left: 50%; height: var(--scale-height, 12%); background: linear-gradient(to top, rgba(79,179,167,.18), transparent); content: ""; transition: left 300ms ease, right 300ms ease; }
.power-scale li:nth-child(2) { --scale-height: 25%; }
.power-scale li:nth-child(3) { --scale-height: 43%; }
.power-scale li:nth-child(4) { --scale-height: 67%; }
.power-scale li:nth-child(5) { --scale-height: 100%; }
.power-scale li:hover::before, .power-scale li.is-here::before { right: 0; left: 0; }
.power-scale li span { color: var(--terracotta); font: 600 .62rem/1 var(--mono); }
.power-scale li b { font-size: .79rem; }
.power-scale li small { color: var(--paper-muted); font-size: .64rem; line-height: 1.35; }
.power-scale .is-here { box-shadow: inset 0 3px 0 var(--terracotta); }

.world-promise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr); gap: clamp(34px, 7vw, 100px); align-items: center; padding: clamp(60px, 8vw, 100px) clamp(24px, 7vw, 110px); color: #222a28; background: #f1ede6; border-top: 1px solid rgba(34,42,40,.14); }
.world-promise h2 { max-width: 18ch; }
.world-promise p { max-width: 62ch; margin-top: 20px; color: #5a625f; }
.world-promise-copy { display: grid; justify-items: start; }
.world-interest-card { display: grid; justify-items: start; padding: clamp(24px, 4vw, 38px); color: var(--paper); background: linear-gradient(145deg, color-mix(in srgb, var(--hub-color) 18%, #17181b), #17181b 72%); border: 1px solid color-mix(in srgb, var(--hub-color) 46%, rgba(252,250,243,.14)); border-radius: 16px; box-shadow: 0 24px 55px rgba(17,18,20,.16); }
.world-interest-card > span { color: var(--hub-color); font: 600 .61rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.world-interest-card > strong { max-width: 24ch; margin-top: 14px; font-size: clamp(1.35rem, 2vw, 2rem); letter-spacing: -.035em; line-height: 1.05; }
.world-interest-card > p { margin-top: 14px; color: var(--paper-muted); font-size: .78rem; }
.world-interest-card .primary-link { margin-top: 24px; background: color-mix(in srgb, var(--hub-color) 76%, #222a28); border-color: var(--hub-color); }
.world-interest-card > a { width: fit-content; margin-top: 14px; color: var(--paper-muted); font-size: .67rem; text-underline-offset: 3px; }
.world-interest-card > a:hover { color: var(--paper); }
.secondary-link { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 13px; margin-top: 24px; color: var(--terracotta-deep); text-decoration: none; background: transparent; border: 1px solid rgba(168,79,53,.32); border-radius: 7px; cursor: pointer; font: 700 .86rem/1.3 var(--font); }
.secondary-link:hover { color: var(--paper); background: var(--terracotta-deep); }

.signup-dialog, .path-dialog, .core-dialog { width: min(650px, calc(100% - 30px)); max-height: min(820px, calc(100svh - 30px)); padding: clamp(26px, 5vw, 48px); overflow-y: auto; color: var(--paper); background: var(--graphite-2); border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: 0 30px 120px rgba(0,0,0,.62); }
.signup-dialog::backdrop, .path-dialog::backdrop, .core-dialog::backdrop { background: rgba(8,9,10,.78); backdrop-filter: blur(7px); }
.signup-dialog h2, .path-dialog h2, .core-dialog h2 { max-width: 15ch; margin-top: 12px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: .95; }
.signup-dialog > p, .path-dialog > p, .core-dialog > p { max-width: 56ch; margin-top: 18px; color: var(--paper-muted); font-size: .9rem; }
.dialog-close { position: absolute; top: 13px; right: 16px; padding: 3px 8px; color: var(--paper-muted); background: transparent; border: 0; cursor: pointer; font-size: 1.7rem; }
.core-requirements { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.core-requirements article { display: grid; gap: 5px; padding: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 9px; }
.core-requirements article > span { color: var(--terracotta); font: 600 .58rem/1.3 var(--mono); }
.core-requirements strong { color: var(--paper); }
.core-requirements code { color: var(--terracotta); font-family: var(--mono); }
.core-requirements p { color: var(--paper-muted); font-size: .72rem; line-height: 1.45; }
.core-dialog > .primary-link { margin-top: 20px; }
.core-dialog .core-confirm { margin-top: 12px; color: var(--paper); background: rgba(255,255,255,.035); border-color: var(--line); }
.core-dialog .core-confirm small { color: var(--paper-muted); }
.core-dialog .core-confirm code { color: var(--terracotta); }
.core-confirm-status { min-height: 1.4em; margin-top: 10px !important; color: var(--teal) !important; font-weight: 700; }
.interest-summary { display: grid; gap: 5px; padding: 14px 16px; margin-top: 20px; background: rgba(79,179,167,.07); border: 1px solid rgba(79,179,167,.24); border-radius: 9px; }
.interest-summary > span { color: var(--teal); font: 600 .58rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.interest-summary > strong { color: var(--paper); font-size: .84rem; }
.interest-summary > p { color: var(--paper-muted); font-size: .71rem; }
.signup-form { display: grid; gap: 16px; margin-top: 28px; }
.signup-form > label:not(.consent) { display: grid; gap: 7px; color: var(--paper); font-size: .72rem; font-weight: 700; }
.signup-form input[type="text"], .signup-form input[type="email"] { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--paper); background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 8px; }
.signup-form input::placeholder { color: rgba(252,250,243,.35); }
.signup-form input:focus { border-color: var(--terracotta); }
.signup-form fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0; margin: 2px 0 0; border: 0; }
.signup-form legend { grid-column: 1 / -1; margin-bottom: 7px; color: var(--paper); font-size: .72rem; font-weight: 700; }
.signup-form fieldset label { display: flex; gap: 9px; align-items: flex-start; padding: 11px; color: var(--paper-muted); background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 7px; cursor: pointer; font-size: .7rem; }
.signup-form fieldset label:has(input:checked) { color: var(--paper); background: rgba(217,119,87,.09); border-color: var(--terracotta); }
.signup-form input[type="radio"], .signup-form input[type="checkbox"] { flex: 0 0 auto; accent-color: var(--terracotta); }
.consent { display: flex; gap: 10px; align-items: flex-start; color: var(--paper-muted); font-size: .67rem; }
.consent input { margin-top: 3px; }
.consent a { color: var(--terracotta); }
.form-error { min-height: 1.3em; color: #ef9b7f; font-size: .73rem; }
.submit-button { margin-top: 0; background: var(--terracotta); border-color: var(--terracotta); }
.submit-button:disabled { opacity: .55; cursor: wait; }
.dialog-skip { width: fit-content; padding: 3px 0; margin: 15px auto 0; color: var(--paper-muted); background: transparent; border: 0; border-bottom: 1px solid rgba(252,250,243,.32); cursor: pointer; font: 600 .7rem/1.45 var(--font); }
.dialog-skip:hover, .dialog-skip:focus-visible { color: var(--paper); border-bottom-color: var(--terracotta); }
.signup-success { display: grid; gap: 13px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.signup-success > span { color: var(--teal); font: 600 .65rem/1 var(--mono); letter-spacing: .12em; }
.signup-success h3 { color: var(--paper); font-size: 2rem; }
.signup-success p { color: var(--paper-muted); font-size: .85rem; }
.signup-success .primary-link { max-width: 380px; margin-top: 5px; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.path-quiz { display: grid; gap: 18px; margin-top: 28px; }
.path-quiz fieldset { display: grid; gap: 7px; padding: 0; margin: 0; border: 0; }
.path-quiz legend { margin-bottom: 4px; color: var(--paper); font-size: .74rem; font-weight: 700; }
.path-quiz label { display: flex; gap: 9px; align-items: flex-start; padding: 10px 11px; color: var(--paper-muted); background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 7px; cursor: pointer; font-size: .7rem; }
.path-quiz label:has(input:checked) { color: var(--paper); border-color: var(--terracotta); background: rgba(217,119,87,.08); }
.path-quiz input { flex: 0 0 auto; margin-top: 3px; accent-color: var(--terracotta); }
.path-result { display: grid; gap: 13px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.path-result > span { color: var(--teal); font: 600 .62rem/1 var(--mono); letter-spacing: .12em; }
.path-result h3 { color: var(--paper); font-size: 2.1rem; }
.path-result p { color: var(--paper-muted); font-size: .85rem; }
.path-result .primary-link { max-width: 390px; margin-top: 7px; }
.path-result > a { width: fit-content; color: var(--paper-muted); font-size: .7rem; }
.path-reset { width: fit-content; padding: 0; color: var(--paper-muted); background: transparent; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; font: 600 .67rem/1.5 var(--font); }
.path-reset:hover, .path-reset:focus-visible { color: var(--paper); }

@keyframes orbit-turn { to { transform: translateX(-50%) rotate(360deg); } }
@keyframes signal-pulse { 0%,100% { opacity: .55; transform: translateX(-50%) scale(.82); } 50% { opacity: 1; transform: translateX(-50%) scale(1.15); } }

@media (max-width: 1179px) {
  html.has-open-portal-nav { overflow: hidden; }
  html.has-world body > main { margin-left: 0; }
  .portal-sidebar { width: min(292px, calc(100% - 48px)); transform: translateX(-102%); box-shadow: 24px 0 80px rgba(0,0,0,.5); transition: transform 200ms ease; }
  .portal-sidebar.is-open { transform: translateX(0); }
  .portal-sidebar-close { display: block; }
  .portal-sidebar-overlay { position: fixed; z-index: 55; inset: 0; display: block; visibility: hidden; background: rgba(5,6,7,.64); border: 0; opacity: 0; pointer-events: none; transition: opacity 180ms ease, visibility 180ms ease; }
  .portal-sidebar-overlay.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
  html.has-world .portal-sidebar-toggle { min-height: 36px; display: inline-flex; gap: 8px; align-items: center; padding: 7px 9px; color: var(--paper); background: transparent; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; font: 600 .63rem/1 var(--mono); }
  .portal-sidebar-toggle i { width: 15px; height: 10px; display: block; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
  html.has-world .site-header { left: 0; grid-template-columns: auto 1fr auto; }
  .site-header .site-brand { display: flex; justify-self: start; }
  .universe-label { display: none; }
}

@media (max-width: 1100px) {
  .universe-entry { padding-right: 28px; padding-left: 28px; }
  .world-card { min-height: 310px; padding: 18px; }
  .lesson-grid { grid-template-columns: 1fr 1fr; }
  .lesson-card { min-height: 360px; }
}

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 62px; }
  .universe-label { display: none; }
  .member-link { display: none; }
  .universe-entry { min-height: auto; grid-template-columns: 1fr; grid-template-rows: auto; gap: 20px; align-content: start; padding: 96px 18px 38px; }
  .universe-entry::before { mask-image: linear-gradient(to bottom, transparent, black 26%, black 100%); }
  .universe-poster { width: 100%; opacity: .1; }
  .entry-copy { align-self: auto; }
  .entry-copy h1 { max-width: 13ch; font-size: clamp(2.65rem, 12vw, 4.7rem); }
  .entry-copy p { font-size: .92rem; }
  .worlds { width: min(100%, 560px); grid-template-columns: 1fr; justify-self: center; }
  .world-card { min-height: 282px; }
  .entry-note { justify-self: center; text-align: center; }
  .hub-hero { min-height: 48svh; grid-template-columns: 1fr; }
  .hub-signal { position: absolute; right: 0; width: 210px; opacity: .26; }
  .hub-title { z-index: 2; }
  .power-scale { grid-template-columns: 1fr; }
  .world-promise { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { padding: 9px 14px; }
  .site-brand > img { width: 30px; height: 30px; }
  .site-brand .brand-copy { display: none; }
  .world-switch span { display: none; }
  .world-card { min-height: 286px; }
  .world-card > p { min-height: auto; }
  .lesson-grid { grid-template-columns: 1fr; }
  .power-scale ol { grid-template-columns: 1fr; border-bottom: 0; }
  .power-scale li { min-height: 74px; grid-template-columns: 34px 1fr; align-content: center; }
  .power-scale li + li { border-left: 0; }
  .power-scale li small { grid-column: 2; }
  .power-scale li::before { top: 50%; right: auto; bottom: 50%; left: 0; width: var(--scale-height); height: auto; background: linear-gradient(90deg, rgba(79,179,167,.18), transparent); }
  .power-scale li:hover::before, .power-scale li.is-here::before { top: 0; bottom: 0; }
  .signup-form fieldset { grid-template-columns: 1fr; }
  .core-requirements { grid-template-columns: 1fr; }
}

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