:root {
  --bg: #08111a;
  --bg-elevated: #0f1b28;
  --bg-soft: #152433;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --text: #eff6fb;
  --muted: #adc0cf;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #4dd8c8;
  --accent-warm: #ff875f;
  --accent-gold: #ffcb64;
  --max-width: 1180px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(77, 216, 200, 0.16), transparent 26%),
    radial-gradient(circle at 85% 18%, rgba(255, 135, 95, 0.16), transparent 22%),
    linear-gradient(180deg, #09131d 0%, #08111a 100%);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
li {
  color: var(--muted);
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

h1,
h2,
h3,
strong {
  color: var(--text);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(8, 17, 26, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(77, 216, 200, 0.95), rgba(255, 203, 100, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 30px rgba(77, 216, 200, 0.22);
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 700;
}

.brand-copy span:last-child {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0.25rem 0;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

.site-nav .nav-link-accent {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 216, 200, 0.34);
  color: var(--text);
  background: rgba(77, 216, 200, 0.08);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.hero-section,
.page-hero {
  padding: 4.8rem 0 3.5rem;
}

.hero-grid,
.compact-hero-grid,
.two-column,
.cta-row,
.contact-layout {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
}

.compact-hero-grid,
.two-column,
.cta-row,
.contact-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.eyebrow,
.panel-label,
.footer-heading {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow,
.panel-label {
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.icon-line {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.mini-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.mini-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-icon-globe {
  color: var(--accent);
}

.mini-icon-gamepad {
  color: var(--accent-gold);
}

.mini-icon-phone,
.mini-icon-mail {
  color: #8fb4ff;
}

.mini-icon-shield {
  color: var(--accent-warm);
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.6rem, 4vw, 4.8rem);
  line-height: 1.04;
  max-width: 12ch;
  margin-bottom: 1.15rem;
}

.compact-hero h1,
.legal-hero h1 {
  font-size: clamp(2.2rem, 3.2vw, 3.7rem);
  max-width: 15ch;
}

.hero-text,
.page-hero p {
  max-width: 60ch;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 140ms ease,
    background 140ms ease,
    border-color 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #55f1d7);
  color: #08211d;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin-top: 1.8rem;
}

.hero-points li {
  min-height: 82px;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.hero-visual {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(8, 17, 26, 0.32));
}

.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section-band {
  padding: 1.4rem 0 4.3rem;
}

.section-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.info-grid,
.metrics-grid,
.feature-grid,
.footer-grid {
  display: grid;
  gap: 1.3rem;
}

.info-grid,
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.three-fit {
  align-items: stretch;
}

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

.panel,
.metric-card,
.hero-badge-card,
.stack-item,
.legal-nav,
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.panel,
.stack-item,
.contact-panel {
  padding: 1.5rem;
}

.panel h2,
.panel h3,
.stack-item h3 {
  font-size: 1.45rem;
  line-height: 1.18;
  margin-bottom: 0.75rem;
}

.metric-card {
  min-height: 160px;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-card strong {
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent-gold);
}

.section-head {
  margin-bottom: 1.6rem;
}

.centered-head {
  text-align: center;
}

.centered-head h2,
.centered-head p {
  margin-left: auto;
  margin-right: auto;
}

.section-head h2,
.two-column h2,
.cta-row h2,
.timeline-layout h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
  max-width: 13ch;
  margin-bottom: 0.85rem;
}

.stack-list {
  display: grid;
  gap: 1rem;
}

.simple-hero {
  padding-bottom: 4.6rem;
}

.simple-hero .hero-copy h1 {
  max-width: 14ch;
}

.privacy-note,
.contact-card {
  display: grid;
  gap: 2rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.privacy-note h2,
.contact-card h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  margin-bottom: 0.85rem;
}

.plain-list {
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(8, 17, 26, 0.34);
}

.plain-list h3 {
  margin-bottom: 1rem;
}

.plain-list dl {
  display: grid;
  gap: 0.95rem;
  margin: 0;
}

.plain-list div {
  display: grid;
  gap: 0.15rem;
}

.plain-list dt {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.plain-list dd {
  margin: 0;
  color: var(--text);
}

.compact-actions {
  margin-top: 1.4rem;
}

.privacy-note {
  grid-template-columns: 0.8fr 1.2fr auto;
  align-items: center;
  padding: 2rem;
  border-radius: 24px;
}

.privacy-note p {
  margin-bottom: 0;
}

.contact-band {
  padding-bottom: 2.8rem;
}

.contact-card {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  padding: 2rem;
  border-radius: 24px;
}

.contact-lines {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.contact-lines a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-color: rgba(77, 216, 200, 0.52);
}

.slogan-band {
  padding: 0 0 3.2rem;
}

.slogan-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.slogan-card p {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
}

.legal-title {
  max-width: 760px;
}

.streamlined-legal {
  max-width: 920px;
}

.cta-band {
  padding-bottom: 5rem;
}

.cta-row {
  align-items: center;
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(77, 216, 200, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.hero-badge-card {
  padding: 1.5rem;
  display: grid;
  gap: 0.45rem;
}

.hero-badge-card span {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-badge-card strong,
.hero-badge-card strong a {
  font-size: 1.05rem;
  line-height: 1.4;
}

.timeline-layout,
.legal-container {
  display: grid;
  gap: 1.4rem;
}

.timeline-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.contact-panel .button {
  margin-top: 1rem;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
}

.site-footer {
  padding: 0.8rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  padding: 2rem 0;
}

.footer-grid div {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer-heading {
  color: var(--accent-gold);
  margin-bottom: 0.35rem;
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-layout {
  padding-top: 0.2rem;
}

.legal-container {
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 108px;
  padding: 1.1rem;
  display: grid;
  gap: 0.7rem;
}

.legal-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-nav a:hover {
  color: var(--text);
}

.legal-copy {
  padding: 1.6rem 1.7rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-copy section + section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-copy h2 {
  font-size: 1.55rem;
  margin-bottom: 0.9rem;
}

.legal-copy a,
.panel a,
.stack-item a,
.contact-panel a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-color: rgba(77, 216, 200, 0.52);
}

@media (max-width: 980px) {
  .hero-grid,
  .compact-hero-grid,
  .two-column,
  .cta-row,
  .contact-layout,
  .timeline-layout,
  .legal-container,
  .footer-grid,
  .info-grid,
  .feature-grid,
  .metrics-grid,
  .privacy-note,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }

  .privacy-note {
    align-items: start;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    width: min(280px, calc(100vw - 2rem));
    padding: 1rem;
    background: rgba(8, 17, 26, 0.97);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .header-row {
    min-height: 74px;
  }

  .hero-section,
  .page-hero {
    padding: 3.5rem 0 2.8rem;
  }

  .hero-copy h1,
  .page-hero h1,
  .compact-hero h1,
  .legal-hero h1 {
    max-width: none;
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .section-head h2,
  .two-column h2,
  .cta-row h2,
  .timeline-layout h2 {
    max-width: none;
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .cta-row,
  .legal-copy,
  .hero-badge-card,
  .panel,
  .stack-item {
    padding: 1.25rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
