:root{
  --bg:#ffffff;
  --bg-alt:#f6f7fb;
  --text:#0b1220;
  --muted:#5b6475;
  --border:#e6e8ef;
  --accent:#0f172a;
  --accent-2:#1f3a8a;
  --good:#0b6b3a;
  --warn:#b45309;
  --danger:#b91c1c;

  --radius:16px;
  --radius-sm:12px;

  --shadow: 0 10px 30px rgba(15,23,42,.08);
  --shadow-sm: 0 6px 16px rgba(15,23,42,.07);
}

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

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
  line-height:1.65;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  width:min(1120px, 92vw);
  margin-inline:auto;
}

.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:12px;
  top:12px;
  transform:translateY(-160%);
  background:var(--accent);
  color:#fff;
  padding:10px 12px;
  border-radius:10px;
  z-index:9999;
}
.skip-link:focus{ transform:translateY(0); }

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 0;
}
.brand{
  display:flex;
  align-items:baseline;
  gap:10px;
  font-weight:800;
  letter-spacing:.02em;
}
.brand.small{ font-weight:800; }
.brand-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;height:36px;
  border-radius:12px;
  /*background:var(--accent);*/
  color:#fff;
  font-weight:900;
}
.brand-name{ font-size:16px; }
.brand.small .brand-name{ font-size:14px; }

.site-nav{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.site-nav a{
  color:var(--muted);
  font-weight:650;
  padding:8px 10px;
  border-radius:10px;
}
.site-nav a:hover{
  color:var(--text);
  background:var(--bg-alt);
  text-decoration:none;
}
.site-nav .nav-cta{
  background:var(--accent);
  color:#fff;
}
.site-nav .nav-cta:hover{
  background:var(--accent-2);
  color:#fff;
}

/* Hero */
.hero{
  padding:56px 0 34px;
}
.hero-grid{
  /*display:grid;
  grid-template-columns: 1.12fr .88fr;
  gap:28px;*/
  align-items:start;
}
.eyebrow{ margin:0 0 12px; }
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--bg-alt);
  font-weight:650;
  color:var(--muted);
}
.mainvisual{
  width:100%;
  height: auto;
  max-width:100%;
}


h1{
  margin:10px 0 14px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height:1.18;
  letter-spacing:-.02em;
}
.lead{
  margin:20px 0 14px;
  font-size:16px;
  color:var(--muted);
}
.checklist{
  list-style:none;
  padding:0;
  margin:0 0 18px;
  display:grid;
  gap:10px;
}
.checklist li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  box-shadow: var(--shadow-sm);
}
.hero-cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin:14px 0 14px;
}

.hero-badges{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top:12px;
}
.badge-card{
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--bg-alt);
  padding:12px 12px 10px;
}
.badge-top{
  color:var(--muted);
  font-weight:700;
  font-size:12px;
  letter-spacing:.02em;
}
.badge-main{
  margin-top:8px;
  display:flex;
  align-items:baseline;
  gap:6px;
}
.badge-main .num{
  font-size:30px;
  font-weight:900;
  letter-spacing:-.02em;
}
.badge-main .unit{
  color:var(--muted);
  font-weight:750;
}
.badge-sub{
  margin-top:6px;
  color:var(--muted);
  font-size:12px;
}

.hero-visual{
  position:relative;
}
.hero-visual svg{
  width:100%;
  height:auto;
  border-radius:18px;
  box-shadow: var(--shadow);
  border:1px solid var(--border);
}
.visual-callouts{
  display:grid;
  gap:10px;
  margin-top:12px;
}
.callout{
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
  background:#fff;
}
.callout-title{
  font-weight:850;
  margin-bottom:4px;
}
.callout-body{
  color:var(--muted);
  font-size:13px;
}

.note{
  margin-top:12px;
  color:var(--muted);
  font-size:12px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  font-weight:750;
  text-decoration:none;
  cursor:pointer;
  user-select:none;

}
.btn:hover{ text-decoration:none; }

.btn-primary{
  background:var(--accent);
  color:#fff;
  border-color:transparent;
}
.btn-primary:hover{ background:var(--accent-2); }

.btn-ghost{
  background:#fff;
  color:var(--text);
}
.btn-ghost:hover{ background:var(--bg-alt); }

.icon{
  width:18px;height:18px;
}
.icon-lg{
  width:26px;height:26px;
}

.micro{
  color:var(--muted);
  font-size:12px;
  margin:0;
}

/* Sections */
.section{
  padding:56px 0;
  scroll-margin-top: 84px;
}
.section.alt{
  background:var(--bg-alt);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.section-head{
  margin-bottom:18px;
}
.section-head h2{
  margin:0 0 6px;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing:-.01em;
}
.section-head .sub{
  margin:0;
  color:var(--muted);
}

/* Cards */
.card-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:10px;
}
.card{
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px 14px 12px;
  background:#fff;
  box-shadow: var(--shadow-sm);
}
.card h3{
  margin:10px 0 8px;
  font-size:16px;
}
.card p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}
.card-icon{
  width:44px;height:44px;
  border-radius:14px;
  background:var(--bg-alt);
  border:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--accent);
}

.inline-cta{
  margin-top:18px;
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

/* Levers */
.lever-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.lever{
  border:1px solid var(--border);
  border-radius:16px;
  padding:16px;
  background:#fff;
  box-shadow: var(--shadow-sm);
}
.lever h3{ margin:0 0 8px; }
.lever p{ margin:0; color:var(--muted); }

.equation{
  margin-top:16px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  padding:14px 16px;
  box-shadow: var(--shadow-sm);
}
.eq-title{
  font-weight:900;
  margin-bottom:6px;
}
.eq-body{
  color:var(--muted);
}
.muted{ color:var(--muted); }

/* Steps */
.steps-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:12px;
}
.step-card{
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  padding:16px 16px 40px 16px;
  box-shadow: var(--shadow-sm);
  position:relative;
}
.step-card.optional{
  border-style:dashed;
}
.step-top{
  display:flex;
  align-items:center;
  justify-content:left;
  gap:10px;
  margin-bottom:10px;
}
.step-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  background:var(--bg-alt);
  border:1px solid var(--border);
  font-weight:850;
  color:var(--muted);
  font-size:12px;
}
.step-title{
  font-weight:900;
}
.bullets{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  font-size:13px;
}
.meta{
  margin:10px 0 0;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
  position:absolute;
  bottom:10px;
  
}

.diagram{
  margin-top:16px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background:#fff;
}
.diagram.diagram2{
  margin-top:0;
}
.diagram svg,
.diagram img
{
  width:100%;
  height:auto;
  display:block;
}


/* SVG styling */
.svgbg{ fill:#ffffff; }
.svgcard{ fill:#f6f7fb; stroke: rgba(15,23,42,.22); stroke-width:2; }
.svgline{ stroke: rgba(15,23,42,.82); }
.svgtext{
  fill: rgba(15,23,42,.9);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-weight:800;
  font-size:18px;
}
.hero .svgtext text{ font-size:18px; font-weight:900; }
.hero .svgbg{ fill:#fff; }
.hero .svgline{ stroke: rgba(15,23,42,.75); }

/* Patent */
.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  align-items:start;
}
.callout-box{
  border:1px solid var(--border);
  border-radius:16px;
  padding:16px;
  background:#fff;
  box-shadow: var(--shadow-sm);
  margin-bottom:12px;
}
.callout-box h3{ margin:0 0 8px; }
.callout-box p{ margin:0; color:var(--muted); }

/* KPI */
.kpi-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.kpi-card{
  border:1px solid var(--border);
  border-radius:16px;
  padding:16px;
  background:#fff;
  box-shadow: var(--shadow-sm);
}
.kpi-card h3{ margin:0 0 10px; }
.kpi-list{
  margin:0;
  padding-left:18px;
  color:var(--muted);
}
.kpi-list li{ margin:6px 0; }

/* Who */
.who-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.who-card{
  border:1px solid var(--border);
  border-radius:16px;
  padding:16px;
  background:#fff;
  box-shadow: var(--shadow-sm);
}
.who-card h3{ margin:0 0 10px; }

/* Deliverables */
.deliver-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:10px;
}
.deliver-card{
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px;
  background:#fff;
  box-shadow: var(--shadow-sm);
}
.deliver-card h3{
  margin:0 0 8px;
  font-size:14px;
}
.deliver-card p{
  margin:0;
  color:var(--muted);
  font-size:12px;
}
.experience{
  margin-top:14px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  padding:16px;
  box-shadow: var(--shadow-sm);
}
.experience h3{ margin:0 0 10px; }

/* FAQ */
.faq{
  display:grid;
  gap:10px;
}
details{
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  box-shadow: var(--shadow-sm);
  overflow:hidden;
}
summary{
  list-style:none;
  cursor:pointer;
  padding:14px 16px;
  font-weight:850;
}
summary::-webkit-details-marker{ display:none; }
details[open] summary{
  border-bottom:1px solid var(--border);
  background: var(--bg-alt);
}
.faq-body{
  padding:14px 16px;
  color:var(--muted);
}

/* Form */
.form-wrap{
  /*display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:12px;*/
  align-items:start;
}
.form{
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  padding:16px;
  box-shadow: var(--shadow-sm);
}
.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.field{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.field a{
  text-decoration: dotted underline;
  color:#b45309;
}
.field-full{ grid-column: 1 / -1; }
label, legend{
  font-weight:800;
}
.req{ color:var(--danger); margin-left:4px; }
input, select, textarea{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  font:inherit;
  background:#fff;
}
textarea{ resize:vertical; }

input:focus, select:focus, textarea:focus{
  outline: 3px solid rgba(31,58,138,.18);
  border-color: rgba(31,58,138,.45);
}


.hint{
  margin:0;
  color:var(--muted);
  font-size:12px;
}
.error{
  margin:0;
  color:var(--danger);
  font-size:12px;
  min-height: 1.1em;
}
.is-invalid{
  border-color: rgba(185, 28, 28, .7) !important;
  outline: 3px solid rgba(185, 28, 28, .12) !important;
}

.checks{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
  padding:12px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--bg-alt);
}
.checks label{
  font-weight:700;
  color:var(--text);
  display:flex;
  gap:8px;
  align-items:flex-start;
}
.checks input{ margin-top:6px; }

.form-actions{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.status{
  border-radius:12px;
  padding:10px 12px;
  border:1px solid var(--border);
  background:var(--bg-alt);
  color:var(--muted);
  display:none;
}

.contact-box{
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  padding:16px;
  box-shadow: var(--shadow-sm);
}
.contact-box h3{ margin:0 0 10px; }
.contact-line{ margin:6px 0; }
.mini-cta{ margin-top:12px; }


#formStatus{
  font-size: 120%;
  color: var(--warn);

}


/* Footer */
.footer{
  border-top:1px solid var(--border);
  padding:18px 0;
  background:#fff;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  align-items:center;
}
.foot-left .micro{ margin-top:10px; }

/* Responsive */
.br-md{ display:none; }

@media (max-width: 980px){
  .card-grid{ grid-template-columns: repeat(2, 1fr); }
  .deliver-grid{ grid-template-columns: repeat(2, 1fr); }
  .hero-grid{ grid-template-columns: 1fr; }
  .br-md{ display:inline; }
  .two-col{ grid-template-columns: 1fr; }
  .kpi-grid{ grid-template-columns: 1fr; }
  .who-grid{ grid-template-columns: 1fr; }
  .steps-grid{ grid-template-columns: 1fr; }
  .form-wrap{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .site-nav{ display:none; }
  .hero-badges{ grid-template-columns: 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
  .checks{ grid-template-columns: 1fr; }
  .lever-grid{ grid-template-columns: 1fr; }
}
