:root {
  color-scheme: light;
  --canvas: #f7f1e7;
  --surface: #fffdf9;
  --ink: #2b211c;
  --muted: #71675f;
  --clay: #b65235;
  --clay-deep: #8f3b26;
  --clay-wash: #f2ddd2;
  --sage: #667a65;
  --line: rgba(75, 56, 45, 0.14);
  --shadow: 0 20px 70px rgba(91, 58, 38, 0.10);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% -4%, rgba(237, 190, 164, 0.34), transparent 34rem),
    var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--clay-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--clay);
}

a:focus-visible {
  border-radius: 6px;
  outline: 3px solid rgba(182, 82, 53, 0.35);
  outline-offset: 4px;
}

.site-header {
  margin: 0 auto;
  max-width: 1120px;
  padding: 24px clamp(20px, 5vw, 56px) 0;
}

.nav {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 16px;
  font-weight: 760;
  gap: 10px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--clay);
  border-radius: 12px;
  color: #fff;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.brand-mark svg {
  height: 24px;
  width: 24px;
}

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

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--clay-deep);
}

main {
  margin: 0 auto;
  max-width: 1120px;
  padding: clamp(52px, 8vw, 92px) clamp(20px, 5vw, 56px) 80px;
}

.hero {
  max-width: 850px;
}

.eyebrow {
  color: var(--clay-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0 0 15px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(46px, 8vw, 78px);
  font-weight: 650;
  margin: 0;
  max-width: 900px;
}

.legal h1 {
  font-size: clamp(42px, 7vw, 68px);
}

.lede {
  color: var(--muted);
  font-size: clamp(19px, 2.4vw, 23px);
  line-height: 1.48;
  margin: 24px 0 0;
  max-width: 760px;
}

.hero-note {
  align-items: center;
  color: var(--sage);
  display: flex;
  font-size: 14px;
  font-weight: 650;
  gap: 9px;
  margin-top: 25px;
}

.hero-note::before {
  background: var(--sage);
  border-radius: 50%;
  content: "";
  height: 8px;
  width: 8px;
}

.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
}

.card {
  background: rgba(255, 253, 249, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink);
  min-height: 230px;
  padding: 27px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  border-color: rgba(182, 82, 53, 0.34);
  box-shadow: 0 24px 78px rgba(91, 58, 38, 0.15);
  color: var(--ink);
  transform: translateY(-3px);
}

.card-icon {
  align-items: center;
  background: var(--clay-wash);
  border-radius: 15px;
  color: var(--clay-deep);
  display: flex;
  font-size: 20px;
  font-weight: 800;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.card h2 {
  font-size: 28px;
  margin: 28px 0 8px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.proof {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 64px;
  padding-top: 28px;
}

.proof strong,
.proof span {
  display: block;
}

.proof strong {
  font-size: 15px;
}

.proof span {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}

.legal-meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 20px;
}

.legal-layout {
  display: grid;
  gap: clamp(36px, 7vw, 90px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  margin-top: 58px;
}

.contents {
  align-self: start;
  background: rgba(255, 253, 249, 0.74);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  position: sticky;
  top: 20px;
}

.contents strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.contents a {
  color: var(--muted);
  display: block;
  font-size: 14px;
  padding: 5px 0;
  text-decoration: none;
}

.legal-content {
  max-width: 760px;
}

.legal-content section {
  border-top: 1px solid var(--line);
  padding: 40px 0 8px;
}

.legal-content section:first-child {
  border-top: 0;
  padding-top: 0;
}

.legal-content h2 {
  font-size: clamp(29px, 4vw, 38px);
  margin: 0 0 16px;
}

.legal-content h3 {
  font-family: inherit;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 28px 0 8px;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  color: #4f4640;
}

.legal-content li + li {
  margin-top: 8px;
}

.notice {
  background: var(--clay-wash);
  border-radius: 18px;
  color: var(--ink);
  margin: 24px 0;
  padding: 18px 20px;
}

.notice strong {
  display: block;
  margin-bottom: 3px;
}

.support-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 42px;
}

.support-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}

.support-item h2 {
  font-family: inherit;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0 0 8px;
}

.support-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.primary-link {
  align-items: center;
  background: var(--clay);
  border-radius: 16px;
  color: #fff;
  display: inline-flex;
  font-weight: 740;
  margin-top: 26px;
  min-height: 52px;
  padding: 13px 20px;
  text-decoration: none;
}

.primary-link:hover {
  background: var(--clay-deep);
  color: #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  margin: 0 auto;
  max-width: 1008px;
  padding: 28px 0 44px;
}

.footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: space-between;
  padding: 0 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

  .cards,
  .proof,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

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

  .contents {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card {
    transition: none;
  }
}

