/* Wizr — Grey showroom (version 5: dramatic, clean, high tech). Direction: ../../DIRECTION.md. Font: Manrope, the brand web font (Visual Language §7), SIL OFL 1.1, self-hosted. */
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  /* tunable colours (the Colours panel writes these) */
  --brand: #0b9862;
  --page: #d1d1d1;
  --stage-hi: #dedede;
  --stage-lo: #c5c5c5;
  --hta-tint: #d1d1d1;
  --glass: #e8e8e8;
  --ctl-hover: #ececec;
  --solid: #121412;
  --on-solid: #ffffff;
  --halo: #c4c8cf;
  --sparkle: #eef1f7;
  --screen: #020203;
  --panel: #e3e3e3;
  --panel-a: color-mix(in srgb, var(--panel) 76%, transparent);
  --ctl: #dadada;
  --ctl-2: var(--panel);
  --pressed: #bdbdbd;
  --ink: #121412;  /* brand-kit ink */
  --muted: #4f4f4f;
  --line: rgba(0, 0, 0, .1);
  --green: var(--brand);
  --green-btn: color-mix(in srgb, var(--brand) 88%, #000); /* one step deeper, for white text on it */
  --green-2: color-mix(in srgb, var(--brand) 75%, #000);
  --edge-hi: inset 0 1px 0 rgba(255, 255, 255, .7);
  --shadow: 0 1px 2px rgba(24, 24, 26, .05), 0 8px 24px rgba(24, 24, 26, .05);
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 20px; --r-ctl: 14px;
  --wrap: 1320px; --edge: clamp(16px, 3.4vw, 56px); --gap: 16px;
  --hdr: 88px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  /* critically damped spring (damping 1.0, response 0.4 s), as a CSS curve; settles in ~600 ms */
  --spring: linear(0, 0.0238, 0.0816, 0.1582, 0.2431, 0.3294, 0.4129, 0.4909, 0.562, 0.6256, 0.6819, 0.731, 0.7736, 0.8101, 0.8412, 0.8677, 0.89, 0.9088, 0.9246, 0.9377, 0.9487, 0.9578, 0.9653, 0.9716, 0.9767, 0.9809, 0.9844, 0.9873, 0.9896, 0.9916, 0.9931, 0.9944, 0.9955, 0.9963, 0.997, 0.9976, 0.998, 0.9984, 0.9987, 0.999, 1); --spring-t: 600ms;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; scrollbar-color: #b4b4b2 var(--page); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; caret-color: var(--green); }
::selection { background: var(--green); color: var(--on-solid); }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p, dd, li { text-wrap: pretty; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.skip { position: fixed; left: 16px; top: 12px; z-index: 100; background: var(--solid); color: var(--on-solid); padding: 12px 16px; border-radius: 10px; text-decoration: none; transform: translateY(-160%); }
.skip:focus-visible { transform: none; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--edge)); margin-inline: auto; }
.muted { color: var(--muted); }

/* surfaces */
.panel { background: var(--panel); border-radius: var(--r); box-shadow: var(--edge-hi), var(--shadow); }
.glass { background: linear-gradient(160deg, color-mix(in srgb, color-mix(in srgb, var(--glass), #fff 30%) 62%, transparent), color-mix(in srgb, color-mix(in srgb, var(--glass), #000 5%) 42%, transparent)); -webkit-backdrop-filter: blur(22px) saturate(1.15); backdrop-filter: blur(22px) saturate(1.15); border-radius: var(--r); box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 0 0 1px rgba(255,255,255,.35), 0 10px 30px rgba(0,0,0,.08); }
.sq {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: var(--r-ctl);
  background: var(--ctl-2); color: var(--ink); cursor: pointer; text-decoration: none; box-shadow: var(--edge-hi);
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
.sq svg { width: 18px; height: 18px; }
.sq:active { transform: scale(.96); }
.sq[aria-pressed="true"] { background: var(--pressed); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .sq:hover { background: var(--ctl-hover); } .sq[aria-pressed="true"]:hover { background: #b3b3b3; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border: 0; border-radius: var(--r-ctl); background: var(--solid); color: var(--on-solid); font: 500 1rem/1 var(--sans);
  text-decoration: none; cursor: pointer; transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: scale(.97); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn:active { background: var(--green-btn); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--green-btn); } .btn--ghost:hover { background: var(--solid); color: var(--on-solid); } }

.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.card-head h2, .card-head h3 { font-size: 1.0625rem; letter-spacing: -.01em; }
.card-head p { font-size: .8125rem; color: var(--muted); margin-top: 2px; }

/* hero: full screen; header on top */
.hero { position: relative; overflow: clip; padding: 0 !important; --peek: 104px;
  /* first-screen layout. Base: text area 30vw, gap 24px, waitlist card 248px, margins 20px (312px in all).
     --H: product height, 70% of the first screen, smaller only if the base layout would not fit.
     --free: width left over on wide, short screens; shared out to the text area (up to 40vw),
     the waitlist card (up to 400px) and the right margin (up to the header edge). The rest is the gap. */
  --H: min(max(504px, 70svh), calc((70vw - 312px) / 1.1554));
  --W: calc(var(--H) * 1.6506);
  --free: max(0px, calc(70vw - var(--W) * .7 - 312px));
  --T: calc(30vw + min(10vw, var(--free) * .45));
  --C: calc(248px + min(152px, var(--free) * .3));
  --M: max(20px, min(var(--edge), calc(20px + var(--free) * .2)));
  /* Meet Wizr cards. --p goes 0 to 1 as the page scrolls from the top to the snap point (set in site.js).
     At 0 the row starts beside the text area; at 1 it starts at the page edge with 2.5 cards across. */
  --p: 0;
  --L0: calc(var(--T) + 24px); --L1: var(--edge);
  --L: calc(var(--L0) + (var(--L1) - var(--L0)) * var(--p));
  --cw0: calc((100vw - var(--L0) - var(--edge) - 2 * var(--gap)) / 3.25);
  --cw1: calc((100vw - var(--L1) - 2 * var(--gap)) / 2.5);
  --cw: calc(var(--cw0) + (var(--cw1) - var(--cw0)) * var(--p)); }
/* the stage is the first screen; the cards row starts --peek above its bottom edge, so only their headers show at the fold */
.stage { position: relative; height: max(720px, 100svh);
  background: linear-gradient(to bottom, transparent calc(100% - 180px), var(--page)), radial-gradient(60% 70% at 52% 42%, var(--stage-hi) 0%, var(--page) 55%, var(--stage-lo) 100%); }
.hdr { position: fixed; inset: 0 0 auto; z-index: 40; padding: 24px clamp(16px, 3.4vw, 56px) 0; transition: padding var(--spring-t) var(--spring); }
/* floating chrome: a translucent material with a soft scroll-edge fade instead of a hard divider; it materializes (blur + fade + drop in) */
.hdr::before { content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none;
  background: color-mix(in srgb, var(--page) 74%, transparent); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  -webkit-mask: linear-gradient(#000 calc(100% - 28px), transparent); mask: linear-gradient(#000 calc(100% - 28px), transparent);
  opacity: 0; transform: translateY(-10px); transition: opacity 280ms ease, transform var(--spring-t) var(--spring); }
.hdr.is-float { padding-top: 10px; padding-bottom: 10px; }
.hdr.is-float::before { opacity: 1; transform: none; }
/* on the bar, the tabs sit flat on the material (no light chip on a light material); the current one stays solid */
.hdr.is-float .tabs a:not([aria-current="true"]), .hdr.is-float .pill, .hdr.is-float .hdr__right .sq { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
section[id] { scroll-margin-top: 92px; }
.hdr__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 56px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.25rem; letter-spacing: -.03em; min-height: 44px; }
.logo img { display: block; }
.logo__full { width: 120px; height: auto; margin: -12px -7px -12px -7px; }   /* the artwork's own clear space overlaps the header padding */
.logo .logo__sym { display: none; width: 46px; height: 46px; margin: -6px; }
.tabs { display: flex; gap: 6px; }
.tabs a { min-height: 44px; padding: 0 20px; display: inline-flex; align-items: center; border-radius: var(--r-ctl); background: color-mix(in srgb, var(--panel) 70%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--edge-hi); text-decoration: none; font-size: .9375rem; font-weight: 500; transition: background-color 160ms ease, color 160ms ease, transform 100ms ease-out; }
.tabs a:active { transform: scale(.97); }
.tabs a[aria-current="true"] { background: var(--solid); color: var(--on-solid); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .tabs a:not([aria-current="true"]):hover { background: var(--ctl-hover); } }
.hdr__right { justify-self: end; display: flex; gap: 8px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: var(--r-ctl); background: color-mix(in srgb, var(--panel) 70%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--edge-hi); font-size: .8125rem; color: var(--muted); }
.pill b { color: var(--ink); font-weight: 500; }
.pill svg { width: 16px; height: 16px; color: var(--ink); }

/* hero-text-area: the left 30%, frosted at 40% */
.hta {
  --hta-a: .4;
  position: absolute; z-index: 4; left: 0; top: 0; bottom: 0; width: var(--T);
  display: flex; flex-direction: column; justify-content: center; gap: 48px;
  padding: 120px clamp(24px, 3vw, 48px) 120px clamp(16px, 3.4vw, 56px);
  background: color-mix(in srgb, var(--hta-tint) 40%, transparent);
  -webkit-backdrop-filter: blur(44px) saturate(1.05); backdrop-filter: blur(44px) saturate(1.05);
  border-right: 1px solid rgba(0, 0, 0, .14);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .5);
}
.hta h1 { font-size: clamp(3.5rem, 1.2rem + 6.2vw, 8rem); line-height: .86; letter-spacing: -.04em; font-weight: 600; }
.hta h1 span { display: block; font-size: clamp(1.25rem, .95rem + .7vw, 1.75rem); line-height: 1.15; letter-spacing: -.015em; font-weight: 500; margin-top: 24px; }
.hta h1 em { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; font-size: 1.32em; letter-spacing: -.01em; line-height: 1; color: var(--green-btn); }
/* a soft lift behind the words only, so they stay readable where the product shows through the 40% frost */
.hta__text { position: relative; }
.hta__text::before { content: ""; position: absolute; z-index: -1; inset: -48px -72px -48px -56px; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--hta-tint) 82%, transparent) 55%, transparent); }
.hta__lead { color: var(--muted); max-width: 36ch; margin-top: 16px; font-size: 1rem; }
.hta__tools { display: grid; grid-template-columns: 44px 1fr; gap: 8px 12px; align-items: center; font-size: .875rem; color: var(--muted); }
.hta__tools .sq[aria-pressed="false"] { background: var(--solid); color: var(--on-solid); }

/* the product: 70% of the screen height, right edge at 80% of the width */
.product {
  /* 70% of the first screen's height, with 30% of its width always behind the text area;
     shrinks only if its right edge would reach the waitlist card (70vw - side - 24px = 0.7 x width) */
  --h: var(--H);
  position: absolute; z-index: 2; top: 48.5%; left: calc(var(--T) - var(--h) * 1.6506 * .3); height: var(--h); width: calc(var(--h) * 1.6506);
  transform: translateY(-50%);
}
.frame { position: relative; width: 100%; height: 100%; }
.frame > img { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 2px 2px rgba(0,0,0,.22)) drop-shadow(0 26px 30px rgba(0,0,0,.20)); }
/* floor shadow, as under the car in the reference: a tight dark contact line and a wide soft pool */
.product::before, .product::after { content: ""; position: absolute; left: 50%; border-radius: 50%; pointer-events: none; z-index: -1; transform: translateX(-50%); }
.product::before { bottom: -9%; width: 92%; height: 14%; background: radial-gradient(closest-side, rgba(0,0,0,.42), rgba(0,0,0,.18) 55%, transparent); filter: blur(18px); }
.product::after { bottom: -4.5%; width: 80%; height: 4%; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); filter: blur(6px); }
.led { position: absolute; left: 5.833%; top: 9.904%; width: 73.75%; height: 80.88%; pointer-events: none;   /* the render's whole light field (x 70-955, y 72-660 of 1200 x 727) */
  transition: opacity 900ms var(--ease-out); }
.frame.light-off .led { opacity: 0; }
.glass-screen { position: absolute; left: 14.9%; top: 23.95%; width: 55.45%; height: 52.95%; border-radius: 2px;
  overflow: hidden; background: #020203; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
/* the wallpaper: a living room at dusk, drawn as silhouettes (img/room.svg). Its light is a mask, tinted each frame with the light frame's colour (site.js).
   To go back to the skyline, use screen-skyline-light-2400.webp in the two mask urls below. */
.screen-light { position: absolute; inset: 0; background: rgb(127, 52, 66);
  -webkit-mask: url("../img/screen-room-light-2400.webp") center / cover no-repeat; mask: url("../img/screen-room-light-2400.webp") center / cover no-repeat; }
/* the floor lamp in the picture: its own light layer, brighter than the window (site.js tints it a lighter version of the same colour) */
.screen-lamp { position: absolute; inset: 0; background: rgb(240, 200, 190);
  -webkit-mask: url("../img/screen-room-lamp-2400.webp") center / cover no-repeat; mask: url("../img/screen-room-lamp-2400.webp") center / cover no-repeat; }
.glass-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 34%, rgba(255,255,255,0) 35%); }

/* waitlist box on the right, overlapping the chin a little */
/* waitlist card: inside the band right of the product */
.ask { position: absolute; z-index: 5; top: 128px; right: var(--M); width: var(--C); padding: 20px; }
.ask label { display: block; font-size: 1.0625rem; font-weight: 500; }
.ask__sub { font-size: .8125rem; color: var(--muted); margin-top: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ask input[type="email"] { width: 100%; min-height: 48px; margin-top: 8px; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); font: 400 1rem var(--sans); }
.ask input[type="email"]::placeholder { color: #5f5f62; }
.ask input[type="email"]:focus { outline: none; border-bottom-color: var(--green); }
.ask__row { display: flex; gap: 8px; align-items: center; margin-top: 16px; }
.ask__row .btn { margin-left: auto; }
.err { color: #b3261e; font-size: .8125rem; margin-top: 8px; }
.status { font-size: .8125rem; margin-top: 10px; }
.status[data-state="error"] { color: #b3261e; }
.ask[data-error] input[type="email"] { border-bottom-color: #b3261e; }
.hp { position: absolute; left: -9999px; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* cards along the bottom of the hero, over the floor shadow */
.row-wrap { position: relative; z-index: 5; margin-top: calc(-1 * var(--peek)); }
.row-wrap .row { grid-auto-columns: var(--cw); padding: 4px var(--edge) 48px var(--L); scroll-padding-left: var(--L); }
.snap-meet { position: absolute; left: 0; width: 1px; height: 1px; top: calc(48.5% + var(--H) / 2 - 24px); pointer-events: none; }
@media (min-width: 1001px) { html { scroll-snap-type: y proximity; } .stage, .snap-meet { scroll-snap-align: start; } }

/* Meet Wizr cards: css/meet.css */


/* bottom row, cut by the fold */
.row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 24px; scrollbar-width: none; }
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }
.mini { padding: 20px; min-height: 260px; display: flex; flex-direction: column; }
.mini .card-head .sq { width: 40px; height: 40px; }
.dims { flex: 1; display: grid; place-items: center; }
.dims svg { width: 100%; max-width: 260px; height: auto; color: var(--muted); }
.big { font-size: 2.75rem; line-height: 1; letter-spacing: -.04em; font-weight: 500; }
.dots { margin-top: 16px; height: 64px; border-radius: 10px; background: #161618; position: relative; overflow: hidden; }
.dots::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, var(--dot, #f08a43) 0 1.1px, transparent 1.6px) 0 0 / 6px 6px; -webkit-mask: linear-gradient(90deg, #000, rgba(0,0,0,.25)); mask: linear-gradient(90deg, #000, rgba(0,0,0,.25)); transition: background-color 600ms ease; }
.radios { display: grid; gap: 8px; }
.radio { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--r-ctl); background: var(--ctl-2); box-shadow: var(--edge-hi); cursor: pointer; }
.radio b { font-weight: 500; display: block; font-size: .9375rem; }
.radio small { color: var(--muted); font-size: .8125rem; }
.radio input { appearance: none; -webkit-appearance: none; margin: 0; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #9a9a9c; flex: none; cursor: pointer; transition: box-shadow 160ms ease; }
.radio input:checked { box-shadow: inset 0 0 0 1.5px var(--green), inset 0 0 0 5px var(--ctl-2), inset 0 0 0 10px var(--green); }
.radio input:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.thumb { flex: 1; border-radius: var(--r-ctl); overflow: hidden; position: relative; min-height: 120px; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb span { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(24,24,26,.78); color: #fff; font-size: .75rem; font-weight: 500; }

/* the coded light frame (as in versions 1 to 3) */
.frame { position: relative; aspect-ratio: 1200 / 727; }
.frame > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.frame__screen { position: absolute; left: 14.9%; top: 23.95%; width: 55.45%; height: 52.95%; overflow: hidden; border-radius: 2px; background: var(--screen); container-type: inline-size; }
.frame__light { position: absolute; inset: 0; pointer-events: none; -webkit-mask: url("../img/led-mask.png") 0 0 / 100% 100% no-repeat; mask: url("../img/led-mask.png") 0 0 / 100% 100% no-repeat; }
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity 600ms ease; }
.scene.is-on { opacity: 1; }
.frame__light .scene { transition-duration: 900ms; }
.frame__light, .frame__screen > * { transition: opacity 1000ms var(--ease-out); }
.frame.is-dark .frame__light, .frame.is-dark .frame__screen > * { opacity: 0; }
.frame.light-off .frame__light { opacity: 0; }
.frame.screen-off .frame__screen > * { opacity: 0; }
.sc-night.on-frame { background: radial-gradient(70% 70% at 42% 50%, rgba(223,233,255,.6), rgba(223,233,255,.14) 70%); }
.sc-night.on-screen { background: #050506; }
.sc-eve.on-frame { background: radial-gradient(60% 70% at 42% 50%, #ffb46b 0%, #f07a3a 38%, #9c2f1e 70%, #3a0f12 100%); }
.sc-eve.on-screen { background: linear-gradient(180deg, #3a1420 0%, #a33a24 46%, #f08a43 74%, #ffc27a 100%); }
.sc-sea.on-frame { background: radial-gradient(60% 70% at 42% 50%, #9ff0e0 0%, #2fb7a6 36%, #0d5c6e 68%, #07222e 100%); }
.sc-sea.on-screen { background: linear-gradient(170deg, #062432 0%, #0c4a5c 45%, #1f8f8a 78%, #7fdcc9 100%); }
.sc-morn.on-frame { background: radial-gradient(55% 60% at 8% 12%, #4b8ff0, transparent 70%), radial-gradient(55% 60% at 78% 10%, #e9506a, transparent 70%), radial-gradient(55% 60% at 10% 92%, #43b36b, transparent 70%), radial-gradient(55% 60% at 78% 92%, #f2c14e, transparent 70%), #8a8fa0; }
.sc-morn.on-screen { background: #f4efe6; color: #1c1b19; }
.ui { position: absolute; inset: 0; padding: 6cqw 6.5cqw; display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.sc-morn .ui { color: #1c1b19; }
.ui__time { font-size: 13cqw; line-height: 1; letter-spacing: -.05em; font-weight: 300; font-variant-numeric: tabular-nums; }
.ui__sub { font-size: max(11px, 3cqw); opacity: .9; margin-top: 2cqw; }
.ui__row { display: flex; gap: 2cqw; }
.ui__chip { padding: 1.6cqw 2.4cqw; border-radius: 1.6cqw; background: rgba(14, 10, 9, .62); color: #fff; font-size: max(11px, 2.6cqw); line-height: 1.25; }
.sc-morn .ui__chip { background: #fff; color: #1c1b19; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.ui__chip b { display: block; font-weight: 600; }
.ui__h { font-size: 6cqw; font-weight: 500; letter-spacing: -.02em; }
.sc-night .ui { justify-content: center; align-items: center; text-align: center; }
.sc-night .ui__time { font-size: 15cqw; font-weight: 200; }
@container (max-width: 380px) { .ui__row { display: none; } }

/* sections below the stage */
main > section:not(.top) { padding-top: clamp(64px, 8vw, 112px); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.08; letter-spacing: -.03em; max-width: 20ch; }
.sec-head p { color: var(--muted); max-width: 42ch; }

/* Built to be opened (four numbers) and For the curious (the specs), from the early site */
/* serif accent in every section heading, echoing the hero tagline */
h2 em, .page h1 em { font-family: "Instrument Serif", Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; font-size: 1.14em; letter-spacing: -.01em; line-height: 1; }
.cur-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.cur-nums li { padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.cur-nums b { font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.75rem); line-height: 1; letter-spacing: -.04em; font-weight: 500; }
.cur-nums span { color: var(--muted); font-size: .9375rem; max-width: 32ch; }
.spx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); }
.spx__i { padding: 24px 0 28px; border-top: 1px solid var(--line); display: grid; align-content: start; gap: 8px; }
.spx__k { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .8125rem; margin-bottom: 6px; }
.spx__k svg { width: 22px; height: 22px; color: var(--ink); flex: none; }
.spx__i h3 { font-size: 1.125rem; letter-spacing: -.015em; font-weight: 500; }
.spx__i p { color: var(--muted); font-size: .9375rem; max-width: 40ch; }
.spx__log { display: table; margin-top: 12px; color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
@media (hover: hover) and (pointer: fine) { .spx__log:hover { color: var(--green-btn); border-bottom-color: currentColor; } }
/* For the curious: the specs on the left, Wizr in portrait on the right */
.cur-split { display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 30vw, 440px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.cur-split .spx { column-gap: clamp(20px, 2.4vw, 40px); }
.port { margin: 0; display: grid; justify-items: center; gap: 18px; }
.port__box { position: relative; width: 100%; aspect-ratio: 727 / 1200; container-type: size;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.2)) drop-shadow(0 24px 28px rgba(0,0,0,.18)); }
.port__dev { position: absolute; left: 50%; top: 50%; width: 100cqh; height: 100cqw; transform: translate(-50%, -50%) rotate(-90deg); }   /* the landscape device, turned so the chin is at the top */
.port__dev > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.port__screen { position: absolute; left: 14.9%; top: 23.95%; width: 55.45%; height: 52.95%; overflow: hidden; border-radius: 2px; background: #050506; container-type: size; }
.port .scr-port { position: absolute; left: 50%; top: 50%; width: 100cqh; height: 100cqw; transform: translate(-50%, -50%) rotate(90deg); container-type: inline-size; }   /* the screen turned back upright */
.port figcaption { font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em; text-align: center; }
.sp { position: absolute; inset: 0; color: #fff; font-family: var(--sans); }
.sp__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp__hi { position: absolute; left: 9cqw; top: 9cqw; font-weight: 200; font-size: 20cqw; line-height: .9; letter-spacing: .02em; }
.sp__arrow { position: absolute; left: 13cqw; top: 33cqw; font-size: 4cqw; opacity: .7; }
.sp__time { position: absolute; left: 9cqw; top: 41cqw; font-weight: 600; font-size: 5.6cqw; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.sp__day { position: absolute; left: 21cqw; top: 126cqw; transform: rotate(-90deg); transform-origin: 0 0; display: grid; grid-template-columns: auto auto auto; grid-template-rows: auto auto; align-items: center; column-gap: 2.6cqw; white-space: nowrap; }
.sp__date { font-size: 2.6cqw; letter-spacing: .3em; text-transform: uppercase; opacity: .85; }
.sp__dash { width: 7cqw; height: 1px; background: rgba(255,255,255,.7); }
.sp__day b { font-weight: 600; font-size: 8cqw; letter-spacing: .22em; text-transform: uppercase; }
.sp__day small { grid-column: 3; font-size: 2.5cqw; letter-spacing: .32em; text-transform: uppercase; opacity: .8; margin-top: .6cqw; }
.sp__apps { position: absolute; left: 9cqw; bottom: 12cqw; display: grid; gap: 5cqw; }
.sp__apps i { width: 9.5cqw; height: 9.5cqw; border-radius: 2.6cqw; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; backdrop-filter: blur(4px); }
.sp__apps svg { width: 5.4cqw; height: 5.4cqw; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sp__who { position: absolute; left: 34cqw; bottom: 13cqw; display: grid; gap: 1.2cqw; text-align: center; }
.sp__who b { font-weight: 600; font-size: 3.4cqw; }
.sp__who span { font-size: 2.3cqw; opacity: .75; letter-spacing: .1em; }
@media (max-width: 1000px) { .cur-split { grid-template-columns: 1fr; } .port { max-width: 340px; margin: 8px auto 0; width: 100%; } }
@media (max-width: 900px) { .cur-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } .spx { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .spx { grid-template-columns: 1fr; } }

/* Made for every room: the same Wizr in two rooms; drag the divider (or use the arrow keys) to move between them */
.swap { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; background: var(--panel); }
.swap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; pointer-events: none; }
.swap__b { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); }
.swap__bar { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: rgba(255,255,255,.92); box-shadow: 0 0 0 .5px rgba(0,0,0,.12); pointer-events: none; }
.swap__knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: var(--r-ctl);
  background: var(--ctl-2); color: var(--ink); box-shadow: var(--edge-hi), 0 6px 18px rgba(0,0,0,.18); transition: transform 160ms var(--ease-out), color 160ms ease; }
.swap__knob svg { width: 20px; height: 20px; }
.swap.is-drag .swap__knob { transform: translate(-50%, -50%) scale(1.06); color: var(--brand); transition-duration: 100ms; }
@media (hover: hover) and (pointer: fine) { .swap:hover .swap__knob { color: var(--brand); } }
.swap:has(.swap__range:focus-visible) .swap__knob { outline: 2px solid var(--green); outline-offset: 3px; }
.swap__tag { position: absolute; top: 16px; display: inline-flex; gap: 8px; align-items: baseline; padding: 8px 14px; border-radius: var(--r-ctl); font-size: .8125rem; color: var(--muted);
  background: color-mix(in srgb, var(--panel) 80%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--edge-hi); pointer-events: none; transition: opacity 200ms ease; }
.swap__tag b { color: var(--ink); font-weight: 500; }
.swap__tag--a { left: 16px; } .swap__tag--b { right: 16px; }
.swap.is-a .swap__tag--b, .swap.is-b .swap__tag--a { opacity: 0; }
@media (max-width: 700px) { .swap { aspect-ratio: 1 / 1; } .swap img { object-position: 61% 40%; } .swap__tag { top: 12px; font-size: .75rem; padding: 6px 10px; } .swap__tag--a { left: 12px; } .swap__tag--b { right: 12px; } }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.media-card { padding: 12px; }
.media-card img { width: 100%; border-radius: 12px; object-fit: cover; aspect-ratio: 16 / 10; }
.media-card div { padding: 16px 8px 8px; }
.media-card h3 { font-size: 1.0625rem; letter-spacing: -.01em; }
.media-card p { color: var(--muted); font-size: .9375rem; margin-top: 4px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.plan { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.plan--pro { box-shadow: var(--edge-hi), var(--shadow), inset 0 0 0 1.5px var(--green); }
.plan h3 { font-size: 1.25rem; }
.price { font-size: 2.5rem; line-height: 1; letter-spacing: -.04em; font-weight: 500; }
.price small { display: block; font-size: .875rem; letter-spacing: 0; color: var(--muted); font-weight: 400; margin-top: 8px; }
.plan ul { display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .9375rem; }
.plan li svg { width: 18px; height: 18px; color: var(--green); margin-top: 2px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.note { color: var(--muted); font-size: .875rem; margin-top: 16px; }
.film { padding: 12px; }
.film__frame { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #c9c9c7; }
.film__frame video { width: 100%; height: 100%; object-fit: cover; }
.film__play { position: absolute; inset: 0; display: grid; place-items: end start; border: 0; padding: clamp(14px, 2.5vw, 28px); background: transparent; cursor: pointer; }
.film__play span { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 18px; border-radius: var(--r-ctl); background: var(--panel-a); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ink); font: 500 .9375rem var(--sans); box-shadow: var(--edge-hi); transition: transform 160ms var(--ease-out); }
.film__play svg { width: 18px; height: 18px; color: var(--green); }
.film__play:active span { transform: scale(.97); }
.film.is-playing .film__play { display: none; }
.faq { padding: 8px 28px; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 1.0625rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform 200ms var(--ease-out); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 20px; max-width: 64ch; }
.closing { padding: clamp(28px, 4vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.closing h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); letter-spacing: -.03em; line-height: 1.08; }
.closing p { color: var(--muted); margin-top: 8px; }
.ftr { padding: 48px 0 40px; font-size: .875rem; color: var(--muted); }
.ftr__top { padding-bottom: 8px; text-align: center; }
.ftr .ftr__brand { display: inline-block; padding: 0; }
.ftr__brand img { display: block; width: 200px; height: auto; }
.ftr__in { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.ftr nav { display: flex; gap: 4px 20px; flex-wrap: wrap; }
.ftr a { text-decoration: none; padding: 12px 0; display: inline-block; }
.ftr a:hover { color: var(--ink); }

/* small pages */
.page { padding-top: clamp(48px, 7vw, 96px); min-height: 70svh; }
.page .panel { padding: clamp(28px, 4vw, 56px); max-width: 860px; }
.page h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); letter-spacing: -.035em; line-height: 1.04; }
.prose { display: grid; gap: 16px; margin-top: 28px; max-width: 52ch; }
.prose h2 { font-size: 1.25rem; margin-top: 12px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; }

/* phones and small laptops: the text area becomes the top block, nothing overlaps */
@media (max-width: 1000px) {
  .hero { overflow: visible; }
  .stage { height: auto; display: flex; flex-direction: column; gap: 20px; padding: 96px 0 24px; }
  .hta, .product, .ask, .row-wrap { position: static; transform: none; }
  .hta { width: auto; padding: 0 var(--edge); background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: none; gap: 24px; }
  .hta__tools { display: none; }
  .product { --h: auto; position: relative; inset: auto; width: calc(100% - 2 * var(--edge)); height: auto; aspect-ratio: 1200 / 727; margin: 12px auto 28px; }
  .ask { width: auto; margin: 0 var(--edge); }
  .row-wrap { margin-top: 0; }
  .row-wrap .row { grid-auto-columns: 84%; padding-left: var(--edge); scroll-padding-left: var(--edge); }
}
@media (max-width: 900px) {
  .hdr__in { grid-template-columns: auto 1fr; }
  .tabs { display: none; }
  .hdr__right .pill { display: none; }
  .g3, .plans { grid-template-columns: 1fr; }
  .row { grid-auto-columns: 84%; }
}
@media (prefers-reduced-motion: reduce) { .tip::after { transition: none; } }
@media (prefers-reduced-motion: no-preference) {
  .js [data-enter] { opacity: 0; }
  .js.is-entered [data-enter] { opacity: 1; transition: opacity 600ms var(--ease-out); transition-delay: var(--d, 0ms); }
}

/* prototype control: the Colours panel (bottom left). Remove before going live. */
.cpanel { position: fixed; left: 16px; bottom: 16px; z-index: 60; font: 500 .8125rem/1.3 var(--sans); color: #fff; }
.cpanel__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(0,0,0,.84); color: #fff; font: inherit; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.cpanel__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.cpanel__body { position: absolute; left: 0; bottom: 48px; width: 300px; max-height: min(72vh, 640px); overflow: auto; padding: 12px; border-radius: 16px; background: rgba(18,18,18,.92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.cpanel__list { display: grid; gap: 2px; }
.cpanel__row { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; min-height: 40px; padding: 2px 4px; border-radius: 8px; cursor: pointer; }
.cpanel__row input[type="color"] { width: 32px; height: 32px; padding: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; background: none; cursor: pointer; }
.cpanel__row input[type="color"]::-webkit-color-swatch-wrapper { padding: 2px; }
.cpanel__row input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 5px; }
.cpanel__row small { display: block; color: rgba(255,255,255,.62); font-weight: 400; font-size: .75rem; }
.cpanel__hex { font: 500 .75rem ui-monospace, SFMono-Regular, Menlo, monospace; color: rgba(255,255,255,.78); }
.cpanel__ratio { margin: 10px 4px 0; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.72); font-weight: 400; font-size: .75rem; display: grid; gap: 2px; }
.cpanel__ratio b { color: #fff; font-weight: 500; } .cpanel__ratio .bad { color: #ffb4a8; }
.cpanel__acts { display: flex; gap: 8px; margin-top: 10px; }
.cpanel__acts button { flex: 1; min-height: 36px; border: 0; border-radius: 10px; background: rgba(255,255,255,.12); color: #fff; font: inherit; cursor: pointer; }
.cpanel__acts button:last-child { background: #fff; color: #000; }
@media (hover: hover) and (pointer: fine) { .cpanel__row:hover { background: rgba(255,255,255,.06); } .cpanel__acts button:hover { background: rgba(255,255,255,.2); } .cpanel__acts button:last-child:hover { background: #e6e6e6; } }
@media (max-width: 640px) { .cpanel { left: auto; right: 12px; bottom: 12px; } .cpanel__btn { width: 44px; height: 44px; padding: 0; justify-content: center; } .cpanel__lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .cpanel__body { left: auto; right: 0; bottom: 52px; width: min(300px, calc(100vw - 24px)); } }

/* dimension drawing (blueprint line style) */
.bp-sheet { margin: 0; position: relative; padding: clamp(16px, 3vw, 40px); border: 1px solid rgba(17,17,17,.18); border-radius: 12px;
  background-color: rgba(255,255,255,.18);
  background-image: linear-gradient(rgba(17,17,17,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(17,17,17,.06) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px; color: var(--ink, #111); }
.bp { display: block; width: 100%; height: auto; overflow: visible; }
.bp * { fill: none; stroke: currentColor; }
.bp .bp-o { stroke-width: 1.6; }
.bp .bp-m { stroke-width: 1; }
.bp .bp-h { stroke-width: .75; stroke-dasharray: 4 3; opacity: .55; }
.bp .bp-c { stroke-width: .75; stroke-dasharray: 12 3 2 3; opacity: .5; }
.bp .bp-ext, .bp .bp-lead { stroke-width: .6; opacity: .55; }
.bp .bp-dim { stroke-width: .8; }
.bp .bp-tick { stroke-width: 1.4; }
.bp .bp-dot { fill: currentColor; stroke: none; }
.bp .bp-wall { stroke-width: 1.2; }
.bp .bp-hatch { stroke-width: .6; opacity: .45; }
.bp text { fill: currentColor; stroke: none; font-family: var(--sans); font-variant-numeric: tabular-nums; }
.bp .bp-n { font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.bp .bp-s { font-size: 12px; font-weight: 500; opacity: .7; }
.bp-block { display: flex; gap: 0; position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px);
  border: 1px solid rgba(17,17,17,.35); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.bp-block span { padding: 6px 10px; }
.bp-block span + span { border-left: 1px solid rgba(17,17,17,.35); }
.bp-block span:first-child { font-weight: 700; }
.bp--m { display: none; }
.bp .bp-badge { fill: var(--ink); stroke: none; }
.bp .bp-bn { fill: var(--page); font-size: 20px; font-weight: 700; }
.bp--m .bp-n { font-size: 34px; }
.bp--m .bp-s { font-size: 27px; }
.bp--m .bp-o { stroke-width: 2.6; }
.bp--m .bp-m, .bp--m .bp-dim { stroke-width: 1.6; }
.bp--m .bp-tick { stroke-width: 2.4; }
@media (max-width: 720px) {
  .bp--d { display: none; } .bp--m { display: block; }
  .bp-block { display: none; }
}

/* Meet cards: while the row widens on scroll, the card contents stay at their final width (no per-frame reflow or canvas resize);
   the card box just opens around them */
@media (min-width: 1001px) {
  .row-wrap .meet { overflow: hidden; contain: layout paint; }
  .row-wrap .meet:not(.is-open) .meet__body { width: calc(var(--cw1) - 40px); flex: 1 1 auto; align-self: center; opacity: calc((var(--p) - .45) / .55); }
}

/* drawing traces itself in when it scrolls into view (site.js adds .bp-pre, then .bp-on) */
.bp-pre .bp-draw { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); }
.bp-pre.bp-on .bp-draw { stroke-dashoffset: 0; transition: stroke-dashoffset var(--t, 900ms) cubic-bezier(.55, 0, .2, 1) var(--d, 0ms); }
.bp-pre:not(.bp-on) :is(.bp-h, .bp-c, .bp-hatch, .bp-dot, text) { opacity: 0; }
.bp-pre.bp-on :is(.bp-h, .bp-c, .bp-hatch, .bp-dot, text) { transition: opacity 600ms ease var(--d, 0ms); }

/* ---------- type: tracking is size-specific; small labels get a touch of positive tracking ---------- */
.pill, .note, figcaption, .swap__tag, .hta__hint, .bp-block, .plan .price small { letter-spacing: .01em; }
.sec-head p { letter-spacing: .002em; }

/* ---------- accessibility: reduced transparency and higher contrast ---------- */
@media (prefers-reduced-transparency: reduce) {
  .glass, .tabs a, .pill, .hta, .swap__tag, .film__play span, .hdr::before, .meet-scrim, .cpanel__body { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .glass, .tabs a:not([aria-current="true"]), .pill, .swap__tag, .film__play span { background: var(--panel) !important; }
  .hdr::before { background: var(--page); }
}
@media (prefers-contrast: more) {
  :root { --muted: #2b2b2b; }
  .tabs a:not([aria-current="true"]), .pill, .panel, .glass, .swap__tag, .film__play span { box-shadow: inset 0 0 0 1.5px var(--ink) !important; }
  .hdr.is-float::before { background: var(--page); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 0 var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  .hdr, .hdr::before { transition: opacity 200ms ease; transform: none; }
}

/* cookie choice for Clarity: small glass card, bottom left; only shown when analytics is on */
.cc { position: fixed; left: clamp(12px, 2.4vw, 28px); bottom: clamp(12px, 2.4vw, 28px); z-index: 90; max-width: 380px; padding: 18px 18px 16px;
  border-radius: 16px; background: color-mix(in srgb, var(--panel) 88%, transparent); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(17,17,17,.12); font-size: .875rem; line-height: 1.45; letter-spacing: .005em;
  opacity: 0; transform: translateY(12px) scale(.98); transition: opacity 220ms ease, transform var(--spring-t) var(--spring); }
.cc.is-in { opacity: 1; transform: none; }
.cc p { margin: 0 0 14px; }
.cc a { color: inherit; }
.cc__b { display: flex; gap: 8px; justify-content: flex-end; }
.cc .btn { padding: 10px 16px; font-size: .875rem; }
@media (max-width: 600px) { .cc { left: 12px; right: 12px; max-width: none; } }
@media (prefers-reduced-transparency: reduce) { .cc { background: var(--panel); -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (prefers-reduced-motion: reduce) { .cc { transform: none; transition: opacity 200ms ease; } }

/* ---------- phones ---------- */
@media (max-width: 1000px) {
  .hta__text::before { inset: -32px 0 -32px 0; }            /* the glow behind the hero text stayed 56px past the right edge and widened the page */
  .spx__log { display: inline-block; padding: 12px 0; }
}
@media (max-width: 1000px) and (min-width: 380px) {
  /* keep the section tabs on phones: the logo mark stays, its word goes */
  .hdr__in { grid-template-columns: auto 1fr auto; gap: 8px; }
  .tabs { display: flex; justify-self: center; gap: 2px; }
  .tabs a { padding: 0 12px; min-height: 40px; font-size: .875rem; }
  .logo .logo__full { display: none; }
  .logo .logo__sym { display: block; }
}
/* touch: the little dashboards inside a closed card are pictures, not controls; a tap anywhere on the card opens it */
@media (pointer: coarse) {
  .row-wrap .meet:not(.is-open) .meet__body { pointer-events: none; }
  .row-wrap .meet:not(.is-open) { cursor: pointer; }
}

/* waitlist: the hero card is just a button; the form opens in a dialog */
.btn--wide { display: flex; width: 100%; justify-content: center; align-items: center; gap: 8px; }
.signup { border: 0; padding: 0; margin: auto; width: min(440px, calc(100vw - 32px)); max-width: none; background: transparent; color: var(--ink); overflow: visible; }
.signup::backdrop { background: rgba(18, 18, 20, .42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.signup__card { position: relative; padding: 28px 24px 22px; border-radius: var(--r); background: var(--panel); box-shadow: var(--edge-hi), var(--shadow); max-height: calc(100dvh - 32px); overflow-y: auto; }
.signup[open] .signup__card { animation: su-in .28s var(--ease-out) both; }
@keyframes su-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .signup[open] .signup__card { animation: none; } }
.signup__x { position: absolute; top: 14px; right: 14px; }
.signup h2 { font-size: 1.375rem; font-weight: 500; margin: 0; padding-right: 52px; }
.signup__sub { font-size: .8125rem; color: var(--muted); margin: 4px 0 18px; }
.fld { margin-top: 12px; }
.fld label, .su-pick legend { display: block; font-size: .8125rem; color: var(--muted); }
.fld input { width: 100%; min-height: 44px; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); font: 400 1rem var(--sans); }
.fld input:focus { outline: none; border-bottom-color: var(--green); }
.fld select { width: 100%; min-height: 44px; padding: 0 22px 0 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f4f4f' stroke-width='1.8'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0 center / 16px; color: var(--ink); font: 400 1rem var(--sans); -webkit-appearance: none; appearance: none; text-overflow: ellipsis; }
.fld .opt { color: var(--muted); font-weight: 400; }
.fld select:focus { outline: none; border-bottom-color: var(--green); }
.fld[data-invalid] select { border-bottom-color: #b3261e; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row2 .fld { min-width: 0; }
.su-pick { border: 0; padding: 0; margin: 18px 0 0; }
.su-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 1rem; cursor: pointer; }
.su-check input { width: 20px; height: 20px; accent-color: var(--green-btn); margin: 0; }
.signup .status { margin: 0 0 10px; }
.signup .btn { margin-top: 4px; }
.su-foot { text-align: center; font-size: .8125rem; margin: 14px 0 0; }
.su-foot a { color: var(--muted); }
html:has(dialog[open]) { overflow: hidden; }
.ask .ask__h { display: block; margin: 0; font-size: 1.0625rem; font-weight: 500; }
.req { color: #b3261e; margin-left: 2px; }
.signup .err { margin: 6px 0 0; font-size: .8125rem; }
.fld[data-invalid] input { border-bottom-color: #b3261e; }
.fld[data-invalid] label, .su-pick[data-invalid] legend { color: #b3261e; }
.su-pick[data-invalid] .su-check input { outline: 2px solid #b3261e; outline-offset: 1px; }

/* ---------- 24 Nov refinements ---------- */
/* icon-only links say what they are on hover and keyboard focus */
.sq[data-tip] { position: relative; }
.sq[data-tip]::after { content: attr(data-tip); position: absolute; z-index: 50; top: calc(100% + 8px); left: 50%; transform: translate(-50%, -4px);
  padding: 6px 10px; border-radius: 8px; background: var(--solid); color: var(--on-solid); font: 500 .75rem/1.2 var(--sans); letter-spacing: .01em; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 160ms ease, transform 200ms var(--ease-out); }
.sq[data-tip-pos="end"]::after { left: auto; right: 0; transform: translate(0, -4px); }
@media (hover: hover) and (pointer: fine) { .sq[data-tip]:hover::after { opacity: 1; transform: translate(-50%, 0); } .sq[data-tip-pos="end"]:hover::after { transform: none; } }
.sq[data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.sq[data-tip-pos="end"]:focus-visible::after { transform: none; }

/* the shipping badge: in the header on wide screens, above the title on phones */
.pill--m { display: none; }
.hdr__right .pill { white-space: nowrap; }
@media (max-width: 900px) { .pill--m { display: inline-flex; min-height: 36px; padding: 0 14px; margin-bottom: 20px; font-size: .8125rem; color: var(--muted); } }

/* scroll cue: bottom of the text panel on wide screens, bottom centre on phones; fades once the visitor scrolls */
.scroll-cue { position: fixed; z-index: 30; left: clamp(16px, 3.4vw, 56px); bottom: 32px; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8125rem; letter-spacing: .01em;
  pointer-events: none; transition: opacity 300ms ease, transform 300ms var(--ease-out); }
.scroll-cue svg { width: 16px; height: 16px; }
.scroll-cue.is-gone { opacity: 0; transform: translateY(6px); }
@media (prefers-reduced-motion: no-preference) { .scroll-cue svg { animation: cue-bob 1.8s var(--ease-out) infinite; } }
@keyframes cue-bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@media (max-width: 1000px) {
  .scroll-cue { left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: 40px; height: 40px; justify-content: center; border-radius: 50%;
    background: color-mix(in srgb, var(--panel) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--edge-hi), 0 4px 16px rgba(0,0,0,.14); color: var(--ink); }
  .scroll-cue span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .scroll-cue.is-gone { transform: translate(-50%, 8px); }
}
@media (prefers-reduced-motion: reduce) { .sq[data-tip]::after, .scroll-cue { transition: none; } }

/* the frame closes to the upper right, so the logo sits in the upper-right corner on every screen; the badge and About move to the left */
.hdr__in > .logo { order: 3; justify-self: end; }
.hdr__in > .tabs { order: 2; }
.hdr__in > .hdr__right { order: 1; justify-self: start; }
.hdr__right .sq[data-tip]::after, .hdr__right .sq[data-tip]:hover::after, .hdr__right .sq[data-tip]:focus-visible::after { left: 0; right: auto; transform: none; }
