:root {
  color-scheme: dark;
  --background: #071014;
  --surface: #101b20;
  --surface-strong: #16242a;
  --text: #f2f7f8;
  --muted: #a7b7bd;
  --accent: #ff6b2c;
  --accent-soft: rgba(255, 107, 44, 0.14);
  --line: rgba(255, 255, 255, 0.09);
  --max-width: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 107, 44, 0.12), transparent 34rem),
    var(--background);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: #ff9568; }
a:hover { color: #ffb08f; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 20, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner,
main,
.footer-inner {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.language-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.language-switch button {
  min-width: 44px;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: #170803;
}

main { padding: 52px 0 68px; }

.eyebrow {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 7vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.08rem;
}

.meta {
  margin: 28px 0 34px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--muted);
}

.card,
section {
  margin-top: 18px;
  padding: clamp(20px, 5vw, 30px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
}

h2 { margin: 0 0 12px; font-size: 1.35rem; line-height: 1.25; }
h3 { margin: 22px 0 8px; font-size: 1.04rem; }
p { margin: 10px 0; }
ul, ol { margin: 10px 0; padding-left: 1.35rem; }
li + li { margin-top: 7px; }

.notice {
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 14px;
  background: var(--accent);
  color: #170803;
  font-weight: 850;
  text-decoration: none;
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  padding: 28px 0 42px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }

[hidden] { display: none !important; }

.home-page {
  --accent: #c8ff45;
  --accent-soft: rgba(200, 255, 69, 0.1);
  background:
    radial-gradient(circle at 78% 18%, rgba(200, 255, 69, 0.09), transparent 28rem),
    var(--background);
}

.landing-main {
  min-height: calc(100svh - 175px);
  display: grid;
  align-items: center;
  padding-block: clamp(54px, 10vw, 110px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 7vw, 64px);
  border: 1px solid rgba(200, 255, 69, 0.2);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(22, 36, 42, 0.96), rgba(9, 19, 23, 0.98));
}

.hero-mark {
  position: absolute;
  top: -0.35em;
  right: 0.02em;
  color: rgba(200, 255, 69, 0.045);
  font-size: clamp(12rem, 42vw, 25rem);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero > *:not(.hero-mark) {
  position: relative;
}

.hero h1 {
  margin-top: 12px;
  font-size: clamp(3.2rem, 13vw, 7rem);
  letter-spacing: -0.06em;
}

.hero-tagline {
  max-width: 700px;
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 4vw, 2.25rem);
  font-weight: 750;
  line-height: 1.2;
}

.home-page .lead {
  max-width: 650px;
  font-size: clamp(1rem, 2.4vw, 1.18rem);
}

.home-page .button {
  box-shadow: none;
}

.home-page .button.secondary {
  border-color: rgba(200, 255, 69, 0.22);
}

@media (max-width: 540px) {
  .header-inner { min-height: 62px; }
  main { padding-top: 34px; }
  .card, section { border-radius: 16px; }
  .button { width: 100%; }
  .footer-inner { flex-direction: column; }
  .hero { border-radius: 20px; }
  .hero-mark { right: -0.15em; }
}

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