@font-face {
  font-family: "Sora";
  src: url("assets/fonts/Sora-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #080909;
  --bg-lift: #202124;
  --surface: #111315;
  --surface-soft: #151719;
  --text: #f2eee7;
  --text-muted: #a7a19a;
  --text-faint: #6f6a64;
  --copper: #b46a3c;
  --copper-soft: #b16844;
  --line: rgba(242, 238, 231, 0.28);
  --line-soft: rgba(242, 238, 231, 0.08);
  --border: rgba(242, 238, 231, 0.14);
  --max-width: 1440px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(145deg, #000 0%, var(--bg) 46%, var(--bg-lift) 100%);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(242, 238, 231, 0.025);
}

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

button,
input {
  font: inherit;
}

.site-shell {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 30px clamp(22px, 4vw, 64px) 26px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 46px;
  animation: fade-in 900ms var(--ease) both;
}

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

.brand img {
  display: block;
  width: clamp(122px, 12vw, 156px);
  height: auto;
}

.nav-muted {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  color: var(--text-faint);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-muted a {
  cursor: default;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 6vw, 96px);
  min-height: calc(100vh - 180px);
  padding: clamp(56px, 8vh, 120px) 0 clamp(42px, 7vh, 92px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 690px;
}

.index-mark,
.case-label {
  margin: 0;
  color: var(--copper);
  font-size: clamp(0.72rem, 0.9vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1 {
  margin: 22px 0 18px;
  color: var(--text);
  font-size: clamp(3.25rem, 8vw, 8.1rem);
  font-weight: 430;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
  animation: title-in 1100ms var(--ease) 160ms both;
}

h1 span {
  display: block;
}

.case-label {
  color: var(--text-muted);
}

.intro {
  max-width: 430px;
  margin: 34px 0 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  font-weight: 300;
  line-height: 1.68;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  min-height: 46px;
  margin-top: 38px;
  border: 1px solid var(--border);
  background: rgba(242, 238, 231, 0.03);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: border-color 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease);
}

.cta:hover,
.cta:focus-visible {
  border-color: rgba(180, 106, 60, 0.75);
  background: rgba(180, 106, 60, 0.1);
  color: #fff7ef;
  transform: translateY(-1px);
}

.notify-form {
  width: min(100%, 432px);
  margin-top: clamp(46px, 6vh, 72px);
}

.notify-form label {
  display: block;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 350;
}

.email-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  min-height: 58px;
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.email-row:focus-within {
  border-color: rgba(180, 106, 60, 0.78);
}

.email-row input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 14px 18px;
  font-size: 0.96rem;
}

.email-row input::placeholder {
  color: rgba(167, 161, 154, 0.48);
}

.email-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.35rem;
  padding: 0 14px;
  transition: color 220ms var(--ease), transform 220ms var(--ease);
}

.email-row button:hover,
.email-row button:focus-visible {
  color: var(--copper);
  transform: translateX(3px);
}

.email-row button:disabled {
  cursor: wait;
  opacity: 0.45;
  transform: none;
}

.turnstile-wrap {
  height: 0;
  overflow: visible;
}

.turnstile-wrap iframe {
  max-width: 100%;
}

.form-message {
  min-height: 1.3em;
  margin: 14px 0 0;
  color: var(--copper-soft);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.line-stage {
  position: relative;
  min-height: min(58vw, 680px);
  isolation: isolate;
}

.line-stage::before {
  content: none;
}

.racing-line {
  width: 100%;
  height: 100%;
  min-height: 520px;
  overflow: visible;
}

.track-shadow,
.track-line {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.track-shadow {
  stroke: rgba(242, 238, 231, 0.08);
  stroke-width: 30;
}

.track-line {
  stroke: rgba(242, 238, 231, 0.34);
  stroke-width: 2.4;
  stroke-dasharray: 1300;
  stroke-dashoffset: 1300;
  animation: draw-line 1800ms var(--ease) 320ms forwards;
}

.apex-dot {
  fill: var(--copper-soft);
  opacity: 0;
  animation: dot-in 700ms var(--ease) 1600ms forwards;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.35fr auto;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(242, 238, 231, 0.1);
  color: var(--text-faint);
  font-size: 0.67rem;
  font-weight: 450;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--text);
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes title-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes dot-in {
  from {
    opacity: 0;
    transform: scale(0.55);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .site-shell {
    padding: 24px 22px 22px;
  }

  .site-header {
    align-items: flex-start;
  }

  .nav-muted {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 9px 18px;
    justify-content: end;
    font-size: 0.62rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
    padding: 72px 0 54px;
  }

  .hero-copy {
    display: contents;
    max-width: none;
  }

  .index-mark {
    order: 1;
  }

  h1 {
    order: 2;
  }

  .line-stage {
    display: none;
  }

  .case-label {
    order: 4;
  }

  .intro {
    order: 5;
  }

  .cta {
    order: 6;
  }

  .notify-form {
    order: 7;
  }

  h1 {
    margin-top: 18px;
    font-size: clamp(3.28rem, 16vw, 5.5rem);
  }

  .intro {
    margin-top: 30px;
  }

  .notify-form {
    margin-top: 42px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .site-header {
    display: grid;
    gap: 22px;
  }

  .nav-muted {
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    justify-content: stretch;
    font-size: 0.56rem;
  }

  .nav-muted a {
    min-width: 0;
  }

  .hero {
    padding-top: 54px;
  }

  .cta {
    width: 100%;
  }

  .email-row {
    grid-template-columns: minmax(0, 1fr) 44px;
  }
}

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