:root {
  --ink: #10213d;
  --navy: #071528;
  --navy-soft: #0d2340;
  --paper: #f4f0e7;
  --paper-strong: #fffdf8;
  --signal: #ffb62e;
  --signal-hot: #ff7657;
  --sky: #69c9d0;
  --line: rgba(16, 33, 61, .16);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 76px;
  padding: 0 clamp(22px, 5vw, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  background: rgba(7, 21, 40, .93);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; letter-spacing: .12em; }
.brand strong { color: var(--signal); }
.brand-mark { width: 34px; height: 34px; position: relative; display: inline-grid; place-items: center; transform: rotate(45deg); border: 1px solid rgba(255,255,255,.55); }
.brand-mark::before, .brand-mark::after, .brand-mark i { content: ""; position: absolute; background: var(--signal); border-radius: 50%; }
.brand-mark::before { width: 6px; height: 6px; top: 4px; left: 4px; }
.brand-mark::after { width: 4px; height: 4px; right: 5px; bottom: 5px; }
.brand-mark i { width: 12px; height: 12px; }
nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); font-size: .93rem; }
nav a, .link-button { color: rgba(255,255,255,.8); text-decoration: none; transition: color .2s ease; }
nav a:hover, .link-button:hover { color: #fff; }
.link-button { padding: 10px 16px; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; cursor: pointer; }

.hero {
  min-height: 720px;
  padding: clamp(70px, 10vw, 138px) clamp(24px, 7vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, .9fr);
  align-items: center;
  gap: 60px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 76% 30%, rgba(105,201,208,.14), transparent 25%),
    radial-gradient(circle at 20% 80%, rgba(255,182,46,.08), transparent 24%),
    linear-gradient(145deg, var(--navy) 0%, #0b1e37 58%, #0b2940 100%);
}
.hero-copy { position: relative; z-index: 2; max-width: 760px; }
.overline, .section-kicker { margin: 0 0 20px; color: var(--signal); font-size: .78rem; font-weight: 800; letter-spacing: .19em; }
h1 { margin: 0; font-size: clamp(3.2rem, 7.2vw, 7.5rem); line-height: .91; letter-spacing: -.065em; }
h1 em { color: var(--signal); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-lead { max-width: 680px; margin: 32px 0; color: rgba(255,255,255,.76); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 8px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy); background: var(--signal); }
.button-primary:hover { background: #ffc657; }
.button-secondary { color: #fff; background: transparent; border-color: rgba(255,255,255,.4); }
.button-secondary:hover { border-color: #fff; }
.prototype-note { margin: 18px 0 0; color: rgba(255,255,255,.48); font-size: .82rem; }

.orbit { position: relative; width: min(42vw, 540px); aspect-ratio: 1; justify-self: center; }
.orbit::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(255,182,46,.15), transparent 60%); filter: blur(10px); }
.orbit-ring { position: absolute; inset: 14%; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.ring-one { transform: rotate(-18deg) scaleY(.53); }
.ring-two { transform: rotate(62deg) scaleY(.53); }
.star-core { position: absolute; inset: 31%; display: grid; place-items: center; background: var(--signal); color: var(--navy); clip-path: polygon(50% 0, 61% 34%, 98% 36%, 68% 57%, 78% 94%, 50% 72%, 21% 94%, 31% 57%, 2% 36%, 39% 34%); filter: drop-shadow(0 0 34px rgba(255,182,46,.38)); }
.star-core span { font-weight: 900; letter-spacing: .12em; font-size: clamp(1.6rem, 4vw, 3.3rem); }
.orbit-label { position: absolute; z-index: 2; padding: 8px 13px; color: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(7,21,40,.72); font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-decoration: none; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.orbit-label:hover, .orbit-label:focus-visible { color: var(--navy); border-color: var(--signal); background: var(--signal); transform: translateY(-2px); outline: none; }
.label-one { top: 8%; left: 18%; }
.label-two { right: 0; top: 45%; }
.label-three { left: 4%; bottom: 11%; }

.statement, .courses { padding: clamp(76px, 9vw, 130px) clamp(24px, 7vw, 110px); }
.statement h2, .section-heading h2 { max-width: 900px; margin: 0; font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1.02; letter-spacing: -.05em; }
.steps { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.steps article { padding: 32px clamp(18px, 3vw, 44px) 0 0; }
.steps article + article { padding-left: clamp(18px, 3vw, 44px); border-left: 1px solid var(--line); }
.steps span { color: var(--signal-hot); font-family: Georgia, serif; font-size: 2rem; }
.steps h3 { margin: 20px 0 8px; font-size: 1.5rem; }
.steps p { margin: 0; max-width: 320px; color: #58677b; }

.courses { background: #e9e4d9; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 60px; }
.section-heading > p { margin: 0 0 8px; color: #58677b; font-size: 1.05rem; }
.course-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.course-card { min-height: 480px; padding: 28px; display: flex; flex-direction: column; background: var(--paper-strong); border: 1px solid rgba(16,33,61,.1); border-radius: var(--radius); box-shadow: 0 16px 50px rgba(16,33,61,.06); }
.course-card.course-highlight { outline: 4px solid var(--signal); outline-offset: 5px; animation: course-pulse .7s ease both; }
@keyframes course-pulse { from { transform: translateY(9px); } to { transform: translateY(0); } }
.course-featured { color: #fff; background: var(--navy-soft); }
.course-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.course-code { opacity: .55; }
.status { padding: 7px 10px; color: #647185; background: rgba(16,33,61,.07); border-radius: 999px; letter-spacing: 0; }
.course-featured .status { color: rgba(255,255,255,.7); background: rgba(255,255,255,.1); }
.status.live { color: var(--navy); background: var(--signal); }
.course-symbol { width: 100px; height: 100px; margin: 48px 0 34px; display: grid; place-items: center; color: var(--ink); background: var(--sky); border-radius: 30% 70% 68% 32% / 35% 34% 66% 65%; font-weight: 900; font-size: 1.8rem; transform: rotate(-6deg); }
.course-card:nth-child(2) .course-symbol { background: #ffc95e; transform: rotate(5deg); }
.course-card:nth-child(3) .course-symbol { color: #fff; background: var(--signal-hot); transform: rotate(-3deg); }
.course-area { margin: 0 0 7px; color: var(--signal-hot); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.course-card h3 { margin: 0; font-size: 2rem; }
.course-card > p:not(.course-area) { color: #637084; }
.course-featured > p:not(.course-area) { color: rgba(255,255,255,.68); }
.course-action { width: 100%; margin-top: auto; padding: 17px 0 5px; display: flex; justify-content: space-between; color: inherit; background: transparent; border: 0; border-top: 1px solid currentColor; font-weight: 800; text-align: left; cursor: pointer; opacity: .85; }
.course-action:hover { opacity: 1; }

.manifesto { padding: clamp(76px, 10vw, 150px) clamp(24px, 7vw, 110px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; color: #fff; background: var(--signal-hot); }
.manifesto > div { display: flex; gap: 18px; align-items: flex-start; }
.small-star { font-size: 2rem; }
.manifesto p { max-width: 430px; margin: 4px 0 0; font-size: 1.05rem; }
.manifesto blockquote { margin: 0; font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 7rem); line-height: .92; letter-spacing: -.055em; }
.manifesto strong { color: var(--navy); font-weight: 400; }

footer { min-height: 170px; padding: 40px clamp(24px, 7vw, 110px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; color: rgba(255,255,255,.72); background: var(--navy); }
.footer-brand { color: #fff; justify-self: start; }
footer > p { margin: 0; }
.footer-note { justify-self: end; font-size: .8rem; }

.access-dialog { width: min(680px, calc(100% - 28px)); padding: 0; color: var(--ink); background: var(--paper-strong); border: 0; border-radius: var(--radius); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.access-dialog::backdrop { background: rgba(4,13,25,.78); backdrop-filter: blur(5px); }
.dialog-shell { position: relative; padding: clamp(28px, 5vw, 54px); }
.dialog-shell h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.05em; }
.dialog-shell > p:not(.section-kicker):not(.privacy-note) { color: #5d6979; }
.dialog-close { position: absolute; top: 18px; right: 20px; width: 40px; height: 40px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.field-grid { margin: 28px 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-weight: 700; }
input[type="text"], input[type="email"] { width: 100%; margin-top: 7px; padding: 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 9px; outline: none; }
input:focus { border-color: var(--signal-hot); box-shadow: 0 0 0 3px rgba(255,118,87,.15); }
fieldset { margin: 0; padding: 18px; display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 12px; }
legend { padding: 0 7px; font-weight: 800; }
.choice { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.choice input { width: 18px; height: 18px; accent-color: var(--signal-hot); }
.privacy-note { margin: 20px 0; color: #697589; font-size: .84rem; }
.full { width: 100%; border: 0; }
.account-state { margin-top: 28px; }
.account-state > p { color: #5d6979; }
.account-badge { padding: 18px; display: flex; align-items: center; gap: 14px; background: rgba(105,201,208,.16); border: 1px solid rgba(14,109,93,.2); border-radius: 14px; }
.account-badge > span { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; background: #0e6d5d; border-radius: 50%; font-weight: 900; }
.account-badge strong, .account-badge small { display: block; }
.account-badge small { margin-top: 2px; color: #5d6979; }
.account-signout { width: 100%; color: var(--ink); border-color: var(--line); }
.button:disabled { cursor: wait; opacity: .6; transform: none; }
#account-status { display: block; min-height: 24px; margin-top: 16px; color: #5d6979; font-weight: 800; text-align: center; }
#account-status[data-kind="success"] { color: #0e6d5d; }
#account-status[data-kind="error"] { color: #a6382d; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .orbit { width: min(80vw, 470px); }
  .section-heading, .manifesto { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card { min-height: 420px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-note { justify-self: center; }
}

@media (max-width: 650px) {
  .site-header { min-height: 66px; }
  nav a { display: none; }
  .brand { font-size: .82rem; }
  .brand-mark { width: 29px; height: 29px; }
  .hero { padding-top: 82px; gap: 24px; }
  .orbit { width: 86vw; }
  .steps { grid-template-columns: 1fr; }
  .steps article, .steps article + article { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .field-grid { grid-template-columns: 1fr; }
  .manifesto { gap: 34px; }
}

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

