/* Homepage-only layout refinements: keep shared product pages untouched. */
body.duilink-theme .topbar .topbarInner{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  grid-template-areas:"brand nav actions";
  align-items:center;
  gap:clamp(16px,2vw,30px);
  width:100%;
  max-width:1200px;
  min-height:78px;
  margin:0 auto;
  padding:10px clamp(18px,3vw,32px);
  box-sizing:border-box;
}
body.duilink-theme .topbar .brand{grid-area:brand;min-width:0;}
body.duilink-theme .topbar .brandLogo{width:136px;}
body.duilink-theme .topbar .topbarActions{grid-area:actions;justify-self:end;}
body.duilink-theme .topbar .duiTopNav{
  grid-area:nav;
  position:static;
  top:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:nowrap;
  gap:clamp(8px,1.5vw,22px);
  width:auto;
  max-width:none;
  margin:0;
  padding:0;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  z-index:auto;
}
body.duilink-theme .topbar .duiTopNav .duiNav{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px!important;
  min-width:0;
  padding:8px 4px;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--dui-text);
  font-size:14px;
  font-weight:650;
  white-space:nowrap;
  text-decoration:none;
}
body.duilink-theme .topbar .duiTopNav .duiNav:hover,
body.duilink-theme .topbar .duiTopNav .duiNav:focus-visible{
  color:var(--dui-accent);
  text-decoration:underline;
  text-underline-offset:5px;
}
body.duilink-theme .topbar .navToggle{display:none;}
body.duilink-theme .hero{padding:34px 0 28px;}
body.duilink-theme .heroGrid{
  grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
  gap:clamp(28px,4vw,56px);
  align-items:center;
  max-width:1200px;
}
body.duilink-theme .heroCopy{width:100%;max-width:570px;min-width:0;}
body.duilink-theme .hero .h1{
  max-width:12ch;
  margin-top:12px;
  margin-bottom:18px;
  font-size:clamp(48px,5.2vw,68px);
  line-height:1.02;
  letter-spacing:-.035em;
}
body.duilink-theme .heroLead{max-width:54ch;}
body.duilink-theme .heroMedia{
  align-self:center;
  width:100%;
  min-width:0;
  margin-top:0;
  padding:10px;
  border-radius:22px;
}
body.duilink-theme .heroVideoStack{border-radius:15px;}
body.duilink-theme .hero .ctaBlock{margin-top:20px;}
body.duilink-theme .hero .microChecklist{font-size:14px;gap:8px;}
body.duilink-theme .topbar .duiTopNav .navToggle{display:none;}

@media(max-width:900px){
  body.duilink-theme .topbar .topbarInner{
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"brand actions" "nav nav";
    gap:2px 12px;
    min-height:0;
    padding:8px clamp(14px,3vw,24px) 6px;
  }
  body.duilink-theme .topbar .brandLogo{width:116px;}
  body.duilink-theme .topbar .duiTopNav{
    grid-column:1/-1;
    grid-row:2;
    display:grid;
    grid-template-columns:minmax(0,1fr);
    justify-content:stretch;
    gap:0;
    width:100%;
    min-width:0;
    padding:0;
  }
  body.duilink-theme .topbar .duiTopNav .navToggle{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    min-height:38px;
    padding:6px 2px;
    border:0;
    background:transparent;
    color:var(--dui-text);
    font:inherit;
    font-size:13px;
    font-weight:750;
    cursor:pointer;
  }
  body.duilink-theme .topbar .duiTopNav .duiNav{
    justify-content:flex-start;
    min-height:44px!important;
    padding:8px 6px;
    border-top:1px solid var(--dui-border);
    white-space:normal;
  }
  body.duilink-theme .topbar .duiTopNav.isCollapsible:not(.isOpen) .duiNav{display:none;}
  body.duilink-theme .hero{padding:26px 0 22px;}
  body.duilink-theme .heroGrid{
    grid-template-columns:minmax(0,1fr);
    gap:24px;
    align-items:start;
  }
  body.duilink-theme .heroCopy{max-width:680px;}
  body.duilink-theme .hero .h1{
    max-width:14ch;
    font-size:clamp(42px,7vw,58px);
  }
  body.duilink-theme .heroMedia{
    width:min(100%,760px);
    margin:0 auto;
  }
}
@media(max-width:520px){
  body.duilink-theme .topbar .topbarInner{
    grid-template-columns:minmax(0,1fr) auto;
    column-gap:8px;
    padding:6px 12px 5px;
  }
  body.duilink-theme .topbar .brandLogo{width:100px;}
  body.duilink-theme .topbar .topbarActions{gap:4px;}
  body.duilink-theme .topbar .loginBtn{max-width:92px;}
  body.duilink-theme .topbar .duiTopNav .navToggle{min-height:36px;font-size:13px;}
  body.duilink-theme .hero{padding:22px 0 18px;}
  body.duilink-theme .heroGrid{gap:20px;}
  body.duilink-theme .hero .h1{
    max-width:12ch;
    margin-top:10px;
    margin-bottom:14px;
    font-size:clamp(38px,10vw,48px);
    line-height:1.04;
  }
  body.duilink-theme .heroBenefit{font-size:20px!important;margin-bottom:12px!important;}
  body.duilink-theme .heroLead{font-size:16px;line-height:1.5;margin-bottom:12px;}
  body.duilink-theme .heroActions{max-width:none;}
  body.duilink-theme .hero .microChecklist{font-size:13px;gap:7px;}
  body.duilink-theme .heroMedia{padding:7px;border-radius:17px;}
  body.duilink-theme .heroVideoStack{border-radius:11px;}
}
@media(prefers-reduced-motion:reduce){
  body.duilink-theme .heroVideoStack video{transition:none;}
}