/* The first homepage pass is desktop-only. No artwork is requested on phone. */
.home-open-space{display:none}
@media screen and (min-width:951px){
 main:has(>.home-open-space)>.hero>.hero-grid{padding-block:clamp(31px,4.4vh,53px) clamp(30px,4vh,48px)}
 main:has(>.home-open-space)>.hero .offer{padding-block:24px 20px}
 main:has(>.home-open-space)>.hero .offer .eyebrow{margin-block-end:9px}
 main:has(>.home-open-space)>.hero .offer>h2{margin-block-end:13px}
 main:has(>.home-open-space)>.hero .offer-row{padding-block:11px}
 main:has(>.home-open-space)>.hero .offer-fine{margin-block:8px 11px}
 main:has(>.home-open-space)>.hero .offer-bottom{padding-block-start:10px}
 main:has(>.home-open-space)>.hero .home-margin{margin-block-start:11px;padding-block-start:11px}
 main:has(>.home-open-space)>.hero .home-margin p{margin-block:.3rem .5rem}
 main:has(>.home-open-space)>.trader-row .all-tools{display:none}
 .home-open-space{display:block;padding-block:14px 15px;background:#f2f6fb;border-block-end:1px solid #dbe5ef}
 .home-orbit-card{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;
  min-block-size:222px;border:1px solid #395776;border-radius:15px;background:#0a172a;color:#f5f9fe;
  box-shadow:0 4px 15px #162c4a19}
 .home-orbit-art{position:absolute;z-index:-2;inset-block:0;inset-inline-end:0;inline-size:65%;
  background:url("/assets/workstation/home-open-space.webp?v=1") center 49%/cover no-repeat;pointer-events:none}
 .home-orbit-card::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(90deg,#0a172a 8%,#0d1a2d 34%,#0d1a2de5 43%,#0d1a2d1c 68%,transparent 79%)}
 [dir="rtl"] .home-orbit-card::after{background:linear-gradient(270deg,#0a172a 8%,#0d1a2d 34%,#0d1a2de5 43%,#0d1a2d1c 68%,transparent 79%)}
 .home-orbit-copy{max-inline-size:55%;padding:18px clamp(23px,3.1vw,41px)}
 .home-orbit-kicker{margin:0 0 .27rem;color:#b9d1ed;font-size:.72rem;font-weight:750;line-height:1.3;letter-spacing:.13em;text-transform:uppercase}
 #home-open-space-title{margin:0;color:#f5f9fe;font-size:clamp(2rem,3.8vw,3.24rem);font-weight:780;line-height:1.03;letter-spacing:-.039em}
 .home-orbit-description{color:#d9e7f8;font-size:clamp(.93rem,1.25vw,1.05rem);line-height:1.4;max-inline-size:39ch;margin:.45rem 0 .65rem}
 .home-orbit-actions{display:flex;flex-wrap:wrap;gap:7px 10px;align-items:center}
 .home-orbit-actions a{display:inline-flex;min-height:44px;align-items:center;justify-content:center;
  padding:6px 12px;border:1px solid #80a2c6;border-radius:7px;font-weight:720;font-size:.86rem;text-decoration:none;color:#f5f9fe;line-height:1.3;text-align:center}
 .home-orbit-actions a:focus-visible{outline:2px solid #e0efff;outline-offset:3px}
 .home-orbit-actions .home-orbit-launch{background:#b91c32;border-color:#e86e7a}
 .home-orbit-actions .home-orbit-launch:hover{background:#a3192d}
 .home-orbit-actions .home-orbit-tools{background:#19334ee0}
 .home-orbit-actions .home-orbit-tools:hover{background:#244365}
 .home-orbit-language{margin-inline-start:.35em;font-weight:550}
}
@media screen and (min-width:951px) and (max-height:800px){
 main:has(>.home-open-space)>.hero>.hero-grid{padding-block:28px 23px}
 main:has(>.home-open-space)>.hero .offer{padding-block:20px 17px}
 .home-open-space{padding-block-start:10px}
}
/* Start the caption near the top so it can be seen before visitors scroll. */
@media screen and (min-width:951px){
 .home-orbit-card{align-items:flex-start}
 .home-orbit-copy{padding-block-start:19px}
}
@media screen and (min-width:951px) and (max-height:800px){
 main:has(>.home-open-space)>.hero>.hero-grid{padding-block:22px 20px}
 main:has(>.home-open-space)>.hero .offer{padding-block:13px 12px}
 main:has(>.home-open-space)>.hero .offer>h2{margin-block-end:9px}
 main:has(>.home-open-space)>.hero .offer-row{padding-block:5px}
 main:has(>.home-open-space)>.hero .offer-fine{margin-block:4px 7px}
 main:has(>.home-open-space)>.hero .offer-bottom{padding-block-start:8px}
 main:has(>.home-open-space)>.hero .home-margin{margin-block-start:7px;padding-block-start:7px}
 .home-orbit-copy{padding-block-start:10px}
 #home-open-space-title{font-size:clamp(2rem,3vw,2.65rem)}
}

.home-orbit-phone-description{display:none}
@media screen and (max-width:950px){
 .home-open-space{display:block;padding-block:11px 12px;background:#f3f7fc;border-block-end:1px solid #e0eaf5}
 .home-open-space>.wrap{width:calc(100% - 30px);margin-inline:auto}
 .home-orbit-card{isolation:isolate;position:relative;overflow:hidden;min-height:150px;border:1px solid #345578;border-radius:12px;background:#0a192d;color:#eff7ff;box-shadow:0 3px 11px #18385722}
 .home-orbit-copy{padding:13px 12px 12px}
 /* Keep the ship in its own corner, not behind the copy or buttons. */
 .home-orbit-card{--orbit-art-width:clamp(92px,34%,184px);--orbit-art-feather:clamp(42px,15%,86px)}
 .home-orbit-art{position:absolute;z-index:-2;inset-block-start:0;inset-inline-end:0;inline-size:calc(var(--orbit-art-width) + var(--orbit-art-feather));block-size:102px;background:url("/assets/workstation/home-open-space.webp?v=1") calc(50% + var(--orbit-art-feather) / 2) -19px/auto clamp(128px,34vw,172px) no-repeat;pointer-events:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.06) 12%,rgba(0,0,0,.22) 25%,rgba(0,0,0,.47) 36%,rgba(0,0,0,.74) 46%,#000 56%),linear-gradient(0deg,transparent,#000 27%);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.06) 12%,rgba(0,0,0,.22) 25%,rgba(0,0,0,.47) 36%,rgba(0,0,0,.74) 46%,#000 56%),linear-gradient(0deg,transparent,#000 27%);mask-composite:intersect}
 [dir="rtl"] .home-orbit-art{background-position-x:calc(50% - var(--orbit-art-feather) / 2);-webkit-mask-image:linear-gradient(270deg,transparent 0,rgba(0,0,0,.06) 12%,rgba(0,0,0,.22) 25%,rgba(0,0,0,.47) 36%,rgba(0,0,0,.74) 46%,#000 56%),linear-gradient(0deg,transparent,#000 27%);mask-image:linear-gradient(270deg,transparent 0,rgba(0,0,0,.06) 12%,rgba(0,0,0,.22) 25%,rgba(0,0,0,.47) 36%,rgba(0,0,0,.74) 46%,#000 56%),linear-gradient(0deg,transparent,#000 27%)}
 .home-orbit-copy :is(.home-orbit-kicker,#home-open-space-title,.home-orbit-phone-description){max-inline-size:calc(100% - var(--orbit-art-width))}
 .home-orbit-kicker{color:#bfd6f1;margin:0 0 4px;font-size:.65rem;line-height:1.35;letter-spacing:.11em;font-weight:770;text-transform:uppercase}
 #home-open-space-title{color:#f4f8fc;font-size:clamp(1.52rem,7vw,2rem);font-weight:790;letter-spacing:-.035em;margin:0;line-height:1.05}
 .home-orbit-description{display:none}
 .home-orbit-phone-description{display:block;width:fit-content;max-inline-size:38ch;color:#e2eeff;margin:6px 0 10px;font-size:.85rem;font-weight:540;line-height:1.4}
 .home-orbit-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px}
 .home-orbit-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-inline-size:100%;padding:6px 9px;border-radius:7px;border:1px solid #91b1d4;color:#eff7ff;font-size:.79rem;font-weight:700;line-height:1.2;text-decoration:none;text-align:center}
 .home-orbit-actions .home-orbit-launch{background:#b91c32;border-color:#e4717f;font-weight:780}
 .home-orbit-actions .home-orbit-tools{background:#112640ba;border-color:#8aaccf}
 .home-orbit-actions a:focus-visible{outline:2px solid #e3f0fc;outline-offset:2px}
 main:has(>.home-open-space)>.trader-row .all-tools,
 main:has(>.home-open-space)>.trader-row .wrap::after{display:none}
}

/* The approved Trading Tools orbital mark, with a real accessible heading. */
.home-orbit-title-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.home-orbit-wordmark{display:block;inline-size:min(100%,425px);block-size:auto;direction:ltr}
@media screen and (max-width:950px){
 .home-orbit-wordmark{inline-size:min(100%,276px)}
}

/* Keep the motion in the same crop as the original still. */
.home-orbit-art{overflow:hidden}
:is(.home-orbit-earth,.home-orbit-earth-image){position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 49%;visibility:hidden}
:is(.home-orbit-earth,.home-orbit-earth-image)[data-ready]{visibility:visible}
.home-orbit-motion-toggle[hidden]{display:none}
.site-footer .home-orbit-motion-toggle{appearance:none;padding:4px 8px;border:1px solid #a1b4cc80;border-radius:5px;background:transparent;color:#d9e6f7;font:inherit;cursor:pointer;order:1}
.site-footer .home-orbit-motion-toggle[aria-pressed="true"]{background:#253a58}
.site-footer .home-orbit-motion-toggle:focus-visible{outline:2px solid #eff7ff;outline-offset:2px}
@media screen and (max-width:950px){
 :is(.home-orbit-earth,.home-orbit-earth-image){--orbital-h:clamp(128px,34vw,172px);--orbital-w:calc(var(--orbital-h)*1100/620);inset:auto;top:-19px;left:calc((100% - var(--orbital-w))/2 + var(--orbit-art-feather)/2);height:var(--orbital-h);width:var(--orbital-w);max-width:none}
 [dir="rtl"] :is(.home-orbit-earth,.home-orbit-earth-image){left:calc((100% - var(--orbital-w))/2 - var(--orbit-art-feather)/2)}
}
@media (prefers-reduced-motion:reduce){
 :is(.home-orbit-earth,.home-orbit-earth-image),.home-orbit-motion-toggle{display:none}
}

.home-orbit-cannon-si{position:absolute;right:12px;bottom:10px;z-index:1;width:clamp(104px,12vw,151px);pointer-events:none}
.home-orbit-cannon-si img{display:block;width:100%;height:auto;filter:drop-shadow(0 1px 2px #061421d9)}
@media (min-width:951px){
 [dir="rtl"] .home-orbit-copy{padding-block-end:53px}
}
@media (max-width:950px){
 .home-orbit-copy{padding-block-end:43px}
 .home-orbit-cannon-si{right:10px;bottom:7px;width:98px}
}

/* Phone footer: right-align the brand above an evenly spaced two-button row. */
@media(max-width:950px){
 .home-orbit-copy{padding-block-end:12px}
 .home-orbit-cannon-si{position:static;display:block;inset:auto;margin:0 0 9px auto}
 .home-orbit-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
 .home-orbit-actions a{min-inline-size:0;flex-wrap:wrap;overflow-wrap:break-word}
 .home-orbit-actions .home-orbit-language{white-space:nowrap}
}

/* Preserve the full tap targets while lifting the bottom of the phone card. */
@media(max-width:950px){
 .home-open-space{padding-block:9px}
 .home-orbit-copy{padding-block:10px 6px}
 .home-orbit-phone-description{margin-block:4px}
 .home-orbit-cannon-si{margin-block-end:5px;min-height:29px}
}
