/* Same system as the Server AI Hub site (../saih-website/site/styles.css): its tokens, type ladder,
   translucent navigation bar, pill buttons and cards. Dark by default. No red. */
:root{
  /*shared:fonts.css*/--font:-apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
  --display:-apple-system,BlinkMacSystemFont,"SF Pro Display",system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;/*end:fonts.css*/
  /*shared:colours-dark.css*/--bg:#000;--bg2:#0e0e10;--fg:#f5f5f7;--muted:#a1a1a6;--card:#161617;--card2:#1d1d1f;--line:rgba(255,255,255,.12);/*end:colours-dark.css*/
  --blue:#3476c1;--link:#3476c1;--onaccent:#fff;--bar:rgba(22,22,23,.72);--bar-solid:#161617;
  /*shared:shadow-dark.css*/--shot-shadow:0 0 0 1px rgba(255,255,255,.08),0 30px 90px rgba(0,0,0,.7);/*end:shadow-dark.css*/
  --r-card:22px;--r-shot:18px;--wrap:1024px;--ease:cubic-bezier(.25,.1,.25,1);color-scheme:dark;
}
:root[data-theme="light"]{
  /*shared:colours-light.css*/--bg:#fff;--bg2:#f5f5f7;--fg:#1d1d1f;--muted:#6e6e73;--card:#fff;--card2:#fff;--line:rgba(0,0,0,.1);/*end:colours-light.css*/
  --blue:#3476c1;--link:#3476c1;--bar:rgba(255,255,255,.72);--bar-solid:#fff;
  /*shared:shadow-light.css*/--shot-shadow:0 2px 6px rgba(0,0,0,.06),0 30px 80px rgba(0,0,0,.14);/*end:shadow-light.css*/color-scheme:light;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--fg);font:400 17px/1.47 var(--font);letter-spacing:-.022em;-webkit-font-smoothing:antialiased}
a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline}
img{max-width:100%;height:auto}
b{font-weight:600}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 22px}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:8px}

h1{font:700 clamp(44px,7vw,80px)/1.05 var(--display);letter-spacing:-.04em;margin:0 auto;max-width:980px;text-wrap:balance}
h2{font:700 clamp(36px,5.4vw,64px)/1.06 var(--display);letter-spacing:-.035em;margin:0 0 18px;text-wrap:balance}
h3{font:700 clamp(28px,3.8vw,44px)/1.1 var(--display);letter-spacing:-.03em;margin:0 0 12px;text-wrap:balance}
h4{font:600 20px/1.25 var(--display);letter-spacing:-.02em;margin:0 0 8px}
.eyebrow{color:var(--blue);font:600 clamp(17px,1.6vw,21px)/1.2 var(--display);letter-spacing:-.01em;margin:0 0 14px}
.lede{font:400 clamp(19px,2.2vw,24px)/1.4 var(--display);color:var(--muted);max-width:820px;margin:24px auto 0;text-wrap:balance}
.sub{color:var(--muted);font:400 clamp(19px,2vw,22px)/1.42 var(--display);letter-spacing:-.02em;max-width:760px;margin:0 auto 36px;text-wrap:pretty}
.note{font-size:14px;line-height:1.5;color:var(--muted)}

/*shared:menu-bar.css*/nav.nav{position:sticky;top:0;z-index:50;background:var(--bar);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid var(--line)}/*end:menu-bar.css*/
/*shared:menu-solid.css*/@media (prefers-reduced-transparency:reduce){nav.nav{background:var(--bar-solid);backdrop-filter:none;-webkit-backdrop-filter:none}}/*end:menu-solid.css*/
/* Two menu rows, as on the Server AI Hub site: its segmented controls, selection and bar. */
:root{--navh:80px;--subh:47px}
html{scroll-padding-top:calc(var(--navh) + var(--subh) + 14px)}
nav.nav .wrap{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;column-gap:16px;height:var(--navh);max-width:1560px;padding:0 28px}
.logo-link{grid-column:1;justify-self:start;display:flex;align-items:center;min-height:56px}
/* The horizontal logo, Labs.AI as tall as 6IX (Mark, 2026-11-28). */
.logo{height:clamp(21px,2.1vw,30px);width:auto;display:block}
.logo-hero{display:block;width:min(560px,86%);height:auto;margin:0 auto 34px}
nav.nav .primary{grid-column:2;justify-self:center}
.theme{grid-column:3;justify-self:end;appearance:none;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:color-mix(in srgb,var(--fg) 7%,transparent);color:var(--fg);font-size:18px;cursor:pointer}
nav.nav .subrow{position:absolute;top:100%;left:0;right:0;background:var(--bar-solid);border-bottom:1px solid var(--line)}
/*shared:menu-hidden.css*/nav.nav .subrow[hidden]{display:none}/*end:menu-hidden.css*/
/*shared:menu-group.css*/nav.nav .primary,nav.nav .navgroup{display:flex;align-items:center;gap:2px;padding:2px;background:color-mix(in srgb,var(--fg) 5%,transparent);border:.5px solid color-mix(in srgb,var(--fg) 12%,transparent);border-radius:9px}/*end:menu-group.css*/
nav.nav .navgroup{flex:none}
nav.nav .primary a,nav.nav .navgroup a{display:inline-flex;align-items:center;gap:6px;flex:none;min-height:32px;padding:0 12px;border-radius:7px;font-size:13px;font-weight:500;line-height:1;white-space:nowrap;color:var(--muted);text-decoration:none}
/*shared:menu-states.css*/nav.nav .primary a:hover,nav.nav .navgroup a:hover{color:var(--fg);background:color-mix(in srgb,var(--fg) 6%,transparent)}
nav.nav .primary a[aria-current],nav.nav .navgroup a[aria-current]{color:var(--fg);background:color-mix(in srgb,var(--fg) 13%,transparent);box-shadow:0 1px 2px rgba(0,0,0,.28),inset 0 .5px 0 rgba(255,255,255,.1)}/*end:menu-states.css*/
nav.nav .appbar{display:flex;justify-content:safe center;gap:12px;padding:5px 12px 6px;overflow-x:auto;scrollbar-width:none}
nav.nav .appbar::-webkit-scrollbar,nav.nav .primary::-webkit-scrollbar{display:none}
nav.nav .ic{width:15px;height:15px;margin:0;flex:none;color:currentColor}
nav.nav .navgroup a[aria-current] .ic{color:var(--blue)}
nav.nav a:focus-visible{outline-offset:-2px;border-radius:7px}
/* A section starts with a deep top margin; a jump to it skips most of that, so its title sits just under the menus. */
section[id]{scroll-margin-top:calc(28px - clamp(80px,10vw,140px))}
@media (pointer:coarse){nav.nav .primary a,nav.nav .navgroup a{min-height:44px}:root{--subh:59px}}
@media (max-width:860px){
  :root{--navh:118px;--subh:59px}
  nav.nav .wrap{grid-template-columns:1fr auto;grid-template-rows:64px auto;align-content:start;padding:0 16px}
  .logo{height:24px;width:auto}
  .theme{grid-column:2;grid-row:1}
  nav.nav .primary{grid-column:1/-1;grid-row:2;justify-self:center;max-width:100%;overflow-x:auto;scrollbar-width:none}
  nav.nav .primary a,nav.nav .navgroup a{min-height:44px;padding:0 10px}
  nav.nav .appbar{justify-content:flex-start}
}

.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 24px;margin:5px;border-radius:980px;background:var(--blue);color:var(--onaccent);font-weight:500}
.btn:hover{text-decoration:none;filter:brightness(1.1)}
.btn.alt{background:transparent;color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue)}

.hero{text-align:center;padding:clamp(64px,10vw,130px) 0 clamp(56px,8vw,100px)}
.hero .cta{margin-top:30px}
/* The first screen is the hero alone (Mark, 2026-12-03: no blue of the next section under the text). */
.hero.home{min-height:calc(100svh - 56px);display:flex;flex-direction:column;justify-content:center}
.hero.home>.wrap{width:100%;box-sizing:border-box}
section{padding:clamp(80px,10vw,140px) 0;text-align:center}
section.alt{background:var(--bg2)}
.availability{margin:0 0 18px;font-size:19px}
.availability b{color:var(--blue)}

.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:56px 0 0;text-align:left}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r-card);padding:24px}
section.alt .card{background:var(--card2)}
.card p{margin:0;color:var(--muted)}

.feature{margin-top:clamp(88px,10vw,130px)}
figure{margin:0}
.shot img,.shot video{display:block;width:100%;height:auto;border-radius:var(--r-shot);box-shadow:var(--shot-shadow)}
.shot video{background:#000}
/* Walkthroughs take the whole window (Mark, 2026-11-27: "USE UP ALL THE SPACE HERE"), never taller than the room under the menus. */
.walkthrough{margin-top:20px;width:calc(100vw - 24px);margin-left:calc(50% - 50vw + 12px)}
.walkthrough video{width:min(100%,calc((100vh - 16px) * var(--ar)));margin-left:auto;margin-right:auto}
/* While one plays, the menus slide out of the way so the picture can have the whole window; pausing brings them back. */
nav.nav{transition:transform .25s var(--ease),visibility .25s}
nav.nav.away{transform:translateY(calc(-100% - var(--subh)));visibility:hidden}
@media (prefers-reduced-motion:reduce){nav.nav{transition:none}}
.walkthrough figcaption{text-align:center}
/* Server AI Hub and Studio fit as Code Map's picture does (Mark, 2026-11-30): in the column, with the same room left above. */
#saih-walkthrough,#studio-walkthrough{width:auto;margin-left:auto;margin-right:auto}
#saih-walkthrough video,#studio-walkthrough video{width:min(100%,calc(max(340px,calc(100vh - var(--navh) - var(--subh) - 270px)) * var(--ar)))}
/* Slideshows (Mark, 2026-11-27: "a slide show and no video"): the words, then the picture as large as the window allows.
   Without the script every slide is listed one under the other. */
.deck{width:calc(100vw - 24px);margin:28px 0 0 calc(50% - 50vw + 12px);text-align:center}
.deck .slides{list-style:none;margin:0;padding:0}
.deck .slide+.slide{margin-top:44px}
.deck.on .slide+.slide{margin-top:0}
.slide-words{max-width:820px;margin:0 auto 14px}
.slide-words h4{font-size:clamp(22px,2.6vw,30px);margin-bottom:6px}
.slide-words p{margin:0;color:var(--muted)}
.deck.on .slide-words{min-height:4.6em;margin-bottom:8px}
.deck .slide-words h4{font-size:22px;margin-bottom:2px}
.deck .slide-words p{font-size:15px;line-height:1.4}
.slide img{display:block;margin:0 auto;width:min(100%,calc((100vh - var(--navh) - var(--subh) - 138px) * var(--ar)));min-width:min(100%,660px);height:auto;border-radius:var(--r-shot);box-shadow:var(--shot-shadow)}
.deck-bar{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:8px}
.deck-b{appearance:none;min-height:44px;min-width:96px;padding:0 20px;border:0;border-radius:980px;background:var(--blue);color:var(--onaccent);font:500 16px/1 var(--font);cursor:pointer}
.deck-b:disabled{opacity:.35;cursor:default}
.deck-n{min-width:5em;color:var(--muted);font-variant-numeric:tabular-nums}
/* A video's own page: the video first, then its words as an article. */
.watch h1{font-size:clamp(32px,4.6vw,52px);margin-bottom:18px}
.watch article{max-width:760px;margin:36px auto 0;text-align:left}
.watch article h2{font-size:clamp(22px,2.6vw,28px);margin:30px 0 8px}
.watch article p{color:var(--muted)}
figcaption{font-size:14px;color:var(--muted);margin-top:14px}
.nvidia .sub{margin-bottom:0}

footer{text-align:center;padding:44px 0 52px;border-top:1px solid var(--line)}
@media (max-width:800px){.grid{grid-template-columns:1fr}}
.run{margin-top:24px}
.tbl{overflow-x:auto;margin:34px 0 12px;background:var(--card);border:1px solid var(--line);border-radius:var(--r-card);padding:8px 20px 14px}
table{width:100%;border-collapse:collapse;min-width:560px;font-size:15px;text-align:right;font-variant-numeric:tabular-nums}
caption{text-align:left;font-weight:600;padding:12px 0;font-size:17px}
th,td{padding:10px 8px;border-bottom:1px solid var(--line)}
thead th{color:var(--muted);font-weight:500;font-size:13px}
th:first-child{text-align:left;font-weight:500}
tbody tr:last-child>*{border-bottom:0}
.feature>.note{max-width:860px;margin:0 auto;text-align:left}
@media (max-width:600px){.tbl{padding:4px 10px 10px}table{min-width:0;font-size:13px}th,td{padding:8px 3px}thead th{font-size:11px}caption{font-size:15px}}
.pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
@media (max-width:700px){.pair{grid-template-columns:1fr}}
.pair+.pair{margin-top:34px}
.pair.middle{align-items:center}
.pair.spaced{margin-top:48px}
.keywrap{max-width:760px;margin:40px auto 0}
.key{margin:0;text-align:left}
.key div{padding:14px 0;border-bottom:1px solid var(--line)}
.key div:last-child{border-bottom:0}
.key dt{font-weight:600;margin:0 0 2px}
.key dd{margin:0;color:var(--muted);font-size:15px}
.key dd b{color:var(--fg)}
.key dd b.amber{color:#ff9f0a}
:root[data-theme="light"] .key dd b.amber{color:#B25000}
.swatches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:860px;margin:0 auto 28px;text-align:left}
.swatches p{margin:0;color:var(--muted);font-size:15px}
.wash{display:inline-block;color:var(--fg);font-weight:600;border-radius:4px;padding:1px 7px;margin:0 6px 4px 0}
.wash.light{background:rgba(255,176,60,.40)}
.wash.deep{background:rgba(255,132,26,.60)}
#shading .note{max-width:760px;margin:16px auto 0}
#thread{margin-top:64px}
.thread{display:grid;grid-template-columns:minmax(0,430px) minmax(0,1fr);gap:28px;align-items:center;max-width:900px;margin:0 auto;text-align:left}
.thread .shot img{border-radius:12px}
.thread p{margin:0;color:var(--muted);font-size:16px}
@media (max-width:700px){.swatches,.thread{grid-template-columns:1fr}}
th .n{display:block;font-weight:400;font-size:.85em;color:var(--muted)}
figcaption{position:relative;z-index:1}
#scoring{border-top:1px solid var(--line)}
.feature .grid+.run{margin-top:48px}
.feature>.note{max-width:none}
#shading .note{max-width:760px}
video::cue{font-size:15px;line-height:1.35}
@media (max-width:600px){video::cue{font-size:11px}}
.story{margin:36px 0 0;padding:clamp(26px,4vw,48px);border-radius:28px;background:var(--card);border:1px solid var(--line);text-align:left}
section.alt .story{background:var(--card2)}
.story .tag{margin:0 0 10px;color:var(--blue);font-weight:600;font-size:13px;letter-spacing:.06em;text-transform:uppercase}
.story h3{margin:0 0 18px}
.story blockquote{margin:0;font:400 clamp(17px,1.7vw,20px)/1.55 var(--display)}
.story blockquote p{margin:0 0 14px}
.story blockquote p:last-child{margin:0}
.grid.four{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:32px}
.grid.four .card{padding:20px}
.grid.four .card h4{font-size:18px}
.grid.four .card p{font-size:15px}
.ic{width:19px;height:19px;color:var(--blue);vertical-align:-3px;margin-right:8px}
.note.below{text-align:left;margin:12px 0 0}
@media (max-width:900px){.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.grid.four{grid-template-columns:1fr}}

/* The device row, with the Server AI Hub site's own frames. */
.devices-row{margin-top:clamp(88px,10vw,130px)}
.lineup.four-up{display:grid;grid-template-columns:3fr 3fr 2.3fr;gap:clamp(14px,2.4vw,32px);max-width:1100px;margin:0 auto 24px;align-items:end;text-align:center}
.dev{margin:0;min-width:0;display:flex;flex-direction:column;align-items:center}
.dev>figcaption{margin-top:14px;font-weight:600}
.dev .screen{position:relative;overflow:hidden;background:#000}
.dev .screen>img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}
.laptop{width:100%}
.laptop .screen{aspect-ratio:16/10;border:10px solid #3a3a3c;border-bottom-width:14px;border-radius:14px 14px 0 0}
.laptop .base{height:12px;margin:0 -5%;background:linear-gradient(#d2d2d7,#a1a1a6);border-radius:0 0 12px 12px}
.dev .laptop.mac .screen>img,.laptop.mac .screen>img{object-fit:contain;background:#0e0e10}
.monitor{width:100%;display:flex;flex-direction:column;align-items:center}
.monitor .screen{width:100%;border:8px solid #3a3a3c;border-bottom-width:14px;border-radius:10px;background:#fff;aspect-ratio:1600/1028}
.dev .monitor .screen>img{object-fit:contain}
.monitor .neck{width:14%;height:20px;background:linear-gradient(#5b5b60,#8e8e93)}
.monitor .foot{width:38%;height:7px;border-radius:6px 6px 3px 3px;background:#8e8e93}
.tablet{width:100%}
.tablet .screen{aspect-ratio:4/3;border:12px solid #3a3a3c;border-radius:26px}
.phone{width:100%;max-width:210px;margin:0 auto}
.phone .screen{aspect-ratio:9/19.5;border:7px solid #3a3a3c;border-radius:30px}
@media (max-width:900px){.lineup.four-up{grid-template-columns:1fr 1fr;gap:22px 16px}.lineup.four-up .dev:nth-child(-n+2){grid-column:1/-1}.monitor{max-width:420px}.phone{max-width:150px}.tablet .screen{border-width:7px;border-radius:16px}}

/* Privacy and disclaimer: a plain reading column. */
.legal .wrap{max-width:760px;text-align:left}
.legal .hero{text-align:left;padding:48px 22px 8px}
.legal .hero h1{font-size:clamp(34px,5vw,52px)}
.legal .hero .lede{margin-left:0}
.legal section.legal-sec{padding:26px 0;text-align:left;scroll-margin-top:0}
.legal h2{font-size:clamp(22px,2.6vw,28px);margin-bottom:10px}
.legal p,.legal li{color:var(--muted)}
.legal main section:last-child,.legal>section:last-of-type{padding-bottom:64px}

/* Code Map opens on the graphic: it sits just under the menus and fits the window; the title follows it. */
#codemap{padding-top:calc(var(--subh) + 18px);scroll-margin-top:0}
.map-first{margin:0 auto 44px}
/* The message leads and the picture starts under it, both in the first window (Mark, 2026-11-27: front copy first). */
.map-first img{width:auto;max-width:100%;max-height:max(340px,calc(100vh - var(--navh) - var(--subh) - 270px));margin:0 auto}
#codemap .map-title+.sub{margin-bottom:28px}
#codemap-gains{margin:8px 0 28px}
/* A product's opening line is its biggest (Mark, 2026-11-27: the Studio hero). */
#studio-title.hero-line{font-size:clamp(46px,7.4vw,88px);letter-spacing:-.045em;max-width:900px;margin-left:auto;margin-right:auto}
#studio-gains{margin:6px 0 44px}
h1.map-title{font-size:clamp(34px,5vw,56px);margin-bottom:16px}
.legal h3{font-size:18px;margin:22px 0 6px}

/* Contact form: labels above fields, 44 pt or more to tap, the message beside the field it is about. No red. */
.contact-page{padding-top:calc(var(--subh) + 16px)}
.contact-page h1{font-size:clamp(40px,6vw,64px);margin-bottom:18px}
.cf{max-width:560px;margin:8px auto 22px;text-align:left}
.cf-row{margin:0 0 18px}
.cf label{font-weight:600;font-size:15px}
.cf-opt{color:var(--muted);font-size:13px}
.cf input,.cf select,.cf textarea{display:block;width:100%;margin-top:6px;min-height:48px;padding:11px 14px;font:inherit;font-size:17px;color:var(--fg);background:var(--card);border:1px solid color-mix(in srgb,var(--fg) 22%,transparent);border-radius:12px}
.cf textarea{min-height:150px;resize:vertical}
.cf input:focus-visible,.cf select:focus-visible,.cf textarea:focus-visible{outline:3px solid var(--blue);outline-offset:1px}
.cf [aria-invalid="true"]{border-color:#ff9f0a;border-width:2px}
.cf-error{margin:6px 0 0;color:#ff9f0a;font-size:14px}
:root[data-theme="light"] .cf-error{color:#B25000}
:root[data-theme="light"] .cf [aria-invalid="true"]{border-color:#B25000}
.cf-actions .btn{width:100%;margin:6px 0 0;border:0;font:inherit;font-weight:500;cursor:pointer}
.cf-status{min-height:1.4em;font-size:15px;text-align:center}
.cf-trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.playwrap{position:relative}
.bigplay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:84px;height:84px;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(0,0,0,.66);color:#fff;cursor:pointer}
.bigplay svg{width:46px;height:46px;margin-left:3px}
.bigplay:hover{background:rgba(0,0,0,.82)}
.bigplay:focus-visible{outline:3px solid #4a95ff;outline-offset:3px}
.bigplay[hidden]{display:none}
@media (max-width:600px){.bigplay{width:60px;height:60px}.bigplay svg{width:32px;height:32px}}
/* Without its old heading, the Impact block starts the section (and the whole of it, in the copy without videos). */
#codemap-codepp .wrap>.feature:first-child{margin-top:0}
/* "Follow it through" runs straight on into Code++: no deep gap between the two (Mark, 2026-12-03: "remove the space"). */
section:has(#codemap-shows){padding-bottom:36px}
#codemap-codepp{padding-top:36px}
/* A small panel: shown near its own size, not stretched across the column. */
img[src$="codemap-impact.jpg"]{max-width:760px;margin:0 auto}
/* AI Code Studio: its parts, named at the top, each a link to its screen */
#studio-parts{margin-top:40px}
#studio-parts .grid{margin-top:18px}
#studio-parts h4 a{text-decoration:none}
#studio-parts h4 a::after{content:" \203A"}
.grid.parts .card{display:flex;flex-direction:column}
.grid.parts .thumb{display:block;margin-top:auto;padding-top:18px}
.grid.parts .thumb img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:left top;border-radius:10px;border:1px solid rgba(128,128,128,.28)}
/* The top of AI Code Studio fits one window: headline on one line, and the first row of screens shows whole (Mark,
   2026-12-03: "one line hero we nee the top row of screen to show fully"). */
#studio{padding-top:40px;scroll-margin-top:-28px}
#studio-title.hero-line{font-size:clamp(34px,5vw,66px);margin-bottom:10px}
@media (min-width:700px){#studio-title.hero-line{white-space:nowrap;max-width:none}}
#studio>.wrap>.eyebrow{margin-bottom:8px}
#studio .availability{margin-bottom:10px;font-size:17px}
#studio>.wrap>.sub{max-width:1060px;margin-bottom:8px;font-size:17px}
#studio-parts{margin-top:14px}
#studio-parts .grid{margin-top:10px}
#studio-parts .card{padding:14px 16px 16px}
#studio-parts .card h4{margin-bottom:4px}
#studio-parts .card p{font-size:14.5px;line-height:1.4}
#studio-parts .thumb{padding-top:10px}
@media (min-width:801px){#studio-parts .thumb img{height:clamp(100px,calc(100vh - 625px),210px);aspect-ratio:auto}}
dialog.picture{position:fixed;inset:0;width:100%;height:100%;max-width:100%;max-height:100%;margin:0;padding:64px 16px 16px;border:0;background:rgba(0,0,0,.94);cursor:zoom-out}
dialog.picture[open]{display:flex;align-items:center;justify-content:center}
dialog.picture img{max-width:100%;max-height:100%;width:auto;height:auto;border-radius:10px}
dialog.picture button{position:absolute;top:12px;right:16px;min-height:44px;padding:0 22px;border:0;border-radius:22px;background:#f5f5f7;color:#000;font:600 16px var(--font);cursor:pointer}
/* Three views of one screen, fading into each other (Mark, 2026-12-03). Each has five seconds of fifteen. */
.fade3 .stack{display:grid}
.fade3 .stack>*{grid-area:1/1;min-width:0;opacity:0;visibility:hidden;animation:fade3 15s linear infinite}
.fade3 .stack>:first-child{opacity:1;visibility:visible}
.fade3 .stack>:nth-child(2),.fade3 .views>:nth-child(2){animation-delay:-10s}
.fade3 .stack>:nth-child(3),.fade3 .views>:nth-child(3){animation-delay:-5s}
.fade3 .stack img{display:block;width:100%;height:auto}
.grid.parts .thumb.fade3 .stack img{margin:0}
.fade3 .views{display:flex;justify-content:center;gap:22px}
.fade3 .views>span{opacity:.4;animation:fade3name 15s linear infinite}
.fade3 .views>:first-child{opacity:1;font-weight:600}
@keyframes fade3{0%,28%{opacity:1;visibility:visible}35%,93%{opacity:0;visibility:hidden}100%{opacity:1;visibility:visible}}
@keyframes fade3name{0%,29%{opacity:1}34%,95%{opacity:.4}100%{opacity:1}}
@media (prefers-reduced-motion:reduce){.fade3 .stack>*,.fade3 .views>span{animation:none!important}}
/* KGraph's three views in turn (Mark, 2026-12-04: "all view in rotaioont", "reallhy fuckin ggoood"). Each has five seconds of
   fifteen. The next sweeps across the one before it, so no two sets of labels ever mix. Resting the pointer on it holds it. */
.turn3 .stack{display:grid;isolation:isolate}
.turn3 .stack>*{grid-area:1/1;min-width:0;opacity:0;visibility:hidden;animation:turn3 15s linear infinite}
.turn3 .stack>:first-child{opacity:1;visibility:visible}
.turn3 .stack img,.turn3 .stack picture{display:block;width:100%;height:auto}
.grid.parts .thumb.turn3 .stack img{margin:0}
.turn3 .views{display:flex;justify-content:center;gap:8px;margin-top:14px}
.turn3 .views>span{position:relative;min-width:112px;padding:8px 18px 14px;text-align:center;font-size:17px;font-weight:600;color:var(--muted);animation:turn3name 15s linear infinite}
.turn3 .views>:first-child{color:var(--fg)}
.turn3 .views>span::after{content:"";position:absolute;left:18px;right:18px;bottom:4px;height:3px;border-radius:2px;background:var(--blue);transform:scaleX(0);transform-origin:left;animation:turn3bar 15s linear infinite;animation-delay:inherit}
.turn3 .stack>:nth-child(1),.turn3 .views>:nth-child(1){animation-delay:-1s}
.turn3 .stack>:nth-child(2),.turn3 .views>:nth-child(2){animation-delay:-11s}
.turn3 .stack>:nth-child(3),.turn3 .views>:nth-child(3){animation-delay:-6s}
@keyframes turn3{0%{opacity:1;visibility:visible;z-index:3;clip-path:inset(0 100% 0 0);animation-timing-function:cubic-bezier(.65,0,.35,1)}6%,33.32%{opacity:1;visibility:visible;z-index:3;clip-path:inset(0 0 0 0)}33.34%,39.5%{opacity:1;visibility:visible;z-index:2;clip-path:inset(0 0 0 0)}39.52%,100%{opacity:0;visibility:hidden;z-index:1;clip-path:inset(0 100% 0 0)}}
@keyframes turn3name{0%,33.32%{color:var(--fg)}33.34%,100%{color:var(--muted)}}
@keyframes turn3bar{0%{transform:scaleX(0);opacity:1}33.32%{transform:scaleX(1);opacity:1}33.34%,100%{transform:scaleX(0);opacity:0}}
.turn3:hover .stack>*,.turn3:hover .views>span,.turn3:hover .views>span::after{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.turn3 .stack>*,.turn3 .views>span,.turn3 .views>span::after{animation:none!important}}
/* The walkthrough opens the Code Map page, on its architecture picture (Mark, 2026-12-03). */
.deck.map-first{margin:18px 0 34px calc(50% - 50vw + 12px)}
.deck.map-first img{margin:0 auto}
/* The whole Code++ screen with its score, as large as the window allows (Mark, 2026-12-03). */
.shot.scorepage{width:calc(100vw - 24px);margin:12px 0 34px calc(50% - 50vw + 12px);text-align:center}
.shot.scorepage img{width:auto;max-width:100%;max-height:max(420px,calc(100vh - var(--navh) - var(--subh) - 212px));margin:0 auto}
.grid.parts .thumb{cursor:zoom-in}dialog.picture{cursor:zoom-out}

/* no blue borders */
:focus-visible{outline-color:var(--muted)!important}
.deck:focus,.deck:focus-visible,a:has(img):focus-visible,dialog:focus-visible,video:focus-visible{outline:none!important}
.btn.alt{box-shadow:inset 0 0 0 1px var(--line)!important}
/* The top of Server AI Hub fits one window: headline, then the Cluster screen (Mark, 2026-12-04). */
#saih{padding-top:40px;scroll-margin-top:-26px}
#saih>.wrap>.eyebrow{margin-bottom:6px}
#saih-title{font-size:clamp(32px,4.2vw,54px);margin-bottom:8px}
@media (min-width:900px){#saih-title{white-space:nowrap;max-width:none}}
#saih>.wrap>.sub{margin:0 auto 4px;font-size:18px}
#saih>.wrap>.availability{margin:0 0 6px;font-size:16px}
#saih-cluster{margin-top:12px;padding-top:0;scroll-margin-top:calc(var(--navh) + var(--subh))}
#saih-cluster .eyebrow{display:none}
#saih-cluster h3{font-size:clamp(22px,2.4vw,30px);margin-bottom:4px}
#saih-cluster .sub{font-size:15px;margin:0 auto}
#saih-cluster .shot{margin-top:12px}
#saih-cluster .shot img{width:auto;max-width:100%;max-height:max(300px,calc(100vh - var(--navh) - var(--subh) - 262px));margin:0 auto}
/* The CPU screen, moving (Mark, 2026-12-04): the history dots step a column every 2 s, the cores change on the same beat. */
.cpu-live a{display:block;position:relative;overflow:hidden}
.cpu-live a>img{display:block;width:100%;height:auto}
.cpu-live .tiles{position:absolute;left:0;top:0;width:100%;height:32.44%}
.cpu-live .tiles img{position:absolute;left:0;top:0;width:100%;height:100%;max-width:none;border-radius:0;box-shadow:none;opacity:0;animation:cpu-tiles 6s linear infinite}
.cpu-live .tiles img:last-child{animation-delay:-2s}
.cpu-live .dots{position:absolute;top:37.5%;height:37.35%;width:46.67%;overflow:hidden}
.cpu-live .dots.left{left:2.95%}.cpu-live .dots.right{left:51.51%}
.cpu-live .dots>span{display:flex;width:200%;height:100%;animation:cpu-dots 96s steps(48) infinite}
.cpu-live .dots img{width:50%;height:100%;max-width:none;border-radius:0;box-shadow:none}
@keyframes cpu-dots{from{transform:translateX(-50%)}to{transform:translateX(0)}}
@keyframes cpu-tiles{0%,33.3%{opacity:1}33.34%,100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.cpu-live .tiles img,.cpu-live .dots>span{animation:none}.cpu-live .dots{display:none}}
/* a menu strip with more to one side fades there (release audit, 2026-12-04) */
nav.nav [data-more="r"]{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent)}
nav.nav [data-more="l"]{-webkit-mask-image:linear-gradient(90deg,transparent,#000 36px);mask-image:linear-gradient(90deg,transparent,#000 36px)}
nav.nav [data-more="lr"]{-webkit-mask-image:linear-gradient(90deg,transparent,#000 36px,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,transparent,#000 36px,#000 calc(100% - 36px),transparent)}
/* the SWE-bench headline sits on two lines (Mark, 2026-12-04: "ON 2 lines"); a phone is too narrow for that and wraps it */
#swebench #swe-title{font-size:clamp(34px,4.2vw,48px)}
@media (max-width:760px){#swebench #swe-title br{display:none}}
/* SWE-bench Lite: headline, one line under it, the figures and the table in one screen (Mark, 2026-12-04: "All hasw to be
   in the viewpoar make the the text under the herop on e line"). Sizes follow the window's height as well as its width. */
@media (min-width:900px){
  /* the second menu row lies over the first 50px; the next section starts below the screen */
  #swebench{padding:calc(50px + clamp(10px,2.4vh,40px)) 0 clamp(16px,3vh,48px);box-sizing:border-box;min-height:calc(100vh - 80px)}
  #swebench .eyebrow{font-size:17px;margin-bottom:8px}
  #swebench #swe-title{font-size:clamp(30px,min(3.6vw,5.6vh),48px);line-height:1.08;margin:0 0 10px}
  #swebench .sub{max-width:none;white-space:nowrap;font-size:clamp(15px,1.4vw,19px);margin:0}
  #swebench .grid{margin-top:clamp(12px,2.4vh,32px);gap:14px}
  #swebench .grid .card{padding:clamp(10px,1.8vh,20px) 20px}
  #swebench .grid .card h4{margin:0 0 4px;font-size:clamp(19px,3vh,26px)}
  #swebench .grid .card p{font-size:15px;line-height:1.35}
  #swebench .tbl{margin:clamp(10px,2vh,24px) 0 0;padding:4px 20px 6px}
  #swebench caption{padding:6px 0;font-size:16px}
  #swebench th,#swebench td{padding-top:clamp(5px,1.1vh,12px);padding-bottom:clamp(5px,1.1vh,12px);font-size:15px;line-height:1.3}
  #swebench thead th{font-size:13px}
}
