/* ============================================================
   TREPO — Brand tokens & components
   Palette sampled from the logo:
   teal #296065 · yellow #F6BF41 · green #5BBE95 · cream #FDF2DE
   ============================================================ */

/* Roboto type system (site-wide) — replaces Baloo/Nunito/Shantell.
   Headlines: bold+italic ALL CAPS.  Sub-heads/kickers: italic. */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700;1,900&display=swap');

:root {
  /* brand core */
  --teal:        #296065;   /* primary — bird + wordmark */
  --teal-deep:   #1E4B4F;   /* darker teal for surfaces */
  --teal-ink:    #173638;   /* near-black teal, body text */
  --teal-soft:   #3D6A6E;   /* muted teal, secondary text — darkened for WCAG AA (≥4.5:1 on cream) */
  --teal-100:    #D8E7E6;   /* tint */

  --yellow:      #F6BF41;   /* secondary accent — bottom bar (use on teal only) */
  --yellow-deep: #E2A82B;   /* yellow hover/edge */
  --yellow-soft: #FCE6AE;

  --green:       #5BBE95;   /* tertiary — leaf */
  --green-deep:  #2B7555;   /* darkened for WCAG AA (≥4.5:1 on cream) — text/highlight use */

  --cream:       #FDF2DE;   /* signature surface */
  --cream-2:     #FBE9C8;   /* warmer cream */
  --paper:       #FFFCF5;   /* lightest card surface */
  --line:        #ECDFC4;   /* hairline on cream */
  --line-soft:   #F0E7D2;

  /* type — Roboto site-wide (was Baloo 2 / Nunito Sans / Shantell Sans) */
  --font-display: 'Roboto', system-ui, sans-serif;
  --font-body:    'Roboto', system-ui, sans-serif;
  --font-hand:    'Roboto', system-ui, sans-serif;

  /* radii / shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --shadow-sm: 0 4px 14px -6px rgba(23,54,56,.18);
  --shadow-md: 0 16px 38px -16px rgba(23,54,56,.30);
  --shadow-lg: 0 30px 70px -28px rgba(23,54,56,.40);
}

/* ---------- base ---------- */
.trepo {
  font-family: var(--font-body);
  color: var(--teal-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.trepo * { box-sizing: border-box; }
.trepo h1, .trepo h2, .trepo h3, .trepo h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--teal);
}
/* Roboto headline treatment: h1/h2 bold+italic ALL CAPS, h3/h4 italic. */
.trepo h1, .trepo h2 { font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
.trepo h3, .trepo h4 { font-style: italic; font-weight: 500; }
/* Kicker / eyebrow labels count as sub-heads → italic. */
.trepo .t-eyebrow { font-style: italic; }
/* Bigger Trepo wordmark in the nav. */
.trepo .nav-logo .wmk { height: 26px; }
.trepo p { margin: 0; line-height: 1.6; }

/* ---------- focus visibility (WCAG 2.4.7) ---------- */
.trepo :focus-visible {
  outline: 3px solid var(--green-deep);
  outline-offset: 2px;
  border-radius: 4px;
}
/* On dark teal surfaces a dark-green ring won't show — use yellow there. */
.section--teal :focus-visible,
.t-ann :focus-visible,
.legal-foot :focus-visible {
  outline-color: var(--yellow);
}

/* ---------- skip-to-content link (WCAG 2.4.1) ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  transition: top .15s ease;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- eyebrow / kicker ---------- */
.t-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 17px;
  color: var(--green-deep);
  letter-spacing: .01em;
}
.t-eyebrow.tag {
  font-family: var(--font-body);
  font-weight: 800; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .13em;
  color: var(--teal); background: var(--teal-100);
  padding: 7px 14px; border-radius: var(--r-pill); white-space: nowrap;
}
.t-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex: none; }

/* ---------- buttons ---------- */
.t-btn {
  font-family: var(--font-body); font-weight: 800;
  border: none; cursor: pointer; display: inline-flex; align-items: center;
  gap: 9px; white-space: nowrap; text-decoration: none;
  padding: 15px 26px; border-radius: var(--r-pill); font-size: 16px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.t-btn:active { transform: translateY(1px); }
.t-btn--primary { background: var(--teal); color: #fff; box-shadow: 0 12px 24px -12px rgba(41,96,101,.7); }
.t-btn--primary:hover { background: var(--teal-deep); box-shadow: 0 16px 30px -12px rgba(41,96,101,.8); }
.t-btn--accent { background: var(--yellow); color: var(--teal-ink); box-shadow: 0 12px 24px -12px rgba(226,168,43,.85); }
.t-btn--accent:hover { background: var(--yellow-deep); }
.t-btn--ghost { background: var(--paper); color: var(--teal); border: 1.5px solid var(--line); }
.t-btn--ghost:hover { border-color: var(--teal-soft); }
.t-btn--onTeal { background: var(--yellow); color: var(--teal-ink); }
.t-btn--sm { padding: 11px 20px; font-size: 14.5px; }

/* ---------- chips ---------- */
.t-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  color: var(--teal); background: var(--paper);
  border: 1.5px solid var(--line); padding: 8px 15px; border-radius: var(--r-pill); white-space: nowrap;
}
.t-chip .ic { font-size: 15px; }

/* ---------- cards ---------- */
.t-card {
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--r-lg); padding: 26px;
}
.t-card__ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; background: var(--teal-100); color: var(--teal); margin-bottom: 16px;
}
.t-card h4 { font-size: 21px; margin-bottom: 8px; }
.t-card p { color: var(--teal-soft); font-size: 15px; }

/* ---------- announcement bar ---------- */
.t-ann {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--teal); color: var(--cream);
  font-family: var(--font-body); font-weight: 700; font-size: 14.5px;
  padding: 11px 18px; letter-spacing: .01em;
}
.t-ann .pill {
  font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
  background: var(--yellow); color: var(--teal-ink); padding: 3px 10px; border-radius: var(--r-pill);
}
/* Mobile shows a single pill button instead of the full sentence — hidden on desktop. */
.t-ann__mobile { display: none; }

/* ---------- nav ---------- */
.t-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 48px;
}
.t-nav__logo { display: flex; align-items: center; gap: 11px; }
.t-nav__logo img { height: 34px; display: block; }
.t-nav__logo .wm { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--teal); letter-spacing: .01em; }
.t-nav__links { display: flex; gap: 30px; }
.t-nav__links a { font-family: var(--font-body); font-weight: 700; font-size: 15px; color: var(--teal-soft); text-decoration: none; white-space: nowrap; }
.t-nav__links a:hover { color: var(--teal); }
.t-nav__cta { display: flex; align-items: center; gap: 14px; }
.t-nav__cta .ghost-link { font-family: var(--font-body); font-weight: 700; font-size: 15px; color: var(--teal); text-decoration: none; white-space: nowrap; }
