/* ---------- Local fonts ---------- */
@font-face {
  font-family: 'ABC Diatype Mono';
  src: url('/font/ABC%20Diatype%20Mono.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens (from Figma variables) ---------- */
:root {
  --green-100: #16ffb6;
  --green-12: rgba(22, 255, 182, 0.12);
  --green-8: rgba(22, 255, 182, 0.08);
  --green-5: rgba(22, 255, 182, 0.05);
  --green-0: rgba(22, 255, 182, 0);

  --red-400: #ff4888;
  --red-12: rgba(255, 72, 136, 0.12);
  --red-8: rgba(255, 72, 136, 0.08);
  --red-5: rgba(255, 72, 136, 0.05);

  --primary-500: #332ecb;
  --primary-600: #2d24ba;

  --neutral-50: #f1f1f5;
  --neutral-200: #b3b6c9;
  --neutral-300: #979aac;
  --neutral-600: #4a4c5c;
  --neutral-750: #282b38;
  --neutral-800: #212331;
  --neutral-850: #1a1c25;
  --neutral-875: #15161e;
  --neutral-5: rgba(255, 255, 255, 0.05);

  --bg: #08080c;
  --bg-elev-1: #0f1019;
  --bg-elev-2: #15161e;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.1);

  --space-200: 8px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --content-w: 1112px;
  --page-w: 1440px;
  --side-pad: 164px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono: 'ABC Diatype Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body, #root {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--neutral-50);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Offset anchor scrolling so target sections land below the sticky header
   (announcement bar ~52px + nav bar ~80px = ~132px). */
section[id] {
  scroll-margin-top: 132px;
}

body {
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

img, svg { display: block; max-width: 100%; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--page-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

@media (max-width: 1200px) {
  :root { --side-pad: 48px; }
}
@media (max-width: 720px) {
  :root { --side-pad: 16px; }
}

/* ---------- Typography ---------- */
.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.3px;
  color: #fff;
}
/* Gradient stroke (linear, dark -> translucent gray -> dark) */
.eyebrow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(
    90deg,
    rgba(10, 10, 10, 1) 0%,
    rgba(136, 136, 136, 0.25) 42%,
    rgba(10, 10, 10, 1) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.eyebrow::before {
  content: '';
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  background: url('/Green%20dot%20svg.svg') center / contain no-repeat;
}

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.025em; }

.h-display {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.h-section {
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.h-card {
  font-size: 16px;
  font-weight: 500;
  color: var(--neutral-50);
}

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

.mono { font-family: var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--primary-500);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-600); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--neutral-50);
  border-color: var(--border-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn-small { height: 36px; padding: 0 16px; font-size: 13px; }

/* ---------- Page sections ---------- */
.section-pad { padding: 96px 0; }
.section-pad-lg { padding: 120px 0; }

/* ----------------------------------------------------------------
   Scroll-reveal animations (subtle, dependency-free)
   - Initial hidden state is gated behind `.reveal-ready` on <html>,
     which is only added before paint when motion is allowed (see
     main.tsx). Without JS or with reduced motion, content stays visible.
   - useScrollReveal() sets `data-revealed` as elements enter the viewport
     (an attribute, not a class, so React re-renders can't wipe it).
   - Direction variants: default = up, plus -left / -right / -fade / -scale.
   - Per-element stagger via the `--reveal-delay` custom property.
---------------------------------------------------------------- */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal-ready [data-reveal='fade'] { transform: none; }
.reveal-ready [data-reveal='left'] { transform: translateX(-16px); }
.reveal-ready [data-reveal='right'] { transform: translateX(16px); }
.reveal-ready [data-reveal='scale'] { transform: scale(0.97); }

.reveal-ready [data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* ---------- Sticky wrapper (announcement + navbar move as one) ---------- */
.site-header-stack {
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Reveal the whole header from the top on load (smooth, once).
   Uses fill-mode `backwards` (not `both`): the transform is NOT retained
   after the animation ends, so it doesn't create a lingering compositing
   group that would break the nav pills' backdrop-filter. */
@media (prefers-reduced-motion: no-preference) {
  .site-header-stack {
    animation: header-drop 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }
}
@keyframes header-drop {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Top announcement bar ---------- */
.announce {
  background: #111;
  width: 100%;
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.4px;
}
.announce-text { color: #656565; }
.announce-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
}
.announce-cta span { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Main navbar ---------- */
/* Container is transparent; only the individual pills carry the
   glass/blur per Figma 3296:76676. */
.site-header {
  padding: 20px 0;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Reusable pill — translucent glass block, 40h, 8px radius */
.nav-pill {
  height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: -0.2px;
  border: 0;
  cursor: pointer;
}
.nav-pill a { color: #fff; }

/* Logo pill */
.nav-pill-logo {
  width: auto;
  padding: 0 16px;
}
.brand-img {
  height: 20px;
  width: auto;
  display: block;
}

/* Center group — two pills with 8px gap, absolutely centered */
.nav-center-group {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-pill-links {
  display: flex;
  gap: 40px;
}
.nav-pill-links a {
  text-decoration: none;
  white-space: nowrap;
}
.nav-pill-links a:hover { opacity: 0.85; }

.nav-pill-social {
  display: flex;
  gap: 40px;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  width: 18px;
  height: 18px;
}
.social-icon:hover { opacity: 0.85; }

/* Right actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-pill-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---------- Language dropdown ---------- */
.lang-picker {
  position: relative;
}
.nav-pill-lang svg {
  transition: transform 0.15s ease;
}
.nav-pill-lang.is-open svg {
  transform: rotate(180deg);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: rgba(20, 20, 24, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  z-index: 60;
}
.lang-menu li { margin: 0; }
.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 8px 12px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: -0.2px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}
.lang-option:hover { background: rgba(255, 255, 255, 0.1); }
.lang-option.is-active { background: rgba(51, 46, 203, 0.4); }
.lang-option-code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4px;
  opacity: 0.6;
}

/* ---------- Mobile language switcher (inside the mobile menu) ---------- */
.mobile-lang {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.mobile-lang-label {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: -0.2px;
  color: rgba(255, 255, 255, 0.6);
}
.mobile-lang-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mobile-lang-option {
  height: 36px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  letter-spacing: -0.2px;
  cursor: pointer;
}
.mobile-lang-option.is-active {
  background: rgba(51, 46, 203, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

/* CTA — solid primary, 8px radius, monospace uppercase */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #332ecb;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.cta-button:hover { background: #2d24ba; }

/* ---------- Mobile hamburger / close toggle (hidden on desktop) ---------- */
.menu-toggle {
  display: none;
  height: 40px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}

/* ---------- Mobile-menu backdrop (Figma 3490:28377):
   #000000 at 8% fill + 24px backdrop-blur. ---------- */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 40;
}

/* ---------- Mobile menu panel ---------- */
.mobile-menu-wrap {
  display: none;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 50px;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
  border-radius: 8px;
  overflow: hidden;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-menu-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 22px;
  letter-spacing: -0.2px;
  color: #fff;
  text-decoration: none;
  border: 0;
  transition: opacity 0.15s ease;
}
.mobile-menu-links a:hover { opacity: 0.8; }
.mobile-menu-links a svg { width: 18px; height: 18px; color: #fff; }

.mobile-menu-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.mobile-menu-socials {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  height: 40px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 8px;
}
.mobile-menu-socials .social-icon {
  width: 20px;
  height: 20px;
}
.mobile-menu-socials .social-icon svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 900px) {
  .nav-center-group { display: none; }
}
@media (max-width: 720px) {
  /* Announcement bar — Figma 3490:26922 (412×52)
     Figma spec is 13px Inter; browser-rendered Inter is slightly wider
     than Figma's metric, so 12px is used to keep content on one row
     at 412px viewport without clipping the arrow. */
  .announce-inner {
    font-size: 12px;
    line-height: 20px;
    letter-spacing: -0.4px;
    padding: 16px 0;
    gap: 12px;
    flex-wrap: nowrap;
    justify-content: center;
    text-align: center;
  }
  .announce-text {
    color: #5f5f5f;
    white-space: nowrap;
  }
  .announce-cta {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .site-header { padding: 12px 0; position: relative; }
  /* Mobile nav (Figma 3635:20195): logo pill on the left; EN pill +
     hamburger pill grouped on the right. The CTA is hidden. */
  .header-row { gap: 8px; }
  .nav-pill-logo { margin-right: auto; }
  .header-actions { display: flex; }
  .header-actions .cta-button { display: none; }
  .menu-toggle { display: inline-flex; }
  /* Menu panel overlays as absolute so it doesn't grow the sticky
     header and push page content down. */
  .site-header.menu-open .mobile-menu-wrap {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .site-header.menu-open .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }
}
/* ----------------------------------------------------------------
   Waitlist popup — matches Figma 4449:4200
   Full-screen blurred overlay + centered #15161e card. The site header
   (nav + announcement) sits above the overlay (higher z-index) so it
   stays sharp and on top, per the design.
---------------------------------------------------------------- */

/* Backdrop (4449:4143) — gradient + 15px blur over the page content.
   z-index sits BELOW the sticky header (z 50) so the nav stays on top. */
.wl-overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  /* `margin: auto` on the modal (below) centers it AND lets it scroll without
     clipping the top when it's taller than the viewport (the classic flexbox
     centered-modal cut-off fix). */
  overflow-y: auto;
  padding: 24px;
  background: linear-gradient(
    to bottom,
    rgba(17, 18, 22, 0.8),
    rgba(20, 20, 26, 0.8)
  );
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  animation: wl-fade 0.2s ease-out; /* quick fade-in when the popup mounts */
}

/* Card (4449:4144) — #15161e, 400 wide, 20 padding, 12 radius, 20px blur */
.wl-modal {
  position: relative;
  z-index: 48;
  margin: auto;
  width: 400px;
  max-width: 100%;
  min-height: 438px;
  padding: 20px;
  border-radius: 12px;
  background: var(--neutral-875);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: wl-pop 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Decorative ellipse glow (3296:76657) — 554px, centered, clipped by the card */
.wl-glow {
  position: absolute;
  left: 50%;
  top: calc(50% - 89px);
  width: 554px;
  height: 554px;
  max-width: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
}

/* Close button (4449:4147) — #212331 pill, mono uppercase */
.wl-close {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--neutral-800);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  transition: background 0.15s ease;
}
.wl-close:hover { background: #2a2d3e; }

/* Content group (4449:4151) — centered, 313 wide, 36px gap */
.wl-content {
  position: relative;
  z-index: 1;
  flex: 1;
  align-self: center;
  width: 313px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 36px;
}

/* Heading group (4449:4152) — gap 12, centered */
.wl-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: center;
  color: #fff;
}
.wl-title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 36px;
  line-height: 42px;
  letter-spacing: -1.6px;
}
.wl-sub {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.4px;
}

/* Form group (4449:4155) — gap 12, full width */
.wl-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* Email input (4449:4156) — #1a1c25, px-12 py-8, rounded-8 */
.wl-input {
  width: 100%;
  padding: 8px 12px;
  border: 0;
  outline: 0;
  border-radius: 8px;
  background: var(--neutral-850);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: -0.2px;
}
.wl-input::placeholder { color: var(--neutral-300); }
.wl-input:disabled { opacity: 0.7; }

/* Submit (4449:4158) — #332ecb, px-20 py-12, rounded-8, mono uppercase */
.wl-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: #332ecb;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease;
}
.wl-submit:hover { background: #2d24ba; }
.wl-submit:disabled { background: rgba(51, 46, 203, 0.6); cursor: not-allowed; }

.wl-error {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--red-400);
  text-align: center;
}

@keyframes wl-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes wl-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wl-overlay, .wl-modal { animation: none; }
}

@media (max-width: 440px) {
  .wl-modal { min-height: 0; padding: 16px; }
  .wl-content { padding: 24px 0; }
}
/* ----------------------------------------------------------------
   Hero — matches Figma 2994:23965 (1440 × 900 frame)
   - Background fills the frame
   - Main content (eyebrow + title + subtitle + CTAs) is centered
     vertically in the top portion
   - Universities footer is anchored at y=736 inside the 900px frame
     (so its bottom sits at y=826, ~74px above the hero bottom edge)
---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  height: 760px;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  /* Fade the glow into the page base (--bg) at the top and bottom edges so the
     hero merges seamlessly with the surrounding sections (no hard partition). */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 12%,
    #000 78%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 12%,
    #000 78%,
    transparent 100%
  );
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}


.hero-inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 96px;
  padding-bottom: 40px;
}

/* Main stack — sized to content, sits just below the navbar */
.hero-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 24px;
}

/* hero-inner uses justify-content: space-between, so hero-trusted naturally
   sits at the bottom of the hero — matches Figma 2994:23966 position */

.hero-eyebrow { margin-bottom: 0; }

/* Title — large display text matching Figma proportions */
.hero-title {
  font-size: 72px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: #fff;
  max-width: 900px;
  margin: 0;
}

.hero-sub {
  max-width: 520px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.2px;
  text-align: center;
  color: #fff;
  margin: 0;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

/* Hero CTA buttons — 46h, 8px radius, monospace uppercase */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
  white-space: nowrap;
}
.hero-btn-primary { background: #332ecb; }
.hero-btn-primary:hover { background: #2d24ba; }

.hero-btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
}
.hero-btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }

/* Universities footer — exact Figma spec from 2994:23966 */
.hero-trusted {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 400px;
}

.hero-trusted-label {
  width: 145px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 20px;
  color: #ebebeb;
  text-transform: uppercase;
  text-align: center;
}

.hero-trusted-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 400px;
  height: 26px;
}

.hero-trusted-logo {
  height: 26px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 720px) {
  .hero { height: auto; min-height: 640px; padding: 0; }
  .hero-inner {
    padding-top: 64px;
    padding-bottom: 40px;
    justify-content: flex-start;
    gap: 140px;
  }
  .hero-main { gap: 16px; }
  .hero-title { font-size: 40px; line-height: 1.1; }
  .hero-sub { font-size: 14px; max-width: 320px; }
  /* Mobile CTAs sit side by side with 16px gap per Figma 3490:25918 */
  .hero-cta { flex-direction: row; gap: 16px; justify-content: center; flex-wrap: nowrap; }
  .hero-trusted { width: 100%; gap: 16px; }
  .hero-trusted-logos { width: 100%; max-width: 320px; }
  .hero-trusted-logo { height: 22px; }
}
.hiw { padding: 120px 0 60px; }

.hiw-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
/* Figma 2994:23981 — 36px / line-height 42px / letter-spacing -1.6px */
.hiw-title {
  margin-top: 18px;
  font-size: 36px;
  line-height: 42px;
  letter-spacing: -1.6px;
}

.hiw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.universe-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.chart-wrap {
  position: relative;
  background: #0e0e0e;
  border-radius: var(--radius-md);
  aspect-ratio: 546 / 313;
  overflow: hidden;
}

.chart-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.universe-card:hover .chart-img { transform: scale(1.04); }

.universe-text { display: flex; flex-direction: column; gap: 8px; }
/* Figma 2994:24003 — card heading: Inter 400 / 18px / lh 24px / -0.6px / white */
.universe-text .h-card {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.6px;
  color: #fff;
}
/* Figma 2994:24004 — card body: Inter 400 / 14px / lh 20px / -0.4px / #5f5f5f */
.universe-text .muted {
  margin: 0;
  max-width: 480px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.4px;
  color: #5f5f5f;
}

/* Badges overlayed on the right of the resolved chart */
.badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.badge-green { background: var(--green-12); color: var(--green-100); }
.badge-red { background: var(--red-12); color: var(--red-400); }
.badge-tr { top: 60px; right: 16px; }
.badge-br { bottom: 64px; right: 16px; }

.badge-asset {
  background: var(--neutral-850);
  border: 1px solid var(--border);
  color: var(--neutral-50);
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: none;
  letter-spacing: -0.01em;
  padding: 4px 10px 4px 6px;
}
.badge-asset-tr { top: 88px; right: 16px; }
.brent-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(180deg, #6b78ff 0%, #3d3acb 100%);
  display: inline-block;
}
.badge-asset-price { color: var(--neutral-200); margin-left: 4px; }

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

@media (max-width: 720px) {
  .hiw { padding: 72px 0 40px; }
  .hiw-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto 32px;
    max-width: none;
  }
  .chart-wrap { aspect-ratio: 380 / 220; }
  .universe-text .muted { font-size: 13px; }
}
.mi {
  padding: 120px 0 80px;
  text-align: center;
}

.mi-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.mi-title { font-size: 36px; line-height: 42px; letter-spacing: -1.6px; }

.mi-stage {
  position: relative;
  margin: 60px auto 0;
  width: 100%;
  max-width: 1112px;
}

/* Transparent PNG export (Figma 4196:3394) — no blend mode needed. */
.mi-image {
  display: block;
  width: 100%;
  height: auto;
}

.mi-caption {
  margin: 32px auto 0;
  width: 610px;
  max-width: 100%;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.6px;
  text-align: center;
}
/* #8a8a8a clears WCAG AA (4.5:1) on every dark bg in the system; #656565
   failed at ~2.7-3.4:1. Still reads as muted next to the white strong text. */
.mi-caption-muted { color: #8a8a8a; }
.mi-caption-strong { color: #fff; }

@media (max-width: 720px) {
  .mi { padding: 72px 0 40px; }
  .mi-title { font-size: 36px; line-height: 42px; letter-spacing: -1.6px; }
  .mi-stage { margin-top: 32px; }
  .mi-caption {
    margin-top: 24px;
    width: 100%;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.2px;
  }
}
/* ----------------------------------------------------------------
   How to Trade — matches Figma 2994:24208
   1112×428 board with 3 × 300px columns and 106px dashed gaps
---------------------------------------------------------------- */
.htt {
  padding: 120px 0;
  text-align: center;
}

.htt-head {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.htt-title {
  margin: 0;
  width: 343px;
  max-width: 100%;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 36px;
  line-height: 42px;
  letter-spacing: -0.044em;
  color: #fff;
  text-align: center;
}

/* Board ---------- */
.htt-board {
  position: relative;
  margin: 40px auto 0;
  width: 100%;
  max-width: 1112px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
}

.htt-col {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Step header card (top dark slab in each column) */
.step-head {
  background: #0e0e0e;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-head-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background: #171717;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: -0.3px;
  color: #fff;
}
/* Gradient stroke (linear, #171717 -> #2C2C2C -> #171717) */
.step-num::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(
    90deg,
    #171717 0%,
    #2c2c2c 42%,
    #171717 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.step-name {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.6px;
  color: #fff;
  white-space: nowrap;
}

.step-sub {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step-tag {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #f1f1f5;
}
.step-desc {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: -0.14px;
  color: #656565;
}

/* Dashed connectors — fill the gap between columns */
.htt-dash {
  position: absolute;
  top: 28px;
  height: 0;
  width: calc((100% - 900px) / 2);
  border-top: 1px dashed rgba(255, 255, 255, 0.18);
}
.htt-dash-1 { left: 300px; }
.htt-dash-2 { right: 300px; }

/* ---------- Event list (column 01) ---------- */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 6px;
}

.event-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #15161e;
  border: 1px solid transparent;
  border-radius: 8px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  font-family: inherit;
}
.event-card:hover { background: #1a1c25; }
.event-card.is-selected {
  border-color: rgba(51, 46, 203, 0.6);
  background: #1a1c25;
}

.event-avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.event-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.event-pills {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: nowrap;
}

.event-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 12px;
  background: var(--neutral-850);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 10px;
  line-height: 15px;
  letter-spacing: -0.2px;
  color: var(--neutral-50);
  white-space: nowrap;
}

.event-pill-asset {
  gap: 8px;
  padding-left: 4px;
  padding-right: 12px;
}

.event-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  display: inline-flex;
}
.event-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.event-asset-name { color: var(--neutral-50); }
.event-dot {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--neutral-600);
}
.event-price { color: var(--neutral-50); }

.event-pill-date {
  color: var(--neutral-300);
  margin-left: auto;
}

.event-q {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 20px;
  letter-spacing: -0.14px;
  color: var(--neutral-50);
}

/* ---------- Placeholder card (columns 02 + 03) ---------- */
.step-placeholder-card {
  background: var(--neutral-875);
  border-radius: 12px;
  padding: 12px;
}
.step-placeholder {
  height: 64px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 20px;
  letter-spacing: -0.14px;
  color: var(--neutral-300);
}

/* ---------- Mono sub-tag in step headers (date for builder / settled) ---------- */
.step-tag-mono {
  font-family: var(--font-mono);
  color: var(--neutral-50);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 11px;
}

/* =================================================================
   TradeBuilder (column 02 active state) — matches Figma 3293:15349
   Single #15161e card, sections separated by 1px #212331 dividers.
================================================================= */
.tb-card {
  background: var(--neutral-875);
  border-radius: 8px;
  width: 100%;
  overflow: hidden;
}

.tb-section { padding: 12px; }
/* Divider between sections, except above the Place Trade button. */
.tb-section + .tb-section:not(.tb-section-place) { border-top: 1px solid var(--neutral-800); }

/* ---- Header section: avatar + asset pill + question ---- */
.tb-section-header {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.tb-asset-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tb-asset-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 23px;
  padding: 0 12px 0 4px;
  background: var(--neutral-850);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 10px;
  line-height: 15px;
  letter-spacing: -0.2px;
  color: var(--neutral-50);
  align-self: flex-start;
}
.tb-question {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 20px;
  letter-spacing: -0.14px;
  color: var(--neutral-50);
}

/* ---- Order section: Yes/No, outcome labels, action, size ---- */
.tb-section-order {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Yes / No segmented control (full width) */
.tb-yesno {
  display: flex;
  align-items: center;
  border: 1px solid var(--neutral-800);
  border-radius: 8px;
}
.tb-yesno-btn {
  flex: 1;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: -0.2px;
  color: #7d7f91;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.tb-yesno-btn.is-active {
  background: var(--neutral-800);
  border-color: var(--neutral-850);
  color: var(--neutral-50);
}
.tb-yesno-btn:disabled { cursor: not-allowed; }

/* Event-outcome labels — green/red tint when selected */
.tb-outlabels {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--neutral-800);
  border-radius: 8px;
  overflow: hidden;
}
.tb-outlabel {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: -0.2px;
  color: #7d7f91;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.tb-outlabel-yes.is-selected {
  background: var(--green-5);
  border-color: rgba(22, 255, 182, 0.08);
  color: var(--green-100);
}
.tb-outlabel-no.is-selected {
  background: var(--red-5);
  border-color: rgba(255, 72, 136, 0.08);
  color: var(--red-400);
}
.tb-outlabel:disabled { cursor: not-allowed; }

/* Buy is the affirmative action — tint it green when active */
.tb-toggle-btn.tb-toggle-buy.is-active {
  background: var(--green-5);
  color: var(--green-100);
}
/* Sell tints red (if.market red) when active */
.tb-toggle-btn.tb-toggle-sell.is-active {
  background: var(--red-5);
  color: var(--red-400);
}

/* Size field — label above an input row with a USDC unit suffix */
.tb-size {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tb-size-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--neutral-850);
  border-radius: 8px;
  padding: 8px 12px;
}
.tb-size-field {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: -0.2px;
  color: var(--neutral-50);
}
.tb-size-field::-webkit-outer-spin-button,
.tb-size-field::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tb-size-field:disabled { color: var(--neutral-200); -webkit-text-fill-color: var(--neutral-200); }
.tb-size-unit {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: -0.2px;
  color: #7d7f91;
}

.tb-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tb-label {
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: -0.2px;
  color: var(--neutral-50);
}

/* Square 8-rounded toggle. Buy filled, Sell ghost. */
.tb-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--neutral-800);
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
}
.tb-toggle-btn {
  background: transparent;
  border: 0;
  padding: 4px 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: -0.2px;
  color: var(--neutral-300);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.tb-toggle-btn.is-active {
  background: var(--neutral-800);
  color: var(--neutral-50);
  border-radius: 8px;
}
.tb-toggle-btn:disabled { cursor: not-allowed; opacity: 0.6; }

/* Yes / No outcome buttons — selectable */
.tb-outcomes {
  display: flex;
  gap: 4px;
}
.tb-outcome {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: -0.2px;
  cursor: pointer;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}
.tb-outcome-yes {
  background: var(--green-5);
  color: var(--green-100);
}
.tb-outcome-no {
  background: var(--neutral-850);
  color: var(--red-400);
}
/* Unpicked outcome is dimmed; the active one keeps a colored ring. */
.tb-outcome:not(.is-selected) { opacity: 0.5; }
.tb-outcome.is-selected { border-color: currentColor; }
.tb-outcome:disabled { cursor: not-allowed; }

/* You Pay panel — editable wager */
.tb-pay {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
  background: var(--neutral-850);
  border-radius: 8px;
  cursor: text;
}
.tb-pay-label {
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: -0.2px;
  color: var(--neutral-300);
}
.tb-pay-input {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.tb-pay-currency {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 22px;
  color: var(--neutral-50);
}
.tb-pay-field {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  outline: none;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.2px;
  color: var(--neutral-50);
  -moz-appearance: textfield;
  appearance: textfield;
}
.tb-pay-field::-webkit-outer-spin-button,
.tb-pay-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.tb-pay-field:disabled { color: var(--neutral-200); -webkit-text-fill-color: var(--neutral-200); }

/* Live P&L colors (builder + settled) */
.tb-pnl-pos { color: var(--green-100); }
.tb-pnl-neg { color: var(--red-400); }

/* ---- Conditional P&L section ---- */
.tb-section-cond {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tb-condhead {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 16px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--neutral-50);
}
.tb-cond {
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0.5;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.tb-cond.is-selected { opacity: 1; }
/* tint + dot texture overlay (public/dot): green dots on green, red on red */
.tb-cond-yes {
  background:
    url('/dot/Green%20Dot.svg') center / 100% 100% no-repeat,
    var(--green-5);
}
.tb-cond-no {
  background:
    url('/dot/Red%20Dot.svg') center / 100% 100% no-repeat,
    var(--red-5);
}
.tb-cond-yes.is-selected { border-color: rgba(22, 255, 182, 0.35); }
.tb-cond-no.is-selected { border-color: rgba(255, 72, 136, 0.35); }
.tb-cond-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tb-cond-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 8px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}
.tb-cond-badge-yes { background: rgba(22, 255, 182, 0.08); color: var(--green-100); }
.tb-cond-badge-no { background: rgba(255, 72, 136, 0.08); color: var(--red-400); }
.tb-cond-text {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 16px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.tb-cond-yes .tb-cond-text { color: var(--green-100); }
.tb-cond-no .tb-cond-text { color: var(--red-400); }
.tb-cond-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tb-cond-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.4px;
  color: var(--neutral-50);
}

/* ---- Place Trade section: button stretches full width with bottom pad ---- */
.tb-section-place {
  padding: 0 12px 16px;
  border-top: 0;
}
.tb-place {
  width: 100%;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--primary-500);
  color: var(--neutral-50);
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: -0.2px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.tb-place:hover { background: var(--primary-600); }
.tb-place:disabled { background: rgba(51, 46, 203, 0.5); cursor: not-allowed; }

/* =================================================================
   TradeSettled (column 03 active state)
================================================================= */
.trade-settled {
  background: var(--neutral-875);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ---- Resolved header bar ---- */
.ts-resolved-bar {
  border-bottom: 1px solid var(--neutral-800);
  padding: 12px;
}
.ts-resolved {
  position: relative;
  /* faint resolved texture (public/event/resolved-bg.png) over a green tint */
  background:
    url('/event/resolved-bg.png') center bottom / cover no-repeat,
    var(--green-5);
  border-radius: 5.588px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ts-resolved-text { display: flex; flex-direction: column; gap: 4px; }
.ts-resolved-title {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 20px;
  color: var(--green-100);
}
.ts-resolved-when {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--neutral-50);
}
.ts-resolved-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: #153934;
  border-radius: 12px;
}
.ts-resolved-badge img {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

/* ---- Body ---- */
.ts-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

/* Settled / outcome tag row — tint follows the resolved outcome,
   mirroring the YES=green / NO=red blocks in "Build your event". */
.ts-tags {
  border-radius: 5.588px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.trade-settled.is-yes .ts-tags { background: var(--green-5); }
.trade-settled.is-no .ts-tags { background: var(--red-5); }
.ts-tag-settled {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 16px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--neutral-50);
}
.ts-tag-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-100);
}
.trade-settled.is-no .ts-tag-dot { background: var(--red-400); }
.ts-tag-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ts-tag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 8px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}
.ts-tag-badge.is-yes { background: var(--green-8); color: var(--green-100); }
.ts-tag-badge.is-no { background: var(--red-8); color: var(--red-400); }
.ts-tag-label {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 16px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--green-100);
  white-space: nowrap;
}
.ts-tag-label.is-no { color: var(--red-400); }

/* Detail card: settled price + wager + total payout */
.ts-detail {
  background: var(--neutral-850);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ts-rows { display: flex; flex-direction: column; gap: 8px; }
.ts-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ts-row > span:first-child {
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 16px;
  color: var(--neutral-50);
}
.ts-row-val {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--neutral-50);
}

.ts-payout {
  background: var(--neutral-800);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ts-payout > span:first-child {
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 16px;
  color: var(--neutral-300);
}
.ts-payout-value {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 22px;
  color: var(--green-100);
}
/* Loss: the payout value turns red while the resolved banner stays neutral. */
.trade-settled.is-loss .ts-payout-value { color: var(--red-400); }

/* ---- Footer ---- */
.ts-footer {
  padding: 0 12px 16px;
}
.ts-reset {
  width: 100%;
  background: transparent;
  border: 1px solid var(--neutral-750);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--neutral-50);
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 16px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.ts-reset:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .htt-board {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .htt-dash { display: none; }
}

@media (max-width: 720px) {
  .htt { padding: 72px 0; }
  .htt-head { align-items: center; text-align: center; }
  .htt-title { font-size: 36px; line-height: 42px; letter-spacing: -0.044em; width: 320px; max-width: 100%; }
  .htt-board { margin-top: 32px; gap: 16px; text-align: left; }
  .htt-col { width: 100%; max-width: 380px; }

  /* Mobile wizard flow: only the active step is visible, the others
     are removed from the layout so each step takes the same slot. */
  .htt-phase-idle .htt-col-2,
  .htt-phase-idle .htt-col-3,
  .htt-phase-building .htt-col-1,
  .htt-phase-building .htt-col-3,
  .htt-phase-settled .htt-col-1,
  .htt-phase-settled .htt-col-2 {
    display: none;
  }
}
/* ----------------------------------------------------------------
   Who it's for — matches Figma 2994:24219
   1112×588 board: header (1112×136) + carousel (1112×412) at gap 40
---------------------------------------------------------------- */
/* Padding lives inside the sticky viewport (which centers content), so the
   section itself only carries the tall scroll track. */
.nat { padding: 0; }

/* Tall outer track — its height (set in JS = 100vh + horizontal overflow)
   provides the vertical scroll distance that drives the horizontal travel. */
.nat-track-outer {
  position: relative;
}

/* Pinned viewport: sticks for the duration of the track and centers the
   header + cards while the row slides horizontally. */
.nat-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 80px 0;
  overflow: hidden;
}

/* ---------- Header (1112×136) ---------- */
.nat-top {
  display: flex;
  justify-content: center;
}

.nat-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 443px;
}

/* Section badge — the PNG carries its own dark rounded-square + glyph. */
.nat-icon {
  width: 72px;
  height: 72px;
  display: block;
}

.nat-title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 36px;
  line-height: 42px;
  letter-spacing: -0.044em;
  color: #fff;
  text-align: center;
}

/* ---------- Carousel ---------- */
.nat-carousel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Clips the horizontally-translating row to the container width. */
.nat-viewport {
  width: 100%;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nat-viewport::-webkit-scrollbar { display: none; }

.nat-row {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

/* Card (360×376) */
.role-card {
  flex: 0 0 360px;
  width: 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.role-media {
  width: 360px;
  height: 292px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--neutral-875);
}

.role-gif {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.role-card:hover .role-gif { transform: scale(1.05); }

.role-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Figma 2994:24237 — card title: Inter 400 / 18px / lh 24px / -0.4px / white */
.role-title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.4px;
  color: #fff;
}

/* Figma 2994:24238 — card body: Inter 400 / 14px / lh 20px / -0.4px / #656565 */
.role-desc {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.4px;
  color: #656565;
  max-width: 300px;
}

/* ---------- Scroll indicator (1112×4) ---------- */
.nat-track {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  overflow: hidden;
}
.nat-thumb {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  background: #fff;
  border-radius: 100px;
  will-change: transform, width;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .role-card { flex-basis: 280px; width: 280px; }
  .role-media { width: 280px; height: 226px; }
}

@media (max-width: 720px) {
  .nat-sticky { padding: 56px 0; gap: 32px; }
  .nat-title { font-size: 36px; line-height: 42px; letter-spacing: -0.044em; }
}
/* ----------------------------------------------------------------
   Resources / Go Deeper — matches Figma 2994:24265
   1112-wide section. Header (gap 16) then a 2-col grid (gap 16).
---------------------------------------------------------------- */
.gd { padding: 120px 0; }

.gd-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.gd-title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 36px;
  line-height: 42px;
  letter-spacing: -0.044em;
  color: #fff;
}

/* ---------- Grid ---------- */
.gd-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gd-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---------- Media (292h, rounded 12, image fills) ---------- */
.gd-media {
  position: relative;
  width: 100%;
  height: 292px;
  border-radius: 12px;
  overflow: hidden;
  background: #0e0e0e;
}
.gd-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.gd-card:hover .gd-media-img { transform: scale(1.04); }
.gd-media-blog .gd-media-img {
  object-fit: contain;
}

/* Bottom-left tag pill */
.gd-pill {
  position: absolute;
  left: 12px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
}
.gd-pill-dark { background: rgba(0, 0, 0, 0.5); }
.gd-pill-light { background: rgba(255, 255, 255, 0.1); }

.gd-pill-dot {
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  flex: 0 0 auto;
}

/* ---------- Body ---------- */
.gd-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gd-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gd-card-title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.4px;
  color: #fff;
}

.gd-card-desc {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.4px;
  color: #656565;
  max-width: 400px;
  /* single-line truncate, matching Figma */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .gd-grid { grid-template-columns: 1fr; }
  .gd-card-desc { max-width: 100%; }
}

@media (max-width: 720px) {
  .gd { padding: 72px 0; }
  .gd-title { font-size: 36px; line-height: 42px; letter-spacing: -0.044em; }
  .gd-grid { margin-top: 32px; gap: 24px; }
  .gd-media { height: 220px; }
  .gd-card-desc { white-space: normal; }
}
/* ----------------------------------------------------------------
   FAQ — matches Figma 3296:76368
   1112-wide section. Centered header, 80px gap, then 4 rows with
   #202020 bottom borders and 32px between rows.
---------------------------------------------------------------- */
.faq { padding: 120px 0; }

.faq-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.faq-title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 36px;
  line-height: 42px;
  letter-spacing: -0.044em;
  color: #fff;
}

.faq-list {
  margin: 80px auto 0;
  width: 100%;
  max-width: 1112px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Each row: question button on top, optional answer below, 16px
   padding-bottom + 1px #202020 divider underneath. */
.faq-item {
  border-bottom: 1px solid #202020;
  padding-bottom: 16px;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: #fff;
}

.faq-q-text {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.4px;
  color: #fff;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #fff;
  flex: 0 0 auto;
  transition: transform 0.25s ease;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }

/* Collapsible answer — animate via max-height + opacity */
.faq-a-wrap {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s ease, margin-top 0.3s ease;
}
.faq-item.is-open .faq-a-wrap {
  max-height: 320px;
  opacity: 1;
  margin-top: 12px;
}

.faq-a {
  margin: 0;
  max-width: 800px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: -0.2px;
  color: var(--neutral-300);
}

@media (max-width: 720px) {
  .faq { padding: 72px 0; }
  .faq-title { font-size: 36px; line-height: 42px; letter-spacing: -0.044em; }
  .faq-list { margin-top: 48px; gap: 24px; }
  .faq-q-text { font-size: 16px; line-height: 22px; }
}
/* ----------------------------------------------------------------
   Footer CTA — matches Figma 2994:24349
   1440×600 frame with a centered glowing spotlight background
---------------------------------------------------------------- */
.fcta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.fcta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* Fade the top edge into the section above so there's no hard seam — the
     glow eases in from transparent over the top ~22%. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%);
}
.fcta-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.fcta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.fcta-title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.044em;
  color: #fff;
  max-width: 600px;
}

/* Email form — Figma 2994:24353: translucent pill, white "Subscribe" button.
   Container: bg rgba(255,255,255,0.1), pl-16 pr-6 py-6, rounded-8, blur-20. */
.fcta-form {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 6px 6px 16px;
  width: 100%;
  max-width: 460px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Input "Email Address": Inter 400 / 14px / lh 20px / -0.2px / white */
.fcta-input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.2px;
}
.fcta-input::placeholder { color: rgba(255, 255, 255, 0.6); }

/* Button "Subscribe": white bg, h-40, px-16 py-8, rounded-8;
   text ABC Diatype Mono 12px / lh 18px / 0.4px / uppercase / #0a0a0a */
.fcta-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 8px 16px;
  background: #fff;
  border: 0;
  border-radius: 8px;
  color: #0a0a0a;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.fcta-submit:hover { background: #f1f1f5; }
.fcta-submit:disabled {
  background: rgba(255, 255, 255, 0.6);
  color: #0a0a0a;
  cursor: not-allowed;
}

.fcta-error {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--red-400);
}

/* Figma 2994:24353 shows the "Subscribe" label (no arrow) on all sizes */
.fcta-submit-desktop { display: none; }
.fcta-submit-mobile { display: inline; }
.fcta-submit svg { display: none; }

/* ----- Mobile (Figma 3490:28302 — 380×561) ----- */
@media (max-width: 720px) {
  .fcta {
    min-height: 561px;
    padding: 64px 0;
  }

  /* Mobile background (Figma 3490:25860): blurred glow image at 60%
     opacity over the dark base. Scaled up so the 25px blur doesn't reveal
     transparent edges. */
  .fcta-bg { background: #04040a; }
  .fcta-bg-img {
    opacity: 0.6;
    filter: blur(25px);
    transform: scale(1.2);
    object-position: center bottom;
  }

  .fcta-inner { gap: 30px; }

  .fcta-title {
    font-size: 32px;
    line-height: 42px;
    letter-spacing: -0.05em;
    max-width: 295px;
  }

  /* Form stays horizontal; 321px pill with white Subscribe button */
  .fcta-form {
    flex-direction: row;
    width: 321px;
    max-width: 100%;
    gap: 0;
    padding: 6px 6px 6px 0;
    background: rgba(255, 255, 255, 0.1);
    border: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .fcta-input {
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }

  .fcta-submit {
    height: 40px;
    padding: 8px 16px;
    background: #fff;
    color: #0a0a0a;
    border-radius: 8px;
  }
  .fcta-submit:hover { background: #f1f1f5; }
  .fcta-submit:disabled {
    background: rgba(255, 255, 255, 0.6);
    color: #0a0a0a;
  }

  /* Swap button label: hide desktop text + arrow, show "Subscribe" */
  .fcta-submit-desktop { display: none; }
  .fcta-submit-mobile { display: inline; }
  .fcta-submit svg { display: none; }
}
/* ----------------------------------------------------------------
   Footer — matches Figma 2994:24365 (296h dark slab w/ 1112-wide grid)
---------------------------------------------------------------- */
.footer {
  background: #0e0e0e;
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 62px;
}

/* ---------- Top row (brand block + 3 link columns) — Figma 2994:24368
   270px brand block + 644px columns block, space-between within 1112. ---------- */
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}

.footer-brand {
  flex: 0 0 270px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Horizontal white wordmark (same asset as the header). align-self keeps the
   image from stretching to the column's cross-axis width. */
.footer-logo {
  height: 20px;
  width: auto;
  align-self: flex-start;
  display: block;
}

.footer-tagline {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.4px;
  color: #656565;
}

.footer-cols {
  flex: 0 1 644px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col-title {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #fff;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: -0.2px;
  color: #656565;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: #fff; }

/* ---------- Bottom row (copyright + legal) — Figma 2994:24392
   Order: © 2026 | Privacy Policy | Terms of use. Mono / uppercase / #ebebeb. ---------- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-legal {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #ebebeb;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-legal:hover { color: #fff; }

.footer-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #ebebeb;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-brand { flex: none; width: 100%; max-width: 320px; }
  .footer-cols {
    flex: none;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 40px 80px;
  }
}
@media (max-width: 560px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
/* ----------------------------------------------------------------
   Freestyle — playable "tap trading" demo. Matches Figma 3943:9590
   (and the 9992 / 10389 / 10811 / 9148 states it flows through).
   Full-screen game: grid board + live ETH chart + tap-to-place boxes
   + 30s round + Demo Complete modal. Sizes scale off --cell (set in
   JS from the board width) so the 120px Figma grid stays proportional.
---------------------------------------------------------------- */
.fs-root {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #171925;
  color: #fff;
  font-family: var(--font-sans);
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
  --cell: 120px;
  --playhead: 25%;
  --accent: #3c3dbd;
}

/* ---------- Grid board ---------- */
.fs-grid {
  position: absolute;
  inset: 0;
  background-color: #14141f;
  background-image:
    linear-gradient(to right, rgba(40, 40, 56, 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(40, 40, 56, 0.45) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
}
/* Dots on the grid intersections, brighter toward the centre. */
.fs-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1.4px, transparent 1.6px);
  background-size: var(--cell) var(--cell);
  background-position: -0.7px -0.7px;
}
/* Vignette so edges fall off into #171925. */
.fs-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 50% 45%, transparent 55%, rgba(23, 25, 37, 0.85) 100%);
}

.fs-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* The "now" line where the chart meets the play area. */
.fs-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--playhead);
  width: 2px;
  transform: translateX(-1px);
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(120, 130, 255, 0) 0%,
    rgba(165, 175, 255, 0.85) 45%,
    rgba(165, 175, 255, 0.85) 55%,
    rgba(120, 130, 255, 0) 100%
  );
  box-shadow: 0 0 18px 2px rgba(120, 130, 255, 0.45);
}

/* ---------- Boxes ---------- */
.fs-box {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--box-size, 108px);
  height: var(--box-size, 108px);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #fff;
  will-change: transform;
  background: linear-gradient(180deg, #6a78ff 0%, #3b3bbe 100%);
  border: 1.5px solid rgba(150, 158, 255, 0.85);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 8px 22px rgba(60, 61, 189, 0.32);
  transition:
    opacity 0.45s ease,
    filter 0.45s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.fs-box .fs-box-amt {
  font-size: calc(var(--box-size, 108px) * 0.13);
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1;
}
.fs-box .fs-box-mult {
  font-size: calc(var(--box-size, 108px) * 0.105);
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: -0.2px;
  line-height: 1;
}
/* Drop-in pop when placed. */
.fs-box.fs-pop {
  animation: fs-pop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes fs-pop {
  from { transform: var(--pos) scale(0.4); opacity: 0; }
  to { transform: var(--pos) scale(1); opacity: 1; }
}
/* Outcome states. */
.fs-box.fs-win {
  background: linear-gradient(180deg, #1fe0a0 0%, #0e9b6e 100%);
  border-color: #16ffb6;
  box-shadow: 0 0 28px rgba(22, 255, 182, 0.5);
}
.fs-box.fs-win .fs-box-mult { color: rgba(255, 255, 255, 0.9); }
.fs-box.fs-miss {
  opacity: 0.22;
  filter: grayscale(1);
  box-shadow: none;
}
/* Ghost placement hints (Place-Boxes tutorial). */
.fs-box.fs-ghost {
  background: linear-gradient(180deg, rgba(50, 50, 165, 0.14) 0%, rgba(98, 113, 255, 0.14) 100%);
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

/* ---------- Top navbar ---------- */
.fs-bar {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
}
.fs-navbar { top: 0; height: 100px; }
.fs-navbar::before,
.fs-bottombar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 31, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  -webkit-mask: linear-gradient(to bottom, #000 40%, transparent);
  mask: linear-gradient(to bottom, #000 40%, transparent);
  pointer-events: none;
}
.fs-bottombar::before {
  -webkit-mask: linear-gradient(to top, #000 40%, transparent);
  mask: linear-gradient(to top, #000 40%, transparent);
}

.fs-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 18px;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}
.fs-logo {
  padding: 10px 26px;
  height: 44px;
}
.fs-logo img { height: 24px; width: auto; }

.fs-accent-pill {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--accent);
  color: #fff;
}
.fs-login { padding: 10px 40px; }

/* Gameplay nav (Wallet / Menu / Logout) */
.fs-nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.fs-nav-btn {
  padding: 10px 20px;
  cursor: pointer;
}
.fs-nav-ico { width: 20px; height: 20px; }
.fs-help .fs-nav-ico { width: 24px; height: 24px; }
.fs-logout {
  padding: 10px 20px;
  background: #39232b;
  border: 1px solid rgba(255, 72, 136, 0.15);
  color: #ff4888;
}
.fs-logout .fs-nav-ico { width: 22px; height: 22px; }

/* Center Freestyle / DEMO badge */
.fs-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 166px;
  background: linear-gradient(180deg, #454ac8 0%, #222462 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.fs-brand-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 9px 36px;
  border-radius: 166px;
  background: linear-gradient(90deg, #1c1c57 0%, #3c3dbd 100%);
}
.fs-brand-title { font-size: 24px; letter-spacing: -1px; line-height: 1; }
.fs-brand-sub {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Balance (top-left, below navbar) ---------- */
.fs-balance {
  position: absolute;
  left: 30px;
  top: 120px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.fs-balance-label { font-size: 16px; letter-spacing: -0.5px; }
.fs-balance-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 8px 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.fs-balance-amt {
  font-family: var(--font-mono);
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.05;
  letter-spacing: 0.5px;
}
.fs-balance-delta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 8px;
  background: #1e342c;
  border: 1px solid #0d996d;
  color: #16ffb6;
  font-size: 18px;
  letter-spacing: -0.6px;
  white-space: nowrap;
}

/* ---------- Bottom bar ---------- */
.fs-bottombar { bottom: 0; height: 120px; }
.fs-eth {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.fs-eth img { width: 40px; height: 40px; }
.fs-eth-label { font-size: 18px; letter-spacing: -0.5px; }
.fs-eth-price {
  font-family: var(--font-mono);
  font-size: 28px;
  letter-spacing: 0.5px;
  line-height: 1.1;
}
/* Centered group: Follow Graph + (gameplay) stake selector. */
.fs-bottom-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}
.fs-follow {
  padding: 12px 20px;
  cursor: pointer;
}
.fs-follow img { width: 22px; height: 22px; }
.fs-follow.fs-off { opacity: 0.55; }
.fs-skip {
  padding: 10px 20px;
  cursor: pointer;
  gap: 4px;
  position: relative;
  z-index: 1;
}
.fs-skip .fs-arrow { width: 22px; height: 22px; }
.fs-help {
  padding: 10px 20px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

/* ---------- Stake selector (gameplay) ---------- */
.fs-coin { width: 22px; height: 22px; }
.fs-stake-lead {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 55px;
  padding: 12px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  letter-spacing: -0.5px;
  cursor: pointer;
}
.fs-stake-open {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
}
.fs-stake-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 80px;
  height: 55px;
  padding: 14px 16px;
  border: none;
  background: transparent;
  border-radius: 100px;
  color: #fff;
  font-size: 18px;
  letter-spacing: -0.5px;
  cursor: pointer;
  font-family: inherit;
}
.fs-stake-chip.fs-stake-sel {
  background: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.fs-stake-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  margin: 0 6px;
  padding: 8px 16px;
  border: none;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 18px;
  letter-spacing: -0.5px;
  cursor: pointer;
  font-family: inherit;
}

/* ---------- Round pill + timer (top-center, below navbar) ---------- */
.fs-round {
  position: absolute;
  left: 50%;
  top: 116px;
  transform: translateX(-50%);
  z-index: 16;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 22px 6px 6px;
  border-radius: 100px;
  background: rgba(12, 12, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.fs-timer {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background:
    radial-gradient(circle at center, #2a0d12 60%, transparent 61%),
    conic-gradient(#ff4262 var(--p, 100%), rgba(255, 66, 98, 0.18) 0);
}
.fs-round-label { font-size: 18px; letter-spacing: -0.4px; }

/* ---------- Tutorial: "Finish the tutorial first" toast ---------- */
.fs-warn {
  position: absolute;
  left: 50%;
  top: 74px;
  transform: translateX(-50%);
  z-index: 26;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 32px 6px 6px;
  border-radius: 100px;
  background: rgba(255, 215, 72, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffbd00;
  font-size: 22px;
  letter-spacing: -0.9px;
  white-space: nowrap;
  animation: fs-fade 0.2s ease;
}
.fs-warn-ico {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ffbd00 0%, #5c4400 100%);
  border: 2px solid #5c4400;
  color: #1a1300;
  font-weight: 700;
  font-size: 24px;
}

/* ---------- Tutorial: step badge + card placement ---------- */
.fs-step-badge {
  position: absolute;
  top: 16px;
  left: 20px;
  padding: 4px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 16px;
  letter-spacing: -0.5px;
  color: #fff;
}
.fs-card-low { top: 62%; }
.fs-card-center .fs-card-body { text-align: center; }

/* ---------- Tutorial card ---------- */
.fs-card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 30;
  width: 391px;
  max-width: calc(100vw - 40px);
  padding: 60px 20px 20px;
  border-radius: 20px;
  background: #21213e;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.fs-avatar {
  position: absolute;
  left: 50%;
  top: -47px;
  transform: translateX(-50%);
  width: 78px;
  height: 80px;
  border-radius: 100px;
  object-fit: cover;
  background: #21213e;
}
.fs-card-title {
  font-size: 26px;
  letter-spacing: -1px;
  line-height: 1.1;
}
.fs-card-desc {
  font-size: 18px;
  letter-spacing: -0.6px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}
.fs-card-body { display: flex; flex-direction: column; gap: 16px; }
.fs-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  letter-spacing: -0.5px;
  font-family: inherit;
}
.fs-btn .fs-arrow { width: 22px; height: 22px; }
.fs-btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
}
.fs-btn-icon { width: 22px; height: 22px; border-radius: 4px; object-fit: contain; }

/* ---------- Demo Complete modal ---------- */
.fs-backdrop {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: rgba(8, 8, 14, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  animation: fs-fade 0.3s ease;
}
@keyframes fs-fade { from { opacity: 0; } to { opacity: 1; } }
.fs-modal {
  position: relative;
  width: 400px;
  max-width: calc(100vw - 40px);
  padding: 60px 20px 20px;
  border-radius: 20px;
  background: #21213e;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: fs-rise 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes fs-rise {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.fs-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.fs-modal-head { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; }
.fs-modal-title { font-size: 26px; letter-spacing: -1px; }
.fs-modal-win {
  font-family: var(--font-mono);
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: 0.5px;
  color: #16ffb6;
}
.fs-modal-sub {
  font-size: 16px;
  letter-spacing: -0.6px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  max-width: 240px;
  line-height: 1.4;
}
.fs-claim {
  width: 100%;
  background: #1a1a39;
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.fs-claim-label { font-size: 18px; letter-spacing: -0.6px; }
.fs-claim-track {
  width: 100%;
  height: 11px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.fs-claim-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, #23246c 0%, #3c3dbd 100%);
  transform-origin: left center;
  animation: fs-claim 30s linear forwards;
}
@keyframes fs-claim { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.fs-modal-actions { display: flex; flex-direction: column; gap: 12px; width: 100%; }

/* ---------- Brand switch toggle (gameplay: Freestyle ↔ Parlay) ---------- */
.fs-brand-switch { gap: 6px; }
.fs-brand-half {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 9px 22px;
  border-radius: 166px;
  text-align: center;
  color: #fff;
  text-decoration: none;
}
.fs-brand-switch .fs-brand-half:first-child {
  background: linear-gradient(90deg, #1c1c57 0%, #3c3dbd 100%);
}
.fs-brand-switchbtn { background: rgba(255, 255, 255, 0.12); cursor: pointer; }
.fs-brand-switchbtn .fs-brand-sub { color: rgba(255, 255, 255, 0.85); }

/* ================= PARLAY (pink theme) ================= */
.fs-parlay { background: #260e18; --accent: #cb2d61; }
.fs-parlay .fs-grid {
  background-color: #1c0c13;
  background-image:
    linear-gradient(to right, rgba(75, 32, 54, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(75, 32, 54, 0.5) 1px, transparent 1px);
}
.fs-parlay .fs-grid::before {
  background-image: radial-gradient(rgba(255, 120, 160, 0.07) 1.4px, transparent 1.6px);
}
.fs-parlay .fs-grid::after {
  background: radial-gradient(120% 120% at 50% 45%, transparent 55%, rgba(38, 14, 24, 0.88) 100%);
}
.fs-parlay .fs-playhead {
  background: linear-gradient(
    to bottom,
    rgba(255, 90, 140, 0) 0%,
    rgba(255, 110, 160, 0.9) 45%,
    rgba(255, 110, 160, 0.9) 55%,
    rgba(255, 90, 140, 0) 100%
  );
  box-shadow: 0 0 18px 2px rgba(243, 45, 111, 0.5);
}

/* Parlay brand pills */
.fs-parlay .fs-brand { background: linear-gradient(180deg, #be124b 0%, #1f040d 100%); }
.fs-parlay .fs-brand-inner { background: linear-gradient(90deg, #f32d6f 0%, #be124b 100%); }
.fs-parlay .fs-brand-switch .fs-brand-half:first-child {
  background: linear-gradient(90deg, #f32d6f 0%, #be124b 100%);
}

/* Flame boxes */
.fs-flame {
  width: 46%;
  height: 46%;
  color: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 0 6px rgba(255, 120, 160, 0.7));
}
.fs-parlay .fs-box {
  background: linear-gradient(180deg, #f32d6f 0%, #67001c 100%);
  border: 2px solid #c01951;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 22px rgba(192, 25, 81, 0.4);
}
.fs-parlay .fs-box.fs-win {
  background: linear-gradient(180deg, #ff4d8d 0%, #b00040 100%);
  border-color: #ff6fa3;
  box-shadow: 0 0 28px rgba(255, 80, 140, 0.6);
}
.fs-parlay .fs-box.fs-ghost {
  background: rgba(64, 27, 40, 0.47);
  border: 2px solid #4a2036;
}

/* Payout banner */
.fs-parlay-banner {
  position: absolute;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 16;
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.fs-parlay-mult {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 10px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ff0055 0%, #d8205d 100%);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 30px;
  box-shadow: 0 0 40px rgba(203, 45, 97, 0.55);
}
.fs-parlay-payout {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ff0055 0%, #d8205d 100%);
  box-shadow: 0 0 50px rgba(203, 45, 97, 0.5);
}
.fs-parlay-payout .fs-flame {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 6px;
  box-sizing: border-box;
}
.fs-parlay-payout-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: rgba(255, 255, 255, 0.92);
}
.fs-parlay-payout-amt {
  font-family: var(--font-mono);
  font-size: 28px;
  line-height: 1.1;
  color: #fff;
}

/* Parlay buttons / accents */
.fs-btn-parlay { background: #cb2d61; }
.fs-modal-win-pink { color: #ff5a8c; }

/* Parlay config modal */
.fs-modal-config {
  width: 420px;
  align-items: stretch;
  gap: 16px;
  text-align: left;
}
.fs-config-title { font-size: 26px; letter-spacing: -1px; color: #fff; }
.fs-config-section { display: flex; flex-direction: column; gap: 12px; }
.fs-config-label { font-size: 18px; letter-spacing: -0.6px; color: #fff; }
.fs-config-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 8px 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
}
.fs-config-max {
  background: #cb2d61;
  padding: 6px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
}
.fs-config-bets { display: flex; gap: 12px; }
.fs-config-bet {
  flex: 1;
  padding: 12px 8px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
  letter-spacing: -0.5px;
  cursor: pointer;
  font-family: inherit;
}
.fs-config-bet.fs-sel { background: #cb2d61; }
.fs-config-boxrow { display: flex; justify-content: space-between; align-items: center; }
.fs-config-boxnum { display: flex; align-items: baseline; gap: 6px; color: #fff; font-size: 18px; }
.fs-config-bignum { font-family: var(--font-mono); font-size: 44px; line-height: 1; }
.fs-config-badges { display: flex; gap: 8px; }
.fs-config-mult {
  background: #cb2d61;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}
.fs-config-time {
  background: rgba(38, 14, 24, 0.5);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 16px;
  color: #fff;
}
.fs-config-slider {
  width: 100%;
  accent-color: #f32d6f;
  cursor: pointer;
}
.fs-config-ticks {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}
.fs-config-payout {
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 44px rgba(203, 45, 97, 0.45);
}
.fs-config-payout-label { font-size: 18px; letter-spacing: -0.6px; color: #fff; }
.fs-config-payout-amt {
  font-family: var(--font-mono);
  font-size: 34px;
  color: #fff;
  margin-top: 4px;
}

/* ---------- Gameplay Menu popup ---------- */
.fs-menu-backdrop { z-index: 45; }
.fs-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 1000px;
  max-width: calc(100vw - 40px);
  animation: fs-rise 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.fs-menu-head { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.fs-menu-logo { height: 56px; width: auto; }
.fs-menu-title { font-size: 30px; letter-spacing: -0.5px; color: #fff; }
.fs-menu-panel {
  position: relative;
  width: 100%;
  padding: 72px 20px 20px;
  border-radius: 20px;
  background: #2c2c46;
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.fs-parlay .fs-menu-panel { background: #462c36; }
.fs-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  border: none;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 16px;
  letter-spacing: -0.6px;
  font-family: inherit;
  cursor: pointer;
}
.fs-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.fs-menu-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}
.fs-menu-card:hover { background: rgba(255, 255, 255, 0.16); }
.fs-menu-card:active { transform: scale(0.99); }
.fs-menu-card-active {
  background: linear-gradient(90deg, #3c3dbd 0%, #1c1c57 100%);
  border-color: rgba(255, 255, 255, 0.1);
}
.fs-menu-card-active:hover { background: linear-gradient(90deg, #4647d4 0%, #232268 100%); }
.fs-parlay .fs-menu-card-active {
  background: linear-gradient(90deg, #cb2d61 0%, #63132d 100%);
}
.fs-parlay .fs-menu-card-active:hover { background: linear-gradient(90deg, #e0376f 0%, #76183a 100%); }
.fs-menu-card-danger {
  background: rgba(255, 72, 136, 0.08);
  border-color: rgba(255, 72, 136, 0.18);
}
.fs-menu-card-danger:hover { background: rgba(255, 72, 136, 0.14); }
.fs-menu-card-danger .fs-menu-card-title,
.fs-menu-card-danger .fs-menu-card-sub { color: #ff4888; }
.fs-menu-card-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fs-menu-card-title { font-size: 26px; letter-spacing: -0.5px; line-height: 1.15; }
.fs-menu-card-sub {
  font-size: 15px;
  letter-spacing: -0.5px;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fs-menu-card-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.15);
}
.fs-menu-card-ico img { width: 32px; height: 32px; }

@media (max-width: 720px) {
  .fs-menu-grid { grid-template-columns: 1fr; }
  .fs-menu-card-title { font-size: 22px; }
}

/* ---------- Menu sub-modals (Settings / Feedback / Leaderboard / Wallet) ---------- */
.fs-sub-modal {
  width: 420px;
  max-width: calc(100vw - 40px);
  align-items: stretch;
  gap: 20px;
  padding: 24px 20px 20px;
  text-align: left;
}
.fs-sub-modal.fs-modal-center { align-items: center; text-align: center; }
.fs-modal-scroll { max-height: 88vh; overflow-y: auto; }
.fs-parlay .fs-sub-modal,
.fs-parlay .fs-menu-panel { background: #2a1822; }
.fs-sub-title { font-size: 26px; letter-spacing: -0.8px; color: #fff; text-align: center; }
.fs-sub-sub {
  font-size: 14px;
  letter-spacing: -0.3px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-top: -12px;
}
.fs-sub-section { display: flex; flex-direction: column; gap: 12px; }
.fs-sub-label { font-size: 15px; letter-spacing: -0.4px; color: rgba(255, 255, 255, 0.92); }
.fs-muted { color: rgba(255, 255, 255, 0.5); }

/* Settings: audio toggle cards */
.fs-audio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fs-audio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: inherit;
  cursor: pointer;
}
.fs-audio-ico { width: 34px; height: 34px; color: rgba(255, 255, 255, 0.85); }
.fs-audio-name { font-size: 14px; letter-spacing: -0.3px; }
.fs-toggle {
  width: 40px;
  height: 22px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
  transition: background 0.2s ease;
}
.fs-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}
.fs-toggle-on { background: var(--accent); }
.fs-toggle-on .fs-toggle-knob { transform: translateX(18px); }

/* Settings: help block */
.fs-help-call {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}
.fs-help-call-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.fs-help-phone { font-size: 20px; letter-spacing: -0.4px; color: #fff; }
.fs-mini-ico { width: 16px; height: 16px; }
.fs-btn .fs-mini-ico { width: 18px; height: 18px; }

/* Feedback */
.fs-feel-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.fs-feel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 13px;
  letter-spacing: -0.3px;
  cursor: pointer;
  font-family: inherit;
}
.fs-feel-emoji { font-size: 22px; line-height: 1; }
.fs-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.fs-chip {
  padding: 8px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 14px;
  letter-spacing: -0.3px;
  cursor: pointer;
  font-family: inherit;
}
.fs-feel.fs-sel,
.fs-chip.fs-sel {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 22%, transparent);
}
.fs-textarea {
  width: 100%;
  min-height: 84px;
  resize: vertical;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: -0.3px;
}
.fs-textarea::placeholder { color: rgba(255, 255, 255, 0.4); }

/* Leaderboard */
.fs-lb-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  align-self: center;
}
.fs-lb-tab {
  padding: 8px 26px;
  border: none;
  border-radius: 100px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
}
.fs-lb-tab.fs-sel { background: rgba(255, 255, 255, 0.14); color: #fff; }
.fs-lb-list { display: flex; flex-direction: column; gap: 8px; }
.fs-lb-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.fs-lb-rank { font-size: 15px; color: rgba(255, 255, 255, 0.7); text-align: center; }
.fs-lb-name { font-size: 15px; letter-spacing: -0.3px; }
.fs-lb-amt { font-size: 15px; color: #16ffb6; }
.fs-lb-medal-1 { background: rgba(255, 196, 0, 0.14); }
.fs-lb-medal-1 .fs-lb-rank { color: #ffc400; }
.fs-lb-medal-2 { background: rgba(200, 200, 220, 0.12); }
.fs-lb-medal-2 .fs-lb-rank { color: #d2d6e6; }
.fs-lb-medal-3 { background: rgba(205, 127, 50, 0.14); }
.fs-lb-medal-3 .fs-lb-rank { color: #cd7f32; }
.fs-lb-you { background: var(--accent); }
.fs-lb-you .fs-lb-rank,
.fs-lb-you .fs-lb-amt { color: #fff; }

/* Wallet */
.fs-wallet-amt {
  font-family: var(--font-mono);
  font-size: 48px;
  letter-spacing: 0.5px;
  color: var(--accent);
  line-height: 1.1;
}
.fs-parlay .fs-wallet-amt { color: #ff5a8c; }
.fs-wallet-phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 15px;
  color: #fff;
}

/* ---------- Deposit flow ---------- */
.fs-deposit-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  letter-spacing: -0.3px;
  text-align: left;
  -moz-appearance: textfield;
}
.fs-deposit-input::-webkit-outer-spin-button,
.fs-deposit-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fs-deposit-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.fs-deposit-chips { justify-content: center; }

/* Cash App header + badge */
.fs-cashapp-head { display: flex; align-items: center; justify-content: center; gap: 10px; }
.fs-cashapp-badge {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #00d54b;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  flex: 0 0 auto;
}
.fs-cashapp-sm { width: 22px; height: 22px; border-radius: 6px; font-size: 14px; display: inline-grid; }

/* QR */
.fs-qr {
  width: 220px;
  height: 220px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  align-self: center;
}
.fs-qr svg { width: 100%; height: 100%; display: block; }
.fs-qr-note-label { font-size: 14px; color: rgba(255, 255, 255, 0.7); text-align: center; }
.fs-required { color: #ff4888; }
.fs-qr-code {
  width: 100%;
  padding: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.5px;
}
.fs-qr-timer {
  width: 100%;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.fs-qr-timer-label {
  display: block;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 0 6px;
}
.fs-qr-timer-bar {
  height: 6px;
  border-radius: 100px;
  background: var(--accent);
  transform-origin: left center;
  animation: fs-qr-countdown 120s linear forwards;
}
@keyframes fs-qr-countdown { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* Success */
.fs-deposit-win {
  font-family: var(--font-mono);
  font-size: 44px;
  letter-spacing: 0.5px;
  color: #16ffb6;
  line-height: 1.1;
}
.fs-deposit-rows {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.fs-deposit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 15px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.fs-deposit-row:last-child { border-bottom: none; }
.fs-deposit-paid { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Withdrawal flow ---------- */
.fs-balance-chip {
  align-self: center;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  letter-spacing: -0.3px;
}
.fs-withdraw-input-row { display: flex; gap: 10px; width: 100%; }
.fs-withdraw-input-row .fs-deposit-input { flex: 1; }
.fs-max-btn {
  flex: 0 0 auto;
  padding: 0 20px;
  border: none;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
}
.fs-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Big Cash App logo */
.fs-cashapp-logo {
  width: 130px;
  height: 130px;
  border-radius: 28px;
  background: #00d54b;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 80px;
  font-weight: 700;
  align-self: center;
  box-shadow: 0 12px 36px rgba(0, 213, 75, 0.3);
}

/* Email-receipts checkbox row */
.fs-receipts {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.fs-check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: grid;
  place-items: center;
  font-size: 14px;
  color: #fff;
}
.fs-check-on { background: var(--accent); border-color: var(--accent); }
.fs-receipts-text { display: flex; flex-direction: column; gap: 2px; }
.fs-receipts-title { font-size: 15px; letter-spacing: -0.3px; }
.fs-receipts-text .fs-muted { font-size: 13px; }

/* Confirm + submitted amounts */
.fs-confirm-amt {
  font-family: var(--font-mono);
  font-size: 44px;
  letter-spacing: 0.5px;
  color: var(--accent);
  line-height: 1.1;
}
.fs-parlay .fs-confirm-amt { color: #ff5a8c; }
.fs-submit-amt {
  font-family: var(--font-mono);
  font-size: 44px;
  letter-spacing: 0.5px;
  color: #ffbd00;
  line-height: 1.1;
}
.fs-approve-pill {
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 189, 0, 0.1);
  border: 1px solid rgba(255, 189, 0, 0.25);
  color: #ffbd00;
  font-size: 14px;
  letter-spacing: -0.3px;
}

/* ---------- Signup flow (after demo) ---------- */
.fs-phone-row { display: flex; gap: 10px; width: 100%; }
.fs-phone-cc {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 15px;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.fs-phone-row .fs-deposit-input { flex: 1; }
.fs-consent { align-items: flex-start; }
.fs-consent .fs-check { margin-top: 1px; }
.fs-consent-text { font-size: 12px; line-height: 1.45; }
.fs-otp { display: flex; gap: 12px; justify-content: center; width: 100%; }
.fs-otp-box {
  width: 60px;
  height: 64px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 26px;
  text-align: center;
  font-family: var(--font-mono);
}
.fs-otp-box:focus { outline: none; border-color: var(--accent); }
.fs-btn-link {
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  letter-spacing: -0.3px;
  cursor: pointer;
  font-family: inherit;
  padding: 4px;
}
.fs-btn-link:hover { color: #fff; }

/* ---------- Parlay Win / Lost popup ---------- */
.fs-wl-modal { gap: 16px; padding-top: 20px; }
.fs-wl-hero {
  position: relative;
  width: 100%;
  border-radius: 16px;
  padding: 40px 20px 36px;
  background:
    radial-gradient(120% 90% at 50% 120%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(180deg, #ff2d6f 0%, #c4185a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(203, 45, 97, 0.4);
}
.fs-wl-hero .fs-flame {
  width: 30px;
  height: 30px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 6px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}
.fs-wl-label {
  font-size: 16px;
  letter-spacing: -0.3px;
  color: rgba(255, 255, 255, 0.92);
}
.fs-wl-amount {
  font-family: var(--font-mono);
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: 0.5px;
  color: #fff;
}
.fs-wl-amount-unit { font-family: var(--font-sans); font-size: 20px; color: rgba(255, 255, 255, 0.85); }
.fs-wl-sub { font-size: 14px; color: rgba(255, 255, 255, 0.85); margin-top: 4px; }

/* ---------- Parlay "Finish your parlay first" guard popup ---------- */
.fs-guard {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 360px;
  max-width: calc(100vw - 40px);
  padding-top: 56px;
  animation: fs-rise 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.fs-guard-icon {
  position: absolute;
  left: 50%;
  top: -34px;
  transform: translateX(-50%);
  width: 68px;
  height: 68px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f32d6f 0%, #67001c 100%);
  border: 2px solid #c01951;
  box-shadow: 0 10px 28px rgba(192, 25, 81, 0.5);
}
.fs-guard-icon .fs-flame { width: 34px; height: 34px; color: rgba(255, 255, 255, 0.95); }

/* ---------- Parlay "Time's Up" safe banner ---------- */
.fs-safe-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(22, 255, 182, 0.08);
  border: 1px solid rgba(22, 255, 182, 0.25);
  color: #16ffb6;
  font-size: 14px;
  letter-spacing: -0.3px;
  text-align: left;
  line-height: 1.4;
}
.fs-safe-check {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(22, 255, 182, 0.18);
  color: #16ffb6;
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Idle-logout warning ---------- */
.fs-idle { width: 360px; gap: 18px; }
.fs-idle-timer {
  font-family: var(--font-mono);
  font-size: 44px;
  letter-spacing: 1px;
  color: #ffbd00;
  line-height: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .fs-bar { padding: 14px 16px; }
  .fs-navbar { height: 80px; }
  .fs-pill, .fs-eth-label, .fs-balance-label { font-size: 15px; }
  .fs-brand-inner { padding: 8px 24px; }
  .fs-brand-title { font-size: 20px; }
  .fs-login { padding: 8px 22px; }
  .fs-balance { top: 92px; left: 16px; }
  .fs-bottombar { height: 96px; }
  .fs-follow span { display: none; }
  .fs-round { top: 92px; }
}
