/* V.Vegas — Brex-inspired design tokens */
:root {
  --primary: #FF5900;
  --accent-hover: #E65000;
  --accent-pressed: #CC4700;
  --ink: #15191E;
  --body: #33383F;
  --muted: #60646C;
  --canvas: #FCFCFD;
  --surface: #FFFFFF;
  --surface-alt: #F6F7F9;
  --border: #E6E8EB;
  --border-strong: #C9CDD2;
  --soft-orange: #FFF3EC;
  --footer-bg: #15191E;
  --on-primary: #FFFFFF;
  --on-dark: #FCFCFD;
  --success: #138A43;
  --logo-gray: #A5A9B1;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;
  --max-width: 1200px;
  --section-pad: clamp(64px, 10vw, 120px);
  --gutter: clamp(24px, 4vw, 32px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Announcement bar */
.announcement {
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.announcement a {
  color: var(--on-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}

.announcement a:hover {
  color: var(--primary);
}

.announcement__arrow {
  transition: transform 0.15s ease;
}

.announcement a:hover .announcement__arrow {
  transform: translateX(3px);
}

/* Navigation */
.nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: 72px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.nav__logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  white-space: nowrap;
}

.nav__logo span {
  color: var(--primary);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav__links a:hover {
  background: var(--surface-alt);
}

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

.nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 0;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.nav__toggle span::before {
  top: -6px;
}

.nav__toggle span::after {
  top: 6px;
}

.nav__toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav__toggle[aria-expanded="true"] span::before {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav__toggle[aria-expanded="true"] span::after {
  transform: rotate(-45deg) translate(4px, -4px);
}

.nav__mobile {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px var(--gutter) 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.nav__mobile.is-open {
  display: block;
}

.nav__mobile ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.nav__mobile a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.43;
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  min-height: 44px;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}

.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--primary:active {
  background: var(--accent-pressed);
}

.btn--secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn--secondary:hover {
  border-color: var(--border-strong);
  background: var(--surface-alt);
}

.btn--link {
  background: transparent;
  color: var(--ink);
  padding: 0;
  min-height: 44px;
}

.btn--link .arrow {
  transition: transform 0.15s ease;
}

.btn--link:hover .arrow {
  transform: translateX(3px);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 15px;
}

/* Hero */
.hero {
  padding: clamp(48px, 8vw, 80px) 0 clamp(64px, 10vw, 100px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--soft-orange);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 20px;
}

.hero__title .brand {
  display: block;
  color: var(--primary);
}

.hero__subtitle {
  font-size: clamp(17px, 2.5vw, 20px);
  line-height: 1.5;
  color: var(--body);
  margin: 0 0 32px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--body);
}

.hero__bullets svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--success);
}

.hero__media {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.hero__panel {
  padding: 24px;
}

.hero__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.hero__panel-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.hero__panel-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
  background: rgba(19, 138, 67, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.hero__stat {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border);
}

.hero__stat-value {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 4px;
}

.hero__stat-label {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.hero__games {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero__game {
  aspect-ratio: 4/3;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  padding: 8px;
}

.hero__game--active {
  border-color: var(--primary);
  background: var(--soft-orange);
  color: var(--primary);
}

/* Section shared */
.section {
  padding: var(--section-pad) 0;
}

.section--alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__header {
  max-width: 640px;
  margin-bottom: 48px;
}

.section__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.section__title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 16px;
}

.section__desc {
  font-size: 16px;
  color: var(--body);
  margin: 0;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  background: var(--soft-orange);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.21;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}

.feature-card__text {
  font-size: 15px;
  color: var(--body);
  margin: 0 0 16px;
}

/* Metrics */
.metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.metric-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.metric-panel__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}

.metric-panel__value {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.1;
}

.metric-panel__desc {
  font-size: 15px;
  color: var(--body);
  margin: 0;
}

/* Trust */
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 48px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.trust-logo {
  font-size: 14px;
  font-weight: 600;
  color: var(--logo-gray);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.trust-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

.trust-badge svg {
  flex-shrink: 0;
  color: var(--success);
}

.trust-badge__text {
  font-size: 14px;
  color: var(--body);
  margin: 0;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step;
}

.step {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.step__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 8px;
}

.step__text {
  font-size: 15px;
  color: var(--body);
  margin: 0;
}

/* CTA band */
.cta-band {
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--section-pad) 0;
  text-align: center;
}

.cta-band__title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--on-dark);
}

.cta-band__desc {
  font-size: 17px;
  color: rgba(252, 252, 253, 0.8);
  margin: 0 auto 32px;
  max-width: 520px;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Footer */
.footer {
  background: var(--footer-bg);
  color: var(--on-dark);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.footer__brand {
  font-size: 18px;
  font-weight: 600;
  color: var(--on-dark);
  margin: 0 0 12px;
}

.footer__brand span {
  color: var(--primary);
}

.footer__tagline {
  font-size: 14px;
  color: rgba(252, 252, 253, 0.6);
  margin: 0;
  max-width: 280px;
}

.footer__heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(252, 252, 253, 0.5);
  margin: 0 0 16px;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 14px;
  color: rgba(252, 252, 253, 0.75);
}

.footer__links a:hover {
  color: var(--primary);
}

.footer__legal {
  border-top: 1px solid rgba(252, 252, 253, 0.1);
  padding-top: 24px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: rgba(252, 252, 253, 0.45);
}

.footer__legal p {
  margin: 0 0 8px;
}

/* Responsive */
@media (min-width: 768px) {
  .nav__toggle {
    display: none;
  }

  .nav__links {
    display: flex;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
