/* ATHRTY BLACKLINE 2.0 / Website Studio builder + 4-question wizard.
   Scoped to studio-owned presentation routes; published customer websites remain untouched. */
body.bl2-studio{
 --bl2-studio-line:rgba(181,208,227,.23);
 --bl2-studio-muted:#bfceda;
 --bl2-studio-ease:cubic-bezier(.22,1,.36,1);
 background:radial-gradient(ellipse 60vw 32vw at 91% 2%,rgba(68,102,127,.13),transparent 75%),var(--athrty-brand-bg,#0b1016);
}
body.bl2-studio .top{
 position:relative;z-index:200;border-bottom:1px solid var(--bl2-studio-line);
 background:rgba(9,15,21,.94);
}
body.bl2-studio .top-inner{min-height:78px;gap:18px}
body.bl2-studio .wordmark{letter-spacing:-.05em}
body.bl2-studio .nav a{min-height:44px}
body.bl2-studio .bl2-studio-menu{display:none}
body.bl2-studio main.shell{min-width:0}
body.bl2-studio main .hero{
 isolation:isolate;position:relative;overflow:hidden;
 margin:24px 0 25px;padding:clamp(29px,4.5vw,64px);
 max-width:none;min-height:320px;border-radius:23px;
 display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
 border:1px solid var(--bl2-studio-line);
 background:linear-gradient(90deg,rgba(8,14,20,.99) 0%,rgba(8,14,20,.92) 40%,rgba(8,14,20,.30) 100%),
 url('/blackline-2-architecture-v1.svg') 72% center/cover no-repeat,#101b25;
 box-shadow:inset 0 1px rgba(255,255,255,.08),0 26px 68px rgba(0,0,0,.2);
}
body.bl2-studio main .hero h1{
 font-size:clamp(36px,4.5vw,66px);letter-spacing:-.068em;line-height:1.05;
 font-weight:650;max-width:17ch;margin:0 0 18px;text-wrap:balance;
}
body.bl2-studio main .hero h1 span{color:#c3d9e8}
body.bl2-studio main .hero .lead{
 font-size:clamp(14px,1.35vw,17px);max-width:54ch;color:#c5d5df;line-height:1.7;
}
body.bl2-studio main .hero .action{min-height:46px;border-radius:11px}
body.bl2-studio .card,body.bl2-studio .panel,body.bl2-studio .banner,body.bl2-studio .moment{
 border-color:var(--bl2-studio-line);
 background:linear-gradient(150deg,rgba(26,41,53,.91),rgba(13,23,31,.97));
 border-radius:16px;
 box-shadow:inset 0 1px rgba(255,255,255,.05);
}
body.bl2-studio .card.sel{border-color:#b7d2e3;box-shadow:inset 0 0 0 1px rgba(183,210,227,.4)}
body.bl2-studio .vcard{border-color:var(--bl2-studio-line);background:linear-gradient(140deg,#1b2c39,#101a24);border-radius:13px}
body.bl2-studio .vcard[aria-pressed="true"]{outline:2px solid #bed9e9;outline-offset:2px;background:#243b4a}
body.bl2-studio .vcard :is(p,small){color:#c3d0da}
body.bl2-studio .progress .bar{height:7px;background:#152432}
body.bl2-studio .progress .bar i{background:#b5cfdf}
body.bl2-studio .field input,body.bl2-studio .field textarea{
 border-color:#536c7d;background:#0d1822;border-radius:11px;
}
body.bl2-studio .chip{min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px}
body.bl2-studio :is(a,button,input,select,textarea,summary):focus-visible{
 outline:2px solid #d6e8f2;outline-offset:3px;
}
body.bl2-studio .action{border-radius:11px;min-height:44px}
body.bl2-studio .action.small{min-height:44px}
body.bl2-studio .reveal{border-radius:15px;border-color:var(--bl2-studio-line);overflow:hidden}
body.bl2-studio .section{border-color:var(--bl2-studio-line)}
body.bl2-studio .foot{border-color:var(--bl2-studio-line)}
@media(max-width:880px){
 body.bl2-studio .top-inner{display:flex;align-items:center;justify-content:space-between;flex-direction:row;min-height:70px;padding-block:10px;position:relative}
 body.bl2-studio .top .nav{display:none!important}
 body.bl2-studio .bl2-studio-menu{display:block;position:relative;margin-left:auto;flex:none}
 body.bl2-studio .bl2-studio-menu>summary{
  display:flex;align-items:center;justify-content:center;gap:10px;list-style:none;
  min-height:46px;min-width:82px;padding:10px 15px;border-radius:11px;
  color:#eef4f8;border:1px solid rgba(195,219,234,.42);
  background:#1a2a36;font-size:12px;font-weight:750;cursor:pointer;
 }
 body.bl2-studio .bl2-studio-menu>summary::-webkit-details-marker{display:none}
 body.bl2-studio .bl2-studio-menu>summary::after{
  content:"";display:block;width:13px;height:10px;
  background:linear-gradient(#c9dce8,#c9dce8) 0 0/100% 1px no-repeat,
             linear-gradient(#c9dce8,#c9dce8) 0 50%/100% 1px no-repeat,
             linear-gradient(#c9dce8,#c9dce8) 0 100%/100% 1px no-repeat;
 }
 body.bl2-studio .bl2-studio-menu:not([open]) .bl2-studio-menu-panel{display:none}
 body.bl2-studio .bl2-studio-menu-panel{
  position:absolute;right:0;top:calc(100% + 9px);z-index:320;
  width:min(284px,calc(100vw - 30px));max-height:min(70dvh,540px);overflow:auto;
  display:grid;gap:3px;padding:9px;border-radius:16px;
  border:1px solid rgba(183,209,227,.35);
  background:#0f1a24;box-shadow:0 22px 56px rgba(0,0,0,.59);
 }
 body.bl2-studio .bl2-studio-menu-panel a{
  display:flex;align-items:center;padding:11px 14px;min-height:45px;
  font-size:13px;font-weight:620;border-radius:9px;color:#dbe7ef;
 }
 body.bl2-studio .bl2-studio-menu-panel a:hover,
 body.bl2-studio .bl2-studio-menu-panel a:focus-visible{background:#223747;color:#fff}
 body.bl2-studio main .hero{min-height:0;margin:16px 0 22px;padding:29px 22px;border-radius:16px;background-position:67% center}
 body.bl2-studio main .hero h1{font-size:clamp(34px,8.5vw,45px);max-width:17ch}
 body.bl2-studio main .hero .lead{font-size:14px;max-width:43ch;line-height:1.65}
 body.bl2-studio .vgrid{gap:9px}
 body.bl2-studio .vcard{min-height:56px}
}
@media(max-width:370px){
 body.bl2-studio .top-inner{gap:10px}
 body.bl2-studio .wordmark{font-size:19px}
 body.bl2-studio main .hero{padding:28px 18px}
 body.bl2-studio main .hero h1{font-size:33px}
}
@media(prefers-reduced-motion:reduce){
 body.bl2-studio :is(.vcard,.action,.chip){animation:none!important;transition:none!important;transform:none!important}
}
/* BLACKLINE convergence (light): body + header chrome flip to X1127 ui tokens; the hero keeps its dark architecture-image band by design (bounded brand band, light text on dark overlay). Dark mode is untouched — every rule below is light-scoped. */
:root[data-athrty-appearance="light"] body.bl2-studio{--bl2-studio-line:var(--athrty-ui-border);--bl2-studio-muted:var(--athrty-ui-muted);background:var(--athrty-ui-canvas)}
:root[data-athrty-appearance="light"] body.bl2-studio .top{background:var(--athrty-ui-surface)}/* BLACKLINE PASS 2 (light): the component group below was left unscoped in pass 1.
   Its dark gradients (specificity 0-2-1) beat the presentation kit's token-based
   .card/.panel/.banner backgrounds (0-1-0) and the builder/wizard inline sheets,
   so cards, panels, banners, moments, vertical cards and fields stayed dark in
   light while their text colors (ui tokens) flipped dark — dark-on-dark. Flip the
   group at this owning layer, light only. */
:root[data-athrty-appearance="light"] body.bl2-studio .card,
:root[data-athrty-appearance="light"] body.bl2-studio .panel,
:root[data-athrty-appearance="light"] body.bl2-studio .banner,
:root[data-athrty-appearance="light"] body.bl2-studio .moment{
 background:var(--athrty-ui-surface);
}
:root[data-athrty-appearance="light"] body.bl2-studio .vcard{
 background:var(--athrty-ui-surface);
}
:root[data-athrty-appearance="light"] body.bl2-studio .vcard :is(p,small){color:var(--athrty-ui-muted)}
:root[data-athrty-appearance="light"] body.bl2-studio .vcard[aria-pressed="true"]{
 background:var(--athrty-ui-soft);outline-color:var(--athrty-brand-deep);
}
:root[data-athrty-appearance="light"] body.bl2-studio .field input,
:root[data-athrty-appearance="light"] body.bl2-studio .field textarea{
 background:var(--athrty-ui-surface);border-color:var(--athrty-ui-border);
}
:root[data-athrty-appearance="light"] body.bl2-studio .progress .bar{background:var(--athrty-ui-soft)}
/* Hero: CHOICE — intended-dark brand band (architecture image under a dark
   gradient overlay, bounded section, not app chrome). The background stays dark
   in both modes by design, so the TEXT layer is fixed instead: the heading's
   plain text inherited the flipping ui-ink (dark in light = dark-on-black),
   while its span and the lead carry fixed light hexes. In light, pin every hero
   text element to the same light values the dark mode already resolves to. */
:root[data-athrty-appearance="light"] body.bl2-studio main .hero{color:#f2f6f8}
:root[data-athrty-appearance="light"] body.bl2-studio main .hero h1{color:#f2f6f8}
:root[data-athrty-appearance="light"] body.bl2-studio main .hero .note{color:#c5d5df}
:root[data-athrty-appearance="light"] body.bl2-studio main .hero .action{
 background:rgba(9,15,21,.45);color:#f2f6f8;border-color:rgba(195,219,234,.42);
}
:root[data-athrty-appearance="light"] body.bl2-studio main .hero .action:hover{
 background:rgba(25,39,52,.88);color:#fff;border-color:rgba(195,219,234,.42);
}
:root[data-athrty-appearance="light"] body.bl2-studio main .hero .action.primary{
 background:var(--athrty-brand-primary);border-color:var(--athrty-brand-primary);color:var(--athrty-brand-on-primary);
}