:root {
  --ink: #1A1D21; --muted: #5B6168; --canvas: #FAFAF7; --surface: #FFFFFF; --hairline: #E2E4E0;
  --accent: #FFBE33; --accent-surface: #FFF4D1; --before: #3F6587; --during: #6B4FA3; --after: #2C7A57;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 17px/1.6 "Instrument Sans", -apple-system, "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--hairline); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav { display: flex; gap: 18px; font-size: 15px; }
nav a { text-decoration: none; color: var(--muted); }
nav a[aria-current="page"], nav a:hover { color: var(--ink); }
.site-footer { margin-top: 72px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 24px; padding-bottom: 40px; }

/* Home */
.hero { padding: 64px 0 40px; }
.hero h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; max-width: 14em; }
.hero p { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.badge { display: inline-block; background: var(--accent-surface); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.button { display: inline-block; background: var(--accent); color: var(--ink); font-weight: 700; padding: 14px 22px; border-radius: 14px; text-decoration: none; }
.button:hover { filter: brightness(0.96); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 8px 0; }
.feature { background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; padding: 20px; }
.feature h2 { font-size: 18px; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.phases { display: flex; gap: 6px; margin-bottom: 10px; }
.phases span { width: 22px; height: 5px; border-radius: 3px; }

/* Text pages */
.page { padding-top: 48px; }
.page h1 { font-size: clamp(30px, 5vw, 40px); line-height: 1.15; margin: 0 0 8px; letter-spacing: -0.01em; }
.page .lead { color: var(--muted); font-size: 18px; margin: 0 0 32px; }
.page h2 { font-size: 22px; margin: 40px 0 8px; }
.page h3 { font-size: 18px; margin: 24px 0 4px; }
.page p, .page li { max-width: 42em; }
.page ul { padding-left: 22px; }
.summary { background: var(--accent-surface); border-radius: 16px; padding: 18px 22px; }
.summary ul { margin: 8px 0 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--hairline); }
th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.contact { background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; padding: 20px 22px; }
details { background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; padding: 14px 18px; margin: 10px 0; max-width: 42em; }
summary { font-weight: 600; cursor: pointer; }
details p { margin: 10px 0 2px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  nav { gap: 12px; }
  .hero { padding-top: 40px; }
  .hero p { font-size: 18px; }
}
