:root {
  color-scheme: light;
  --ink: #18353f;
  --muted: #49616a;
  --paper: #f8faf7;
  --line: #cedbd7;
  --accent: #215e51;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.65; }
a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 0.15em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
.site-header, main, .site-footer { width: min(1100px, calc(100% - 64px)); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); font-size: 1.125rem; font-weight: 750; text-decoration: none; letter-spacing: -0.025em; }
.site-header nav { font-size: 0.9rem; }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 10px 16px; background: white; z-index: 1; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.home { padding-block: 78px 52px; }
.eyebrow { margin: 0 0 22px; font-size: 0.75rem; font-weight: 750; letter-spacing: 0.11em; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.035em; }
h1 { margin: 0 0 26px; font-size: clamp(2.4rem, 6.4vw, 4.8rem); font-weight: 650; }
h2 { font-size: 1.5rem; font-weight: 650; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin-block: 0 18px; }
.intro { max-width: 780px; font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); line-height: 1.65; }
.notice { max-width: 780px; margin-top: 26px; padding: 14px 18px; border-left: 3px solid var(--accent); background: #edf3ee; font-size: 0.95rem; }
.home > section { margin-top: 64px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 28px; }
.features article { border-top: 1px solid var(--line); padding-top: 20px; }
.feature-number { color: var(--accent); font-size: 0.8rem; font-weight: 700; }
.features h3 { margin-block: 12px 16px; }
.features p { color: var(--muted); font-size: 0.96rem; }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 36px; border-top: 1px solid var(--line); padding-top: 34px; }
.contact h2 { margin-top: 0; }
.contact p { color: var(--muted); margin-bottom: 8px; }
.text-link { display: inline-block; font-weight: 650; }
.contact > .text-link { flex-shrink: 0; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 24px 34px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.policy { max-width: 800px; padding-block: 68px 56px; }
.policy h1 { font-size: clamp(2.5rem, 6vw, 3.7rem); }
.updated { color: var(--muted); font-size: 0.9rem; margin-top: -10px; margin-bottom: 30px; }
.policy section { margin-top: 36px; }
.policy h2 { margin-bottom: 16px; }
.policy li { margin-bottom: 12px; }
.policy ul { padding-left: 24px; }
.policy code { font-size: 0.87em; overflow-wrap: anywhere; }
.policy > .text-link { margin-top: 26px; }

@media (max-width: 720px) {
  .site-header, main, .site-footer { width: calc(100% - 40px); }
  .site-header { padding-block: 22px; gap: 18px; }
  .brand { font-size: 1rem; }
  .site-header nav { font-size: 0.82rem; }
  .home, .policy { padding-top: 48px; }
  .eyebrow { font-size: 0.68rem; }
  .home > section { margin-top: 44px; }
  .features { grid-template-columns: 1fr; gap: 16px; }
  .features article { padding-top: 18px; }
  .contact { align-items: flex-start; flex-direction: column; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
