/* Demo: immersive home. Brand blues and Inter only, motion off with prefers-reduced-motion */
:root { --deep: #021a47; --signal: #3bb3e6; }

.im-hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; color: #fff;
  background: radial-gradient(120% 90% at 85% 30%, #0a5bd0 0%, var(--blue) 30%, var(--navy) 60%, var(--deep) 100%); }
.im-flow { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 62%); mask-image: linear-gradient(100deg, transparent 30%, #000 62%); }
@media (max-width: 800px) { .im-flow { -webkit-mask-image: linear-gradient(180deg, transparent 45%, #000 85%); mask-image: linear-gradient(180deg, transparent 45%, #000 85%); } }
.im-hero-inner { position: relative; padding: 96px 0 120px; }
.im-eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin: 0 0 22px; }
.im-hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 700; max-width: 12ch; margin: 0 0 26px; }
.im-lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 34rem; opacity: .9; margin: 0 0 36px; }
.im-scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; }
.im-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: im-wheel 1.8s ease-in-out infinite; }
@keyframes im-wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

.im-trust { background: var(--deep); color: rgba(255,255,255,.78); font-size: 13.5px; }
.im-trust .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; padding: 16px 20px; }
.im-trust span::before { content: "✓"; color: var(--signal); font-weight: 700; margin-right: 8px; }

.im-h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.02em; line-height: 1.1; }
.im-services { padding: 96px 0 40px; }
.im-chapter { display: block; color: inherit; text-decoration: none; padding: 56px 0; }
.im-chapter + .im-chapter { border-top: 1px solid var(--line); }
.im-chapter-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.im-chapter.flip .im-chapter-text { order: 2; }
.im-chapter h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); letter-spacing: -.015em; line-height: 1.15; margin: 0 0 14px; }
.im-chapter p { color: var(--muted); font-size: 1.08rem; max-width: 32rem; margin: 0 0 22px; }
.im-chapter .more { color: var(--blue); font-weight: 600; }
.im-chapter-art { justify-self: center; position: relative; }
.im-chapter-art::before { content: ""; position: absolute; inset: -12% -8%; border-radius: 50%; background: radial-gradient(closest-side, var(--blue-soft), transparent); z-index: -1; }
.im-chapter-art img { display: block; width: min(420px, 100%); height: auto; transition: transform .5s ease; }
.im-chapter:hover .im-chapter-art img { transform: translateY(-6px); }
.im-chapter:hover h3 { color: var(--blue); }

.im-process { background: var(--soft); padding: 88px 0; }
.im-process .flow li:not(:last-child)::after { background: var(--blue); transform-origin: left; transform: scaleX(var(--drawn, 1)); transition: transform .5s ease calc(var(--i, 0) * .25s); }

@media (prefers-reduced-motion: no-preference) {
  [data-reveal].im-pending .im-chapter-text, [data-reveal].im-pending .im-chapter-art { opacity: 0; transform: translateY(28px); }
  [data-reveal] .im-chapter-text, [data-reveal] .im-chapter-art { transition: opacity .7s ease, transform .7s ease; }
  [data-reveal] .im-chapter-art { transition-delay: .12s; }
  .im-process.im-pending { --drawn: 0; }
  .im-process.im-pending .flow .dot { transform: scale(.6); opacity: .3; }
  .im-process .flow .dot { transition: transform .4s ease calc(var(--i, 0) * .25s), opacity .4s ease calc(var(--i, 0) * .25s); }
}
@media (prefers-reduced-motion: reduce) { .im-scroll span { animation: none; } }

@media (max-width: 800px) {
  .im-hero { min-height: 78vh; }
  .im-hero-inner { padding: 72px 0 96px; }
  .im-chapter-inner { grid-template-columns: 1fr; gap: 24px; }
  .im-chapter.flip .im-chapter-text { order: 0; }
  .im-chapter-art img { width: min(300px, 80vw); }
  .im-services { padding-top: 64px; }
}

/* Demo 7: layout and vertical reveals of 1, the deep blue of 5, the forecast chart of 4 */
.home-immersive { background: var(--deep); color: #fff; }
.home-immersive .im-hero { background: radial-gradient(120% 90% at 85% 30%, #0a4fb8 0%, #06357f 35%, var(--deep) 75%); }
.home-immersive .im-trust { background: transparent; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.home-immersive .kicker { color: var(--signal); }
.home-immersive .sub, .home-immersive .im-chapter p, .home-immersive .prose, .home-immersive .flow .d { color: rgba(255,255,255,.72); }
.home-immersive .prose strong, .home-immersive h2, .home-immersive h3, .home-immersive .flow b { color: #fff; }
.home-immersive .prose a, .home-immersive .im-chapter .more { color: #8fd3f4; }
.home-immersive .im-chapter + .im-chapter { border-top-color: rgba(255,255,255,.08); }
.home-immersive .im-chapter:hover h3 { color: #8fd3f4; }
.home-immersive .im-chapter-art::before { background: radial-gradient(closest-side, rgba(59,179,230,.18), transparent); }
.home-immersive .im-process { background: linear-gradient(180deg, var(--deep), #04235e 50%, var(--deep)); }
.home-immersive .im-process .flow li:not(:last-child)::after { background: var(--signal); }
.home-immersive .flow .dot { background: var(--deep); border-color: var(--signal); color: #fff; }
.home-immersive .flow li:first-child .dot { background: var(--signal); color: var(--deep); }
.home-immersive .block { background: transparent; }
.home-immersive .cta { background: linear-gradient(135deg, #06357f, var(--blue)); }

.forecast { display: block; width: min(460px, 100%); height: auto; background: #f4f8fd; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.forecast .grid, .forecast .today { fill: none; stroke: #d4e1f0; stroke-width: 1; }
.forecast .today { stroke: #91aaca; stroke-dasharray: 4 6; }
.forecast .band { fill: #3bb3e6; opacity: .18; }
.forecast .past, .forecast .future { fill: none; stroke: #021a47; stroke-width: 4; stroke-linecap: round; }
.forecast .future { stroke: #004aad; stroke-dasharray: 8 9; }
.forecast .now { fill: #004aad; }
@media (prefers-reduced-motion: no-preference) {
  .im-pending .forecast .past { stroke-dasharray: 800; stroke-dashoffset: 800; }
  .im-pending .forecast .future, .im-pending .forecast .band, .im-pending .forecast .now { opacity: 0; }
  [data-reveal]:not(.im-pending) .forecast .past { stroke-dasharray: 800; animation: d7-draw 1.1s cubic-bezier(.16,1,.3,1) .1s both; }
  [data-reveal]:not(.im-pending) .forecast .now { animation: d7-fade .3s .8s both; }
  [data-reveal]:not(.im-pending) .forecast .future { animation: d7-fade .6s .9s cubic-bezier(.16,1,.3,1) both; }
  [data-reveal]:not(.im-pending) .forecast .band { animation: d7-band .7s .9s cubic-bezier(.16,1,.3,1) both; }
  .home-immersive [data-reveal] .im-chapter-text, .home-immersive [data-reveal] .im-chapter-art { transition-timing-function: cubic-bezier(.16,1,.3,1); }
}
@keyframes d7-draw { from { stroke-dashoffset: 800; } to { stroke-dashoffset: 0; } }
@keyframes d7-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes d7-band { from { opacity: 0; } to { opacity: .18; } }
.home-immersive .prose p, .home-immersive .prose li { color: rgba(255,255,255,.75); }
.home-immersive .prose strong { color: #fff; }

.service-art { display: block; width: min(460px, 100%); height: auto; background: #f4f8fd; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.network-hub, .network-node, .network-check, .page-button, .page-cart { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .im-pending .network-hub, .im-pending .network-node, .im-pending .network-check, .im-pending .network-orbit, .im-pending .network-document, .im-pending .page-frame, .im-pending .page-nav, .im-pending .page-hero, .im-pending .page-card, .im-pending .page-cursor, .im-pending .page-cart { opacity: 0; }
  .im-pending .network-lines path { stroke-dasharray: 900; stroke-dashoffset: 900; }
  [data-reveal]:not(.im-pending) .network-hub { animation: d7-pop .5s cubic-bezier(.16,1,.3,1) both; }
  [data-reveal]:not(.im-pending) .network-lines path { stroke-dasharray: 900; animation: d7-network-draw .8s cubic-bezier(.16,1,.3,1) .3s both; }
  [data-reveal]:not(.im-pending) .network-node { animation: d7-pop .45s cubic-bezier(.16,1,.3,1) .8s both; }
  [data-reveal]:not(.im-pending) .network-node:nth-child(2) { animation-delay: .9s; }
  [data-reveal]:not(.im-pending) .network-node:nth-child(3) { animation-delay: 1s; }
  [data-reveal]:not(.im-pending) .network-node:nth-child(4) { animation-delay: 1.1s; }
  [data-reveal]:not(.im-pending) .network-node:nth-child(5) { animation-delay: 1.2s; }
  [data-reveal]:not(.im-pending) .network-node:nth-child(6) { animation-delay: 1.3s; }
  [data-reveal]:not(.im-pending) .network-orbit { animation: d7-fade .6s cubic-bezier(.16,1,.3,1) 1.35s both; }
  [data-reveal]:not(.im-pending) .network-document { animation: d7-slide-left .6s cubic-bezier(.16,1,.3,1) 1.65s both; }
  [data-reveal]:not(.im-pending) .network-check { animation: d7-pop .4s cubic-bezier(.16,1,.3,1) 2.1s both; }
  [data-reveal]:not(.im-pending) .page-frame { animation: d7-fade .45s cubic-bezier(.16,1,.3,1) both; }
  [data-reveal]:not(.im-pending) .page-nav { animation: d7-fade .4s cubic-bezier(.16,1,.3,1) .3s both; }
  [data-reveal]:not(.im-pending) .page-hero { animation: d7-fade .45s cubic-bezier(.16,1,.3,1) .55s both; }
  [data-reveal]:not(.im-pending) .page-card { animation: d7-slide-up .5s cubic-bezier(.16,1,.3,1) .85s both; }
  [data-reveal]:not(.im-pending) .page-card:nth-of-type(5) { animation-delay: 1s; }
  [data-reveal]:not(.im-pending) .page-card:nth-of-type(6) { animation-delay: 1.15s; }
  [data-reveal]:not(.im-pending) .page-cursor { animation: d7-cursor .6s cubic-bezier(.16,1,.3,1) 1.45s both; }
  [data-reveal]:not(.im-pending) .page-button { animation: d7-press .3s cubic-bezier(.16,1,.3,1) 2s both; }
  [data-reveal]:not(.im-pending) .page-cart { animation: d7-pop .4s cubic-bezier(.16,1,.3,1) 2.1s both; }
}
@keyframes d7-network-draw { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
@keyframes d7-pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes d7-slide-left { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes d7-slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes d7-cursor { from { opacity: 0; transform: translate(55px, 45px); } to { opacity: 1; transform: translate(0, 0); } }
@keyframes d7-press { 0%, 100% { transform: scale(1); } 50% { transform: scale(.95); } }

/* Shared page bands and service artwork. */
section.page-hero { background: radial-gradient(120% 90% at 85% 30%, #0a4fb8 0%, #06357f 35%, #021a47 75%); color: #fff; border: 0; }
section.page-hero h1, section.page-hero .lead { color: #fff; }
section.page-hero .breadcrumb, section.page-hero .breadcrumb a { color: rgba(255,255,255,.8); }
.service-hero-art { width: min(460px, 45%); flex-shrink: 0; order: 2; }
.service-hero-art svg, .service-hero-art img { display: block; width: 100%; height: auto; }
.page-hero-inner > div:not(.service-hero-art) { flex: 1; min-width: 0; }
.site-header { border-bottom-color: rgba(2,26,71,.08); }
.site-footer { background: #021a47; }
@media (prefers-reduced-motion: no-preference) {
  .reveal-rise { transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
  .reveal-rise.im-pending { opacity: 0; transform: translateY(24px); }
}
@media (max-width: 800px) {
  .page-hero-inner { flex-wrap: wrap; }
  .service-hero-art { width: min(460px, 100%); order: 2; }
  .page-hero-inner > div:not(.service-hero-art) { flex: 1 1 100%; }
}

/* Dark content pages, matching the immersive home palette. */
body, main { background: var(--deep); }
main { color: #fff; }
main .block.alt { background: #05245c; }
main a { color: #8fd3f4; }
main h1, main h2, main h3, main strong, main legend { color: #fff; }
main .kicker { color: var(--signal); }
main .sub, main .prose p, main .prose li, main .card p,
main .check-list li, main .ticks li, main .flow .d, main .flow-block h3,
main .faq details p, main .duration-note,
main .built-with { color: rgba(255,255,255,.75); }
main .card, main .chooser, main .chooser fieldset, main .chooser-result,
main .faq details, main .package-note, main .prose blockquote, main .prose table {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
}
main a.card:hover { border-color: var(--signal); }
main .card .more, main .addon-price, main .web-price { color: #8fd3f4; }
main .card.recommended { border-color: var(--signal); box-shadow: 0 0 0 3px rgba(59,179,230,.12); }
main .pkg-label, main .pkg-duration, main .pkg-price, main .pkg-price strong,
main .needs summary { color: #fff !important; }
main .pkg-duration span, main .pkg-price-note { color: rgba(255,255,255,.75) !important; }
main .pkg-price span { color: rgba(255,255,255,.6); }
main .needs, main .request-form .form-part { border-color: rgba(255,255,255,.10); }
main .needs summary::after, main .faq summary::after { color: var(--signal); }
main .ticks li::before, main .check-list li::before, main .needs .ticks li::before {
  background: rgba(59,179,230,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%233bb3e6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
main .flow li:not(:last-child)::after { background: var(--signal); }
main .flow .dot { background: var(--deep); border-color: var(--signal); color: #fff; }
main .flow li:first-child .dot { background: var(--signal); color: var(--deep); }
main .faq details { padding: 18px; margin-bottom: 10px; }
main .faq details:first-child { border-top: 1px solid rgba(255,255,255,.10); }
main .prose blockquote { margin: 20px 0; padding: 4px 20px; }
main .prose th, main .prose td { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.10); }
main .prose th { color: #fff; }
main .chooser > p { color: rgba(255,255,255,.75); }
main .chooser fieldset { padding: 12px 16px; }
main .chooser-result { color: #fff; }
main .request-form label, main .chooser label { color: #fff; }
main .request-form input[type="text"], main .request-form input[type="email"],
main .request-form input[type="tel"], main .request-form input[type="date"],
main .request-form select, main .request-form textarea { background: #fff; color: #0f1f3d; }
main .request-form input::placeholder, main .request-form textarea::placeholder { color: #5b6b82; opacity: 1; }
main input[type="radio"], main input[type="checkbox"] { accent-color: #3bb3e6; }
main .optional, main .request-form .consent-row { color: rgba(255,255,255,.65); }
main .chooser label.is-struck, main .request-form label.is-struck,
main .is-struck + .struck-note { color: rgba(255,255,255,.5); }
main .field-error { color: #ff9b9b; }
main .form-error { background: rgba(255,255,255,.04); border-color: #ff9b9b; color: #ff9b9b; }
main .btn { color: #fff; border-color: rgba(255,255,255,.35); }
main .btn-light { color: var(--blue); border-color: #fff; }
main .btn-light:hover { color: var(--navy); }

/* Faint network in the side margins of wide screens (side-net.js), never behind the content column */
.side-net { position: fixed; top: 72px; left: 0; width: 100%; height: calc(100% - 72px); z-index: 5; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(50% - 620px), transparent calc(50% - 548px), transparent calc(50% + 548px), #000 calc(50% + 620px));
  mask-image: linear-gradient(90deg, #000 0, #000 calc(50% - 620px), transparent calc(50% - 548px), transparent calc(50% + 548px), #000 calc(50% + 620px)); }
