:root {
  --bg: #080808;
  --panel: #111111;
  --panel-strong: #171717;
  --border: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --text-muted: rgba(255, 255, 255, 0.62);
  --text-subtle: rgba(255, 255, 255, 0.4);
  --accent: #ff5a1f;
  --accent-soft: rgba(255, 90, 31, 0.14);
  --accent-line: rgba(255, 90, 31, 0.28);
  --max-width: 960px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 90, 31, 0.14), transparent 34%),
    linear-gradient(180deg, #090909 0%, #060606 100%);
  color: var(--text);
}

a {
  color: #ffb17c;
  text-decoration: none;
}

a:hover {
  color: #ffd1b0;
}

.site-shell {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(255, 90, 31, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.brand-tag {
  font-size: 0.78rem;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nav a {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.hero,
.page-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.hero {
  padding: 42px 28px 28px;
  margin: 20px 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #ffb17c;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.page-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero p,
.lede {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.meta-row,
.card-grid {
  display: grid;
  gap: 14px;
}

.meta-row {
  margin-top: 28px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 24px 0 0;
}

.card,
.info-list,
.section {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.card,
.section {
  padding: 18px;
}

.card h2,
.section h2,
.page-panel h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card p,
.section p,
.section li,
.page-panel p,
.page-panel li {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.72;
}

.page-panel {
  padding: 28px;
  margin: 20px 0 24px;
}

.page-updated {
  margin: 10px 0 26px;
  color: var(--text-subtle);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section + .section {
  margin-top: 16px;
}

.section ul,
.section ol,
.page-panel ul {
  margin: 12px 0 0 20px;
  padding: 0;
}

.section li + li,
.page-panel li + li {
  margin-top: 8px;
}

.info-list {
  padding: 18px;
}

.info-list strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  color: white;
  background: linear-gradient(135deg, #ff5a1f, #ff8a3c);
  box-shadow: 0 16px 36px rgba(255, 90, 31, 0.3);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 28px;
  color: var(--text-subtle);
  font-size: 0.86rem;
}

.footer a {
  color: var(--text-subtle);
}

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

.note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: #ffd2b6;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  color: #ffd1b0;
}

@media (max-width: 720px) {
  .site-header,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .page-panel {
    padding: 24px 18px 20px;
  }
}
