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

:root {
  --bg: #0A0A0A;
  --card-bg: #1A1A1A;
  --elevated: #242424;
  --primary: #fff;
  --secondary: #9A9A9A;
  --tertiary: #6A6A6A;
  --accent: #E8825C;
  --accent-light: #F2A88A;
  --divider: rgba(255,255,255,0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-card: 16px;
  --radius-lg: 20px;
  --radius-pill: 100px;
}

html,body {
  height: 100%;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--primary);
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════
   MOSAIC — GPU-only, no repaints
   5 columns, each a single compositor layer
   ═══════════════════════════════════════ */

.mosaic {
  position: fixed;
  inset: 0;
  display: flex;
  gap: 5px;
  padding: 0 8px;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
}

.mosaic-col {
  flex: 1;
  overflow: hidden;
}

.scroll-track {
  display: flex;
  flex-direction: column;
  gap: 5px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: layout style;
}

.mosaic-col:nth-child(1) .scroll-track { animation: driftA 120s linear infinite; }
.mosaic-col:nth-child(2) .scroll-track { animation: driftB 100s linear infinite; }
.mosaic-col:nth-child(3) .scroll-track { animation: driftA 110s linear infinite; }
.mosaic-col:nth-child(4) .scroll-track { animation: driftB  95s linear infinite; }
.mosaic-col:nth-child(5) .scroll-track { animation: driftA 105s linear infinite; }

@keyframes driftA {
  from { transform: translate3d(0, -50%, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
@keyframes driftB {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, -50%, 0); }
}

.mosaic-tile {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-color: var(--card-bg);
  background-repeat: no-repeat;
  opacity: 0.45;
  flex-shrink: 0;
  contain: layout paint;
}

/* ═══════════════════════════════════════
   OVERLAYS — simple solid layers, no blur
   ═══════════════════════════════════════ */

.overlay-dark {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.42);
  z-index: 1; pointer-events: none;
}

.overlay-vignette {
  position: fixed; inset: 0;
  background: radial-gradient(ellipse at center,
    transparent 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.92) 100%);
  z-index: 2; pointer-events: none;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */

.hero {
  position: fixed; inset: 0; z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 24px;
}

.hero-logo {
  width: 180px;
  height: auto;
  margin-bottom: 12px;
}

.hero-headline {
  font-size: 28px; font-weight: 700;
  line-height: 1.3; letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.hero-sub {
  font-size: 15px; font-weight: 400;
  line-height: 1.55; opacity: 0.8;
  max-width: 320px;
}

/* ── Feature pills — NO backdrop-filter ── */

.features {
  display: flex; gap: 8px; margin-top: 22px;
  flex-wrap: wrap; justify-content: center;
}

.fpill {
  padding: 7px 16px;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* ── CTA stack — NO backdrop-filter ── */

.cta {
  display: flex; flex-direction: column;
  align-items: center; gap: 16px; margin-top: 28px;
}

.badge { transition: transform .2s ease; }
.badge:hover { transform: scale(1.06); }
.badge img { height: 48px; display: block; }

.nl-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  color: var(--secondary); font-family: inherit;
  font-size: 13px; font-weight: 500;
  padding: 8px 20px; cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}

.nl-btn:hover {
  color: var(--primary);
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.16);
}

/* ═══════════════════════════════════════
   NEWSLETTER MODAL
   ═══════════════════════════════════════ */

.modal-wrap {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  align-items: center; justify-content: center;
  padding: 20px;
}

.modal-wrap.is-open { display: flex; }

.modal-bg {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.75);
  animation: fadeIn .2s ease;
}

@keyframes fadeIn { from{opacity:0} to{opacity:1} }

.modal-box {
  position: relative; z-index: 1;
  width: 100%; max-width: 400px;
  background: rgba(26,26,26,0.95);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  animation: slideUp .3s cubic-bezier(.34,1.56,.64,1);
}

@keyframes slideUp {
  from { transform: translateY(20px) scale(.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-x {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: none; color: var(--secondary);
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.modal-x:hover { background: rgba(255,255,255,0.1); color: var(--primary); }

.modal-box h2 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.modal-box .sub { font-size: 14px; color: var(--secondary); line-height: 1.5; margin-bottom: 24px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 500; color: var(--tertiary); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
.field input {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  font-size: 15px; color: var(--primary); font-family: inherit;
  outline: none; transition: border-color .2s, background .2s;
}
.field input:focus { border-color: var(--accent); background: rgba(255,255,255,0.06); }
.field input::placeholder { color: var(--tertiary); }

.modal-go {
  width: 100%; padding: 14px;
  background: var(--accent); color: #fff;
  border: none; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600; font-family: inherit;
  cursor: pointer; margin-top: 8px;
  transition: background .2s, transform .15s;
}
.modal-go:hover { background: var(--accent-light); }
.modal-go:active { transform: scale(.98); }

.modal-done { text-align: center; padding: 16px 0; display: none; }
.modal-done .tick { width: 56px; height: 56px; border-radius: 50%; background: rgba(232,130,92,0.15); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 28px; color: var(--accent); }
.modal-done p { color: var(--secondary); font-size: 14px; }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */

.footer {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 4; display: flex; align-items: center;
  justify-content: center; gap: 24px;
  padding: 20px 24px; font-size: 13px;
}

.footer a { color: var(--tertiary); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--secondary); }
.footer .sep { color: rgba(255,255,255,0.12); }

/* ═══════════════════════════════════════
   LEGAL / PAGE STYLES
   ═══════════════════════════════════════ */

body.page { overflow-y: auto; height: auto; }

.page-shell { min-height: 100vh; background: var(--bg); }

.top-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--divider);
  position: sticky; top: 0; background: var(--bg); z-index: 10;
}
.top-bar img { height: 20px; opacity: .7; }
.top-bar a { color: var(--secondary); text-decoration: none; font-size: 14px; transition: color .2s; }
.top-bar a:hover { color: var(--primary); }

.page-body {
  max-width: 720px; margin: 0 auto; padding: 48px 24px 80px;
}

.page-body h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.page-body .date { font-size: 13px; color: var(--tertiary); margin-bottom: 40px; }
.page-body h2 { font-size: 20px; font-weight: 600; margin-top: 36px; margin-bottom: 12px; }
.page-body h3 { font-size: 15px; font-weight: 500; margin-top: 24px; margin-bottom: 8px; }
.page-body p  { font-size: 16px; line-height: 1.7; color: var(--secondary); margin-bottom: 12px; }
.page-body a  { color: var(--accent); text-decoration: none; }
.page-body a:hover { color: var(--accent-light); }

/* ── Help page ── */

.help-hero { text-align: center; padding: 80px 24px 48px; }
.help-hero h1 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.help-hero p { font-size: 16px; color: var(--secondary); max-width: 480px; margin: 0 auto; line-height: 1.6; }

.help-card { max-width: 480px; margin: 0 auto; padding: 32px; background: var(--card-bg); border: 1px solid var(--divider); border-radius: var(--radius-card); text-align: center; }
.help-card h2 { margin-top: 0; font-size: 18px; }

.help-email {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 14px 28px;
  background: var(--accent); color: #fff;
  font-size: 16px; font-weight: 500;
  border-radius: var(--radius-pill); text-decoration: none;
  transition: background .2s, transform .2s;
}
.help-email:hover { background: var(--accent-light); transform: scale(1.03); color: #fff; }

.help-links { display: flex; gap: 32px; justify-content: center; margin-top: 48px; padding-bottom: 80px; }
.help-links a { color: var(--tertiary); font-size: 14px; text-decoration: none; transition: color .2s; }
.help-links a:hover { color: var(--secondary); }

/* ═══════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════ */

.hiw-content {
  position: relative; z-index: 3;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.hiw-header {
  text-align: center;
  padding: 100px 0 48px;
}

.hiw-header h1 {
  font-size: 36px; font-weight: 700;
  letter-spacing: -0.5px; margin-bottom: 12px;
}

.hiw-header p {
  font-size: 16px; color: var(--secondary);
  max-width: 400px; margin: 0 auto; line-height: 1.6;
}

.hiw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
  width: 100%;
  margin-bottom: 48px;
}

.hiw-card {
  background: rgba(26,26,26,0.88);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: background .3s, border-color .3s, transform .3s;
}

.hiw-card:hover {
  background: rgba(36,36,36,0.92);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

.hiw-card .card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(232,130,92,0.12);
  color: var(--accent); font-size: 14px; font-weight: 700;
  margin-bottom: 16px;
}

.hiw-card h3 {
  font-size: 18px; font-weight: 600;
  margin-bottom: 8px;
}

.hiw-card p {
  font-size: 14px; line-height: 1.6;
  color: var(--secondary); margin: 0;
}

.hiw-bottom {
  text-align: center;
  padding-bottom: 80px;
}

.hiw-bottom .badge { display: inline-block; }
.hiw-bottom .badge img { height: 48px; }

.hiw-back {
  position: fixed; top: 20px; left: 20px; z-index: 10;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: rgba(26,26,26,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  color: var(--secondary); text-decoration: none;
  font-size: 13px; font-weight: 500;
  transition: color .2s, background .2s;
}
.hiw-back:hover { color: var(--primary); background: rgba(36,36,36,0.9); }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 640px) {
  .mosaic { gap: 4px; padding: 0 4px; }
  .scroll-track { gap: 4px; }
  .mosaic-tile { border-radius: 4px; }
  .mosaic-col:nth-child(4), .mosaic-col:nth-child(5) { display: none; }

  .hero-logo { width: 140px; margin-bottom: 8px; }
  .hero-headline { font-size: 22px; }
  .hero-sub { font-size: 13px; }
  .features { gap: 6px; }
  .fpill { font-size: 11px; padding: 6px 12px; }
  .footer { gap: 14px; font-size: 11px; padding: 14px 16px; }

  .hiw-grid { grid-template-columns: 1fr; max-width: 400px; }
  .hiw-header { padding: 80px 0 32px; }
  .hiw-header h1 { font-size: 28px; }
}
