/* System fonts (no external download) */
:root{
  --bg-dark: #2f3136;     /* charcoal */
  --bg-darker:#26282c;
  --text:     #eaeaea;
  --text-dim: #cdd0d6;

  --ink:      #2a2a2a;    /* body text */
  --paper:    #ffffff;    /* cards */
  --alt:      #f6f7f9;    /* light section */

  --mint:     #39c3a0;    /* accent 1 (deck mint) */
  --orange:   #ff8a3d;    /* accent 2 (deck orange) */
  --mint-ink: #0f3b34;

  --gap:      28px;
  --radius:   16px;
  --shadow:   0 8px 24px rgba(15,16,20,0.06);
}

* { box-sizing: border-box; }
html, body { height: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html, body { scroll-behavior: auto; }
}

body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}

/* Containers and sections */
.container{ width: min(1120px, 92vw); margin-inline: auto; }
.section{ padding: clamp(48px, 6vw, 96px) 0; background: #fff; }
.section--alt{ background: var(--alt); }
.section__title{
  margin: 0 0 12px 0;
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: 0.2px;
}
.lead{ font-size: 1.08rem; color: #4a4f57; margin: 0.4rem 0 0.8rem 0; }
.bullets{ margin:0; padding-left:1rem; } .bullets li{ margin:6px 0; }

/* Sticky Nav */
.nav{ position: sticky; top: 0; z-index: 10; background: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: saturate(120%) blur(2px);
}
.nav__inner{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:10px 0; }
.nav__brand img{ height:36px; width:auto; display:block; }
.nav__links a{
  color: var(--text-dim); text-decoration: none; margin-left: 18px;
  font-weight: 600; font-size: 0.95rem;
}
.nav__links a:hover{ color: var(--text); }

/* Hero */
.hero{ background: var(--bg-dark); color: var(--text);
  padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 8vw, 96px);
}
.hero__inner{ display:grid; place-items:center; gap:18px; text-align:center; }
.logo{ width:min(480px, 75vw); height:auto; display:block; filter: brightness(1.02) contrast(1.02); }
.tagline{ margin:0; color: var(--text-dim); letter-spacing: 0.16em; font-size: clamp(12px, 1.4vw, 14px); }

/* Grids */
.grid-2{ display:grid; gap:var(--gap); grid-template-columns:1fr; }
@media (min-width: 880px){ .grid-2{ grid-template-columns: 1.2fr 1fr; } }

.grid-3{ display:grid; gap:var(--gap); grid-template-columns:1fr; }
@media (min-width: 960px){ .grid-3{ grid-template-columns: repeat(3, 1fr); } }

/* Cards and buttons */
.card{
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
}
.card--soft{ background: #fff; }
.card--accent{ border: 2px solid var(--mint); background: #fafffc; }
.card__title{ margin:0 0 8px 0; font-weight:700; font-size:1.15rem; letter-spacing:0.2px; }

.btn{
  display:inline-block; margin-top:10px; padding:10px 16px;
  background: var(--mint); color:#07342c; font-weight:700; text-decoration:none;
  border-radius:12px; transition: transform .1s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 6px 14px rgba(57,195,160,0.35); }
.btn--orange{ background: var(--orange); color:#431f05; }
.btn--orange:hover{ box-shadow: 0 6px 14px rgba(255,138,61,0.35); }

/* How it works */
.hiw__item{ position: relative; }
.hiw__icon{
  width: 44px; height: 44px; border-radius: 50%;
  display:grid; place-items:center;
  font-weight: 800;
  color: #fff; background: var(--mint);
  margin-bottom: 10px;
}
.hiw__icon--accent{ background: var(--orange); }

/* Lead form */
.leadform{ padding: 22px; }
.leadform__grid{
  display:grid; gap:14px; grid-template-columns: 1fr;
}
@media (min-width: 720px){
  .leadform__grid{ grid-template-columns: 1fr 1fr; }
}
.leadform__full{ grid-column: 1 / -1; }
.leadform label{ display:flex; flex-direction:column; gap:6px; font-weight:600; }
.leadform input, .leadform textarea{
  border:1px solid #d6d9df; border-radius:10px; padding:10px 12px; font: inherit;
}
.leadform input:focus, .leadform textarea:focus{ outline:2px solid rgba(57,195,160,0.35); border-color: var(--mint); }
.leadform__actions{ display:flex; align-items:center; gap:16px; margin-top:10px; flex-wrap:wrap; }
.leadform__note{ margin:0; color:#5a616b; }
.hidden{ position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }

/* People / Contacts */
.cards-people{ display:grid; gap:var(--gap); grid-template-columns:1fr; }
@media (min-width: 880px){ .cards-people{ grid-template-columns: repeat(2, 1fr); } }
.person{
  display:grid; grid-template-columns:96px 1fr; gap:18px; align-items:center;
  background:#fff; border-radius:var(--radius); padding:18px; box-shadow: var(--shadow);
}
.person__avatar{ width:96px; height:96px; border-radius:50%; overflow:hidden; background:var(--bg-darker); border:2px solid var(--mint); }
.person__avatar img{ width:100%; height:100%; object-fit:cover; }
.person__name{ margin:0 0 2px 0; font-weight:700; font-size:1.15rem; }
.person__role{ margin:0 0 6px 0; color:#5a616b; font-weight:600; }
.person__contact{ margin:0; }
.person__contact a{ color: var(--mint-ink); text-decoration:none; border-bottom:1px solid rgba(57,195,160,0.35); }
.person__contact a:hover{ border-color: var(--mint); }

/* Footer */
.footer{ background: var(--bg-dark); color: var(--text-dim); padding:18px 0; }
.footer__inner{ display:flex; align-items:center; gap:8px; justify-content:center; flex-wrap:wrap; }
.dot{ opacity:.6; }

/* Progressive rendering (performance) */
section, .person { content-visibility: auto; contain-intrinsic-size: 600px; }


/* Small labels under solution cards */
.chips { margin-top: 8px; }
.chip{
  display: inline-block;
  padding: 4px 10px;
  margin: 4px 6px 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  background: #eef1f4;
  color: #3a3f46;
  border: 1px solid #e2e6eb;
}
.chip--mint{
  background: #e9fbf6;
  color: #0f3b34;
  border-color: rgba(57,195,160,0.35);
}

/* Back-to-top button */
.to-top{
  position: fixed;
  right: clamp(14px, 2vw, 22px);
  bottom: clamp(14px, 2vw, 22px);
  z-index: 50;

  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;

  background: rgba(47,49,54,0.92);          /* matches dark header */
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  text-decoration: none;

  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
  opacity: 0.95;
}
.to-top:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.32);
  background: rgba(47,49,54,1);
  opacity: 1;
}
.to-top svg{ pointer-events: none; }

@media (prefers-reduced-motion: reduce){
  .to-top{ transition: none; }
}
