/* Acuity Diagnostics - site stylesheet */
:root{
  --ink:#131f38;
  --navy-2:#1c2c4c;
  --green:#4fd99a;
  --green-line:#3fc98c;
  --teal:#3f9c97;
  --teal-deep:#2c7672;
  --slate:#616b7a;
  --paper:#fbfcfc;
  --mist:#eef3f3;
  --line:#dde5e5;
  --danger:#b3261e;
  --max:1120px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth; scroll-padding-top:80px;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important;}
}
body{
  min-height:100vh; display:flex; flex-direction:column;
  font-family:'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:'Space Grotesk', system-ui, sans-serif;
  line-height:1.1;
  letter-spacing:-0.01em;
  color:var(--ink);
}
a{color:inherit;}
main{flex:1;}
img{max-width:100%; display:block;}
.wrap{max-width:var(--max); margin:0 auto; padding:0 32px;}
@media (max-width:600px){ .wrap{ padding:0 20px; } }
.skip-link{
  position:absolute; left:-999px; top:8px; z-index:100;
  background:var(--ink); color:#fff; padding:10px 16px; border-radius:3px; text-decoration:none;
}
.skip-link:focus{ left:8px; }
.eyebrow{
  font-family:'IBM Plex Mono', ui-monospace, monospace;
  font-size:12.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--teal-deep);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
}
.mark{ width:28px; height:27px; flex:none; color:#0a2144; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:'IBM Plex Sans', system-ui, sans-serif;
  font-weight:600;
  font-size:15px;
  padding:14px 26px;
  border-radius:3px;
  text-decoration:none;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary{ background:var(--ink); color:#fff; }
.btn-primary:hover{ background:var(--navy-2); transform:translateY(-1px); }
.btn-ghost{ border-color:var(--ink); color:var(--ink); background:transparent; }
.btn-ghost:hover{ background:var(--ink); color:#fff; }
.btn-green{ background:var(--green); color:var(--ink); }
.btn-green:hover{ background:var(--green-line); transform:translateY(-1px); }

/* ---------- NAV ---------- */
header.site{
  position:sticky; top:0; z-index:40;
  background:rgba(251,252,252,0.92);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.nav{
  position:relative;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 32px;
  max-width:var(--max); margin:0 auto;
  gap:16px;
}
@media (max-width:600px){ .nav{ padding:12px 20px; } }
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.brand img{ width:32px; height:auto; }
.brand-text{ font-family:'Space Grotesk', system-ui, sans-serif; font-weight:700; font-size:19px; letter-spacing:0.01em; line-height:1; }
.brand-text span{ color:var(--slate); font-weight:500; font-size:12px; letter-spacing:0.13em; display:block; margin-top:3px; }
.nav-links{ display:flex; align-items:center; gap:28px; list-style:none; }
.nav-links a{ text-decoration:none; font-weight:500; font-size:15px; color:var(--ink); padding:6px 0; border-bottom:2px solid transparent; transition:border-color .15s ease, color .15s ease; }
.nav-links a:hover, .nav-links a.active{ border-bottom-color:var(--green); }
.nav-right{ display:flex; align-items:center; gap:22px; }
.nav-phone{ font-family:'IBM Plex Mono', ui-monospace, monospace; font-size:14px; text-decoration:none; color:var(--ink); }
.nav-toggle{
  display:none; background:none; border:1.5px solid var(--line); border-radius:4px;
  width:42px; height:42px; align-items:center; justify-content:center; cursor:pointer; color:var(--ink);
}
.nav-toggle svg{ width:22px; height:22px; }
.nav-toggle .icon-close{ display:none; }
.nav-toggle[aria-expanded="true"] .icon-open{ display:none; }
.nav-toggle[aria-expanded="true"] .icon-close{ display:block; }
@media (max-width:900px){
  .nav-links{
    display:none;
    position:absolute; left:0; right:0; top:100%;
    background:var(--paper); border-bottom:1px solid var(--line);
    flex-direction:column; align-items:stretch; gap:0; padding:8px 20px 16px;
    box-shadow:0 12px 24px rgba(19,31,56,0.08);
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ display:block; padding:12px 4px; border-bottom:1px solid var(--line); font-size:16px; }
  .nav-links a.active, .nav-links a:hover{ border-bottom-color:var(--line); color:var(--teal-deep); }
  .nav-links li:last-child a{ border-bottom:none; }
  .nav-right .btn{ display:none; }
  .nav-toggle{ display:inline-flex; }
}
@media (max-width:640px){ .nav-phone{ display:none; } }

/* ---------- HERO ---------- */
.hero{
  padding:88px 0 84px;
  background:
    radial-gradient(680px 380px at 82% -10%, rgba(79,217,154,0.12), transparent 65%),
    var(--paper);
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
@media (max-width:600px){ .hero{ padding:56px 0 56px; } }
.hero-grid{
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:48px;
  align-items:center;
}
@media (max-width:860px){ .hero-grid{ grid-template-columns:1fr; } }
.hero h1{ font-size:clamp(34px, 5vw, 54px); margin-bottom:22px; }
.hero p.lead{ font-size:18px; color:var(--slate); max-width:46ch; margin-bottom:34px; }
.hero-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:22px; }
.call-link{ font-family:'IBM Plex Mono', ui-monospace, monospace; font-size:14.5px; text-decoration:none; border-bottom:1px solid var(--teal); padding-bottom:2px; }
.hero-visual{ display:flex; justify-content:center; }
@media (max-width:860px){ .hero-visual{ display:none; } }
.hero-visual svg{ width:100%; max-width:320px; height:auto; overflow:visible; }
.trend-dot{ opacity:0; animation:rise 0.6s ease forwards; }
.trend-line{ stroke-dasharray:110; stroke-dashoffset:110; animation:draw 0.9s ease forwards; }
@keyframes rise{ from{ opacity:0; transform:translateY(8px);} to{ opacity:1; transform:translateY(0);} }
@keyframes draw{ to{ stroke-dashoffset:0; } }

/* ---------- SECTION shell ---------- */
section{ padding:86px 0; }
@media (max-width:600px){ section{ padding:60px 0; } }
.section-head{ max-width:640px; margin-bottom:52px; }
.section-head h2{ font-size:clamp(26px,3.4vw,36px); margin-bottom:14px; }
.section-head p{ color:var(--slate); font-size:16.5px; }

/* ---------- SERVICES ---------- */
.services{ background:#fff; border-bottom:1px solid var(--line); }
.services-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; max-width:900px; }
@media (max-width:900px){ .services-grid{ grid-template-columns:1fr; } }
.service-card{
  border:1px solid var(--line);
  border-top:3px solid var(--green);
  border-radius:6px;
  padding:32px 28px;
  background:var(--paper);
}
.service-card h3{ font-size:20px; margin-bottom:12px; }
.service-card p{ color:var(--slate); font-size:15px; margin-bottom:16px; }
.service-card ul{ list-style:none; }
.service-card li{ position:relative; padding-left:22px; font-size:14.5px; margin-bottom:8px; }
.service-card li::before{
  content:""; position:absolute; left:0; top:9px; width:10px; height:10px; border-radius:50%;
  background:var(--green);
}

/* ---------- WHO WE SERVE ---------- */
.serve{ background:var(--paper); }
.serve-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:860px){ .serve-grid{ grid-template-columns:1fr; } }
.serve-card{
  border:1px solid var(--line);
  border-radius:6px;
  padding:32px 28px;
  background:#fff;
  transition:border-color 0.15s ease, transform 0.15s ease;
}
.serve-card:hover{ border-color:var(--teal); transform:translateY(-2px); }
.serve-card .icon{
  width:44px; height:44px; border-radius:8px; background:var(--mist);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.serve-card .icon svg{ width:22px; height:22px; stroke:var(--teal-deep); }
.serve-card h3{ font-size:19px; margin-bottom:10px; }
.serve-card p{ color:var(--slate); font-size:15px; }

/* ---------- HOW IT WORKS ---------- */
.steps{ background:var(--mist); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.steps-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
@media (max-width:860px){ .steps-grid{ grid-template-columns:1fr; gap:24px; } }
.step{ position:relative; padding-top:8px; }
.step .step-num{
  font-family:'IBM Plex Mono', ui-monospace, monospace; font-size:13px; letter-spacing:0.1em;
  color:var(--teal-deep); display:inline-flex; align-items:center; gap:10px; margin-bottom:14px;
}
.step .step-num::before{ content:""; width:28px; height:2px; background:var(--green); }
.step h3{ font-size:19px; margin-bottom:10px; }
.step p{ color:var(--slate); font-size:15px; }

/* ---------- WHY ACUITY ---------- */
.why{ background:var(--ink); color:#fff; }
.why .section-head h2{ color:#fff; }
.why .section-head p{ color:#aab4c6; }
.why .eyebrow{ color:var(--green); }
.why .mark{ color:#fff; }
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:rgba(255,255,255,0.14); border:1px solid rgba(255,255,255,0.14); border-radius:8px; overflow:hidden; }
@media (max-width:900px){ .why-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){ .why-grid{ grid-template-columns:1fr; } }
.why-item{ background:var(--navy-2); padding:32px 26px; }
.why-item .num{ font-family:'IBM Plex Mono', ui-monospace, monospace; color:var(--green); font-size:13px; letter-spacing:0.08em; margin-bottom:18px; display:block; }
.why-item h3{ color:#fff; font-size:18px; margin-bottom:10px; }
.why-item p{ color:#b7c0d1; font-size:14.5px; }

/* ---------- CONTACT ---------- */
.contact{ background:var(--mist); }
.contact-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:48px; align-items:start; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-intro p{ color:var(--slate); font-size:16.5px; max-width:46ch; margin-top:14px; }
.contact-card{
  background:#fff; border:1px solid var(--line); border-radius:8px; padding:36px;
}
.contact-row{ display:flex; gap:14px; padding:14px 0; border-bottom:1px solid var(--line); }
.contact-row:last-of-type{ border-bottom:none; }
.contact-row .label{ font-family:'IBM Plex Mono', ui-monospace, monospace; font-size:12px; letter-spacing:0.1em; text-transform:uppercase; color:var(--slate); width:88px; flex:none; padding-top:2px; }
.contact-row .value{ font-size:16px; }
.contact-row a{ text-decoration:none; color:var(--ink); }
.contact-row a:hover{ color:var(--teal-deep); }
.contact-cta{ margin-top:22px; display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- FOOTER ---------- */
footer{ background:var(--ink); color:#8b93a5; padding:44px 0 36px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; margin-bottom:36px; }
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr; gap:28px; } }
.footer-brand{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.footer-brand img{ width:24px; }
.footer-brand span{ font-family:'Space Grotesk', system-ui, sans-serif; color:#fff; font-weight:600; font-size:15px; letter-spacing:0.02em; }
footer h4{ font-family:'IBM Plex Mono', ui-monospace, monospace; font-size:12px; letter-spacing:0.12em; text-transform:uppercase; color:#aab4c6; margin-bottom:14px; font-weight:500; }
footer ul{ list-style:none; }
footer li{ margin-bottom:8px; font-size:14px; }
footer p{ font-size:13.5px; }
footer a{ text-decoration:none; }
footer a:hover{ color:#fff; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,0.12); padding-top:20px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:13px; }

/* ---------- INTERIOR PAGES ---------- */
.page{ padding:64px 0 80px; }
.page .wrap{ max-width:780px; }
.page h1{ font-size:clamp(30px,4vw,42px); margin-bottom:10px; }
.page .updated{ font-family:'IBM Plex Mono', ui-monospace, monospace; font-size:12.5px; color:var(--slate); letter-spacing:0.06em; margin-bottom:36px; }
.page h2{ font-size:22px; margin:36px 0 12px; }
.page p, .page li{ font-size:16px; color:#2a3447; margin-bottom:14px; }
.page ul{ padding-left:22px; }
.page a{ color:var(--teal-deep); }

.notfound{ text-align:center; padding:100px 0 120px; }
.notfound .code{ font-family:'IBM Plex Mono', ui-monospace, monospace; color:var(--teal-deep); letter-spacing:0.14em; font-size:14px; margin-bottom:16px; }
.notfound h1{ font-size:clamp(30px,4vw,44px); margin-bottom:14px; }
.notfound p{ color:var(--slate); font-size:17px; max-width:44ch; margin:0 auto 32px; }
.notfound .actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

:focus-visible{ outline:2px solid var(--teal); outline-offset:3px; }
