/* Nested Stays shared site styles: flat palette from the logo, generous whitespace. */
:root {
  --blue: #0B61AE;
  --blue-dark: #094F8E;
  --green: #44AD49;
  --cyan: #00B8EE;
  --lime: #A8CC5C;
  --ink: #15212C;
  --muted: #5A6672;
  --line: #E2E7EC;
  --soft: #F4F7F9;
  --blue-tint: #EEF4FA;
  --bg: #FFFFFF;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
p { margin: 0 0 16px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* Sticky header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; flex: 0 0 auto; }
.brand img { width: 34px; height: 34px; }
.site-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { flex: 0 0 auto; text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--blue); background: var(--blue-tint); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; padding: 12px 22px; border-radius: 10px; border: 2px solid var(--blue); background: var(--blue); color: #fff; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn.secondary { background: #fff; color: var(--blue); }
.btn.secondary:hover { background: var(--blue-tint); }
.btn.green { background: var(--green); border-color: var(--green); }
.btn.green:hover { background: #3A9A3F; border-color: #3A9A3F; }
.btn.small { font-size: 15px; padding: 9px 16px; }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--soft); }
.section.blue { background: var(--blue); color: #fff; }
.section.blue a:not(.btn) { color: #fff; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.section.blue .eyebrow { color: var(--lime); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.section.blue .section-head p { color: rgba(255,255,255,.85); }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }
.card .actions { margin-top: auto; padding-top: 8px; }

.site-footer { padding: 48px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer a { color: var(--ink); font-weight: 600; text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.site-footer p { margin: 0; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .site-header .wrap { gap: 12px; height: 60px; }
  .brand span { display: none; }
  .grid { grid-template-columns: 1fr; }
  .card { padding: 22px; }
}
