:root {
  color-scheme: light;
  --bg: #f4efe7;
  --surface: rgba(255, 251, 246, 0.84);
  --surface-strong: rgba(255, 248, 240, 0.92);
  --text: #1f1a16;
  --muted: #6f6458;
  --line: rgba(62, 46, 33, 0.12);
  --accent: #0f766e;
  --shadow: 0 30px 70px rgba(78, 52, 24, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.15), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(191, 122, 67, 0.17), transparent 30%),
    linear-gradient(180deg, #f6f0e6 0%, #efe4d3 100%);
}

.shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.topbar,
.topbar-left,
.topbar-links,
.hero,
.panel-grid,
.legal-grid,
.note-band,
.footer {
  display: flex;
}

.topbar {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 10px 4px;
}

.topbar-left,
.topbar-links {
  align-items: center;
  gap: 14px;
}

.topbar-links {
  gap: 18px;
  flex-wrap: wrap;
}

.brand,
.back-link,
.topbar-links a,
.footer a {
  color: inherit;
  text-decoration: none;
}

.brand {
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.back-link,
.topbar-links a,
.footer,
.footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero {
  justify-content: space-between;
  align-items: stretch;
  gap: 24px;
  padding: 24px 0 32px;
}

.hero-copy,
.hero-panel,
.legal-card,
.note-band {
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.note-band {
  border-radius: 28px;
  background: var(--surface);
}

.hero-copy,
.hero-panel {
  padding: 36px;
}

.hero-copy {
  flex: 1.3;
}

.hero-panel {
  flex: 0.9;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
p,
ul {
  margin: 0;
}

h1 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.18;
  max-width: 18ch;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.25;
}

.lede,
.legal-card p,
.legal-card li,
.note-copy p {
  color: var(--muted);
  line-height: 1.72;
}

.lede {
  margin-top: 18px;
  max-width: 62ch;
  font-size: 1rem;
}

.panel-grid {
  flex-direction: column;
  gap: 18px;
}

.panel-item {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.panel-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.panel-value {
  font-size: 1rem;
  line-height: 1.55;
}

.panel-value a,
.legal-card a,
.note-copy a {
  color: var(--accent);
}

.intro-card {
  margin-bottom: 18px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.legal-card {
  border-radius: 24px;
  padding: 24px;
  background: var(--surface-strong);
}

.legal-card ul {
  padding-left: 20px;
  margin-top: 10px;
}

.legal-card p + p,
.legal-card p + ul,
.legal-card ul + p {
  margin-top: 12px;
}

.note-band {
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  margin-top: 28px;
}

.note-band h2 {
  margin-bottom: 0;
}

.note-copy {
  max-width: 48ch;
  display: grid;
  gap: 12px;
}

.footer {
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding: 0 4px;
  flex-wrap: wrap;
  align-items: flex-start;
}

@media (max-width: 980px) {
  .hero,
  .topbar,
  .legal-grid,
  .note-band,
  .footer {
    flex-direction: column;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100vw - 20px, 1120px);
    padding-top: 18px;
  }

  .hero-copy,
  .hero-panel,
  .legal-card,
  .note-band {
    padding: 22px;
  }
}
