/* Public storefront, sign-in pages and client area. */
.site-body, .client-body { font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
.site-body { background: #fff; }
h1, h2, h3, .h1, .h2, .h3, .section-title { letter-spacing: -.025em; text-wrap: balance; }
p { text-wrap: pretty; }
html { scroll-behavior: smooth; }

/* Buttons: soft radius, lift on hover, press feedback */
.site-body .btn, .client-body .btn { border-radius: .7rem; font-weight: 500; transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s, color .2s; }
.site-body .btn-lg { padding: .8rem 1.4rem; font-size: 1rem; }
.site-body .btn-primary:hover, .client-body .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--brand) 60%, transparent); }
.site-body .btn:active, .client-body .btn:active { transform: translateY(1px) scale(.98); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Header */
.site-notice { background: var(--ink); color: #e2e8f0; }
.site-header { background: color-mix(in srgb, #fff 82%, transparent); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); z-index: 1030; }
.site-header .navbar { padding: .7rem 0; }
.site-header .navbar-brand { font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: .7rem; display: inline-grid; place-items: center; background: var(--brand); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 12px -4px color-mix(in srgb, var(--brand) 70%, transparent); }
.site-header .nav-link { color: color-mix(in srgb, var(--ink) 80%, #fff); font-weight: 500; font-size: .94rem; padding: .45rem .8rem !important; border-radius: .6rem; transition: background-color .2s, color .2s; }
.site-header .nav-link:hover { background: var(--surface); color: var(--ink); }
.site-header .nav-link.active { color: var(--brand); }
.dropdown-menu { border: 1px solid var(--line); border-radius: .9rem; padding: .4rem; box-shadow: 0 20px 40px -12px rgba(15, 23, 42, .18); }
.dropdown-item { border-radius: .55rem; padding: .5rem .75rem; font-size: .92rem; transition: background-color .15s; }
.dropdown-item:hover { background: var(--surface); }
.dropdown-item:active { background: var(--brand); color: #fff; }

/* Hero: dark navy with grid texture and brand glow */
.hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 6.5rem 0 7rem;
    background: radial-gradient(900px 480px at 88% -15%, color-mix(in srgb, var(--brand) 45%, transparent), transparent 65%),
                radial-gradient(600px 400px at -5% 110%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%), #0b1220; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%); }
.hero h1 { font-weight: 700; letter-spacing: -.035em; line-height: 1.04; font-size: clamp(2.4rem, 5.5vw, 4.25rem); max-width: 16ch; }
.hero .lead { color: #a8b3c7; max-width: 38rem; font-size: 1.2rem; line-height: 1.6; }
.hero .btn-outline-light { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); }
.hero .btn-outline-light:hover { background: #fff; color: var(--ink); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: #cbd5e1; padding: .3rem .8rem .3rem .4rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: 2rem; background: rgba(255, 255, 255, .04); margin-bottom: 1.5rem; }
.hero-eyebrow .status-dot { box-shadow: 0 0 0 4px rgba(25, 135, 84, .25); }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.5rem; padding: 0; list-style: none; color: #94a3b8; font-size: .92rem; }
.hero-points i { color: color-mix(in srgb, var(--brand) 55%, #fff); margin-right: .35rem; }
.cta-band { border-radius: 1.5rem; padding: 4.5rem 1.5rem; }
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; }
.cta-band h1, .cta-band .lead { margin-left: auto; margin-right: auto; }

.page-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 3.75rem 0 3.5rem;
    background: radial-gradient(700px 300px at 90% -40%, color-mix(in srgb, var(--brand) 40%, transparent), transparent 70%), #0b1220; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000 70%); }
.page-hero h1 { font-weight: 700; letter-spacing: -.03em; }
.page-hero p { color: #a8b3c7; margin-bottom: 0; max-width: 40rem; }

/* Sections */
.section { padding: 5.5rem 0 6rem; }
.section.alt { background: var(--surface); }
.section-title { font-weight: 700; letter-spacing: -.03em; font-size: clamp(1.6rem, 3vw, 2.25rem) !important; }
.section-title + .text-muted { font-size: 1.05rem; max-width: 36rem; margin-left: auto; margin-right: auto; }
.section-kicker { display: block; font-size: .8rem; font-weight: 600; color: var(--brand); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .6rem; }

/* Pricing cards */
.plan-card { border: 1px solid var(--line); border-radius: 1.25rem; padding: 2rem; height: 100%; display: flex; flex-direction: column; background: #fff; position: relative; transition: box-shadow .3s, transform .3s, border-color .3s; }
.plan-card:hover { box-shadow: 0 24px 48px -20px rgba(15, 23, 42, .22); transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.plan-card.featured { border: 1px solid var(--brand); background: linear-gradient(180deg, var(--brand-soft), #fff 40%); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent), 0 24px 48px -24px color-mix(in srgb, var(--brand) 45%, transparent); }
.plan-card .plan-flag { position: absolute; top: -.75rem; left: 2rem; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 600; padding: .25rem .65rem; border-radius: .4rem; letter-spacing: .02em; }
.plan-card h3 { letter-spacing: -.02em; }
.plan-card .plan-price { font-size: 2.4rem; font-weight: 700; line-height: 1.1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; margin-top: .5rem; }
.plan-card .plan-price small { font-size: .9rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan-card ul { list-style: none; padding: 1.25rem 0 0; margin: 1.25rem 0 1.5rem; flex-grow: 1; border-top: 1px dashed var(--line); }
.plan-card ul li { padding: .35rem 0 .35rem 1.75rem; position: relative; font-size: .94rem; }
.plan-card ul li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .3rem; width: 1.15rem; height: 1.15rem; border-radius: .35rem; display: grid; place-items: center; font-size: .9rem; background: var(--brand-soft); color: var(--brand); }
.plan-card .btn { padding: .7rem 1rem; }

/* Features */
.feature-item { padding: 1.75rem; border-radius: 1.25rem; background: #fff; border: 1px solid var(--line); height: 100%; transition: transform .3s, box-shadow .3s; }
.feature-item:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(15, 23, 42, .25); }
.feature-icon { width: 48px; height: 48px; border-radius: .9rem; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 1.35rem; margin-bottom: 1.1rem; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 15%, transparent); }

/* Domain search */
.domain-search-box { background: #fff; border-radius: 1.1rem; padding: .45rem; box-shadow: 0 24px 48px -20px rgba(15, 23, 42, .25), 0 0 0 1px var(--line); transition: box-shadow .2s; }
.domain-search-box:focus-within { box-shadow: 0 24px 48px -20px rgba(15, 23, 42, .25), 0 0 0 2px var(--brand); }
.domain-search-box .form-control { border: 0; font-size: 1.1rem; box-shadow: none !important; padding-left: 1rem; }
.domain-search-box .btn { border-radius: .8rem; }
.domain-result { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 1rem; margin-bottom: .6rem; background: #fff; transition: border-color .2s; }
.domain-result:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.domain-result.primary { border-width: 2px; }
.domain-result.available.primary { border-color: #1f9d63; background: #f2fbf6; }
.domain-result.unavailable { background: var(--surface); color: var(--muted); }
.tld-chip { display: inline-flex; gap: .5rem; align-items: baseline; padding: .45rem .95rem; border-radius: .7rem; background: rgba(255, 255, 255, .08); color: #fff; font-size: .9rem; font-variant-numeric: tabular-nums; transition: transform .2s, border-color .2s; }
.section.alt .tld-chip, .section .tld-chip.light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.section .tld-chip:hover { transform: translateY(-2px); border-color: var(--brand); }

/* FAQ */
.site-body .accordion { --bs-accordion-border-color: var(--line); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--brand) 20%, transparent); --bs-accordion-active-bg: #fff; --bs-accordion-active-color: var(--ink); }
.site-body .accordion-item { border: 1px solid var(--line) !important; border-radius: 1rem !important; margin-bottom: .75rem; overflow: hidden; }
.site-body .accordion-button { font-weight: 600; padding: 1.15rem 1.35rem; }
.site-body .accordion-body { color: var(--muted); padding: 0 1.35rem 1.25rem; }

/* Cards on the storefront */
.site-body .card { border-radius: 1rem; transition: transform .25s, box-shadow .25s; }
.site-body a.card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(15, 23, 42, .3); }

/* Footer */
.site-footer { background: #0b1220; color: #94a3b8; border-top: 1px solid rgba(255, 255, 255, .06); }
.site-footer a { color: #94a3b8; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-title { color: #e2e8f0; font-weight: 600; font-size: .85rem; margin-bottom: 1rem; }
.site-footer li { padding: .25rem 0; }
.site-footer .border-top { border-color: rgba(255, 255, 255, .08) !important; }
.social-link { width: 38px; height: 38px; border-radius: .7rem; display: grid; place-items: center; background: rgba(255, 255, 255, .06); transition: background-color .2s, transform .2s; }
.social-link:hover { background: var(--brand); transform: translateY(-2px); }

.status-pill { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.status-dot { width: .6rem; height: .6rem; border-radius: 50%; display: inline-block; background: #1f9d63; }
.status-dot.maintenance { background: #0ea5c6; } .status-dot.degraded { background: #e0a100; } .status-dot.outage { background: #d64545; }
.article-body { font-size: 1.05rem; line-height: 1.8; max-width: 70ch; }
.article-body img { max-width: 100%; height: auto; border-radius: .75rem; }

/* Sign-in pages */
.auth-shell { padding: 4.5rem 0 5rem; background: radial-gradient(600px 300px at 50% 0%, var(--brand-soft), transparent 70%), var(--surface); }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 1.25rem; padding: 2.25rem; box-shadow: 0 24px 48px -28px rgba(15, 23, 42, .25); }
.auth-card .form-control, .auth-card .form-select { padding: .65rem .85rem; border-radius: .65rem; }

/* Cart */
.option-tile { border: 1px solid var(--line); border-radius: .9rem; padding: .9rem 1rem; cursor: pointer; display: flex; gap: .75rem; align-items: flex-start; height: 100%; background: #fff; transition: border-color .2s, background-color .2s; }
.option-tile:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.option-tile:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 22%, transparent); background: var(--brand-soft); }
.summary-card { position: sticky; top: 5.5rem; }
.stepper li { transition: border-color .2s; }

/* Client area */
.client-body { background: var(--surface); }
.client-topbar { background: #0b1220; }
.client-topbar .navbar-brand, .client-topbar .nav-link { color: #fff; }
.client-topbar .nav-link { border-radius: .55rem; transition: background-color .2s; }
.client-topbar .nav-link:hover { background: rgba(255, 255, 255, .08); }
.client-nav { background: #fff; border-bottom: 1px solid var(--line); }
.client-nav .nav-link { color: var(--muted); font-weight: 500; font-size: .92rem; padding: .95rem .9rem; border-bottom: 2px solid transparent; white-space: nowrap; transition: color .2s, border-color .2s; }
.client-nav .nav-link:hover { color: var(--ink); }
.client-nav .nav-link.active { color: var(--brand); border-bottom-color: var(--brand); }
.client-body .card { border-radius: 1rem; }
.impersonation-bar { background: #b45309; color: #fff; }
.quick-action { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 1.15rem .5rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; color: var(--ink); text-align: center; font-size: .875rem; font-weight: 500; height: 100%; transition: transform .2s, border-color .2s, box-shadow .2s; }
.quick-action i { font-size: 1.3rem; color: var(--brand); width: 44px; height: 44px; border-radius: .8rem; display: grid; place-items: center; background: var(--brand-soft); }
.quick-action:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); color: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 32px -20px rgba(15, 23, 42, .3); }

@media (max-width: 991.98px) {
    .site-header .navbar-collapse { padding: .75rem 0; }
    .hero { padding: 4.5rem 0 5rem; }
    .section { padding: 4rem 0 4.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

/* Hero illustration (decorative, transform/opacity animations only) */
.hero-visual { position: relative; height: 440px; perspective: 1200px; }
.hv-ring { position: absolute; inset: 8% 6%; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); animation: hv-spin 24s linear infinite; }
.hv-ring::after { content: ""; position: absolute; top: -5px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 16px var(--brand); }
.hv-rack { position: absolute; top: 50%; left: 50%; width: 300px; margin: -150px 0 0 -150px; padding: 1rem; border-radius: 1.25rem; transform: rotateY(-14deg) rotateX(6deg);
    background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 80px -20px color-mix(in srgb, var(--brand) 50%, transparent);
    animation: hv-float 7s ease-in-out infinite; }
.hv-rack-head { display: flex; align-items: center; gap: .35rem; margin-bottom: .85rem; }
.hv-rack-head span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.hv-rack-head em { margin-left: auto; font-style: normal; font-family: ui-monospace, monospace; font-size: .72rem; color: #64748b; }
.hv-unit { display: flex; align-items: center; gap: .5rem; padding: .7rem .8rem; margin-bottom: .55rem; border-radius: .7rem; background: rgba(11, 18, 32, .65); border: 1px solid rgba(255, 255, 255, .06); }
.hv-unit:last-child { margin-bottom: 0; }
.hv-led { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: hv-blink 1.6s linear infinite; animation-delay: var(--d); }
.hv-led.alt { background: color-mix(in srgb, var(--brand) 70%, #fff); box-shadow: 0 0 8px var(--brand); animation-duration: 2.3s; }
.hv-bar { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.hv-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 40%, #fff)); transform-origin: left; transform: scaleX(var(--load)); animation: hv-load 3.2s ease-in-out infinite alternate; animation-delay: var(--d); }
.hv-vent { width: 28px; height: 10px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 2px, transparent 2px 5px); }
.hv-card { position: absolute; display: flex; align-items: center; gap: .7rem; padding: .75rem .95rem; border-radius: 1rem; font-size: .85rem; color: #e2e8f0;
    background: rgba(15, 23, 42, .75); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 20px 40px -16px rgba(0, 0, 0, .6); }
.hv-icon { width: 34px; height: 34px; border-radius: .65rem; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 25%, transparent); color: color-mix(in srgb, var(--brand) 50%, #fff); }
.hv-sub { font-size: .75rem; color: #94a3b8; }
.hv-traffic { top: 3%; right: 0; flex-direction: column; align-items: stretch; width: 190px; animation: hv-float 6s ease-in-out -2s infinite; }
.hv-label { font-size: .75rem; color: #94a3b8; }
.hv-label i { color: #22c55e; }
.hv-traffic svg { width: 100%; height: 44px; overflow: visible; }
.hv-traffic path { fill: none; stroke: color-mix(in srgb, var(--brand) 60%, #fff); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: hv-draw 4.5s ease-in-out infinite; filter: drop-shadow(0 0 6px var(--brand)); }
.hv-ssl { bottom: 6%; left: -2%; animation: hv-float 6.5s ease-in-out -1s infinite; }
.hv-ssl .hv-icon { background: rgba(34, 197, 94, .18); color: #4ade80; }
.hv-deploy { bottom: 28%; right: -4%; width: 200px; animation: hv-float 7.5s ease-in-out -3s infinite; }
.hv-deploy > div { flex: 1; }
.hv-progress { height: 4px; margin-top: .4rem; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.hv-progress i { display: block; height: 100%; background: var(--brand); transform-origin: left; animation: hv-progress 3s ease-in-out infinite; }
@keyframes hv-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes hv-spin { to { transform: rotate(360deg); } }
@keyframes hv-blink { 0%, 55% { opacity: 1; } 60%, 100% { opacity: .25; } }
@keyframes hv-load { from { transform: scaleX(calc(var(--load) * .55)); } to { transform: scaleX(var(--load)); } }
@keyframes hv-draw { 0% { stroke-dashoffset: 220; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -220; } }
@keyframes hv-progress { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-visual *, .hero-visual *::after { animation: none !important; } .hv-traffic path { stroke-dashoffset: 0; } }

/* Domain search hero illustration. Track has N+1 items (first repeated) so the loop is seamless. */
.page-hero .domain-search-box .btn { white-space: nowrap; }
.dv-visual { position: relative; padding: 1rem 0 2.5rem; }
.dv-browser { position: relative; padding: 1rem; border-radius: 1.25rem; transform: rotateY(-10deg) rotateX(4deg); transform-style: preserve-3d;
    background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 80px -20px color-mix(in srgb, var(--brand) 50%, transparent);
    animation: hv-float 7s ease-in-out infinite; }
.dv-bar { display: flex; align-items: center; padding: .7rem .9rem; margin-bottom: .8rem; border-radius: .75rem; background: rgba(11, 18, 32, .75); border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent); font-family: ui-monospace, monospace; font-size: .95rem; color: #e2e8f0; }
.dv-bar .bi-lock-fill { color: #4ade80; font-size: .8rem; margin-right: .5rem; }
.dv-tld { display: inline-block; height: 1.5em; line-height: 1.5em; overflow: hidden; vertical-align: bottom; }
.dv-tld-track { display: flex; flex-direction: column; animation: dv-cycle 8s cubic-bezier(.7, 0, .3, 1) infinite; }
.dv-tld b { font-weight: 600; color: color-mix(in srgb, var(--brand) 55%, #fff); height: 1.5em; }
.dv-caret { width: 2px; height: 1.1em; margin-left: 2px; background: #e2e8f0; animation: dv-caret 1s steps(1) infinite; }
.dv-row { display: flex; align-items: center; gap: .65rem; padding: .65rem .8rem; margin-top: .5rem; border-radius: .7rem; background: rgba(11, 18, 32, .55); border: 1px solid rgba(255, 255, 255, .06); font-size: .88rem; color: #cbd5e1;
    opacity: 0; animation: dv-row 6s ease-out infinite; animation-delay: calc(var(--i) * .45s); }
.dv-check { width: 22px; height: 22px; border-radius: .45rem; display: grid; place-items: center; background: rgba(34, 197, 94, .18); color: #4ade80; font-size: .8rem; }
.dv-name strong { color: #fff; font-weight: 600; }
.dv-price { margin-left: auto; font-variant-numeric: tabular-nums; color: #fff; font-weight: 600; }
.dv-float { right: -1rem; bottom: 0; animation: hv-float 6s ease-in-out -2s infinite; }
@keyframes dv-cycle {
    0%, 20% { transform: translateY(0); } 25%, 45% { transform: translateY(-1.5em); }
    50%, 70% { transform: translateY(-3em); } 75%, 95% { transform: translateY(-4.5em); } 100% { transform: translateY(-6em); } }
@keyframes dv-caret { 50% { opacity: 0; } }
@keyframes dv-row { 0% { opacity: 0; transform: translateY(8px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dv-visual *, .dv-visual { animation: none !important; } .dv-row { opacity: 1; } }

/* Footer background: drifting brand glows, masked grid and a light streak along the top edge. */
.site-footer { position: relative; overflow: hidden; isolation: isolate; }
.site-footer > .container { position: relative; }
.footer-brand { color: #fff; font-weight: 700; letter-spacing: -.02em; }
.footer-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.footer-fx::before { content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 90% at 50% 100%, #000 20%, transparent 75%); animation: ffx-grid 30s linear infinite; }
.ffx-glow { position: absolute; width: 560px; height: 560px; border-radius: 50%; filter: blur(90px); opacity: .32; }
.ffx-glow.a { background: var(--brand); left: -160px; bottom: -320px; animation: ffx-drift-a 22s ease-in-out infinite alternate; }
.ffx-glow.b { background: color-mix(in srgb, var(--brand) 55%, #22d3ee); right: -180px; top: -340px; opacity: .2; animation: ffx-drift-b 26s ease-in-out infinite alternate; }
.ffx-streak { position: absolute; top: 0; left: 0; width: 30%; height: 1px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--brand) 70%, #fff), transparent); box-shadow: 0 0 12px var(--brand); animation: ffx-streak 7s ease-in-out infinite; }
@keyframes ffx-grid { to { background-position: 48px 48px; } }
@keyframes ffx-drift-a { to { transform: translate(55vw, -60px) scale(1.15); } }
@keyframes ffx-drift-b { to { transform: translate(-45vw, 80px) scale(.9); } }
@keyframes ffx-streak { 0% { transform: translateX(-100%); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(340%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .footer-fx *, .footer-fx::before { animation: none !important; } .ffx-streak { display: none; } }
