/* Vionex site — one stylesheet for the landing page and the legal documents.
   Palette and type mirror the app's design tokens (Veloria, dark-only). */

:root {
  --canvas: #120609;
  --surface: #1b0c11;
  --surface2: #251218;
  --line: rgba(255, 228, 234, 0.09);
  --line2: rgba(255, 228, 234, 0.16);
  --text1: #fbeef1;
  --text2: #c9a9b3;
  --text3: #8f6f7a;
  --accent: #e0245e;
  --neon: #ff2e88;
  --gold: #f5b942;
  --shell: 1080px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--canvas);
  color: var(--text1);
  font-family:
    'Manrope',
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--text1);
  text-decoration: none;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: 24px;
}

/* ---------- header ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 6, 9, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar .shell {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand svg {
  width: 30px;
  height: 30px;
}

.brand span {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.4px;
}

.topnav {
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
}

.topnav a {
  color: var(--text2);
  transition: color 0.15s;
}

.topnav a:hover {
  color: var(--text1);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 0.15s,
    opacity 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon), var(--accent));
  color: #fff;
  box-shadow: 0 10px 28px rgba(224, 36, 94, 0.32);
}

.btn-ghost {
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text1);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 84px 0 72px;
  background: radial-gradient(90% 70% at 50% -10%, #3a1a24 0%, var(--canvas) 62%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text2);
  background: rgba(255, 255, 255, 0.04);
}

h1 {
  margin: 20px 0 18px;
  font-size: 54px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -1.6px;
}

h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--neon), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 460px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text2);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cta-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text3);
}

/* hero collage — abstract tiles, no stock photography */

.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tile {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.tile b {
  font-size: 14px;
  font-weight: 700;
}

.tile i {
  font-style: normal;
  font-size: 12px;
  color: var(--text2);
}

.tile:nth-child(1) {
  background: linear-gradient(150deg, #4a1730, #1d0a12);
  transform: translateY(-14px);
}

.tile:nth-child(2) {
  background: linear-gradient(150deg, #5b2038, #200b14);
}

.tile:nth-child(3) {
  background: linear-gradient(150deg, #3a1524, #1a080f);
}

.tile:nth-child(4) {
  background: linear-gradient(150deg, #4d2b1c, #1d0a12);
  transform: translateY(-14px);
}

.tile::before {
  content: '';
  position: absolute;
  inset: -30% -10% 40%;
  background: radial-gradient(60% 60% at 50% 40%, rgba(255, 46, 136, 0.3), transparent 70%);
}

/* ---------- sections ---------- */

section.band {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
}

h2 {
  margin: 12px 0 14px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.9px;
}

.section-sub {
  max-width: 560px;
  color: var(--text2);
  font-size: 16px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--surface2), var(--surface));
  padding: 26px;
}

.card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.card p {
  color: var(--text2);
  font-size: 15px;
}

.card .glyph {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(224, 36, 94, 0.16);
  border: 1px solid rgba(255, 46, 136, 0.25);
}

.card .glyph svg {
  width: 20px;
  height: 20px;
  stroke: var(--neon);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 38px;
  counter-reset: step;
}

.step {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  background: var(--surface);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  margin-bottom: 16px;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--neon), var(--accent));
}

.step h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.step p {
  color: var(--text2);
  font-size: 15px;
}

/* ---------- safety list ---------- */

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.checks {
  display: grid;
  gap: 14px;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 16px 18px;
}

.check svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check b {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.check span {
  font-size: 14px;
  color: var(--text2);
}

/* ---------- faq ---------- */

.faq {
  margin-top: 32px;
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 18px 20px;
}

details[open] {
  border-color: var(--line2);
}

summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

details[open] summary::after {
  content: '–';
}

details p {
  margin-top: 12px;
  color: var(--text2);
  font-size: 15px;
}

/* ---------- closing cta ---------- */

.closing {
  text-align: center;
  border: 1px solid var(--line2);
  border-radius: 28px;
  padding: 56px 28px;
  background: radial-gradient(80% 120% at 50% 0%, #46202c, var(--surface));
}

.closing h2 {
  max-width: 520px;
  margin-inline: auto;
}

.closing p {
  max-width: 480px;
  margin: 0 auto 26px;
  color: var(--text2);
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  margin-top: 76px;
}

footer .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
}

footer .legal-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  color: var(--text2);
}

footer .legal-links a {
  color: var(--text2);
}

footer .legal-links a:hover {
  color: var(--text1);
}

footer small {
  display: block;
  color: var(--text3);
  font-size: 13px;
}

/* ---------- legal documents ---------- */

.legal-head {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(80% 70% at 50% -20%, #35171f 0%, var(--canvas) 60%);
}

.legal-head h1 {
  font-size: 42px;
  margin: 10px 0 8px;
}

.legal-head p {
  color: var(--text2);
  font-size: 15px;
}

.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 24px 0;
}

.legal-body h2 {
  font-size: 22px;
  letter-spacing: -0.4px;
  margin: 40px 0 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.legal-body h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.legal-body p {
  margin-bottom: 14px;
  color: var(--text2);
  font-size: 15.5px;
}

.legal-body p strong {
  color: var(--text1);
}

.legal-body ul {
  margin: 0 0 14px 20px;
  color: var(--text2);
  font-size: 15.5px;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body a {
  color: var(--neon);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body .lead {
  color: var(--text1);
  font-size: 17px;
}

.legal-back {
  display: inline-block;
  margin: 32px 0 8px;
  font-weight: 700;
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .legal-head h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 27px;
  }

  .topnav {
    display: none;
  }

  .hero {
    padding: 56px 0 56px;
  }

  section.band {
    padding: 56px 0;
  }

  .tile {
    transform: none !important;
  }
}

/* Emphasis box for the clauses a reader must not miss (legal pages). */
.notice {
  border: 1px solid rgba(245, 185, 66, 0.32);
  border-left: 3px solid var(--gold);
  border-radius: 14px;
  background: rgba(245, 185, 66, 0.06);
  padding: 18px 20px;
  margin: 18px 0 22px;
}

.notice p {
  color: var(--text1);
  margin-bottom: 0;
}

.notice p + p {
  margin-top: 10px;
}
