/* Homepage-only simplification layer.
   Product pages retain the established Nichols SI design system. */

body{
  background:#e8f0ff;
}

.site-pixel-bg{
  opacity:.16;
}

.screen-bloom{
  opacity:.12;
  background-color:transparent;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(248,251,255,.9);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(23,25,28,.12);
}

.nav{
  height:72px;
  grid-template-columns:auto 1fr auto;
}

.nav-mid{
  justify-self:center;
  gap:30px;
}

.nav-end{
  display:flex;
  justify-self:end;
}

.home-contact-link{
  font:400 13px/1 "Fragment Mono",monospace;
  border:1px solid rgba(23,25,28,.65);
  padding:11px 14px;
  transition:background .15s,color .15s;
}

.home-contact-link:hover{
  background:var(--ink);
  color:#fff;
}

.home-hero{
  min-height:calc(100vh - 72px);
  display:grid;
  place-items:center;
  padding:120px 30px;
  background:rgba(248,251,255,.9);
  border-bottom:1px solid rgba(23,25,28,.12);
}

.home-hero-inner{
  width:min(100%,1040px);
  margin-inline:auto;
  text-align:center;
}

.home-eyebrow,
.home-section-kicker,
.home-product-status,
.home-company-link,
.home-consulting-proof{
  font:400 12px/1.4 "Fragment Mono",monospace;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.home-eyebrow{
  margin-bottom:28px;
  color:rgba(23,25,28,.68);
}

.home-hero h1{
  margin:0;
  font-weight:500;
  font-size:clamp(68px,9vw,142px);
  line-height:.82;
  letter-spacing:-.06em;
}

.home-hero h1 span{
  display:block;
}

.home-hero p{
  width:min(100%,720px);
  margin:38px auto 0;
  font-size:clamp(20px,2.1vw,30px);
  line-height:1.35;
  letter-spacing:-.025em;
  color:rgba(23,25,28,.78);
}

.home-hero-actions{
  margin-top:38px;
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}

.home-primary,
.home-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  font:500 14px/1 "Host Grotesk",sans-serif;
  border:1px solid var(--ink);
  transition:background .15s,color .15s,transform .15s;
}

.home-primary{
  background:var(--ink);
  color:#fff;
}

.home-secondary{
  background:rgba(248,251,255,.7);
}

.home-primary:hover,
.home-secondary:hover{
  transform:translateY(-2px);
}

.home-secondary:hover{
  background:var(--ink);
  color:#fff;
}

.home-section{
  padding:118px 30px;
  background:rgba(248,251,255,.88);
  border-bottom:1px solid rgba(23,25,28,.12);
}

.home-products{
  background:rgba(234,241,255,.9);
}

.home-section-head{
  width:min(100%,1240px);
  margin:0 auto 44px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px;
  align-items:end;
}

.home-section-kicker{
  margin-bottom:12px;
  color:rgba(23,25,28,.62);
}

.home-section-head h2,
.home-company h2,
.home-consulting h2{
  margin:0;
  font-size:clamp(54px,7vw,96px);
  line-height:.88;
  letter-spacing:-.055em;
  font-weight:500;
}

.home-section-head p{
  margin:0;
  justify-self:end;
  max-width:520px;
  font-size:20px;
  line-height:1.45;
  color:rgba(23,25,28,.72);
}

.home-product-grid{
  width:min(100%,1240px);
  margin-inline:auto;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
}

.home-product-card{
  min-width:0;
  background:rgba(248,251,255,.96);
  border:1px solid rgba(23,25,28,.82);
  display:flex;
  flex-direction:column;
  transition:transform .16s ease,box-shadow .16s ease;
}

.home-product-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 36px rgba(23,25,28,.08);
}

.home-product-card:last-child{
  grid-column:1/-1;
  width:calc(50% - 14px);
  justify-self:center;
}

.home-product-visual{
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#dce7ff;
  border-bottom:1px solid rgba(23,25,28,.82);
}

.home-product-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.home-product-body{
  padding:26px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.home-product-meta{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
  margin-bottom:20px;
}

.home-product-number{
  font:400 11px/1 "Fragment Mono",monospace;
  color:rgba(23,25,28,.55);
  letter-spacing:.08em;
}

.home-product-status{
  padding:7px 9px;
  border:1px solid rgba(23,25,28,.24);
  background:rgba(255,255,255,.62);
  letter-spacing:.05em;
}

.home-product-body h3{
  margin:0;
  font-size:clamp(34px,3.4vw,50px);
  line-height:.98;
  letter-spacing:-.045em;
  font-weight:500;
}

.home-product-body p{
  margin:18px 0 28px;
  max-width:620px;
  font-size:18px;
  line-height:1.48;
  color:rgba(23,25,28,.72);
}

.home-product-link{
  margin-top:auto;
  width:max-content;
  font:500 14px/1.2 "Fragment Mono",monospace;
  border-bottom:1px solid currentColor;
  padding-bottom:3px;
}

.home-product-link:hover{
  color:var(--blue);
}

.home-l2m-wrap{
  height:100%;
  padding:28px;
  display:grid;
  place-items:center;
  background:
    linear-gradient(rgba(12,31,65,.02) 1px,transparent 1px),
    linear-gradient(90deg,rgba(12,31,65,.02) 1px,transparent 1px),
    #edf4ff;
  background-size:22px 22px;
}

.home-l2m-console{
  width:min(100%,460px);
  background:#0d1e3a;
  color:#d8e8ff;
  border:1px solid rgba(120,161,222,.5);
  box-shadow:0 18px 50px rgba(10,27,56,.2);
  padding:18px;
  font-family:"Fragment Mono",monospace;
}

.home-l2m-head,
.home-l2m-row,
.home-l2m-receipt{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.home-l2m-head{
  padding-bottom:14px;
  border-bottom:1px solid rgba(151,184,233,.24);
  font-size:11px;
  letter-spacing:.06em;
}

.home-l2m-online{
  color:#77e8a9;
}

.home-l2m-endpoint{
  padding:15px 0;
  border-bottom:1px solid rgba(151,184,233,.18);
}

.home-l2m-endpoint small,
.home-l2m-row span,
.home-l2m-receipt span{
  display:block;
  color:#8ca7cc;
  font-size:9px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.home-l2m-endpoint code{
  display:block;
  margin-top:6px;
  font-size:12px;
  color:#f3f8ff;
  overflow-wrap:anywhere;
}

.home-l2m-row{
  min-height:44px;
  border-bottom:1px solid rgba(151,184,233,.14);
  font-size:11px;
}

.home-l2m-row strong{
  font-weight:400;
  color:#edf5ff;
}

.home-l2m-receipt{
  margin-top:14px;
  padding:12px;
  border:1px solid rgba(84,227,157,.4);
  background:rgba(84,227,157,.08);
}

.home-l2m-receipt strong{
  font-size:11px;
  color:#81efb1;
  font-weight:500;
}

.home-geltre-visual{
  height:100%;
  display:grid;
  place-items:center;
  padding:28px;
  background:#111820;
  color:#fff;
}

.home-geltre-flow{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  width:100%;
  font:400 12px/1 "Fragment Mono",monospace;
}

.home-geltre-flow strong{
  font:500 clamp(28px,4vw,48px)/1 "Host Grotesk",sans-serif;
  letter-spacing:-.04em;
}

.home-geltre-flow b{
  color:#54e39d;
  font-weight:400;
}

.home-company{
  background:rgba(248,251,255,.94);
}

.home-company-grid,
.home-consulting-grid{
  width:min(100%,1240px);
  margin-inline:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
  align-items:start;
}

.home-company-copy,
.home-consulting-copy{
  max-width:600px;
  padding-top:8px;
}

.home-company-copy p,
.home-consulting-copy p{
  margin:0 0 28px;
  font-size:clamp(22px,2.4vw,32px);
  line-height:1.35;
  letter-spacing:-.025em;
  color:rgba(23,25,28,.76);
}

.home-company-link{
  display:inline-block;
  border-bottom:1px solid currentColor;
  padding-bottom:4px;
}

.home-company-link:hover{
  color:var(--blue);
}

.home-consulting{
  background:rgba(220,232,255,.92);
}

.home-consulting-proof{
  margin:30px 0 0;
  color:rgba(23,25,28,.65);
  line-height:1.7;
}

.site-footer{
  background:#15181d;
  color:#fff;
}

.home-footer{
  width:min(calc(100% - 60px),1240px);
  margin-inline:auto;
  padding:42px 0;
  display:grid;
  grid-template-columns:1fr auto;
  gap:30px;
  align-items:end;
}

.home-footer-copy{
  margin-top:20px;
  max-width:560px;
  font-size:16px;
  line-height:1.5;
  color:rgba(255,255,255,.62);
}

.home-footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:20px;
  font:400 12px/1 "Fragment Mono",monospace;
}

.home-footer-meta{
  grid-column:1/-1;
  margin-top:18px;
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.18);
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  font:300 11px/1.4 "JetBrains Mono",monospace;
  color:rgba(255,255,255,.48);
}

@media(max-width:900px){
  .nav-mid{gap:18px}
  .home-section-head,
  .home-company-grid,
  .home-consulting-grid{
    grid-template-columns:1fr;
    gap:28px;
  }
  .home-section-head p{
    justify-self:start;
  }
  .home-product-grid{
    grid-template-columns:1fr;
  }
  .home-product-card:last-child{
    grid-column:auto;
    width:100%;
  }
}

@media(max-width:700px){
  .site-header .max{
    width:min(calc(100% - 28px),var(--max));
  }
  .nav{
    height:auto;
    min-height:64px;
    grid-template-columns:1fr auto;
    gap:14px;
    padding:10px 0;
  }
  .nav-mid{
    grid-column:1/-1;
    grid-row:2;
    justify-self:start;
    width:100%;
    overflow-x:auto;
    padding-bottom:2px;
    gap:18px;
    font-size:12px;
  }
  .nav-end{
    grid-column:2;
    grid-row:1;
  }
  .home-contact-link{
    min-height:36px;
    padding:9px 11px;
    font-size:11px;
  }
  .home-hero{
    min-height:auto;
    padding:86px 20px 92px;
  }
  .home-hero h1{
    font-size:clamp(56px,17vw,86px);
  }
  .home-hero p{
    font-size:20px;
  }
  .home-section{
    padding:82px 20px;
  }
  .home-product-grid,
  .home-section-head,
  .home-company-grid,
  .home-consulting-grid{
    width:100%;
  }
  .home-product-body{
    padding:22px;
  }
  .home-product-body p{
    font-size:17px;
  }
  .home-l2m-wrap{
    padding:18px;
  }
  .home-l2m-head,
  .home-l2m-row,
  .home-l2m-receipt{
    align-items:flex-start;
  }
  .home-geltre-flow{
    gap:10px;
  }
  .home-footer{
    width:calc(100% - 40px);
    grid-template-columns:1fr;
  }
  .home-footer-links{
    justify-content:flex-start;
  }
}
