@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #0e1a17;
  --ink-soft: #52685f;
  --ink-faint: #85978d;
  --paper: #faf9f4;
  --paper-raised: #ffffff;
  --line: #e5e2d6;
  --accent: #0f7a5c;
  --accent-dark: #0a5942;
  --accent-light: #17a578;
  --accent-soft: #e5f4ec;
  --ink-900: #0b1512;
  --max-w: 820px;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

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

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 249, 244, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  flex-wrap: wrap;
}

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

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(155deg, var(--accent-light), var(--accent-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -0.3px;
  box-shadow: 0 4px 14px -4px rgba(15, 122, 92, 0.55);
  flex-shrink: 0;
}

.site-nav nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14px;
}

.site-nav nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.site-nav nav a:hover {
  color: var(--ink);
}

.site-nav nav a[aria-current="page"] {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
}

main {
  padding-bottom: 0;
}

.legal main {
  padding: 44px 0 72px;
}

h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.9px;
  color: var(--ink-900);
}

.legal h1 {
  font-size: 30px;
  letter-spacing: -0.6px;
}

h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 14px;
  letter-spacing: -0.4px;
  color: var(--ink-900);
}

h2:first-of-type {
  margin-top: 8px;
}

h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink-900);
}

p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 30px;
}

ul, ol {
  color: var(--ink-soft);
  padding-left: 22px;
  margin: 0 0 14px;
}

li {
  margin-bottom: 7px;
}

.updated {
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 20px;
}

.back-link:hover {
  color: var(--accent-dark);
}

/* Hero */

.hero-band {
  position: relative;
  overflow: hidden;
  padding: 76px 0 8px;
}

.hero-glow {
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 520px;
  background:
    radial-gradient(480px 320px at 15% 20%, rgba(23, 165, 120, 0.16), transparent 70%),
    radial-gradient(420px 300px at 85% 0%, rgba(15, 122, 92, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-band .wrap {
  position: relative;
  z-index: 1;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  margin: 0 6px 22px 0;
}

.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  flex-shrink: 0;
}

.accent-word {
  background: linear-gradient(100deg, var(--accent-dark), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(155deg, var(--accent-light), var(--accent-dark));
  color: #fff;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: 0 10px 24px -10px rgba(10, 89, 66, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgba(10, 89, 66, 0.6);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 11px 21px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.btn-outline:hover {
  color: var(--ink);
  border-color: var(--accent-light);
  transform: translateY(-1px);
}

/* Sections */

.section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.section-tinted {
  background: var(--paper-raised);
}

.section-head {
  max-width: 56ch;
  margin-bottom: 32px;
}

.eyebrow {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

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

.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.grid .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -18px rgba(14, 26, 23, 0.25);
  border-color: #d7e5dd;
}

.card p:last-child {
  margin-bottom: 0;
}

.legal .card {
  margin-bottom: 16px;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon svg {
  width: 21px;
  height: 21px;
}

.info-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.info-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  padding: 16px 22px;
  font-size: 14.5px;
}

.info-row + .info-row {
  border-top: 1px solid var(--line);
}

.info-row dt {
  color: var(--ink-faint);
  font-weight: 600;
}

.info-row dd {
  margin: 0;
  color: var(--ink);
}

.callout {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.callout p:last-child {
  margin-bottom: 0;
}

.pill-tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
  margin: 2px 6px 2px 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14.5px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

th, td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}

tr:last-child th, tr:last-child td {
  border-bottom: none;
}

th {
  color: var(--ink);
  font-weight: 600;
  width: 160px;
}

/* Footer */

footer.site {
  background: var(--ink-900);
  color: #a9bab2;
  padding: 40px 0;
  font-size: 13.5px;
  margin-top: 0;
}

footer.site .wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

footer.site strong {
  color: #eef3f0;
}

footer.site nav {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  flex-wrap: wrap;
}

footer.site nav a {
  color: #a9bab2;
  text-decoration: none;
}

footer.site nav a:hover {
  color: #fff;
}

@media (max-width: 560px) {
  h1 { font-size: 30px; }
  .legal h1 { font-size: 25px; }
  .hero-band { padding: 48px 0 0; }
  .info-row { grid-template-columns: 1fr; }
  th { width: auto; }
}
