:root {
  --primary-sage: #4f6b58;
  --light-sage: #a8b9ac;
  --cream: #f7f3ee;
  --card: #ffffff;
  --clay: #c9876b;
  --muted-gold: #c7a96b;
  --text-primary: #2e2a27;
  --text-secondary: #6f6a66;
  --border: #e6ded5;
  --success: #6f9d72;
  --warning: #e0b65a;
  --error: #c26a5a;
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .08);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 12%, rgba(168, 185, 172, .24), transparent 22%),
    radial-gradient(circle at 92% 28%, rgba(201, 135, 107, .16), transparent 20%),
    #fbf8f2;
  color: var(--text-primary);
}

a {
  color: var(--primary-sage);
  font-weight: 700;
  text-decoration: none;
}

a:hover { text-decoration: underline; }

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.brand span {
  display: block;
  color: var(--primary-sage);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
}

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

.nav-links a {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--text-primary);
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.hero-card,
.side-card,
.content-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-lg);
}

.hero-card {
  padding: 44px;
}

.hero-card .hero-logo {
  display: block;
  width: 72px;
  max-width: 72px;
  height: 72px;
  max-height: 72px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(79, 107, 88, .12);
  color: var(--primary-sage);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #073f34;
  font-size: clamp(36px, 6vw, 64px);
  line-height: .98;
  letter-spacing: -.06em;
}

.lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
}

.side-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.side-card h2 {
  margin-bottom: 12px;
  color: #073f34;
  font-size: 22px;
}

.meta-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.meta-list li {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--cream);
}

.meta-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.meta-list span {
  color: var(--text-secondary);
  font-size: 14px;
}

.content-card {
  padding: 36px 44px;
}

.content-card section {
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.content-card section:first-child { padding-top: 0; }
.content-card section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

h2 {
  margin-bottom: 12px;
  color: #073f34;
  font-size: 26px;
  letter-spacing: -.03em;
}

h3 {
  margin: 20px 0 8px;
  color: var(--text-primary);
  font-size: 18px;
}

p,
li {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.75;
}

ul,
ol {
  padding-left: 22px;
}

.notice {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--muted-gold);
  border-radius: 16px;
  background: #fff8e7;
  color: var(--text-primary);
}

.contact-box {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--cream);
}

.legal-footer {
  margin-top: 28px;
  color: var(--text-secondary);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 820px) {
  .legal-shell {
    width: min(100% - 28px, 560px);
    padding: 18px 0 42px;
  }

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

  .legal-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-card,
  .side-card,
  .content-card {
    padding: 26px;
    border-radius: 24px;
  }

  .hero-card .hero-logo {
    width: 56px;
    max-width: 56px;
    height: 56px;
    max-height: 56px;
    margin-bottom: 16px;
    border-radius: 16px;
  }

  h1 {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1;
  }

  .lead {
    font-size: 16px;
    line-height: 1.65;
  }
}

@media (max-width: 420px) {
  .brand img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .hero-card,
  .side-card,
  .content-card {
    padding: 22px;
  }

  .hero-card .hero-logo {
    width: 48px;
    max-width: 48px;
    height: 48px;
    max-height: 48px;
    border-radius: 14px;
  }
}
