:root {
  color-scheme: dark;
  --bg: #030712;
  --primary: #22c55e;
  --secondary: #16a34a;
  --accent: #eab308;
  --text: #d1fae5;
  --text-muted: rgba(209, 250, 229, 0.72);
  --surface: rgba(3, 7, 18, 0.78);
  --border: rgba(209, 250, 229, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at top, rgba(34, 197, 94, 0.13), transparent 34rem),
    radial-gradient(
      circle at bottom right,
      rgba(234, 179, 8, 0.1),
      transparent 28rem
    ),
    var(--bg);
}

body::after {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  content: '';
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(209, 250, 229, 0.28) 0 1px,
    transparent 1px 3px
  );
}

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

a,
button {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -96px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--bg);
  background: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  background: rgba(3, 7, 18, 0.46);
  backdrop-filter: blur(16px);
  transition:
    background 260ms ease,
    border-color 180ms ease,
    box-shadow 220ms ease;
}

.site-header.is-solid {
  border-bottom-color: rgba(34, 197, 94, 0.34);
  background: rgba(3, 7, 18, 0.95);
  box-shadow: 0 18px 54px rgba(3, 7, 18, 0.62);
}

.header-inner {
  width: min(1280px, calc(100% - 2rem));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.menu-toggle,
.lang-button {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(209, 250, 229, 0.28);
  color: var(--text);
  background: rgba(3, 7, 18, 0.45);
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  color: var(--primary);
  border-color: rgba(34, 197, 94, 0.45);
  font-weight: 700;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(209, 250, 229, 0.84);
  text-decoration: none;
  font-size: 0.94rem;
}

.primary-nav a:hover,
.primary-nav a[aria-current='page'] {
  color: var(--primary);
  background: rgba(34, 197, 94, 0.12);
}

.lang-toggle {
  display: flex;
  gap: 8px;
}

.lang-button.active {
  color: var(--bg);
  background: var(--primary);
  border-color: var(--primary);
}

main {
  position: relative;
  z-index: 2;
}

.hero,
.section,
.notice {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 96px 0 72px;
}

.page-hero {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 96px 0 56px;
}

.section {
  padding: 56px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  font-family: 'IBM Plex Serif', Georgia, serif;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.45rem);
}

h3 {
  font-size: 1.22rem;
}

p {
  margin: 0 0 16px;
}

.lede,
.section-head p,
.card p,
.notice p {
  color: var(--text-muted);
  max-width: 74ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text);
  background: rgba(3, 7, 18, 0.25);
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms ease,
    filter 160ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: var(--bg);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 16px 38px rgba(34, 197, 94, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 18px 48px rgba(34, 197, 94, 0.4);
}

.btn-secondary {
  border-color: rgba(209, 250, 229, 0.34);
}

.btn-secondary:hover {
  border-color: rgba(34, 197, 94, 0.7);
  color: var(--primary);
}

.btn-warning {
  color: var(--accent);
  border-color: rgba(234, 179, 8, 0.62);
  background: rgba(234, 179, 8, 0.08);
}

.btn-warning:hover {
  background: rgba(234, 179, 8, 0.16);
}

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

.card,
.notice,
.filter-panel,
.account-panel,
.legal-panel {
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(
        135deg,
        rgba(34, 197, 94, 0.82),
        rgba(22, 163, 74, 0.5),
        rgba(234, 179, 8, 0.58)
      )
      border-box;
  box-shadow: 0 24px 62px rgba(3, 7, 18, 0.45);
}

.card {
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  content: '';
  background-image:
    repeating-linear-gradient(
      115deg,
      rgba(209, 250, 229, 0.14) 0 1px,
      transparent 1px 18px
    ),
    repeating-linear-gradient(
      25deg,
      rgba(34, 197, 94, 0.12) 0 1px,
      transparent 1px 22px
    );
}

.card > * {
  position: relative;
  z-index: 1;
}

.hero-panel {
  padding: 28px;
}

.status,
.chip {
  color: var(--primary);
  font-weight: 800;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.72);
}

.dot.accent {
  background: var(--accent);
  box-shadow: 0 0 16px rgba(234, 179, 8, 0.72);
}

.plain-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.section {
  display: grid;
  gap: 24px;
}

.section-head {
  max-width: 760px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 20px;
}

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

.split-media img {
  width: 100%;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(3, 7, 18, 0.58);
}

.filter-panel,
.account-panel,
.legal-panel {
  padding: 26px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(34, 197, 94, 0.34);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.11);
  font-size: 0.85rem;
}

.notice {
  margin: 28px auto 88px;
  padding: 30px;
  border-radius: 22px;
}

.account-stack {
  display: grid;
  gap: 22px;
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 20px 0 80px;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  padding: 56px 0 28px;
  border-top: 1px solid rgba(34, 197, 94, 0.2);
  background: rgba(3, 7, 18, 0.72);
}

.footer-grid {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: rgba(209, 250, 229, 0.76);
  text-decoration: none;
}

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

.footer-legal {
  width: min(1280px, calc(100% - 2rem));
  margin: 30px auto 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: block;
  max-width: min(380px, calc(100% - 32px));
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--text);
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, var(--primary), var(--accent)) border-box;
  box-shadow: 0 22px 62px rgba(3, 7, 18, 0.68);
}

.toast[hidden] {
  display: none;
}

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

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  html.js .menu-toggle {
    display: inline-flex;
  }

  html.js .primary-nav {
    display: none;
    width: 100%;
    margin-left: 0;
    padding: 16px 0 8px;
  }

  html.js body.nav-open .primary-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .primary-nav ul {
    width: 100%;
  }

  .lang-toggle {
    width: 100%;
  }

  .hero,
  .page-hero {
    padding-top: 64px;
  }

  .hero,
  .section,
  .notice,
  .account-stack,
  .footer-grid {
    width: min(1280px, calc(100% - 1.5rem));
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
