/* Itefaaq — new design system (2026-10 redesign)
   Tokens: ink #0C2D3D, emerald #0369A1, emerald-deep #075985,
   gold #FF7A29, tints, rule #E5E5E5. All fonts self-hosted. */

@font-face{
  font-family:'Bricolage Grotesque';
  src:url('/bricolage-grotesque-var.woff2') format('woff2');
  font-weight:400 800; font-display:swap; font-style:normal;
}
@font-face{
  font-family:'Inter';
  src:url('/inter-var.woff2') format('woff2');
  font-weight:100 900; font-display:swap; font-style:normal;
}
@font-face{
  font-family:'IBM Plex Mono';
  src:url('/ibm-plex-mono-400.woff2') format('woff2');
  font-weight:400; font-display:swap; font-style:normal;
}
@font-face{
  font-family:'IBM Plex Mono';
  src:url('/ibm-plex-mono-500.woff2') format('woff2');
  font-weight:500; font-display:swap; font-style:normal;
}
@font-face{
  font-family:'IBM Plex Mono';
  src:url('/ibm-plex-mono-600.woff2') format('woff2');
  font-weight:600; font-display:swap; font-style:normal;
}

:root{
  --ink:#0C2D3D; --paper:#FFFFFF; --emerald:#0369A1; --emerald-deep:#075985;
  --emerald-tint:#E7F4FC; --gold:#FF7A29; --gold-tint:#FFE7D3;
  --navy:#0369A1; --sage:#E7F4FC; --rule:#E5E5E5; --white:#FFFFFF;
  /* legacy aliases (earlier page copy references these) */
  --blue:#0369A1; --blue-deep:#075985; --blue-ink:#0C2D3D;
  --muted:#5A655F; --line:#E5E5E5;
  --font-display:'Bricolage Grotesque',serif;
  --radius:20px;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{font-family:'Inter',sans-serif; background:var(--paper); color:var(--ink);
  -webkit-font-smoothing:antialiased; line-height:1.6;}
h1,h2,h3,.display{font-family:'Bricolage Grotesque',serif; letter-spacing:-0.01em;
  line-height:1.15; color:var(--emerald-deep);}
h2{font-size:30px; font-weight:600; margin-bottom:12px;}
h3{font-size:18px; font-weight:600;}
p{margin-bottom:1rem;}
a{color:inherit; text-decoration:none;}
a:hover{color:var(--emerald);}
img{max-width:100%; display:block;}
.mono{font-family:'IBM Plex Mono',monospace; letter-spacing:0.02em;}
.wrap{max-width:1180px; margin:0 auto; padding:0 40px;}
.center{text-align:center;}
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;}
.skip-link{position:absolute; left:-9999px; top:0; background:var(--emerald-deep);
  color:#fff; padding:10px 18px; border-radius:0 0 10px 0; z-index:300; font-weight:600;}
.skip-link:focus{left:0;}
:focus-visible{outline:3px solid var(--gold); outline-offset:2px; border-radius:4px;}

/* ---------------------------------------------------------- buttons --- */
.btn{padding:10px 20px; border-radius:100px; font-size:13.5px; font-weight:600;
  cursor:pointer; border:none; display:inline-block; font-family:'Inter',sans-serif;
  transition:transform .15s ease, background .15s ease, box-shadow .15s ease;
  text-align:center; line-height:1.4;}
.btn:hover{transform:scale(1.05);}
.btn-primary{background:var(--emerald); color:var(--white);}
.btn-primary:hover{background:var(--emerald-deep); color:#fff;}
.btn-outline{background:transparent; color:var(--emerald); border:1.5px solid var(--emerald);}
.btn-outline:hover{background:var(--emerald-tint);}
.btn-accent{background:var(--gold); color:var(--white);}
.btn-accent:hover{background:#e86a1a; color:#fff;}
.btn-lg{padding:16px 34px; font-size:15.5px;}
.btn-sm{padding:8px 16px; font-size:13px;}
.btn[disabled]{opacity:.55; cursor:not-allowed; transform:none;}
/* legacy button aliases from earlier copy */
.btn--primary{background:var(--emerald); color:var(--white);}
.btn--primary:hover{background:var(--emerald-deep); color:#fff;}
.btn--ghost{background:transparent; color:var(--emerald); border:1.5px solid var(--emerald);}
.btn--ghost:hover{background:var(--emerald-tint);}
.btn--secondary{background:var(--emerald-deep); color:var(--white);}
.btn--secondary:hover{background:var(--ink); color:#fff;}
.btn--outline-light{background:transparent; color:var(--white); border:1.5px solid var(--white);}
.btn--light{background:var(--white); color:var(--emerald-deep);}
.btn--lg{padding:16px 34px; font-size:15.5px;}
.btn--sm{padding:8px 16px; font-size:13px;}

/* ---------------------------------------------------------- nav --- */
.site-nav{position:sticky; top:0; z-index:50; display:flex; align-items:center;
  justify-content:space-between; height:80px; padding:0 40px; background:var(--white);
  border-bottom:1px solid var(--rule); gap:20px;}
.brand{display:flex; align-items:center; flex-shrink:0;}
.brand img{height:64px; width:auto;}
.navlinks{display:flex; gap:26px; align-items:center;}
.navlinks > a{font-size:15.4px; font-weight:500; color:var(--ink); opacity:0.68;
  padding:4px 2px; border-bottom:2px solid transparent;}
.navlinks > a:hover, .navlinks > a[aria-current="page"]{opacity:1; border-bottom:2px solid var(--gold); color:var(--ink);}
.drop{position:relative;}
.drop > a{display:inline-flex; align-items:center; gap:5px; font-size:15.4px; font-weight:500;
  color:var(--ink); opacity:0.68; padding:4px 2px; border-bottom:2px solid transparent;}
.drop > a:hover{opacity:1; border-bottom:2px solid var(--gold);}
.drop .caret{width:14px; height:14px;}
.menu{display:none; position:absolute; top:100%; left:0; margin-top:10px; background:var(--white);
  border:1px solid var(--rule); border-radius:12px; padding:8px; min-width:230px;
  box-shadow:0 20px 40px -16px rgba(20,32,29,0.25); z-index:60;}
.drop:hover .menu, .drop:focus-within .menu{display:block;}
.menu a{display:block; padding:9px 12px; font-size:13px; border-radius:8px; opacity:0.85;}
.menu a strong{display:block; font-weight:600; font-size:13.5px;}
.menu a span{display:block; font-size:12px; color:#6B756F; margin-top:2px;}
.menu a:hover{background:var(--emerald-tint); opacity:1; color:var(--emerald-deep);}
.navcta{display:flex; gap:10px; align-items:center;}
.nav-toggle{display:none; background:none; border:1px solid var(--rule); border-radius:10px;
  padding:8px 10px; cursor:pointer; color:var(--ink);}
.nav-toggle svg{width:22px; height:22px; display:block;}
.nav-toggle svg[hidden]{display:none !important;}
.mobile-menu{display:none;}

/* ---------------------------------------------------------- hero band (index) --- */
.hero-band{background:var(--white); color:var(--ink); padding:90px 40px 70px;
  text-align:center; border-bottom:1px solid var(--rule);}
.hero-band h1{font-size:68px; line-height:1.02; font-weight:700; color:var(--emerald-deep);
  max-width:920px; margin:0 auto 22px; letter-spacing:-0.02em;}
.hero-band h1 em{font-style:normal; color:var(--gold);}
.hero-subline{font-size:19px; line-height:1.6; color:#4A554F; max-width:600px; margin:0 auto 34px;}
.hero-cta-row{display:flex; gap:14px; justify-content:center; flex-wrap:wrap; align-items:center;}
.hero-note{margin-top:16px; font-size:12.5px; color:#6B756F; margin-bottom:0;}
.hero-alt-link{color:var(--emerald); font-size:13.5px; text-decoration:underline;}
.hero-stats{display:flex; justify-content:center; gap:0; flex-wrap:wrap; margin-top:50px;
  border-top:1px solid var(--rule); padding-top:36px;}
.hero-stats .stat{padding:0 42px; border-right:1px solid var(--rule);}
.hero-stats .stat:last-child{border-right:none;}
.hero-stats .stat .n{font-family:'Bricolage Grotesque',serif; font-size:34px; font-weight:700; color:var(--emerald-deep);}
.hero-stats .stat .l{font-size:12.5px; color:#6B756F; font-family:'IBM Plex Mono',monospace;
  text-transform:uppercase; margin-top:4px; letter-spacing:0.02em;}

/* ---------------------------------------------------------- security strip --- */
.security-strip{display:flex; justify-content:center; gap:36px; flex-wrap:wrap;
  padding:28px 40px; border-top:1px solid var(--rule); border-bottom:1px solid var(--rule);
  background:var(--white);}
.security-strip .item{display:flex; align-items:center; gap:8px; font-size:12.5px;
  font-weight:600; color:var(--emerald-deep);}
.security-strip .item svg{width:16px; height:16px; color:var(--emerald); flex-shrink:0;}

/* ---------------------------------------------------------- page hero --- */
.hero{padding:70px 40px 50px; text-align:center; position:relative;}
.hero .wrap{max-width:900px;}
.hero .wrap > div{margin-inline:auto;}
.eyebrow{display:inline-flex; align-items:center; gap:8px; font-family:'IBM Plex Mono',monospace;
  font-size:11.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--gold);
  background:var(--white); border:1px solid var(--gold); padding:6px 14px;
  border-radius:100px; margin-bottom:20px; transform:rotate(-1.5deg);}
.hero h1{font-size:44px; line-height:1.1; font-weight:600; color:var(--emerald-deep); margin-bottom:16px;}
.lede{font-size:17px; line-height:1.6; color:#3A453F; max-width:640px; margin:0 auto 1rem;}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; align-items:center;}
.hero-note{font-size:.95rem; color:var(--muted); margin-top:1rem;}
.hero-note svg{width:16px; height:16px; vertical-align:-3px;}

/* ---------------------------------------------------------- sections & grids --- */
.section{max-width:1180px; margin:0 auto; padding:20px 40px 70px;}
.section-head{max-width:680px; margin:0 auto 44px;}
.section-head.center{text-align:center;}
.section-head h2{font-size:30px; font-weight:600; color:var(--emerald-deep); margin-bottom:12px;}
.section-head p{color:#5A655F; font-size:15.5px; line-height:1.6; margin-bottom:0;}
.grid-2,.grid-3,.grid-4{display:grid; gap:24px;}
.grid-2{grid-template-columns:1fr 1fr;}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr); gap:18px;}
/* legacy grid aliases */
.grid{display:grid; gap:24px;}
.grid--2{grid-template-columns:1fr 1fr;}
.grid--3{grid-template-columns:repeat(3,1fr);}
.grid--4{grid-template-columns:repeat(4,1fr); gap:18px;}
.split{display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:start;}

/* ---------------------------------------------------------- cards --- */
.card{background:var(--white); border:2px solid var(--rule); border-radius:var(--radius);
  padding:28px; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;}
.card:hover{transform:translateY(-4px) rotate(-0.4deg);
  box-shadow:0 18px 34px -14px rgba(32,38,31,0.18); border-color:var(--emerald);}
.card h3{font-size:18px; font-weight:600; margin-bottom:10px; color:var(--emerald-deep);}
.card p{font-size:14px; line-height:1.65; color:#5A655F; margin-bottom:0;}
.card p + p{margin-top:.75rem;}
.card-icon{width:46px; height:46px; border-radius:14px; background:var(--emerald-tint);
  color:var(--emerald); display:flex; align-items:center; justify-content:center; margin-bottom:16px;}
.card-icon svg{width:24px; height:24px;}
.card-icon--gold{background:var(--gold-tint); color:var(--gold);}
.card-link{display:inline-flex; align-items:center; gap:6px; margin-top:14px;
  color:var(--emerald); font-weight:600; font-size:14px;}
.card-link svg{width:16px; height:16px;}
.card-link:hover{color:var(--emerald-deep);}
.prop-card{text-align:center; padding:32px 24px;}
.prop-emoji{font-size:36px; margin-bottom:10px;}

/* ---------------------------------------------------------- steps --- */
.step-num{font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--gold); margin-bottom:14px;}
.steps{display:grid; gap:24px; grid-template-columns:repeat(3,1fr);}
.steps--6{grid-template-columns:repeat(3,1fr);}
.step{background:var(--white); border:2px solid var(--rule); border-radius:var(--radius); padding:28px;}
.step h3{margin-bottom:10px;}
.step p{font-size:14px; color:#5A655F; line-height:1.65; margin-bottom:0;}

/* ---------------------------------------------------------- checks --- */
.check{display:flex; gap:10px; align-items:flex-start; margin-bottom:14px;}
.check svg{width:17px; height:17px; color:var(--emerald); flex-shrink:0; margin-top:2px;}
.check p{font-size:14px; color:#3A453F; line-height:1.5; margin-bottom:0;}

/* ---------------------------------------------------------- cta band --- */
.cta-band{background:var(--white); color:var(--ink); border:2px solid var(--rule);
  border-radius:24px; padding:56px 50px; text-align:center; max-width:1180px; margin:0 auto 80px;}
.cta-band h2{font-size:28px; margin-bottom:14px; color:var(--emerald-deep);}
.cta-band p{color:#5A655F; margin-bottom:26px; max-width:520px; margin-left:auto; margin-right:auto;}
.cta-band .hero-actions{justify-content:center;}
.footer-cta .cta-band{margin-bottom:3.5rem;}

/* ---------------------------------------------------------- timeline --- */
.timeline{display:grid; gap:18px; margin-top:2rem;}
.timeline-item{display:flex; gap:18px; align-items:flex-start;}
.timeline-num{flex-shrink:0; width:38px; height:38px; border-radius:50%;
  background:var(--emerald-tint); color:var(--emerald-deep); font-family:'IBM Plex Mono',monospace;
  font-size:14px; font-weight:600; display:flex; align-items:center; justify-content:center;}
.timeline-item h3{margin-bottom:6px;}
.timeline-item p{font-size:14.5px; color:#5A655F; margin-bottom:0;}

/* ---------------------------------------------------------- badges / chips / pills --- */
.badge{display:inline-block; font-family:'IBM Plex Mono',monospace; font-size:11px;
  font-weight:600; padding:4px 10px; border-radius:100px; margin-bottom:10px;}
.badge--verified{background:#e6f6ee; color:#0b7a3e; border:1px solid #bfe6d2;}
.badge--info{background:var(--emerald-tint); color:var(--emerald-deep); border:1px solid #bcdcf2;}
.badge--gold{background:var(--gold-tint); color:#b3550a; border:1px solid #f6cfa5;}
.chip{display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:600;
  border:1px solid var(--rule); border-radius:100px; padding:5px 12px; color:#3A453F;
  background:var(--white);}
.trust-chips{display:flex; gap:10px; flex-wrap:wrap; margin-top:1.5rem;}
.pill-list{display:flex; gap:10px; flex-wrap:wrap; margin-top:1.5rem;}
.pill{font-family:'IBM Plex Mono',monospace; font-size:12px; font-weight:500;
  background:var(--emerald-tint); color:var(--emerald-deep); border-radius:100px; padding:7px 14px;}
.badge-row{display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-top:20px;}
.badge-row span{background:var(--white); color:var(--emerald-deep); border:1px solid var(--emerald);
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; padding:6px 12px; border-radius:100px;}

/* ---------------------------------------------------------- faq --- */
.faq-list{max-width:46rem; margin-inline:auto;}
.faq-item{border-bottom:1px solid var(--rule); padding:20px 0;}
.faq-item summary{list-style:none; cursor:pointer; display:flex; justify-content:space-between;
  align-items:center; gap:16px; font-size:16px; font-weight:600; color:var(--emerald-deep);}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary svg{flex-shrink:0; color:var(--gold); transition:transform .2s ease;}
.faq-item[open] summary svg{transform:rotate(45deg);}
.faq-item .faq-body{padding-top:12px;}
.faq-item p{font-size:14px; color:#4A554F; line-height:1.65; margin-bottom:0;}
.faq-item a{color:var(--emerald); text-decoration:underline;}

/* ---------------------------------------------------------- tables --- */
.table-scroll{overflow-x:auto; margin-top:2rem;}
table.compare, table.compare-table{width:100%; border-collapse:collapse; margin-top:10px; min-width:520px;}
table.compare th, table.compare td, table.compare-table th, table.compare-table td{
  text-align:left; padding:12px 14px; border-bottom:1px solid var(--rule); font-size:13.5px;}
table.compare th, table.compare-table th{font-family:'IBM Plex Mono',monospace; font-size:11px;
  text-transform:uppercase; color:#6B756F;}

/* ---------------------------------------------------------- pricing --- */
.pricing-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:2.5rem;}
.plan{border:2px solid var(--rule); border-radius:var(--radius); padding:30px 28px; position:relative;
  background:var(--white); display:flex; flex-direction:column;}
.plan--featured{border-color:var(--gold); box-shadow:0 18px 34px -14px rgba(32,38,31,0.18);}
.plan-flag{position:absolute; top:-13px; left:50%; transform:translateX(-50%) rotate(-1.5deg);
  background:var(--gold); color:#fff; font-family:'IBM Plex Mono',monospace; font-size:11px;
  font-weight:600; padding:5px 14px; border-radius:100px; white-space:nowrap;}
.plan-name{font-family:'Bricolage Grotesque',serif; font-size:20px; font-weight:600; color:var(--emerald-deep);}
.plan-price{font-family:'Bricolage Grotesque',serif; font-size:34px; font-weight:700;
  color:var(--emerald-deep); margin:10px 0;}
.plan-price small{font-family:'Inter',sans-serif; font-size:12.5px; font-weight:500; color:#6B756F;}
.plan-desc{font-size:14px; color:#5A655F; margin-bottom:18px;}
.plan ul{list-style:none; margin-bottom:24px; flex-grow:1;}
.plan ul li{display:flex; gap:10px; align-items:flex-start; margin-bottom:12px; font-size:14px; color:#3A453F;}
.plan ul li svg{width:16px; height:16px; color:var(--emerald); flex-shrink:0; margin-top:3px;}
.plan .btn{align-self:stretch;}

/* ---------------------------------------------------------- forms --- */
.form-card{max-width:640px; margin:0 auto; background:var(--white); border:2px solid var(--rule);
  border-radius:var(--radius); padding:36px 34px;}
.auth-links .no-acct{color:var(--muted);}
.auth-links .forgot-link{color:var(--emerald); font-weight:600;}
.auth-links .forgot-link:hover{color:var(--emerald-deep); text-decoration:underline;}
.auth-links .create-link{color:var(--gold); font-weight:700;}
.auth-links .create-link:hover{text-decoration:underline;}
.field{margin-bottom:1.25rem;}
.field label{display:block; font-size:14px; font-weight:600; margin-bottom:6px; color:var(--ink);}
.field input[type="text"], .field input[type="email"], .field input[type="password"],
.field input[type="url"], .field select, .field textarea, .newsletter-form input{
  width:100%; border:1.5px solid var(--rule); border-radius:12px; padding:11px 14px;
  font-size:14.5px; font-family:'Inter',sans-serif; color:var(--ink); background:var(--white);}
.field input:focus, .field select:focus, .field textarea:focus, .newsletter-form input:focus{
  outline:2px solid var(--emerald); outline-offset:1px; border-color:var(--emerald);}
.field input[aria-invalid="true"]{border-color:#d33;}
.field-error{display:none; font-size:13px; color:#d33; margin-top:6px;}
.field-error.show{display:block;}
.hint{font-size:12.5px; color:#6B756F; margin-top:6px; display:block;}
.form-note{display:flex; gap:10px; align-items:flex-start; background:var(--emerald-tint);
  border:1px solid #bcdcf2; border-radius:12px; padding:14px 16px; margin-bottom:1.75rem;
  font-size:13.5px; color:#1c3a4a;}
.form-note svg{width:18px; height:18px; color:var(--emerald); flex-shrink:0; margin-top:1px;}
.form-note strong{color:var(--emerald-deep);}
.form-row{display:grid; gap:1.25rem;}
.form-row--2{grid-template-columns:1fr 1fr;}
.checkbox-field{display:flex; gap:10px; align-items:flex-start;}
.checkbox-field input{margin-top:4px; width:18px; height:18px; flex-shrink:0; accent-color:var(--emerald);}
.checkbox-field label{font-weight:400; font-size:13.5px; color:#3A453F;}
.checkbox-field a{color:var(--emerald); text-decoration:underline;}
.npi-search{display:flex; gap:10px;}
.npi-search input{flex:1;}
.npi-result{margin-top:1.25rem;}
.phase2-note{background:var(--gold-tint); border:1px solid #f6cfa5; border-radius:12px;
  padding:14px 16px; font-size:13.5px; color:#6b3410; margin:1rem 0;}
.phase2-note strong{display:block; margin-bottom:6px;}

/* ---------------------------------------------------------- blog --- */
.blog-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.blog-card{border:1px solid var(--rule); border-radius:16px; overflow:hidden; background:var(--white);}
.blog-card .bimg{height:150px; background:linear-gradient(135deg,var(--emerald-tint),var(--sage));}
.blog-card .bbody{padding:18px 20px;}
.blog-card .cat{font-family:'IBM Plex Mono',monospace; font-size:10.5px; text-transform:uppercase;
  color:var(--gold); margin-bottom:8px;}
.blog-card h3{font-size:16px; margin-bottom:8px;}
.blog-card p{font-size:13px; color:#6B756F; line-height:1.5;}
.post-card{padding:24px;}
.post-card-body{display:flex; flex-direction:column;}
.post-tag{font-family:'IBM Plex Mono',monospace; font-size:10.5px; text-transform:uppercase;
  color:var(--gold); margin-bottom:10px;}
.post-card h3{font-size:17px; margin-bottom:8px;}
.post-card h3 a:hover{color:var(--emerald);}
.post-card p{font-size:13.5px; color:#6B756F;}
.post-meta{font-size:12.5px; color:#8A948E; font-family:'IBM Plex Mono',monospace; margin-top:10px;}
.newsletter{margin-top:4rem; background:var(--emerald-tint); border:1px solid #bcdcf2;
  border-radius:var(--radius); padding:36px; display:grid; grid-template-columns:1.2fr 1fr;
  gap:24px; align-items:center;}
.newsletter h2{font-size:22px; margin-bottom:8px;}
.newsletter p{font-size:14px; color:#3A453F; margin-bottom:0;}
.newsletter-form{display:flex; gap:10px;}
article.post{max-width:720px; margin:0 auto; padding:60px 40px 100px;}
article.post .cat{font-family:'IBM Plex Mono',monospace; font-size:11px; text-transform:uppercase;
  color:var(--gold); margin-bottom:14px;}
article.post h1{font-size:36px; color:var(--emerald-deep); margin-bottom:16px; line-height:1.15;}
article.post .meta{font-size:13px; color:#6B756F; margin-bottom:36px; font-family:'IBM Plex Mono',monospace;}
article.post p{font-size:16px; line-height:1.75; color:#2C3733; margin-bottom:20px;}
article.post h2{font-size:22px; color:var(--emerald-deep); margin:36px 0 14px;}

/* ---------------------------------------------------------- prose (legal / articles) --- */
.prose{max-width:48rem;}
.prose h2{font-size:1.6rem; margin:2.25rem 0 1rem;}
.prose h2:first-child{margin-top:0;}
.prose p{font-size:1rem; color:#2C3733; line-height:1.75;}
.prose ul{margin:0 0 1.25rem 1.25rem; color:#2C3733;}
.prose li{margin-bottom:.5rem; line-height:1.65;}
.prose a{color:var(--emerald); text-decoration:underline;}

/* ---------------------------------------------------------- footer --- */
.site-footer{border-top:1px solid var(--rule); padding:0 40px; max-width:1180px; margin:0 auto;}
.footer-cta{margin-bottom:0;}
.footer-grid{display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; padding-top:50px;}
.footer-brand p{font-size:13.5px; color:#6B756F; max-width:280px; line-height:1.6;}
.footer-brand > a{display:inline-block; margin-bottom:14px;}
.footer-email a{color:var(--emerald); font-size:13px;}
.footer-badges{display:flex; flex-wrap:wrap; gap:6px; margin-top:14px;}
.footer-grid nav h4{font-size:11.5px; text-transform:uppercase; letter-spacing:0.06em;
  color:#6B756F; margin-bottom:14px; font-family:'IBM Plex Mono',monospace;}
.footer-grid nav a{display:block; font-size:13.5px; color:#3A453F; margin-bottom:9px;}
.footer-grid nav a:hover{color:var(--emerald);}
.footer-bottom{margin-top:36px; padding:22px 0; border-top:1px solid var(--rule);
  font-size:12px; color:#8A948E; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;}
.footer-bottom a{color:#5A655F; text-decoration:underline;}

/* ---------------------------------------------------------- chat widget --- */
.chat-launcher{position:fixed; bottom:24px; right:24px; width:58px; height:58px; border-radius:50%;
  background:var(--gold); box-shadow:0 8px 24px -6px rgba(0,0,0,0.35); display:flex;
  align-items:center; justify-content:center; cursor:pointer; z-index:200; transition:transform .15s ease;}
.chat-launcher:hover{transform:scale(1.08);}
.chat-launcher:focus-visible{outline:3px solid var(--emerald-deep); outline-offset:2px;}
.chat-panel{position:fixed; bottom:94px; right:24px; width:340px; max-width:calc(100vw - 32px);
  height:460px; background:#fff; border:1px solid var(--rule); border-radius:16px;
  box-shadow:0 20px 50px -12px rgba(0,0,0,0.3); z-index:200; display:flex;
  flex-direction:column; overflow:hidden;}
.chat-panel[hidden]{display:none;}
.chat-head{background:var(--gold); color:#fff; padding:14px 16px; font-weight:600; font-size:14px;
  display:flex; justify-content:space-between; align-items:center;}
.chat-close{background:none; border:none; color:#fff; cursor:pointer; opacity:0.85;
  font-size:22px; line-height:1; padding:0 4px;}
.chat-close:hover{opacity:1;}
.chat-messages{flex:1; overflow-y:auto; padding:14px 16px; font-size:13.5px;
  display:flex; flex-direction:column; gap:10px; background:var(--paper);}
.chat-msg{border-radius:10px; padding:10px 12px; max-width:88%; line-height:1.5;}
.chat-msg.bot{background:#fff; border:1px solid var(--rule); align-self:flex-start;}
.chat-msg.user{background:var(--emerald); color:#fff; align-self:flex-end;}
.chat-inputrow{padding:10px; border-top:1px solid var(--rule); display:flex; gap:8px;}
.chat-inputrow input{flex:1; border:1px solid var(--rule); border-radius:100px;
  padding:9px 14px; font-family:'Inter',sans-serif; font-size:13px; min-width:0;}
.chat-send{background:var(--emerald); color:#fff; border:none; border-radius:100px;
  padding:0 16px; font-size:13px; font-weight:600; cursor:pointer;}
.chat-send:hover{background:var(--emerald-deep);}

/* ---------------------------------------------------------- error page --- */
.error-page{text-align:center; padding:90px 40px 110px;}
.error-code{font-family:'Bricolage Grotesque',serif; font-size:96px; font-weight:700;
  color:var(--emerald-tint); line-height:1; margin-bottom:12px;}
.error-page h1{font-size:40px; margin-bottom:16px;}
.error-page .hero-actions{justify-content:center;}

/* ---------------------------------------------------------- reveal --- */
.reveal{opacity:0; transform:translateY(14px); transition:opacity .5s ease, transform .5s ease;}
.reveal.in{opacity:1; transform:none;}

/* ---------------------------------------------------------- responsive --- */
@media(max-width:1024px){
  .grid--4,.grid-4{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:900px){
  .navlinks{display:none;}
  .navcta .btn-outline{display:none;}
  .nav-toggle{display:block;}
  .site-nav{padding:0 20px;}
  .mobile-menu{display:block; position:fixed; top:80px; left:0; right:0; bottom:0; z-index:100;
    background:var(--white); padding:24px; overflow-y:auto; transform:translateX(100%);
    transition:transform .25s ease;}
  .mobile-menu.open{transform:none;}
  .mobile-menu .nav-link{display:block; font-size:17px; font-weight:600; padding:12px 0;
    border-bottom:1px solid var(--rule); opacity:1;}
  .nav-group-label{font-family:'IBM Plex Mono',monospace; font-size:11px; text-transform:uppercase;
    letter-spacing:0.06em; color:#6B756F; margin:22px 0 4px;}
  .mobile-menu .btn{display:block; width:100%; margin-top:16px;}
  .hero-band h1{font-size:38px;}
  .hero-subline{font-size:14.5px !important;}
  .hero-stats{gap:20px;}
  .hero-stats .stat{border-right:none; padding:0 10px;}
  .grid-2,.grid-3,.grid-4,.blog-grid,.grid--2,.grid--3,.steps,.steps--6,.pricing-grid{grid-template-columns:1fr;}
  .hero h1{font-size:32px;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .split{grid-template-columns:1fr;}
  .cta-band{padding:44px 28px;}
  .newsletter{grid-template-columns:1fr;}
  .newsletter-form{flex-direction:column;}
  .form-card{padding:28px 22px;}
  .form-row--2{grid-template-columns:1fr;}
  .npi-search{flex-direction:column;}
  article.post{padding:44px 24px 80px;}
  .section{padding:20px 24px 56px;}
  .wrap{padding:0 24px;}
}
@media(max-width:640px){
  .footer-grid{grid-template-columns:1fr;}
  .security-strip{gap:18px; padding:22px 20px;}
  .hero-band{padding:64px 24px 54px;}
  .chat-panel{bottom:90px; right:12px;}
  .chat-launcher{bottom:16px; right:16px;}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none !important; transition:none !important;}
  .reveal{opacity:1; transform:none;}
  html{scroll-behavior:auto;}
}
