/* D:FENCE / shared Motion controls and responsive refinements / 2026-10-04 */
:root{color-scheme:light}
.brand{gap:10px;flex-shrink:0;white-space:nowrap}
.brand .dfence-symbol{width:36px;height:42px;flex:0 0 36px;display:block}
.brand .wordmark{font-size:24px;line-height:1;font-weight:650;letter-spacing:0}
.hero{background:radial-gradient(ellipse at 77% 40%,#103965 0,#092849 38%,#06182f 76%);overflow:hidden;isolation:isolate}
.hero::before,.hero::after{background:none!important;opacity:0!important;animation:none!important;pointer-events:none}
.hero-grid{position:relative;z-index:1}
.circuit-scene{position:absolute;inset:0;z-index:0;width:100%;height:100%;pointer-events:none;contain:strict}
.circuit-scene *{pointer-events:none}
.circuit-lines{fill:none;stroke:#3a92c5;stroke-width:1.15;opacity:.28;vector-effect:non-scaling-stroke}
.circuit-nodes{fill:#6ab4d8;opacity:.38}
.circuit-glow{fill:none;stroke:#82e2ef;stroke-width:2;stroke-linecap:round;stroke-dasharray:6 110;stroke-dashoffset:10;opacity:0;vector-effect:non-scaling-stroke}
.shield-stage{touch-action:pan-y pinch-zoom}
.button{min-height:48px;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.button.motion-control{transition:box-shadow 180ms ease,border-color 180ms ease,color 180ms ease;transform-origin:center;will-change:auto}
.button.motion-control:hover,.button.motion-control:active{transform:none;filter:none}
.button.motion-primary,.hero-actions .button.motion-primary{background-image:linear-gradient(110deg,#00529c 0%,#096cc3 48%,#0056a3 100%);background-size:190% 100%;background-position:0% 50%;color:#fff;font-weight:600;min-height:56px;box-shadow:0 5px 14px rgb(0 63 122 / 15%)}
.button.complete-next{font-weight:650;min-height:58px}
.button.motion-primary:hover{box-shadow:0 7px 19px rgb(0 63 122 / 22%)}
.button.motion-control>svg{flex-shrink:0;transition:none!important}
.button.motion-control>span[aria-hidden]{display:inline-block;flex-shrink:0;margin-left:5px}
.button.motion-control:hover>svg,.button.complete-next:hover>svg{transform:none}
.button:focus-visible,.service-card:focus-visible,.brand:focus-visible,summary:focus-visible,.notice-search-clear:focus-visible{outline:3px solid #00a1cf;outline-offset:4px}
.hero .button:focus-visible{outline-color:#a0eaff}
.button[disabled]{cursor:not-allowed;box-shadow:none!important}
.service-card,.service-card:hover,.service-card:active{transform:none;transition:box-shadow 180ms ease;opacity:1}
.service-card{min-height:296px;border-radius:26px}
.service-card>img{filter:saturate(.5) contrast(1.03);object-fit:cover}
.service-card[href="#notices"]>img{object-position:50% 48%}
.service-card[href="#institutions"]>img{object-position:50% 52%}
.service-card[href="#progress"]>img{object-position:55% 60%}
.service-card::before{background:linear-gradient(180deg,rgba(3,22,43,.78) 0%,rgba(3,22,43,.24) 55%,rgba(3,22,43,.62) 100%)}
.service-card-arrow{background:#075eaf;transition:background-color 180ms ease;transform:none!important}
.service-card:hover .service-card-arrow{background:#0874c5}
.service-card-arrow svg{transition:none}
.service-card:focus-visible{outline-offset:5px}
.service-card-title{font-weight:600;font-size:25px}
.service-card:hover{box-shadow:0 10px 24px rgb(13 43 68 / 12%)}
.sms-form input,.sms-form textarea,.notice-search-row input,.tools input,.tools select{min-width:0;font-size:16px}
.notice-search-row{min-width:0;gap:10px}
.notice-search-row>.button{flex-shrink:0;min-height:48px}
.notice-search-clear{min-width:44px;min-height:44px}
.notice-image-dialog{width:min(960px,calc(100% - 24px));max-width:calc(100% - 24px)}
.header-inner,.hero-copy-block,.hero-action-column,.sms-layout>*{min-width:0}
.action-controls{gap:24px}.secondary-actions{gap:12px}
@media(max-width:1000px){.service-card{min-height:270px}}
@media(max-width:700px){
 .header-inner{padding-inline:16px;gap:10px}.brand{padding-inline:0}.brand .wordmark{font-size:23px}.brand .dfence-symbol{width:32px;height:38px;flex-basis:32px}
 .mobile-menu summary{min-width:52px;min-height:48px;justify-content:center;font-size:16px}.menu-panel{max-width:calc(100vw - 32px)}
 .hero-grid{padding:36px 22px 36px;gap:22px}.hero h1{font-size:32px;line-height:1.36;font-weight:650;letter-spacing:-.01em}
 .hero .shield-stage{height:230px}.hero-action-column{gap:14px}.hero-actions{display:flex;justify-content:center;margin:0}.hero-actions .button{flex:auto;max-width:100%;width:100%;min-height:56px}
 .services-section{padding:36px 22px 44px}.services-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.services-grid>h2{font-size:28px;margin:0 0 6px}.service-card{min-height:224px;padding:26px;border-radius:24px}.service-card-title{font-size:24px}
 .service-card[href="#notices"]>img{object-position:50% 46%}.service-card[href="#institutions"]>img{object-position:50% 47%}.service-card[href="#progress"]>img{object-position:55% 62%}
 .menu-panel a{min-height:48px;display:flex;align-items:center}.sms-form-actions{gap:12px}
 .action-controls{gap:20px}.secondary-actions{gap:12px}.action-controls .button{min-height:52px}
 .notice-search-row{gap:8px}.notice-search-row>.button{padding-inline:18px}.notice-query-wrap{min-width:0}
 .plan-row{min-width:0}.plan-name{min-width:0}.plan-state{white-space:nowrap}
 .circuit-scene{width:180%;left:-68%;opacity:.65;mask-image:linear-gradient(to bottom,transparent 0%,transparent 38%,#000 52%)}
}
@media(max-width:380px){.hero h1{font-size:29px}.hero-grid,.services-section{padding-inline:18px}.brand .wordmark{font-size:22px}}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 .motion-route-enter,.motion-home-enter .title-line,.motion-home-enter .feature-list li,.motion-home-enter .hero-action-column{animation:none!important}
 .button.motion-control,.service-card,.service-card-arrow svg,.button.motion-control>svg,.button.motion-control>span[aria-hidden]{transform:none!important;opacity:1!important;transition:none!important;animation:none!important}
 .circuit-glow{display:none!important}
}

/* Official symbol and restrained optical-glass stage; layout dimensions remain inherited. */
.brand{gap:12px}
.brand .dfence-symbol{width:36px;height:42px;flex:0 0 36px;overflow:visible}
.brand .wordmark{font-weight:750;letter-spacing:-.015em;color:#333;line-height:1}
.brand .wordmark .d{color:#0056a3}
.shield-stage{touch-action:pan-y pinch-zoom;cursor:grab;isolation:isolate;overflow:visible}
.shield-stage.is-dragging{cursor:grabbing}
.shield-stage canvas{mask-image:none}
.shield-stage .shield-fallback{object-fit:contain;opacity:1;width:auto;height:88%;max-width:85%;filter:none}
.shield-stage.has-webgl .shield-fallback{opacity:0;visibility:hidden}
.circuit-lines{stroke:#66d9ff;opacity:.58;stroke-width:1.56;filter:drop-shadow(0 0 1.5px rgb(102 217 255 / 24%))}
.circuit-lines path:nth-child(3n){stroke:#87e4ff;opacity:.92;stroke-width:1.875}
.circuit-lines path:nth-child(3n+1){opacity:.46;stroke-width:1}
.circuit-nodes{fill:#c7f5ff;opacity:.7;filter:drop-shadow(0 0 2px rgb(102 217 255 / 35%))}
.circuit-glow{stroke:#c7f5ff;stroke-width:2.6}
.hero.has-energy-network .circuit-glow{display:none}
.energy-network{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;overflow:visible}
.energy-network *{pointer-events:none;vector-effect:non-scaling-stroke}
@media(max-width:700px){
 .brand{gap:10px}.brand .dfence-symbol{width:32px;height:38px;flex-basis:32px}
 .circuit-scene{opacity:.8}
}
@media(prefers-reduced-motion:reduce){.shield-stage canvas{animation:none!important}.circuit-glow,.energy-tail{display:none!important}}
