/* Knot AI site: shared tokens and components, from the owner-approved 3D prototype (2026-10-07). Same world as the app and holding page: near-black ground, Ember accent, square corners, no shadows, 44 px targets.
   Depth is plain CSS 3D: perspective + preserve-3d + translateZ. site.js only sets the tilt.
   IBM Plex Mono 500 is for numbers and prices only (.num). */
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url(fonts/instrument-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 400; font-display: swap; src: url(fonts/schibsted-grotesk-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 600; font-display: swap; src: url(fonts/schibsted-grotesk-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Michroma"; font-weight: 400; font-display: swap; src: url(fonts/michroma-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Martian Mono"; font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; src: url(fonts/martian-mono-latin-standard-normal.woff2) format("woff2-variations"), url(fonts/martian-mono-latin-standard-normal.woff2) format("woff2"); }

:root {
  color-scheme: dark light;
  --bg: #04060b; --ink: #eef1f6; --muted: #9aa3b2;
  --ember: #ffb964; --ember-text: #ffb964;
  --line: rgba(255,255,255,.09); --field: rgba(255,255,255,.035);
  --face: #0d1119; --edge1: #151c2b; --edge2: #0a0e16; --edge-line: rgba(255,185,100,.4);   /* card face and the two darker slabs behind it */
  --on-ember: #04060b;
  --blue: #0041ba; --blue-text: #0041ba;   /* Blueprint blue on both themes (owner 2026-10-09); 2.2:1 on the dark card, below WCAG AA by owner choice */
  --glow: 0 0 40px rgba(255,185,100,.14);   /* owner 2026-10-07: glow on (an exception to the app's no-shadow rule) */
  --depth: 1200px;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f4ef; --ink: #14171f; --muted: #555d6b;
    --ember: #9a4a00; --ember-text: #9a4a00;
    --line: rgba(20,23,31,.16); --field: rgba(20,23,31,.04);
    --face: #fffdf8; --edge1: #e6e1d6; --edge2: #cdc6b8; --edge-line: rgba(154,74,0,.35); --glow: 0 0 40px rgba(154,74,0,.12);
    --on-ember: #fffdf8;
    --blue: #0041ba; --blue-text: #0041ba;
  }
}
* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); }
body { min-height: 100vh; display: flex; flex-direction: column; overflow-wrap: anywhere; background: var(--bg); color: var(--ink); font-family: "Schibsted Grotesk", system-ui, sans-serif; line-height: 1.5; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
::selection { background: var(--ember); color: var(--on-ember); }
html { scrollbar-color: var(--muted) var(--bg); }
input { caret-color: var(--ember); }
.skip a { position: absolute; left: 8px; top: -60px; padding: 12px 16px; background: var(--bg); border: 1px solid var(--line); z-index: 10; }
.skip a:focus { top: 8px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
main { flex: 1; padding-top: 16px; padding-bottom: 72px; display: grid; grid-template-columns: minmax(0, 1fr); --sec: 72px; gap: var(--sec); }   /* minmax: one wide item never widens the page (200% text, audit 2026-10-09) */   /* --sec: space between sections */
main:focus { outline: none; }

/* ---- Home background: the woven rope mat (weave.js, owner 2026-10-08). Faint, and fainter still behind the text column. ---- */
body:has(#bg) { isolation: isolate; }
#bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  --fade: linear-gradient(90deg, #000, rgba(0,0,0,.4) 15%, rgba(0,0,0,.4) 85%, #000);   /* the fade mask: the middle 70% at 40%, so phones and desktops match (owner 2026-10-08) */
  -webkit-mask-image: var(--fade); mask-image: var(--fade); }
#bg canvas { position: absolute; inset: 0; opacity: .2; }   /* the mat */
#bg .flies { opacity: .6; }   /* fireflies: brighter than the mat (owner 2026-10-08) */
/* /assist lightning background (owner 2026-10-20): full strength, without the home mat's fade and opacity */
.pp #bg { -webkit-mask-image: none; mask-image: none; }
.pp #bg canvas { opacity: .7; }
/* cards over the lightning at 70% so it shows through (owner 2026-10-21) */
.pp:has(#bg) { --face: rgb(13 17 25 / .7); }
@media (prefers-color-scheme: light) { .pp:has(#bg) { --face: rgb(255 253 248 / .7); } }

/* ---- Header and footer ---- */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.home { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font: 600 1.25rem/1 "Instrument Sans", sans-serif; letter-spacing: -.03em; }
.mark { width: 40px; height: 40px; flex: none; }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--line); padding: 0 16px; }
.btn.quiet:hover { border-color: var(--ember); filter: none; }
.site-foot { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; color: var(--muted); font-size: .9375rem; }
.site-foot p, .site-foot a { display: inline-flex; align-items: center; min-height: 44px; }
.site-foot p { gap: .3em; }   /* inline-flex drops the space before the link */

/* ---- Hero ---- */
.hero { display: grid; justify-items: center; text-align: center; gap: 20px; padding-top: 8px; }
.sign { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(4px, 2vw, 20px); max-width: 100%; }   /* the knot and the word on one line (owner 2026-10-08) */
#knot { width: clamp(72px, 19vw, 168px); aspect-ratio: 1; flex: none; }
.stage { perspective: var(--depth); padding: 12px 0; max-width: 100%; }
.word { display: grid; place-items: center; transform-style: preserve-3d; will-change: transform;
  font: 600 clamp(2.5rem, 13vw, 7rem)/1.05 "Instrument Sans", sans-serif; letter-spacing: -.03em; white-space: nowrap; }
.word > span { grid-area: 1 / 1; }
.depth { pointer-events: none; user-select: none; color: color-mix(in oklab, var(--ink) calc(48% - var(--i) * 3%), var(--bg));   /* owner 2026-10-08: 3D, no outlines */
  transform: translateZ(calc(var(--i) * -8px)) scale(calc(1 + var(--i) * 8 / 1200)); }   /* scale = (depth + z) / depth: flat word hides the depth */
.lead { font-size: clamp(1.15rem, 3.4vw, 1.6rem); font-weight: 600; max-width: 24ch; text-wrap: balance; line-height: 1.3; margin-top: 8px; }
.lead em { padding-right: .1em; }   /* the slanted "with" (synthetic italic) otherwise touches the next word */
.cta { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: center; margin-top: 8px; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; background: var(--ember); color: var(--on-ember); font-weight: 600; text-decoration: none; border: 1px solid var(--ember); border-radius: 0; }
.btn:hover { filter: brightness(1.08); }
span.btn { cursor: default; } /* Coming soon: not on sale yet (owner 2026-10-23), so no link */
span.btn:hover { filter: none; }
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link:hover { color: var(--ember-text); }

/* ---- Company story ---- */
.story { display: grid; gap: 14px; max-width: 62ch; justify-self: center; width: 100%; margin-block: calc(var(--sec) * -.4); }   /* 40% less space above and below About (owner 2026-10-08) */
.story .eyebrow { margin-bottom: 2px; }
.story p { font-size: 1.125rem; text-wrap: pretty; }

/* ---- Product tiles: real 3D cards ---- */
.eyebrow { color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.card { perspective: 1000px; }
.slab { --t: 36;   /* edge thickness in px */ position: relative; height: 100%; transform-style: preserve-3d; will-change: transform;
  background: var(--face); border: 1px solid var(--line); box-shadow: var(--glow); }
/* the edge: two darker slabs behind the face, so a tilt shows thickness */
.slab::before, .slab::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--edge-line); pointer-events: none; }
.slab::before { background: var(--edge1); transform: translateZ(calc(var(--t) * -.5px)) scale(calc(1 + var(--t) * .0005)); }   /* scale cancels the perspective shrink (perspective is 1000px), so the slab only shows as an edge when tilted */
.slab::after { background: var(--edge2); transform: translateZ(calc(var(--t) * -1px)) scale(calc(1 + var(--t) * .001)); }
.products .slab { border-color: var(--ember); }   /* product tiles: ember outline (owner 2026-10-08); /assist screenshots keep the hairline */
.inner { position: relative; transform-style: preserve-3d; padding: 28px; display: grid; gap: 16px; align-content: start; height: 100%; }
.products .inner { display: flex; flex-direction: column; align-items: center; text-align: center; }   /* tiles centred, bullets left (owner 2026-10-08) */
.products .points { text-align: left; }   /* a centred block of left-aligned lines */
.products .inner > :last-child { margin-top: auto; }   /* button or link pinned to the bottom, so both tiles line up */
.deep-1 { transform: translateZ(40px) scale(.9615); }   /* scale cancels the perspective growth (1000/(1000-40)) so the left edges line up at rest */   /* logo / wordmark / button / badge */
.deep-2 { transform: translateZ(20px) scale(.9804); }   /* text */
.lockup { display: flex; align-items: center; gap: 4px; font-weight: 400; }   /* wordmark tight to the knot (owner 2026-10-08) */
.mini { width: 56px; height: 56px; flex: none; }
.brand { font: 400 1.5rem/1 "Michroma", sans-serif; letter-spacing: .04em; }
.brand b { color: var(--ember-text); font-weight: 400; }
.mono { font: 500 clamp(1.3rem, 5.4vw, 1.75rem)/1.2 "Martian Mono", ui-monospace, monospace; font-stretch: 112.5%; font-variation-settings: "wdth" 112.5; letter-spacing: -.01em; min-height: 56px; display: flex; align-items: center; }
.mono b { color: var(--blue-text); font-weight: 500; }   /* Blueprint's own accent: blue, as Assist's is ember (owner 2026-10-08) */
.line { font-size: 1.125rem; font-weight: 600; line-height: 1.35; text-wrap: balance; }
.points { list-style: none; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: .95rem; }
.points li { padding-left: 18px; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--ember); }
.badge { display: inline-block; padding: 4px 10px; border: 1px solid var(--ember); color: var(--ember-text); font: 500 .75rem/1.4 "Martian Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }

/* ---- Free website check (same as the holding page) ---- */
.check { display: grid; justify-items: center; }
form { max-width: 100%; display: grid; grid-template-columns: minmax(0, max-content) 44px; gap: 8px; text-align: left; }
label { grid-column: 1 / -1; color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.row { display: contents; }
input { min-width: 0; height: 44px; padding: 0 12px; background: var(--field); color: var(--ink); border: 1px solid var(--line); border-radius: 0; font: inherit; font-size: 15px; }
input::placeholder { color: var(--muted); opacity: .75; }
button { height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 0; cursor: pointer; }
button:hover { border-color: var(--ember); }
.hint { grid-column: 1 / -1; color: var(--muted); font-size: .875rem; text-wrap: pretty; }

/* ---- Product pages, /assist and /blueprint: a lit stage (owner 2026-10-11, after vision.squareline.io).
   Flat, no tilt. One accent per page, set as --acc: ember on Assist, Blueprint blue on Blueprint.
   The spotlight is light falling from the top of the page, not a shadow. ---- */
.num { font: 500 .95em/1 "IBM Plex Mono", ui-monospace, monospace; white-space: nowrap; font-variant-numeric: tabular-nums; }
.muted, .aside { color: var(--muted); }
.small { font-size: .9375rem; color: var(--muted); }
.pp { --acc: var(--ember); --acc-text: var(--ember-text); --on-acc: var(--on-ember); --lamp: var(--acc); --spot: 34%; overflow-x: clip; }
.pp-blue { --acc: var(--blue); --acc-text: #8cc8ff; --on-acc: #fff; --spot: 62%; }   /* #8cc8ff is the Blueprint knot's light blue rope: text in the accent on the dark ground (#0041ba is 2.2:1 there) */
@media (prefers-color-scheme: light) {
  .pp { --lamp: #ffb964; --spot: 40%; }   /* on paper the light is the bright rope colour, so it reads as light, not as a stain */
  .pp-blue { --acc-text: var(--blue); --lamp: #4f93d6; --spot: 26%; }
  .spot::before { display: none; }   /* no beams on paper: they end as stains, not light (finish review 2026-10-11) */
  .pp-hero .spot { -webkit-mask-image: linear-gradient(#000 30%, transparent 65%); mask-image: linear-gradient(#000 30%, transparent 65%); }
}
.pp :focus-visible { outline-color: var(--acc-text); }
.pp ::selection { background: var(--acc-text); color: var(--bg); }
.pp .wrap { max-width: 1200px; }
.pp main { --sec: clamp(96px, 13vw, 168px); padding-top: 0; }
.pp .btn { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.pp .badge { border-color: var(--acc-text); color: var(--acc-text); }
.pp .points li::before { background: var(--acc-text); }
.label { color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }

/* Product pages: the menu bar stays at the top while you scroll; links on the right, folded into a Menu button on phones (owner 2026-10-21) */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; box-sizing: border-box; height: 44px; padding: 0 max(16px, calc(50% - 560px));   /* 44px tall (owner 2026-10-21) */
  background: color-mix(in oklab, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 -1px var(--line); }   /* the rule sits inside the 44px, so links keep a full 44px target */
.bar .home { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 600 1.0625rem/1 "Instrument Sans", sans-serif; letter-spacing: -.01em; }
.bar-knot { width: 32px; height: 32px; flex: none; }   /* the animated Knot AI knot, drawn by site.js */
.bar-id { display: flex; align-items: center; }
.bar .here { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; font: 600 1.0625rem/1 "Instrument Sans", sans-serif; letter-spacing: -.01em; color: var(--acc-text); }
.bar .here::before { content: "/"; margin-right: 10px; color: var(--muted); font-weight: 400; }   /* Knot AI / Assist: the product name takes you to the top */
.bar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }   /* the 36px Log in sits 4px from the top and bottom of the 44px bar */
.bar .nav { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; text-decoration: none; font-weight: 500; }
.bar .nav:hover { color: var(--acc-text); }
.bar-menu { display: none; position: relative; }
.bar-menu summary { list-style: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); cursor: pointer; font-weight: 500; }
.bar-menu summary::-webkit-details-marker { display: none; }
.bar-menu ul { position: absolute; right: 0; top: calc(100% + 5px); flex-direction: column; min-width: 180px; padding: 8px 0; background: var(--bg); border: 1px solid var(--line); }
.bar-menu .nav { display: flex; padding: 0 18px; }
.pp { overflow-x: clip; }   /* sections that slide in from the side never widen the page */
.pp section[id] { scroll-margin-top: 60px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* back to the top: a 36px square in the corner once the hero has scrolled away (owner 2026-10-21) */
.to-top { position: fixed; right: 12px; bottom: 12px; z-index: 20; display: grid; place-items: center; width: 44px; height: 44px; text-decoration: none; color: var(--ink); transition: opacity .2s; }   /* 44px target */
.to-top::before { content: "\2191"; display: grid; place-items: center; width: 36px; height: 36px; box-sizing: border-box; font-size: 1.125rem; background: color-mix(in oklab, var(--bg) 88%, transparent); border: 1px solid var(--line); }   /* 36px visible, the app's button size */
.to-top:hover::before { border-color: var(--acc-text); color: var(--acc-text); }
.to-top.off { opacity: 0; visibility: hidden; }
.bar .login-open { height: auto; min-height: 36px; margin-left: 6px; padding: 0 16px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; }
.bar .login-open:hover { border-color: var(--acc-text); color: var(--acc-text); }
.bar-menu .login-open { margin: 4px 18px 6px; }
/* Log in pop-up: the visitor's Assist name, fixed .knotai.com.au after it */
dialog.login { margin: auto; width: min(100% - 32px, 440px); padding: clamp(24px, 5vw, 36px); background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
dialog.login::backdrop { background: rgb(0 0 0 / .55); }
.login-form, .login-new, .login-known { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: start; }   /* overrides the home form grid */
.login-form { position: relative; }
.login-new { justify-items: stretch; }
.login-new .btn { justify-self: start; }
.login [hidden] { display: none !important; }
.login h2 { font: 600 1.375rem/1.2 "Instrument Sans", sans-serif; letter-spacing: -.01em; padding-right: 32px; }
.login label { color: var(--ink); font-size: 1rem; letter-spacing: 0; text-transform: none; }
.login-field { display: flex; align-items: center; border: 1px solid var(--line); background: var(--field); }
.login-field:focus-within { border-color: var(--acc-text); }
.login-field input { flex: 1; border: 0; background: transparent; font-size: 1rem; }
.login-field input:focus-visible { outline: none; }   /* the field's border shows focus */
.login-field span { padding-right: 12px; color: var(--muted); white-space: nowrap; }
.login-err { color: var(--acc-text); font-size: .9375rem; }
.login .link { background: none; border: 0; height: auto; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.login-x { position: absolute; top: -14px; right: -14px; grid-column: auto; width: 44px; height: 44px; border: 0; background: transparent; color: var(--muted); font-size: 1.5rem; cursor: pointer; }   /* headings land below the bar */
@media (max-width: 640px) { .bar-links { display: none !important; } .bar-menu { display: block; } }

/* The spotlight: a cone of the page's accent from the top centre, three soft beams in it. It lights up once on load and leans toward the pointer (site.js sets --px). */
.pp-hero, .pp-close { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.spot { position: absolute; z-index: -1; --o: 0px; top: calc(-1 * var(--o)); left: 50%; width: 100vw; height: calc(100% + var(--o)); margin-left: -50vw; pointer-events: none; overflow: clip;
  --beam: color-mix(in oklab, var(--lamp) calc(var(--spot) * .8), transparent);
  background: radial-gradient(30% 75% at 50% var(--o), color-mix(in oklab, var(--lamp) var(--spot), transparent), transparent 75%),
    radial-gradient(75% 50% at 50% var(--o), color-mix(in oklab, var(--lamp) calc(var(--spot) * .55), transparent), transparent 80%);
  -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent);
  transform-origin: 50% var(--o); rotate: calc(var(--px, 0) * -4deg); transition: rotate 2s cubic-bezier(.16, 1, .3, 1);
  animation: light-up 2.2s cubic-bezier(.16, 1, .3, 1) both; }
.spot::before { content: ""; position: absolute; inset: 0; filter: blur(16px);
  background: conic-gradient(from 160deg at 50% calc(var(--o) - 6%), transparent 0deg, var(--beam) 6deg, transparent 10deg 16deg, var(--beam) 20deg, transparent 24deg 30deg, var(--beam) 34deg, transparent 38deg 360deg); }
.pp-hero .spot { --o: 5vw; }   /* the hero spotlight starts above the page, so its 4deg lean never uncovers a top corner (owner 2026-10-21) */
@keyframes light-up { from { opacity: 0; scale: 1 .55; } }
.pp-hero { min-height: min(calc(100svh - 44px), 1000px); padding: clamp(40px, 8vh, 96px) 0 24px; }
.pp-hero > :first-child + * { margin-top: auto; }   /* the lockup, after the spotlight: content centres, the logo strip sits at the fold */
.pp-hero > :last-child { margin-bottom: auto; }
.pp-name { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; font: 400 clamp(1.3rem, 4.4vw, 2rem)/1.15 "Michroma", sans-serif; letter-spacing: .03em; }   /* wordmark tight to the knot */
.pp-name b { color: var(--ember-text); font-weight: 400; }
.pp-name .mono { font-size: inherit; min-height: 0; }
.pp-name .mono b { color: var(--blue-text); }
.pp-head { font: 600 clamp(2.2rem, 5.8vw, 4.5rem)/1.02 "Instrument Sans", sans-serif; letter-spacing: -.035em; max-width: 19ch; text-wrap: balance; margin-top: 4px; }   /* the product's line from its home tile (owner 2026-10-11) */
.pp-lead { font-size: clamp(1.0625rem, 2vw, 1.25rem); max-width: 54ch; text-wrap: balance; }
.pp-note { color: var(--muted); font-size: .9375rem; text-wrap: balance; }
.pp-hero .cta, .pp-close .cta { margin: 0; }
.works { margin-top: calc(var(--sec) * -1 + clamp(48px, 7vw, 88px)); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: center; width: 100%; }
.works ul { --g: clamp(28px, 6vw, 72px); list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px var(--g); }
.marquee { display: flex; justify-content: center; width: min(100%, 960px); }
.marquee ul[aria-hidden] { display: none; }   /* the copy only exists to close the loop */
.works li { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--muted); font-size: 1.125rem; font-weight: 600; }
.works img { width: 28px; height: 28px; filter: grayscale(1); opacity: .75; }   /* partner marks in one muted tone, as in the reference strip */
.works img[src$="myob.svg"] { scale: 1.45; }   /* its file has wide padding round the mark */
.works img.wordmark { width: auto; }   /* Wirely's mark is its name */
@media (prefers-color-scheme: light) { .works img.wordmark { filter: grayscale(1) invert(1); } }   /* its letters are white */
@media (prefers-reduced-motion: no-preference) {   /* the strip runs as a marquee, as in the reference; each list moves its own width, so the copy picks up where the first ends */
  [data-motion] .marquee { justify-content: flex-start; overflow: clip; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
  [data-motion] .marquee ul { display: flex; flex: none; flex-wrap: nowrap; padding-right: var(--g); animation: marquee 36s linear infinite; }
  [data-motion] .marquee:hover ul { animation-play-state: paused; }
}
@keyframes marquee { to { translate: -100% 0; } }

/* Sections */
.pp-sec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.pp-intro { display: grid; gap: 14px; justify-items: center; text-align: center; margin-bottom: 24px; }
.pp-intro > p { max-width: 56ch; }
.kick { color: var(--acc-text); font-size: .8125rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.pp-h2 { font: 600 clamp(2rem, 5.2vw, 3.5rem)/1.05 "Instrument Sans", sans-serif; letter-spacing: -.03em; text-wrap: balance; }
.pp-h3, .split h4 { font: 600 clamp(1.6rem, 3.4vw, 2.4rem)/1.1 "Instrument Sans", sans-serif; letter-spacing: -.025em; text-wrap: balance; }
.pp-sub { font-size: 1.125rem; font-weight: 600; text-wrap: pretty; }
.sub { font: 600 1.125rem/1.3 "Schibsted Grotesk", system-ui, sans-serif; }
.pp .stage { display: flex; align-items: center; gap: 14px; margin-top: 48px; color: var(--acc-text); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.pp .pp-intro + .stage { margin-top: 0; }
.pp .stage::before { content: ""; flex: none; width: 11px; height: 11px; background: currentColor; }
.pp .stage::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Copy beside a real screen in a dark frame; every second row swaps sides */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(12px, 3vw, 40px); }
.split:nth-of-type(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split:nth-of-type(even) > .copy { order: 1; }
.split .copy { display: grid; gap: 16px; }
.split .copy > p { max-width: 58ch; text-wrap: pretty; }
.frame, .price, .tile.glow { border: 1px solid var(--line); border-top-color: color-mix(in oklab, var(--acc-text) 60%, transparent); }   /* the top edge catches the light */
.frame { margin: 0; padding: clamp(14px, 2.6vw, 32px); line-height: 0; background: linear-gradient(color-mix(in oklab, var(--lamp) calc(var(--spot) * .5), transparent), transparent 160px), var(--face); }
.frame img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.pp:has(#bg) .frame:has(img) { padding: 0; background: none; border: 0; }   /* /assist: screenshots stand on their own, no card (owner 2026-10-21) */
.frame.phone img { width: min(300px, 100%); margin-inline: auto; }
@media (min-width: 861px) { .split:has(> .frame.phone) { grid-template-columns: minmax(0, 34rem) 300px; justify-content: center; } }   /* text and phone as one centred pair: no dead column beside a narrow phone (critique 2026-10-21) */
@media (max-width: 760px) {
  .frame.crop img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 0 50%; }   /* phones see the left part of a wide screen at a readable size */
  .pop-screen { overflow: clip; }
  .desk { width: 225%; margin-left: -33%; }   /* phones see the left of the Today screen (Pending, Your brief, Handover, Agenda) at a readable size */
}
.frame.wide-shot { width: 100%; max-width: 880px; justify-self: center; }
.topics { line-height: 1.5; }   /* Blueprint: what the team maps (home's wording), beside "Everyone answers on their phone" */
.topics ul { list-style: none; padding: 0; display: grid; }   /* the three things home says the team maps */
.topics li { display: flex; align-items: center; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); font: 600 clamp(1.25rem, 2.4vw, 1.75rem)/1.2 "Instrument Sans", sans-serif; letter-spacing: -.01em; }
.topics li::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--acc-text); }

/* Bento: mixed sizes, one lit in the accent */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3vw, 36px); background: var(--face); border: 1px solid var(--line); }
.tile.wide { grid-column: span 2; }
.tile.tall { grid-row: span 2; }
.tile.full { grid-column: 1 / -1; }
.tile h4 { font: 600 1.25rem/1.25 "Schibsted Grotesk", system-ui, sans-serif; text-wrap: balance; }
.tile > p, .kv dd, .faq p { text-wrap: pretty; }
.tile > p { color: var(--muted); }
.tile.lit { align-content: end; color: var(--on-acc); border-color: var(--acc);
  background: linear-gradient(160deg, color-mix(in oklab, var(--acc), #fff 10%), var(--acc) 45%, color-mix(in oklab, var(--acc), #000 14%)), var(--acc); }
.tile.lit > p { color: inherit; }
.tile.lit .link:hover { color: inherit; }
.tile.lit :focus-visible { outline-color: var(--on-acc); }
.tile.glow { justify-items: center; text-align: center; padding-top: 16px; background: radial-gradient(60% 70% at 50% 0, color-mix(in oklab, var(--lamp) var(--spot), transparent), transparent 75%), var(--face); }
.lit-knot { width: clamp(150px, 20vw, 220px); aspect-ratio: 1; }
.pair { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; }
.pair > .tile:not(.glow) { align-content: center; }
.pair .points { color: var(--ink); font-size: 1.0625rem; gap: 12px; }
.people { gap: 16px; padding-bottom: clamp(28px, 4vw, 48px); }
.people .kv { width: 100%; margin-top: 16px; text-align: left; grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Approval: two columns of ruled terms */
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
.kv > div { display: grid; gap: 6px; align-content: start; padding: 22px 0; border-top: 1px solid var(--line); }
.kv dt { font-weight: 600; }
.kv dd { margin: 0; color: var(--muted); max-width: 62ch; }

/* Pricing panel: the table, and what each venue includes beside it */
.price { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 72px); padding: clamp(22px, 4vw, 48px);
  background: radial-gradient(60% 50% at 30% 0, color-mix(in oklab, var(--lamp) calc(var(--spot) * .6), transparent), transparent 80%), var(--face); }
.price-main, .price-side { display: grid; gap: 16px; align-content: start; }
.price-side .sub:not(:first-child) { margin-top: 12px; }

/* Pricing example (owner 2026-10-21): the group as a tree, owner over three locations, a manager under each; the sums below it */
.org { width: min(calc(100vw - 32px), 1360px); justify-self: center; display: grid; gap: 16px; padding: clamp(22px, 4vw, 48px); background: var(--face); border: 1px solid var(--line); border-top-color: color-mix(in oklab, var(--acc-text) 60%, transparent); }
.org-tree { --stem: 28px; display: grid; justify-items: center; }
.org-node { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); background: var(--bg); color: var(--muted); font-size: .9375rem; text-align: center; }
.org-node b { color: var(--ink); font: 600 1.0625rem/1.3 "Instrument Sans", sans-serif; }
.org-owner { min-width: 220px; border-color: var(--acc-text); }
.org-owner b { color: var(--acc-text); }
.org-locs { list-style: none; padding: var(--stem) 0 0; margin-top: var(--stem); width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.org-locs::before { content: ""; position: absolute; top: 0; left: calc(100% / 6); right: calc(100% / 6); border-top: 1px solid var(--acc-text); }
.org-locs::after { content: ""; position: absolute; top: calc(var(--stem) * -1); left: 50%; height: var(--stem); border-left: 1px solid var(--acc-text); }
.org-locs > li { display: grid; gap: var(--stem); position: relative; }
.org-locs > li::before { content: ""; position: absolute; top: calc(var(--stem) * -1); left: 50%; height: var(--stem); border-left: 1px solid var(--acc-text); }
.org-mgr { position: relative; border-style: dashed; }
.org-mgr::before { content: ""; position: absolute; top: calc(var(--stem) * -1 - 1px); left: 50%; height: var(--stem); border-left: 1px solid var(--line); }
.org-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.org-sum dt { color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.org-sum dd { margin: 4px 0 0; color: var(--muted); }
.org-sum dd:first-of-type { color: var(--ink); font: 600 1.5rem/1.2 "Instrument Sans", sans-serif; }
.org-total dd:first-of-type { color: var(--acc-text); font-size: clamp(1.75rem, 3.4vw, 2.4rem); }
/* Phones: the tree runs down the left, each location branching off one line */
@media (max-width: 700px) {
  .org-tree { justify-items: stretch; }
  .org-owner { text-align: left; }
  .org-locs { grid-template-columns: 1fr; margin-top: 0; padding: 16px 0 0 24px; }
  .org-locs::before, .org-locs::after { display: none; }
  .org-locs > li::after { content: ""; position: absolute; top: -16px; left: -24px; height: 40px; border-left: 1px solid var(--acc-text); }   /* the trunk, stopping at the last branch */
  .org-locs > li:not(:last-child)::after { height: auto; bottom: 0; }
  .org-locs > li { gap: 8px; }
  .org-locs > li::before { top: 24px; left: -24px; width: 24px; height: 0; border-left: 0; border-top: 1px solid var(--acc-text); }
  .org-node { text-align: left; }
  .org-mgr { margin-left: 24px; }
  .org-mgr::before { top: -9px; left: -13px; height: calc(50% + 9px); width: 12px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .org-sum { grid-template-columns: 1fr; }
}

/* /hospitality (owner 2026-10-22): the voice demo under the hero line, the comparison, the payback calculator. */
.demo { display: flex; align-items: center; gap: 16px; margin: 8px 0; padding: 14px 22px 14px 14px; border: 1px solid var(--line); background: var(--face); text-align: left; }
.demo-play { width: 48px; height: 48px; flex: none; border: 0; border-radius: 50%; background: var(--ember); clip-path: none; }
.demo-play::after { content: ""; display: block; margin-left: 19px; border: 10px solid transparent; border-left: 14px solid var(--on-ember); border-right: 0; }
.demo-play:disabled { opacity: .5; }
.demo figcaption { display: grid; gap: 2px; }
.demo figcaption span { color: var(--muted); font-size: .875rem; }
.cmp { width: min(100%, 880px); justify-self: center; }
.cmp td { color: var(--muted); }
@media (min-width: 861px) { .cmp td { width: 50%; } }
.cmp td + td { color: var(--ink); font-weight: 600; }
.calc { width: min(100%, 960px); justify-self: center; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.calc label { grid-column: auto; display: grid; gap: 6px; align-content: end; font-size: .875rem; letter-spacing: 0; text-transform: none; }
.calc input { width: 100%; }
.tbl.stack.cmp td + td::before { content: none; }   /* phones: the bold line is Assist, no label needed */
.calc-out { grid-column: 1 / -1; display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 1.125rem; }
.calc-out b { font: 600 1.5rem/1.2 "Instrument Sans", sans-serif; color: var(--ink); }
.calc-out span:first-child b { color: var(--acc-text); }
.calc-note { justify-self: center; text-align: center; }
@media (max-width: 700px) { .calc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Product-page motion (owner 2026-10-11, after vision.squareline.io; Blueprint has no screen, so no pop-in): the screen pops in under the hero and straightens as you scroll,
   the beams drift, and sections rise out of a blur as they arrive. site.js sets --p and adds .rv / .in. Reduced motion: none of it. */
.pop { width: min(100%, 1120px); justify-self: center; margin: calc(var(--sec) * -1 + 32px) 0 0; perspective: 1400px; }
.pop-screen { padding: clamp(8px, 1.6vw, 20px); transform-origin: 50% 0; will-change: transform;
  transform: translateY(calc((1 - var(--p, 1)) * 24px)) rotateX(calc((1 - var(--p, 1)) * 26deg)) scale(calc(.86 + var(--p, 1) * .14));
  animation: pop-in 1.6s cubic-bezier(.16, 1, .3, 1) .4s both; }
@keyframes pop-in { from { opacity: 0; translate: 0 160px; rotate: x 30deg; } }
.desk { position: relative; overflow: visible clip; perspective: 1200px; }   /* the Today screen in layers: the app with its cards and side panels hidden, then each at its own place (CSS px of a 1728x1117 capture); side panels may stand out past the frame */
.desk picture { display: block; }
.desk img { width: 100%; height: auto; }
.desk .panel, .desk .side { position: absolute; left: calc(var(--x) * 100% / 1728); top: calc(var(--y) * 100% / 1117); width: calc(var(--w) * 100% / 1728); }
[data-motion] .desk .panel { transform-origin: 50% 0; animation: drop 1.1s cubic-bezier(.16, 1, .3, 1) calc(1.2s + var(--i) * .15s) both; }   /* cards drop into place once the screen has risen, as in the reference */
@keyframes drop { from { opacity: 0; transform: translate3d(0, -40px, 180px) rotateX(-22deg); } }
/* side panels stand off the screen, nearer and swung out, and settle into it as the screen straightens on scroll (--p from site.js), as the reference's inspector does */
[data-motion] .desk .side { --q: calc(1 - var(--p, 1)); transition: none; box-shadow: 0 calc(var(--q) * 40px) calc(var(--q) * 80px) rgb(0 0 0 / calc(var(--q) * .6)); }
[data-motion] .desk .left { transform-origin: 100% 50%; transform: translate3d(calc(var(--q) * -46%), calc(var(--q) * 8%), calc(var(--q) * 220px)) rotateY(calc(var(--q) * 24deg)); }
[data-motion] .desk .right { transform-origin: 0 50%; transform: translate3d(calc(var(--q) * 46%), calc(var(--q) * 8%), calc(var(--q) * 220px)) rotateY(calc(var(--q) * -24deg)); }
@media (min-width: 861px) { .pp-hero:has(+ .pop) { min-height: 0; padding-top: clamp(28px, 5vh, 56px); } }   /* only where a screen pops in under the hero */   /* the screen's top edge shows in the first view, so its pop-in is seen */
.frame.close-up img { aspect-ratio: 806 / 420; object-fit: cover; object-position: 50% 100%; }   /* the venue tiles and trend charts */
[data-motion] .spot::before { transform-origin: 50% 0; animation: drift 13s ease-in-out infinite alternate; }
@keyframes drift { from { translate: -4% 0; rotate: -2.5deg; } to { translate: 4% 0; rotate: 2.5deg; } }
.split { perspective: 1400px; }
.rv { transition: opacity 1s cubic-bezier(.16, 1, .3, 1), translate 1s cubic-bezier(.16, 1, .3, 1), rotate 1s cubic-bezier(.16, 1, .3, 1), filter 1s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); }
.rv:not(.in) { opacity: 0; translate: 0 40px; filter: blur(10px); }
.split .frame.rv:not(.in) { translate: 64px 0; rotate: y -10deg; filter: none; }
.split:nth-of-type(even) .frame.rv:not(.in) { translate: -64px 0; rotate: y 10deg; }
@media (max-width: 860px) { .split .frame.rv:not(.in), .split:nth-of-type(even) .frame.rv:not(.in) { translate: 0 40px; rotate: none; } }   /* stacked: rise, never push sideways past the screen */

/* Plain tables: connections and pricing */
.tbl { width: 100%; border-collapse: collapse; text-align: left; }
.tbl th, .tbl td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.tbl thead th { color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; border-bottom-color: var(--ink); }
.tbl tbody th { font-weight: 600; }
.tbl:not(.stack) td { text-align: right; padding-right: 0; white-space: nowrap; }
.tbl:not(.stack) thead th:last-child { text-align: right; padding-right: 0; }
@media (min-width: 861px) { .price-tbl td, .price-tbl thead th:not(:first-child) { text-align: right; white-space: nowrap; } .price-tbl td:last-child, .price-tbl thead th:last-child { padding-right: 0; } }   /* pricing reads as a table on wide screens, stacked on phones */
.price-tbl tfoot td { padding: 10px 0 0; border: 0; color: var(--muted); font-size: .875rem; text-align: right; }
.price-tbl tfoot td:first-child { text-align: left; }
.price-tbl thead th { padding-top: 0; }   /* the column heads line up with the side panel heading */
@media (max-width: 860px) { .price-tbl tfoot td { text-align: left; } }   /* phones: both notes stack on the left */
.tbl.stack.price-tbl tfoot td::before { content: none; }   /* phones: no column label on the GST note */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* read by screen readers only */

/* Features matrix: what every venue includes, then paid add-ons with their price */
.matrix, .matrix + .small { width: min(100%, 760px); justify-self: center; }
.tbl.matrix td, .tbl.matrix thead th:not(:first-child) { width: 11em; text-align: center; padding-right: 0; color: var(--muted); }
.tbl.matrix thead th:last-child { text-align: center; }
.matrix .grp th { padding-top: 32px; color: var(--acc-text); font: 500 .75rem/1.4 "Martian Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.matrix tbody th, .matrix tbody td { border-bottom: 0; }
.matrix tbody tr:last-child > * { border-bottom: 1px solid var(--line); }   /* one rule under each group */
.matrix tbody:first-of-type .grp th { padding-top: 18px; }
.matrix i { font-style: normal; }
.matrix .y { color: var(--acc-text); font-weight: 700; font-size: 1.125rem; line-height: 1; }
/* every table sits on a card, like the tiles (owner 2026-10-21); separate borders so the padding applies */
.tbl.matrix, #connections .tbl { box-sizing: border-box; border-collapse: separate; border-spacing: 0; padding: clamp(18px, 3vw, 40px); background: var(--face); border: 1px solid var(--line); }
.matrix tbody th, .matrix tbody td { padding-top: 8px; padding-bottom: 8px; }   /* tighter rows (owner 2026-10-21) */
/* desktop: the groups flow in two columns; each group is its own table box so it never splits */
@media (min-width: 1000px) {
  .matrix, .matrix + .small { width: min(100%, 1120px); }
  .tbl.matrix { display: block; columns: 2; column-gap: 64px; }
  .matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }   /* still read by screen readers */
  .matrix tbody { display: table; width: 100%; margin-bottom: 28px; break-inside: avoid; }
  .matrix tbody:last-child { margin-bottom: 0; }
  .matrix .grp th, .matrix tbody:first-of-type .grp th { padding-top: 0; }
  .tbl.matrix td { width: 7.5em; }
  .matrix tbody th[scope=row] { width: 100%; }   /* the feature takes the room; ticks and prices line up at the right */
}

/* Questions: native details, no JS */
.faq { border-top: 1px solid var(--line); width: 100%; max-width: 820px; justify-self: center; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 14px 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; }   /* drawn plus, not a text glyph */
.faq details[open] summary::after { background-size: 14px 2px, 0 0; }
.faq p { padding: 0 0 18px; max-width: 62ch; color: var(--muted); }

/* The close: the spotlight again, over the last call to action */
.pp-close { gap: 18px; padding: clamp(80px, 12vw, 160px) 0 clamp(8px, 2vw, 24px); }
.pp-close .spot { animation: none; --m: radial-gradient(32% 95% at 50% 0, #000 30%, transparent 80%), linear-gradient(transparent, #000 120px);
  -webkit-mask-image: var(--m); -webkit-mask-composite: source-in; mask-image: var(--m); mask-composite: intersect; }   /* a narrow pool with no hard top edge */   /* the same lamp, source at the section top */
.pp-close .pp-sub { max-width: 44ch; }

@media (hover: hover) and (pointer: fine) {
  .pp .link:hover, .faq summary:hover { color: var(--acc-text); }
}
@media (max-width: 860px) {
  .split, .split:nth-of-type(even), .pair, .price { grid-template-columns: minmax(0, 1fr); }
  .split:nth-of-type(even) > .copy { order: 0; }
  .bento, .kv, .people .kv { grid-template-columns: minmax(0, 1fr); }
  .tile.wide { grid-column: auto; }
  .tile.tall { grid-row: auto; }
}
@media (max-width: 760px) {
  .tbl:not(.stack) td { white-space: normal; }   /* prices may wrap when text is enlarged */
  .tbl.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }   /* still read by screen readers */
  .tbl.stack tr, .tbl.stack th, .tbl.stack td { display: block; }
  .tbl.stack tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .tbl.stack th, .tbl.stack td { border: 0; padding: 0 0 4px; }
  .tbl.stack td::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 600; }
  .tbl.stack td.none { display: none; }   /* rows with no voice minutes */
  .matrix th, .matrix td { padding: 12px 8px 12px 0; font-size: .875rem; }
  .tbl.matrix td, .tbl.matrix thead th:not(:first-child) { width: 7em; }
  .matrix thead th { letter-spacing: .08em; font-size: .6875rem; }
}

/* ---- 404 ---- */
.lost { display: grid; justify-items: center; text-align: center; gap: 16px; padding: 56px 0; }
.lost h1 { font: 600 clamp(2rem, 9vw, 3.5rem)/1.1 "Instrument Sans", sans-serif; letter-spacing: -.03em; }

@media (max-width: 760px) {
  main { --sec: 56px; }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .inner { padding: 22px; }
}
@media (max-width: 400px) { .word { letter-spacing: -.035em; } }

/* ---- Reduced motion: flat and still ---- */
@media (prefers-reduced-motion: reduce) {
  .word, .slab { transform: none !important; will-change: auto; }
  .spot { animation: none; transition: none; rotate: none; }
  .spot::before, .pop-screen, .desk .panel { animation: none !important; }
  .desk .side { transform: none !important; box-shadow: none !important; }
  .pop-screen { transform: none; }
  .rv { transition: none; }
  .rv:not(.in) { opacity: 1; translate: none; rotate: none; filter: none; }
  .slab::before, .slab::after { display: none; }
  .deep-1, .deep-2 { transform: none; }
}

/* Long-read documents (privacy policy): one readable column */
.doc { max-width: 70ch; padding: 40px 0 64px; }
.doc h1 { font: 600 clamp(2rem, 7vw, 3rem)/1.1 "Instrument Sans", sans-serif; letter-spacing: -.03em; margin-bottom: 8px; }
.doc h2 { font: 600 1.375rem/1.25 "Instrument Sans", sans-serif; letter-spacing: -.02em; margin: 40px 0 12px; scroll-margin-top: 24px; }
.doc p, .doc ul, .doc .tbl { margin-bottom: 14px; }
.doc ul { padding-left: 1.25em; }
.doc ul ul { margin: 6px 0 0; }
.doc li { margin-bottom: 6px; }
.doc .tbl { font-size: .9375rem; }
.doc .tbl.stack td { text-align: left; white-space: normal; }
.doc a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
