/* The institutional site. One light palette on purpose: it is a brand page, so it
   does not follow the visitor's dark mode (index.html declares color-scheme: only light, which also opts out of
   the forced darkening of Chrome's Auto Dark Mode). */

:root {
  --brand: #2FA044;
  --brand-dark: #1E6E3A;
  --brand-soft: #E7F4EA;
  --ink: #14211A;
  --text: #2A3A30;
  --muted: #5E6E64;
  --line: #E1E9E3;
  --surface: #FFFFFF;
  --surface-alt: #F4F8F5;
  --night: #0E1A13;
  --night-2: #16271D;
  --on-night: #E9F2EC;
  --on-night-muted: #A9BDB0;
  --warn: #B88400;
  --warn-soft: #FBF1D9;
  --info: #2F6FB0;
  --info-soft: #E3EEF9;
  --radius: 16px;
  --radius-sm: 10px;
  --gutter: 16px;
  --topbar: 64px;
  --shadow: 0 1px 2px rgba(20, 33, 26, .06), 0 8px 24px rgba(20, 33, 26, .06);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--brand-dark); }

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}
.skip:focus { left: 8px; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

section[id], main { scroll-margin-top: var(--topbar); }

/* ── Top bar ─────────────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 26, 19, .92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar-inner {
  height: var(--topbar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -.01em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-size: .95rem;
  font-weight: 800;
}

.menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.menu a {
  color: var(--on-night-muted);
  text-decoration: none;
  font-size: .95rem;
  padding: 8px 12px;
  border-radius: 8px;
}
.menu a:hover, .menu a[aria-current] { color: #fff; }
.menu a[aria-current] { background: rgba(255, 255, 255, .07); }
.menu a.menu-cta {
  color: #fff;
  background: var(--brand);
  margin-left: 8px;
}
.menu a.menu-cta:hover { background: var(--brand-dark); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  content: "";
  transition: transform .2s, opacity .2s;
}
.menu-toggle span { top: 21px; }
.menu-toggle span::before { left: 0; top: -7px; }
.menu-toggle span::after { left: 0; top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 859px) {
  .menu-toggle { display: block; }
  .menu {
    display: none;
    position: absolute;
    top: var(--topbar);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px var(--gutter) 16px;
    background: var(--night);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .menu-open .menu { display: flex; }
  .menu a { padding: 12px; font-size: 1rem; }
  .menu a.menu-cta { margin: 8px 0 0; text-align: center; }
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.actions-center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .6); }
.btn-outline { color: var(--brand-dark); border-color: var(--brand); background: var(--surface); }
.btn-outline:hover { background: var(--brand-soft); }

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(47, 160, 68, .28), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(47, 160, 68, .12), transparent 60%),
    var(--night);
  color: var(--on-night);
  padding: 72px 0 88px;
}
.hero h1 { color: #fff; }
.hero .lead { color: var(--on-night-muted); font-size: 1.15rem; max-width: 36em; }
.hero .eyebrow { color: #7FD08F; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: .9em;
}

.hero-visual { margin: 0; }
.hero-visual figcaption {
  margin-top: 10px;
  text-align: right;
  font-size: .75rem;
  color: var(--on-night-muted);
  opacity: .7;
}
.panel {
  background: linear-gradient(180deg, var(--night-2), #122117);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.panel-title { font-weight: 600; color: #fff; font-size: .95rem; }
.panel-dots { display: flex; gap: 5px; }
.panel-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.panel-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.panel-rows li {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255, 255, 255, .04);
  border-radius: 12px;
  padding: 12px;
}
.panel-rows b { display: block; color: #fff; font-size: .92rem; font-weight: 600; }
.panel-rows small { display: block; color: var(--on-night-muted); font-size: .82rem; line-height: 1.35; }
.tag {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex: none;
}
.tag .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.tag-ok { background: rgba(47, 160, 68, .18); color: #6FD083; }
.tag-warn { background: rgba(184, 132, 0, .2); color: #F0C04F; }
.tag-info { background: rgba(47, 111, 176, .22); color: #8FBDEB; }
.panel-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 92px;
  margin-top: 16px;
  padding: 10px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.panel-bars span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #4CC163, rgba(47, 160, 68, .35));
}

/* ── Sections ────────────────────────────────────────────────────────────── */

.section { padding: 88px 0; }
.section-alt { background: var(--surface-alt); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-features { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin: 0; }
.card-wide { grid-column: 1 / -1; }
/* Two columns wide where there are columns to spare: with the ten cards after it
   that makes twelve slots, so every row is full at four, three or two columns. */
@media (min-width: 600px) {
  .card-wide { grid-column: span 2; }
}
.icon-badge {
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  margin-bottom: 16px;
}

.providers {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.providers li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: .9rem;
}
.providers li.soon {
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--muted);
}
.providers small { font-weight: 500; margin-left: 4px; }

/* ── Steps ───────────────────────────────────────────────────────────────── */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: none;
}
.steps li {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--surface-alt);
}
.steps p { color: var(--muted); margin: 0; }
.step-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ── Security (dark band) ────────────────────────────────────────────────── */

.section-dark { background: var(--night); color: var(--on-night); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #7FD08F; }
.point .icon { width: 28px; height: 28px; color: #6FD083; margin-bottom: 14px; }
.point p { color: var(--on-night-muted); margin: 0; }

/* ── About ───────────────────────────────────────────────────────────────── */

.about {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.about-copy p { font-size: 1.1rem; }
.about-copy p:last-child { color: var(--muted); margin-bottom: 0; }

/* ── Contact ─────────────────────────────────────────────────────────────── */

.contact { background: linear-gradient(180deg, var(--surface-alt), var(--brand-soft)); }
.contact-inner { max-width: 760px; text-align: center; }
.contact .lead { color: var(--muted); font-size: 1.1rem; }
.contact-address { margin-top: 24px; color: var(--muted); }
.contact-address a { font-weight: 600; overflow-wrap: anywhere; }

/* ── Footer ──────────────────────────────────────────────────────────────── */

.footer {
  background: var(--night);
  color: var(--on-night-muted);
  font-size: .9rem;
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}
.footer a { color: var(--on-night); }

/* ── Narrow screens ──────────────────────────────────────────────────────── */

@media (max-width: 959px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 480px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 719px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .card, .steps li { padding: 22px; }
  .actions .btn { flex: 1 1 100%; }
}
