:root {
  color-scheme: dark;
  --bg: #080910;
  --bg-2: #0d1018;
  --surface: #121622;
  --surface-2: #171c2a;
  --surface-3: #202638;
  --line: #30384f;
  --text: #f3f5ff;
  --muted: #aab3cc;
  --dim: #778199;
  --cyan: #29d8ff;
  --pink: #ff4fd8;
  --violet: #9184ff;
  --green: #5bf0b6;
  --amber: #ffc15a;
  --red: #ff6f8d;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 0%, rgba(41, 216, 255, 0.14), transparent 28%),
    radial-gradient(circle at 10% 7%, rgba(255, 79, 216, 0.12), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  padding: 0.12rem 0.38rem;
  font-size: 0.92em;
}
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 34px 0 88px; }
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 16%, rgba(41,216,255,.18), transparent 24%),
    radial-gradient(circle at 16% 22%, rgba(255,79,216,.14), transparent 28%);
  pointer-events: none;
}
.hero > * { position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(41,216,255,0.34);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(41,216,255,0.08);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 14px; }
h1 { max-width: 920px; font-size: clamp(2.35rem, 6vw, 5rem); letter-spacing: -0.065em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); letter-spacing: -0.035em; }
h3 { font-size: 1.18rem; color: #fff; }
p { margin: 0 0 14px; color: var(--muted); }
.lead { max-width: 890px; font-size: clamp(1.05rem, 2vw, 1.28rem); color: #d8def2; }
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 28px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  background: rgba(9, 11, 17, 0.82);
  backdrop-filter: blur(16px);
}
.nav a {
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 999px;
  color: #dce8ff;
  background: rgba(255,255,255,0.035);
  font-size: 0.88rem;
}
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 18px; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }
.panel, .card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.022));
  box-shadow: 0 10px 34px rgba(0,0,0,0.18);
}
.panel { margin-top: 18px; padding: clamp(22px, 3.5vw, 34px); }
.card { padding: 22px; }
.kicker { color: var(--green); font-weight: 760; letter-spacing: 0.09em; text-transform: uppercase; font-size: 0.76rem; }
.quote {
  border-left: 3px solid var(--cyan);
  padding: 12px 16px;
  border-radius: 0 12px 12px 0;
  background: rgba(41,216,255,0.07);
  color: #edf8ff;
}
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.09);
  color: #edf3ff;
  background: rgba(255,255,255,0.055);
  font-size: 0.88rem;
}
.pill.cyan { border-color: rgba(41,216,255,.32); color: var(--cyan); }
.pill.pink { border-color: rgba(255,79,216,.32); color: var(--pink); }
.pill.green { border-color: rgba(91,240,182,.32); color: var(--green); }
.pill.amber { border-color: rgba(255,193,90,.34); color: var(--amber); }
.pill.red { border-color: rgba(255,111,141,.34); color: var(--red); }
.pill.muted { border-color: rgba(170,179,204,.18); color: var(--dim); }
button.pill { cursor: pointer; font: inherit; }
button.pill:hover { text-decoration: underline; }
button[disabled], input[disabled], textarea[disabled] { cursor: not-allowed; opacity: 0.58; }
ul, ol { color: var(--muted); padding-left: 1.2rem; margin: 10px 0 0; }
li { margin: 6px 0; }
table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: var(--radius-sm); margin-top: 14px; }
th, td { padding: 13px 14px; border-bottom: 1px solid rgba(255,255,255,0.08); text-align: left; vertical-align: top; }
th { color: #fff; background: rgba(255,255,255,0.075); font-size: 0.88rem; letter-spacing: 0.04em; text-transform: uppercase; }
td { color: var(--muted); background: rgba(255,255,255,0.022); }
tr:last-child td { border-bottom: 0; }
.status { font-weight: 780; }
.status.locked { color: var(--green); }
.status.open { color: var(--amber); }
.status.later { color: var(--violet); }
.status.risk { color: var(--red); }
.callout {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255,193,90,0.22);
  border-radius: var(--radius-sm);
  color: #ffe9bf;
  background: rgba(255,193,90,0.08);
}
.callout strong { color: #fff4d7; }
.callout.warning {
  border-color: rgba(255,111,141,0.28);
  color: #ffd5df;
  background: rgba(255,111,141,0.08);
}
.placeholder-frame {
  display: grid;
  min-height: 320px;
  margin: 20px 0;
  padding: clamp(22px, 5vw, 42px);
  place-items: center;
  border: 1px solid rgba(41,216,255,0.22);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(41,216,255,0.13), rgba(255,79,216,0.09)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.035), rgba(255,255,255,0.035) 1px, transparent 1px, transparent 18px);
  box-shadow: inset 0 0 80px rgba(0,0,0,0.22);
  text-align: center;
}
.placeholder-frame.video { border-color: rgba(255,79,216,0.24); }
.placeholder-frame.image { border-color: rgba(41,216,255,0.24); }
.media-viewer {
  width: min(100%, 840px);
  margin: 22px auto 0;
}
.media-viewer__image,
.media-viewer__video {
  display: block;
  width: 100%;
  max-height: min(72vh, 720px);
  object-fit: contain;
  background: rgba(0,0,0,0.38);
}
.protected-preview {
  display: block;
  width: min(100%, 760px);
  margin: 22px auto 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}
.media-viewer .protected-preview {
  width: 100%;
  margin-top: 0;
}
.asset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}
label { display: block; margin: 14px 0; color: var(--muted); }
input, select {
  width: min(100%, 520px);
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255,255,255,0.055);
}
textarea {
  display: block;
  width: min(100%, 720px);
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255,255,255,0.055);
  font: inherit;
  resize: vertical;
}
input[type="checkbox"], input[type="hidden"], input[type="radio"] { width: auto; margin-top: 0; }
.checkbox-line { display: flex; align-items: baseline; gap: 8px; }
.option-list { display: grid; gap: 12px; margin-top: 16px; }
.option-vote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
}
.meter {
  overflow: hidden;
  height: 12px;
  margin: 14px 0 8px;
  border: 1px solid rgba(41,216,255,0.22);
  border-radius: 999px;
  background: rgba(255,255,255,0.055);
}
.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
}
.reaction-panel {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.reaction-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.reaction-actions form { margin: 0; }
.footer { margin-top: 42px; color: var(--dim); font-size: 0.9rem; }
.small { color: var(--dim); font-size: 0.92rem; }
hr { border: 0; border-top: 1px solid rgba(255,255,255,0.08); margin: 26px 0; }

.app-shell { position: relative; }
.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background: rgba(9, 11, 17, 0.74);
  box-shadow: 0 12px 42px rgba(0,0,0,0.22);
  backdrop-filter: blur(16px);
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.brand-lockup:hover { text-decoration: none; }
.brand-lockup small {
  display: block;
  margin-top: -2px;
  color: var(--dim);
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.brand-sigil {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(41,216,255,0.32);
  border-radius: 15px;
  color: #effcff;
  background:
    radial-gradient(circle at 28% 22%, rgba(41,216,255,0.36), transparent 32%),
    linear-gradient(135deg, rgba(41,216,255,0.18), rgba(255,79,216,0.16));
  box-shadow: 0 0 34px rgba(41,216,255,0.14);
  font-weight: 850;
}
.topline-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.hero--landing {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(280px, 0.76fr);
  gap: clamp(22px, 5vw, 54px);
  align-items: center;
  min-height: 560px;
}
.hero--compact { padding-block: clamp(24px, 4vw, 42px); }
.hero-copy { max-width: 780px; }
.hero-visual { position: relative; min-height: 420px; }
.glass-orbit {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 42%, rgba(41,216,255,0.18), transparent 28%),
    radial-gradient(circle at 70% 70%, rgba(255,79,216,0.16), transparent 28%),
    rgba(255,255,255,0.035);
  box-shadow: inset 0 0 90px rgba(0,0,0,0.26), 0 28px 80px rgba(0,0,0,0.28);
  overflow: hidden;
}
.orbit-ring {
  position: absolute;
  inset: 64px;
  border: 1px solid rgba(41,216,255,0.18);
  border-radius: 999px;
  transform: rotate(-18deg) skewX(-8deg);
  box-shadow: 0 0 42px rgba(41,216,255,0.07);
}
.orbital-card {
  position: absolute;
  width: min(78%, 270px);
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 18px;
  background: rgba(11,14,23,0.82);
  box-shadow: 0 18px 52px rgba(0,0,0,0.3);
  backdrop-filter: blur(14px);
}
.orbital-card strong { display: block; margin: 6px 0 4px; color: #fff; font-size: 1.2rem; }
.orbital-card small { color: var(--muted); }
.orbital-card.primary { top: 38px; left: 28px; }
.orbital-card.secondary { top: 166px; right: 22px; }
.orbital-card.tertiary { bottom: 36px; left: 44px; }
.status-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.status-strip div {
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
}
.status-strip strong {
  display: block;
  color: #fff;
  font-size: clamp(1.06rem, 2vw, 1.26rem);
  line-height: 1.1;
}
.status-strip span {
  display: block;
  margin-top: 4px;
  color: var(--dim);
  font-size: 0.86rem;
}
.status-strip.compact { grid-template-columns: repeat(3, 1fr); margin: 18px 0; }
.feature-grid { margin-top: 18px; }
.feature-card h2 { font-size: clamp(1.25rem, 2.1vw, 1.65rem); }
.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
  gap: 24px;
  align-items: start;
}
.check-list {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  margin: 0;
  padding: 12px 14px 12px 42px;
  border: 1px solid rgba(91,240,182,0.13);
  border-radius: 14px;
  background: rgba(91,240,182,0.045);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 11px;
  color: var(--green);
  font-weight: 900;
}
.content-panel { overflow: hidden; }
.join-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: start;
}
.join-copy h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.privacy-stack { display: grid; gap: 10px; margin-top: 18px; }
.privacy-stack div {
  padding: 14px 16px;
  border: 1px solid rgba(41,216,255,0.14);
  border-radius: 14px;
  background: rgba(41,216,255,0.045);
}
.privacy-stack strong { display: block; color: #fff; }
.privacy-stack span { display: block; color: var(--muted); font-size: 0.92rem; }
.form-card {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,79,216,0.11), transparent 32%),
    rgba(255,255,255,0.035);
  box-shadow: 0 20px 56px rgba(0,0,0,0.24);
}
.library-shell { position: relative; }
.library-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.showcase-section {
  margin: 22px 0 26px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 0%, rgba(41,216,255,0.12), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(255,79,216,0.12), transparent 26%),
    rgba(255,255,255,0.025);
}
.showcase-grid { align-items: stretch; }
.showcase-panel {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-color: rgba(41,216,255,0.14);
}
.showcase-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--pink));
}
.showcase-panel__rank {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(91,240,182,0.26);
  border-radius: 999px;
  color: var(--green);
  background: rgba(91,240,182,0.07);
  font-size: 0.82rem;
  font-weight: 850;
}
.catalog-grid { align-items: stretch; }
.catalog-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}
.catalog-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--pink), transparent);
  opacity: 0.78;
}
.catalog-card__media {
  display: grid;
  min-height: 148px;
  margin: -2px -2px 18px;
  place-items: center;
  border: 1px solid rgba(41,216,255,0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 32% 18%, rgba(41,216,255,0.22), transparent 30%),
    radial-gradient(circle at 78% 78%, rgba(255,79,216,0.16), transparent 32%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.035) 1px, transparent 1px, transparent 18px);
}
.catalog-card__media span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: #fff;
  background: rgba(0,0,0,0.28);
  font-size: 1.35rem;
  font-weight: 850;
}
.catalog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 12px 0 16px;
  color: var(--dim);
  font-size: 0.9rem;
}
.pill, .nav a, input, textarea, .card, .panel { transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease; }
.pill:hover { transform: translateY(-1px); border-color: rgba(41,216,255,0.3); text-decoration: none; }
.card:hover { border-color: rgba(41,216,255,0.16); }
input:focus, textarea:focus {
  outline: none;
  border-color: rgba(41,216,255,0.5);
  box-shadow: 0 0 0 4px rgba(41,216,255,0.09);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media (max-width: 860px) {
  .wrap { width: min(100% - 24px, var(--max)); padding-top: 18px; }
  .nav { position: static; }
  .topline, .library-toolbar { align-items: stretch; flex-direction: column; }
  .topline-actions { justify-content: flex-start; }
  .hero--landing, .join-shell, .split-panel { grid-template-columns: 1fr; }
  .hero--landing { min-height: 0; }
  .hero-visual, .glass-orbit { min-height: 340px; }
  .orbital-card { width: min(86%, 280px); }
  .status-strip, .status-strip.compact { grid-template-columns: 1fr; }
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-12 { grid-column: span 12; }
  th, td { display: block; width: 100%; }
  th { display: none; }
  td { border-bottom: 1px solid rgba(255,255,255,0.08); }
}
