:root {
  color-scheme: light;
  --ink: #172b37;
  --muted: #536874;
  --line: #dce5e8;
  --accent: #087e83;
  --paper: #ffffff;
  --wash: #f3f7f7;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
}

a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.site-header { border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); font-weight: 700; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-header nav a, .site-footer a { text-decoration: none; }

main { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }
.intro { padding: clamp(4rem, 12vw, 8rem) 0 5rem; max-width: 700px; }
.eyebrow { margin: 0 0 0.75rem; color: var(--accent); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.025em; }
h1 { max-width: 650px; margin: 0; font-size: clamp(2.5rem, 7vw, 4.5rem); }
.intro > p:last-child { max-width: 560px; margin-top: 1.5rem; color: var(--muted); font-size: 1.125rem; }
.section { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.section h2, .document h1 { margin: 0 0 1.5rem; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.product { max-width: 640px; padding: 1.5rem; border: 1px solid var(--line); border-radius: 0.75rem; background: var(--wash); }
.product h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.product p, .contact p { margin: 0.5rem 0; color: var(--muted); }
.document { max-width: 720px; padding-top: 4rem; padding-bottom: 5rem; }
.document h1 { margin-bottom: 1rem; }
.document h2 { margin: 2.25rem 0 0.5rem; font-size: 1.25rem; }
.document p { color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }

@media (max-width: 560px) {
  .site-header, .site-footer { align-items: flex-start; flex-direction: column; gap: 0.75rem; padding-right: 1.25rem; padding-left: 1.25rem; }
  .site-header nav, .site-footer nav { gap: 0.6rem 1rem; }
  main { padding-right: 1.25rem; padding-left: 1.25rem; }
  .intro { padding-top: 4rem; }
}
