:root {
  --bg: #f6efe4;
  --panel: rgba(255, 251, 245, 0.9);
  --panel-strong: #fffaf2;
  --ink: #201a14;
  --muted: #6f6458;
  --line: rgba(32, 26, 20, 0.1);
  --accent: #c74d31;
  --accent-deep: #8d2f1c;
  --mint: #1f8a78;
  --shadow: 0 22px 52px rgba(68, 39, 20, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Avenir Next", "Trebuchet MS", ui-rounded, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(230, 177, 79, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(199, 77, 49, 0.16), transparent 30%),
    linear-gradient(180deg, #fbf5ea 0%, var(--bg) 48%, #efe1cc 100%);
}

a {
  color: inherit;
}

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff8f1;
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: var(--shadow);
}

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

.pill-nav a,
.cta-row a {
  text-decoration: none;
  border-radius: 999px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 26px rgba(34, 25, 20, 0.06);
}

.cta-row a.primary {
  color: #fffaf3;
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-color: transparent;
}

.panel {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero {
  padding: 30px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 138, 120, 0.18), transparent 68%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  margin-bottom: 18px;
}

.hero h1,
.legal-shell h1 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero p,
.legal-shell p,
.legal-shell li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-copy {
  max-width: 46rem;
}

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

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

.card {
  grid-column: span 4;
  padding: 22px;
  border-radius: 24px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.card.wide {
  grid-column: span 8;
}

.card h2,
.legal-shell h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.legal-shell {
  padding: 28px;
}

.legal-shell section + section {
  margin-top: 18px;
}

.footer-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.chip {
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(31, 138, 120, 0.1);
  color: #225a4e;
  font-size: 0.88rem;
  font-weight: 700;
}

@media (max-width: 860px) {
  .card,
  .card.wide {
    grid-column: span 12;
  }

  .hero,
  .legal-shell {
    padding: 22px;
  }
}
