/* openrig.ai: the shared stylesheet every page loads, after the OpenRig UI kit (assets/kit/tokens.css, then assets/kit/components.css;
   pinned byte copies, checked by .github/kit-pin/check.mjs). the "No overlines B (arrows)" design on the kit's tokens: a 4px baseline,
   whole pixels, two corner sizes (8px cards, 4px controls), 1px lines drawn as inset shadows, the Helvetica stack with no web fonts, dark
   only. Colours, type, space, corners, focus and the content width all come from the kit's --or-* tokens; there is no second token set here.
   Breakpoints (the kit's): 1200+, 1024-1199, 768-1023, under 768. Secondary pages add assets/launch.css; the home adds assets/motion.css. */

*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--or-base);color:var(--or-text);font:var(--or-body-weight) var(--or-body-size)/var(--or-body-lh) var(--or-sans);-webkit-font-smoothing:antialiased}
h1,h2,h3,p,ol{margin:0}
h1,h2,h3{font-weight:500;color:var(--or-text);text-wrap:balance}
h1{font-size:var(--or-display-size);line-height:var(--or-display-lh);letter-spacing:var(--or-display-track)}
h2{font-size:var(--or-title-size);line-height:var(--or-title-lh);letter-spacing:var(--or-title-track)}
h3{font-size:var(--or-subhead-size);line-height:var(--or-subhead-lh);letter-spacing:var(--or-subhead-track)}
p{color:var(--or-muted);max-width:54ch;text-wrap:pretty}
a{color:var(--or-connect);text-decoration:none}
button{font:inherit}
a,button,summary{touch-action:manipulation}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:var(--or-focus);outline-offset:var(--or-focus-offset)}
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.skip{position:fixed;left:16px;top:-80px;z-index:10;background:var(--or-signal);color:var(--or-on-signal);padding:10px 18px;font:var(--or-button-weight) var(--or-button-size)/var(--or-button-lh) var(--or-sans)}
.skip:focus{top:12px}
.skip:hover{color:var(--or-on-signal)}
.wrap{width:var(--or-wrap);margin:0 auto}

/* Labels: the design system's mono Label (the kit's --or-mono-label). Short facts and states are the kit's .or-chip ("Coming soon" is always
   <span class="or-chip">Coming soon</span>, the neutral chip; the panels' and cards' labels are .or-chip.mono). Orange is for actions only:
   the primary button, plus the kit's focus ring. */
.label,.number,.eyebrow{font:var(--or-mono-label);letter-spacing:var(--or-mono-label-track);text-transform:uppercase}
.label,.eyebrow{color:var(--or-muted)}
.number{color:var(--or-muted)}

/* Buttons are the kit's .or-btn (assets/kit/components.css): primary, secondary, danger, small, the one disabled look and the
   button feel. Arrow links are the kit's .or-arrow; a button that leads on carries the kit's "forward" icon. */
/* The arrow links' type where they stand alone (the kit's .or-arrow sets only colour, the arrow and hover). */
main .or-arrow{font:500 16px/24px var(--or-sans)}
.logo-slot{display:contents}   /* holds a stamped kit logo tile (logos.mjs appLogo) */

/* Links inside running text (paragraphs, list items, table cells): ink, and never told apart by colour alone (WCAG 1.4.1). A link that
   leads somewhere carries the kit's arrow ("Label →", alt-text-empty like .or-arrow's), drawn here because .or-arrow is inline-flex and
   doesn't wrap inside a sentence; this also keeps the legal pages' prose markup as written. An email address in a sentence is the kit's
   .or-link (underlined at rest). Buttons, .or-arrow and .or-link links are left alone. Hover dims the words. */
main :is(p,li,td) a:not(.or-btn):not(.or-arrow):not(.or-link){color:var(--or-text);text-decoration:none;transition:color 80ms ease}
main :is(p,li,td) a:not(.or-btn):not(.or-arrow):not(.or-link):not([href^="mailto:"]):not(:has([aria-hidden="true"]))::after{content:"\00a0→";content:"\00a0→" / ""}
main :is(p,li,td) a:not(.or-btn):not(.or-arrow):not(.or-link):hover{color:var(--or-muted)}

/* Header */
.site-head{box-shadow:var(--or-edge-bottom)}
.head-row{height:var(--or-head);display:flex;justify-content:space-between;align-items:center}
.brand{display:flex;flex-shrink:0;color:var(--or-text)}
.brand .wordmark{display:block;width:var(--or-brand-w);height:auto}
.nav-full{display:flex;align-items:center;gap:28px}
.nav-full a,.nav-compact>a{font-size:var(--or-label-size);line-height:var(--or-label-lh);color:var(--or-muted)}
.nav-full a:hover,.nav-compact>a:hover{color:var(--or-text)}
/* The current page (aria-current): ink with a 2px ink bar under the item; a boxed item gets an ink outline; in the phone menu its divider
   thickens to a 2px ink bar. */
.nav-full a[aria-current="page"],.nav-compact>a[aria-current="page"]{position:relative;color:var(--or-text)}
.nav-full a[aria-current="page"]:not(.nav-box)::after,.nav-compact>a[aria-current="page"]:not(.nav-box)::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;background:var(--or-text)}
.site-head .nav-box[aria-current="page"]{box-shadow:inset 0 0 0 1px var(--or-text)}
.site-head .nav-box{display:inline-flex;align-items:center;gap:var(--or-space-2);color:var(--or-text);padding:8px 14px;border-radius:var(--or-radius-control);box-shadow:var(--or-edge)}
.site-head .nav-contact{padding:8px 16px}
.site-head .nav-box:hover{color:var(--or-text);box-shadow:inset 0 0 0 1px var(--or-muted)}
.nav-compact{display:none;align-items:center;gap:12px}
.nav-compact>.nav-pricing{margin-right:12px}
.menu summary{width:40px;height:40px;display:grid;place-items:center;border-radius:var(--or-radius-control);box-shadow:var(--or-edge);color:var(--or-text);cursor:pointer;list-style:none}
.menu summary::-webkit-details-marker{display:none}
.menu summary:hover{box-shadow:inset 0 0 0 1px var(--or-muted)}
.menu .icon-close,.menu[open] .icon-open{display:none}
.menu[open] .icon-close{display:inline-flex}
.menu-panel{position:fixed;left:0;right:0;bottom:0;top:var(--or-head);z-index:5;overflow-y:auto;background:var(--or-base)}
.menu-panel .wrap{display:flex;flex-direction:column;padding:8px 0 40px}
.menu-panel a{display:flex;justify-content:space-between;align-items:center;padding:16px 0;font-size:17px;line-height:24px;color:var(--or-text);box-shadow:var(--or-edge-bottom)}
.menu-panel a[aria-current="page"]{box-shadow:inset 0 -2px 0 var(--or-text)}
.menu-panel .menu-contact{display:flex;justify-content:center;width:100%;margin-top:32px;padding:12px 10px;font-size:var(--or-button-size);box-shadow:var(--or-edge)}
.menu-panel .menu-mail{display:block;margin-top:24px;padding:0;font-size:var(--or-caption-size);line-height:var(--or-caption-lh);color:var(--or-muted);box-shadow:none}

/* Hero */
.hero{padding:96px 0 76px;display:flex;justify-content:space-between;align-items:center}
.hero-copy{width:626px;display:flex;flex-direction:column;padding-bottom:8px}
h1 .dim{color:var(--or-dim)}
.hero-lead{margin-top:28px;font-size:20px;line-height:26px;max-width:min(600px,54ch)}
.actions{margin-top:32px;height:80px;display:flex;align-items:center;gap:24px}
.actions .or-btn{flex-shrink:0}
.fine-print{margin-top:40px;display:flex;flex-direction:column}
.fine-print p{font-size:var(--or-micro-size);line-height:var(--or-micro-lh)}
.fine-print p:first-child{width:440px;max-width:none}

/* Panels are the kit's .or-card: the illustrated exchange (home .exchange, network's .conversation) and the worked example (home
   .example, hosted team's .work-example) keep their class names for layout and motion hooks. The agents' tiles are the kit's logo tiles. */
.exchange{width:444px;flex-shrink:0}
.panel-head,.exchange-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:20px;box-shadow:var(--or-edge-bottom)}
.exchange .mx-stack{margin-top:24px}
.agent,.assistant-label{display:flex;align-items:center;gap:8px;font:600 14px/24px var(--or-sans);color:var(--or-text)}
.bubble,.message{margin:12px 0 0 36px;padding:16px;border-radius:var(--or-radius-control);background:var(--or-base);box-shadow:var(--or-edge)}
.bubble p,.message{font-size:15px;line-height:24px;color:var(--or-text)}
.bubble .returned,.message small{display:block;padding-top:8px;font-size:var(--or-micro-size);line-height:var(--or-micro-lh);color:var(--or-muted)}
.mx-typing .bubble{width:72px;height:56px;display:flex;align-items:center;gap:6px}
.mx-item .mx-item .bubble{margin-top:0}
.mx-typing{margin-top:12px}
.route{padding:20px 0}
.route-line{margin-left:36px;display:flex;align-items:center;gap:12px;font:400 12px/20px var(--or-mono);color:var(--or-muted)}
.mx-line{display:inline-block;width:1px;height:28px;background:var(--or-line)}
.panel-note,.exchange-note{margin-top:20px;padding-top:16px;max-width:none;font-size:var(--or-micro-size);line-height:var(--or-micro-lh);box-shadow:inset 0 1px 0 var(--or-line)}

/* Trust strip */
.trust-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));box-shadow:inset 0 1px 0 var(--or-line),var(--or-edge-bottom)}
.trust-strip>div{display:flex;flex-direction:column;gap:4px;padding:24px 28px;box-shadow:inset -1px 0 0 var(--or-line)}
.trust-strip>div:first-child{padding-left:0}
.trust-strip>div:last-child{box-shadow:none}
.trust-strip strong{font-size:var(--or-data-size);line-height:var(--or-data-lh);font-weight:500;color:var(--or-text)}
.trust-strip span{font-size:var(--or-label-size);line-height:var(--or-label-lh);color:var(--or-muted)}

/* Sections */
.section{padding:var(--or-space-10) 0;box-shadow:var(--or-edge-bottom)}
.section-head{display:flex;justify-content:space-between;gap:50px}
.section-head p{width:430px;flex-shrink:0}
.steps{margin-top:80px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px}
.steps article{display:flex;flex-direction:column}
.step-text{margin-top:24px;display:flex;flex-direction:column}
.step-text p{margin-top:12px;font-size:16px;line-height:24px}
.steps-note{margin:36px 0;font-size:var(--or-label-size);line-height:var(--or-label-lh);max-width:min(564px,54ch)}
.steps-note+div,.team-copy>div{display:flex}

.team{display:flex;justify-content:space-between;align-items:center}
.team-copy{width:529px;display:flex;flex-direction:column;padding-bottom:4px}
.team-copy>*+*{margin-top:24px}
.section-lead{font-size:21px;line-height:32px}
.inline-note{font-size:var(--or-label-size);line-height:var(--or-label-lh);border-left:2px solid var(--or-text);padding-left:16px}
.example,.work-example{padding:0;overflow:hidden}
.example{width:529px;flex-shrink:0}
.example-head,.work-example header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px;box-shadow:var(--or-edge-bottom)}
.example-head strong,.work-example header strong{font-size:15px;line-height:24px;font-weight:500}
.example ol,.work-example ol{list-style:none;margin:0;padding:4px 24px}
.example li{display:flex;gap:12px;padding:16px 0}
.example-num{width:24px;flex-shrink:0;font-size:var(--or-micro-size);line-height:var(--or-micro-lh);color:var(--or-muted)}
.example li>div{display:flex;flex-direction:column;gap:4px;font-size:14px;line-height:20px}
.example li strong{font-weight:500;color:var(--or-text)}
.example li span:not(.example-num):not(.example-rule){color:var(--or-muted)}
.panel-foot,.work-example footer{max-width:none;padding:20px 24px;font-size:var(--or-micro-size);line-height:var(--or-micro-lh);color:var(--or-muted);box-shadow:inset 0 1px 0 var(--or-line)}

.community{display:grid;grid-template-columns:554px 504px;gap:70px}
.community-copy{display:flex;flex-direction:column}
.community-copy>*+*{margin-top:24px}
.p-500{max-width:min(500px,54ch)}
.p-524{max-width:min(524px,54ch)}
p.small{font-size:var(--or-label-size);line-height:var(--or-label-lh)}
/* The community list: stacked large arrow links (.or-arrow), the label left and the kit's arrow pinned right. */
.community-links{display:flex;flex-direction:column;justify-content:center;gap:64px;padding-left:40px;box-shadow:inset 1px 0 0 var(--or-line)}
.community-links a.or-arrow{display:flex;justify-content:space-between;align-items:center;gap:var(--or-space-4);font:400 18px/28px var(--or-sans)}
.community-links a>span:first-child{display:inline-flex;flex-wrap:wrap;align-items:center;gap:var(--or-space-2)}

/* Offer card: ONE source for the home page's pricing section and the pricing page, which carry identical markup:
   <article class="offer or-card"><div><span class="or-chip …">…</span></div><h3>…</h3><p class="price">$10<span class="price-unit">/month</span></p>
   [<p class="price-note">…</p>]<p class="offer-text">…</p><a|button class="or-btn …">…</a|button>[<a class="offer-more">…</a>]</article> */
.pricing-lead{margin-top:24px;max-width:min(740px,54ch)}
.offers{margin-top:40px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.offer{display:flex;flex-direction:column;padding:28px 24px}
.offer .tag-spacer{visibility:hidden}
.offer h3{margin-top:16px;font-size:21px;line-height:28px}
.price{margin-top:12px;font-size:var(--or-numeral-size);line-height:var(--or-numeral-lh);font-weight:var(--or-numeral-weight);letter-spacing:var(--or-numeral-track);color:var(--or-text);white-space:nowrap}
.price-unit{font-size:15px;letter-spacing:0;color:var(--or-muted)}
.offer .price-note{margin-top:8px;font-size:var(--or-caption-size);line-height:18px;opacity:.8}
.offer-text{margin-top:24px;flex:1;font-size:var(--or-label-size);line-height:var(--or-label-lh)}
.offer .or-btn{margin-top:24px;width:100%;padding-left:10px;padding-right:10px;font-size:14px}
.offer .offer-more{display:block;margin-top:14px;text-align:center;font:500 14px/20px var(--or-sans);color:var(--or-text)}
.offer .offer-more:hover{color:var(--or-muted)}
.signup-note{margin-top:24px;font-size:var(--or-label-size);line-height:var(--or-label-lh)}
/* The legal links row: the kit's arrow links at the small size, no underline. */
.policy-links{margin-top:24px;display:flex;flex-wrap:wrap;column-gap:24px;row-gap:8px}
.policy-links a.or-arrow{font:400 var(--or-label-size)/var(--or-label-lh) var(--or-sans)}

.data-summary{display:flex;justify-content:space-between;align-items:center;gap:40px}
.data-summary h2+p{margin-top:24px;max-width:min(650px,54ch)}

/* Footer */
.site-foot{padding:40px 0 44px}
.foot-row{display:flex;justify-content:space-between;align-items:center}
.site-foot .brand .wordmark{width:108px;opacity:.75}
.site-foot nav{display:flex;flex-wrap:wrap;gap:24px}
.site-foot nav a,.operator{font-size:var(--or-caption-size);line-height:var(--or-caption-lh);color:var(--or-muted)}
.site-foot nav a:hover{color:var(--or-text)}
.operator{margin-top:20px}

/* 1024-1199 (type, the content width and section padding step down in the kit's tokens) */
@media (max-width:1199px){
.hero{padding:80px 0 72px;align-items:flex-start;gap:40px}
.hero-copy{width:528px;flex-shrink:0;margin-top:-8px;padding-bottom:0}
.hero-lead{line-height:28px}
.fine-print p:first-child{width:auto;max-width:54ch}
.exchange{width:360px}
.section-head{gap:48px}
.section-head p{width:380px}
.steps{margin-top:64px;gap:32px}
.team-copy,.example{width:440px}
.team-copy{padding-bottom:0}
.section-lead{font-size:20px;line-height:28px}
.community{grid-template-columns:minmax(0,1fr) 380px;gap:48px}
.community-links{gap:48px}
.offers{grid-template-columns:repeat(2,minmax(0,1fr))}
.price-unit{line-height:0}
.data-summary h2+p{max-width:min(560px,54ch)}
}

/* 768-1023 */
@media (max-width:1023px){
.nav-full{display:none}
.nav-compact{display:flex}
.hero{padding:64px 0;flex-direction:column;align-items:stretch;gap:56px}
.hero-copy{width:100%;margin-top:0}
.hero-lead{font-size:19px}
.exchange{width:100%}
.trust-strip>div{padding:24px 20px}
.section-head{flex-direction:column;gap:24px}
.section-head p{width:auto;max-width:min(560px,54ch)}
.steps{margin-top:56px;display:flex;flex-direction:column;gap:0}
.steps article{display:grid;grid-template-columns:160px minmax(0,1fr);gap:24px;padding:24px 0;box-shadow:inset 0 1px 0 var(--or-line)}
.step-label{padding-top:8px}
.step-text{margin-top:0;max-width:480px}
.team{flex-direction:column;align-items:stretch;gap:56px}
.team-copy,.example{width:100%;padding-bottom:0}
.section-lead{font-size:19px}
.community{grid-template-columns:minmax(0,1fr);gap:56px}
.community-links{gap:0;padding-left:0;box-shadow:inset 0 1px 0 var(--or-line)}
.community-links a.or-arrow{padding:20px 0;box-shadow:var(--or-edge-bottom)}
.data-summary{flex-direction:column;align-items:flex-start;gap:32px}
body:has(.menu[open]){overflow:hidden}
body:has(.menu[open]) main,body:has(.menu[open]) .site-foot,body:has(.menu[open]) .skip{visibility:hidden}
}

/* Under 768 (drawn at 390, fluid to 320) */
@media (max-width:767px){
.site-foot .brand .wordmark{width:108px}
.nav-compact>.nav-pricing{margin-right:8px}
.site-head .nav-contact-mid{display:none}
.hero{padding:48px 0 56px;gap:40px}
.hero-lead{margin-top:20px;font-size:18px;line-height:28px}
.actions{height:auto;flex-direction:column;align-items:stretch;gap:16px}
.actions .or-btn{width:100%;padding-left:10px;padding-right:10px}
.fine-print{margin-top:32px}
.exchange{padding:20px}
.trust-strip{display:flex;flex-direction:column}
.trust-strip>div,.trust-strip>div:first-child{padding:16px 0;box-shadow:var(--or-edge-bottom)}
.trust-strip>div:last-child{box-shadow:none}
.steps{margin-top:40px;gap:32px}
.steps article{display:flex;flex-direction:column;gap:0;padding:0;box-shadow:none}
.step-label{padding-top:0}
.step-text{margin-top:12px}
.step-text p{margin-top:8px;font-size:15px}
.steps-note{margin:32px 0}
.team{gap:40px}
.section-lead{font-size:18px;line-height:28px}
.example-head,.work-example header,.panel-foot,.work-example footer{padding:20px}
.example ol,.work-example ol{padding:4px 20px}
.community{gap:40px}
.community-links a.or-arrow{padding:16px 0;font-size:17px;line-height:24px}
.offers{margin-top:32px;grid-template-columns:1fr;gap:12px}
.offer{padding:24px 20px}
.price{letter-spacing:-1px}
.offer-text{margin-top:16px}
.policy-links{margin-top:16px}
.data-summary>div:last-child{width:100%}
.data-summary .or-btn{width:100%;padding-left:10px;padding-right:10px}
.foot-row{flex-direction:column;align-items:flex-start;gap:18px}
.site-foot nav{column-gap:20px;row-gap:0}
.site-foot nav a{padding:12px 0}
.operator{margin-top:16px}
}
/* The note under the signup buttons: one row of two checked items; stacked on phones. */
.checks{list-style:none;margin:20px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px 24px;font-size:13px;line-height:20px;color:var(--or-muted)}
.checks li{display:inline-flex;align-items:center;gap:6px}
.checks li::before{content:"✓";color:var(--or-ok);font-weight:600}
.close-cta .checks{justify-content:center;margin-top:0}
@media (max-width:767px){.checks{flex-direction:column;align-items:flex-start;gap:2px}.close-cta .checks{align-items:center}}

/* ---- Navigation ----
   The top bar: Product ▾ (a disclosure: a button with aria-expanded and aria-controls, the panel a small kit card with an icon and one line
   per product; assets/menu.js opens it, and Escape or a click outside closes it), Altitude, Example and Pricing on the left; Open source,
   Contact and the orange "Connect your chats" on the right. Under 1024 the same items sit in the phone menu, with Product's four expanded.
   (/ycwinter2027 keeps the older bar; the rules above still draw it.) */
.nav-split{flex:1;justify-content:space-between;margin-left:56px}
.nav-group{display:flex;align-items:center;gap:28px}
.nav-product{position:relative}
.nav-product-btn{appearance:none;margin:0;padding:0;border:0;background:none;display:inline-flex;align-items:center;gap:4px;font-size:var(--or-label-size);line-height:var(--or-label-lh);color:var(--or-muted);cursor:pointer}
.nav-product-btn:hover,.nav-product-btn[aria-expanded="true"]{color:var(--or-text)}
.nav-product-btn .or-icon{transition:transform 80ms ease}
.nav-product-btn[aria-expanded="true"] .or-icon{transform:rotate(180deg)}
.nav-product-btn.is-current{position:relative;color:var(--or-text)}
.nav-product-btn.is-current::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;background:var(--or-text)}
.product-panel{position:absolute;top:calc(100% + 16px);left:-20px;z-index:20;width:424px;padding:8px;background:var(--or-raised)}
.product-panel[hidden]{display:none}
.pp-list{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.nav-full .product-panel a{display:flex;align-items:flex-start;gap:14px;padding:12px;border-radius:var(--or-radius-control);color:var(--or-text)}
.nav-full .product-panel a:hover{background:var(--or-panel);color:var(--or-text)}
.nav-full .product-panel a[aria-current="page"]{background:var(--or-panel);box-shadow:inset 0 0 0 1px var(--or-line)}
.nav-full .product-panel a[aria-current="page"]::after{content:none}
.pp-ico{flex:none;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--or-radius-control);box-shadow:var(--or-edge);color:var(--or-text)}
.pp-text{display:flex;flex-direction:column;min-width:0}
.pp-name{display:inline-flex;align-items:center;gap:8px;font:500 15px/22px var(--or-sans);color:var(--or-text)}
.pp-line{font-size:var(--or-caption-size);line-height:var(--or-caption-lh);color:var(--or-muted)}
.site-head .nav-cta{flex-shrink:0}
.site-head .nav-cta-mid{flex-shrink:0;margin-right:4px}
.menu-panel .menu-label{margin:16px 0 4px;font:var(--or-mono-label);letter-spacing:var(--or-mono-label-track);text-transform:uppercase;color:var(--or-dim)}
.menu-panel a.menu-product{justify-content:flex-start;align-items:flex-start;gap:14px;padding:14px 0}
.menu-panel .menu-product .pp-name{font-size:17px;line-height:24px}
.menu-panel .menu-product .pp-line{font-size:14px;line-height:20px}
.menu-panel .menu-cta{display:flex;justify-content:center;width:100%;margin-top:32px;padding:12px 10px;font-size:var(--or-button-size)}
@media (prefers-reduced-motion:reduce){.nav-product-btn .or-icon{transition:none}}
@media (max-width:1199px){.nav-split{margin-left:40px}.nav-group{gap:22px}}
@media (max-width:767px){.site-head .nav-cta-mid{display:none}}

/* The footer: every page, in the spec's groups (Product, Learn, Company, Open source). */
.foot-map{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3fr);gap:48px;align-items:start}
.site-foot .foot-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px}
.foot-head{font:500 var(--or-caption-size)/var(--or-caption-lh) var(--or-sans);letter-spacing:0;color:var(--or-text)}
.foot-group ul{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}
.site-foot .foot-groups a{display:inline-flex;align-items:center;gap:8px}
.site-foot .foot-groups a[aria-current="page"]{color:var(--or-text)}
.site-foot .foot-map+.operator{margin-top:40px}
@media (max-width:1023px){.foot-map{grid-template-columns:minmax(0,1fr);gap:32px}}
@media (max-width:767px){.site-foot .foot-groups{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:32px}.foot-group ul{gap:0}.site-foot .foot-groups a{padding:8px 0}.site-foot .foot-map+.operator{margin-top:32px}}

/* "Next": the card at the end of each chapter page (Home → Network → Studio → Rigs → Altitude → Glazeyard → Hosted → Start), with the
   chapter's place as a small chip ("3 of 8"). The whole card is the link. */
.next-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin:var(--or-space-10) 0;padding:28px 32px;color:var(--or-text);transition:box-shadow 80ms ease}
.next-card:hover{color:var(--or-text);box-shadow:inset 0 0 0 1px var(--or-muted)}
.next-line{font:500 22px/30px var(--or-sans);color:var(--or-muted);text-wrap:pretty}
.next-name{color:var(--or-text)}
.next-line::after{content:"\00a0→";content:"\00a0→" / "";color:var(--or-text)}
@media (prefers-reduced-motion:reduce){.next-card{transition:none}}
@media (max-width:767px){.next-card{padding:24px 20px}.next-line{font-size:19px;line-height:28px}}

/* Long pages (Altitude, Studio, Network, Rigs): a slim contents list on the left at desktop widths (1200+), sticky by CSS alone; menu.js
   fills it from the page's own section headings and marks the one in view. Hidden below 1200 and without script. The page beside it is
   928 wide, the 1024-1199 layout (and its section-title size): the story demos keep their 620 column, since they draw their phone layout
   under 600. */
.page-toc{display:none}
@media (min-width:1200px){
.toc-layout{display:grid;grid-template-columns:160px minmax(0,1fr);column-gap:40px;align-items:start;--or-title-size:40px;--or-title-lh:44px;--or-title-track:-1px}
.toc-layout>main{min-width:0}
.page-toc:not(:empty){display:block;position:sticky;top:32px;margin-top:104px;max-height:calc(100vh - 64px);overflow-y:auto}
.page-toc ol{list-style:none;margin:0;padding:0;box-shadow:inset 1px 0 0 var(--or-line)}
.page-toc a{display:block;padding:6px 0 6px 16px;font-size:var(--or-caption-size);line-height:18px;color:var(--or-muted)}
.page-toc a:hover{color:var(--or-text)}
.page-toc a[aria-current="true"]{color:var(--or-text);box-shadow:inset 2px 0 0 var(--or-text)}
}

/* Keep a hyphenated word together where a line would otherwise break at its hyphen. */
.nowrap{white-space:nowrap}
