/* DC Microsite V1.0.3 — Responsive / Mobile & Tablet Cosmetic Refinement
   Scope: responsive presentation only.
   Desktop >=1200px remains unchanged.
   No copy, SEO, analytics, form handling, schema, robots or tracking logic changed.
*/

/* Improve dark-section body-copy contrast at all sizes. */
.navy .section-head p:not(.eyebrow),
.navy .on-dark{
  color:rgba(255,255,255,.80) !important;
}
.transition-lead,
.transition .flow article p,
.transition .boundary{
  color:rgba(255,255,255,.80) !important;
}

/* Tablet landscape / compact desktop */
@media (min-width:900px) and (max-width:1199px){
  .section{padding:72px 0 !important;}
  .section-head{margin-bottom:34px !important;}
  .header-inner{min-height:88px !important;}
  .brand-main img{width:50px !important;height:50px !important;}
  .hero{min-height:540px !important;}
  .hero-inner{padding:86px 0 58px !important;}
  .hero h1{font-size:52px !important;line-height:1 !important;}
  .comparison-grid,.insight-grid,.review-grid{gap:36px !important;}
  .matrix th,.matrix td{padding:13px 10px !important;font-size:13px !important;}
  .why h2{font-size:44px !important;line-height:1.06 !important;}
}

/* Tablet portrait */
@media (min-width:768px) and (max-width:899px){
  html{scroll-padding-top:92px;}
  section[id]{scroll-margin-top:92px !important;}
  .section{padding:66px 0 !important;}
  .section-head{margin-bottom:30px !important;}
  .section-head h2,
  .copy h2,
  .dashboard-copy h2,
  .why h2,
  .transition h2,
  .review h2{
    font-size:42px !important;
    line-height:1.06 !important;
    letter-spacing:-.03em !important;
  }
  .header-inner{min-height:82px !important;}
  .brand-main img{width:52px !important;height:46px !important;}
  .microsite-name span{font-size:13px !important;}
  .hero{min-height:540px !important;}
  .hero-inner{padding:88px 0 58px !important;}
  .hero h1{font-size:52px !important;line-height:1 !important;}
  .hero-lead{font-size:17px !important;line-height:1.48 !important;}
  .stage-grid{gap:16px !important;}
  .comparison-grid,.insight-grid,.review-grid{gap:34px !important;}
  .matrix th,.matrix td{padding:12px 9px !important;font-size:13px !important;}
  .visual-card{padding:26px !important;}
  #commissioning .section-head.center{text-align:left !important;margin-inline:0 !important;}
}

/* Phones */
@media (max-width:767px){
  html{scroll-padding-top:82px;}
  section[id]{scroll-margin-top:82px !important;}

  .shell{width:calc(100% - 28px) !important;}
  .section{padding:52px 0 !important;}
  .section-head{margin-bottom:26px !important;}
  .section-head.center{
    text-align:left !important;
    margin-inline:0 !important;
    margin-bottom:28px !important;
  }
  .eyebrow{
    font-size:12px !important;
    line-height:1.35 !important;
    margin-bottom:12px !important;
  }
  .section-head h2,
  .copy h2,
  .dashboard-copy h2,
  .why h2,
  .transition h2,
  .review h2,
  .why-matters .copy h2,
  .visual-intelligence .section-head h2{
    font-size:36px !important;
    line-height:1.06 !important;
    letter-spacing:-.03em !important;
  }
  .section-head p:not(.eyebrow),
  .copy>p:not(.eyebrow){
    font-size:16px !important;
    line-height:1.48 !important;
  }

  /* Header */
  .header-inner{
    min-height:74px !important;
    gap:10px !important;
  }
  .brand-main img{
    width:56px !important;
    height:42px !important;
    object-fit:contain !important;
    object-position:left center !important;
  }
  .microsite-name{
    padding-left:11px !important;
  }
  .microsite-name span{
    font-size:12px !important;
    letter-spacing:.10em !important;
  }
  .menu-toggle{
    width:42px !important;
    height:42px !important;
    font-size:22px !important;
  }

  /* Hero */
  .hero{
    min-height:auto !important;
  }
  .hero-inner{
    padding:56px 0 48px !important;
  }
  .hero h1{
    font-size:40px !important;
    line-height:.99 !important;
    margin-bottom:20px !important;
  }
  .hero-lead{
    font-size:16px !important;
    line-height:1.46 !important;
  }
  .hero-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
    margin-top:24px !important;
  }
  .hero-actions .button{
    width:100% !important;
    min-height:50px !important;
    padding:12px 14px !important;
    text-align:center !important;
  }
  .trust{
    font-size:10px !important;
    line-height:1.35 !important;
    margin-top:14px !important;
  }
  .trust span{padding:0 4px !important;}

  /* General content rhythm */
  .why-matters .two-col{gap:22px !important;}
  .why-matters .copy>p:not(.eyebrow){font-size:16px !important;}
  .why-matters .context-image img{border-radius:10px;}
  .stage-grid{gap:14px !important;}
  .stage-content{padding:20px !important;}
  .stage-content h3{font-size:21px !important;}
  .stage-content p,.stage-content li{font-size:15px !important;line-height:1.45 !important;}

  /* Lifecycle */
  .lifecycle{gap:0 !important;}
  .lifecycle li{
    grid-template-columns:58px minmax(0,1fr) !important;
    column-gap:14px !important;
    padding:16px 0 !important;
  }
  .lifecycle b{
    width:54px !important;
    height:54px !important;
    font-size:19px !important;
  }
  .lifecycle h3{font-size:21px !important;margin-bottom:5px !important;}
  .lifecycle p{font-size:14px !important;line-height:1.43 !important;}

  /* Infrastructure dark section */
  .cap-grid{grid-template-columns:1fr !important;margin-top:24px !important;}
  .cap-grid article{
    padding:22px 16px !important;
    border-right:0 !important;
  }
  .cap-grid h3{font-size:19px !important;margin:10px 0 8px !important;}
  .cap-grid p{font-size:14px !important;line-height:1.48 !important;color:rgba(255,255,255,.80) !important;}

  /* Integrated capability stack */
  .transition .flow{
    margin:26px 0 22px !important;
    gap:10px !important;
  }
  .transition .flow article{
    padding:20px !important;
    min-height:0 !important;
  }
  .transition .flow article h3{
    font-size:21px !important;
    margin:8px 0 !important;
  }
  .transition .flow article p{
    font-size:14px !important;
    line-height:1.48 !important;
  }

  /* Visual Intelligence */
  .visual-intelligence .section-head{margin-bottom:24px !important;}
  .visual-intelligence-grid{gap:16px !important;}
  .visual-card{
    padding:22px 18px !important;
    border-radius:12px !important;
  }
  .visual-card h3{
    font-size:28px !important;
    line-height:1.08 !important;
  }
  .visual-feature-list{gap:10px !important;margin:16px 0 20px !important;}
  .visual-feature-list>div{padding:14px !important;}

  /* Operations */
  #operations .section-head h2{font-size:36px !important;}
  #operations .op-with-image .op-image{
    height:205px !important;
    min-height:205px !important;
  }
  #operations .op-image img{
    object-position:24% 58% !important;
  }
  #operations .op-body{
    padding:20px 18px !important;
  }
  #operations .op-body h3{
    font-size:25px !important;
    line-height:1.12 !important;
  }
  #operations .op-body p,
  #operations .op-body li{
    font-size:15px !important;
    line-height:1.46 !important;
  }

  /* Capability matrix — convert wide desktop table into readable mobile cards. */
  #comparison .matrix-scroll{
    overflow:visible !important;
    border:0 !important;
    background:transparent !important;
  }
  #comparison .matrix{
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    border-collapse:separate !important;
  }
  #comparison .matrix thead{
    display:none !important;
  }
  #comparison .matrix tbody{
    display:grid !important;
    gap:12px !important;
  }
  #comparison .matrix tr{
    display:grid !important;
    grid-template-columns:1fr !important;
    border:1px solid var(--line) !important;
    border-radius:10px !important;
    overflow:hidden !important;
    background:#fff !important;
  }
  #comparison .matrix td{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:16px !important;
    width:100% !important;
    border-right:0 !important;
    border-bottom:1px solid var(--line) !important;
    padding:11px 14px !important;
    text-align:right !important;
    font-size:14px !important;
  }
  #comparison .matrix td:last-child{
    border-bottom:0 !important;
  }
  #comparison .matrix td:first-child{
    display:block !important;
    text-align:left !important;
    font-weight:850 !important;
    color:var(--ink) !important;
    background:var(--soft) !important;
    padding:14px !important;
  }
  #comparison .matrix td:nth-child(2)::before,
  #comparison .matrix td:nth-child(3)::before,
  #comparison .matrix td:nth-child(4)::before,
  #comparison .matrix td:nth-child(5)::before{
    color:var(--muted) !important;
    font-weight:700 !important;
    text-align:left !important;
    font-size:12px !important;
    line-height:1.25 !important;
  }
  #comparison .matrix td:nth-child(2)::before{content:"Construction chronology";}
  #comparison .matrix td:nth-child(3)::before{content:"Network / integration";}
  #comparison .matrix td:nth-child(4)::before{content:"Security visibility";}
  #comparison .matrix td:nth-child(5)::before{content:"Handover support";}

  #comparison .matrix .matrix-highlight{
    border-color:var(--red) !important;
  }
  #comparison .matrix .matrix-highlight td{
    background:var(--red) !important;
    color:#fff !important;
    border-bottom-color:rgba(255,255,255,.25) !important;
  }
  #comparison .matrix .matrix-highlight td:first-child{
    background:var(--red) !important;
    color:#fff !important;
  }
  #comparison .matrix .matrix-highlight td::before{
    color:rgba(255,255,255,.82) !important;
  }
  #comparison .matrix-legend{
    margin-top:14px !important;
    padding:12px !important;
  }
  #comparison .table-note{
    font-size:12px !important;
    line-height:1.42 !important;
  }
  #comparison .why{
    margin-top:8px !important;
  }
  #comparison .why h2{
    font-size:36px !important;
  }
  #comparison .why li{
    grid-template-columns:42px minmax(0,1fr) !important;
    gap:12px !important;
    margin-bottom:20px !important;
  }
  #comparison .why h3{font-size:19px !important;}
  #comparison .why li p{font-size:14px !important;line-height:1.45 !important;}

  /* Commissioning — align mobile reading direction with the rest of the site. */
  #commissioning .section-head.center{
    text-align:left !important;
    margin-inline:0 !important;
  }

  /* Review form */
  .review-grid{gap:28px !important;}
  .review .steps{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
    margin:20px 0 0 !important;
  }
  .form{
    padding:20px 16px !important;
    gap:12px !important;
  }
  .form input,.form select,.form textarea{
    padding:12px 11px !important;
    font-size:16px !important;
  }
  .form textarea{min-height:120px !important;}
  .consent-row{font-size:12px !important;}
  .form .button{
    width:100% !important;
    min-height:52px !important;
  }

  /* Footer */
  .footer{
    padding:42px 0 18px !important;
  }
  .footer-grid{
    grid-template-columns:1fr !important;
    gap:24px !important;
  }
  .footer-brand{grid-column:auto !important;}
  .footer-brand img{height:68px !important;}
  .footer-bottom{
    margin-top:22px !important;
    padding-top:18px !important;
    line-height:1.45 !important;
  }
}

/* Very small phones */
@media (max-width:380px){
  .shell{width:calc(100% - 22px) !important;}
  .hero h1{font-size:37px !important;}
  .section-head h2,
  .copy h2,
  .dashboard-copy h2,
  .why h2,
  .transition h2,
  .review h2,
  .why-matters .copy h2,
  .visual-intelligence .section-head h2{
    font-size:33px !important;
  }
  .microsite-name span{font-size:11px !important;}
  .brand-main img{width:50px !important;}
}
