:root {
  --bg: #111115;
  --card-bg: #1a1a1f;
  --card-bg-alt: #17171b;
  --border: #2a2a30;
  --accent: #c9a55a;
  --accent-dark: #a07c3a;
  --accent-gradient: linear-gradient(135deg, var(--accent), var(--accent-dark));
  --gray-1: #333;
  --gray-2: #666;
  --gray-3: #777;
  --text: #f2f0ec;
  --text-dim: #a9a7a3;
  --text-faint: #77767a;
  --danger: #d9705f;
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
}

p {
  margin: 0;
}

button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

a {
  color: var(--accent);
}

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

::selection {
  background: var(--accent);
  color: #1a1408;
}

.app-header {
  padding: 32px 24px 0;
  max-width: 1100px;
  margin: 0 auto;
}

.app-title {
  font-family: var(--font-title);
  font-size: 32px;
  letter-spacing: -0.01em;
}

.app-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-title-link {
  text-decoration: none;
  color: inherit;
  width: fit-content;
  transition: opacity 0.15s ease;
}

.app-title-link:hover {
  opacity: 0.8;
}

.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;
}

.app-logo-icon {
  height: 88px;
  width: auto;
  display: block;
}

.app-tabs {
  display: flex;
  gap: 8px;
  margin: 24px 0 0;
  border-bottom: 1px solid var(--border);
}

.tab-btn {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 4px 14px;
  margin-right: 24px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-panel {
  display: none;
  padding: 28px 24px 80px;
}

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

.tab-container {
  max-width: 1000px;
  margin: 0 auto;
}

.tab-container.wide {
  max-width: 1000px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-sub {
  color: var(--text-dim);
  font-size: 14px;
  margin-top: 10px;
  max-width: 640px;
}

.app-footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  color: var(--text-dim);
  font-size: 13px;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-copy {
  color: var(--text-faint);
  font-size: 12.5px;
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-page h2 {
  font-family: var(--font-title);
  font-size: 26px;
  margin-top: 32px;
}

.legal-page h2:first-of-type {
  margin-top: 20px;
}

.legal-page p, .legal-page li {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}

.legal-page ul {
  padding-left: 20px;
}

.legal-page .back-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
}
