:root {
  --bg: #050505;
  --panel: #111111;
  --panel-soft: #171717;
  --text: #f3f3f3;
  --muted: #b8b8b8;
  --accent: #7A0000;
  --border: #2a2a2a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #1a1a1a 0, var(--bg) 42%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

.page-shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.hero {
  padding: 42px 36px;
  border: 1px solid var(--border);
  border-radius: 24px 24px 0 0;
  background: linear-gradient(145deg, #151515, #080808);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.brand {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.tabs {
  display: flex;
  gap: 0;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: #0d0d0d;
}

.tab-button {
  flex: 1;
  padding: 18px 20px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease;
}

.tab-button + .tab-button {
  border-left: 1px solid var(--border);
}

.tab-button:hover,
.tab-button.active {
  background: var(--panel-soft);
  color: var(--accent);
}

.tab-content {
  display: none;
  padding: 38px 36px 44px;
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: rgba(17, 17, 17, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.tab-content.active {
  display: block;
}

h1 {
  margin: 0 0 26px;
  color: var(--accent);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
}

p {
  margin: 0 0 22px;
  color: var(--text);
}

strong {
  color: #ffffff;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(214, 182, 106, 0.45);
}

a:hover {
  border-bottom-color: var(--accent);
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 960px);
    padding: 20px 0;
  }

  .hero,
  .tab-content {
    padding-left: 22px;
    padding-right: 22px;
  }

  .tabs {
    flex-direction: column;
  }

  .tab-button + .tab-button {
    border-left: 0;
  }
}
