@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --ink: #142b27;
  --muted: #475b56;
  --green: #144f42;
  --line: #d8e3dd;
  --paper: #f8faf7;
  --lime: #dcf79e;
  font-family: "Instrument Sans", system-ui, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible { outline: 3px solid #bd6700; outline-offset: 4px; }
.container { width: min(74rem, 100% - 3rem); margin-inline: auto; }
.skip-link { position: absolute; top: .75rem; left: .75rem; padding: .6rem 1rem; background: white; z-index: 2; }
.skip-link:not(:focus) { transform: translateY(-160%); }
.site-header { background: white; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: .8rem 2rem; padding-block: 1rem; }
.nav a { text-decoration: none; }
.brand { display: grid; line-height: 1.15; font-size: 1.35rem; font-weight: 800; }
.brand span { color: var(--muted); font-size: .72rem; margin-top: .25rem; }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem clamp(.7rem, 3vw, 2.5rem); font-weight: 700; }
.nav-links a:hover, .text-link:hover { text-decoration: underline; }
.nav-links a:last-child { border: 1px solid var(--line); border-radius: .6rem; padding: .45rem .85rem; }

.hero { background: #102f28; color: white; padding-block: clamp(2.5rem, 6vw, 5.25rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.7rem, 5vw, 5rem); }
.hero-image { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border-radius: 1.25rem; background: #23493f; }
.eyebrow { color: var(--lime); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); margin-block: .75rem 1.25rem; font-weight: 800; }
.hero-copy > p:not(.eyebrow) { color: #dce9e3; max-width: 36ch; font-size: clamp(1rem, 2vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.1rem; margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; border: 1px solid transparent; border-radius: .65rem; min-height: 2.8rem; padding: .6rem .95rem; font-weight: 800; text-decoration: none; }
.primary { background: var(--lime); color: #162b22; }
.primary:hover { background: #eaffbf; }
.secondary { color: white; border-color: #7b9b8e; }
.secondary:hover { background: #214b40; }
.solid { background: var(--green); color: white; }
.solid:hover { background: #0e3b31; }
.text-link { color: var(--green); font-weight: 800; text-underline-offset: .26em; }
.section { padding-block: clamp(2.75rem, 6vw, 5rem); }
.section h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1.4rem; }
.section h3 { font-size: 1.25rem; }
.account-grid, .service-grid, .news-grid { display: grid; gap: 1rem; }
.account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel, .service-card, .news-card { background: white; border: 1px solid var(--line); border-radius: 1rem; }
.panel, .service-card, .news-copy { padding: clamp(1rem, 3vw, 1.75rem); }
.panel p, .service-card p, .news-copy p { color: var(--muted); margin-top: .65rem; }
.services { background: #eaf2ec; }
.service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card { display: flex; flex-direction: column; gap: .5rem; text-decoration: none; }
.service-card:hover { border-color: var(--green); }
.service-card span { margin-top: auto; font-weight: 800; font-size: 1.25rem; align-self: flex-end; }
.section-header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.4rem; }
.section-header h2 { margin: 0; }
.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-card { overflow-wrap: anywhere; }
.news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 1rem 1rem 0 0; }
.news-copy time { display: block; color: var(--muted); font-size: .875rem; margin-bottom: .55rem; }
.news-copy a { text-underline-offset: .16em; }

.site-footer { background: #eaf2ec; padding-block: 2.5rem; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.5rem 3rem; }
.footer-grid p + p { margin-top: .5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-content: start; }
.partner-logos { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.partner-logos img { width: 5.75rem; height: 3.5rem; object-fit: contain; background: white; padding: .2rem; border-radius: .3rem; }

@media (max-width: 56rem) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-break { display: none; }
}

@media (max-width: 42rem) {
  .container { width: calc(100% - 2rem); }
  .nav { flex-wrap: wrap; }
  .hero-grid, .account-grid, .news-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-image { aspect-ratio: 16 / 9; }
}

@media (max-width: 25rem) {
  .service-grid { grid-template-columns: minmax(0, 1fr); }
}

