/* Multi-domain explanation: readable text and a native routing diagram. */
.ui-domain #s1.dw-section{position:relative;isolation:isolate;overflow:hidden;padding:72px 0 84px;scroll-margin-top:84px;background:radial-gradient(ellipse at 3% 30%,#e6f1ffbb,transparent 52%),radial-gradient(ellipse at 100% 55%,#dfedff9c,transparent 60%),linear-gradient(#fbfdff,#f6faff 65%,#fff)}
.dw-section::before,.dw-section::after{content:"";position:absolute;z-index:-1;pointer-events:none;width:760px;height:330px;border-radius:50%;background:linear-gradient(130deg,#dfedff70,#f4f9ff00);transform:rotate(28deg)}
.dw-section::before{top:40px;left:-440px}.dw-section::after{top:-130px;right:-350px;transform:rotate(-32deg)}
.ui-domain #s1>.dw-wrap{width:min(1360px,calc(100% - 64px));margin:auto}
.ui-domain #s1 .dw-heading{text-align:center;margin:0 0 36px}
.ui-domain #s1 .dw-heading h2{font-size:52px;line-height:1.4;font-weight:700;color:#111c36;margin:0}
.ui-domain #s1 .dw-heading p{font-size:22px;line-height:1.8;color:#6c7d9a;margin:12px 0 0}
.dw-layout{display:grid;grid-template-columns:minmax(0,.39fr) minmax(0,.61fr);gap:14px;align-items:stretch}
.dw-copy,.dw-diagram{position:relative;min-width:0;border:1.5px solid #fff;border-radius:28px;background:linear-gradient(135deg,#ffffffbf,#ffffff62);box-shadow:inset 0 1px 0 #fff,0 14px 38px #80a9e00b}
.dw-copy{overflow:hidden;isolation:isolate;padding:36px 34px}
.dw-kicker{display:flex;align-items:center;gap:15px;font-size:12px;font-weight:600;letter-spacing:1.5px;color:#398cff}.dw-kicker::after{content:"";width:27px;height:2px;background:#c8ddff}
.ui-domain #s1 .dw-copy h3{font-size:36px;line-height:1.55;font-weight:700;color:#111b32;letter-spacing:0;margin:0 0 19px}
.ui-domain #s1 .dw-description{font-size:18px;line-height:1.9;color:#6b7e9d;margin:0}
.dw-benefits{display:grid;gap:23px;list-style:none;margin:29px 0 0;padding:0}
.dw-benefits li{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:18px}
.dw-benefit-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:17px;background:linear-gradient(135deg,#e8f2ff,#e5efff96);color:#398eff}
.dw-benefit-icon svg{width:31px;height:31px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.ui-domain #s1 .dw-benefits h4{font-size:20px;line-height:1.5;font-weight:700;color:#172744;margin:0 0 4px}
.ui-domain #s1 .dw-benefits p{font-size:17px;line-height:1.7;color:#6b7e9d;margin:0}
.dw-watermark{position:absolute;z-index:-1;right:-35px;bottom:-65px;width:245px;height:245px;transform:rotate(-15deg);fill:#8ebcff0b;stroke:#afceff1a;stroke-width:11}
.dw-diagram{padding:28px 26px 25px;display:flex;flex-direction:column;justify-content:center;min-height:625px;background:linear-gradient(135deg,#fffffff2,#ffffff78)}
.dw-top{display:grid;grid-template-columns:minmax(0,1.12fr) .34fr minmax(0,1fr);align-items:center;padding:0 4% 0 0}
.dw-entry,.dw-router{border:1px solid #e8f1ff;border-radius:19px;background:linear-gradient(135deg,#fff,#f5f9ff94);box-shadow:0 9px 25px #629ae910;min-width:0;min-height:133px}
.dw-entry{padding:17px 15px}.dw-entry-head{display:flex;align-items:center;gap:12px}
.dw-avatars{display:flex;align-items:center;flex-shrink:0;padding-left:4px}.dw-avatar{width:28px;height:28px;border-radius:50%;border:2px solid white;background:#e7f0fc;object-fit:cover}.dw-avatars .dw-avatar+.dw-avatar{margin-left:-5px}.dw-entry .dw-avatar{width:42px;height:42px;margin-left:-4px}
.ui-domain #s1 .dw-entry h4,.ui-domain #s1 .dw-router h4{font-size:20px;line-height:1.4;font-weight:700;color:#172640;margin:0 0 5px}
.ui-domain #s1 .dw-entry p,.ui-domain #s1 .dw-router p{font-size:15px;line-height:1.65;color:#7586a3;margin:0}
.dw-url{display:flex;align-items:center;gap:9px;margin-top:13px;padding:8px 11px;border-radius:11px;background:#edf4ff;color:#667d9e;font-size:16px;line-height:1.4;white-space:nowrap}.dw-url svg{flex-shrink:0;width:20px;height:20px;stroke:#358aff;stroke-width:2;fill:none;stroke-linecap:round}.dw-url>span:last-child{margin-left:auto;color:#72a7ff;font-size:22px;line-height:1}
.dw-entry-arrow{width:100%;height:25px;fill:none;stroke:#4d96ff;stroke-width:2;overflow:visible}
.dw-router{padding:22px 17px;display:flex;align-items:center;gap:16px}.dw-router>svg{flex-shrink:0;width:61px;height:61px;stroke:#5b9bff;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;fill:none}
.dw-branches{width:100%;height:68px;overflow:visible;fill:none;stroke:#5295ff;stroke-width:1.9}
.dw-domains{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dw-domain{min-width:0;padding:15px 13px 13px;border:1px solid #e5efff;border-radius:18px;background:linear-gradient(135deg,#fff,#f5f9ffbb);box-shadow:0 9px 20px #709edb0b;transition:transform .2s,border-color .2s}
.dw-domain:hover{transform:translateY(-3px);border-color:#aecfff}
.dw-domain-top{display:flex;align-items:center;justify-content:space-between;gap:6px}
.ui-domain #s1 .dw-domain h4{font-size:17px;line-height:1.5;color:#1d2b46;font-weight:700;margin:0;white-space:nowrap}
.dw-status{display:inline-flex;align-items:center;gap:5px;background:#e2f6f0;border-radius:20px;padding:3px 7px;color:#1a9c87;font-size:13px;font-weight:600;line-height:1.4;white-space:nowrap}.dw-status::before{content:"";width:7px;height:7px;border:3px solid currentColor;border-radius:50%;box-sizing:border-box}
.dw-domain-address{margin:14px 0 12px;padding:6px 2px;border-radius:11px;background:#eff5ff;color:#6d80a0;font-size:16px;text-align:center;letter-spacing:1px;white-space:nowrap}
.dw-domain .dw-avatars{justify-content:center;padding:0}.dw-domain.is-error{border-color:#ffbaba;background:linear-gradient(135deg,#fff7f7,#ffeded);box-shadow:0 8px 19px #ee73730d}.is-error .dw-status{color:#f05255;background:#ffe4e5}.is-error .dw-domain-address{background:#ffe5e8}.is-error .dw-avatars{opacity:.22;filter:grayscale(1)}
.dw-error-mark{position:absolute;width:26px;height:26px;border:3px solid #ef8f94;border-radius:50%;left:calc(50% - 13px);bottom:15px;opacity:.5}.dw-error-mark::after{content:"";position:absolute;left:9px;top:-2px;width:3px;height:25px;background:#ef8f94;transform:rotate(40deg)}.dw-domain.is-error{position:relative}
.dw-switch-area{position:relative;padding-top:17px;text-align:center}
.dw-return-lines{position:absolute;width:100%;height:57px;top:0;left:0;fill:none;stroke:#5196ff;stroke-width:1.8;overflow:visible}
.dw-switch-label{position:relative;z-index:1;display:inline-flex;align-items:center;gap:13px;padding:10px 23px;border:1px solid #a8caff;border-radius:30px;background:linear-gradient(#fff,#eff6ff);box-shadow:0 4px 9px #8ab0ee0d}
.dw-switch-label svg{width:27px;height:27px;stroke:#398cff;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.ui-domain #s1 .dw-switch-label strong{font-size:18px;font-weight:700;line-height:1.5;color:#1b2b47}
.ui-domain #s1 .dw-switch-note{font-size:15px;line-height:1.7;color:#7486a4;margin:6px 0 0}
.dw-down-arrow{display:block;width:54px;height:39px;margin:0 auto;fill:none;stroke:#418cff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.dw-live{display:flex;align-items:center;justify-content:center;gap:27px;margin:0 auto;width:78%;padding:18px 20px;border:1px solid #dfecff;border-radius:20px;background:linear-gradient(115deg,#eff6ff,#e3eeffb3);box-shadow:inset 0 1px 0 #fff,0 9px 25px #75a5ea0a}
.dw-play{display:grid;place-items:center;flex-shrink:0;width:57px;height:57px;border-radius:50%;background:linear-gradient(135deg,#6aafff,#1670ff);box-shadow:0 0 0 9px #cee1ff70,inset 0 2px 5px #ffffff70;color:white}.dw-play svg{width:24px;height:24px;fill:currentColor;margin-left:3px}
.ui-domain #s1 .dw-live h4{font-size:22px;line-height:1.5;font-weight:700;color:#1a2b49;margin:0 0 3px}.ui-domain #s1 .dw-live p{font-size:18px;line-height:1.6;color:#7486a4;margin:0}
@media(max-width:1250px) and (min-width:1001px){.dw-copy{padding:28px 25px}.ui-domain #s1 .dw-copy h3{font-size:30px}.ui-domain #s1 .dw-description{font-size:17px}.dw-diagram{padding:24px 18px}.dw-domain{padding:13px 8px}.dw-domains{gap:8px}.ui-domain #s1 .dw-domain h4{font-size:15px}.dw-status{font-size:11px;padding:3px 5px}.dw-router{gap:10px;padding:18px 12px}.dw-router>svg{width:44px}.dw-entry{padding:15px 10px}.dw-entry-head{gap:8px}.dw-entry .dw-avatar{width:31px;height:31px}.ui-domain #s1 .dw-entry h4,.ui-domain #s1 .dw-router h4{font-size:18px}.ui-domain #s1 .dw-entry p,.ui-domain #s1 .dw-router p{font-size:13px}.dw-url{font-size:14px;gap:5px}.dw-benefits li{gap:12px;grid-template-columns:48px minmax(0,1fr)}.dw-benefit-icon{width:48px;height:48px}.ui-domain #s1 .dw-benefits h4{font-size:19px}.ui-domain #s1 .dw-benefits p{font-size:16px}}
@media(max-width:1000px){.dw-layout{grid-template-columns:1fr}.dw-copy{padding:32px}.dw-benefits{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.dw-benefits li{align-items:start;grid-template-columns:1fr;gap:12px}.dw-diagram{min-height:620px}.ui-domain #s1 .dw-heading h2{font-size:42px}}
@media(max-width:650px){.ui-domain #s1.dw-section{padding:48px 0}.ui-domain #s1>.dw-wrap{width:calc(100% - 32px)}.ui-domain #s1 .dw-heading h2{font-size:30px}.ui-domain #s1 .dw-heading p{font-size:17px}.dw-copy{padding:27px 24px}.ui-domain #s1 .dw-copy h3{font-size:29px}.dw-benefits{grid-template-columns:1fr}.dw-benefits li{grid-template-columns:48px 1fr;align-items:center}.dw-benefit-icon{width:48px;height:48px}.dw-diagram{overflow:auto;display:block;min-height:0;padding:24px 16px}.dw-diagram-canvas{min-width:650px}.dw-top{margin-top:4px}.dw-domains{margin-top:0}.ui-domain #s1 .dw-description{font-size:17px}}
@media(prefers-reduced-motion:reduce){.dw-domain{transition:none}}

/* Social avatars are six original AI-generated photographs in one atlas. */
.dw-avatar.dw-photo{display:block;flex-shrink:0;background-image:url('../img/domain/domain-social-avatars-v1.webp');background-size:300% 200%;background-repeat:no-repeat}
.dw-photo-0{background-position:0 0}.dw-photo-1{background-position:50% 0}.dw-photo-2{background-position:100% 0}.dw-photo-3{background-position:0 100%}.dw-photo-4{background-position:50% 100%}.dw-photo-5{background-position:100% 100%}
.dw-domain-address{font-size:15px;letter-spacing:0}
.dw-flow-particle{fill:none;stroke:#2484ff;stroke-width:3.3;stroke-linecap:round;stroke-dasharray:3 30;filter:drop-shadow(0 0 3px #77afff);animation:dw-flow-stream 3.6s linear infinite;animation-play-state:paused;pointer-events:none;vector-effect:non-scaling-stroke}
.dw-flow-particle.is-warning{stroke:#ff777e;filter:drop-shadow(0 0 2px #ffabb0)}
.dw-section.is-flowing .dw-flow-particle{animation-play-state:running}
@keyframes dw-flow-stream{to{stroke-dashoffset:-66}}
@media(prefers-reduced-motion:reduce){.dw-flow-particle{display:none;animation:none}}

/* Each domain has its own four avatars, without reuse between groups. */
.dw-avatar[class*="dw-unique-"]{background-image:url('../img/domain/domain-social-avatars-extra-v1.webp');background-size:400% 300%}
.dw-unique-0{background-position:0 0}
.dw-unique-1{background-position:33.333333% 0}
.dw-unique-2{background-position:66.666667% 0}
.dw-unique-3{background-position:100% 0}
.dw-unique-4{background-position:0 50%}
.dw-unique-5{background-position:33.333333% 50%}
.dw-unique-6{background-position:66.666667% 50%}
.dw-unique-7{background-position:100% 50%}
.dw-unique-8{background-position:0 100%}
.dw-unique-9{background-position:33.333333% 100%}
.dw-unique-10{background-position:66.666667% 100%}
.dw-unique-11{background-position:100% 100%}
