:root {
  color-scheme: dark;
  --ink: #f6efe1;
  --muted: #c7c2b8;
  --panel: #191b1e;
  --panel-strong: #23272b;
  --line: rgba(246, 239, 225, 0.16);
  --ember: #d66332;
  --gold: #e0b45c;
  --moss: #6f8d62;
  --steel: #7aa0aa;
  --shadow: rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: #101214;
  color: var(--ink);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(13, 15, 17, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark,
.class-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(224, 180, 92, 0.55);
  background: #2a2119;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
}

.main-nav a:hover,
.nav-cta:hover {
  color: var(--ink);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.nav-cta {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: end;
  padding: 140px clamp(20px, 6vw, 82px) 92px;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 11, 12, 0.9), rgba(10, 11, 12, 0.42), rgba(10, 11, 12, 0.72)),
    url("https://media.fab.com/image_previews/gallery_images/b8f24a04-620c-4681-a61d-628eb1a4de26/77f87932-1f4b-4d39-832b-e3b23271ffb0.jpg") center / cover;
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28vh;
  content: "";
  z-index: -1;
  background: linear-gradient(0deg, #101214 0%, rgba(16, 18, 20, 0) 100%);
}

.hero-content {
  width: min(1080px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 5.4vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 1080px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 640px;
  font-size: 1.16rem;
}

.hero-actions,
.signup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button.primary {
  border-color: transparent;
  background: var(--ember);
  color: #fffaf1;
  box-shadow: 0 10px 34px rgba(214, 99, 50, 0.22);
}

.button.secondary {
  background: rgba(246, 239, 225, 0.08);
  color: var(--ink);
}

.button,
.nav-cta,
.carousel-control,
.dot {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.nav-cta:hover,
.carousel-control:hover {
  transform: translateY(-2px);
}

.button.primary:hover {
  background: #ef7442;
  box-shadow: 0 16px 42px rgba(214, 99, 50, 0.32);
}

.button.secondary:hover {
  border-color: rgba(224, 180, 92, 0.55);
  background: rgba(224, 180, 92, 0.12);
}

.announcement {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.announcement div {
  padding: 28px clamp(20px, 4vw, 56px);
  background: #101214;
}

.announcement strong,
.announcement span {
  display: block;
}

.announcement strong {
  margin-bottom: 8px;
  color: var(--ink);
}

.announcement span {
  color: var(--muted);
}

.section {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 6vw, 82px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
}

.section-copy {
  max-width: 650px;
}

.feature-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.feature-list li {
  padding-left: 18px;
  border-left: 3px solid var(--moss);
  color: var(--ink);
}

.image-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px var(--shadow);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
}

.image-frame:hover img {
  filter: saturate(1.12) contrast(1.05);
  transform: scale(1.045);
}

.dark-band {
  background: #171a1d;
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 42px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.card-grid,
.hero-grid,
.timeline {
  display: grid;
  gap: 18px;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.hero-grid article,
.timeline article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0);
  transform: translateY(0);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    background-color 260ms ease,
    box-shadow 260ms ease;
}

.feature-card::before,
.hero-grid article::before,
.timeline article::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(135deg, rgba(224, 180, 92, 0.18), transparent 34%),
    radial-gradient(circle at 80% 12%, rgba(122, 160, 170, 0.22), transparent 28%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.feature-card:hover,
.hero-grid article:hover,
.timeline article:hover {
  border-color: rgba(224, 180, 92, 0.5);
  background: var(--panel-strong);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  transform: translateY(-8px);
}

.feature-card:hover::before,
.hero-grid article:hover::before,
.timeline article:hover::before {
  opacity: 1;
}

.feature-card > *,
.hero-grid article > *,
.timeline article > * {
  position: relative;
  z-index: 2;
}

.feature-card {
  overflow: hidden;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
}

.feature-card:hover img {
  filter: saturate(1.18) contrast(1.06);
  transform: scale(1.065);
}

.feature-card h3,
.feature-card p {
  padding-inline: 20px;
}

.feature-card h3 {
  margin-top: 20px;
}

.feature-card p {
  padding-bottom: 22px;
}

.hero-grid {
  grid-template-columns: repeat(4, 1fr);
}

.hero-grid article,
.timeline article {
  padding: 24px;
}

.class-icon {
  margin-bottom: 24px;
  border-color: rgba(122, 160, 170, 0.55);
  background: #172327;
  color: var(--steel);
  transition:
    border-color 260ms ease,
    background-color 260ms ease,
    color 260ms ease,
    transform 260ms ease;
}

.hero-grid article:hover .class-icon {
  border-color: rgba(224, 180, 92, 0.72);
  background: #312518;
  color: var(--gold);
  transform: rotate(-4deg) scale(1.08);
}

.media-section {
  background: #111315;
}

.carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.carousel-track {
  position: relative;
  min-height: 520px;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  opacity: 0;
  margin: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 420ms ease, transform 720ms ease;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide figcaption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: min(560px, calc(100% - 48px));
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(12, 13, 15, 0.78);
  color: var(--ink);
  line-height: 1.5;
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 13, 15, 0.82);
  color: var(--ink);
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-control span {
  font-size: 2rem;
  line-height: 1;
}

.carousel-control.prev {
  left: 18px;
}

.carousel-control.next {
  right: 18px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 6;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.dot {
  width: 34px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(246, 239, 225, 0.36);
  cursor: pointer;
}

.dot.is-active {
  background: var(--gold);
}

.dot:hover {
  background: var(--ink);
  transform: translateY(-1px);
}

.roadmap-section {
  background: #181817;
}

.timeline {
  grid-template-columns: repeat(3, 1fr);
}

.timeline span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--gold);
  font-weight: 900;
  transition: transform 260ms ease;
}

.timeline article:hover span {
  transform: translateX(4px);
}

.wishlist-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 40px;
  align-items: end;
  padding: clamp(72px, 9vw, 120px) clamp(20px, 6vw, 82px);
  background: #23201b;
}

.signup-form {
  display: grid;
  gap: 10px;
}

.signup-form label {
  color: var(--muted);
  font-weight: 700;
}

.signup-row input {
  flex: 1 1 220px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font: inherit;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(20px, 6vw, 82px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a,
.policy-section a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.policy-page {
  background: #111315;
}

.policy-main {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 136px 0 86px;
}

.policy-hero {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.policy-hero h1 {
  max-width: 880px;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
}

.policy-hero p {
  max-width: 780px;
  font-size: 1.08rem;
}

.policy-section {
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.policy-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.policy-section ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card.reveal.is-visible:hover,
.hero-grid article.reveal.is-visible:hover,
.timeline article.reveal.is-visible:hover {
  transform: translateY(-8px);
}

.image-frame.reveal.is-visible:hover {
  transform: translateY(-2px);
}

.reveal:nth-child(2) {
  transition-delay: 80ms;
}

.reveal:nth-child(3) {
  transition-delay: 160ms;
}

.reveal:nth-child(4) {
  transition-delay: 240ms;
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 86vh;
  }

  .announcement,
  .split-section,
  .card-grid,
  .hero-grid,
  .timeline,
  .wishlist-section {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    font-size: 0.88rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav-cta {
    min-height: 38px;
    padding-inline: 12px;
  }

  .hero {
    padding: 112px 18px 70px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .hero-actions .button,
  .signup-row .button {
    width: 100%;
  }

  .section,
  .wishlist-section {
    padding-inline: 18px;
  }

  .carousel-track {
    min-height: 360px;
  }

  .carousel-control {
    width: 38px;
    height: 38px;
  }

  .slide figcaption {
    left: 14px;
    right: 14px;
    bottom: 44px;
    max-width: none;
  }
}
