/* Get In Tech visual system, following the landing-page-design skill:
   one typeface (Geist, with Geist Mono only for times and prices), Tailwind type scale,
   spacing tokens only, Tailwind radii with the nested radius rule, flat backgrounds,
   approved dark surfaces, full borders or none, base curve cubic-bezier(0.22,1,0.36,1).
   Layout: floating pill nav, dark brand sections with one light band per page for dense content. */
:root {
  /* Color: dark surfaces from the approved list, brand amber from the logo */
  --bg: #1F1F1F;
  --surface: #272727;
  --surface-2: #313131;
  --line: #3D3D3D;
  --text: #F5F5F5;
  --text-2: #B8B8B8;
  --text-muted: rgba(245, 245, 245, 0.4); /* muted tagline words still pass 3:1 for large text */
  --amber: #FDB94E;
  --amber-hover: #FFC76E;
  --on-amber: #1F1F1F;
  --paper: #F5F3EF;
  --paper-card: #FFFFFF;
  --paper-line: #DCD7CF;
  --paper-text: #1F1F1F;
  --paper-text-2: #57524C;
  --paper-accent: #8A5A00;
  --error: #FF8A80;
  --paper-error: #B3261E;
  --success: #1E7A4A;

  /* Type */
  --font: "Geist", "Manrope", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;

  /* Spacing tokens */
  --s-0: 0; --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px;
  --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;

  /* Radius tokens */
  --r-4: 4px; --r-6: 6px; --r-8: 8px; --r-12: 12px; --r-16: 16px; --r-24: 24px; --r-full: 9999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* Anything with the hidden attribute must stay out of the way, even if a component sets its own display */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bg); }
img, svg { max-width: 100%; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
ul, ol { margin: 0; }
a { color: var(--amber); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.paper :focus-visible { outline-color: var(--paper-accent); }

/* ---------- Text styles (named, Tailwind scale) ---------- */
.heading-1 { font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: -0.02em; }
.heading-2 { font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -0.02em; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.01em; }
.heading-4 { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.01em; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; }
.title-1 { font-size: 20px; line-height: 28px; font-weight: 500; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-1 { font-size: 16px; line-height: 24px; font-weight: 600; }
.body-2 { font-size: 16px; line-height: 24px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; }
.body-4 { font-size: 14px; line-height: 20px; font-weight: 600; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; }
.body-7 { font-size: 18px; line-height: 28px; font-weight: 400; } /* subheadings and ledes */
.button-md { font-size: 16px; line-height: 24px; font-weight: 600; }
.button-sm { font-size: 14px; line-height: 20px; font-weight: 600; }
.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.caption-2 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-4 { font-size: 12px; line-height: 16px; font-weight: 500; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.dim { color: var(--text-2); }
.paper .dim { color: var(--paper-text-2); }

@media (max-width: 760px) {
  .heading-1 { font-size: 36px; line-height: 40px; }
  .heading-2 { font-size: 30px; line-height: 36px; }
  .heading-3 { font-size: 30px; line-height: 36px; }
}

/* ---------- Layout ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(var(--s-300), env(safe-area-inset-left, 0px)); padding-right: max(var(--s-300), env(safe-area-inset-right, 0px)); }
@media (max-width: 520px) { .wrap { padding-left: max(var(--s-200), env(safe-area-inset-left, 0px)); padding-right: max(var(--s-200), env(safe-area-inset-right, 0px)); } }
.section { padding-block: var(--s-900); }
.section.tight { padding-block: var(--s-600); }
@media (max-width: 760px) { .section { padding-block: var(--s-700); } }
.paper { background: var(--paper); color: var(--paper-text); }
.paper a { color: var(--paper-accent); }
.stack { display: grid; gap: var(--s-200); }
.stack-sm { display: grid; gap: var(--s-75); }
.stack-lg { display: grid; gap: var(--s-600); }
.measure { max-width: 680px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.paper .divider { background: var(--paper-line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-700); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--s-500); } }
.split > * { min-width: 0; }
.skip { position: absolute; left: var(--s-200); top: -100px; z-index: 60; background: var(--amber); color: var(--on-amber); padding: var(--s-75) var(--s-100); border-radius: var(--r-8); }
.skip:focus { top: calc(var(--s-200) + env(safe-area-inset-top, 0px)); }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; flex: none; display: inline-block; }
.icon svg { width: 100%; height: 100%; display: block; }
.icon-tile { width: 48px; height: 48px; border-radius: var(--r-12); background: var(--surface-2); color: var(--amber); display: grid; place-items: center; }
.paper .icon-tile { background: var(--paper); color: var(--paper-accent); border: 1px solid var(--paper-line); }

/* ---------- Floating nav ---------- */
.nav-shell { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--s-200)); z-index: 30; display: flex; justify-content: center; padding-left: max(var(--s-200), env(safe-area-inset-left, 0px)); padding-right: max(var(--s-200), env(safe-area-inset-right, 0px)); margin-top: var(--s-200); pointer-events: none; }
.nav { pointer-events: auto; display: flex; align-items: center; gap: var(--s-300); padding: var(--s-75) var(--s-75) var(--s-75) var(--s-300); border-radius: var(--r-full); background: rgba(49, 49, 49, 0.9); border: 1px solid #474747; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); max-width: 100%; }
.brand { display: inline-flex; align-items: center; gap: var(--s-75); color: var(--text); text-decoration: none; font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.brand img { display: block; width: auto; }
.brand .brand-logo { height: 28px; }
.brand .mark { width: 22px; height: 18px; }
.brand .in { color: var(--amber); }
.nav-links { display: flex; align-items: center; gap: var(--s-50); list-style: none; padding: 0; }
.nav-links a { display: block; padding: var(--s-75) var(--s-100); border-radius: var(--r-full); color: var(--text-2); text-decoration: none; transition: color 300ms var(--ease), background-color 300ms var(--ease); }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 500ms var(--ease), opacity 300ms var(--ease); }
.menu-btn span:nth-child(1) { top: 16px; } .menu-btn span:nth-child(2) { top: 21px; } .menu-btn span:nth-child(3) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mobile-panel { position: fixed; inset: 0; z-index: 25; background: rgba(31, 31, 31, 0.94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); padding-top: calc(env(safe-area-inset-top, 0px) + 112px); padding-bottom: max(var(--s-400), env(safe-area-inset-bottom, 0px)); padding-left: max(var(--s-300), env(safe-area-inset-left, 0px)); padding-right: max(var(--s-300), env(safe-area-inset-right, 0px)); display: flex; flex-direction: column; gap: var(--s-75); opacity: 0; transition: opacity 300ms var(--ease); }
.mobile-panel.open { opacity: 1; }
.mobile-panel a.m-link { color: var(--text); text-decoration: none; font-size: 30px; line-height: 36px; font-weight: 600; padding-block: var(--s-100); opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.mobile-panel.open a.m-link { opacity: 1; transform: none; }
.mobile-panel a.m-link[aria-current="page"] { color: var(--amber); }
.mobile-panel .btn { margin-top: var(--s-300); }
@media (max-width: 960px) {
  .nav { width: 100%; justify-content: space-between; padding-left: var(--s-200); }
  .nav-links, .nav .nav-cta { display: none; }
  .menu-btn { display: inline-block; }
}

/* ---------- Announcement banner ---------- */
.announce { background: var(--amber); color: var(--on-amber); }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: var(--s-200); min-height: 44px; padding-block: var(--s-75); text-align: center; }
.announce a { color: var(--on-amber); font-weight: 600; }
.announce button { flex: none; width: 32px; height: 32px; border: 0; border-radius: var(--r-full); background: transparent; color: var(--on-amber); cursor: pointer; display: grid; place-items: center; transition: background-color 300ms var(--ease); }
.announce button:hover { background: rgba(31, 31, 31, 0.12); }
.announce .icon { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75); padding: var(--s-75) var(--s-100); min-height: 44px; border-radius: var(--r-8); border: 1px solid var(--amber); background: var(--amber); color: var(--on-amber) !important; text-decoration: none; cursor: pointer; font-family: var(--font); transition: background-color 300ms var(--ease), transform 500ms var(--ease), border-color 300ms var(--ease); white-space: nowrap; }
.btn:hover { background: var(--amber-hover); border-color: var(--amber-hover); }
.btn:active { transform: scale(0.98); }
.btn.secondary { background: transparent; color: var(--text) !important; border-color: var(--line); }
.btn.secondary:hover { background: var(--surface-2); }
.paper .btn.secondary { color: var(--paper-text) !important; border-color: var(--paper-line); }
.paper .btn.secondary:hover { background: var(--paper-card); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.nav .btn { border-radius: var(--r-full); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-100); }

/* ---------- Hero ---------- */
.hero { padding-block: var(--s-800) var(--s-900); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s-700); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: var(--s-600); } .hero { padding-block: var(--s-600) var(--s-700); } }
.hero-title { max-width: 680px; background: linear-gradient(90deg, #FFFFFF, #9B9B9B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 680px; color: var(--text-2); }
.proof { display: flex; align-items: center; gap: var(--s-100); color: var(--text-2); }
.proof b { color: var(--text); font-weight: 600; }
.page-hero { padding-block: var(--s-700) var(--s-700); }

/* Live schedule board (hero visual) */
.board { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-24); padding: var(--s-300); display: grid; gap: var(--s-200); }
.board-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-100); }
.live-dot { display: inline-flex; align-items: center; gap: var(--s-75); color: var(--text); }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: var(--r-full); background: #FF6B5E; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 94, 0.5); } 70% { box-shadow: 0 0 0 8px rgba(255, 107, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 94, 0); } }
.slots { display: grid; gap: var(--s-75); }
.slot { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--s-200); align-items: center; padding: var(--s-100); border-radius: var(--r-16); background: var(--surface-2); }
.slot .date { display: grid; place-items: center; border-radius: var(--r-8); background: var(--bg); padding: var(--s-75) 0; text-align: center; }
.slot .date b { display: block; font-family: var(--mono); font-size: 20px; line-height: 28px; font-weight: 600; color: var(--amber); }
.slot .date span { font-size: 12px; line-height: 16px; color: var(--text-2); }
.slot .what { min-width: 0; }
.slot .what span { display: block; color: var(--text-2); }

/* Hero banner slider */
.slider { position: relative; display: grid; gap: var(--s-200); min-width: 0; }
.slides { display: grid; border-radius: var(--r-24); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.slide { grid-area: 1 / 1; display: grid; grid-template-rows: auto auto; color: var(--text); text-decoration: none; opacity: 0; visibility: hidden; transition: opacity 700ms var(--ease), visibility 0s step-end 700ms; }
.slide.active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 700ms var(--ease); }
.slide-media { aspect-ratio: 16 / 9; overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); transition: transform 6000ms var(--ease); }
.slide.active img { transform: scale(1); }
.slide-caption { padding: var(--s-200) var(--s-300) var(--s-300); background: var(--surface); display: flex; flex-direction: column; gap: var(--s-25); min-width: 0; transform: translateY(16px); opacity: 0; transition: transform 700ms var(--ease) 150ms, opacity 700ms var(--ease) 150ms; }
.slide.active .slide-caption { transform: none; opacity: 1; }
.slide-tag { color: var(--amber); }
.slide-caption .title-1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slide-caption .caption-2 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slider-controls { display: flex; align-items: center; justify-content: space-between; gap: var(--s-200); }
.slider-dots { display: flex; gap: var(--s-75); }
.dot { width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; display: grid; place-items: center; }
.dot span { display: block; width: 32px; height: 4px; border-radius: var(--r-full); background: var(--line); position: relative; overflow: hidden; }
.dot span::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.dot[aria-current="true"] span::after { transform: scaleX(1); }
.dot.run span::after { transform: scaleX(0); animation: fill 6000ms var(--ease) forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.arrows { display: flex; gap: var(--s-75); }
.round-btn { width: 44px; height: 44px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center; transition: background-color 300ms var(--ease), opacity 300ms var(--ease), transform 500ms var(--ease); }
.round-btn:hover { background: var(--surface-2); }
.round-btn:active { transform: scale(0.96); }
.round-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.round-btn .icon { width: 20px; height: 20px; }
.paper .round-btn { background: var(--paper-card); border-color: var(--paper-line); color: var(--paper-text); }
.paper .round-btn:hover { background: var(--paper); }

/* Course carousel */
.carousel { display: grid; gap: var(--s-300); min-width: 0; }
.carousel-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-300); flex-wrap: wrap; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--s-300)) / 3); gap: var(--s-300); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; padding-block: var(--s-75) var(--s-200); scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.carousel-track > * { scroll-snap-align: start; }
@media (max-width: 1040px) { .carousel-track { grid-auto-columns: calc((100% - var(--s-300)) / 2); } }
@media (max-width: 680px) { .carousel-track { grid-auto-columns: 86%; } }

/* Art strip */
.marquee { overflow: hidden; border-radius: var(--r-24); }
.marquee-row { display: flex; gap: var(--s-200); width: max-content; will-change: transform; }
.marquee-row img { width: 320px; height: 180px; border-radius: var(--r-16); border: 1px solid var(--line); flex: none; }
@media (max-width: 520px) { .marquee-row img { width: 240px; height: 135px; } }

/* Skeleton loading state */
.skeleton { border-radius: var(--r-16); background: var(--surface-2); animation: breathe 1.6s var(--ease) infinite alternate; min-height: 72px; }
.paper .skeleton { background: #E9E5DE; border-radius: var(--r-24); min-height: 360px; }
@keyframes breathe { from { opacity: 1; } to { opacity: 0.5; } }

/* ---------- Benefits and feature rows ---------- */
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-300); }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; } }
.benefit { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s-200); padding: var(--s-300); border-radius: var(--r-16); border: 1px solid var(--line); background: var(--surface); }
.paper .benefit { background: var(--paper-card); border-color: var(--paper-line); }
.benefit .stack-sm { min-width: 0; }

/* Problem to solution */
.contrast { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-300); }
@media (max-width: 760px) { .contrast { grid-template-columns: 1fr; } }
.contrast > div { padding: var(--s-400); border-radius: var(--r-24); border: 1px solid var(--paper-line); background: var(--paper-card); display: grid; gap: var(--s-200); align-content: start; }
.contrast > div.after { background: var(--paper-text); color: var(--text); border-color: var(--paper-text); }
.contrast ul { list-style: none; padding: 0; display: grid; gap: var(--s-100); }
.contrast li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s-100); }
.contrast .after .icon { color: var(--amber); }
.contrast .before .icon { color: var(--paper-text-2); }

/* Tagline reveal */
.tagline { padding-block: var(--s-900); }
.tagline p { max-width: 900px; }
.tagline .w { color: var(--text-muted); transition: color 700ms var(--ease); }
.tagline .w.on { color: var(--text); }

/* Steps (a real sequence) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-300); list-style: none; padding: 0; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.steps.single { grid-template-columns: 1fr; }
.steps li { counter-increment: step; display: grid; gap: var(--s-100); align-content: start; padding: var(--s-300); border-radius: var(--r-16); border: 1px solid var(--paper-line); background: var(--paper-card); }
.steps li::before { content: counter(step); width: 32px; height: 32px; border-radius: var(--r-full); display: grid; place-items: center; background: var(--paper-text); color: var(--amber); font-family: var(--mono); font-size: 14px; line-height: 20px; font-weight: 600; }

/* ---------- Courses ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-75); }
.chip { font-family: var(--font); min-height: 44px; padding: var(--s-75) var(--s-200); border-radius: var(--r-full); border: 1px solid var(--paper-line); background: var(--paper-card); color: var(--paper-text); cursor: pointer; transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.chip:hover { border-color: var(--paper-text-2); }
.chip[aria-pressed="true"] { background: var(--paper-text); color: var(--paper); border-color: var(--paper-text); }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-300); }
@media (max-width: 1040px) { .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .course-grid { grid-template-columns: 1fr; } }
.course { background: var(--paper-card); border: 1px solid var(--paper-line); border-radius: var(--r-24); overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; transition: transform 500ms var(--ease); }
@media (hover: hover) { .course:hover { transform: translateY(-4px); } .course:hover .course-art img { transform: scale(1.04); } .formats a:hover { background: var(--surface-2); transform: translateY(-2px); } }
.course { scroll-margin-top: 112px; }
.course-art { position: relative; aspect-ratio: 16 / 9; background: var(--surface); }
.course-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 700ms var(--ease); }
.new-badge { position: absolute; top: var(--s-200); left: var(--s-200); padding: var(--s-50) var(--s-100); border-radius: var(--r-full); background: var(--amber); color: var(--on-amber); }
.course-body { padding: var(--s-300); display: grid; grid-template-rows: auto auto 1fr auto auto; gap: var(--s-200); min-width: 0; }
.course .meta-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s-75); flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; padding: var(--s-25) var(--s-75); border-radius: var(--r-full); border: 1px solid var(--paper-line); color: var(--paper-text-2); }
.course details summary { cursor: pointer; color: var(--paper-accent); list-style: none; display: inline-flex; min-height: 44px; align-items: center; }
.course details summary::-webkit-details-marker { display: none; }
.course details ul { padding-left: var(--s-300); display: grid; gap: var(--s-50); color: var(--paper-text-2); }
.schedule { display: grid; gap: var(--s-50); padding: var(--s-100); border-radius: var(--r-12); background: var(--paper); }
.schedule div { display: flex; align-items: center; gap: var(--s-75); }
.schedule .icon { width: 16px; height: 16px; color: var(--paper-text-2); }
.course .buy { display: flex; justify-content: space-between; align-items: center; gap: var(--s-100); flex-wrap: wrap; }
.price { font-family: var(--mono); font-size: 24px; line-height: 32px; font-weight: 600; font-variant-numeric: tabular-nums; }
.empty-state { padding: var(--s-600) var(--s-300); border: 1px solid var(--paper-line); border-radius: var(--r-24); background: var(--paper-card); display: grid; gap: var(--s-100); justify-items: start; }

/* Placeholder facts awaiting real values */
.ph { font-family: var(--mono); font-size: 0.875em; padding: 0 var(--s-50); border-radius: var(--r-4); background: rgba(253, 185, 78, 0.16); color: var(--amber); white-space: nowrap; }
.paper .ph { background: rgba(138, 90, 0, 0.1); color: var(--paper-accent); }

/* ---------- Offers ---------- */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-300); }
@media (max-width: 760px) { .offers { grid-template-columns: 1fr; } }
.offers.wide-first > :first-child { grid-column: 1 / -1; }
.offer { border: 1px solid var(--line); border-radius: var(--r-24); padding: var(--s-400); display: grid; gap: var(--s-200); align-content: start; background: var(--surface); min-width: 0; }
.paper .offer { border-color: var(--paper-line); background: var(--paper-card); }
.offer ul { padding-left: var(--s-300); display: grid; gap: var(--s-50); }
.offer .btn { justify-self: start; }
.offer-head { display: flex; gap: var(--s-200); align-items: center; }

/* Formats strip */
.formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-200); }
@media (max-width: 960px) { .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .formats { grid-template-columns: 1fr; } }
.formats a { display: grid; gap: var(--s-100); align-content: start; padding: var(--s-300); border-radius: var(--r-16); border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; transition: background-color 300ms var(--ease), transform 500ms var(--ease); }
.formats a span.dim { display: block; }

/* ---------- Proof / instructor ---------- */
.instructor { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--s-600); align-items: start; }
@media (max-width: 760px) { .instructor { grid-template-columns: 1fr; gap: var(--s-300); } }
.portrait { aspect-ratio: 4 / 5; width: 100%; max-width: 240px; height: auto; border-radius: var(--r-24); background: var(--surface); border: 1px solid var(--line); object-fit: cover; object-position: center 20%; display: block; }
.creds { display: flex; flex-wrap: wrap; gap: var(--s-75); list-style: none; padding: 0; }
.creds li { padding: var(--s-50) var(--s-100); border-radius: var(--r-full); border: 1px solid var(--line); color: var(--text-2); }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-300); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }
.quote { padding: var(--s-300); border-radius: var(--r-16); border: 1px dashed var(--line); display: grid; gap: var(--s-100); }

/* ---------- Final CTA ---------- */
.cta { border: 1px solid var(--line); border-radius: var(--r-24); background: var(--surface); padding: var(--s-600); display: grid; gap: var(--s-300); justify-items: start; }
@media (max-width: 520px) { .cta { padding: var(--s-300); } }
.reassure { display: flex; flex-wrap: wrap; gap: var(--s-200) var(--s-300); list-style: none; padding: 0; color: var(--text-2); }
.reassure li { display: inline-flex; align-items: center; gap: var(--s-75); }
.reassure .icon { width: 20px; height: 20px; color: var(--amber); }

/* ---------- Forms ---------- */
form.card { display: grid; gap: var(--s-200); background: var(--paper-card); color: var(--paper-text); border: 1px solid var(--paper-line); border-radius: var(--r-24); padding: var(--s-400); min-width: 0; }
@media (max-width: 520px) { form.card { padding: var(--s-300); } }
.field { display: grid; gap: var(--s-75); }
.field input, .field select, .field textarea { font-family: var(--font); font-size: 16px; line-height: 24px; padding: var(--s-100); min-height: 44px; border-radius: var(--r-8); border: 1px solid var(--paper-line); background: #FFFFFF; color: var(--paper-text); width: 100%; color-scheme: light; transition: border-color 300ms var(--ease); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--paper-text-2); }
.field textarea { min-height: 112px; resize: vertical; }
.field.invalid input, .field.invalid textarea { border-color: var(--paper-error); }
.field .err { color: var(--paper-error); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-200); }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.form-status:empty { display: none; }
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--paper-error); }
.hp { position: absolute; left: -9999px; }

/* ---------- FAQ ---------- */
.faq { display: grid; }
.faq details { padding-block: var(--s-300); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-200); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 500ms var(--ease); color: var(--paper-accent); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { margin-top: var(--s-100); color: var(--paper-text-2); max-width: 720px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.64); display: grid; place-items: center; padding-left: max(var(--s-200), env(safe-area-inset-left, 0px)); padding-right: max(var(--s-200), env(safe-area-inset-right, 0px)); padding-block: max(var(--s-200), env(safe-area-inset-top, 0px)) max(var(--s-200), env(safe-area-inset-bottom, 0px)); opacity: 0; transition: opacity 300ms var(--ease); }
.modal.open { opacity: 1; }
.modal form.card { width: min(520px, 100%); max-height: 100%; overflow: auto; transform: translateY(24px); transition: transform 500ms var(--ease); }
.modal.open form.card { transform: none; }
.modal-head { display: flex; justify-content: space-between; align-items: start; gap: var(--s-100); }
.close { width: 44px; height: 44px; border-radius: var(--r-full); border: 1px solid var(--paper-line); background: var(--paper-card); color: var(--paper-text); cursor: pointer; display: grid; place-items: center; flex: none; }
.close .icon { width: 20px; height: 20px; }

/* ---------- Legal and 404 ---------- */
.prose { display: grid; gap: var(--s-200); max-width: 720px; }
.prose h2 { margin-top: var(--s-300); }
.prose ul { padding-left: var(--s-300); display: grid; gap: var(--s-50); }
.notice { padding: var(--s-200); border-radius: var(--r-12); border: 1px solid var(--paper-line); background: var(--paper-card); }

/* ---------- Footer ---------- */
.site-footer { padding-block: var(--s-700) var(--s-500); color: var(--text-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-400); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid ul { list-style: none; padding: 0; display: grid; gap: var(--s-75); }
.foot-grid a { color: var(--text-2); text-decoration: none; transition: color 300ms var(--ease); }
.foot-grid a:hover { color: var(--text); }
.foot-grid h2 { color: var(--text); margin-bottom: var(--s-100); }
.foot-base { display: flex; justify-content: space-between; gap: var(--s-200); flex-wrap: wrap; margin-top: var(--s-500); padding-top: var(--s-300); }

/* ---------- Scroll reveal (only for content below the fold at load) ---------- */
.reveal.pre { opacity: 0; transform: translateY(32px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 700ms var(--ease), transform 700ms var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .reveal.pre { transform: none; }
  .reveal.in { transition: opacity 300ms var(--ease); }
  .tagline .w { color: var(--text) !important; transition: none; }
  .mobile-panel a.m-link { transform: none; }
  .btn:active { transform: none; }
  .slide img, .course-art img { transition: none; transform: none !important; }
  .slide-caption { transition: opacity 300ms var(--ease); transform: none; }
}

/* Small phones: hero heading steps down to Heading 4 so lines break where the thought breaks */
@media (max-width: 440px) { .hero-title.heading-1 { font-size: 30px; line-height: 36px; } }

/* ---------- Photos and credits ---------- */
.banner { position: relative; margin: 0; width: 100%; max-width: 100%; border-radius: var(--r-24); overflow: hidden; background: var(--surface); }
.banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.credit { position: absolute; right: var(--s-100); bottom: var(--s-100); padding: var(--s-25) var(--s-75); border-radius: var(--r-full); background: rgba(0, 0, 0, 0.56); color: #F5F5F5; opacity: 0.85; transition: opacity 300ms var(--ease); max-width: calc(100% - var(--s-200)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.credit a { color: #F5F5F5 !important; text-decoration: underline; text-underline-offset: 2px; }
.credit:hover { opacity: 1; }
.no-photo .credit { display: none; }
.course-art img, .slide-media img { background: var(--surface); }
@media (max-width: 680px) { .banner { aspect-ratio: 4 / 3 !important; } }
.portrait-wrap { display: block; min-width: 0; }
.instructor .portrait-wrap { max-width: 240px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Founders */
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-300); }
@media (max-width: 760px) { .founders { grid-template-columns: 1fr; } }
.founder { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s-300); align-items: start; padding: var(--s-300); border-radius: var(--r-24); border: 1px solid var(--line); background: var(--surface); }
.avatar { width: 96px; height: 96px; border-radius: var(--r-full); object-fit: cover; display: block; background: var(--surface-2); }
.portrait { aspect-ratio: 1 / 1; }

/* Back to top */
.to-top { position: fixed; z-index: 20; right: max(var(--s-200), env(safe-area-inset-right, 0px)); bottom: calc(var(--s-200) + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; border-radius: var(--r-full); border: 1px solid #474747; background: rgba(49, 49, 49, 0.92); color: var(--amber); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(16px); transition: opacity 300ms var(--ease), transform 500ms var(--ease), background-color 300ms var(--ease); }
.to-top.show { opacity: 1; transform: none; }
.to-top:active { transform: scale(0.96); }
@media (hover: hover) { .to-top:hover { background: #3A3A3A; } }
.to-top .icon { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) { .to-top { transform: none; transition: opacity 300ms var(--ease); } }

/* Learning portal sign-in link in the main nav */
.nav-signin { color: var(--text-2); text-decoration: none; padding: var(--s-75) var(--s-100); border-radius: var(--r-8); white-space: nowrap; transition: color 300ms var(--ease); }
.nav-signin:hover { color: var(--text); }
@media (max-width: 960px) { .nav-signin { display: none; } }

/* Loading screen (assets/loader.js). Never blocks clicks, and hides itself after 3s even without script. */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--bg); pointer-events: none; transition: opacity 200ms var(--ease), visibility 0s linear 200ms; animation: loader-fallback 0s linear 3s forwards; }
.loader-mark { display: grid; justify-items: center; gap: var(--s-200); }
.loader-mark picture { display: grid; place-items: center; width: 76px; height: 76px; border-radius: var(--r-16); background: var(--paper); animation: loader-pulse 900ms var(--ease) infinite alternate; }
.loader-mark img { width: 56px; height: 56px; display: block; }
.loader-bar { width: 72px; height: 3px; border-radius: var(--r-full); background: rgba(253, 185, 78, 0.18); overflow: hidden; }
.loader-bar::after { content: ""; display: block; width: 40%; height: 100%; border-radius: inherit; background: var(--amber); animation: loader-slide 900ms var(--ease) infinite; }
html.loaded .loader { opacity: 0; visibility: hidden; animation: none; }
html.leaving .loader { opacity: 1; visibility: visible; transition: opacity 160ms var(--ease) 60ms, visibility 0s; }
@keyframes loader-pulse { from { transform: scale(0.92); opacity: 0.75; } to { transform: scale(1); opacity: 1; } }
@keyframes loader-slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@keyframes loader-fallback { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .loader-mark picture, .loader-bar::after { animation: none; }
  .loader, html.leaving .loader { transition-duration: 0s; }
}
@media print { .loader { display: none; } }

/* Learner testimonials */
.tcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-200); }
.tcard { margin: 0; display: flex; flex-direction: column; gap: var(--s-200); padding: var(--s-300); border-radius: var(--r-16); border: 1px solid var(--line); background: var(--surface); }
.tcard-course { display: flex; align-items: center; gap: var(--s-100); color: var(--text-2); }
.tcard-course img { width: 56px; height: 32px; object-fit: cover; border-radius: var(--r-6); border: 1px solid var(--line); background: var(--bg); flex: none; }
.tcard blockquote { margin: 0; flex: 1; color: var(--text); }
.tcard blockquote::before { content: "\201C"; display: block; height: 20px; font-size: 40px; line-height: 40px; color: var(--amber); }
.tcard figcaption { padding-top: var(--s-200); border-top: 1px solid var(--line); }
@media (max-width: 1024px) { .tcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tcards { grid-template-columns: minmax(0, 1fr); } }

/* Sign in chooser */
.signin-sheet { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: max(var(--s-200), env(safe-area-inset-top, 0px)) max(var(--s-200), env(safe-area-inset-right, 0px)) max(var(--s-200), env(safe-area-inset-bottom, 0px)) max(var(--s-200), env(safe-area-inset-left, 0px)); background: rgba(0, 0, 0, 0.64); opacity: 0; transition: opacity 240ms var(--ease); }
.signin-sheet.open { opacity: 1; }
.signin-card { width: min(480px, 100%); max-height: 100%; overflow: auto; display: grid; gap: var(--s-200); padding: var(--s-400); border-radius: var(--r-24); background: var(--surface); border: 1px solid var(--line); transform: translateY(16px) scale(0.98); transition: transform 360ms var(--ease); }
.signin-sheet.open .signin-card { transform: none; }
.signin-options { display: grid; gap: var(--s-100); }
.signin-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s-200); align-items: center; padding: var(--s-200); border-radius: var(--r-16); border: 1px solid var(--line); background: var(--bg); color: var(--text) !important; text-decoration: none; transition: border-color 200ms var(--ease), background-color 200ms var(--ease), transform 300ms var(--ease); }
.signin-option:hover { border-color: var(--amber); background: var(--surface-2); }
.signin-option:active { transform: scale(0.99); }
.signin-option .go { color: var(--text-2); }
@media (max-width: 520px) { .signin-card { padding: var(--s-300) var(--s-200); } }
@media (prefers-reduced-motion: reduce) { .signin-sheet, .signin-card { transition: none; } }
