/* The Creation Institute — styles
   Palette: #ffffff / #f5f5f7 / ink #1d1d1f / #6e6e73 / accent #2f7cf6 / dark #000 */

:root {
  --bg: #ffffff;
  --bg-alt: #eff1f4;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --accent: #2f7cf6;        /* graphics, glows, icons (3:1+ on white) */
  --accent-text: #1d6ae5;   /* small blue text and fills, 4.5:1+ on white */
  --hairline: rgba(0, 0, 0, 0.08);
  --hairline-dark: rgba(255, 255, 255, 0.16);
  --radius: 24px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset / base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }

h1, h2, h3, p { margin: 0; }

h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  max-width: 21ch;
}

h3 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

a { color: inherit; }

::selection { background: rgba(47, 124, 246, 0.18); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 10px 18px;
  background: #ffffff;
  color: var(--ink);
  border-radius: 980px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-72px);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus-visible { transform: none; }

/* ---------- Layout ---------- */

.container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 140px 0; }
.section--white { background: var(--bg); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: #000000; color: #ffffff; }
.section--dark .lead { color: rgba(255, 255, 255, 0.7); }

section[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 16px;
}

.lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 620px;
  margin-top: 22px;
}

.center-head { text-align: center; }
.center-head h2 { margin-inline: auto; }
.center-head .lead { margin-inline: auto; }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: 0;
  border-radius: 980px;
  background: #000000;
  color: #ffffff;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14); }
.btn:active { transform: translateY(0); box-shadow: none; }

.btn--light { background: #ffffff; color: #000000; }

.btn--ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.7); box-shadow: none; }

.btn--nav { padding: 8px 18px; font-size: 14px; }

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--accent-text);
  font-weight: 500;
  text-decoration: none;
}
.link-cta svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-cta:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-cta:hover svg { transform: translateX(3px); }

.section-more { margin-top: 44px; }

/* ---------- Nav ---------- */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  color: #ffffff;
  background: transparent;
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.nav-inner {
  max-width: 1140px;
  height: 100%;
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  font-size: 13px;
  font-weight: 250;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: inherit;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a:not(.btn) {
  font-size: 14px;
  text-decoration: none;
  color: inherit;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.nav-links a:not(.btn):hover { opacity: 1; }

.site-nav .btn--nav { background: #ffffff; color: #000000; }

.site-nav.is-solid,
.site-nav.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 -1px 0 var(--hairline);
}
.site-nav.is-solid .btn--nav,
.site-nav.is-open .btn--nav { background: #000000; color: #ffffff; }

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.nav-burger span {
  display: block;
  width: 20px; height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 40px 32px;
  overflow-y: auto;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}
.mobile-menu a:not(.btn) {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
}
.mobile-menu .btn { margin-top: 10px; }

body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  background: #000000;
  color: #ffffff;
  overflow: hidden;
}
@supports (height: 100svh) {
  .hero { height: 100svh; }
}

.hero-poster,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-poster { z-index: 0; }
.hero-video { z-index: 1; }

/* On ended: dim the film's held last frame (robot's stance) behind the headline,
   echoing the final CTA treatment. Poster goes fully dark so the wordmark
   cannot bleed through the translucent film layer. */
.hero-video, .hero-poster { transition: opacity 0.6s var(--ease); }
.hero.is-ended .hero-video { opacity: 0.35; }
.hero.is-ended .hero-poster { opacity: 0; }

/* Autoplay blocked or reduced motion: poster + headline, wordmark dimmed under copy.
   Declared after the is-ended rules so the dimmed poster wins in that state. */
.hero.video-off .hero-video { display: none; }
.hero.video-off .hero-poster { opacity: 0.35; }

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0s linear 0.6s;
}
.hero.is-ended .hero-copy {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0s;
}

.hero-copy h1 { max-width: 15ch; }
.hero-copy p {
  max-width: 640px;
  margin-top: 22px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.78);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.hero-signup {
  width: min(460px, 100%);
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-signup-caption {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.hero-signup-row {
  display: flex;
  width: 100%;
  gap: 10px;
}
.hero-signup input {
  flex: 1;
  min-width: 0;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: var(--font);
  font-size: 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.hero-signup input::placeholder { color: rgba(255, 255, 255, 0.55); }
.hero-signup input:hover { border-color: rgba(255, 255, 255, 0.5); }
.hero-signup input:focus { outline: none; border-color: #ffffff; background: rgba(255, 255, 255, 0.12); }
.hero-signup input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn--signup { padding: 12px 22px; font-size: 15px; flex: none; }
.btn--signup:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }
.hero-signup-status {
  min-height: 21px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
.hero-signup.is-done .hero-signup-caption,
.hero-signup.is-done .hero-signup-row { display: none; }
.hero-signup.is-done .hero-signup-status { font-size: 16px; color: #ffffff; }

/* Short viewports: tighten the ended-state stack so nothing clips */
@media (max-height: 760px) {
  .hero-copy p { margin-top: 14px; }
  .hero-actions { margin-top: 24px; }
  .hero-signup { margin-top: 20px; gap: 8px; }
}

.sound-toggle {
  position: absolute;
  right: 24px;
  bottom: 26px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: var(--font);
  font-size: 13px;
  cursor: pointer;
  transition: opacity 0.3s ease, visibility 0.3s, border-color 0.2s ease;
}
.sound-toggle:hover { border-color: rgba(255, 255, 255, 0.7); }
.sound-toggle svg { width: 17px; height: 17px; }
.sound-toggle svg[hidden] { display: none; }
.hero.is-ended .sound-toggle,
.hero.video-off .sound-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 3;
  padding: 10px;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transform: translateX(-50%);
  animation: cue-float 2.4s ease-in-out infinite;
}
.scroll-cue svg { width: 22px; height: 22px; }
@keyframes cue-float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}

/* ---------- Cards ---------- */

.card {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 32px;
}

/* Cards respond to the cursor */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card { transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
  .card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09); }
}

/* Course track tiles: three color worlds with the mascot as course art */
.track-grid {
  display: grid;
  gap: 22px;
  margin-top: 56px;
}
@media (min-width: 900px) {
  .track-grid { grid-template-columns: repeat(3, 1fr); }
}
.track-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 540px;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .track-card { transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
  .track-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12); }
}
.track-card--sky { background: linear-gradient(180deg, #e8f2ff 0%, #f9fcff 60%); }
.track-card--indigo { background: linear-gradient(180deg, #e9edff 0%, #f8f9ff 60%); }
.track-card--night {
  background: linear-gradient(180deg, #10151f 0%, #000000 70%);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.track-copy { padding: 30px 28px 18px; }
.track-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 12px;
}
.track-card--night .track-kicker { color: #7db0ff; }
.track-copy h3 { margin-bottom: 10px; }
.track-copy p:last-child { color: var(--ink-2); font-size: 16px; }
.track-card--night .track-copy p:last-child { color: rgba(255, 255, 255, 0.72); }
.track-card img {
  margin-top: auto;
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
}
.track-card--night img { object-position: center; }
/* Track 1: just the head peeking up, shorter than tracks 2 and 3 */
.track-card--sky img { height: 230px; object-position: center bottom; }
@media (max-width: 899px) {
  .track-card { min-height: 0; }
  .track-card img { height: 240px; }
}

.card-grid {
  display: grid;
  gap: 22px;
  margin-top: 56px;
}
@media (min-width: 900px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 760px) {
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
}

.card h3 { margin-bottom: 10px; }
.card > p:last-child, .card p + p { color: var(--ink-2); }

/* ---------- The Path ---------- */

.path-fit {
  max-width: 840px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 32px;
}
.path-fit-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.path-fit-levels span {
  padding: 6px 14px;
  border: 1px solid transparent;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 600;
}
.path-fit-levels span:nth-child(1) {
  background: #e5f6ec;
  border-color: rgba(21, 128, 61, 0.18);
  color: #157a3f;
}
.path-fit-levels span:nth-child(2) {
  background: #e8f1ff;
  border-color: rgba(47, 124, 246, 0.22);
  color: var(--accent-text);
}
.path-fit-levels span:nth-child(3) {
  background: #f2edff;
  border-color: rgba(112, 64, 200, 0.2);
  color: #6d3fc8;
}
.path-fit p {
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
  max-width: 640px;
}

.path-list {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  max-width: 840px;
}
.path-list li {
  position: relative;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 0 28px;
  align-items: start;
  padding: 36px 0;
}
/* Separators are drawn lines so they can sketch themselves in on scroll */
.path-list li + li::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--hairline);
}
@media (prefers-reduced-motion: no-preference) {
  .js .path-list li + li::before {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1s var(--ease);
    transition-delay: calc(var(--rd, 0ms) + 150ms);
  }
  .js .path-list li.is-in::before { transform: scaleX(1); }
}

.path-num {
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  transition: color 0.7s var(--ease);
  transition-delay: calc(var(--rd, 0ms) + 200ms);
}
/* Scroll trick: numerals sit gray and sweep to blue as each step reveals */
.js .path-list li[data-reveal]:not(.is-in) .path-num { color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) {
  .path-num { transition: none; }
}
.path-list h3 { margin-bottom: 8px; }
.path-list p { color: var(--ink-2); max-width: 560px; }

/* ---------- Library mockup ---------- */

#library .center-head { margin-bottom: 0; }

.library-window {
  max-width: 760px;
  margin: 64px auto 0;
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.lw-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--hairline);
}
.lw-dots { display: inline-flex; gap: 7px; }
.lw-dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #e3e3e8;
}
.lw-title { font-size: 14px; font-weight: 600; }

.lw-progress { margin-left: auto; }
.lw-progress svg { width: 30px; height: 30px; }
.lw-ring-track { fill: none; stroke: #e8e8ed; stroke-width: 3.5; }
.lw-ring-arc {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 39 97.4;
  stroke-dashoffset: 0;
}

/* Self-playing demo: armed by JS while below the fold, plays once on arrival.
   Ring fills, finished steps check off one by one, the Continue row lights up. */
@media (prefers-reduced-motion: no-preference) {
  .lw-armed .lw-ring-arc { stroke-dashoffset: 39; }
  .lw-play .lw-ring-arc { animation: lw-ring 1s var(--ease) 0.25s forwards; }

  .lw-armed .lw-status--done svg { transform: scale(0); }
  .lw-play .lw-row:nth-child(1) .lw-status--done svg { animation: lw-pop 0.5s var(--ease) 0.55s forwards; }
  .lw-play .lw-row:nth-child(2) .lw-status--done svg { animation: lw-pop 0.5s var(--ease) 0.8s forwards; }

  .lw-armed .lw-row--current { background: transparent; }
  .lw-play .lw-row--current { animation: lw-bg 0.6s var(--ease) 1.15s forwards; }

  .lw-armed .lw-continue { transform: scale(0); }
  .lw-play .lw-continue {
    animation: lw-pop 0.45s var(--ease) 1.4s forwards,
               lw-pulse 0.7s ease 2.4s;
  }
}

@keyframes lw-ring { to { stroke-dashoffset: 0; } }
@keyframes lw-pop {
  0% { transform: scale(0); }
  70% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
@keyframes lw-bg { to { background: var(--lw-hl, #e8f1ff); } }
@keyframes lw-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.lw-list {
  list-style: none;
  margin: 0;
  padding: 10px;
}
.lw-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 14px;
  border-radius: 14px;
}
.lw-status {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid #d6d6db;
  display: grid;
  place-items: center;
}
.lw-status--done {
  border: 0;
  background: rgba(47, 124, 246, 0.12);
  color: var(--accent-text);
}
.lw-status--done svg { width: 15px; height: 15px; }
.lw-status--next { border-color: var(--accent); }

.lw-text { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.lw-step {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lw-name { font-size: 15px; font-weight: 500; }
.lw-row--done .lw-name { color: var(--ink-2); font-weight: 400; }

.lw-mins { margin-left: auto; font-size: 14px; color: var(--ink-2); flex: none; }

.lw-row--current { background: var(--lw-hl, #e8f1ff); }
.lw-continue {
  flex: none;
  padding: 7px 16px;
  border: 0;
  border-radius: 980px;
  background: var(--accent-text);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

/* Dark-mode library: the black band that breaks the page rhythm */
#library.section--dark { --lw-hl: rgba(47, 124, 246, 0.16); }
#library.section--dark .library-window {
  background: #161617;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 140px rgba(47, 124, 246, 0.14);
}
#library.section--dark .lw-bar { border-bottom-color: rgba(255, 255, 255, 0.1); }
#library.section--dark .lw-dots span { background: #3a3a3c; }
#library.section--dark .lw-step { color: rgba(255, 255, 255, 0.5); }
#library.section--dark .lw-mins { color: rgba(255, 255, 255, 0.6); }
#library.section--dark .lw-row--done .lw-name { color: rgba(255, 255, 255, 0.65); }
#library.section--dark .lw-status { border-color: #48484a; }
#library.section--dark .lw-status--done {
  border: 0;
  background: rgba(47, 124, 246, 0.24);
  color: #7db0ff;
}
#library.section--dark .lw-status--next { border-color: var(--accent); }
#library.section--dark .lw-ring-track { stroke: #3a3a3c; }

/* ---------- What students ship ---------- */

.ship-card { padding: 34px 32px; }
.ship-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.ship-quote {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

/* ---------- Founder ---------- */

.founder {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.founder-photo {
  width: 92px; height: 92px;
  margin: 0 auto 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  color: #b9b9c0;
}
.founder-photo svg { width: 38px; height: 38px; }
.founder blockquote {
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.22;
}
.founder figcaption {
  margin-top: 24px;
  font-size: 16px;
  color: var(--ink-2);
}

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  gap: 22px;
  max-width: 920px;
  margin: 56px auto 0;
}
@media (min-width: 820px) {
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 36px;
  text-align: left;
}
/* The impulse moment: the featured card is the page's dark "pro" object */
.price-card--featured {
  background: #0b0b0e;
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35), 0 0 110px rgba(47, 124, 246, 0.16);
}
.price-card--featured .per { color: rgba(255, 255, 255, 0.6); }
.price-card--featured .features { color: rgba(255, 255, 255, 0.78); }
.price-card--featured .features svg { color: #7db0ff; }
.price-card--featured .badge { background: rgba(47, 124, 246, 0.24); color: #8ab5ff; }
.badge {
  position: absolute;
  top: 26px; right: 26px;
  padding: 5px 12px;
  border-radius: 980px;
  background: rgba(47, 124, 246, 0.1);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 600;
}
.price-card h3 { font-size: 1.25rem; }
.price {
  margin: 16px 0 4px;
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.price .per {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-2);
}
.features {
  list-style: none;
  margin: 22px 0 36px;
  padding: 0;
  color: var(--ink-2);
}
.features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
}
.features svg {
  flex: none;
  width: 16px; height: 16px;
  margin-top: 4px;
  color: var(--accent-text);
}
.price-card .btn { margin-top: auto; align-self: stretch; }
.price-note {
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-2);
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 760px;
  margin: 48px auto 0;
  border-top: 1px solid var(--hairline);
}
.faq-list details { border-bottom: 1px solid var(--hairline); }
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-size: 19px;
  font-weight: 500;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg {
  flex: none;
  width: 18px; height: 18px;
  color: var(--ink-2);
  transition: transform 0.3s var(--ease);
}
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details p {
  padding: 0 4px 26px;
  color: var(--ink-2);
  max-width: 640px;
}

/* ---------- Send-off ---------- */

.sendoff {
  background: var(--bg);
  padding: 0 0 72px;
}
.sendoff-frame {
  width: min(340px, 64vw);
  margin: 0 auto;
  aspect-ratio: 1288 / 1608;
  -webkit-mask-image: radial-gradient(78% 78% at 50% 46%, #000 52%, transparent 80%);
  mask-image: radial-gradient(78% 78% at 50% 46%, #000 52%, transparent 80%);
}
.sendoff-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Final CTA ---------- */

.cta-final {
  position: relative;
  background: #000000;
  color: #ffffff;
  overflow: hidden;
  padding: 180px 0;
  text-align: center;
}
.cta-final-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.35;
  will-change: transform;
}
.cta-final-inner { position: relative; z-index: 1; }
.cta-final h2 {
  max-width: none;
  margin-inline: auto;
  color: #ffffff;
}
/* Each sentence on its own line once there is room */
@media (min-width: 640px) {
  .cta-break, .h2-break { display: block; }
}

#ship h2 { max-width: none; }
.cta-final .glow {
  position: relative;
  display: inline-block;
  margin-top: 44px;
}
.cta-final .glow::before {
  content: "";
  position: absolute;
  inset: -26px -54px;
  background: radial-gradient(closest-side, rgba(47, 124, 246, 0.45), transparent 72%);
  filter: blur(26px);
}
.cta-final .glow .btn { position: relative; }

/* ---------- Footer ---------- */

.site-footer {
  background: #000000;
  color: var(--ink-3);
  padding: 56px 0 48px;
  font-size: 13px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.wordmark--footer { color: #ffffff; font-size: 12px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.footer-links a {
  color: #a1a1a6;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: #ffffff; }
.site-footer :focus-visible { outline-color: #ffffff; }
.footer-copy {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline-dark);
  color: #6e6e73;
}

/* ---------- Scroll reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--rd, 0ms);
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .scroll-cue { animation: none; }
  .btn, .btn:hover { transition: none; transform: none; }
  .hero-copy, .hero.is-ended .hero-copy { transition: none; }
  .hero-video, .hero-poster { transition: none; }
  .skip-link { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .section { padding: 88px 0; }

  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .container { padding-inline: 20px; }

  .lead { font-size: 18px; }

  .path-list li {
    grid-template-columns: 64px 1fr;
    gap: 0 18px;
    padding: 28px 0;
  }
  .path-num { font-size: 1.9rem; }

  .lw-row { gap: 12px; padding: 12px 10px; }
  .lw-row--current .lw-mins { display: none; }
  .lw-mins { font-size: 13px; }

  .cta-final { padding: 130px 0; }

  .sendoff { padding-bottom: 56px; }

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

@media (max-width: 400px) {
  .wordmark { font-size: 11px; }
  .hero-actions .btn { padding: 13px 22px; font-size: 16px; }
}
