:root {
  --bg: #f4f0e8;
  --paper: rgba(255, 252, 247, 0.78);
  --ink: #17120f;
  --muted: #5d554e;
  --accent: #aa2d2d;
  --accent-soft: rgba(170, 45, 45, 0.12);
  --rule: rgba(23, 18, 15, 0.12);
  --shadow: 0 24px 80px rgba(23, 18, 15, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(170, 45, 45, 0.10), transparent 28%),
    radial-gradient(circle at bottom right, rgba(23, 18, 15, 0.08), transparent 30%),
    var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
}

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

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  letter-spacing: 0.02em;
  text-decoration: none;
}

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

.nav a,
.pill {
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero,
.legal-card {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero {
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -18% auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(170, 45, 45, 0.14), transparent 70%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
}

.hero h1,
.legal-card h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.9rem, 6vw, 5.2rem);
  line-height: 0.94;
  margin: 20px 0 18px;
  font-weight: 600;
  max-width: 10ch;
}

.hero p.lead,
.legal-card .lead {
  max-width: 760px;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.75;
  color: var(--muted);
}

.grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.panel,
.legal-card {
  border-radius: 24px;
  padding: 28px;
}

.panel {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.panel h2,
.legal-card h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  margin: 0 0 14px;
}

.panel p,
.panel li,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.75;
}

.panel ul,
.legal-card ul,
.legal-card ol {
  margin: 14px 0 0;
  padding-left: 20px;
}

.panel.primary {
  grid-column: span 7;
}

.panel.secondary {
  grid-column: span 5;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button.primary {
  background: var(--ink);
  color: #fffaf4;
  box-shadow: 0 14px 32px rgba(23, 18, 15, 0.16);
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-1px);
}

.meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-card {
  padding: clamp(26px, 4vw, 48px);
}

.legal-card header {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

.section {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.section:last-child {
  border-bottom: 0;
}

.section h2 {
  margin-bottom: 10px;
}

.foot {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.foot a {
  text-decoration: none;
  color: var(--accent);
}

@media (max-width: 840px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel.primary,
  .panel.secondary {
    grid-column: 1 / -1;
  }

  .hero h1,
  .legal-card h1 {
    max-width: none;
  }
}
