/* public home full-bleed hero */
.home-hero-fullbleed.public-builder-hero{
  position:relative;
  isolation:isolate;
  width:auto;
  margin:-28px min(-18px, calc((1280px - 100vw) / 2)) 0;
  padding:28px max(18px, calc((100vw - 1280px) / 2 + 18px)) 22px;
  min-height:540px;
  background-image:var(--home-hero-image);
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  color:var(--home-hero-text);
  overflow:hidden;
  align-items:start;
}

.home-hero-fullbleed::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:var(--home-hero-overlay);
}

.home-hero-fullbleed .public-builder-copy,
.home-hero-fullbleed .public-builder-card{
  position:relative;
  z-index:1;
}

.home-hero-fullbleed .public-builder-copy{
  padding-top:12px;
}

.home-hero-fullbleed .home-title-markup h1{
  color:var(--home-hero-text);
  font-size:3.55rem;
  line-height:.98;
  max-width:12ch;
  text-shadow:0 12px 34px rgba(255, 255, 255, 0.38);
}

.home-hero-fullbleed .home-intro-markup,
.home-hero-fullbleed .home-intro-markup p{
  color:var(--home-hero-muted);
}

.home-hero-fullbleed .home-intro-markup{
  max-width:58ch;
  font-size:1.02rem;
  line-height:1.45;
  text-shadow:0 8px 26px rgba(255, 255, 255, 0.36);
}

.home-hero-fullbleed .eyebrow{
  width:auto;
  background:rgba(255,255,255,.9);
  color:#3366e8;
  box-shadow:0 10px 30px rgba(0,0,0,.14);
}

.home-hero-fullbleed .public-builder-note,
.home-hero-fullbleed .partner-section-inline,
.home-hero-fullbleed .public-builder-card{
  border-color:rgba(210,222,240,.9);
  box-shadow:0 24px 70px rgba(15,42,76,.24);
}

.home-hero-fullbleed .public-builder-card{
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(12px);
}

.home-hero-fullbleed .public-builder-note,
.home-hero-fullbleed .partner-section-inline{
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);
  margin-top: 20px;
}

.home-hero-fullbleed .public-builder-note,
.home-hero-fullbleed .public-builder-note strong,
.home-hero-fullbleed .public-builder-note .muted,
.home-hero-fullbleed .public-builder-note p,
.home-hero-fullbleed .partner-section-inline,
.home-hero-fullbleed .partner-section-inline h2,
.home-hero-fullbleed .partner-section-inline .partner-card,
.home-hero-fullbleed .partner-section-inline .partner-card strong,
.home-hero-fullbleed .public-builder-card,
.home-hero-fullbleed .public-builder-card h2,
.home-hero-fullbleed .public-builder-card label,
.home-hero-fullbleed .public-builder-card p,
.home-hero-fullbleed .public-builder-card strong,
.home-hero-fullbleed .public-builder-card .muted,
.home-hero-fullbleed .public-builder-card .preview-note{
  color:#102a4c;
  text-shadow:none;
}

.home-hero-fullbleed + .public-home-points{
  margin-top:28px;
}

.home-3d-feature-wrap{
  margin:0 calc(50% - 50vw);
  padding:40px max(40px, calc((100vw - 1280px) / 2));
  background:var(--home-3d-section-bg);
}

.home-3d-feature-block{
  margin:0 auto;
  width:min(100%,1280px);
  padding:28px;
  border:1px solid #d8e4f4;
  border-radius:30px;
  background:var(--home-3d-card-bg);
  box-shadow:0 22px 64px rgba(15,42,76,.11);
  display:grid;
  grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr);
  gap:28px;
  align-items:center;
  overflow:hidden;
}

.home-3d-feature-copy{
  display:grid;
  gap:14px;
}

.home-3d-feature-copy h2{
  margin:0;
  color:#102a4c;
  font-size:clamp(2rem,4vw,3.35rem);
  line-height:1.02;
  max-width:12ch;
}

.home-3d-feature-copy p{
  margin:0;
  color:#34506f;
  font-size:1.02rem;
  line-height:1.65;
  max-width:58ch;
}

.home-3d-feature-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:6px;
}

.home-3d-feature-gallery{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:14px;
  min-width:0;
}

.home-3d-shot{
  min-height:190px;
  position:relative;
  overflow:hidden;
  border-radius:22px;
  border:1px solid #cfe0f5;
  background:#dfe8f3;
  box-shadow:0 16px 34px rgba(15,42,76,.12);
}

.home-3d-shot-large{
  grid-row:span 2;
  min-height:398px;
}

.home-3d-shot img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transform:scale(1.02);
}

.home-3d-shot::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(16,42,76,0) 35%,rgba(16,42,76,.74) 100%);
}

.home-3d-shot div{
  position:absolute;
  left:16px;
  right:16px;
  bottom:16px;
  z-index:1;
  display:grid;
  gap:4px;
  color:#fff;
}

.home-3d-shot strong{
  font-size:1rem;
  line-height:1.2;
}

.home-3d-shot span{
  color:rgba(255,255,255,.86);
  font-size:.86rem;
  line-height:1.35;
}

.home-hero-fullbleed.home-3d-active{
  grid-template-columns:1fr;
  min-height:0;
  overflow:visible;
}

.home-hero-fullbleed.home-3d-active .public-builder-copy{
  display:none;
}

.home-hero-fullbleed.home-3d-active .public-builder-card{
  width:100%;
  min-height:0;
  overflow:visible;
}

.home-hero-fullbleed.home-3d-active .public-builder-shell{
  grid-template-columns:minmax(300px,420px) minmax(0,1fr);
  align-items:start;
  overflow:visible;
}

.home-hero-fullbleed.home-3d-active .public-builder-preview{
  min-height:0;
  position:sticky;
  top:88px;
  align-self:start;
  overflow:visible;
}

.home-hero-fullbleed.home-3d-active .public-builder-preview #qrcodePreview,
.home-hero-fullbleed.home-3d-active .public-builder-preview .public-preview-canvas{
  display:none!important;
}

@media (max-width: 920px){
  .public-builder-preview{
    position:static;
  }
}

.page-shell > .alert{
  position:relative;
  z-index:5;
}

.page-shell > .alert + .home-hero-fullbleed.public-builder-hero{
  margin-top:-96px;
  padding-top:104px;
}

.control-hero-asset{
  grid-column:1 / -1;
}

.control-hero-preview{
  width:100%;
  max-width:none;
  height:180px;
  object-fit:cover;
  border-radius:14px;
}

@media (max-width: 1100px){
  .home-hero-fullbleed.public-builder-hero{
    grid-template-columns:1fr;
    min-height:0;
    padding-top:24px;
  }

  .home-hero-fullbleed .public-builder-copy{
    max-width:760px;
    padding-top:10px;
  }

  .home-hero-fullbleed .home-title-markup h1{
    font-size:2.85rem;
    max-width:14ch;
  }
}

@media (max-width: 980px){
  .home-3d-feature-block{
    grid-template-columns:1fr;
  }

  .home-3d-feature-copy h2{
    max-width:16ch;
  }
}

@media (max-width: 720px){
  .home-3d-feature-block{
    padding:18px;
    border-radius:24px;
  }

  .home-3d-feature-gallery{
    grid-template-columns:1fr;
  }

  .home-3d-shot,
  .home-3d-shot-large{
    min-height:230px;
    grid-row:auto;
  }
}

@media (max-width: 920px){
  .home-hero-fullbleed.home-3d-active .public-builder-shell{
    grid-template-columns:1fr;
  }
}

@media (max-width: 700px){
  .home-hero-fullbleed.public-builder-hero{
    margin-top:-18px;
    padding:20px 14px 20px;
    background-position:center top;
  }

  .page-shell > .alert + .home-hero-fullbleed.public-builder-hero{
    margin-top:-70px;
    padding-top:88px;
  }

  .home-hero-fullbleed .home-title-markup h1{
    font-size:2.15rem;
    max-width:12ch;
  }

  .home-hero-fullbleed .home-intro-markup{
    font-size:.92rem;
  }

.control-hero-preview{
    height:130px;
  }
}

.home-feature-grid-section{
  margin:34px auto 0;
  padding:44px clamp(18px,4vw,48px);
 /* background:var(--home-features-bg);*/
  border-top:1px solid rgba(156,182,255,.35);
  border-bottom:1px solid rgba(156,182,255,.35);
}

.home-feature-grid-head{max-width:780px;margin:0 auto 34px;text-align:center}
.home-feature-grid-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 12px;border-radius:999px;border:1px solid color-mix(in srgb,var(--home-features-accent) 35%,#fff);background:#fff;color:var(--home-features-accent);font-size:.74rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.home-feature-grid-head h2{margin:14px 0 8px;color:#071d3b;font-size:clamp(1.8rem,3.5vw,2.85rem);line-height:1.06;letter-spacing:0}
.home-feature-grid-head h2 span,.home-feature-grid-head h2 strong,.home-feature-grid-head h2 em{color:#2563EB;font-style:normal}
.home-feature-grid-head .site-markup,.home-feature-grid-head .site-markup p{margin:0;color:#3d5575;font-size:clamp(1rem,1.5vw,1.18rem);line-height:1.6}
.home-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:min(100%,1280px);margin:0 auto}
.home-feature-card{position:relative;display:grid;grid-template-columns:38px 1fr;align-items:center;gap:13px;min-height:78px;padding:15px 16px;border-radius:14px;border:1px solid rgba(145,175,220,.42);background:var(--feature-card-bg);box-shadow:0 10px 24px rgba(15,42,76,.07);color:var(--feature-text);overflow:hidden;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.home-feature-card::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--home-features-accent),color-mix(in srgb,var(--home-features-accent) 35%,#fff));opacity:0;transition:opacity .22s ease}
.home-feature-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--home-features-accent) 45%,#fff);box-shadow:0 22px 42px rgba(15,42,76,.13)}
.home-feature-card:hover::before{opacity:1}
.home-feature-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--feature-icon-bg);color:var(--feature-icon-color);font-size:.95rem;box-shadow:inset 0 0 0 1px rgba(255,255,255,.32)}
.home-feature-copy{display:grid;gap:3px;min-width:0}
.home-feature-copy strong{color:var(--feature-text);font-size:.93rem;line-height:1.22}
.home-feature-copy small{color:color-mix(in srgb,var(--feature-text) 72%,#607896);font-size:.82rem;line-height:1.35}

@media (max-width:980px){.home-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.home-feature-grid-section{padding:34px 16px}.home-feature-grid{grid-template-columns:1fr}.home-feature-card{grid-template-columns:38px 1fr;padding:14px}.home-feature-icon{width:38px;height:38px}}
