/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root{
  --navy-950:#0A1220;
  --navy-900:#0F1B2E;
  --navy-800:#16243B;
  --navy-700:#1E3252;
  --ink:#0F172A;
  --white:#FFFFFF;
  --gray-50:#F6F8FB;
  --gray-100:#EDF1F6;
  --gray-200:#E1E7EF;
  --gray-300:#CBD5E1;
  --slate-500:#5B6B82;
  --slate-400:#8598AC;
  --blue-700:#1D4ED8;
  --blue-600:#2457D9;
  --blue-500:#3B6DF0;
  --sky-400:#38BDF8;
  --focus:#0EA5E9;

  --radius-lg:18px;
  --radius-md:12px;
  --radius-sm:8px;

  --shadow-sm:0 1px 2px rgba(15,23,42,.06);
  --shadow-md:0 12px 32px rgba(15,23,42,.10);

  --font-display:'IBM Plex Sans', -apple-system, sans-serif;
  --font-body:'Inter', -apple-system, sans-serif;
  --font-mono:'IBM Plex Mono', 'SF Mono', monospace;

  --container:1200px;
}

/* =========================================================
   RESET
   ========================================================= */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important;}
}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;}
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.15;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
}
p{margin:0 0 1em;}
ul{margin:0;padding:0;}
li{list-style:none;}
button{font-family:inherit;}

/* Visible, high-contrast focus state everywhere. Never suppressed. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible{
  outline:3px solid var(--focus);
  outline-offset:3px;
  border-radius:4px;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:0;
  background:var(--navy-950);
  color:var(--white);
  padding:12px 20px;
  z-index:1000;
  font-family:var(--font-mono);
  font-size:14px;
  border-radius:0 0 8px 0;
}
.skip-link:focus{left:0;}

/* =========================================================
   LAYOUT HELPERS
   ========================================================= */
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 32px;
}
.section{padding:96px 0;}
.section--tight{padding:64px 0;}
@media (max-width:768px){
  .section{padding:64px 0;}
  .container{padding:0 20px;}
}

.eyebrow{
  font-family:var(--font-mono);
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--blue-600);
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:16px;
}
.eyebrow::before{
  content:"";
  width:8px;height:8px;
  border-radius:2px;
  background:var(--blue-600);
  display:inline-block;
}

.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);}
@media (max-width:900px){
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr;}
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--gray-200);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 32px;
  max-width:var(--container);
  margin:0 auto;
}
.logo{
  font-family:var(--font-display);
  font-weight:700;
  font-size:18px;
  text-decoration:none;
  color:var(--navy-950);
  display:flex;
  align-items:center;
  gap:8px;
}
.logo-mark{
  width:26px;height:26px;
  border-radius:6px;
  background:var(--navy-950);
  position:relative;
  flex-shrink:0;
}
.logo-mark::after{
  content:"";
  position:absolute;
  inset:7px;
  border:2px solid var(--sky-400);
  border-radius:3px;
}
.nav-brand{
  display:flex;
  align-items:center;
  gap:14px;
}
.nav-tagline{
  font-family:var(--font-mono);
  font-size:12.5px;
  color:var(--slate-500);
  padding-left:14px;
  border-left:1px solid var(--gray-200);
  white-space:nowrap;
}
@media (max-width:1100px){
  .nav-tagline{display:none;}
}
.nav-links{
  display:flex;
  gap:32px;
  align-items:center;
}
.nav-links a{
  text-decoration:none;
  font-size:14.5px;
  font-weight:500;
  color:var(--ink);
  padding:8px 0;
}
.nav-links a:hover{color:var(--blue-600);}
.nav-cta{display:flex;gap:12px;align-items:center;}
.nav-toggle{display:none;}

@media (max-width:920px){
  .nav-links{display:none;}
  .nav-toggle{display:block;background:none;border:1px solid var(--gray-300);border-radius:8px;padding:8px 10px;}
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 22px;
  border-radius:10px;
  font-size:14.5px;
  font-weight:600;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, background .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-1px);}
.btn-primary{
  background:var(--navy-950);
  color:var(--white);
}
.btn-primary:hover{background:var(--blue-700);}
.btn-secondary{
  background:transparent;
  color:var(--navy-950);
  border-color:var(--gray-300);
}
.btn-secondary:hover{border-color:var(--navy-950);}
.btn-light{
  background:var(--white);
  color:var(--navy-950);
}
.btn-ghost-light{
  background:transparent;
  color:var(--white);
  border-color:rgba(255,255,255,.35);
}
.btn-ghost-light:hover{border-color:#fff;}
.btn-sm{padding:9px 16px;font-size:13.5px;}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  padding:88px 0 100px;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(59,109,240,.08), transparent 60%),
    var(--white);
}
.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:64px;
  align-items:center;
}
@media (max-width:960px){
  .hero-grid{grid-template-columns:1fr;}
}
.hero h1{
  font-size:clamp(34px,4.6vw,58px);
  color:var(--navy-950);
}
.hero .lede{
  font-size:19px;
  color:var(--slate-500);
  max-width:52ch;
  margin-bottom:32px;
}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:40px;}

.trust-strip{
  display:flex;
  gap:28px;
  flex-wrap:wrap;
  font-family:var(--font-mono);
  font-size:12.5px;
  color:var(--slate-500);
  letter-spacing:.02em;
}
.trust-strip span{white-space:nowrap;}
.trust-strip strong{color:var(--ink);}

/* --- Signature element: Assistive-tech trace panel --- */
.at-panel{
  position:relative;
  background:var(--navy-950);
  border-radius:var(--radius-lg);
  padding:22px;
  box-shadow:var(--shadow-md);
}
.at-panel-chrome{
  display:flex;
  gap:6px;
  margin-bottom:16px;
}
.at-panel-chrome span{
  width:10px;height:10px;border-radius:50%;
  background:rgba(255,255,255,.18);
}
.at-mock{
  position:relative;
  background:#0E1B2E;
  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;
  height:300px;
  overflow:hidden;
}
.at-mock-block{
  position:absolute;
  background:rgba(255,255,255,.06);
  border-radius:6px;
}
.at-mock-block.tall{background:rgba(255,255,255,.09);}
.at-highlight{
  position:absolute;
  border:2px solid var(--sky-400);
  border-radius:6px;
  box-shadow:0 0 0 4px rgba(56,189,248,.15);
  transition:all .55s cubic-bezier(.65,0,.35,1);
  pointer-events:none;
}
.at-caption{
  margin-top:16px;
  font-family:var(--font-mono);
  font-size:13px;
  color:var(--sky-400);
  min-height:20px;
  display:flex;
  align-items:center;
  gap:8px;
}
.at-caption::before{
  content:"";
  width:6px;height:6px;
  background:var(--sky-400);
  border-radius:50%;
  animation:pulse 1.6s infinite ease-in-out;
  flex-shrink:0;
}
@keyframes pulse{
  0%,100%{opacity:1;}
  50%{opacity:.35;}
}
.at-label{
  font-family:var(--font-mono);
  font-size:11px;
  color:var(--slate-400);
  margin-top:10px;
}

/* =========================================================
   COMPARISON TABLE
   ========================================================= */
.compare{
  width:100%;
  border-collapse:collapse;
  background:var(--white);
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  border:1px solid var(--gray-200);
}
.compare th,.compare td{
  text-align:left;
  padding:16px 20px;
  border-bottom:1px solid var(--gray-200);
  font-size:14.5px;
}
.compare th{
  font-family:var(--font-mono);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--slate-500);
  background:var(--gray-50);
}
.compare td.win{color:var(--blue-700);font-weight:600;}
.compare tr:last-child td{border-bottom:none;}
.compare-scroll{overflow-x:auto;}

/* =========================================================
   CARDS
   ========================================================= */
.card{
  background:var(--white);
  border:1px solid var(--gray-200);
  border-radius:var(--radius-lg);
  padding:28px;
  transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover{
  border-color:var(--blue-500);
  box-shadow:var(--shadow-md);
  transform:translateY(-2px);
}
.card-icon{
  width:40px;height:40px;
  border-radius:10px;
  background:var(--gray-50);
  border:1px solid var(--gray-200);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:18px;
  color:var(--blue-600);
}
.card h3{font-size:17px;margin-bottom:8px;}
.card p{font-size:14.5px;color:var(--slate-500);margin-bottom:14px;}
.card-link{
  font-size:13.5px;
  font-weight:600;
  color:var(--blue-700);
  text-decoration:none;
}
.card-link:hover{text-decoration:underline;}

/* =========================================================
   PROCESS / METHODOLOGY STEPS
   ========================================================= */
.process{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  position:relative;
}
@media (max-width:900px){.process{grid-template-columns:1fr;}}
.step{
  background:var(--gray-50);
  border:1px solid var(--gray-200);
  border-radius:var(--radius-lg);
  padding:26px 22px;
}
.step-num{
  font-family:var(--font-mono);
  font-size:13px;
  color:var(--blue-600);
  margin-bottom:14px;
}
.step h3{font-size:16px;margin-bottom:8px;}
.step p{font-size:14px;color:var(--slate-500);margin:0;}

/* =========================================================
   SECTION VARIANTS
   ========================================================= */
.section-dark{
  background:var(--navy-950);
  color:var(--white);
}
.section-dark h2, .section-dark h3{color:var(--white);}
.section-dark p{color:rgba(255,255,255,.72);}
.section-gray{background:var(--gray-50);}

.section-head{
  max-width:640px;
  margin-bottom:48px;
}
.section-head h2{font-size:clamp(26px,3vw,38px);color:var(--navy-950);}
.section-head p{font-size:16.5px;color:var(--slate-500);}
.section-dark .section-head p{color:rgba(255,255,255,.72);}

/* =========================================================
   BADGES / FRAMEWORK STRIP
   ========================================================= */
.badge-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.badge{
  font-family:var(--font-mono);
  font-size:13px;
  padding:10px 16px;
  border:1px solid var(--gray-200);
  border-radius:8px;
  background:var(--white);
  text-decoration:none;
  color:var(--ink);
  transition:border-color .15s ease, color .15s ease;
}
.badge:hover{border-color:var(--blue-600);color:var(--blue-700);}

/* =========================================================
   TESTIMONIAL
   ========================================================= */
.testimonial{
  background:var(--white);
  border:1px solid var(--gray-200);
  border-radius:var(--radius-lg);
  padding:36px;
}
.testimonial blockquote{
  font-family:var(--font-display);
  font-size:20px;
  font-weight:500;
  margin:0 0 20px;
  color:var(--navy-950);
}
.testimonial cite{
  font-style:normal;
  font-size:13.5px;
  color:var(--slate-500);
  display:block;
}
.testimonial cite strong{color:var(--ink);display:block;font-size:14.5px;}

/* =========================================================
   FINAL CTA
   ========================================================= */
.cta-band{
  background:var(--navy-950);
  color:var(--white);
  border-radius:24px;
  padding:64px 48px;
  text-align:center;
}
.cta-band h2{color:var(--white);font-size:clamp(26px,3.4vw,40px);}
.cta-band p{color:rgba(255,255,255,.72);max-width:52ch;margin:0 auto 32px;}
.cta-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background:var(--navy-950);
  color:rgba(255,255,255,.7);
  padding:72px 0 32px;
  font-size:14px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr repeat(4,1fr);
  gap:32px;
  margin-bottom:56px;
}
@media (max-width:900px){.footer-grid{grid-template-columns:1fr 1fr;}}
.footer-col h4{
  font-family:var(--font-mono);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:rgba(255,255,255,.45);
  margin-bottom:16px;
}
.footer-col a{
  display:block;
  text-decoration:none;
  color:rgba(255,255,255,.75);
  margin-bottom:10px;
  font-size:14px;
}
.footer-col a:hover{color:var(--sky-400);}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:24px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  font-size:13px;
  color:rgba(255,255,255,.5);
}

/* =========================================================
   FORMS
   ========================================================= */
.form-card{
  background:var(--white);
  border:1px solid var(--gray-200);
  border-radius:var(--radius-lg);
  padding:36px;
  box-shadow:var(--shadow-sm);
}
.field{margin-bottom:20px;}
.field label{
  display:block;
  font-size:13.5px;
  font-weight:600;
  margin-bottom:8px;
  color:var(--ink);
}
.field .hint{
  font-size:12.5px;
  color:var(--slate-500);
  margin-top:6px;
}
.field input,.field select,.field textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--gray-300);
  border-radius:8px;
  font-size:15px;
  font-family:var(--font-body);
  background:var(--white);
  color:var(--ink);
}
.field textarea{resize:vertical;min-height:110px;}
.required{color:var(--blue-700);}

/* =========================================================
   BREADCRUMB / PAGE HERO (interior pages)
   ========================================================= */
.page-hero{
  padding:56px 0 48px;
  border-bottom:1px solid var(--gray-200);
  background:var(--gray-50);
}
.breadcrumb{
  font-family:var(--font-mono);
  font-size:12.5px;
  color:var(--slate-500);
  margin-bottom:20px;
}
.breadcrumb a{text-decoration:none;color:var(--slate-500);}
.breadcrumb a:hover{color:var(--blue-700);}
.page-hero h1{font-size:clamp(30px,4vw,46px);color:var(--navy-950);max-width:820px;}
.page-hero .lede{font-size:17.5px;color:var(--slate-500);max-width:70ch;}

/* Utility */
.mt-0{margin-top:0;}
.text-center{text-align:center;margin-left:auto;margin-right:auto;}
.small{font-size:13.5px;color:var(--slate-500);}
