:root {
  color-scheme: light;
  --ink: #173029;
  --muted: #5b7069;
  --paper: #f5f8f3;
  --surface: #ffffff;
  --line: #dce7df;
  --accent: #176c54;
  --accent-soft: #e0f1e9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
}

a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { color: #0e4f3d; }

.shell { width: min(100% - 40px, 1040px); margin: 0 auto; }

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
}

.site-header { border-bottom: 1px solid var(--line); }
.site-footer { margin-top: 64px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.site-footer a { color: inherit; }

.wordmark { color: var(--ink); font-weight: 750; letter-spacing: -0.04em; text-decoration: none; }
.wordmark span { color: var(--muted); font-weight: 500; }
.eyebrow { color: var(--accent); font-size: 0.76rem; font-weight: 750; letter-spacing: 0.13em; text-transform: uppercase; }
.back-link { font-size: 0.94rem; }

.hero {
  max-width: 790px;
  padding: clamp(58px, 10vw, 112px) 0 76px;
}

h1 {
  max-width: 780px;
  margin: 14px 0 22px;
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  line-height: 1.03;
  letter-spacing: -0.065em;
}

.lede { max-width: 710px; color: #34534a; font-size: clamp(1.15rem, 2.4vw, 1.45rem); line-height: 1.55; }
.app-name { font-weight: 700; }
.hero > p:not(.eyebrow) { max-width: 700px; }
code { border-radius: 5px; background: var(--accent-soft); padding: 0.12em 0.35em; color: #164c3d; font-size: 0.9em; }

.policy-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.policy-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  border: 1px solid #b8d5c5;
  border-radius: 7px;
  background: var(--surface);
  padding: 0 18px;
  font-weight: 650;
  text-decoration: none;
}
.policy-links a:hover { background: var(--accent-soft); }

.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.detail-card { min-height: 190px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 24px; }
.detail-card .eyebrow { margin: 0; }
.detail-card h2 { margin: 12px 0 8px; font-size: 1.15rem; letter-spacing: -0.02em; }
.detail-card p:last-child { margin: 0; color: var(--muted); font-size: 0.96rem; }

.document { max-width: 760px; padding: 58px 0 0; }
.document h1 { margin-bottom: 8px; font-size: clamp(2.4rem, 6vw, 4rem); }
.document h2 { margin: 36px 0 8px; font-size: 1.2rem; letter-spacing: -0.02em; }
.document p { max-width: 720px; }
.updated { margin-top: 0; color: var(--muted); font-size: 0.92rem; }

@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 1040px); }
  .site-header, .site-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero { padding: 64px 0 50px; }
  .details { grid-template-columns: 1fr; }
  .detail-card { min-height: unset; }
}
