/* altusairtech.com — the shared stylesheet for the home, features and Google pages (spec 2026-11-15-website-rework).
   Built from the approved prototype (docs/prototypes/2026-11-15-website/), made production-grade:
   - tokens are the app's Refreshed palette (frontend/src/tokens.css data-palette="refresh");
   - motion is an enhancement: .rv hides only under html.motion, which the inline head script adds (never for reduced
     motion) and takes off after 2.5 s if altus.js never runs;
   - phones and small tablets (< 62rem) get their own layout, not the desktop page squeezed. */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('/assets/archivo-var.woff2') format('woff2'); }
@font-face { font-family: 'Plex Mono'; font-weight: 400; font-display: swap; src: url('/assets/fonts/plex-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'Plex Mono'; font-weight: 500; font-display: swap; src: url('/assets/fonts/plex-mono-500.woff2') format('woff2'); }

:root {
  /* light surfaces: cool grey with white cards, ink letters */
  --paper: #f5f6f8; --paper-2: #eef0f3; --card: #ffffff;
  --ink: #0c0d10; --ink-2: #3d424c; --ink-3: #5c616b;
  --line: rgba(12, 14, 20, .09); --line-2: rgba(12, 14, 20, .16);
  /* graphite */
  --night: #0c0d0f; --night-1: #111214; --night-2: #17181b; --night-3: #1d1e22;
  --on-night: #f1f2f4; --on-night-2: #8b909a; --on-night-3: #a3a7b0;
  /* primary fill with black letters; accent text */
  --blue-fill: #5b9bff; --blue-fill-hi: #79adff; --blue: #1f4fc4; --blue-hi: #6b9cf5; --blue-tint: #e3ecfd;
  --green: #16a34a; --green-hi: #22c55e; --amber: #d97706; --amber-hi: #f59e0b; --red: #dc2626; --violet-hi: #a78bfa;
  --r: 14px; --max: 1240px;
  --mono: 'Plex Mono', ui-monospace, Menlo, monospace;
  --sans: 'Archivo', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-fill); outline-offset: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--card); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--mono); }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 10px; margin: 0; }
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: var(--blue); flex: none; }
.night .eyebrow { color: var(--on-night-2); }
h1, h2, h3 { font-stretch: 92%; letter-spacing: -.025em; margin: 0; }
h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.02; font-weight: 750; }
.mt { margin-top: 18px; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 620px; margin: 18px 0 0; }
.night .lede { color: var(--on-night-2); }

.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 10px; font-weight: 650; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue-fill); color: #0c0d10; box-shadow: 0 8px 24px -10px #5b9bffaa; }
.btn-primary:hover { background: var(--blue-fill-hi); }
.btn-ghost { border-color: var(--line-2); background: #ffffff80; }
.night .btn-ghost { border-color: #ffffff33; background: transparent; color: var(--on-night); }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }

/* ───── nav: the floating island ───── */
.nav { position: fixed; top: 16px; left: 50%; z-index: 50; transform: translateX(-50%); width: min(calc(100% - 32px), 1120px); background: rgba(17, 18, 20, .66); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border-radius: 999px; box-shadow: inset 0 0 0 1px #ffffff2b, inset 0 1px 0 #ffffff14, 0 20px 50px -20px rgba(0, 0, 0, .8); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.nav.hide { transform: translate(-50%, -150%); }
.nav .wrap { max-width: none; display: flex; align-items: center; gap: 8px; height: 68px; padding: 0 8px 0 26px; }
.nav .brand { display: flex; align-items: center; margin-right: 22px; color: #fff; }
.nav .brand svg { height: 48px; width: auto; }
.menu { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 0; background: none; border-radius: 999px; font-size: 14.5px; font-weight: 550; color: #c4c7cd; cursor: pointer; }
.menu > li > a:hover, .menu > li > button:hover, .menu > li.open > button { background: #ffffff12; color: #fff; }
.menu .chev { width: 9px; height: 9px; transition: transform .2s; }
.menu > li.open .chev { transform: rotate(180deg); }
.nav .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav .signin { font-size: 15px; font-weight: 550; color: #c4c7cd; border-radius: 999px; padding: 10px 12px; }
.nav .signin:hover { color: #fff; background: #ffffff0f; }
.nav .btn { height: 48px; border-radius: 999px; padding: 0 6px 0 20px; background: #f0f0f5; color: #0a0a10; gap: 12px; font-size: 14px; box-shadow: 0 0 0 1px #ffffff30, 0 12px 40px -12px rgba(143, 192, 255, .6); }
.nav .btn:hover { background: #fff; box-shadow: 0 0 0 1px #ffffff50, 0 16px 60px -12px rgba(143, 192, 255, .8); }
.nav .btn .ico { width: 36px; height: 36px; border-radius: 50%; background: #0a0a10; color: #f0f0f5; display: grid; place-items: center; }
.nav .btn .ico svg { width: 13px; height: 13px; }
/* mega menus: open on .open (altus.js: click, hover, keyboard); with no JS, on hover and on focus inside */
.mega { position: absolute; top: 58px; left: -12px; background: var(--card); color: var(--ink); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 30px 60px -20px #0c0d1040, 0 2px 6px #0c0d100d; padding: 14px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; display: grid; gap: 4px; }
.menu > li.open .mega { opacity: 1; visibility: visible; transform: none; }
html:not(.js) .menu > li:hover .mega, html:not(.js) .menu > li:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega.product { width: 720px; grid-template-columns: 1fr 1fr 230px; }
.mega.roles { width: 520px; grid-template-columns: 1fr 1fr; }
.mi { display: flex; gap: 12px; padding: 12px; border-radius: 10px; }
.mi:hover, .mi:focus-visible { background: var(--paper); }
.mi .ic { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; }
.mi .ic svg { width: 18px; height: 18px; }
.mi b { display: block; font-size: 14.5px; font-weight: 650; }
.mi span span { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.mega .feature { grid-row: span 3; background: var(--night); color: var(--on-night); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.mega .feature b { display: block; font-size: 16px; }
.mega .feature span span { display: block; font-size: 13px; color: var(--on-night-2); margin-top: 6px; }
.mega .feature .go { font: 500 12px/1 var(--mono); color: var(--blue-hi); margin-top: 14px; }
.mega .feature .glow { position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(#4f8ef755, transparent 70%); }

/* ───── sections ───── */
section { padding: 120px 0; }
.cv { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 56px; }
.head .lede { margin: 0; }
.night { background: var(--night); color: var(--on-night); }

/* ───── hero (home) ───── */
.hero { position: relative; overflow: hidden; padding: 176px 0 110px; background: var(--night); color: var(--on-night); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 35% at 50% 18%, rgba(255, 255, 255, .05), transparent 70%), radial-gradient(30% 30% at 85% 60%, rgba(107, 156, 245, .06), transparent 70%); pointer-events: none; }
.map-wrap { position: absolute; left: 50%; top: 50%; width: max(90vw, calc(var(--hero-h, 100vh) * 1.18)); transform: translate(-50%, -50%); aspect-ratio: 1000 / 700; pointer-events: none; opacity: .95; z-index: 0; }
.map-wrap canvas { width: 100%; height: 100%; display: block; }
.map-wrap::after { content: ""; position: absolute; inset: 0; background: radial-gradient(62% 60% at 50% 46%, transparent 34%, var(--night) 88%), linear-gradient(90deg, var(--night) 0%, transparent 12%, transparent 88%, var(--night) 100%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--on-night-2); }
.hero h1 { font-size: clamp(46px, 5.6vw, 80px); line-height: .96; font-weight: 780; font-stretch: 88%; margin: 22px 0 0; color: #f0f0f5; }
.hero h1 .soft { color: var(--on-night-2); }
.hero .lede { font-size: 19px; color: var(--on-night-3); }
.hero .ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero .btn-ghost { border-color: #ffffff33; background: #ffffff08; color: #f0f0f5; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid #ffffff1f; font-size: 14px; color: #c4c7cd; list-style: none; }
.hero .facts li { display: flex; align-items: center; gap: 8px; }
.hero .facts svg { width: 15px; height: 15px; color: var(--green-hi); }

.stage { position: relative; height: 560px; }
.board { position: absolute; left: 0; right: 0; top: 20px; color: var(--on-night); border-radius: 18px; overflow: hidden; background: #17181bcc; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 50px 90px -30px #000, 0 0 0 1px #ffffff1c, 0 0 80px -20px #6b9cf522; }
.board-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #ffffff12; }
.board-top b { font-size: 15px; font-weight: 650; }
.board-top .live { font: 500 11.5px/1 var(--mono); color: var(--green-hi); display: flex; gap: 7px; align-items: center; letter-spacing: .06em; }
.board-top .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green-hi); box-shadow: 0 0 0 0 #22c55e88; animation: pulse 1.8s infinite; }
.board.paused .live i { animation: none; background: var(--on-night-2); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px #22c55e00; } 100% { box-shadow: 0 0 0 0 #22c55e00; } }
.pause { margin-left: 8px; background: #ffffff14; border: 0; color: #c4c7cd; border-radius: 5px; font-size: 9px; min-width: 24px; height: 22px; cursor: pointer; display: grid; place-items: center; }
.pause:hover { background: #ffffff26; }
.pause svg { width: 10px; height: 10px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid #ffffff12; margin: 0; }
.kpis div { padding: 12px 20px; border-right: 1px solid #ffffff12; }
.kpis div:last-child { border-right: 0; }
.kpis dt { font: 500 10.5px/1.2 var(--mono); letter-spacing: .08em; color: var(--on-night-2); text-transform: uppercase; }
.kpis dd { margin: 4px 0 0; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.legs { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.legs th { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-night-2); text-align: left; padding: 12px 20px 8px; }
.legs td { padding: 11px 20px; border-top: 1px solid #ffffff0d; font-variant-numeric: tabular-nums; white-space: nowrap; }
.legs td.tail { font-family: var(--mono); font-weight: 500; color: #fff; }
.legs td.route { font-family: var(--mono); color: #dfe4ee; }
.legs td.muted, .legs .muted { color: var(--on-night-2); }
.legs tr { transition: background .4s; }
.legs tr.flash { background: #22c55e14; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); letter-spacing: .05em; padding: 5px 8px; border-radius: 6px; text-transform: uppercase; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.s-air { color: var(--green-hi); background: #22c55e1a; }
.s-rel { color: var(--violet-hi); background: #a78bfa1f; }
.s-book { color: #c2c8d6; background: #ffffff12; }
.s-land { color: #7fd8cb; background: #7fd8cb1a; }
.track { position: relative; height: 4px; border-radius: 2px; background: #ffffff14; width: 110px; display: inline-block; vertical-align: middle; }
.track b { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--green-hi); }
.track span { position: absolute; top: 0; }
.track svg { position: absolute; top: -6px; width: 16px; height: 16px; margin-left: -8px; color: #fff; transform: rotate(90deg); }
.float { position: absolute; background: var(--card); color: var(--ink); border-radius: 14px; box-shadow: 0 30px 60px -18px #0c0d1055, 0 0 0 1px var(--line); padding: 14px 16px; font-size: 13.5px; }
.float.release { right: -18px; bottom: -30px; width: 286px; }
.float.release h3 { margin: 0 0 10px; font-size: 14px; letter-spacing: 0; display: flex; justify-content: space-between; align-items: center; }
.float.release h3 span { font: 500 11px/1 var(--mono); color: var(--ink-3); }
.ck { display: flex; align-items: center; gap: 9px; padding: 6px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.ck svg { flex: none; width: 16px; height: 16px; }
.ck .ok { color: var(--green); } .ck .warn { color: var(--amber); }
.ck em { font-style: normal; margin-left: auto; font: 500 11.5px/1 var(--mono); color: var(--ink-3); }
.float.push { left: -26px; bottom: -4px; width: 270px; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; }
.float.push .app { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--night); display: grid; place-items: center; color: #fff; }
.float.push .app svg { height: 12px; width: auto; }
.float.push b { display: block; font-size: 13.5px; }
.float.push span span { color: var(--ink-3); font-size: 13px; line-height: 1.35; display: block; }
.float.push small { font: 500 10.5px/1 var(--mono); color: var(--ink-3); margin-left: auto; }

/* ───── the problem (home) ─────
   Static by default: the headline, the tools as struck-through tags, then the one trip record. altus.js adds .pinned
   at >= 62rem with motion and GSAP, and plays the scene once it is mostly in view. */
.mess { background: var(--night); color: var(--on-night); overflow: hidden; padding: 0; position: relative; }
.mess-inner { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; padding: 110px 0 80px; }
.mess-copy { position: relative; z-index: 3; text-align: center; max-width: 62rem; padding: 0 24px; order: 1; }
.mess-copy .eyebrow { justify-content: center; color: var(--on-night-2); }
.mess-copy h2 { margin-top: 20px; font-size: clamp(36px, 5.4vw, 76px); line-height: 1; color: var(--on-night); }
.mess-copy .lede { margin: 22px auto 0; color: var(--on-night-3); text-align: center; }
.mchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; order: 2; margin: 28px 24px 0; padding: 0; list-style: none; pointer-events: none; }
.mchip { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 12px; background: rgba(29, 30, 34, .9); box-shadow: inset 0 0 0 1px #ffffff1c, 0 20px 40px -20px rgba(0, 0, 0, .8); font: 500 12.5px/1 var(--mono); color: var(--on-night-3); white-space: nowrap; transform: rotate(var(--r)); text-decoration: line-through; text-decoration-color: rgba(239, 68, 68, .7); }
.mchip b { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.one-wrap { order: 3; position: relative; z-index: 2; width: min(calc(100% - 48px), 46rem); margin-top: 32px; }
.one-cap { display: none; margin: 0 0 22px; text-align: center; font-size: clamp(26px, 3vw, 38px); font-weight: 650; letter-spacing: -.03em; line-height: 1.1; color: var(--on-night); }
.one { background: var(--night-2); border-radius: 18px; padding: 8px 22px 10px; box-shadow: inset 0 0 0 1px #ffffff17, 0 40px 80px -30px #000; }
.one-head { display: flex; align-items: center; gap: 10px; font-weight: 650; padding: 14px 0 12px; margin: 0; border-bottom: 1px solid #ffffff12; color: var(--on-night); }
.one-head svg { height: 18px; width: auto; fill: var(--on-night); flex: none; }
.one-head em { margin-left: auto; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; color: var(--on-night-2); font-style: normal; }
.one-row { display: grid; grid-template-columns: 10px 190px 1fr 96px 70px; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid #ffffff10; font-size: 14.5px; color: #d7d9de; }
.one-head + .one-row { border-top: 0; }
.one-row b { width: 9px; height: 9px; border-radius: 2px; background: var(--c); }
.one-row .was { font: 500 11.5px/1.2 var(--mono); color: #6d717a; text-decoration: line-through; text-decoration-color: #ef444499; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.one-row .now { color: #e6e7ea; font-size: 14.5px; }
.one-row .dept { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-night-2); }
.one-row .st { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-align: right; }
.st.ok, .ok { color: var(--green-hi); }
.st.warn { color: var(--amber-hi); }
.replay { position: absolute; right: 28px; bottom: 24px; z-index: 5; background: #ffffff10; border: 1px solid #ffffff22; color: #c4c7cd; border-radius: 999px; padding: 8px 14px; font: 500 12px/1 var(--mono); cursor: pointer; }
.replay:hover { background: #ffffff1c; color: #fff; }
@media (min-width: 62rem) {
  .mess.pinned .mess-inner { min-height: 100vh; display: grid; place-items: center; padding: 0; }
  .mess.pinned .mess-inner > * { grid-area: 1 / 1; }
  .mess.pinned .mchips { display: block; position: absolute; inset: 0; margin: 0; }
  .mess.pinned .mchip { position: absolute; left: 50%; top: 50%; text-decoration: none; transform: none; }
  .mess.pinned .one-wrap { position: absolute; left: 50%; top: 50%; margin: 0; }
  .mess.pinned .one-cap { display: block; }
}

/* ───── what Altus runs (home) ───── */
.mods-sec { background: var(--paper); }
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mod { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; min-height: 200px; }
.mod:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(12, 14, 20, .35); border-color: var(--line-2); }
.mod .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.mod .ic svg { width: 20px; height: 20px; }
.mod b { font-size: 19px; font-weight: 680; letter-spacing: -.01em; }
.mod .d { color: var(--ink-2); margin-top: 6px; font-size: 15px; line-height: 1.5; }
.mod .go { margin-top: auto; padding-top: 18px; font: 500 12.5px/1 var(--mono); color: var(--blue); }
.head .btn-ghost { margin-top: 22px; }

/* ───── devices (home) — Apple's official product bezels, used unmodified (spec §5) ─────
   The screenshot sits UNDER the frame PNG, inside its measured screen opening (the same numbers as
   site/media/shots/slots.json "frames"; siteContract.test.js compares them). No reflection, shadow or recolour is
   added to the frames. */
.devices { background: linear-gradient(180deg, var(--paper) 0%, #c3cfdb 22%, #d5dde6 66%, #e9edf1 79.4%, #f7f8fa 79.6%, #ffffff 100%); border-top: 1px solid var(--line); overflow: hidden; }
.devices .head { margin-bottom: 24px; }
.dstage { position: relative; width: 100%; max-width: 1160px; margin: 0 auto; aspect-ratio: 1160 / 740; }
.af { position: absolute; isolation: isolate; margin: 0; }
.af .frame { position: relative; z-index: 2; width: 100%; height: auto; display: block; pointer-events: none; }
.af .screen { position: absolute; z-index: 1; overflow: hidden; background: #000; }
.af .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.af.imac { z-index: 1; left: 20%; bottom: 4%; width: 57%; }
.af.imac .screen { left: 2.941%; top: 3.704%; width: 94.118%; height: 62.222%; }
.af.ipad { z-index: 2; right: 0; bottom: 3%; width: 31%; }
.af.ipad .screen { left: 4.133%; top: 5.130%; width: 91.733%; height: 89.739%; border-radius: 2.2% / 2.9%; }
.af.iphone { z-index: 3; left: 6%; bottom: 2%; width: 13.5%; }
.af.iphone .screen { left: 5.333%; top: 2.5%; width: 89.333%; height: 95%; border-radius: 12% / 5.8%; }
.af.iphone .screen img { object-position: top center; }
.dlabels { display: flex; justify-content: center; gap: 40px; margin: 22px 0 0; padding: 0; list-style: none; flex-wrap: wrap; }
.dlabels li { text-align: center; }
.dlabels b { display: block; font-size: 16px; }
.dlabels span { font-size: 14px; color: var(--ink-3); }

/* ───── company (home) ───── */
.company { padding-top: 40px; }
.origin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 64px; align-items: start; }
.photo { grid-column: 1 / -1; margin: 0; height: clamp(300px, 36vw, 470px); border-radius: 22px; position: relative; overflow: hidden; background: var(--night); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; display: block; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0000 55%, #0c0d0fb3); }
.photo figcaption { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; color: #fff; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.every { padding-top: 44px; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.nums li { padding: 18px 0 0; border-top: 2px solid var(--ink); }
.nums b { display: block; font-size: 21px; font-weight: 760; letter-spacing: -.02em; font-stretch: 90%; white-space: nowrap; }
.nums span { display: block; margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.nums-note { margin: 14px 0 0; font: 500 12px/1.4 var(--mono); color: var(--ink-3); }

/* ───── book a demo (home) ───── */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.steps { margin: 34px 0 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid #ffffff14; }
.step .n { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid #ffffff33; display: grid; place-items: center; font: 500 13px/1 var(--mono); color: var(--blue-hi); }
.step b { display: block; font-size: 17px; }
.step span span { color: var(--on-night-2); font-size: 15px; display: block; }
.demo-alt { margin-top: 26px; color: var(--on-night-2); font-size: 15px; }
.demo-alt a, .form .fine a, .form .status a { color: var(--blue-hi); border-bottom: 1px solid #6b9cf566; }
.form .fine a, .form .status a { color: var(--blue); border-bottom-color: #1f4fc455; }
.form { background: var(--card); color: var(--ink); border-radius: 22px; padding: 34px; box-shadow: 0 40px 80px -30px #000; }
.form h3 { font-size: 24px; font-weight: 720; }
.form > p { color: var(--ink-3); font-size: 14.5px; margin: 6px 0 22px; }
.fg { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.f.full { grid-column: 1 / -1; }
.f label, .f legend { font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 0; }
.f legend { margin-bottom: 6px; }
.f .opt { font-weight: 450; color: var(--ink-3); }
.f .why { font-size: 12.5px; color: var(--ink-3); }
.f input[type=text], .f input[type=email], .f input[type=tel] { width: 100%; height: 46px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 14px; font: inherit; font-size: 15px; background: var(--paper); color: var(--ink); }
.f input:focus { outline: 2px solid var(--blue-fill); outline-offset: 1px; background: #fff; }
.f input[aria-invalid=true] { border-color: var(--red); }
.f .err { color: var(--red); font-size: 12.5px; min-height: 0; }
.f .err:empty { display: none; }
.seg { display: flex; gap: 6px; }
.seg label { flex: 1; position: relative; cursor: pointer; font-weight: 450; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--paper); font-size: 14px; color: var(--ink); }
.seg input:checked + span { background: var(--blue-tint); border-color: var(--blue); color: #1e40af; font-weight: 650; }
.seg input:focus-visible + span { outline: 2px solid var(--blue-fill); outline-offset: 1px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; justify-content: center; margin-top: 20px; height: 50px; }
.form .btn:disabled { cursor: default; transform: none; opacity: .72; }
.form.sent .btn:disabled { opacity: 1; }
.form input:disabled:not([type="radio"]), .form .seg label:has(input:disabled) { opacity: .6; }
.form .status { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); text-align: center; }
.form .status:empty { display: none; }
.form .fine { font-size: 12.5px; color: var(--ink-3); margin: 12px 0 0; text-align: center; }

/* ───── features page header ───── */
.fhero { background: var(--night); color: var(--on-night); padding: 170px 0 64px; position: relative; overflow: hidden; }
.fhero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 70% 0%, rgba(255, 255, 255, .05), transparent 70%); }
.fhero .wrap { position: relative; }
.crumb { font: 500 12px/1 var(--mono); color: var(--on-night-2); letter-spacing: .08em; margin: 0; }
.crumb a:hover { color: #fff; }
.fhero h1 { font-size: clamp(40px, 5vw, 68px); line-height: 1; font-weight: 760; font-stretch: 90%; margin: 18px 0 0; max-width: 16ch; color: var(--on-night); }
.fhero .lede { color: var(--on-night-3); max-width: 640px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.jump a { padding: 10px 16px; border-radius: 999px; background: #ffffff0d; box-shadow: inset 0 0 0 1px #ffffff1f; font-size: 14.5px; font-weight: 550; color: #d7d9de; }
.jump a:hover { background: #ffffff1a; color: #fff; }

/* ───── one trip, quote to closed (features) ─────
   Seven static stop articles. altus.js builds the rail (tabs) and the arrows and shows one stop at a time; with no
   JS every stop is readable, stacked. */
.trip { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rail { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 28px; position: relative; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: var(--line-2); }
.rail .prog { position: absolute; left: 0; top: 19px; height: 2px; background: var(--blue); transition: width .4s; }
.stop { position: relative; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: var(--ink-3); }
.stop .pt { width: 40px; height: 40px; border-radius: 50%; background: var(--card); border: 2px solid var(--line-2); display: grid; place-items: center; font: 500 12px/1 var(--mono); transition: all .25s; position: relative; z-index: 1; }
.stop b { display: block; margin-top: 12px; font-size: 15px; font-weight: 650; }
.stop > span:last-child { display: block; font-size: 12.5px; color: var(--ink-3); }
.stop.done .pt { border-color: var(--blue); color: var(--blue); }
.stop[aria-selected=true] .pt { background: var(--blue-fill); border-color: var(--blue-fill); color: #0c0d10; box-shadow: 0 0 0 6px var(--blue-tint); }
.stop[aria-selected=true] b { color: var(--ink); }
.tstops { display: grid; gap: 20px; }
.panel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--paper); border-radius: 20px; padding: 28px; border: 1px solid var(--line); }
.panel[hidden], .rolepane[hidden] { display: none; }
.shot { border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -30px #0c0d1070, 0 0 0 1px var(--line-2); background: var(--night); }
.shot .bar { height: 28px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: var(--night-3); }
.shot .bar i { width: 9px; height: 9px; border-radius: 50%; background: #ffffff26; }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }
.panel h3 { font-size: 30px; line-height: 1.08; font-weight: 720; margin-top: 14px; }
.panel p { color: var(--ink-2); margin: 14px 0 18px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 15px; }
.ticks li svg { flex: none; width: 18px; height: 18px; color: var(--blue); margin-top: 2px; }
.tour-nav { display: flex; gap: 8px; margin-top: 20px; }
.tour-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); cursor: pointer; font-size: 16px; }
.tour-nav button:hover { border-color: var(--blue); }

/* ───── built for every desk (features) ───── */
.roles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.roles.tabbed { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: start; }
.rolelist { display: flex; flex-direction: column; gap: 4px; }
.role { all: unset; cursor: pointer; padding: 16px 18px; border-radius: 12px; border: 1px solid transparent; transition: all .2s; }
.role:focus-visible { outline: 2px solid var(--blue-fill); outline-offset: 2px; }
.role b { display: block; font-size: 17px; font-weight: 650; }
.role span { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.role:hover { background: #0c0d1008; }
.role[aria-selected=true] { background: var(--card); border-color: var(--line-2); box-shadow: 0 10px 30px -18px #0c0d1050; }
.role[aria-selected=true] b { color: var(--blue); }
.rolepanes { display: grid; gap: 20px; }
.rolepane { background: var(--night); color: var(--on-night); border-radius: 22px; padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; min-height: 460px; position: relative; overflow: hidden; }
.rolepane::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(#ffffff0d, transparent 70%); pointer-events: none; }
.rolepane .eyebrow { color: var(--on-night-2); }
.rolepane h3 { font-size: 34px; line-height: 1.05; font-weight: 720; margin-top: 14px; }
.rolepane .q { margin-top: 18px; color: var(--on-night-2); font-size: 16px; }
.beforenow { margin: 24px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 12px; align-items: start; font-size: 15px; }
.beforenow dt { font: 500 11px/1 var(--mono); color: var(--on-night-2); letter-spacing: .06em; padding-top: 4px; text-transform: uppercase; width: 58px; }
.beforenow dt.now { color: var(--blue-hi); }
.beforenow dd { margin: 0; }
.beforenow s { color: var(--on-night-2); text-decoration-color: #ef4444aa; text-decoration-thickness: 2px; }
.rolepane .shot { position: relative; z-index: 1; box-shadow: 0 30px 60px -30px #000, 0 0 0 1px #ffffff14; }
.rolepane .shot img { aspect-ratio: 4 / 3; }

/* ───── Part 135 rules (features) ───── */
.rules { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.rules ol { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.rules li { display: flex; gap: 14px; font-size: 16px; color: #d6dbe6; }
.rules li b { color: #fff; font-weight: 650; }
.rules li .n { font: 500 12px/1 var(--mono); color: var(--blue-hi); padding-top: 5px; width: 22px; flex: none; }
.rules .foot { margin-top: 28px; font-size: 14.5px; color: var(--on-night-2); }
.rules .foot a { color: var(--blue-hi); border-bottom: 1px solid #4f8ef766; }
.relcard { background: var(--night-2); border: 1px solid #ffffff14; border-radius: 20px; padding: 24px; box-shadow: 0 40px 80px -30px #000; }
.relcard .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.relcard .top b { font-size: 19px; display: block; }
.relcard .top span { font: 500 12px/1.4 var(--mono); color: var(--on-night-2); }
.rc { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid #ffffff10; font-size: 15px; }
.rc svg { width: 18px; height: 18px; }
.rc .ok { color: var(--green-hi); } .rc .warn { color: var(--amber-hi); }
.rc small { display: block; color: var(--on-night-2); font-size: 12.5px; margin-top: 1px; }
.rc em { font-style: normal; font: 500 11.5px/1 var(--mono); color: var(--on-night-2); text-align: right; }
.relbtn { margin-top: 18px; display: flex; gap: 10px; align-items: center; }
.relbtn .btn { flex: 1; justify-content: center; cursor: default; }
.relbtn .btn:hover { transform: none; background: var(--blue-fill); }
.relbtn .seal { font: 500 11.5px/1.35 var(--mono); color: var(--on-night-2); }

/* ───── crew app + copilot (features) ───── */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 36px; overflow: hidden; position: relative; min-height: 560px; display: flex; flex-direction: column; }
.tile h3 { font-size: 30px; line-height: 1.08; font-weight: 720; margin-top: 14px; }
.tile p { color: var(--ink-2); margin: 12px 0 0; max-width: 420px; }
.phones { margin-top: auto; display: flex; justify-content: center; gap: 18px; padding-top: 30px; transform: translateY(60px); }
.phone { width: 200px; border-radius: 34px; padding: 7px; background: #0b0d12; box-shadow: 0 30px 50px -20px #0c0d1080; margin: 0; }
.phone img { border-radius: 28px; width: 100%; height: auto; }
.phone.b { transform: translateY(-36px); }
.chat { margin-top: auto; background: var(--paper); border-radius: 16px; padding: 18px; border: 1px solid var(--line); display: grid; gap: 12px; min-height: 300px; align-content: start; }
.msg { max-width: 88%; padding: 12px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; margin: 0; }
.msg.me { justify-self: end; background: var(--blue-fill); color: #0c0d10; border-bottom-right-radius: 4px; }
.msg.ai { background: var(--card); border: 1px solid var(--line-2); border-bottom-left-radius: 4px; }
.cite { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.cite span { font: 500 11px/1 var(--mono); background: var(--blue-tint); color: #1e40af; padding: 5px 7px; border-radius: 5px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .25; } }

/* ───── pricing (features) ───── */
.pricing { background: var(--paper-2); border-top: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; }
.plan { background: var(--card); border: 1px solid var(--line-2); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; }
.plan.core { background: var(--night); color: var(--on-night); border-color: transparent; }
.plan .tag { font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.plan.core .tag { color: var(--blue-hi); }
.plan h3 { font-size: 28px; margin-top: 12px; font-weight: 720; }
.plan p { color: var(--ink-2); font-size: 15px; margin: 8px 0 18px; }
.plan.core p { color: var(--on-night-2); }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { flex: none; width: 17px; height: 17px; color: var(--green); margin-top: 3px; }
.plan.core li svg { color: var(--green-hi); }
.plan .btn { margin-top: auto; justify-content: center; }
.plan.core .btn-ghost { color: var(--on-night); border-color: #ffffff33; background: transparent; }

.cta-band { background: var(--night); color: var(--on-night); padding: 96px 0; text-align: center; }
.cta-band h2 { color: var(--on-night); }
.cta-band .lede { margin: 16px auto 28px; color: var(--on-night-3); }

/* ───── Google access page ───── */
.gpage { padding: 170px 0 96px; }
.gpage .wrap { max-width: 860px; }
.gpage h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.02; font-weight: 760; font-stretch: 90%; color: var(--ink); }
.gdoc { margin-top: 28px; color: var(--ink-2); font-size: 16.5px; }
.gdoc h2 { font-size: 24px; line-height: 1.2; font-weight: 700; color: var(--ink); margin: 36px 0 10px; letter-spacing: -.015em; }
.gdoc h3 { font-size: 18px; font-weight: 680; color: var(--ink); margin: 0 0 6px; letter-spacing: -.01em; }
.gdoc p { margin: 0 0 12px; }
.gdoc a { color: var(--blue); border-bottom: 1px solid #1f4fc455; }
.gdoc code { font-family: var(--mono); font-size: .9em; background: var(--paper-2); padding: 2px 6px; border-radius: 5px; color: var(--ink); }
.gdoc > p:first-of-type + h1 + p { font-size: 18px; color: var(--ink-2); margin-top: 18px; }
.gcards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.gcard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.gcard p { font-size: 15.5px; }
.gnote { margin-top: 24px !important; }

/* ───── footer ───── */
.foot-site { background: var(--night); color: var(--on-night-2); border-top: 1px solid #ffffff10; padding: 72px 0 36px; font-size: 14.5px; }
.fgrid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot-site .brand { display: inline-flex; color: #fff; }
.foot-site .brand svg { height: 60px; width: auto; }
.foot-site .tagline { margin: 18px 0 0; max-width: 260px; line-height: 1.6; }
.foot-site h2 { margin: 0 0 14px; color: #fff; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.foot-site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-site a:hover { color: #fff; }
.legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid #ffffff12; font-size: 13px; }

/* ───── reveal: hidden only when motion is on (html.motion) ───── */
html.motion .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
html.motion .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1 !important; transform: none !important; }
  .board-top .live i { animation: none; }
}

/* ───── tablets: devices re-stage before the phone layout ───── */
@media (max-width: 75rem) {
  .nav .signin { display: none; }
}

/* ───── phones and small tablets (< 62rem): their own layout ───── */
@media (max-width: 61.99rem) {
  .wrap { padding: 0 18px; }
  section { padding: 80px 0; }
  .nav { top: 10px; width: calc(100% - 20px); }
  .nav .wrap { height: 60px; padding: 0 6px 0 18px; }
  .nav .brand svg { height: 34px; }
  .menu, .nav .signin { display: none; }
  .nav .btn { height: 46px; font-size: 14px; }
  .hero { padding: 120px 0 72px; }
  .hero .wrap, .head, .panel, .rolepane, .rules, .duo, .origin, .plans, .demo, .fgrid { grid-template-columns: minmax(0, 1fr); }
  .head { gap: 20px; margin-bottom: 36px; }
  .stage { height: auto; padding-bottom: 150px; }
  .board { position: relative; top: 0; }
  .float.release { right: 0; bottom: 0; }
  .float.push { display: none; }
  .legs .hide { display: none; }
  .kpis div { padding: 10px 12px; }
  .kpis dd { font-size: 20px; }
  .legs th, .legs td { padding-left: 12px; padding-right: 12px; }
  .one-row { grid-template-columns: 10px minmax(0, 1fr) 72px; }
  .one-row .was, .one-row .dept { display: none; }
  .mods { grid-template-columns: 1fr 1fr; }
  .dstage { aspect-ratio: 1160 / 980; }
  .af.imac { left: 8%; width: 84%; }
  .af.ipad { width: 46%; }
  .af.iphone { width: 22%; left: 0; }
  .roles.tabbed { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .rolelist { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; padding-bottom: 4px; }
  .role { flex: none; padding: 10px 14px; }
  .role span { display: none; }
  .rolepane { padding: 26px; min-height: 0; gap: 24px; }
  .rolepane h3 { font-size: 28px; }
  .rail { grid-template-columns: repeat(7, minmax(84px, 1fr)); overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
  .panel { padding: 18px; gap: 22px; }
  .panel h3 { font-size: 26px; }
  .tile { min-height: 0; padding: 26px; }
  .phones { transform: none; padding-bottom: 8px; }
  .phone { width: min(44%, 200px); }
  .phone.b { transform: translateY(-24px); }
  .rules { gap: 40px; }
  .fgrid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .fgrid > :first-child { grid-column: 1 / -1; }
  .fhero { padding: 120px 0 48px; }
  .gcards { grid-template-columns: minmax(0, 1fr); }
  .gpage { padding: 120px 0 72px; }
}
@media (max-width: 40rem) {
  .mods, .nums, .fg { grid-template-columns: minmax(0, 1fr); }
  .nums { gap: 0; }
  .nums li { padding: 14px 0; }
  .form { padding: 24px 20px; }
  /* the iMac stands at the top; the iPad and iPhone stand in front of its stand */
  .dstage { aspect-ratio: 1160 / 1270; }
  .af.imac { left: 0; width: 100%; top: 0; bottom: auto; }
  .af.ipad { width: 62%; right: 0; bottom: 0; }
  .af.iphone { width: 27%; left: 2%; bottom: 0; }
  .dlabels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .dlabels span { font-size: 13px; display: block; }
  .legs th:nth-child(4), .legs td:nth-child(4) { display: none; }
  .board-top { padding: 14px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpis div:nth-child(2) { border-right: 0; }
  .kpis div:nth-child(-n+2) { border-bottom: 1px solid #ffffff12; }
  .track { width: 64px; }
  .float.release { width: auto; left: 0; }
  .tour-nav { justify-content: flex-start; }
  .relcard { padding: 18px; }
  .rc { grid-template-columns: 20px 1fr; }
  .rc em { display: none; }
}
