/* Shared landers use the live SpaceFi implementation as their component template. */
html.ns-domain-template-loading,html.ns-domain-template-loading body{background:#030817!important}
html.ns-domain-template-loading body{min-height:100vh}
html.ns-domain-template-loading #root{opacity:0!important;visibility:hidden!important}
html.ns-domain-template-loading body::before{content:"";position:fixed;inset:0;z-index:2147483646;pointer-events:none;background:#030817}
html.ns-domain-template-loading body::after{content:"";position:fixed;left:0;top:0;z-index:2147483647;width:32%;height:2px;pointer-events:none;background:linear-gradient(90deg,#a86f00,#efb419 58%,#ffe15a);animation:ns-domain-template-load 1s ease-in-out infinite alternate}
@keyframes ns-domain-template-load{from{transform:translateX(-100%)}to{transform:translateX(312.5%)}}
html.ns-domain-template-page{--dt-tier:#22d3ee;--dt-tier-dark:#0891b2;--dt-tier-light:#a5f3fc;--dt-tier-soft:rgba(34,211,238,.09);--dt-tier-border:rgba(34,211,238,.48);background:#030817;color-scheme:dark}
html.ns-domain-template-page[data-domain-tier="ultra"]{--dt-tier:#efb419;--dt-tier-dark:#a86f00;--dt-tier-light:#ffe15a;--dt-tier-soft:rgba(239,180,25,.1);--dt-tier-border:rgba(239,180,25,.52)}
html.ns-domain-template-page[data-domain-tier="super"]{--dt-tier:#fb7185;--dt-tier-dark:#be123c;--dt-tier-light:#fecdd3;--dt-tier-soft:rgba(244,63,94,.1);--dt-tier-border:rgba(251,113,133,.52)}
html.ns-domain-template-page[data-domain-tier="elite"]{--dt-tier:#a78bfa;--dt-tier-dark:#7c3aed;--dt-tier-light:#ddd6fe;--dt-tier-soft:rgba(139,92,246,.11);--dt-tier-border:rgba(167,139,250,.52)}
html.ns-domain-template-page[data-domain-tier="prime"]{--dt-tier:#60a5fa;--dt-tier-dark:#2563eb;--dt-tier-light:#bfdbfe;--dt-tier-soft:rgba(59,130,246,.1);--dt-tier-border:rgba(96,165,250,.52)}
html.ns-domain-template-page[data-domain-tier="best"]{--dt-tier:#34d399;--dt-tier-dark:#047857;--dt-tier-light:#a7f3d0;--dt-tier-soft:rgba(16,185,129,.1);--dt-tier-border:rgba(52,211,153,.5)}
html.ns-domain-template-page #root [data-testid="button-make-offer-floating"],html.ns-domain-template-page #root [data-testid="button-buy-atom-floating"],html.ns-domain-template-page #root [data-testid="button-buy-spaceship-floating"]{display:none!important}

/* Domain title and tier substitution. */
html.ns-domain-template-page #root .ns-spacefi-hero__title h1{max-width:100%!important;font-size:var(--dt-domain-size,clamp(64px,7vw,104px))!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
html.ns-domain-template-page #root .ns-spacefi-hero__title>div:first-child>span:nth-child(1){color:var(--dt-tier)!important;background:var(--dt-tier-soft)!important;border-color:var(--dt-tier-border)!important;animation:ns-spacefi-badge-in .62s cubic-bezier(.2,.72,.2,1) both!important}
html.ns-domain-template-page #root .ns-spacefi-hero__title>div:first-child>span:nth-child(1) svg{color:var(--dt-tier)!important}
html.ns-domain-template-page #root .ns-spacefi-hero__title>div:first-child>span:nth-child(1)::after{background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent)!important}

/* Domain landers load statically for a faster, calmer first paint. */
html.ns-domain-template-page body::after,
html.ns-domain-template-page #root .ns-spacefi-hero *,
html.ns-spacefi-page #root .ns-spacefi-hero *{
  animation:none!important;
  transition:none!important;
}
html.ns-domain-template-page #root .ns-spacefi-hero__form-card,
html.ns-spacefi-page #root .ns-spacefi-hero__form-card{
  transform:none!important;
}
html.ns-domain-template-page #root .ns-spacefi-hero__form-card h2{overflow-wrap:anywhere}
html.ns-domain-template-page #root .ns-spacefi-closing__action>strong{display:block!important;max-width:100%!important;font-size:var(--dt-closing-domain-size,42px)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important}

/* SpaceFi market-opportunity structure with domain-specific rows. */
html.ns-domain-template-page #root .ns-spacefi-why::before{content:"DOMAIN"!important}
html.ns-domain-template-page #root .ns-spacefi-why__lead-grid>.ns-spacefi-why__card{padding:clamp(30px,4vw,46px)!important}
html.ns-domain-template-page #root .ns-template-opportunity__row{display:block!important;padding:0!important;background:transparent!important;border:0!important}
html.ns-domain-template-page #root .ns-template-opportunity__row+.ns-template-opportunity__row{margin-top:25px!important}
html.ns-domain-template-page #root .ns-template-opportunity__row>div:first-child{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:20px!important;margin-bottom:11px!important}
html.ns-domain-template-page #root .ns-template-opportunity__row span{min-width:0;color:#5f6a7b!important;font-size:13px!important;line-height:1.35!important}
html.ns-domain-template-page #root .ns-template-opportunity__row>div:first-child>span:last-child{flex:0 0 auto;color:#111a2e!important;font-size:14px!important;font-weight:800!important;text-align:right!important}
html.ns-domain-template-page #root .ns-template-opportunity__row strong{flex:0 0 auto;color:#111a2e!important;font-size:14px!important;font-weight:800!important;line-height:1!important;text-align:right!important}
html.ns-domain-template-page #root .ns-template-opportunity__row>.h-2{display:block!important;height:7px!important;margin:0!important;overflow:hidden!important;background:rgba(17,26,46,.09)!important;border-radius:999px!important}
html.ns-domain-template-page #root .ns-template-opportunity__row>.h-2>div{display:block!important;width:var(--dt-progress)!important;height:100%!important;background:linear-gradient(90deg,#a86f00,#efb419 58%,#ffe15a)!important;border-radius:inherit!important;transform:scaleX(0);transform-origin:left;transition:transform 1.1s cubic-bezier(.2,.75,.2,1),filter .25s ease!important}
html.ns-domain-template-page #root .ns-template-opportunity__row.is-visible>.h-2>div{transform:scaleX(1)!important}
html.ns-domain-template-page #root .ns-template-opportunity__row:hover>.h-2>div{filter:brightness(1.1) saturate(1.08)}
html.ns-domain-template-page #root .ns-spacefi-why__detail-grid>.ns-spacefi-why__card{display:flex!important;min-height:112px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important}
html.ns-domain-template-page #root .ns-spacefi-why__detail-grid>.ns-spacefi-why__card strong{color:#111a2e!important;font-size:28px!important;font-weight:800!important;line-height:1!important}
html.ns-domain-template-page #root .ns-spacefi-why__detail-grid>.ns-spacefi-why__card span{margin-top:10px;color:#5f6a7b!important;font:800 9px/1.3 'JetBrains Mono',ui-monospace,monospace!important;letter-spacing:.12em!important}

/* Prevent SpaceFi-specific wording from appearing as decoration. */
html.ns-domain-template-page #root .ns-spacefi-closing__copy::before{content:"DOMAIN"!important}
html.ns-domain-template-page #root .ns-spacefi-closing__copy::after{content:"PRIVATE DOMAIN ACQUISITION"!important}

@media(max-width:780px){html.ns-domain-template-page #root .ns-spacefi-hero__title h1{font-size:var(--dt-domain-size,clamp(46px,15vw,64px))!important;line-height:.92!important}html.ns-domain-template-page #root .ns-template-opportunity__row>div{align-items:flex-start!important;gap:12px!important}html.ns-domain-template-page #root .ns-spacefi-why__detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){html.ns-domain-template-page #root .ns-spacefi-closing__action>strong{font-size:var(--dt-closing-domain-size,36px)!important}}
@media(max-width:430px){html.ns-domain-template-page #root .ns-template-opportunity__row span,html.ns-domain-template-page #root .ns-template-opportunity__row strong{font-size:12px!important}html.ns-domain-template-page #root .ns-spacefi-why__detail-grid{gap:10px!important}html.ns-domain-template-page #root .ns-spacefi-why__detail-grid>.ns-spacefi-why__card{min-height:98px!important;padding:18px 10px!important}}
@media(prefers-reduced-motion:reduce){html.ns-domain-template-page #root .ns-template-opportunity__row>.h-2>div{transform:scaleX(1)!important;transition:none!important}html.ns-domain-template-page #root .ns-spacefi-hero__title>div:first-child>span:nth-child(1){animation:none!important}}
/* Domain-specific acquisition brief fills the hero intentionally without urgency copy. */
.ns-domain-hero-brief{
  width:min(100%,640px);
  margin:0 0 24px;
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(180px,.65fr);
  border:1px solid rgba(239,180,25,.34);
  border-left:3px solid #efb419;
  background:linear-gradient(115deg,rgba(8,15,34,.9),rgba(7,12,29,.72));
  overflow:hidden;
  position:relative;
}
.ns-domain-hero-brief::after{
  content:"";
  position:absolute;
  inset:0 auto 0 -35%;
  width:28%;
  background:linear-gradient(90deg,transparent,rgba(255,215,94,.08),transparent);
  transform:skewX(-18deg);
  animation:ns-domain-brief-scan 7s ease-in-out infinite;
  pointer-events:none;
}
.ns-domain-hero-brief__lead{padding:20px 22px;border-right:1px solid rgba(255,255,255,.1)}
.ns-domain-hero-brief__lead>small,
.ns-domain-hero-brief__facts small{display:block;color:#efb419;font-size:9px;font-weight:700;letter-spacing:.18em}
.ns-domain-hero-brief__lead h3{margin:8px 0 7px;color:#fff;font-size:clamp(20px,2vw,28px);font-weight:500;line-height:1.08;letter-spacing:-.025em}
.ns-domain-hero-brief__lead p{margin:0;color:#aeb7ca;font-size:12px;line-height:1.6}
.ns-domain-hero-brief__facts{display:grid;grid-template-rows:repeat(3,1fr)}
.ns-domain-hero-brief__facts span{padding:11px 15px;display:flex;flex-direction:column;justify-content:center;border-bottom:1px solid rgba(255,255,255,.08)}
.ns-domain-hero-brief__facts span:last-child{border-bottom:0}
.ns-domain-hero-brief__facts strong{margin-top:4px;color:#f5f1e8;font-size:11px;font-weight:600;line-height:1.3}
@keyframes ns-domain-brief-scan{0%,38%{left:-35%}70%,100%{left:120%}}
@media(max-width:700px){
  .ns-domain-hero-brief{grid-template-columns:1fr;margin-bottom:18px}
  .ns-domain-hero-brief__lead{border-right:0;border-bottom:1px solid rgba(255,255,255,.1)}
  .ns-domain-hero-brief__facts{grid-template-columns:repeat(3,1fr);grid-template-rows:none}
  .ns-domain-hero-brief__facts span{padding:10px;border-right:1px solid rgba(255,255,255,.08);border-bottom:0}
  .ns-domain-hero-brief__facts span:last-child{border-right:0}
}
@media(prefers-reduced-motion:reduce){.ns-domain-hero-brief::after{animation:none}}
