:root {
  --ink: #102b29;
  --ink-2: #24413f;
  --green-900: #103c38;
  --green-800: #17514b;
  --green-700: #1e655d;
  --green-500: #49a77e;
  --green-100: #e8f6ee;
  --lime: #c9ee74;
  --cream: #f7f6ef;
  --white: #ffffff;
  --muted: #667674;
  --line: #d9e3df;
  --shadow: 0 24px 64px rgba(16, 43, 41, .12);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green-700); }
img { display: block; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 8px;
  color: white;
  background: var(--green-900);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid rgba(16,60,56,.1);
  backdrop-filter: blur(15px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: min(280px, 62vw); height: 58px; object-fit: contain; object-position: left center; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-800);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

.legal-hero {
  padding: 72px 0 62px;
  background:
    radial-gradient(circle at 8% 15%, rgba(201,238,116,.28), transparent 26%),
    radial-gradient(circle at 92% 50%, rgba(159,221,189,.26), transparent 28%),
    linear-gradient(180deg, #fbfcf8 0%, #f1f7f2 100%);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green-700);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--green-500); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 15px 0 18px; font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; letter-spacing: -.065em; }
.hero-copy { max-width: 720px; margin: 0; color: #4f6562; font-size: 1.08rem; }
.effective-date { display: inline-block; margin-top: 22px; padding: 8px 12px; border-radius: 999px; background: var(--green-100); color: var(--green-800); font-size: .78rem; font-weight: 850; }

.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 44px; align-items: start; padding: 64px 0 86px; }
.legal-nav {
  position: sticky;
  top: 100px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.8);
}
.legal-nav strong { display: block; margin-bottom: 10px; color: var(--green-900); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.legal-nav a { display: block; padding: 6px 0; color: #4f6562; font-size: .82rem; text-decoration: none; }
.legal-nav a:hover { color: var(--green-700); text-decoration: underline; }

.legal-card { padding: clamp(26px, 5vw, 58px); border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.legal-card section { scroll-margin-top: 105px; padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal-card section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.legal-card h2 { margin-bottom: 12px; color: var(--green-900); font-size: clamp(1.35rem, 2vw, 1.72rem); line-height: 1.25; letter-spacing: -.025em; }
.legal-card h3 { margin: 22px 0 8px; color: var(--ink-2); font-size: 1.02rem; }
.legal-card p, .legal-card li { color: #425b58; }
.legal-card ul { padding-left: 22px; }
.legal-card li { margin: 8px 0; }
.legal-card strong { color: var(--ink); }
.notice {
  padding: 16px 18px;
  border-left: 4px solid var(--green-500);
  border-radius: 10px;
  background: var(--green-100);
}
.notice p:last-child { margin-bottom: 0; }
.vendor-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.vendor-list li { padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfa; }

.site-footer { color: rgba(255,255,255,.77); background: var(--green-900); }
.footer-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: .82rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: white; font-weight: 750; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

@media (max-width: 820px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 34px; }
  .legal-nav { position: static; }
  .legal-nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { min-height: 68px; }
  .brand img { width: 205px; height: 48px; }
  .back-link span { display: none; }
  .legal-hero { padding: 50px 0 45px; }
  .legal-card { border-radius: 18px; }
  .legal-nav-links { grid-template-columns: 1fr; }
  .footer-inner { padding: 25px 0; flex-direction: column; align-items: flex-start; }
}

@media print {
  .site-header, .legal-nav, .site-footer { display: none; }
  body { background: white; }
  .legal-hero { padding: 20px 0; background: white; }
  .legal-layout { display: block; padding: 20px 0; }
  .legal-card { padding: 0; border: 0; box-shadow: none; }
}
