:root {
  color-scheme: light;
  --navy-950: #17172b;
  --navy-900: #1d1e36;
  --navy-800: #292b4f;
  --cream: #f8f5ee;
  --cream-strong: #efe8d8;
  --white: #fffdf8;
  --gold: #d6b85c;
  --gold-strong: #6f5510;
  --ink: #18182b;
  --text: #3d3d52;
  --muted: #626276;
  --border: #e4dccd;
  --max: 960px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(214, 184, 92, 0.18), transparent 30rem),
    linear-gradient(180deg, #fffaf0 0%, var(--cream) 42%, #fffdf8 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--gold-strong);
  font-weight: 700;
  text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(214, 184, 92, 0.72);
  outline-offset: 4px;
}

.site-header,
.site-footer {
  background: rgba(255, 253, 248, 0.86);
  border-color: var(--border);
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.header-inner,
.footer-inner,
.page-main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-950);
  font-weight: 850;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  flex: 0 0 auto;
}

.site-nav,
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.site-nav {
  justify-content: flex-end;
  font-size: 0.93rem;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--navy-950);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.nav-pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--white);
}

.page-main {
  padding: 54px 0 72px;
}

.page-hero {
  margin-bottom: 28px;
  border: 1px solid rgba(228, 220, 205, 0.9);
  border-radius: 28px;
  padding: clamp(24px, 6vw, 42px);
  background:
    radial-gradient(circle at top right, rgba(214, 184, 92, 0.18), transparent 18rem),
    var(--white);
  box-shadow: 0 18px 52px rgba(23, 23, 43, 0.09);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(214, 184, 92, 0.17);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(2.15rem, 7vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

.subtitle {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(1rem, 2.4vw, 1.16rem);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.card,
.legal-doc {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 14px 36px rgba(23, 23, 43, 0.06);
}

.card {
  padding: clamp(20px, 4vw, 28px);
}

.legal-doc {
  padding: clamp(22px, 5vw, 38px);
}

.card h2,
.legal-doc h2 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.2;
}

.card p:last-child,
.legal-doc p:last-child,
.card ul:last-child,
.card ol:last-child,
.legal-doc ul:last-child {
  margin-bottom: 0;
}

p,
li {
  color: var(--text);
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

li + li {
  margin-top: 0.42rem;
}

.callout {
  border-color: rgba(214, 184, 92, 0.38);
  background: #fff7df;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quick-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 13px;
  background: var(--white);
  color: var(--navy-950);
  text-decoration: none;
}

.date {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
  font-size: 0.93rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links {
  justify-content: flex-end;
}

.footer-links a {
  color: #5a4a1c;
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner,
  .page-main {
    width: min(100% - 32px, var(--max));
  }

  .header-inner {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
  }

  .site-nav {
    gap: 8px;
    font-size: 0.88rem;
  }

  .site-nav a:not(.nav-pill) {
    display: none;
  }

  .page-main {
    padding: 34px 0 54px;
  }

  .page-hero {
    border-radius: 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
