/* Product modal and SEO product page. Direction: calm working software, real screens first. */

/* Remove native Windows button bevels from image-only controls. */
.reference-design .product-image,
.gallery-zoom,
.product-page-main-shot,
.product-page-thumb,
.gallery-thumbs button{
  appearance:none;
  -webkit-appearance:none;
  box-shadow:none;
}
.reference-design .product-image{
  border:0;
  border-bottom:1px solid #355256;
  outline:0;
}

.product-dialog{
  width:min(calc(100% - 40px),1240px);
  max-width:1240px;
  max-height:calc(100dvh - 40px);
  border-color:#3c6963;
  border-radius:20px;
  background:#071a1c;
}
.product-dialog::backdrop{background:rgba(1,8,9,.9);backdrop-filter:blur(6px)}
.product-dialog .dialog-header{
  min-height:76px;
  padding:16px 32px;
  border-bottom-color:#31504e;
}
.product-dialog .dialog-header .eyebrow{
  display:flex;
  align-items:center;
  gap:24px;
  color:#67e0ae;
  font-size:14px;
  letter-spacing:.035em;
}
.product-dialog .dialog-header .eyebrow::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:2px;
  background:#60dfad;
  box-shadow:12px 0 #60dfad,0 12px #60dfad,12px 12px #60dfad;
  margin:0 16px 12px 0;
  flex:none;
}
.product-dialog .icon-button{
  width:44px;
  height:44px;
  border-color:#38645f;
  border-radius:10px;
  font-size:28px;
}
.product-dialog .detail-content{
  grid-template-columns:minmax(0,1.32fr) minmax(340px,.82fr);
  gap:40px;
  padding:36px 40px 40px;
}
.product-dialog .detail-content>div:first-child{padding-right:40px;border-right:1px solid #31504e}
.product-dialog .gallery-cover{
  aspect-ratio:1.5;
  border-color:#4a7e74;
  border-radius:16px;
  background:#0b2224;
}
.product-dialog .gallery-cover img{object-fit:contain}
.product-dialog .gallery-zoom{height:100%}
.product-dialog .zoom-hint{
  right:16px;
  bottom:16px;
  min-height:40px;
  padding:10px 14px;
  border:1px solid #466661;
  border-radius:9px;
  background:rgba(7,24,25,.9);
  font-size:13px;
}
.product-dialog .gallery-thumbs{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,160px));gap:12px;margin-top:20px}
.product-dialog .gallery-thumbs button{
  width:auto;
  height:auto;
  aspect-ratio:1.6;
  border-radius:10px;
  border-color:#31504e;
  background:#0b2224;
}
.product-dialog .gallery-thumbs button.active{border:2px solid #66dfad}
.product-dialog .gallery-thumbs img{object-fit:contain}
.product-dialog .detail-description{display:flex;flex-direction:column;justify-content:center;min-width:0}
.product-dialog .detail-category{
  display:inline-flex;
  align-items:center;
  align-self:flex-start;
  min-height:36px;
  padding:7px 14px;
  border:1px solid #39745f;
  border-radius:18px;
  color:#65dda9;
  font-size:14px;
}
.product-dialog .detail-description h2{margin:20px 0 16px;font-size:clamp(36px,4vw,54px);line-height:1.02;font-weight:600}
.product-dialog .detail-description>p:not(.muted-note){font-size:17px;line-height:1.55;color:#b9c9c6}
.product-dialog .detail-page-link{margin:20px 0 0;font-size:15px}
.product-dialog .detail-price{margin-top:28px;padding:28px 0 20px;border-top:1px solid #31504e;font-size:36px;font-variant-numeric:tabular-nums}
.product-dialog .detail-description .btn{min-height:56px;font-size:16px}
.product-dialog .detail-note{position:relative;margin-top:16px!important;padding-left:28px;text-align:left!important;font-size:13px!important;line-height:1.5!important}
.product-dialog .detail-note::before{
  content:"i";
  position:absolute;
  left:0;
  top:1px;
  display:grid;
  place-items:center;
  width:18px;
  height:18px;
  border:1px solid #79918d;
  border-radius:50%;
  color:#a8bbb7;
  font:600 12px var(--display);
}

.program-page{background:#071719}
.program-page .site-header{background:rgba(7,23,25,.96)}
.program-page .header-inner{width:min(calc(100% - 48px),1360px);height:64px}
.program-page .logo{gap:10px;font-size:16px}
.program-page .logo-symbol{width:34px;height:34px;border-radius:8px}
.program-page .header-nav{gap:44px}
.program-page .header-nav a{font-size:13px}
.program-page .header-inner>.btn{min-height:38px;padding:8px 18px;font-size:13px}
.program-page .product-page-content{width:min(calc(100% - 48px),1360px);margin-inline:auto;padding-top:28px;padding-bottom:88px}
.product-breadcrumbs{display:flex;align-items:center;gap:10px;margin:0 0 28px;color:#91a5a2;font-size:13px}
.product-breadcrumbs a{color:#c9d6d3}
.product-breadcrumbs a:hover{color:#66dfad}
.product-breadcrumbs .home-glyph{display:grid;place-items:center;width:24px;height:24px;color:#66dfad}
.product-breadcrumbs .home-glyph svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.product-breadcrumbs .crumb-separator{color:#607875}

.product-section-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 32px;border:1px solid #355451;border-radius:12px;overflow:hidden;background:#0a1e20}
.product-section-nav a{display:flex;align-items:center;justify-content:center;min-height:52px;padding:10px 16px;border-right:1px solid #355451;color:#c6d4d1;font-size:14px;font-weight:600;text-align:center}
.product-section-nav a:last-child{border-right:0}
.product-section-nav a:hover,.product-section-nav a:focus-visible{color:#071719;background:#66dfad}

.product-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,360px);
  gap:32px;
  align-items:start;
}
.product-intro{padding-top:16px}
.product-intro h1{margin:0 0 16px;font-size:clamp(44px,5vw,68px);line-height:1;font-weight:600;letter-spacing:-.04em}
.product-intro .page-lead{margin:0 0 16px;font-size:20px;line-height:1.45;color:#edf6f3}
.product-intro .product-summary{margin:0;color:#a8bab7;font-size:15px;line-height:1.65;white-space:pre-line}
.product-badges{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 28px}
.product-badges span{display:inline-flex;align-items:center;min-height:34px;padding:7px 12px;border:1px solid #355956;border-radius:17px;color:#c1d0cd;font-size:12px}
.product-badges span:first-child{border-color:#33755c;color:#65dfaa;background:#0b2d26}
.product-intro .btn{min-height:48px;padding-inline:22px}

.product-gallery-panel{min-width:0}
.product-page-main-shot{
  display:block;
  width:100%;
  aspect-ratio:1.48;
  padding:12px;
  overflow:hidden;
  cursor:zoom-in;
  border:1px solid #385957;
  border-radius:16px;
  background:#0b2224;
}
.product-page-main-shot img{display:block;width:100%;height:100%;object-fit:contain;border-radius:10px}
.product-page-main-shot:hover,.product-page-main-shot:focus-visible{border-color:#66dfad}
.product-page-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}
.product-page-thumb{aspect-ratio:1.55;width:100%;padding:4px;overflow:hidden;border:1px solid #355451;border-radius:9px;background:#0b2224;cursor:pointer}
.product-page-thumb img{width:100%;height:100%;object-fit:contain;border-radius:5px}
.product-page-thumb.active{border:2px solid #66dfad;padding:3px}

.program-page .product-page-order{
  position:sticky;
  top:88px;
  padding:24px;
  border-color:#385957;
  border-radius:14px;
  background:#0c2224;
}
.program-page .product-page-order h2{margin:0 0 12px;font-size:25px}
.program-page .product-page-order .detail-price{margin:0 0 20px;padding:0;font-size:40px;font-variant-numeric:tabular-nums}
.order-conditions{display:grid;gap:12px;margin:0 0 24px;padding:0;list-style:none;color:#c0cfcc;font-size:14px}
.order-conditions li{position:relative;padding-left:28px}
.order-conditions li::before{content:"✓";position:absolute;left:0;top:-2px;color:#66dfad;font-size:20px}
.program-page .product-page-order .btn{margin:0 0 10px;min-height:48px}
.program-page .product-page-order .muted-note{margin:4px 0 0;font-size:12px;line-height:1.5}

.product-benefit-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  margin:36px 0 32px;
  padding:20px 0;
  border-block:1px solid #2d4a48;
}
.product-benefit-strip article{display:grid;grid-template-columns:40px 1fr;gap:12px;padding:0 24px;border-right:1px solid #2d4a48}
.product-benefit-strip article:first-child{padding-left:0}
.product-benefit-strip article:last-child{border-right:0;padding-right:0}
.benefit-glyph{display:grid;place-items:center;width:40px;height:40px;color:#66dfad;font-size:24px}
.product-benefit-strip h3{margin:0 0 4px;font-size:15px;font-weight:600}
.product-benefit-strip p{margin:0;color:#91a5a2;font-size:13px;line-height:1.5}

.product-content-section{margin-top:24px;padding:28px;border:1px solid #355451;border-radius:14px;background:#0a1e20;scroll-margin-top:96px}
.product-section-heading{display:flex;align-items:flex-start;gap:16px;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid #355451}
.product-section-heading>span{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #33755c;border-radius:9px;color:#66dfad;font:600 14px var(--mono)}
.product-section-heading p{margin:0 0 4px;color:#66dfad;font:600 11px/1.3 var(--mono);letter-spacing:.13em}
.product-section-heading h2{margin:0;font-size:28px;line-height:1.15}
.product-section-body{max-width:920px}
.lead-description{font-size:18px;line-height:1.65;color:#edf6f3}
.product-implemented-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr);gap:32px;align-items:start}
.product-screenshots-section .product-gallery-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,260px);gap:16px;align-items:start}
.product-screenshots-section .product-page-main-shot{aspect-ratio:1.65}
.product-screenshots-section .product-page-thumbs{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0}

.product-detail-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.72fr);gap:32px}
.product-description-panel,.delivery-panel{border:1px solid #355451;border-radius:14px;background:#0a1e20}
.product-description-panel{padding:0 28px 28px}
.product-tabs{display:flex;gap:36px;margin:0 -4px 24px;border-bottom:1px solid #355451}
.product-tabs span{display:inline-flex;align-items:center;min-height:52px;padding:0 4px;border-bottom:2px solid #66dfad;color:#66dfad;font-size:14px;font-weight:600}
.product-description-panel h2,.delivery-panel h2{margin:0 0 12px;font-size:25px}
.product-page-description{margin:0;color:#c0cfcc;font-size:15px;line-height:1.7;white-space:pre-line}
.product-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:24px}
.product-facts article{min-height:120px;padding:18px;border:1px solid #355451;border-radius:10px;background:#0d2426}
.product-facts strong{display:block;margin-bottom:8px;font-size:15px;font-weight:600}
.product-facts span{color:#91a5a2;font-size:13px;line-height:1.5}
.delivery-panel{padding:24px}
.delivery-list{display:grid;gap:0;margin:8px 0 0;padding:0;list-style:none;counter-reset:delivery}
.delivery-list li{position:relative;padding:16px 0 16px 44px;border-bottom:1px solid #355451;color:#b9c9c6;font-size:14px;line-height:1.5;counter-increment:delivery}
.delivery-list li:last-child{border-bottom:0}
.delivery-list li::before{content:counter(delivery);position:absolute;left:0;top:14px;display:grid;place-items:center;width:28px;height:28px;border:1px solid #33755c;border-radius:7px;color:#66dfad;font:600 12px var(--mono)}
.program-page .page-bottom-cta{display:grid;grid-template-columns:1fr auto;gap:12px 24px;align-items:center;margin-top:32px;padding:28px 32px;border-radius:14px;background:#0c2224}
.program-page .page-bottom-cta h2{margin:0;font-size:25px}
.program-page .page-bottom-cta p{margin:0;color:#9eb0ad}
.program-page .page-bottom-cta .btn{grid-column:2;grid-row:1/3;min-height:48px}

@media(max-width:1180px){
  .program-page .header-nav{gap:24px}
  .product-hero{grid-template-columns:minmax(0,1fr) minmax(300px,340px)}
  .program-page .product-page-order{position:static;display:block}
  .program-page .product-page-order h2,.program-page .product-page-order .detail-price{margin:0}
  .program-page .product-page-order .detail-price{margin-top:8px;margin-bottom:20px}
}
@media(max-width:900px){
  .product-dialog .detail-content{grid-template-columns:1fr;gap:28px;padding:28px}
  .product-dialog .detail-content>div:first-child{padding:0 0 28px;border-right:0;border-bottom:1px solid #31504e}
  .product-hero{grid-template-columns:1fr 320px}
  .product-intro{padding-top:0}
  .product-benefit-strip{grid-template-columns:1fr 1fr;row-gap:24px}
  .product-benefit-strip article:nth-child(2){border-right:0}
  .product-benefit-strip article:nth-child(3){padding-left:0}
  .product-detail-grid{grid-template-columns:1fr}
  .product-implemented-grid{grid-template-columns:1fr}
  .product-screenshots-section .product-gallery-panel{grid-template-columns:1fr}
  .product-screenshots-section .product-page-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:0}
}
@media(max-width:700px){
  .product-dialog{width:min(calc(100% - 20px),1240px);max-height:calc(100dvh - 20px);border-radius:14px}
  .product-dialog .dialog-header{min-height:64px;padding:12px 16px}
  .product-dialog .dialog-header .eyebrow{gap:12px;font-size:12px}
  .product-dialog .detail-content{padding:16px;gap:20px}
  .product-dialog .detail-content>div:first-child{padding-bottom:20px}
  .product-dialog .gallery-cover{border-radius:10px}
  .product-dialog .gallery-thumbs{gap:8px;margin-top:12px}
  .product-dialog .detail-description h2{font-size:36px}
  .product-dialog .detail-description>p:not(.muted-note){font-size:15px}
  .product-dialog .detail-price{font-size:30px;padding:22px 0 16px}
  .program-page .product-page-content{width:min(calc(100% - 32px),1360px);padding-top:20px;padding-bottom:64px}
  .program-page .header-inner{width:min(calc(100% - 32px),1360px);height:60px}
  .program-page .logo{gap:9px;font-size:16px}
  .program-page .logo-symbol{width:32px;height:32px}
  .program-page .header-inner>.btn{padding-inline:12px}
  .product-breadcrumbs{overflow:auto;white-space:nowrap;margin-bottom:24px}
  .product-section-nav{grid-template-columns:1fr;margin-bottom:24px}
  .product-section-nav a{min-height:46px;border-right:0;border-bottom:1px solid #355451}
  .product-section-nav a:last-child{border-bottom:0}
  .product-hero{grid-template-columns:1fr;gap:24px}
  .product-intro h1{font-size:44px}
  .product-intro .page-lead{font-size:18px}
  .program-page .product-page-order{grid-column:auto;display:block;padding:20px}
  .program-page .product-page-order h2{margin-bottom:8px}
  .program-page .product-page-order .detail-price{margin-bottom:18px}
  .order-conditions{margin-bottom:20px}
  .program-page .product-page-order .btn{margin-bottom:10px}
  .product-benefit-strip{grid-template-columns:1fr;margin:28px 0;padding:20px 0;gap:20px}
  .product-benefit-strip article,.product-benefit-strip article:nth-child(3){padding:0;border-right:0}
  .product-description-panel{padding:0 20px 20px}
  .product-content-section{padding:20px}
  .product-section-heading{margin-bottom:20px;padding-bottom:16px}
  .product-section-heading h2{font-size:24px}
  .lead-description{font-size:16px}
  .product-screenshots-section .product-page-thumbs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-tabs{gap:20px;margin-bottom:20px}
  .product-facts{grid-template-columns:1fr}
  .product-facts article{min-height:0}
  .program-page .page-bottom-cta{display:block;padding:24px}
  .program-page .page-bottom-cta p{margin:10px 0 18px}
}
