/* site.css — BlackStone shared styles.
   Direction: cut stone and instrument readouts. The page is grey stone; colour is
   reserved for state (live, testing, building, warning, fault), the same way the
   console uses it. If something on the page is coloured, it is telling you something. */

:root{
  /* Brand: deep space navy, brushed steel, blue circuit glow, forge orange (from the BlackStone logo).
     Blue is the brand accent; orange is reserved for primary actions and the mark. Status colours
     (ok/warn/info/fault) still only ever mean state. */
  --bg:#070B14;          /* page: deep space */
  --surface:#0D1422;     /* raised panels */
  --surface-deep:#060A12;/* inset: console, inputs */
  --line:#22304A;        /* hairlines */
  --line-soft:#172238;
  --text:#DCE3EE;        /* steel white, 15:1 on bg */
  --muted:#9AA7BC;       /* 8:1 */
  --dim:#8494AD;         /* 6:1 */
  --glow:#4FA3FF;        /* circuit blue */
  --fire:#FF8A2B;        /* forge orange */
  --fire-hot:#FFB066;

  --ok:#6EE7A0;
  --warn:#F4B740;
  --info:#6FB3FF;
  --fault:#FF6B6B;

  --sans:'Archivo',system-ui,-apple-system,'Segoe UI',sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,'Cascadia Mono',Consolas,monospace;

  --col:min(1160px,100% - 3rem);
  --gap:clamp(4.5rem,10vw,7.5rem);
  --r-slab:8px;
  --steel:linear-gradient(180deg,#F4F7FB 0%,#C9D2DF 48%,#8F9BAE 52%,#D5DCE6 100%);
  --bevel:inset 0 1px 0 rgba(255,255,255,.06),inset 0 -1px 0 rgba(0,0,0,.4);
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;background:var(--bg)}
body{
  margin:0;color:var(--text);font-family:var(--sans);font-size:17px;line-height:1.55;
  font-variation-settings:'wdth' 100;
  background:
    url('/brand/stars.svg'),
    radial-gradient(1100px 600px at 85% -10%,rgba(79,163,255,.16),transparent 60%),
    radial-gradient(900px 500px at -10% 30%,rgba(60,90,160,.10),transparent 60%),
    radial-gradient(700px 400px at 10% 0%,rgba(255,138,43,.06),transparent 60%),
    var(--bg);
  background-attachment:fixed,scroll,scroll,scroll,scroll;
  overflow-x:hidden;
}
a{color:inherit;text-decoration-color:var(--line);text-underline-offset:.22em;text-decoration-thickness:1px}
a:hover{text-decoration-color:var(--glow)}
:focus-visible{outline:2px solid var(--info);outline-offset:3px;border-radius:2px}
code,.mono{font-family:var(--mono);font-size:.88em}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.shell{width:var(--col);margin:0 auto;padding:1.4rem 0 3rem}

/* ---------- top bar ---------- */
.topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem 2rem;flex-wrap:wrap;
  padding-bottom:1.2rem;border-bottom:1px solid var(--line-soft)}
.wordmark{display:flex;align-items:center;gap:.7rem;text-decoration:none;line-height:1}
.wordmark img{width:46px;height:auto;border-radius:6px}
.wordmark span{display:flex;flex-direction:column;gap:.18rem}
.wordmark b{font-weight:800;font-size:1.02rem;letter-spacing:.08em;text-transform:uppercase;font-variation-settings:'wdth' 125;
  background:var(--steel);-webkit-background-clip:text;background-clip:text;color:transparent}
.wordmark i{font-style:normal;text-transform:uppercase;font-weight:600;font-size:.62rem;letter-spacing:.32em;color:var(--glow);font-variation-settings:'wdth' 125}
.nav{display:flex;align-items:center;gap:.4rem 1.5rem;flex-wrap:wrap;font-size:.95rem}
.nav a{color:var(--muted);text-decoration:none}
.nav a:hover,.nav a[aria-current=page]{color:var(--text)}
.nav .btn{color:var(--text)}

.btn{display:inline-block;padding:.6rem 1.05rem;border-radius:6px;border:1px solid var(--line);
  background:linear-gradient(180deg,#141E31,#0D1422);color:var(--text);font:600 .95rem/1.2 var(--sans);
  text-decoration:none;cursor:pointer;box-shadow:var(--bevel);transition:border-color .15s,box-shadow .15s}
.btn:hover{border-color:var(--glow);box-shadow:var(--bevel),0 0 0 3px rgba(79,163,255,.14)}
.btn-solid{background:linear-gradient(180deg,var(--fire-hot),var(--fire) 55%,#E8641A);color:#1A0E05;border-color:#FF9F4D;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 6px 24px -8px rgba(255,138,43,.55)}
.btn-solid:hover{border-color:#FFC38A;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 8px 30px -6px rgba(255,138,43,.7)}
.btn:disabled{opacity:.6;cursor:progress}

/* ---------- hero ---------- */
.hero{padding:clamp(2rem,5vw,3.5rem) 0 0}
/* headings: brushed steel lettering with a faint circuit-blue glow, like the logo */
h1,h2,.page-title{text-transform:uppercase;font-variation-settings:'wdth' 112;
  background:var(--steel);-webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 0 18px rgba(79,163,255,.18))}
h1{margin:0;font-weight:800;font-size:clamp(1.9rem,3.7vw,2.9rem);line-height:1.02;letter-spacing:.005em}
.hero-logo{display:block;width:min(100%,980px);height:auto;margin:0 auto clamp(1.5rem,4vw,3rem);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 92%,transparent),linear-gradient(180deg,transparent,#000 24%,#000 80%,transparent);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent,#000 10%,#000 92%,transparent),linear-gradient(180deg,transparent,#000 24%,#000 80%,transparent);
  mask-composite:intersect}
.hero-grid{display:grid;gap:2rem 4rem;margin-top:2.2rem}
.lead{margin:0;font-size:1.2rem;line-height:1.5;color:var(--muted);max-width:34ch}
.lead b{color:var(--text);font-weight:600}
.hero-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.8rem}
@media(min-width:900px){
  .hero-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:start}
}

/* ---------- console: the signature ---------- */
.console{margin:0;background:var(--surface);box-shadow:0 0 0 1px rgba(79,163,255,.08),0 30px 80px -30px rgba(79,163,255,.35) !important;border:1px solid var(--line);border-radius:var(--r-slab);overflow:hidden;
  box-shadow:0 1px 0 rgba(255,255,255,.04) inset,0 24px 60px -30px rgba(0,0,0,.9)}
.console-bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:.6rem 1rem;border-bottom:1px solid var(--line-soft);font-size:.82rem;color:var(--dim)}
.console-bar .replay{background:none;border:0;color:var(--muted);font:inherit;cursor:pointer;padding:.15rem .3rem}
.console-bar .replay:hover{color:var(--text)}
.console-body{margin:0;padding:1.1rem 1.1rem 1.3rem;background:var(--surface-deep);
  font-family:var(--mono);font-size:clamp(.74rem,1.9vw,.86rem);line-height:1.8;
  white-space:pre;overflow-x:auto;min-height:15.5em}
.console-body .ln{display:inline}
.js .console-body .ln{visibility:hidden}
.js .console-body .ln.on{visibility:visible}
.t-dim{color:var(--dim)} .t-ok{color:var(--ok)} .t-warn{color:var(--warn)} .t-fault{color:var(--fault)}
.t-key{color:var(--info)} .t-ready{color:var(--ok);font-weight:500}
.console-note{margin:0;padding:.8rem 1rem;border-top:1px solid var(--line-soft);font-size:.9rem;color:var(--muted)}

/* ---------- sections ---------- */
.band{margin-top:var(--gap)}
.band-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem 2rem;flex-wrap:wrap;
  margin-bottom:1.6rem}
h2{margin:0;font-weight:800;font-size:clamp(1.7rem,3.6vw,2.6rem);line-height:1;letter-spacing:.01em}
.band-head p{margin:.6rem 0 0;color:var(--muted);flex:0 0 100%;padding-right:max(0px,calc(100% - 52ch))}
.band-head .more{font-size:.95rem;color:var(--muted)}

/* ---------- status pills ---------- */
.state{display:inline-flex;align-items:center;gap:.45em;white-space:nowrap;font-size:.84rem;font-weight:600;color:var(--muted)}
.state::before{content:'';width:.55em;height:.55em;border-radius:50%;border:1.5px solid currentColor;flex:none}
.state-live{color:var(--ok)} .state-live::before{background:currentColor;box-shadow:0 0 0 3px rgba(124,217,146,.15)}
.state-testing{color:var(--warn)} .state-testing::before{background:currentColor}
.state-building{color:var(--info)} .state-building::before{background:linear-gradient(90deg,currentColor 50%,transparent 50%)}
.state-planned,.state-paused{color:var(--muted)}

/* ---------- status board ---------- */
.board{width:100%;border-collapse:collapse;font-size:.97rem}
.board caption{text-align:left}
.board th{font-weight:500;color:var(--dim);font-size:.85rem;text-align:left;padding:0 .9rem .6rem 0;border-bottom:1px solid var(--line)}
.board td{padding:1rem .9rem 1rem 0;border-bottom:1px solid var(--line-soft);vertical-align:baseline}
.board tr:hover td{background:linear-gradient(90deg,rgba(255,255,255,.025),transparent)}
.board .b-name a{font-weight:700;font-size:1.06rem;text-decoration:none}
.board .b-name a:hover{text-decoration:underline}
.board .b-name small{display:block;color:var(--dim);font-size:.82rem;font-weight:400;margin-top:.15rem}
.board .b-sum{color:var(--muted);max-width:46ch}
.board .b-ver code{color:var(--text)}
.board .b-date{color:var(--dim);white-space:nowrap;font-size:.9rem}
.board .free{color:var(--ok);font-size:.82rem;font-weight:600;margin-left:.4rem}
@media(max-width:820px){
  .board thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .board,.board tbody,.board tr,.board td{display:block}
  .board tr{display:grid;grid-template-columns:1fr auto;gap:.2rem 1rem;padding:1rem 0;border-bottom:1px solid var(--line-soft)}
  .board td{padding:0;border:0}
  .board .b-sum{grid-column:1/-1}
  .board .b-plat,.board .b-ver,.board .b-date{font-size:.85rem;color:var(--dim)}
  .board .b-plat{grid-column:1}
  .board .b-ver{grid-row:1;grid-column:2;text-align:right}
  .board .b-state{grid-row:1;grid-column:2;align-self:end}
  .board .b-name{grid-row:1}
  .board .b-date{display:none}
}

/* ---------- update log ---------- */
.log{list-style:none;margin:0;padding:0}
.update{display:grid;grid-template-columns:7.5rem minmax(0,1fr);gap:.3rem 1.5rem;
  padding:1.1rem 0;border-top:1px solid var(--line-soft)}
.update:last-child{border-bottom:1px solid var(--line-soft)}
.update time{color:var(--dim);font-size:.9rem;padding-top:.1rem;white-space:nowrap}
.update-head{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .7rem}
.update-head a{font-weight:700;text-decoration:none}
.update-head a:hover{text-decoration:underline}
.update-head .ver{color:var(--ok)}
.update-progress .update-head .ver{color:var(--muted)}
.update-title{color:var(--text)}
.update-notes{margin:.45rem 0 0;padding-left:1.1rem;color:var(--muted);font-size:.95rem;max-width:68ch}
.update-notes li{margin:.15rem 0}
.update-notes li::marker{color:var(--line)}
@media(max-width:600px){.update{grid-template-columns:1fr}}

.load-error{margin:0;padding:1rem 1.1rem;border:1px solid rgba(240,125,112,.45);border-left-width:3px;
  border-radius:4px;background:rgba(240,125,112,.06);color:var(--text)}
.loading{color:var(--dim);margin:0}

/* ---------- the standard: set in stone ---------- */
.tablet{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-slab);
  box-shadow:0 1px 0 rgba(255,255,255,.04) inset}
.tablet-head{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1rem 1.5rem;
  border-bottom:1px solid var(--line-soft);color:var(--muted);font-size:.92rem}
.tablet-head b{color:var(--text);font-weight:700}
.rule{display:grid;grid-template-columns:3.4rem minmax(0,1fr);gap:.2rem 1.4rem;padding:1.4rem 1.5rem;
  border-bottom:1px solid var(--line-soft)}
.rule:last-child{border-bottom:0}
.rule-id{grid-row:span 2;font-family:var(--mono);font-weight:500;font-size:1.05rem;color:var(--muted);padding-top:.15rem}
.rule h3{margin:0;font-weight:800;font-variation-settings:'wdth' 100;font-size:1.3rem;line-height:1.2}
.rule p{margin:0;color:var(--muted);max-width:64ch}
@media(min-width:860px){
  .rule{grid-template-columns:3.4rem 15rem minmax(0,1fr);align-items:baseline}
  .rule-id{grid-row:auto}
}
.tablet-foot{margin:0;padding:.9rem 1.5rem;border-top:1px solid var(--line-soft);color:var(--dim);font-size:.9rem}

/* ---------- about / won't build ---------- */
.two{display:grid;gap:2rem 4rem}
@media(min-width:860px){.two{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}}
.prose p{margin:0 0 1rem;color:var(--muted);max-width:62ch}
.prose p:last-child{margin-bottom:0}
.prose b{color:var(--text);font-weight:600}
.sig{margin:1.2rem 0 0;color:var(--dim)}
.sig b{color:var(--text)}
.wont{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:.5rem}
.wont li{padding:.35rem .8rem;border:1px solid var(--line);border-radius:4px;color:var(--muted);
  text-decoration:line-through;text-decoration-color:var(--fault);text-decoration-thickness:2px}

/* ---------- notify ---------- */
.notify{display:grid;gap:1.4rem 3rem;padding:2rem 1.6rem;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-slab)}
@media(min-width:860px){.notify{grid-template-columns:1fr 1fr;align-items:center;padding:2.4rem 2.2rem}}
.notify h2{font-size:clamp(1.7rem,3.4vw,2.4rem)}
.notify p{margin:.6rem 0 0;color:var(--muted)}
.row{display:flex;gap:.6rem;flex-wrap:wrap}
.notify input[type=email]{flex:1 1 220px;min-width:0;padding:.75rem .9rem;border-radius:4px;border:1px solid var(--line);
  background:var(--surface-deep);color:var(--text);font:400 1rem var(--sans)}
.notify input[type=email]::placeholder{color:var(--dim)}
.msg{margin:.7rem 0 0;font-size:.92rem;min-height:1.3em}
.msg.good{color:var(--ok)} .msg.bad{color:var(--fault)}

@media(max-width:640px){
  :root{--col:min(1120px,100% - 2rem)}
  body{font-size:16px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.after-list{margin-top:1.2rem!important}

/* ---------- compatibility strip ---------- */
.compat{display:flex;flex-wrap:wrap;align-items:baseline;gap:.6rem 2rem;margin-top:clamp(2.5rem,6vw,4rem);
  padding:1.1rem 0;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}
.compat h2{font-size:.95rem;font-weight:600;font-variation-settings:'wdth' 100;color:var(--dim);margin:0;line-height:1.4}
.compat ul{display:flex;flex-wrap:wrap;gap:.4rem 1.6rem;margin:0;padding:0;list-style:none}
.compat li{font-weight:700;font-size:1.02rem}
.compat li small{font-weight:400;color:var(--dim);margin-left:.35rem;font-size:.85rem}

/* ---------- why (four commitments) ---------- */
.why{display:grid;gap:0;border-top:1px solid var(--line)}
.why > div{padding:1.6rem 0;border-bottom:1px solid var(--line-soft)}
.why h3{margin:0 0 .5rem;font-weight:800;font-variation-settings:'wdth' 100;font-size:1.35rem;line-height:1.15}
.why p{margin:0;color:var(--muted);max-width:42ch}
@media(min-width:760px){
  .why{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:3rem}
}
@media(min-width:1080px){
  .why{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:2.2rem}
  .why > div{border-bottom:0;padding-bottom:0}
}

/* ---------- featured products ---------- */
.featured{display:grid;gap:1px;background:var(--line);box-shadow:0 30px 70px -40px rgba(79,163,255,.35);border:1px solid var(--line);border-radius:var(--r-slab);overflow:hidden}
@media(min-width:860px){.featured{grid-template-columns:repeat(2,minmax(0,1fr))}}
.product{background:linear-gradient(180deg,rgba(20,30,49,.85),rgba(10,16,28,.92));padding:1.7rem 1.6rem 1.6rem;display:flex;flex-direction:column;gap:.9rem}
.product-top{display:flex;justify-content:space-between;align-items:baseline;gap:1rem}
.product h3{margin:0;font-weight:800;font-variation-settings:'wdth' 112;font-size:clamp(1.5rem,2.6vw,1.95rem);line-height:1;text-transform:uppercase;letter-spacing:.01em}
.product h3 a{text-decoration:none;background:var(--steel);-webkit-background-clip:text;background-clip:text;color:transparent}
.product h3 a:hover{text-decoration:underline;text-decoration-thickness:2px}
.product .tagline{margin:0;color:var(--text);font-size:1.08rem;max-width:40ch}
.product ul{margin:0;padding-left:1.1rem;color:var(--muted);font-size:.95rem}
.product ul li{margin:.25rem 0}
.product ul li::marker{color:var(--line)}
.product-meta{margin-top:auto;padding-top:.4rem;display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;align-items:baseline;font-size:.9rem;color:var(--dim)}
.product-meta a{color:var(--text);font-weight:600}
.partner{font-size:.85rem;color:var(--dim)}

/* ---------- free tools ---------- */
.tools{display:grid;gap:1.4rem 3rem}
@media(min-width:860px){.tools{grid-template-columns:repeat(2,minmax(0,1fr))}}
.tool{padding:1.5rem 0 0;border-top:2px solid var(--fire)}
.tool.soon{border-top-color:var(--line)}
.tool h3{margin:0 0 .4rem;font-weight:800;font-variation-settings:'wdth' 100;font-size:1.5rem}
.tool p{margin:0 0 1rem;color:var(--muted);max-width:48ch}

/* ---------- FAQ ---------- */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line-soft)}
.faq summary{cursor:pointer;list-style:none;padding:1.1rem 2rem 1.1rem 0;position:relative;font-weight:700;font-size:1.08rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'+';position:absolute;right:.2rem;top:1rem;font-weight:400;font-size:1.3rem;color:var(--muted)}
.faq details[open] summary::after{content:'–'}
.faq details p{margin:0 0 1.2rem;color:var(--muted);max-width:70ch}
.notify .fine{font-size:.85rem;color:var(--dim);margin-top:.6rem}
.notify .fine a{color:var(--muted)}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}

/* ---------- footer ---------- */
footer.site{margin-top:var(--gap);padding-top:2.4rem;border-top:1px solid var(--line);display:grid;gap:2rem 3rem;color:var(--dim);font-size:.92rem}
@media(min-width:900px){footer.site{grid-template-columns:minmax(0,4fr) minmax(0,8fr)}}
.foot-brand p{margin:.8rem 0 0;max-width:30ch;color:var(--muted)}
.foot-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.6rem 2rem}
@media(min-width:640px){.foot-cols{grid-template-columns:repeat(4,minmax(0,1fr))}}
.foot-cols h2{font-size:.9rem;font-weight:600;font-variation-settings:'wdth' 100;color:var(--text);margin:0 0 .6rem;line-height:1.3}
.foot-cols a{display:block;color:var(--muted);text-decoration:none;padding:.18rem 0}
.foot-cols a:hover{color:var(--text);text-decoration:underline}
.foot-fine{grid-column:1/-1;margin:0;padding:1.2rem 0 0;border-top:1px solid var(--line-soft);font-size:.84rem}

/* ---------- inner pages (legal, support) ---------- */
.page-title{margin:0;font-weight:800;font-size:clamp(2.2rem,5.6vw,3.8rem);line-height:.98}
.legal{display:grid;gap:2rem 4rem;padding-top:clamp(2.5rem,6vw,4rem)}
@media(min-width:900px){.legal{grid-template-columns:14rem minmax(0,1fr)}}
.legal-nav{display:flex;flex-direction:column;gap:.2rem;align-self:start}
@media(min-width:900px){.legal-nav{position:sticky;top:1.5rem}}
.legal-nav a{padding:.45rem .7rem;border-left:2px solid var(--line-soft);color:var(--muted);text-decoration:none}
.legal-nav a:hover{color:var(--text)}
.legal-nav a[aria-current=page]{border-left-color:var(--text);color:var(--text);font-weight:600}
.legal article{max-width:72ch}
.legal-meta{color:var(--dim);margin:1rem 0 1.6rem}
.legal-summary{padding:1rem 1.2rem;background:var(--surface);border:1px solid var(--line);border-radius:4px;color:var(--text)}
.legal h2{font-size:1.35rem;font-variation-settings:'wdth' 85;margin:2.2rem 0 .6rem;line-height:1.2}
.legal p,.legal li{color:var(--muted)}
.legal b{color:var(--text)}
.legal ul{padding-left:1.2rem}
.legal li{margin:.35rem 0}
.legal-list{list-style:none;padding:0;margin:2rem 0 0}
.legal-list li{display:flex;flex-direction:column;padding:1rem 0;border-top:1px solid var(--line-soft)}
.legal-list a{font-weight:700;font-size:1.15rem}
.steps{counter-reset:step;list-style:none;padding:0;margin:1.5rem 0}
.steps li{counter-increment:step;display:grid;grid-template-columns:2.6rem minmax(0,1fr);gap:.2rem 1rem;padding:1.1rem 0;border-top:1px solid var(--line-soft)}
.steps li::before{content:counter(step);grid-row:span 2;font-family:var(--mono);color:var(--muted);padding-top:.1rem}
.steps b{color:var(--text)}

@media(max-width:640px){
  :root{--col:min(1120px,100% - 2rem)}
  body{font-size:16px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.hero-lead{margin-top:1.4rem}
