:root {
  color-scheme: dark;
  --bg: #080706;
  --bg-soft: #140d0a;
  --card: rgba(29, 18, 13, 0.86);
  --card-strong: rgba(47, 25, 13, 0.92);
  --text: #fff6e9;
  --muted: #cdb9a3;
  --fire: #ff8a24;
  --gold: #ffc777;
  --border: rgba(255, 154, 46, 0.34);
  --shadow: rgba(255, 112, 24, 0.18);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 113, 24, 0.2), transparent 34rem),
    radial-gradient(circle at 20% 0%, rgba(255, 199, 119, 0.08), transparent 22rem),
    linear-gradient(180deg, #05080b 0%, #100908 48%, #080706 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.018) 0,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px,
      transparent 120px
    );
}

a {
  color: var(--gold);
  text-decoration-color: rgba(255, 199, 119, 0.42);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #ffe0ad;
}

.page {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 18px 44px;
  overflow-x: hidden;
}

.hero,
.document,
.site-footer {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 0 42px var(--shadow);
  backdrop-filter: blur(10px);
}

.hero {
  margin-bottom: 18px;
  padding: clamp(24px, 5vw, 44px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 138, 36, 0.16);
  border: 1px solid rgba(255, 154, 46, 0.3);
}

h1,
h2 {
  margin: 0;
  line-height: 1.16;
}

h1 {
  max-width: 760px;
  font-size: clamp(2rem, 7vw, 4.6rem);
  letter-spacing: 0;
  overflow-wrap: anywhere;
  hyphens: auto;
}

h2 {
  margin-top: 34px;
  color: var(--gold);
  font-size: clamp(1.2rem, 3vw, 1.65rem);
}

p {
  margin: 14px 0 0;
  overflow-wrap: break-word;
}

ul {
  margin: 14px 0 0;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 8px;
}

li,
a {
  overflow-wrap: break-word;
}

.intro {
  max-width: 710px;
  color: var(--muted);
  font-size: 1.06rem;
}

.actions,
.language-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button,
.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.button {
  padding: 12px 18px;
  color: #221006;
  background: linear-gradient(135deg, #ff9a2e, #ffc777);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(255, 112, 24, 0.22);
}

.text-link {
  padding: 11px 16px;
  border: 1px solid rgba(255, 199, 119, 0.26);
  background: rgba(255, 255, 255, 0.04);
}

.document {
  padding: clamp(20px, 4vw, 40px);
}

.document header {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 199, 119, 0.16);
}

.document section {
  max-width: 780px;
}

.document strong {
  color: #fff8ed;
}

.site-footer {
  margin-top: 18px;
  padding: 18px 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 620px) {
  .page {
    padding: 18px 12px 28px;
  }

  .hero {
    padding: 22px 20px;
  }

  .document {
    padding: 20px;
  }

  h1 {
    max-width: 100%;
    font-size: 2rem;
    word-break: break-word;
  }

  h2 {
    word-break: break-word;
  }

  .hero,
  .document,
  .site-footer {
    border-radius: 18px;
  }

  .actions,
  .language-switch {
    flex-direction: column;
  }

  .button,
  .text-link {
    width: 100%;
  }
}
