/* VReinforce website styles. Brand: see README.md. No external requests. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2");
}

:root {
  --navy: #15344A;
  --teal: #168F78;
  --teal-dark-bg: #3CC4A6;
  --gold: #D5A347;
  --slate: #46596A;
  --mist: #F5F8F9;
  --line: #DCE4E8;
  --mint: #EEF5F3;
  --white: #FFFFFF;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--slate);
  background: var(--white);
}

h1, h2, h3 { margin: 0; font-weight: 600; color: var(--navy); }
p { margin: 0; }
strong, b { font-weight: 600; color: var(--navy); }
img, svg { display: block; max-width: 100%; }

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--teal); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 8px;
  z-index: 10;
}
.skip-link:focus { top: 16px; color: var(--white); }

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

/* Header */
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-height: 44px;
}
.brand svg { width: 40px; height: 40px; }
.wordmark { font-size: 1.625rem; font-weight: 600; letter-spacing: -0.02em; color: var(--navy); }
.wordmark .v { color: var(--teal); }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  font-size: 1.0625rem;
}
.site-nav a { display: inline-block; padding: 10px 0; text-decoration: none; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  background: var(--navy);
  color: var(--white);
}
.btn:hover { background: #0E2536; color: var(--white); }
.btn-light { background: var(--teal-dark-bg); color: var(--navy); }
.btn-light:hover { background: #5CD3B8; color: var(--navy); }
.site-nav .btn { padding: 10px 20px; color: var(--white); }

/* Hero */
.hero .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding-block: 48px 88px;
}
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.status {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--mint);
  border-radius: 999px;
  padding: 6px 14px;
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.hero h1 .accent { color: var(--teal); display: block; }
.lead { font-size: 1.25rem; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.actions .text-link { font-weight: 600; padding: 12px 0; }
.mail-note { font-size: 1rem; }

/* Example cards */
.example { flex: 1 1 400px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.example-board {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.issue {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.issue-tag {
  align-self: flex-start;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 3px 10px;
  color: var(--navy);
  background: #E3F1EE;
}
.issue-tag.warn { color: #7A4F00; background: #FBF1DE; }
.issue-title { font-size: 1.125rem; font-weight: 600; color: var(--navy); }
.issue-detail { font-size: 1rem; }
.issue-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--navy);
  color: var(--white);
}
.chip.secondary { background: var(--white); color: var(--navy); border: 1px solid #B9C7CF; }
.example figcaption { font-size: 0.875rem; text-align: center; }

/* Sections */
.section { padding-block: 88px; }
.section.tint { background: var(--mist); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 40em; margin-bottom: 48px; }
.section h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); line-height: 1.15; letter-spacing: -0.02em; }
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tint .card { border: 1px solid var(--line); }
.section:not(.tint) .card { background: var(--mist); }
.card-num { font-size: 2.25rem; font-weight: 600; line-height: 1; color: var(--teal); }
.card h3 { font-size: 1.5rem; line-height: 1.25; }

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px 72px;
}
.two-col > div { display: flex; flex-direction: column; gap: 14px; }
.two-col h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); line-height: 1.2; }

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
}
.timeline li {
  border-top: 4px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.timeline li.now { border-top-color: var(--teal); }
.timeline .when { font-size: 0.9375rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; }
.timeline h3 { font-size: 1.375rem; }

/* Call to action band */
.cta-band {
  background: var(--navy);
  border-radius: 24px;
  padding: 56px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-band > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cta-band h2 { color: var(--white); font-size: clamp(1.75rem, 3vw, 2.375rem); line-height: 1.2; }
.cta-band p { color: #D5E1E7; }
.cta-band a:not(.btn) { color: var(--white); }
.cta-band a:not(.btn):hover { color: var(--teal-dark-bg); }

/* Plain pages (About, Privacy, 404) */
.page { padding-block: 48px 88px; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 20px; }
.page h2 { font-size: 1.625rem; margin: 48px 0 12px; }
.page p + p { margin-top: 14px; }
.page ul { padding-left: 1.25em; margin: 14px 0 0; }
.page li + li { margin-top: 8px; }
.page .updated { font-size: 1rem; }
.page .lead { margin-bottom: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 28px;
  font-size: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer a { display: inline-block; padding: 10px 0; }

@media (max-width: 600px) {
  .hero .wrap { padding-block: 24px 64px; gap: 40px; }
  .section { padding-block: 64px; }
  .cta-band { padding: 40px 24px; border-radius: 20px; }
  .card { padding: 24px; }
  .site-nav ul { gap: 4px 20px; }
}
