:root {
  color-scheme: dark;
  --bg: #050711;
  --bg-2: #0b1020;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --glass: rgba(8, 13, 28, 0.78);
  --text: #f7f9ff;
  --muted: #aeb8d4;
  --subtle: #6f7b9d;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.26);
  --accent: #6ee7ff;
  --accent-2: #8b5cf6;
  --gold: #f6c76f;
  --good: #63e6a7;
  --warn: #f6c76f;
  --bad: #ff7285;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 12% 12%, rgba(111, 231, 255, 0.18), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(139, 92, 246, 0.22), transparent 32%),
    linear-gradient(135deg, var(--bg), var(--bg-2) 48%, #070914);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  margin: 0;
  min-height: 100%;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
  pointer-events: none;
  position: fixed;
}

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

main {
  margin: 0 auto;
  max-width: min(1920px, 100%);
  padding: clamp(16px, 2vw, 28px) clamp(16px, 2.5vw, 40px);
  position: relative;
  width: 100%;
  z-index: 1;
}

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

h1 {
  font-size: clamp(42px, 7vw, 96px);
  letter-spacing: -0.075em;
  line-height: 0.9;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 14px;
}

h3 {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

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

.topbar {
  align-items: center;
  background: rgba(5, 7, 17, 0.72);
  backdrop-filter: blur(22px);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 14px;
  position: sticky;
  top: 16px;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  padding-left: 6px;
}

.brand-mark {
  align-items: center;
  background:
    linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(110, 231, 255, 0.25);
  color: #04101d;
  display: inline-flex;
  font-weight: 950;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.brand span:last-child {
  display: grid;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav a,
.pill {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 14px;
  font-weight: 750;
  min-height: 42px;
  padding: 10px 15px;
  transition: 160ms ease;
}

.nav a.active,
.nav a:hover,
.pill.hot {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(110, 231, 255, 0.48);
  color: var(--text);
}

.studio-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)),
    radial-gradient(circle at 80% 18%, rgba(110, 231, 255, 0.22), transparent 34%),
    radial-gradient(circle at 86% 84%, rgba(139, 92, 246, 0.2), transparent 32%);
  border: 1px solid var(--line);
  border-radius: 40px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  margin-bottom: 22px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  position: relative;
}

.studio-hero::after {
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  content: "";
  height: 160%;
  position: absolute;
  right: 22%;
  top: -30%;
  transform: rotate(18deg);
  width: 1px;
}

.hero-copy,
.hero-panel,
.card,
.glass-card,
.soft-section {
  position: relative;
  z-index: 1;
}

.page-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.lead {
  color: #d4dcf3;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.55;
  max-width: min(960px, 100%);
}

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

.hero-panel {
  align-self: stretch;
  background: rgba(5, 8, 18, 0.58);
  border: 1px solid var(--line);
  border-radius: 32px;
  display: grid;
  gap: 16px;
  padding: 22px;
}

.orbital-preview {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(110, 231, 255, 0.4), transparent 16%),
    conic-gradient(from 180deg, rgba(110, 231, 255, 0.95), rgba(139, 92, 246, 0.85), rgba(246, 199, 111, 0.85), rgba(110, 231, 255, 0.95));
  border-radius: 32px;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.34), 0 24px 70px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  position: relative;
}

.orbital-preview::before,
.orbital-preview::after {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  content: "";
  inset: 16%;
  position: absolute;
  transform: rotate(-20deg);
}

.orbital-preview::after {
  inset: 30%;
  transform: rotate(28deg);
}

.status-board {
  display: grid;
  gap: 12px;
}

.status {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 14px;
  font-weight: 750;
  gap: 9px;
}

.dot {
  background: var(--warn);
  border-radius: 50%;
  box-shadow: 0 0 18px currentColor;
  height: 10px;
  width: 10px;
}

.dot.good {
  background: var(--good);
  color: var(--good);
}

.dot.bad {
  background: var(--bad);
  color: var(--bad);
}

.workflow-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 22px;
}

.stage-card,
.card,
.glass-card,
.soft-section {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  padding: 24px;
}

.stage-card {
  min-height: 190px;
}

.stage-number {
  align-items: center;
  background: linear-gradient(135deg, rgba(110, 231, 255, 0.18), rgba(139, 92, 246, 0.18));
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--accent);
  display: inline-flex;
  font-weight: 950;
  height: 44px;
  justify-content: center;
  margin-bottom: 18px;
  width: 44px;
}

.stage-card.active {
  background:
    linear-gradient(135deg, rgba(110, 231, 255, 0.16), rgba(139, 92, 246, 0.12)),
    var(--glass);
  border-color: rgba(110, 231, 255, 0.46);
}

.workspace {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.35fr);
}

.workspace.wide {
  grid-template-columns: minmax(0, 1fr);
}

.split,
.metric-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stack {
  display: grid;
  gap: 16px;
}

.command-panel {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.mini-stat {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
}

.mini-stat strong {
  color: var(--text);
  display: block;
  font-size: 32px;
  letter-spacing: -0.045em;
  margin-bottom: 4px;
}

label {
  color: #d4dcf3;
  display: block;
  font-size: 14px;
  font-weight: 850;
  margin-bottom: 8px;
}

input,
textarea,
select {
  background: #12182b;
  background-color: #12182b;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  color-scheme: dark;
  font: inherit;
  margin-bottom: 14px;
  min-height: 54px;
  outline: none;
  padding: 14px 16px;
  width: 100%;
}

input::placeholder,
textarea::placeholder {
  color: var(--subtle);
  opacity: 1;
}

/* Native dropdown menus often render a light OS panel; force readable option colors. */
select {
  -webkit-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px);
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  cursor: pointer;
  padding-right: 40px;
}

select option,
select optgroup {
  background: #12182b;
  background-color: #12182b;
  color: #f7f9ff;
}

select option:checked,
select option:hover,
select option:focus {
  background: #1c2642;
  background-color: #1c2642;
  color: #f7f9ff;
}

select:disabled,
input:disabled,
textarea:disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.72;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(110, 231, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(110, 231, 255, 0.12);
}

/* Autofill can force white backgrounds with light text on dark themes. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: #f7f9ff;
  caret-color: #f7f9ff;
  box-shadow: 0 0 0 1000px #12182b inset;
  transition: background-color 99999s ease-out;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input[type="file"] {
  background: #12182b;
  color: var(--text);
  cursor: pointer;
  padding: 12px 14px;
}

input[type="file"]::file-selector-button {
  background: rgba(110, 231, 255, 0.16);
  border: 1px solid rgba(110, 231, 255, 0.35);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  margin-right: 12px;
  padding: 8px 12px;
}

input[type="number"],
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="search"] {
  background-color: #12182b;
  color: var(--text);
}

button,
.button {
  align-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 0;
  border-radius: 18px;
  color: #04101d;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 54px;
  padding: 14px 20px;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

button:hover,
.button:hover {
  box-shadow: 0 18px 45px rgba(110, 231, 255, 0.18);
  transform: translateY(-1px);
}

button.secondary,
.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--text);
}

button.danger {
  background: rgba(255, 114, 133, 0.16);
  border: 1px solid rgba(255, 114, 133, 0.38);
  color: #ffd8de;
}

button:disabled,
.button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

button:disabled:hover,
.button:disabled:hover {
  box-shadow: none;
  transform: none;
}

.helper {
  color: var(--subtle);
  font-size: 13px;
  margin: -6px 0 12px;
}

.field-group {
  margin-bottom: 4px;
}

.notice,
.success-box {
  border-radius: 20px;
  line-height: 1.55;
  padding: 16px;
}

.notice {
  background: rgba(246, 199, 111, 0.12);
  border: 1px solid rgba(246, 199, 111, 0.34);
  color: #ffe6af;
}

.success-box {
  background: rgba(99, 230, 167, 0.12);
  border: 1px solid rgba(99, 230, 167, 0.34);
  color: #cdfbe1;
}

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

.good {
  color: var(--good);
}

.warn {
  color: var(--warn);
}

.list {
  display: grid;
  gap: 12px;
}

.list button,
.list-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--text);
  padding: 16px;
  text-align: left;
}

.preview-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  margin-top: 18px;
}

.preview-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.preview-card img {
  aspect-ratio: 1;
  background: #02040a;
  display: block;
  object-fit: cover;
  width: 100%;
}

.preview-card div {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  padding: 10px;
}

.studio-footer,
.page-footer {
  color: var(--subtle);
  font-size: 14px;
  margin-top: 28px;
  text-align: center;
}

pre {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
  border-radius: 20px;
  color: #c9d4f2;
  max-height: 340px;
  min-height: 150px;
  overflow: auto;
  padding: 16px;
  white-space: pre-wrap;
}

.friendly-output {
  font-size: 13px;
}

.toast {
  background: rgba(5, 8, 18, 0.9);
  border: 1px solid rgba(110, 231, 255, 0.45);
  border-radius: 18px;
  box-shadow: var(--shadow);
  color: var(--text);
  font-weight: 900;
  left: 50%;
  max-width: min(620px, calc(100% - 32px));
  padding: 15px 18px;
  position: fixed;
  top: 20px;
  transform: translateX(-50%);
  z-index: 100;
}

.toast.good {
  border-color: rgba(99, 230, 167, 0.48);
}

.toast.bad {
  border-color: rgba(255, 114, 133, 0.56);
  color: #ffd8de;
}

.auth-page main.auth-shell {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 20px 64px;
  display: grid;
  gap: 18px;
}

.auth-brand {
  justify-self: start;
}

.auth-card {
  padding: 28px;
  border-radius: 28px;
}

.auth-card h1 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  margin: 0;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.auth-tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.auth-tab.active {
  background: linear-gradient(135deg, rgba(110, 231, 255, 0.22), rgba(139, 92, 246, 0.28));
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.auth-panel {
  gap: 12px;
}

.auth-feedback {
  margin: 0;
}

.auth-security {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.auth-footer {
  text-align: center;
}

.auth-footer a {
  color: var(--muted);
  text-decoration: none;
}

.auth-footer a:hover {
  color: var(--accent);
}

.pricing-hero {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
  padding: 36px 32px;
  text-align: center;
}

.pricing-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  margin: 10px auto 12px;
  max-width: 20ch;
}

.pricing-hero .lead {
  margin: 0 auto 22px;
  max-width: min(68ch, 100%);
}

.pricing-hero .hero-actions {
  justify-content: center;
}

.pricing-current {
  margin: 18px auto 0;
  max-width: 420px;
}

.pricing-section {
  margin-bottom: 22px;
}

.pricing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  display: grid;
  gap: 14px;
  padding: 28px 24px;
  position: relative;
}

.plan-card.is-featured {
  background:
    linear-gradient(160deg, rgba(110, 231, 255, 0.14), rgba(139, 92, 246, 0.12)),
    var(--glass);
  border-color: rgba(110, 231, 255, 0.5);
  transform: translateY(-4px);
}

.plan-card .plan-badge {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-card h2 {
  margin: 0;
}

.plan-price {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.plan-price span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.plan-features {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-features li {
  color: var(--text);
  padding-left: 1.25rem;
  position: relative;
}

.plan-features li.is-missing {
  color: var(--muted);
  opacity: 0.72;
}

.plan-features li::before {
  left: 0;
  position: absolute;
}

.plan-features li.is-included::before {
  color: var(--good);
  content: "✓";
}

.plan-features li.is-missing::before {
  color: var(--muted);
  content: "–";
}

.plan-card .row {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.pricing-note {
  margin: 16px 2px 0;
  text-align: center;
}

.pricing-secondary {
  margin-bottom: 18px;
}

.pricing-secondary summary {
  cursor: pointer;
  display: grid;
  gap: 4px;
  list-style: none;
}

.pricing-secondary summary::-webkit-details-marker {
  display: none;
}

.crypto-panel {
  margin-top: 16px;
}

.page-hero {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.7fr);
  margin-bottom: 22px;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.85rem);
  letter-spacing: -0.03em;
  margin: 8px 0 10px;
  max-width: 22ch;
}

.page-hero .lead {
  margin: 0;
  max-width: min(72ch, 100%);
}

.page-hero .hero-actions {
  margin-top: 18px;
}

.status-panel {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.vault-count {
  align-items: baseline;
  display: flex;
  gap: 10px;
}

.vault-count strong {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.launch-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  margin-bottom: 18px;
}

.launch-page .page-hero {
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.75fr);
}

.launch-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.launch-rail-item {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  padding: 8px 14px;
}

.launch-rail-item span {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  display: inline-flex;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.launch-rail-item.is-active {
  border-color: rgba(110, 231, 255, 0.5);
  color: var(--text);
}

.launch-rail-item.is-done {
  border-color: rgba(99, 230, 167, 0.45);
  color: var(--good);
}

.launch-rail-item.is-done span,
.launch-rail-item.is-active span {
  background: rgba(110, 231, 255, 0.16);
  color: var(--accent);
}

.launch-rail-item.is-done span {
  background: rgba(99, 230, 167, 0.16);
  color: var(--good);
}

.collection-picker {
  display: grid;
  gap: 10px;
  max-height: 420px;
  overflow: auto;
}

.collection-picker .collection-option {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  cursor: pointer;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  text-align: left;
}

.collection-picker .collection-option:hover {
  border-color: var(--line-strong);
}

.collection-picker .collection-option.is-selected {
  background: linear-gradient(160deg, rgba(110, 231, 255, 0.14), rgba(139, 92, 246, 0.12));
  border-color: rgba(110, 231, 255, 0.5);
}

.collection-picker .collection-option strong {
  font-size: 15px;
}

.collection-picker .collection-option span {
  color: var(--muted);
  font-size: 13px;
}

.collection-history {
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  gap: 12px;
  margin-top: 8px;
  padding: 12px 14px;
}

.collection-history summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  list-style: none;
}

.collection-history summary::-webkit-details-marker {
  display: none;
}

.collection-history-list {
  max-height: 240px;
}

.collection-history .button {
  justify-self: start;
}

.launch-steps {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.launch-step {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  display: grid;
  gap: 14px;
  padding: 24px;
}

.launch-step.is-done {
  border-color: rgba(99, 230, 167, 0.35);
}

.launch-step.is-active {
  border-color: rgba(110, 231, 255, 0.45);
  box-shadow: 0 24px 70px rgba(110, 231, 255, 0.08);
}

.launch-step.is-locked {
  opacity: 0.68;
}

.launch-step-head {
  align-items: flex-start;
  display: flex;
  gap: 14px;
}

.launch-step-copy {
  flex: 1;
  min-width: 0;
}

.launch-step-title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 4px;
}

.launch-step-num {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.launch-step.is-done .launch-step-num {
  background: rgba(99, 230, 167, 0.16);
  border-color: rgba(99, 230, 167, 0.4);
  color: var(--good);
}

.launch-step h2 {
  margin: 0;
}

.step-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  text-transform: uppercase;
}

.step-badge.is-done {
  background: rgba(99, 230, 167, 0.14);
  border-color: rgba(99, 230, 167, 0.35);
  color: var(--good);
}

.step-badge.is-active {
  background: rgba(110, 231, 255, 0.14);
  border-color: rgba(110, 231, 255, 0.35);
  color: var(--accent);
}

.step-badge.is-locked {
  opacity: 0.8;
}

.mint-progress {
  display: grid;
  gap: 8px;
}

.mint-progress-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.mint-progress-fill {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  height: 100%;
  transition: width 200ms ease;
  width: 0%;
}

.mono-line {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}

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

.launch-advanced summary {
  cursor: pointer;
  display: grid;
  gap: 4px;
  list-style: none;
}

.launch-advanced summary::-webkit-details-marker {
  display: none;
}

.vault-section {
  margin-bottom: 18px;
}

.vault-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.vault-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  display: grid;
  overflow: hidden;
}

.vault-card img {
  aspect-ratio: 1;
  background: #02040a;
  display: block;
  object-fit: cover;
  width: 100%;
}

.vault-card-body {
  display: grid;
  gap: 8px;
  padding: 14px 16px 16px;
}

.vault-card-body strong {
  font-size: 15px;
}

.vault-card-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.vault-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
}

.vault-card-links a {
  color: var(--accent);
}

.vault-empty {
  background: var(--glass);
  border: 1px dashed var(--line);
  border-radius: 28px;
  grid-column: 1 / -1;
  padding: 36px 24px;
  text-align: center;
}

.vault-empty .hero-actions {
  justify-content: center;
  margin-top: 16px;
}

.gen-preview-head {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.gen-preview-grid {
  margin-top: 4px;
}

.gen-preview-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.gen-preview-card img {
  aspect-ratio: 1;
  background: #02040a;
  display: block;
  object-fit: cover;
  width: 100%;
}

.gen-preview-card .vault-card-body {
  padding: 12px 14px 14px;
}

.lab-matrix {
  display: grid;
  gap: 16px;
}

.lab-layer-card {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--line);
  border-radius: 22px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.lab-layer-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.lab-layer-head h3 {
  margin: 0;
}

.lab-layer-meta {
  color: var(--muted);
  font-size: 13px;
}

.lab-layer-order {
  align-items: center;
  display: flex;
  gap: 8px;
}

.lab-layer-order input {
  max-width: 88px;
  min-height: 42px;
}

.lab-trait-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.lab-trait-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  gap: 8px;
  overflow: hidden;
  padding: 10px;
}

.lab-trait-card img {
  aspect-ratio: 1;
  background: #02040a;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  width: 100%;
}

.lab-trait-card label {
  font-size: 12px;
  margin: 0;
}

.lab-trait-card input {
  min-height: 40px;
  padding: 8px 10px;
}

.lab-trait-odds {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.lab-controls .command-panel {
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
}

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

  .plan-card.is-featured {
    transform: none;
  }

  .page-hero,
  .launch-layout {
    grid-template-columns: 1fr;
  }

  .gen-preview-head {
    align-items: start;
    flex-direction: column;
  }
}

.auth-form-layout {
  grid-template-columns: minmax(320px, 480px) minmax(0, 1fr);
}

.auth-form-card {
  align-self: start;
}

.auth-switch {
  color: var(--muted);
  font-size: 15px;
  margin-top: 8px;
}

.auth-switch a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1080px) {
  main {
    padding: 16px;
  }

  .studio-hero,
  .workspace,
  .workflow-strip,
  .auth-portal-grid,
  .auth-form-layout,
  .split,
  .metric-grid,
  .metric-grid.three,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

.compact-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
}

.admin-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: 220px minmax(0, 1fr);
}

.admin-sidebar {
  align-self: start;
  position: sticky;
  top: 16px;
}

.admin-tab {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  padding: 0.65rem 1rem;
  text-align: left;
}

.admin-tab.active,
.admin-tab:hover {
  background: rgba(110, 231, 255, 0.12);
  border-color: rgba(110, 231, 255, 0.35);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  border-collapse: collapse;
  font-size: 0.92rem;
  width: 100%;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
