:root {
  --bg: #090605;
  --bg-soft: #17100c;
  --panel: rgba(24, 14, 9, 0.88);
  --panel-strong: rgba(37, 22, 13, 0.94);
  --border: rgba(240, 191, 83, 0.32);
  --border-strong: rgba(255, 214, 120, 0.48);
  --text: #f6ead5;
  --muted: #d8c09a;
  --gold: #f7c54f;
  --gold-soft: #ffd98b;
  --amber: #d88717;
  --red: #bb2918;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(187, 41, 24, 0.15), transparent 28%),
    radial-gradient(circle at top right, rgba(247, 197, 79, 0.12), transparent 24%),
    linear-gradient(180deg, #0d0907 0%, #090605 45%, #130a06 100%);
  font-family: Verdana, Geneva, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 209, 115, 0.025) 50%, transparent 100%),
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 42px,
      rgba(255, 215, 138, 0.025) 42px,
      rgba(255, 215, 138, 0.025) 43px
    );
  pointer-events: none;
}

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

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

a:hover {
  color: #fff1c8;
}

p,
ul,
ol,
table,
figure {
  margin: 0;
}

ul,
ol {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.3rem;
}

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

.header-shell > *,
.hero > *,
.content-grid > *,
.footer-top > * {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px);
  background: rgba(11, 7, 5, 0.88);
  border-bottom: 1px solid rgba(255, 214, 120, 0.12);
}

.header-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  align-items: center;
}

.brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  color: var(--text);
  min-width: 0;
  max-width: 100%;
}

.brand img {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
}

.brand > span {
  min-width: 0;
}

.brand-title {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-subtitle {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow-wrap: anywhere;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.burger {
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 52px;
  padding: 0.8rem 0.6rem;
  border: 1px solid rgba(255, 214, 120, 0.28);
  border-radius: 999px;
  background: rgba(28, 17, 10, 0.84);
  cursor: pointer;
  justify-self: end;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold-soft);
  border-radius: 999px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-panel {
  display: none;
  grid-column: 1 / -1;
  padding-top: 0.8rem;
}

.nav-toggle:checked ~ .header-panel {
  display: grid;
  gap: 1rem;
}

.site-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.site-nav a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 209, 115, 0.08);
  border: 1px solid rgba(255, 214, 120, 0.16);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.footer-links a:hover,
.site-nav a.active,
.footer-links a.active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(247, 197, 79, 0.22), rgba(187, 41, 24, 0.18));
  border-color: rgba(255, 214, 120, 0.36);
}

.header-actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: #130904;
  background: linear-gradient(135deg, #ffe39d 0%, #f7c54f 48%, #d88717 100%);
  box-shadow: 0 16px 32px rgba(216, 135, 23, 0.25);
}

.button-secondary {
  color: var(--text);
  background: linear-gradient(135deg, rgba(187, 41, 24, 0.78), rgba(111, 18, 9, 0.78));
  border-color: rgba(255, 192, 128, 0.22);
}

.button-ghost {
  color: var(--gold-soft);
  background: rgba(255, 209, 115, 0.07);
  border-color: rgba(255, 214, 120, 0.22);
}

.page-shell {
  padding: 2.25rem 0 4rem;
}

.hero {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-copy,
.section-panel {
  position: relative;
  width: 100%;
  padding: 1.5rem;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(50, 28, 15, 0.9) 0%, rgba(18, 11, 7, 0.95) 100%);
  box-shadow: var(--shadow);
}

.hero-copy::after,
.section-panel::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  border: 1px solid rgba(255, 214, 120, 0.08);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 209, 115, 0.08);
  color: var(--gold-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-panel h2 {
  margin: 0 0 0.85rem;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.section-panel h2 {
  font-size: clamp(1.4rem, 2.1vw, 2rem);
}

.section-panel h3 {
  margin: 0.95rem 0 0.55rem;
  color: var(--gold-soft);
  font-size: 1rem;
}

.hero-copy p,
.section-panel p {
  color: var(--muted);
}

.hero-copy p + p,
.section-panel p + p,
.section-panel ul + p,
.section-panel ol + p,
.section-panel .table-wrap + p,
.section-panel ul + .cta-line,
.section-panel ol + .cta-line,
.section-panel p + ul,
.section-panel p + ol,
.section-panel p + .table-wrap,
.section-panel .cta-line + p {
  margin-top: 1rem;
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-bullets li {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 214, 120, 0.08);
  border: 1px solid rgba(255, 214, 120, 0.16);
  color: var(--text);
  margin: 0;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  min-height: 280px;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.34), transparent 40%),
    linear-gradient(180deg, transparent 0%, rgba(6, 4, 3, 0.12) 100%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.content-grid {
  display: grid;
  gap: 1.25rem;
}

.table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 214, 120, 0.16);
  background: rgba(255, 255, 255, 0.02);
}

table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
}

th,
td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 214, 120, 0.12);
}

th {
  color: var(--gold-soft);
  background: rgba(255, 209, 115, 0.08);
  font-weight: 700;
}

tr:last-child td {
  border-bottom: 0;
}

.cta-line a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--gold);
}

.cta-line a::after {
  content: "\2192";
  font-size: 1rem;
}

.final-cta {
  text-align: center;
  background:
    linear-gradient(135deg, rgba(216, 135, 23, 0.18), rgba(187, 41, 24, 0.16)),
    linear-gradient(180deg, rgba(50, 28, 15, 0.9) 0%, rgba(18, 11, 7, 0.95) 100%);
}

.final-cta p {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.final-cta .button {
  margin-top: 1.2rem;
}

.site-footer {
  padding: 0 0 3rem;
}

.footer-panel {
  width: 100%;
  padding: 1.5rem;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(23, 14, 9, 0.92) 0%, rgba(10, 6, 4, 0.96) 100%);
  box-shadow: var(--shadow);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.redirect-page main {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.redirect-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.redirect-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

@media (min-width: 960px) {
  .header-shell {
    grid-template-columns: auto 1fr auto;
  }

  .burger {
    display: none;
  }

  .header-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    grid-column: auto;
    padding-top: 0;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  }
}

@media (max-width: 959px) {
  .container {
    width: min(1180px, calc(100% - 1rem));
  }

  .header-shell {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
    padding-right: 3.9rem;
  }

  .brand {
    gap: 0.7rem;
    align-items: center;
    max-width: 100%;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand-title {
    font-size: 1.1rem;
  }

  .brand-subtitle {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }

  .page-shell {
    padding: 1.25rem 0 2.5rem;
  }

  .hero,
  .content-grid {
    gap: 1rem;
  }

  .hero-copy,
  .section-panel,
  .footer-panel {
    width: 100%;
    padding: 1.15rem;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 7.6vw, 2.45rem);
  }

  .section-panel h2 {
    font-size: clamp(1.3rem, 5.8vw, 1.8rem);
  }

  .hero-actions,
  .hero-bullets,
  .header-actions,
  .redirect-actions {
    justify-content: center;
  }

  .hero-bullets {
    justify-content: center;
  }

  .hero-bullets li {
    width: 100%;
  }

  .header-panel {
    justify-items: center;
  }

  .burger {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    justify-self: auto;
  }

  .site-nav,
  .footer-links {
    width: 100%;
  }

  .site-nav a,
  .footer-links a {
    width: 100%;
  }

  .header-actions,
  .redirect-actions {
    width: 100%;
  }

  .header-actions .button {
    flex: 1 1 160px;
  }

  .hero-actions .button,
  .redirect-actions .button {
    flex: 1 1 100%;
  }

  .hero-visual {
    order: -1;
    min-height: 220px;
  }

  .hero-visual img {
    min-height: 220px;
  }

  th,
  td {
    padding: 0.8rem 0.75rem;
  }
}

@media (max-width: 540px) {
  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand {
    max-width: 100%;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .brand-subtitle {
    display: none;
  }

  .burger {
    width: 46px;
    padding: 0.75rem 0.55rem;
  }

  .hero-copy,
  .section-panel,
  .footer-panel {
    padding: 1rem;
  }
}
