/* Nerdi's clean, editorial marketing homepage. Keep existing dialogs and shared navigation intact. */
.ns-home { background:#fff; color:#102b42; }
.ns-home .shell { width:min(1160px,calc(100% - 80px)); margin-inline:auto; }
.ns-home h1,.ns-home h2,.ns-home h3 { margin:0; line-height:1.17; letter-spacing:-.035em; font-weight:760; }
.ns-home p { margin:0; line-height:1.72; }
.ns-home .ns-kicker { margin:0 0 16px; font-size:.85rem; line-height:1.4; text-transform:uppercase; letter-spacing:.12em; font-weight:780; color:#087d96; }
.ns-home h2 { font-size:clamp(2rem,3.3vw,2.9rem); }
.ns-home .ns-section { padding:76px 0; }
.ns-home .ns-actions { display:flex; flex-wrap:wrap; gap:13px; margin-top:29px; }
.ns-home .button { border-radius:5px; min-height:49px; font-weight:750; padding:12px 22px; text-align:center; white-space:normal; box-shadow:none; }
.ns-home .ns-primary { background:#0d7894; border:1px solid #0d7894; color:#fff; }
.ns-home .ns-primary:hover { background:#095a70; border-color:#095a70; color:#fff; }
.ns-home .ns-hero-secondary { color:#fff; background:transparent; border:1px solid #a7bfce; }
.ns-home .ns-hero-secondary:hover { background:#fff; color:#102b42; }
.ns-home .ns-outline { color:#14546a; background:#fff; border:1px solid #387e92; }
.ns-home .ns-outline:hover { background:#eaf5f7; color:#123d51; }
.ns-home .ns-link { display:inline-flex; align-items:center; gap:8px; color:#096c83; font-size:.96rem; font-weight:760; text-decoration:none; text-underline-offset:4px; }
.ns-home .ns-link:hover { text-decoration:underline; }
.ns-home .ns-hero { isolation:isolate; position:relative; overflow:hidden; display:flex; align-items:center; min-height:500px; color:#fff; background:#102b42; }
.ns-home .ns-hero-art { position:absolute; z-index:-1; inset:0 0 0 37%; }
.ns-home .ns-hero-art img { width:100%; height:100%; object-fit:cover; object-position:58% 50%; display:block; }
.ns-home .ns-hero::after { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#102b42 0%,#102b42 31%,rgba(16,43,66,.97) 40%,rgba(16,43,66,.68) 58%,rgba(16,43,66,.06) 100%); }
.ns-home .ns-hero-content { padding-block:84px; }
.ns-home .ns-hero .ns-kicker { color:#a7e1ed; }
.ns-home .ns-hero h1 { font-size:clamp(2.8rem,4.7vw,4.6rem); max-width:760px; color:#fff; }
.ns-home .ns-hero-intro { color:#e1edf3; font-size:clamp(1.05rem,1.6vw,1.25rem); margin-top:20px; max-width:590px; }
.ns-home .ns-hero .ns-primary,.ns-home .ns-contact .ns-primary { background:#71d7e9; border-color:#71d7e9; color:#102b42; }
.ns-home .ns-hero .ns-primary:hover,.ns-home .ns-contact .ns-primary:hover { background:#a2eaf4; border-color:#a2eaf4; }
.ns-home .ns-intro-grid { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr); gap:75px; align-items:center; }
.ns-home .ns-intro-grid h2 + p,.ns-home .ns-local h2 + p { color:#4c6272; margin-top:20px; font-size:1.075rem; }
.ns-home .ns-benefits { list-style:none; padding:0; margin:21px 0 25px; display:grid; gap:11px; }
.ns-home .ns-benefits li { display:flex; align-items:flex-start; gap:11px; line-height:1.55; color:#304b5f; }
.ns-home .ns-benefits svg { flex:0 0 20px; margin-top:2px; color:#087d96; }
.ns-home .ns-inquiry { background:#f1f7f9; border-left:4px solid #0d7894; padding:35px; }
.ns-home .ns-inquiry h3 { font-size:1.65rem; }
.ns-home .ns-inquiry p { margin:12px 0 23px; color:#4c6272; }
.ns-home .ns-inquiry .button { display:flex; width:100%; justify-content:center; }
.ns-home .ns-phone { display:flex; align-items:center; gap:8px; margin:19px 0 4px; color:#123b50; font-weight:750; }
.ns-home .ns-inquiry small { color:#4c6272; font-size:.85rem; }
.ns-home .ns-services { background:#f5f8fa; border-block:1px solid #e4ebef; }
.ns-home .ns-section-heading { text-align:center; max-width:700px; margin:0 auto 38px; }
.ns-home .ns-section-heading p { color:#4c6272; font-size:1.1rem; margin-top:12px; }
.ns-home .ns-service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); background:#fff; border:1px solid #dce7ed; }
.ns-home .ns-service { min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:13px; padding:30px 28px; border-bottom:1px solid #dce7ed; border-right:1px solid #dce7ed; }
.ns-home .ns-service:nth-child(3n) { border-right:0; }
.ns-home .ns-service:nth-last-child(-n+3) { border-bottom:0; }
.ns-home .ns-service-icon { display:flex; color:#087d96; margin:0 0 3px; }
.ns-home .ns-service h3 { font-size:1.3rem; }
.ns-home .ns-service h3 a { color:#102b42; text-decoration:none; }
.ns-home .ns-service h3 a:hover { text-decoration:underline; }
.ns-home .ns-service p { color:#4c6272; font-size:.98rem; margin-bottom:6px; }
.ns-home .ns-service .ns-link { margin-top:auto; }
.ns-home .ns-scan { padding:26px 0; border-bottom:1px solid #e4ebef; }
.ns-home .ns-scan-inner { display:flex; gap:20px; align-items:center; }
.ns-home .ns-scan-icon { display:flex; flex:none; color:#087d96; }
.ns-home .ns-scan h2 { font-size:1.25rem; letter-spacing:-.02em; }
.ns-home .ns-scan p { color:#4c6272; font-size:.94rem; margin-top:4px; }
.ns-home .ns-scan .button { flex:none; margin-left:auto; }
.ns-home .ns-local-grid { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:60px; }
.ns-home .ns-local figure { margin:0; }
.ns-home .ns-local img { width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; display:block; border-radius:3px; }
.ns-home .ns-local figcaption { color:#536574; font-size:.78rem; line-height:1.5; margin-top:7px; }
.ns-home .ns-local .ns-link { margin-top:22px; }
.ns-home .ns-clients .client-ribbon { padding:24px 0; border-top:1px solid #e4ebef; border-bottom:1px solid #e4ebef; background:#fff; }
.ns-home .ns-clients .client-ribbon-inner { display:block; width:min(1160px,calc(100% - 80px)); margin-inline:auto; }
.ns-home .ns-clients .client-ribbon-heading { text-align:center; margin:0 0 18px; }
.ns-home .ns-clients .client-ribbon-viewport { overflow:visible; mask-image:none; }
.ns-home .ns-clients .client-ribbon-track { display:block; width:100%; animation:none!important; transform:none!important; }
.ns-home .ns-clients .client-ribbon-list { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; width:100%; gap:18px 26px; padding:0; margin:0; }
.ns-home .ns-clients .client-ribbon-list[aria-hidden="true"],.ns-home .ns-clients .client-ribbon-toggle { display:none!important; }
.ns-home .ns-clients .client-ribbon-list li { flex:0 1 auto; min-width:0; }
.ns-home .ns-clients .client-logo { max-width:150px; min-height:32px; }
.ns-home .ns-faq { padding:25px 0; }
.ns-home .ns-faq-group { border:1px solid #dce7ed; padding:16px 20px; }
.ns-home .ns-faq summary { cursor:pointer; font-weight:700; color:#183b51; }
.ns-home .ns-faq summary:hover { color:#087d96; }
.ns-home .ns-faq-list { margin:12px 0 0; }
.ns-home .ns-faq-list details { padding:14px 0; border-top:1px solid #e4ebef; }
.ns-home .ns-faq-list p { color:#4c6272; margin-top:8px; max-width:80ch; }
.ns-home .ns-contact { background:#102b42; color:#fff; padding:45px 0; }
.ns-home .ns-contact-inner { display:flex; justify-content:space-between; align-items:center; gap:25px; }
.ns-home .ns-contact h2 { color:#fff; font-size:clamp(1.9rem,3vw,2.5rem); }
.ns-home .ns-contact p { color:#d6e4ec; margin-top:7px; }
.ns-home .ns-contact .button { flex:none; }
@media(max-width:960px) {
  .ns-home .shell,.ns-home .ns-clients .client-ribbon-inner { width:calc(100% - 48px); }
  .ns-home .ns-section { padding:58px 0; }
  .ns-home .ns-intro-grid,.ns-home .ns-local-grid { gap:34px; }
  .ns-home .ns-hero-art { left:26%; }
  .ns-home .ns-hero::after { background:linear-gradient(90deg,#102b42 0%,rgba(16,43,66,.97) 27%,rgba(16,43,66,.8) 55%,rgba(16,43,66,.32) 100%); }
  .ns-home .ns-service { padding:26px 22px; }
}
@media(max-width:760px) {
  .ns-home .shell,.ns-home .ns-clients .client-ribbon-inner { width:calc(100% - 40px); }
  .ns-home .ns-section { padding:44px 0; }
  .ns-home .ns-hero { min-height:0; }
  .ns-home .ns-hero-content { padding-block:66px 60px; }
  .ns-home .ns-hero h1 { font-size:clamp(2.45rem,8.8vw,3.5rem); max-width:600px; }
  .ns-home .ns-hero-art { inset:0; }
  .ns-home .ns-hero::after { background:linear-gradient(90deg,rgba(10,29,44,.96),rgba(10,29,44,.78)); }
  .ns-home .ns-intro-grid,.ns-home .ns-local-grid { grid-template-columns:1fr; gap:28px; }
  .ns-home .ns-inquiry { padding:25px; }
  .ns-home .ns-service-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ns-home .ns-service:nth-child(n) { border-right:1px solid #dce7ed; border-bottom:1px solid #dce7ed; }
  .ns-home .ns-service:nth-child(2n) { border-right:0; }
  .ns-home .ns-service:nth-last-child(-n+2) { border-bottom:0; }
  .ns-home .ns-scan-inner { flex-wrap:wrap; gap:10px 13px; align-items:flex-start; }
  .ns-home .ns-scan-inner > div { flex:1 1 200px; }
  .ns-home .ns-scan .button { margin:8px 0 0 47px; }
  .ns-home .ns-local-grid > div:last-child { grid-row:1; }
  .ns-home .ns-contact-inner { flex-direction:column; align-items:flex-start; }
  .ns-home .ns-faq { padding:20px 0; }
}
@media(max-width:480px) {
  .ns-home .ns-service-grid { grid-template-columns:1fr; }
  .ns-home .ns-service:nth-child(n) { border-right:0; border-bottom:1px solid #dce7ed; }
  .ns-home .ns-service:last-child { border-bottom:0; }
  .ns-home .ns-actions { flex-direction:column; align-items:stretch; }
  .ns-home .ns-scan .button { margin-left:0; width:100%; }
}
