:root {
  color-scheme: dark;
  --bg: #020615;
  --bg-2: #06173a;
  --panel: rgba(8, 22, 52, 0.82);
  --panel-strong: rgba(12, 30, 70, 0.94);
  --text: #f5f8ff;
  --muted: #9fb3d9;
  --blue: #0f4fd0;
  --blue-2: #082d7c;
  --ice: #77e7ff;
  --ice-2: #c8f6ff;
  --yellow: #f8c62d;
  --yellow-2: #d99a05;
  --border: rgba(144, 222, 255, 0.28);
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(120deg, rgba(4, 11, 30, 0.3), rgba(5, 18, 48, 0.6)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 118px),
    linear-gradient(180deg, #020615 0%, #05112c 38%, #020615 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(135deg, rgba(17, 82, 204, 0.36), transparent 24%),
    linear-gradient(315deg, rgba(248, 198, 45, 0.2), transparent 26%);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.site-nav,
.header-link {
  min-height: 42px;
}

.site-nav {
  display: flex;
  justify-content: flex-start;
  gap: 6px;
}

.site-nav a,
.header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 16px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.site-nav a:hover,
.header-link:hover {
  border-color: var(--border);
  color: var(--text);
  background: rgba(119, 231, 255, 0.08);
}

.header-link {
  justify-self: end;
  color: var(--ice-2);
  border-color: rgba(119, 231, 255, 0.35);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 48px;
  width: min(var(--max), calc(100% - 36px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 60px 0 86px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 9ch;
  margin: 0;
  font-size: 5.9rem;
  line-height: 0.86;
  font-weight: 1000;
  text-transform: uppercase;
  text-wrap: balance;
}

.ticker {
  display: inline-flex;
  margin: 26px 0 0;
  border: 1px solid rgba(248, 198, 45, 0.58);
  border-radius: 999px;
  padding: 9px 16px;
  color: var(--yellow);
  background: rgba(248, 198, 45, 0.08);
  box-shadow: inset 0 0 28px rgba(248, 198, 45, 0.08);
  font-size: 1.05rem;
  font-weight: 1000;
}

.tagline {
  max-width: 13ch;
  margin: 24px 0 0;
  color: var(--ice-2);
  font-size: 2.3rem;
  line-height: 1;
  font-weight: 900;
}

.hero-lede {
  max-width: 610px;
  margin: 22px 0 0;
  color: #d7e4ff;
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 22px;
  font-size: 0.94rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: rgba(248, 198, 45, 0.8);
  color: #031032;
  background: linear-gradient(180deg, #ffe17a, var(--yellow));
}

.button.secondary {
  color: var(--ice-2);
  background: rgba(119, 231, 255, 0.08);
}

.hero-visual {
  position: relative;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  inset: 18px;
  z-index: -1;
  content: "";
  border: 1px solid rgba(119, 231, 255, 0.2);
  transform: skewX(-7deg);
}

.hero-visual::after {
  inset: 38px -12px -14px 38px;
  border-color: rgba(248, 198, 45, 0.36);
}

.cold-frame {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  border: 1px solid rgba(119, 231, 255, 0.3);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(8, 42, 116, 0.88), rgba(4, 12, 31, 0.76)),
    repeating-linear-gradient(-18deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 22px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.56);
  overflow: hidden;
}

.cold-frame::before {
  position: absolute;
  inset: 16px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  clip-path: polygon(0 0, 72% 0, 100% 28%, 100% 100%, 26% 100%, 0 74%);
}

.cold-frame::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(119, 231, 255, 0.18));
}

.mascot {
  position: relative;
  z-index: 1;
  display: block;
  width: min(92%, 520px);
  height: auto;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.62));
  animation: coldFloat 5s ease-in-out infinite;
}

.signal-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: min(var(--max), calc(100% - 36px));
  margin: -42px auto 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(4, 14, 36, 0.9);
  box-shadow: var(--shadow);
}

.signal-bar > div {
  min-width: 0;
  padding: 24px;
}

.signal-bar > div + div {
  border-left: 1px solid var(--line);
}

.signal-bar span {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 1000;
}

.signal-bar strong {
  display: block;
  margin-top: 10px;
  font-size: 1.04rem;
  text-transform: uppercase;
}

.signal-bar p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.content-band {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 110px 0;
}

.split-band {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 56px;
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0;
  font-size: 3.25rem;
  line-height: 0.96;
  font-weight: 1000;
  text-transform: uppercase;
  text-wrap: balance;
}

.copy-column p,
.section-heading p,
.profile-copy p {
  margin: 0;
  color: #c8d8f7;
  font-size: 1.08rem;
  line-height: 1.75;
}

.copy-column p + p {
  margin-top: 22px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 34px;
}

.compact-heading {
  grid-template-columns: 1fr;
}

.cool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cool-grid article {
  min-height: 220px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(13, 40, 94, 0.88), rgba(4, 13, 34, 0.88)),
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(255, 255, 255, 0.04) 30px 31px);
}

.cool-grid h3 {
  margin: 0;
  color: var(--yellow);
  font-size: 1.4rem;
  text-transform: uppercase;
}

.cool-grid p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.buy-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.steps-list li {
  min-height: 230px;
  padding: 26px;
  background: rgba(3, 10, 28, 0.96);
}

.steps-list li::before {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  color: #041333;
  background: var(--ice);
  font-size: 0.9rem;
  font-weight: 1000;
  content: counter(list-item);
}

.steps-list strong,
.steps-list span {
  display: block;
}

.steps-list strong {
  font-size: 1.1rem;
  text-transform: uppercase;
}

.steps-list span {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.profile-band {
  display: grid;
  grid-template-columns: 0.68fr 1fr;
  gap: 44px;
  align-items: start;
}

.profile-copy {
  position: sticky;
  top: 100px;
}

.copy-panel {
  display: grid;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.copy-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.copy-row span {
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.copy-row code {
  min-width: 0;
  color: var(--ice-2);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.copy-row button {
  min-height: 38px;
  border: 1px solid rgba(119, 231, 255, 0.32);
  border-radius: 6px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(119, 231, 255, 0.1);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.copy-row button:hover,
.copy-row button.copied {
  color: #041333;
  background: var(--ice);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.82rem;
}

@keyframes coldFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero-section,
  .split-band,
  .section-heading,
  .profile-band {
    grid-template-columns: 1fr;
  }

  .hero-section {
    gap: 34px;
    min-height: auto;
    padding-top: 44px;
  }

  .hero-copy h1 {
    max-width: 10ch;
    font-size: 4.45rem;
  }

  .tagline {
    font-size: 2rem;
  }

  .hero-visual {
    order: -1;
  }

  .cold-frame {
    min-height: 430px;
  }

  .signal-bar,
  .cool-grid,
  .steps-list {
    grid-template-columns: 1fr;
  }

  .signal-bar {
    margin-top: 0;
  }

  .signal-bar > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .profile-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero-section,
  .signal-bar,
  .content-band,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    gap: 10px;
    padding: 12px 0;
  }

  .hero-section {
    gap: 20px;
    padding: 18px 0 28px;
  }

  .header-link {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.76rem;
  }

  .hero-copy h1 {
    font-size: 2.45rem;
  }

  .ticker {
    margin-top: 18px;
    padding: 8px 14px;
    font-size: 0.92rem;
  }

  .tagline {
    max-width: 12ch;
    margin-top: 18px;
    font-size: 1.28rem;
  }

  .hero-lede {
    margin-top: 16px;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .cold-frame {
    min-height: 220px;
  }

  .mascot {
    width: min(76%, 244px);
  }

  .content-band {
    padding: 76px 0;
  }

  h2 {
    font-size: 2.25rem;
  }

  .copy-row {
    grid-template-columns: 1fr;
  }

  .copy-row button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
