:root {
  --bg: #101713;
  --panel: #17221b;
  --panel-soft: rgba(255,255,255,0.035);
  --text: #f2f2e8;
  --muted: #cfd7cc;
  --line: #304135;
  --accent: #ff7a1a;
  --button: #f2f2e8;
  --shadow: rgba(0,0,0,0.32);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255,122,26,0.16), transparent 34rem),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--text);
  font-weight: 800;
}

.shell {
  width: min(1280px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px) 0;
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: stretch;
}

.brand-panel {
  position: sticky;
  top: clamp(18px, 3vw, 34px);
  align-self: start;
  max-height: calc(100vh - 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-card {
  background: #f7f4ec;
  border-radius: 28px;
  padding: clamp(12px, 2vw, 22px);
  box-shadow: 0 24px 80px var(--shadow);
  transform: rotate(-1.1deg);
}

.logo-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.brand-copy {
  margin-top: 26px;
}

.kicker {
  color: var(--accent);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

.brand-copy h1 {
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  line-height: 0.94;
  margin: 0 0 16px;
  letter-spacing: -0.07em;
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.nav a {
  background: var(--button);
  color: var(--bg);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
}

.nav a.active {
  background: var(--accent);
  color: #16100b;
}

.content-panel {
  min-height: calc(100vh - 68px);
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  padding: clamp(22px, 4vw, 44px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.content-panel::-webkit-scrollbar {
  width: 10px;
}

.content-panel::-webkit-scrollbar-track {
  background: transparent;
}

.content-panel::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 999px;
}

.page-title {
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.page-title h2 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1.02;
  margin: 0 0 8px;
  letter-spacing: -0.06em;
}

.page-title p {
  margin: 0;
  color: var(--muted);
}

.content-panel h2 {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 1.35rem;
}

.content-panel h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.content-panel p,
.content-panel li {
  color: var(--muted);
}

.content-panel ul {
  padding-left: 1.3rem;
}

.box,
.callout {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  background: var(--panel-soft);
}

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

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--button);
  color: var(--bg);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 950;
}

.cta.orange {
  background: var(--accent);
  color: #16100b;
}

.small {
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  body {
    min-height: 100%;
  }

  .shell {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .brand-panel {
    position: static;
    max-height: none;
    justify-content: flex-start;
  }

  .logo-card {
    max-width: 420px;
    margin: 0 auto;
  }

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

  .nav {
    justify-content: center;
  }

  .content-panel {
    min-height: auto;
    max-height: none;
    overflow-y: visible;
  }
}
