/* Faro afternoon internal review — VI v0.2 proposal colors mapped by CPO.
   The header is plain text. No custom wordmark or font asset is supplied. */
:root {
  --brand: #C5F536;
  --brand-ink: #102820;
  --accent: #C5F536;
  --ink: #102820;
  --bg: #F5F3EB;
  --bg-soft: #F5F3EB;
  --coral: #FF795E;
  --lilac: #B4AEFF;
  --muted: #4D6258; /* CPO-derived supporting color. */
  --line: #CDD2C7; /* Decorative lines, not control boundaries. */
  --radius: 16px;
  --maxw: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
}
a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:focus-visible,
main:focus-visible,
section:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 10;
  background: var(--bg);
  padding: 10px 16px;
  min-height: 44px;
}
.skip:focus { left: 8px; }
.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}
.preview-bar {
  padding: 6px 24px;
  color: var(--muted);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
header.site {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
}
nav ul { list-style: none; margin: 0; padding: 0; }
nav.main ul { display: flex; align-items: center; gap: 24px; }
nav.main a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 2px;
  color: var(--ink);
  font-size: 16px;
}
section { padding: 48px 0; scroll-margin-top: 20px; }
.hero { padding: 48px 0; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}
h1 {
  margin: 0 0 24px;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
  word-break: normal;
  overflow-wrap: normal;
}
.hero h1 span { display: block; }
h2 {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
}
h3 { margin: 0 0 12px; font-size: 21px; font-weight: 700; line-height: 1.35; }
p { margin: 0 0 16px; }
.lead { max-width: 780px; margin-bottom: 16px; }
.subtitle { margin-bottom: 24px; font-size: 18px; font-weight: 400; line-height: 1.5; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 700;
  text-decoration: none;
}
.btn:hover { background: var(--brand); color: var(--brand-ink); text-decoration: underline; }
.partner-link { max-width: 780px; margin: 12px 0 0; font-size: 16px; }
.partner-link a { display: inline-block; min-height: 44px; padding: 8px 0; }
.mechanism { max-width: 850px; margin-bottom: 24px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.card p { margin: 0; }
.ai-support { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ai-support h2 { margin-bottom: 12px; font-size: 22px; }
.ai-support p { max-width: 850px; margin: 0; }
.prose p { max-width: 780px; }
.prose p:last-child { margin-bottom: 0; }
.participation-summary { margin-bottom: 24px; }
.preview-status { margin: 16px 0 0; color: var(--muted); font-size: 16px; }
.soft { background: var(--bg-soft); }
.soft h2 { margin-bottom: 12px; }
.legal { max-width: 820px; }
.legal h1 { font-size: 40px; }
.legal h2 { margin-top: 32px; font-size: 24px; }
.legal a { display: inline-block; min-height: 44px; padding: 8px 0; }
footer.site { padding: 32px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
footer.site .wrap { display: grid; grid-template-columns: 3fr 1fr; gap: 48px; }
footer.site .company { max-width: 760px; }
footer.site p { margin-bottom: 12px; }
footer.site p:last-child { margin-bottom: 0; }
footer.site a { display: inline-block; min-height: 44px; padding: 8px 0; }
.error-page { padding-top: 64px; padding-bottom: 64px; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-right: 20px; padding-left: 20px; }
  .preview-bar { padding-right: 20px; padding-left: 20px; }
  header.site .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 16px;
    row-gap: 0;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .logo { grid-column: 1; grid-row: 1; justify-self: start; }
  nav.main, nav.main ul { display: contents; }
  nav.main li:first-child { grid-column: 1; grid-row: 2; }
  nav.main li:nth-child(2) { grid-column: 2; grid-row: 2; justify-self: end; }
  nav.main .language-item { grid-column: 2; grid-row: 1; justify-self: end; }
  nav.main a { padding: 8px 0; }
  section { padding: 32px 0; }
  .hero { padding: 28px 0; }
  h1 { margin-bottom: 20px; font-size: 36px; line-height: 1.12; }
  h2 { font-size: 27px; line-height: 1.2; }
  .eyebrow { margin-bottom: 12px; }
  .lead { margin-bottom: 16px; }
  .subtitle { margin-bottom: 20px; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 20px; }
  footer.site .wrap { grid-template-columns: 1fr; gap: 20px; }
  .legal h1 { font-size: 36px; }
  .legal h2 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
