:root {
  --ink: #f3f1ec;
  --muted: #d4c2a8;
  --bg: #090908;
  --bg-2: #12100e;
  --panel: rgba(246, 237, 224, 0.055);
  --line: rgba(212, 194, 168, 0.22);
  --bronze: #a77c4f;
  --bronze-2: #c49b68;
  --electric: #bfeeff;
  --electric-2: #51bfff;
  --shadow: rgba(0, 0, 0, 0.55);
  --display: "Oswald", Inter, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 64% 12%, rgba(81,191,255,.12), transparent 25rem),
    radial-gradient(circle at 18% 24%, rgba(167,124,79,.16), transparent 24rem),
    linear-gradient(135deg, #070706 0%, #15120f 48%, #050505 100%);
  min-height: 100vh;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.brand img { width: 42px; height: 42px; }

.nav {
  display: flex;
  gap: 24px;
}
.nav a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav a:hover,
.site-footer a:hover { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 56px;
  align-items: center;
  padding: 74px 0 64px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--bronze-2);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--display);
  margin: 0;
  line-height: .96;
  font-weight: 600;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  font-size: clamp(72px, 11vw, 142px);
  letter-spacing: .01em;
  color: var(--ink);
  text-shadow: 0 0 34px rgba(191, 238, 255, .12);
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: .02em;
}

h3 {
  font-size: 27px;
  letter-spacing: .03em;
}

.hero-subline {
  margin: 14px 0 0;
  color: var(--bronze-2);
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.lede {
  margin: 24px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 28px;
}

.button,
button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  padding: 0 20px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--line);
  cursor: pointer;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.primary,
button {
  background: var(--bronze);
  color: #090908;
  border-color: transparent;
}
.secondary {
  color: var(--ink);
  background: rgba(246, 237, 224, .045);
}
.button:hover,
button:hover { transform: translateY(-1px); }

.ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ticker span {
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 12px;
  background: rgba(0, 0, 0, .18);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rift-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 18px;
  background: linear-gradient(180deg, rgba(246, 237, 224, .075), rgba(246, 237, 224, .025));
  box-shadow: 0 28px 90px var(--shadow);
}
.rift-card::before,
.rift-card::after {
  content: "+";
  position: absolute;
  color: var(--bronze);
  font-family: var(--display);
  font-size: 26px;
  opacity: .7;
}
.rift-card::before { top: 14px; left: 14px; }
.rift-card::after { right: 14px; bottom: 14px; }

.window-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 13px solid #050505;
  border-radius: 0;
  background: #060607;
  outline: 1px solid rgba(212,194,168,.24);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.035);
}
.window-frame::before,
.window-frame::after {
  content: "";
  position: absolute;
  z-index: 5;
  background: rgba(212, 194, 168, .14);
}
.window-frame::before { width: 2px; inset: 0 auto 0 50%; }
.window-frame::after { height: 2px; inset: 50% 0 auto; }

.rift-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--x, 48%) var(--y, 42%), rgba(81, 191, 255, .28), transparent 7rem),
    radial-gradient(circle at 55% 56%, rgba(167,124,79,.18), transparent 9rem),
    linear-gradient(160deg, #030405 0%, #0d1112 46%, #1a120c 100%);
}
.rift-sky::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 145%;
  left: 50%;
  top: -22%;
  transform: rotate(17deg);
  background:
    linear-gradient(180deg, transparent 0%, rgba(255,255,255,.9) 26%, var(--electric-2) 32%, transparent 36%),
    linear-gradient(180deg, transparent 0%, transparent 44%, rgba(255,255,255,.92) 49%, var(--electric-2) 52%, transparent 56%),
    linear-gradient(180deg, transparent 0%, rgba(191,238,255,.88) 60%, rgba(81,191,255,.78) 65%, transparent 69%);
  filter: drop-shadow(0 0 9px var(--electric-2)) drop-shadow(0 0 24px var(--electric-2));
  clip-path: polygon(45% 0, 70% 9%, 48% 19%, 74% 30%, 36% 41%, 67% 53%, 34% 64%, 60% 73%, 38% 86%, 55% 100%, 22% 100%, 35% 86%, 18% 74%, 44% 63%, 15% 53%, 49% 41%, 22% 31%, 50% 20%, 26% 10%);
}
.portal-ring {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  left: 50%;
  top: 43%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(167, 124, 79, .72);
  box-shadow: 0 0 38px rgba(81, 191, 255, .25), inset 0 0 38px rgba(81, 191, 255, .18);
  animation: pulse 5s ease-in-out infinite;
}
.ship-dot {
  position: absolute;
  width: 12px;
  height: 4px;
  left: 18%;
  top: 67%;
  border-radius: 999px;
  background: var(--electric);
  box-shadow: 0 0 18px var(--electric);
  animation: drift 9s linear infinite;
}
.star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink);
  opacity: .9;
}
.s1 { left: 17%; top: 22%; }
.s2 { left: 77%; top: 26%; }
.s3 { left: 62%; top: 74%; }
.s4 { left: 28%; top: 82%; }

.status-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.status-panel div {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px;
  background: rgba(0,0,0,.2);
}
.label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.status-panel strong {
  color: var(--bronze-2);
  font-size: 14px;
  letter-spacing: .08em;
}

.intro-band,
.split,
.signup {
  border-top: 1px solid var(--line);
  padding: 58px 0;
}

.intro-band {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 46px;
  align-items: end;
}
.intro-band p:last-child,
.copy-panel p,
.signup form,
.site-footer {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 8px 0 64px;
}
.card,
.panel,
.signup {
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--panel);
  backdrop-filter: blur(10px);
}
.card {
  padding: 24px;
  min-height: 230px;
}
.card-number {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--bronze-2);
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: .16em;
}
.card p {
  color: var(--muted);
  line-height: 1.5;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
}
.panel { padding: 34px; }
.list-panel {
  display: grid;
  gap: 12px;
}
.list-panel div {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(0,0,0,.18);
  color: var(--ink);
  font-weight: 700;
}
.list-panel span {
  color: var(--bronze-2);
  font-size: 12px;
  letter-spacing: .1em;
}

.signup {
  margin: 64px 0 0;
  padding: 38px;
}
.signup h2 { max-width: 760px; }
form { margin-top: 28px; max-width: 680px; }
label {
  display: block;
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 10px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 18px;
  background: rgba(0,0,0,.24);
  color: var(--ink);
  font: inherit;
}
input::placeholder { color: rgba(212, 194, 168, .65); }
.form-note { margin: 10px 0 0; font-size: 13px; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 44px;
  font-size: 14px;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(.92) rotate(0deg); opacity: .65; }
  50% { transform: translate(-50%, -50%) scale(1.08) rotate(22deg); opacity: 1; }
}
@keyframes drift {
  0% { transform: translateX(-40px); opacity: 0; }
  10%, 85% { opacity: 1; }
  100% { transform: translateX(330px); opacity: 0; }
}

@media (max-width: 920px) {
  .nav { display: none; }
  .hero,
  .intro-band,
  .split { grid-template-columns: 1fr; }
  .hero { padding-top: 42px; }
  .rift-card { max-width: 470px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 22px, 1180px); }
  .site-header { padding: 18px 0; }
  .hero { gap: 34px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .card-number { margin-bottom: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
  .signup { padding: 26px; }
  h1 { font-size: clamp(64px, 21vw, 112px); }
}
