:root {
  --bg: #060608;
  --bg-2: #0b0b10;
  --panel: rgba(16,16,24,0.88);
  --panel-2: rgba(22,22,32,0.96);
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);
  --text: #f5f6fb;
  --muted: #929ab4;
  --red: #e8001e;
  --red-2: #ff3d55;
  --red-3: #ff7083;
  --glow: rgba(232,0,30,0.22);
  --glow-2: rgba(255,61,85,0.4);
  --shadow: 0 34px 90px rgba(0,0,0,0.52);
  --ft-app-height: 100svh;
  --ft-app-width: 100vw;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  width: 100%;
  height: var(--ft-app-height, 100svh);
  min-height: var(--ft-app-height, 100svh);
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  overflow: hidden;
  overscroll-behavior: none;
  background:
    radial-gradient(circle at 12% 12%, rgba(255,61,85,0.18), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(232,0,30,0.18), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 54%, #09090d 100%);
}

body {
  position: fixed;
  inset: 0;
}

button,
a {
  touch-action: manipulation;
  -webkit-user-drag: none;
}

body * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.03), transparent 34%),
    radial-gradient(circle at center, rgba(255,255,255,0.02), transparent 58%);
  pointer-events: none;
}

main {
  width: 100%;
  height: var(--ft-app-height, 100svh);
  min-height: var(--ft-app-height, 100svh);
  display: grid;
  place-items: center;
  padding:
    calc(18px + env(safe-area-inset-top, 0px))
    calc(18px + env(safe-area-inset-right, 0px))
    calc(18px + env(safe-area-inset-bottom, 0px))
    calc(18px + env(safe-area-inset-left, 0px));
  overflow: hidden;
}

.hub {
  width: min(100%, 1120px);
  height: 100%;
  display: flex;
  align-items: stretch;
}

.frame {
  width: 100%;
  height: 100%;
  max-height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 0;
  justify-content: center;
}

.frame::before {
  content: none;
}

.frame::after {
  content: none;
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

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

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
  box-shadow: 0 0 32px var(--glow);
}

.brand-mark-mark {
  font: 700 18px/1 "Courier New", monospace;
  letter-spacing: 2px;
  color: var(--text);
  text-shadow: 0 0 18px var(--glow-2);
}

.brand-title {
  font: 700 28px/1 "Courier New", monospace;
  letter-spacing: 4px;
}

.brand-sub {
  margin-top: 6px;
  color: var(--muted);
  font: 600 10px/1 "Courier New", monospace;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.status {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font: 600 10px/1 "Courier New", monospace;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red-3), var(--red));
  box-shadow: 0 0 16px var(--glow-2);
}

.deck {
  position: relative;
  z-index: 1;
  flex: none;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 780px);
  gap: 16px;
  align-items: stretch;
  justify-content: center;
  overflow: visible;
  padding-right: 4px;
}

.deck[data-stage="access"] {
  grid-template-columns: minmax(0, 360px);
}

.deck::-webkit-scrollbar {
  width: 6px;
}

.deck::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.intro-card,
.launch-panel {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
    var(--panel-2);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02), 0 0 32px rgba(232,0,30,0.08);
}

.intro-card[hidden],
.launch-panel[hidden] {
  display: none !important;
}

.intro-card::before,
.launch-panel::before {
  content: "";
  position: absolute;
  inset: auto auto -70px -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,61,85,0.18), transparent 68%);
  pointer-events: none;
}

.intro-card {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.intro-kicker,
.launch-panel-kicker {
  color: var(--red-3);
  font: 700 11px/1 "Courier New", monospace;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.intro-title {
  margin: 0;
  max-width: none;
  font: 700 clamp(22px, 2.6vw, 32px)/1.08 "Courier New", monospace;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(255, 61, 85, 0.16);
}

.intro-copy {
  margin: 0;
  max-width: 78ch;
  color: rgba(245, 246, 251, 0.88);
  font: 400 13px/1.62 "Segoe UI", sans-serif;
}

.intro-more {
  display: grid;
  gap: 10px;
}

.intro-more[hidden] {
  display: none !important;
}

.intro-copy-extra {
  margin-top: -2px;
}

.intro-more-toggle {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--red-3);
  font: 700 12px/1 "Courier New", monospace;
  letter-spacing: 1px;
  cursor: pointer;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(255, 61, 85, 0.22);
}

.intro-more-toggle:hover {
  color: #ff95a4;
}

.intro-divider {
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--red-3));
  box-shadow: 0 0 20px var(--glow-2);
}

.intro-guarantee-title {
  color: var(--text);
  font: 700 12px/1.2 "Courier New", monospace;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.intro-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.intro-point {
  position: relative;
  padding: 12px 14px 12px 38px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.025);
  color: var(--text);
  font: 600 12.5px/1.4 "Segoe UI", sans-serif;
}

.intro-point:last-child {
  grid-column: 1 / -1;
}

.intro-point::before {
  content: "+";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red-3);
  font: 700 16px/1 "Courier New", monospace;
  text-shadow: 0 0 14px var(--glow-2);
}

.intro-next-btn {
  align-self: flex-start;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 112, 131, 0.34);
  background: linear-gradient(135deg, rgba(255, 61, 85, 0.18), rgba(232, 0, 30, 0.32));
  color: var(--text);
  font: 700 12px/1 "Courier New", monospace;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(232, 0, 30, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.intro-next-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 112, 131, 0.52);
  box-shadow: 0 0 26px rgba(232, 0, 30, 0.18);
}

.launch-panel {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.launch-panel-title {
  font: 700 20px/1.05 "Courier New", monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.launch-panel-copy {
  color: var(--muted);
  font: 400 12px/1.45 "Segoe UI", sans-serif;
}

.launch-back-btn {
  align-self: flex-start;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 112, 131, 0.34);
  background: linear-gradient(135deg, rgba(255, 61, 85, 0.18), rgba(232, 0, 30, 0.32));
  color: var(--text);
  font: 700 12px/1 "Courier New", monospace;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(232, 0, 30, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.launch-back-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 112, 131, 0.34);
  box-shadow: 0 0 26px rgba(232, 0, 30, 0.18);
}

.launch {
  display: grid;
  width: 100%;
  gap: 12px;
  margin-top: 4px;
}

.launch-card {
  position: relative;
  overflow: hidden;
  min-height: 156px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
    var(--panel-2);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.launch-card > div:first-child {
  position: relative;
  z-index: 1;
}

.launch-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 0 32px var(--glow);
}

.launch-card::before {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,61,85,0.2), transparent 70%);
  pointer-events: none;
}

.launch-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.launch-index {
  color: var(--muted);
  font: 700 10px/1 "Courier New", monospace;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.launch-label {
  margin-top: 10px;
  font: 700 22px/1 "Courier New", monospace;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.launch-line {
  width: 54px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--red-3));
  box-shadow: 0 0 20px var(--glow-2);
}

.launch-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font: 600 11px/1 "Courier New", monospace;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.launch-action svg {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .deck {
    grid-template-columns: 1fr;
  }

  .deck[data-stage="access"] {
    grid-template-columns: 1fr;
  }

  .launch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

@media (max-width: 640px) {
  main {
    padding:
      calc(14px + env(safe-area-inset-top, 0px))
      calc(14px + env(safe-area-inset-right, 0px))
      calc(14px + env(safe-area-inset-bottom, 0px))
      calc(14px + env(safe-area-inset-left, 0px));
  }

  .frame {
    padding: 0;
    border-radius: 0;
  }

  .topbar {
    justify-content: center;
  }

  .status {
    display: none;
  }

  .brand {
    text-align: center;
    flex-direction: column;
  }

  .brand-title {
    font-size: 25px;
    letter-spacing: 4px;
  }

  .deck {
    gap: 14px;
    padding-right: 0;
  }

  .intro-card,
  .launch-panel {
    border-radius: 24px;
  }

  .intro-card {
    padding: 20px 18px;
    gap: 14px;
  }

  .intro-title {
    max-width: none;
    font-size: 22px;
    letter-spacing: 1px;
  }

  .intro-copy {
    font-size: 13px;
    line-height: 1.7;
  }

  .intro-more-toggle {
    font-size: 11px;
  }

  .intro-next-btn {
    min-height: 38px;
    padding: 0 16px;
    font-size: 11px;
    letter-spacing: 1.1px;
  }

  .intro-guarantee-title {
    font-size: 12px;
  }

  .intro-point {
    padding: 13px 14px 13px 38px;
    font-size: 13px;
  }

  .intro-points {
    grid-template-columns: 1fr;
  }

  .intro-point:last-child {
    grid-column: auto;
  }

  .intro-point::before {
    left: 14px;
  }

  .launch-panel {
    padding: 18px;
  }

  .launch {
    grid-template-columns: 1fr;
  }

  .launch-card {
    min-height: 118px;
    padding: 16px 18px;
    border-radius: 24px;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .launch-card > div:first-child {
    flex: 1;
  }

  .launch-top {
    margin-bottom: 8px;
  }

  .launch-label {
    margin-top: 0;
    font-size: 22px;
    letter-spacing: 1px;
  }

  .launch-line {
    width: 54px;
    margin-top: 12px;
  }

  .launch-action {
    margin-top: 0;
    font-size: 11px;
    letter-spacing: 1.1px;
  }
}

@media (max-width: 420px) {
  main {
    padding:
      calc(12px + env(safe-area-inset-top, 0px))
      calc(12px + env(safe-area-inset-right, 0px))
      calc(12px + env(safe-area-inset-bottom, 0px))
      calc(12px + env(safe-area-inset-left, 0px));
  }

  .frame {
    padding: 0;
  }

  .deck {
    gap: 12px;
  }

  .intro-card,
  .launch-panel {
    border-radius: 22px;
  }

  .launch-card {
    min-height: 108px;
    padding: 14px 16px;
    gap: 12px;
  }

  .launch-label {
    font-size: 20px;
  }

  .launch-action {
    font-size: 10px;
  }
}

@media (pointer: coarse) and (max-width: 820px) {
  html,
  body {
    height: auto;
    min-height: var(--ft-app-height, 100svh);
  }

  body {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
  }

  main {
    display: block;
    height: auto;
    min-height: var(--ft-app-height, 100svh);
    overflow: visible;
    padding:
      12px
      calc(12px + env(safe-area-inset-right, 0px))
      8px
      calc(12px + env(safe-area-inset-left, 0px));
  }

  .hub {
    height: auto;
    min-height: 100%;
    align-items: stretch;
  }

  .frame {
    min-height: 100%;
    height: auto;
    max-height: none;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: visible;
  }

  .topbar {
    margin-top: calc(env(safe-area-inset-top, 0px) + 16px);
  }

  .deck {
    flex: none;
    min-height: auto;
    grid-template-columns: 1fr;
    align-content: start;
    padding-right: 0;
    overflow: visible;
  }
}

@media (pointer: coarse) and (max-width: 420px) {
  main {
    padding:
      8px
      calc(10px + env(safe-area-inset-right, 0px))
      6px
      calc(10px + env(safe-area-inset-left, 0px));
  }

  .frame {
    padding: 0;
  }

  .topbar {
    margin-top: calc(env(safe-area-inset-top, 0px) + 10px);
  }
}
