:root {
  color-scheme: dark;
  --bg: #071018;
  --text: #f7fbff;
  --muted: #aeb9c7;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.28);
  --codex: #2f6dff;
  --codex-2: #6ba4ff;
  --claude: #e97550;
  --claude-2: #f5b18f;
  --shadow: rgba(0, 0, 0, 0.45);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  width: 100%;
  height: 100%;
}

.landing {
  min-height: 100vh;
  overflow: hidden;
  background: #071018;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 28px clamp(18px, 3vw, 44px) 0;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("assets/hero-workspace.png");
  background-position: center right;
  background-size: cover;
  transform: scale(1.01);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.98) 0%, rgba(7, 16, 24, 0.9) 30%, rgba(7, 16, 24, 0.38) 66%, rgba(7, 16, 24, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 16, 24, 0.26) 0%, rgba(7, 16, 24, 0.04) 52%, #071018 100%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1500px);
  margin: 0 auto;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 13, 18, 0.58);
  box-shadow: 0 24px 80px var(--shadow);
  backdrop-filter: blur(22px);
  animation: revealDown 620ms ease-out both;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(168px, 13vw, 228px);
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 251, 255, 0.84);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.site-nav img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.hero-content {
  display: flex;
  min-height: calc(100vh - 100px);
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: clamp(42px, 8vh, 82px) 16px 44px;
  flex-direction: column;
  justify-content: center;
}

.hero-copy {
  max-width: 760px;
}

.hero-copy h1 {
  max-width: min(760px, 56vw);
  margin: 0;
  font-size: clamp(54px, 5.4vw, 86px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
  animation: revealUp 720ms ease-out 120ms both;
}

.hero-description {
  max-width: 580px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.42;
  animation: revealUp 720ms ease-out 220ms both;
}

.course-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  animation: revealUp 720ms ease-out 320ms both;
}

.course-button {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 32px;
  align-items: center;
  width: min(100%, 360px);
  min-height: 96px;
  padding: 18px 18px 18px 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(17, 24, 34, 0.74);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.26);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.course-button::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.8;
  transition: opacity 180ms ease;
}

.course-button::after {
  position: absolute;
  inset: -40% auto -40% -35%;
  width: 30%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  opacity: 0;
  transform: skewX(-18deg);
  transition:
    left 620ms ease,
    opacity 180ms ease;
}

.course-button > * {
  position: relative;
}

.course-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
}

.course-button:hover::before {
  opacity: 1;
}

.course-button:hover::after {
  left: 105%;
  opacity: 1;
}

.course-button strong {
  display: block;
}

.course-button strong {
  font-size: 20px;
  line-height: 1.06;
  white-space: nowrap;
}

.course-button--codex {
  border-color: rgba(96, 148, 255, 0.64);
  background: #104fe8;
}

.course-button--codex::before {
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(135deg, #2f6dff 0%, #093bb6 100%);
}

.course-button--claude::before {
  background:
    radial-gradient(circle at 14% 12%, rgba(245, 177, 143, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(17, 24, 34, 0.88));
}

.course-icon,
.arrow {
  color: #ffffff;
}

.course-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

.course-icon img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.arrow {
  width: 28px;
  height: 28px;
  justify-self: end;
}

.arrow svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.access-note {
  max-width: 540px;
  margin: 22px 0 0;
  color: rgba(247, 251, 255, 0.78);
  font-size: 15px;
  line-height: 1.45;
  animation: revealUp 720ms ease-out 420ms both;
}

.access-note a {
  color: #f8b95b;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(248, 185, 91, 0.45);
  text-underline-offset: 4px;
}

.access-note a:hover {
  text-decoration-color: #f8b95b;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.01) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.045) translate3d(-10px, -6px, 0);
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 64px;
    padding: 10px 12px;
  }

  .site-nav a {
    width: 40px;
    height: 40px;
  }

  .site-nav img {
    width: 25px;
    height: 25px;
  }

  .hero-content {
    padding-right: 12px;
    padding-left: 12px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-description {
    max-width: 430px;
  }

  .course-actions {
    flex-direction: column;
    max-width: 480px;
  }

  .course-button {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding: 14px 14px 0;
  }

  .hero-media {
    background-position: 63% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 16, 24, 0.97) 0%, rgba(7, 16, 24, 0.82) 55%, rgba(7, 16, 24, 0.38) 100%),
      linear-gradient(180deg, rgba(7, 16, 24, 0.34) 0%, #071018 100%);
  }

  .site-header {
    border-radius: 12px;
  }

  .brand-logo {
    width: 132px;
    max-height: 40px;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .site-nav img {
    width: 23px;
    height: 23px;
  }

  .hero-content {
    min-height: calc(100vh - 86px);
    padding-top: 52px;
    padding-bottom: 26px;
  }

  .hero-copy h1 {
    max-width: 360px;
    font-size: clamp(38px, 10.6vw, 50px);
    line-height: 0.98;
  }

  .hero-description {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.42;
  }

  .course-actions {
    margin-top: 30px;
  }

  .course-button {
    grid-template-columns: 46px minmax(0, 1fr) 28px;
    min-height: 84px;
    padding: 15px;
  }

  .course-button strong {
    font-size: 18px;
  }

  .access-note {
    font-size: 14px;
  }
}

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