/* The website's one stylesheet. The look: a Mac-style desk at night. Near-black ground, windows of dark glass with
   brushed-metal title bars, a dock of the app's own 3D icons, and colour used as light, never as a flat fill.
   Each menu's colour (Intuition evergreen, Insight gold, Intellect indigo, File denim, Edit teal, Integrations
   amber, Byte lime) shows as a lit edge, a glow, or the far end of a headline. Gold is the signature. No pink, no red.
   What is ours alone: the flower from the app's opening, in gold metal, alive behind the desk; and the spark (the
   dot of the i) as the bullet, the light under the mouse, and the mark that travels as you read.
   Headlines are Sora; the three words and the name are Antonio (the app's own face); both files ship with the site.
   Everything else is the reader's own system face. tools/build-site.mjs puts the fonts' addresses in the lines below.
   Every pair of text and ground used here is checked for contrast in tests/site-look.test.ts. */
@font-face { font-family: "Antonio"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/antonio-25d4ca3d6f.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("/assets/sora-fa26406eed.woff2") format("woff2-variations"), url("__SORA__") format("woff2"); }

:root {
  --bg: #07090d; --bg-2: #0d1118; --bg-3: #151a22; --bar: #1a1f28;
  --ink: #e9edf3; --soft: #cbd3de; --mute: #a7b0bd; --silver: #9aa3b0;
  --hair: rgba(255, 255, 255, .1); --hair-2: rgba(255, 255, 255, .17);
  --gold: #f2b632; --gold-hi: #ffd565; --ever: #5fd3a6; --indigo: #a3acff; --teal: #6fdcd2; --denim: #86c1f5; --amber: #ffbe85; --lime: #c9ec86; --lens: #57e389;
  --cream: #fff6dd; --night-2: #17384f; --line: var(--hair); --brass-deep: #ffd565; --evergreen: #5fd3a6; --graphite: #10141c;
  --display: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --tall: "Antonio", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px; --tint: var(--gold-hi);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 76px; background: var(--bg); color-scheme: dark; }
body { margin: 0; color: var(--ink); font: 17px/1.6 var(--body); overflow-wrap: break-word; background-color: var(--bg);
  background-image: radial-gradient(1100px 620px at 82% -8%, rgba(242, 182, 50, .1), rgba(242, 182, 50, 0) 62%), radial-gradient(900px 640px at -6% 34%, rgba(95, 211, 166, .07), rgba(95, 211, 166, 0) 60%), radial-gradient(1000px 760px at 104% 86%, rgba(163, 172, 255, .09), rgba(163, 172, 255, 0) 60%), linear-gradient(180deg, #07090d, #0d1118); background-attachment: fixed; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--gold-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; font-weight: 600; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); margin: 0; color: var(--ink); }
p, ul, ol, dl { margin: 0 0 1em; }
strong { color: #fff; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.small { font-size: 15px; color: var(--mute); }
.lead { font-size: 19px; line-height: 1.55; color: var(--soft); }
.sr, html.desk-on .win-phone #desk-title, html.desk-on .win-films #films-title, html.desk-on .win-lens #glasses-title, html.desk-on .win-byte #byte-title, html.desk-on .win-integrations #integrations-title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* The spark: the dot of the i. It marks every kicker. */
.kicker { display: flex; align-items: center; gap: 10px; font: 600 13px/1.3 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin: 0 0 16px; }
.kicker::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #fffdf2; box-shadow: 0 0 10px 3px rgba(255, 213, 101, .85), 0 0 26px 8px rgba(242, 182, 50, .35); }
.kicker a { color: inherit; }
/* The NB stamp: struck in gold. */
.stamp { display: inline-block; background-color: var(--gold); background-image: linear-gradient(135deg, #fff3c4 0%, #f2b632 30%, #a87a14 55%, #ffe08a 76%, #d79a1e 100%); color: #1a1200; font: 800 13px/1 var(--body); letter-spacing: .05em; padding: 6px 7px; border-radius: 6px; margin-right: 10px; border: 1px solid rgba(255, 246, 221, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 2px 12px rgba(242, 182, 50, .35); }

.skip { position: absolute; left: 12px; top: -80px; background: var(--bg-3); color: var(--ink); padding: 12px 16px; border-radius: 10px; z-index: 60; border: 1px solid var(--gold-hi); }
.skip:focus { top: 12px; }

/* Behind everything: the flower from the app's opening, in gold metal, turning very slowly, with three sparks adrift. */
.desk-back { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.desk-back .flower { display: block; width: 100%; height: 100%; max-width: none; }
.flower-wrap { position: absolute; left: 50%; top: 50%; width: min(118vh, 128vw); height: min(118vh, 128vw); margin: calc(min(118vh, 128vw) / -2) 0 0 calc(min(118vh, 128vw) / -2); opacity: .2; will-change: transform, opacity; transform: translate3d(calc(22% + var(--px, 0) * -16px), calc(-4% + var(--py, 0) * -12px), 0) rotate(-8deg); transition: opacity 1.4s ease, transform 1.6s cubic-bezier(.2, .8, .2, 1); }
/* The spark's own glow is a part of its own, laid exactly on the flower's centre (site/flower.ts: 64.14%, 65.33%),
   so its twinkle never makes the browser draw the flower again. */
.flower-spark { position: absolute; left: 64.140%; top: 65.330%; width: 16%; height: 16%; margin: -8% 0 0 -8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 251, 232, .85), rgba(255, 213, 101, .45) 28%, rgba(242, 182, 50, 0)); }
.desk-back > i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fffdf2; box-shadow: 0 0 10px 3px rgba(255, 213, 101, .7), 0 0 30px 9px rgba(242, 182, 50, .25); opacity: .7; }
.desk-back > i:nth-of-type(1) { left: 12%; top: 26%; }
.desk-back > i:nth-of-type(2) { left: 78%; top: 64%; }
.desk-back > i:nth-of-type(3) { left: 44%; top: 88%; }
@keyframes back-turn { from { rotate: 0deg; } to { rotate: 360deg; } }
@keyframes spark-twinkle { 0%, 100% { opacity: .55; scale: .8; } 50% { opacity: 1; scale: 1.15; } }
@keyframes adrift { 0% { translate: 0 0; } 50% { translate: 9vw -7vh; } 100% { translate: 0 0; } }

/* The top of every page: a menu bar of dark glass with a thread of gold under it. */
.top { position: sticky; top: 0; z-index: 30; background-color: #0d1118; background-image: linear-gradient(180deg, #151a22, #0d1118); border-bottom: 1px solid var(--hair-2); color: var(--ink); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, rgba(242, 182, 50, 0), rgba(255, 213, 101, .9) 30%, rgba(242, 182, 50, .5) 60%, rgba(242, 182, 50, 0)); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .top { background-color: rgba(13, 17, 24, .72); background-image: none; -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); }
}
.top-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 20px; padding-top: 6px; padding-bottom: 6px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; font: 700 17px/1 var(--display); letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.top nav ul, .foot nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: 2px; }
.top nav ul { margin-left: -10px; }
.top nav a, .foot nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--soft); text-decoration: none; font-size: 15px; font-weight: 600; border-radius: 8px; }
.top nav a:hover, .foot nav a:hover, .top nav a[aria-current], .foot nav a[aria-current] { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--gold); text-underline-offset: 6px; }

main { position: relative; z-index: 1; }

/* A window: dark glass, a brushed-metal title bar, three lights (the three words' colours), and a lit top edge in
   the colour of what it holds. A soft gold light sits under the mouse. */
.win { position: relative; display: block; border: 1px solid var(--hair-2); border-radius: 14px; overflow: hidden; background-color: var(--bg-2); background-image: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015) 34%, rgba(255, 255, 255, .02)); box-shadow: 0 44px 110px -34px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .12); }
.win::before { content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 1px; z-index: 4; background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--tint), rgba(255, 255, 255, 0)); pointer-events: none; }
.win::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; background: radial-gradient(18px circle at var(--mx, -900px) var(--my, -900px), rgba(255, 253, 242, .5), rgba(255, 213, 101, .16) 45%, rgba(255, 213, 101, 0)), radial-gradient(360px circle at var(--mx, -900px) var(--my, -900px), rgba(255, 213, 101, .11), rgba(255, 213, 101, 0) 65%), rgba(4, 6, 10, var(--dim, 0)); transition: background-color .5s; }
.win-bar { position: relative; z-index: 2; display: flex; align-items: center; height: 44px; padding: 0 14px 0 144px; border-bottom: 1px solid var(--hair); background-color: var(--bar); background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .028) 0 1px, rgba(255, 255, 255, 0) 1px 3px), linear-gradient(180deg, #2b313c, #1a1f28 58%, #141820); color: var(--soft); font: 600 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; -webkit-user-select: none; user-select: none; }
.win-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-lights { position: absolute; left: 0; top: 0; height: 44px; width: 132px; display: flex; align-items: center; }
.win-lights i { display: block; flex: none; width: 13px; height: 13px; margin-left: 31px; border-radius: 50%; }
.win-lights i:first-child { margin-left: 16px; }
.win-lights button { position: relative; flex: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.win-lights button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; transition: transform .15s, box-shadow .2s; }
.win-lights i:nth-child(1), .win-close::before { background: radial-gradient(circle at 35% 30%, #c9f5e2, #5fd3a6 45%, #1f7d5c); box-shadow: 0 0 10px rgba(95, 211, 166, .55); }
.win-lights i:nth-child(2), .win-shrink::before { background: radial-gradient(circle at 35% 30%, #fff3c4, #f2b632 45%, #9a6f10); box-shadow: 0 0 10px rgba(242, 182, 50, .55); }
.win-lights i:nth-child(3), .win-grow::before { background: radial-gradient(circle at 35% 30%, #e3e6ff, #a3acff 45%, #4a55b8); box-shadow: 0 0 10px rgba(163, 172, 255, .55); }
.win-lights button:hover::before, .win-lights button:focus-visible::before { transform: scale(1.35); }
.win-lights button:focus-visible { outline-offset: -6px; }
.win-body { position: relative; z-index: 1; padding: 30px clamp(18px, 4.200vw, 48px) 34px; background-image: radial-gradient(760px 300px at 50% -40px, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 70%); }
.win-body .wrap { max-width: none; padding: 0; }
.win-welcome { --tint: #ffd565; } .win-words { --tint: #5fd3a6; } .win-lens { --tint: #57e389; } .win-phone { --tint: #86c1f5; }
.win-byte { --tint: #c9ec86; } .win-integrations { --tint: #ffbe85; } .win-privacy { --tint: #6fdcd2; } .win-pricing { --tint: #f2b632; }
/* The last line of a window: a reason to look behind it. */
.win-next { margin: 40px 0 0; padding-top: 14px; border-top: 1px solid var(--hair); }
.win-next a { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; color: var(--tint); text-decoration: none; font: 600 16px/1.3 var(--display); }
.win-next a::after { content: "\2192"; transition: transform .2s; }
.win-next a:hover::after { transform: translateX(6px); }

/* The home page with no script: every window, open, one after another. */
main.desk { padding: 44px var(--gutter) 120px; }
.windows { display: grid; gap: 52px; max-width: 1120px; margin: 0 auto; }
.desk-end { max-width: 1120px; margin: 64px auto 0; text-align: center; }
.desk-end .actions { justify-content: center; }
.desk-end:focus-visible { outline: none; }

/* The first window */
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { font: 300 clamp(40px, 11vw, 92px)/1 var(--display); letter-spacing: -.045em; }
.h1-name { display: block; font: 500 20px/1 var(--tall); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 14px; }
/* Three words, three lights: each starts white and ends in its own colour. */
.lit { display: table; color: var(--c); padding-bottom: .06em; }
.lit-intuition { --c: #5fd3a6; } .lit-insight { --c: #ffd565; } .lit-intellect { --c: #a3acff; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .lit, .word-head h3 { background-image: linear-gradient(100deg, #ffffff 0%, #e9edf3 34%, var(--c) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  .band h2, .intro h2, .reading h1, .reading h2 { background-image: linear-gradient(180deg, #ffffff, #9aa3b0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
}
.cube { margin-left: 4px; letter-spacing: 0; text-transform: none; font-size: 15px; color: var(--gold-hi); }
.cube sup { font-size: 13px; }
.hero .lead { margin-top: 18px; max-width: 32em; }
.even-line { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: 8px 16px 8px 14px; border: 1px solid rgba(255, 213, 101, .5); border-radius: 999px; background: rgba(242, 182, 50, .09); color: var(--gold-hi); font: 600 15px/1.3 var(--display); }
.even-line::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #fffdf2; box-shadow: 0 0 10px 3px rgba(255, 213, 101, .85); }
.even-line strong { color: inherit; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 0; }
/* The lens: a small one-colour display floating in front of the eye. Here, a pane of glass lit green from within. */
.hero-art { perspective: 1200px; }
.lens img { width: 100%; background: #000; border-radius: 14px; border: 1px solid rgba(87, 227, 137, .4); box-shadow: 0 0 70px -12px rgba(87, 227, 137, .45), 0 34px 70px -26px #000, inset 0 0 0 1px rgba(255, 255, 255, .06); }
/* The lens's words must read at full brightness and full definition (tests/site-lens.test.ts): the pictures are 4x
   the lens (each lens pixel a 4x4 block), and nothing lies over them, dims them, blends them or tilts them. On a
   phone the lens is shown at one CSS pixel per lens pixel, so its smallest words are about 15px tall, and the
   picture pans sideways inside its frame; nearest-neighbour scaling there lands every lens pixel on whole device
   pixels at 2x and 3x screens. */
@media (max-width: 640px) {
  .lens { overflow-x: auto; overscroll-behavior-x: contain; border-radius: 14px; }
  .lens img { width: 576px; max-width: none; image-rendering: pixelated; }
  .lens figcaption { position: sticky; left: 0; }
  .lens figcaption::after { content: " Swipe the picture sideways to see all of it."; }
}
.lens .lb-can:hover { filter: none; }

/* Buttons: the main one is gold metal; the quiet one is glass. */
.button { display: inline-flex; align-items: center; min-height: 50px; padding: 0 26px; border-radius: 12px; background-color: var(--gold); background-image: linear-gradient(180deg, #ffe9a6, #f2b632 52%, #d79a1e); color: #1a1200; font-weight: 800; text-decoration: none; border: 1px solid #ffefc0; box-shadow: 0 12px 34px -10px rgba(242, 182, 50, .6), inset 0 1px 0 rgba(255, 255, 255, .7); }
.button:hover { background-image: linear-gradient(180deg, #fff3c4, #ffc94a 52%, #e0a425); }
.button:active { transform: translateY(2px); }
.button.quiet { background-color: var(--bg-3); background-image: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); color: var(--ink); border-color: var(--hair-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.button.quiet:hover { border-color: var(--gold-hi); }

/* Pictures */
figure { margin: 0; position: relative; --ar: 2 / 1; }
.phone { --ar: 3 / 4; } .art-words { --ar: 600 / 440; } .art-recap, .art-eye { --ar: 640 / 300; } .art-desk { --ar: 300 / 420; } .art-price { --ar: 600 / 320; }
figcaption { font-size: 15px; margin-top: 14px; color: var(--mute); }
.lens-pair { display: grid; gap: 28px; margin: 8px 0 24px; }
/* The phone pictures show the app as it really looks (its own bright desk), framed in dark glass. */
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; max-width: 520px; }
.phone img { border-radius: 20px; border: 6px solid #05070a; outline: 1px solid var(--hair-2); box-shadow: 0 30px 70px -24px #000, 0 0 60px -20px rgba(134, 193, 245, .4); }

/* Inside a window */
.band, .word, .hero { padding: 0; }
.win-body section + section { margin-top: 52px; padding-top: 44px; border-top: 1px solid var(--hair); }
.intro { max-width: 40em; margin-bottom: 28px; }
.intro h2, .band h2 { font: 300 clamp(32px, 6.800vw, 54px)/1.06 var(--display); letter-spacing: -.04em; margin-bottom: 16px; padding-bottom: .08em; }
.band h3 { font: 700 18px/1.3 var(--body); color: #fff; margin: 28px 0 8px; }
.band p, .band li, .word p, .band dd { color: var(--soft); }
.plain { padding-left: 1.200em; }
.plain li { margin: 8px 0; }
.plain li::marker { color: var(--tint); }
.split { display: grid; gap: 8px; }

/* The three words, each a light of its own */
.words > .intro { margin-bottom: 8px; }
.word { padding: 40px 0 8px; margin-top: 32px; border-top: 1px solid var(--hair); position: relative; }
.word::before { content: ""; position: absolute; left: 0; top: -1px; width: 180px; height: 1px; background: linear-gradient(90deg, var(--c), rgba(255, 255, 255, 0)); }
.word-intuition { --c: #5fd3a6; } .word-insight { --c: #ffd565; } .word-intellect { --c: #a3acff; }
.word-grid { display: grid; gap: 28px; }
.word-head h3 { font: 500 clamp(64px, 17vw, 132px)/.95 var(--tall); letter-spacing: .005em; color: var(--c); padding-bottom: .04em; }
.word-head p { font: 400 19px/1.4 var(--display); letter-spacing: -.01em; margin: 14px 0 0; max-width: 17em; color: var(--ink); }

/* "What you can do today": the app's 3D icon, then the words */
.can { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.can li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.can .i3d { width: 56px; height: 56px; display: block; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .55)); }
.can p { margin: 0; padding-top: 4px; }
.desk-grid { display: grid; gap: 36px; align-items: center; }

/* Services: names in a flowing list, a hairline between them */
.list-title { margin-top: 0; }
.services { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); column-gap: 40px; }
.services li { padding: 13px 0; border-bottom: 1px solid var(--hair); }
.services strong { display: inline-block; min-width: 5.500em; color: var(--tint); }

/* What leaves the phone, and the price: a name on the left, the answer on the right */
.leaves, .price { margin: 0 0 28px; border-top: 1px solid var(--hair-2); }
.leaves > div, .price > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.leaves dt, .price dt { font-weight: 700; color: var(--tint); }
.leaves dd, .price dd { margin: 0; }
.price-big { font: 300 clamp(28px, 5.600vw, 44px)/1.14 var(--display); letter-spacing: -.035em; color: var(--gold-hi); margin: 0 0 22px; max-width: 18em; }
.not-yet { display: inline-block; border: 1px solid rgba(255, 213, 101, .5); background: rgba(242, 182, 50, .09); color: var(--gold-hi); padding: 9px 16px; border-radius: 999px; margin: 0 0 28px; }
.not-yet strong { color: inherit; }
.packs { font-weight: 800; white-space: nowrap; color: var(--gold-hi); }
.needs { font-size: 19px; }

/* The dock: on every page, glass, with the app's own icons. It stays at the foot of the screen until the footer. */
.dock { position: sticky; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 25; display: flex; justify-content: center; padding: 0 8px; pointer-events: none; }
.dock ul { pointer-events: auto; list-style: none; display: flex; gap: 2px; max-width: 100%; margin: 0; padding: 8px 10px 6px; overflow-x: auto; scrollbar-width: none; border-radius: 22px; border: 1px solid var(--hair-2); background-color: #151a22; box-shadow: 0 24px 60px -18px #000, inset 0 1px 0 rgba(255, 255, 255, .14); perspective: 700px; transform: translate3d(calc(var(--px, 0) * 7px), 0, 0); }
.dock ul::-webkit-scrollbar { display: none; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .dock ul { background-color: rgba(21, 26, 34, .66); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); }
}
.dock li { flex: none; }
.dock a { position: relative; display: grid; justify-items: center; gap: 5px; min-width: 66px; min-height: 44px; padding: 4px 4px 12px; border-radius: 14px; color: var(--soft); text-decoration: none; font: 600 13px/1.1 var(--body); }
.dock a:hover, .dock a[aria-current] { color: #fff; }
.dock .i3d { display: block; }
.dock .i3d, .dock .tile { width: 44px; height: 44px; transform: rotateX(var(--tilt, 0deg)) rotateY(var(--turn, 0deg)); filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .6)); }
/* A plain tile of polished steel with a mark struck in it, for the windows that have no icon in the app. */
.tile { display: flex; align-items: center; justify-content: center; border-radius: 11px; background-color: #9aa3b0; background-image: linear-gradient(145deg, #f6f8fb 0%, #c3cad4 30%, #8e97a5 58%, #dfe4ea 80%, #aab2be 100%); color: #0d1118; font: 800 16px/1 var(--display); letter-spacing: -.02em; border: 1px solid rgba(255, 255, 255, .5); }
.tile sup { font-size: 13px; align-self: flex-start; margin-top: 8px; }
.dock a::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.500px; border-radius: 50%; opacity: 0; background: #fffdf2; box-shadow: 0 0 8px 2px rgba(255, 213, 101, .9); transition: opacity .3s; }
.dock a.is-open::after, .dock a[aria-current]::after { opacity: 1; }
.dock a.is-shrunk::after { opacity: .9; background: none; box-shadow: inset 0 0 0 1px var(--gold-hi); }

/* The bottom of every page */
.foot { position: relative; z-index: 1; margin-top: 28px; background-color: var(--bg); border-top: 3px solid var(--gold); color: var(--mute); padding: 44px 0 56px; }
.foot-brand { font: 700 17px/1.4 var(--display); color: var(--ink); margin-bottom: 12px; }
.foot-words { font-weight: 400; margin-left: 8px; color: var(--gold-hi); }
.foot nav ul { margin: 0 0 12px -10px; }
.foot-even { margin: 0 0 4px; color: var(--gold-hi); font: 600 15px/1.4 var(--display); }
.foot-note { font-size: 15px; color: var(--mute); max-width: 46em; margin: 0 0 8px; }
.foot-by { margin: 0 0 8px; }

/* The byline, a real link: in the footer of every page and on the home page's opening. Gold, with a glow that
   breathes about every two seconds. Only the glow moves; the letters keep their colour, so the words read the same
   at the glow's dimmest. With less motion asked for, the glow holds still. */
.by { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: #ffd565; font-family: var(--tall); font-weight: 500; font-size: 17px; letter-spacing: .06em; position: relative; text-decoration: none; text-shadow: 0 0 10px rgba(242, 182, 50, .7); }
/* The underline is drawn, not a text decoration: Safari placed the decoration far below an inline-flex link. */
.by::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: rgba(242, 182, 50, .7); }
.by:hover::after { height: 2px; background: #ffd565; }
@keyframes by-pulse {
  0%, 100% { text-shadow: 0 0 3px rgba(242, 182, 50, .3); }
  50% { text-shadow: 0 0 9px rgba(255, 224, 138, 1), 0 0 22px rgba(242, 182, 50, .95), 0 0 44px rgba(242, 182, 50, .6); }
}
@media (prefers-reduced-motion: no-preference) {
  .by { animation: by-pulse 2s ease-in-out infinite; }
}

/* Reading pages: handbook, legal, refunds, support, pair. One window on the desk. */
main.reading { max-width: 860px; margin: 40px auto 110px; --tint: #ecd3ae; }
main.reading > article { padding: 34px clamp(18px, 5vw, 56px) 52px; position: relative; z-index: 1; }
.reading .kicker { margin-bottom: 20px; }
.reading h1 { font: 300 clamp(36px, 8vw, 58px)/1.06 var(--display); letter-spacing: -.04em; margin-bottom: 20px; padding-bottom: .08em; }
.reading h2 { font: 400 clamp(25px, 5.600vw, 32px)/1.15 var(--display); letter-spacing: -.03em; margin: 52px 0 14px; padding-bottom: .08em; }
.reading h3 { font: 700 19px/1.35 var(--body); color: #fff; margin: 30px 0 8px; }
.reading p, .reading li { color: var(--soft); }
.reading li { margin: 6px 0; }
.draft { background: rgba(242, 182, 50, .08); color: var(--cream); border: 1px solid rgba(255, 213, 101, .4); border-left: 3px solid var(--gold); padding: 14px 16px; border-radius: 10px; }
.reading .draft { color: var(--cream); }
.contents { margin: 28px 0 0; padding: 4px 0; border-top: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2); }
.contents ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: 22px; }
.contents a { display: inline-flex; align-items: center; min-height: 44px; }
.howto { border-left: 2px solid rgba(255, 213, 101, .55); padding-left: 16px; margin: 0 0 8px; }
.doc-list { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--hair-2); }
.doc-list li { padding: 6px 0 16px; border-bottom: 1px solid var(--hair); margin: 0; }
.doc-list a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; font-size: 19px; }
.doc-list span { display: block; }

/* The spark on its rail (wide screens, reading pages): it travels down as the page is read. */
.rail { display: none; position: fixed; left: 22px; top: 18vh; height: 64vh; width: 1px; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .2) 12%, rgba(255, 255, 255, .2) 88%, rgba(255, 255, 255, 0)); }
.rail i { position: absolute; left: -4px; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: #fffdf2; box-shadow: 0 0 12px 4px rgba(255, 213, 101, .85), 0 0 44px 12px rgba(242, 182, 50, .35); will-change: transform; }

@media (min-width: 760px) {
  :root { --gutter: 36px; }
  body { font-size: 18px; }
  .lead { font-size: 21px; }
  .lens-pair { grid-template-columns: 1fr 1fr; }
  .leaves > div, .price > div { grid-template-columns: minmax(200px, 17em) 1fr; gap: 32px; }
  .can li { grid-template-columns: 64px 1fr; gap: 18px; }
  .can .i3d { width: 64px; height: 64px; }
  .can p { padding-top: 6px; }
  .win-bar { justify-content: center; padding: 0 144px; }
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.050fr .950fr; gap: 52px; }
  .hero h1 { font-size: clamp(44px, min(5.400vw, 7.200vh), 92px); }
  .hero .lead { font-size: 19px; margin-top: 14px; }
  .hero .actions { margin-top: 18px; }
  .word-grid { grid-template-columns: 5fr 6fr; gap: 56px; }
  .word-head h3 { font-size: clamp(84px, 9vw, 132px); }
  .split { grid-template-columns: 5fr 6fr; gap: 56px; }
  .desk-grid { grid-template-columns: 440px 1fr; gap: 56px; }
}
@media (min-width: 1240px) {
  .rail { display: block; }
}

/* ---- The desk, alive (the script puts "desk-on" on the page; site/desk-dom.ts). The home page fills the screen;
   its windows sit in a stack with the ones behind peeking out, dimmer and a little soft. Each has its own scroll. */
html.desk-on main.desk { height: calc(100vh - var(--top-h, 57px)); height: calc(100svh - var(--top-h, 57px)); min-height: 540px; padding: 0; overflow: hidden; }
html.desk-on .windows { position: absolute; inset: 0; display: block; max-width: none; transform: translate3d(calc(var(--px, 0) * -9px), calc(var(--py, 0) * -6px), 0); }
html.desk-on .win[data-win] { position: absolute; left: 50%; top: 5.500%; width: min(1060px, 78%); margin-left: calc(min(1060px, 78%) / -2); height: calc(94.500% - 112px); display: flex; flex-direction: column; transform-origin: 50% 50%; will-change: transform; transition: transform .75s cubic-bezier(.2, .82, .2, 1), opacity .5s ease, box-shadow .5s ease; }
html.desk-on .win[data-win] .win-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; }
html.desk-on .win.front { box-shadow: 0 50px 130px -30px #000, 0 0 0 1px rgba(0, 0, 0, .6), 0 0 90px -24px var(--tint), inset 0 1px 0 rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .26); }
html.desk-on .win.front::before { left: 0; right: 0; height: 2px; }
html.desk-on .win.behind { cursor: pointer; }
/* A window that has just come forward takes the keyboard; its lit edge shows it, so it needs no ring as well. */
html.desk-on .win[data-win]:focus-visible { outline: none; }
html.desk-on .win.behind:hover { --dim: .08 !important; }
html.desk-on .win.behind .win-body { overflow: hidden; }
html.desk-on .win.big { left: 12px; right: 12px; top: 10px; width: auto; margin-left: 0; height: calc(100% - 118px); }
html.desk-on .win-bar { cursor: grab; touch-action: none; }
html.desk-on .win.held { transition: none; }
html.desk-on .win.held .win-bar { cursor: grabbing; }
/* Coming and going (site/desk-dom.ts, site/desk.ts leaveMotion). Opening, a window flips over in 3D from its dock
   icon and settles with a small overshoot. Closed, its top and bottom close in the middle like a lift's doors, a
   seam of light, and it is gone. Sent to the dock, it goes out like an old television: squashed to a bright line,
   then a dot the width of its icon, which travels down into the icon. Only transform, opacity and clip-path move.
   Asked for less motion, each is a plain fade (further down). */
html.desk-on .win.closing, html.desk-on .win.shrinking { pointer-events: none; }
html.desk-on .win-fx { position: absolute; inset: 0; z-index: 7; overflow: hidden; pointer-events: none; opacity: 0; border-radius: inherit; }
.win-fx::before, .win-fx::after { content: ""; position: absolute; left: 0; right: 0; height: 50%; background-color: #1a1f28; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, rgba(255, 255, 255, 0) 1px 4px), linear-gradient(180deg, #2b313c, #141820); transform: translate3d(0, -101%, 0); }
.win-fx::before { top: 0; box-shadow: 0 1px 0 rgba(255, 213, 101, .9), 0 0 18px rgba(255, 213, 101, .6); }
.win-fx::after { bottom: 0; transform: translate3d(0, 101%, 0); box-shadow: 0 -1px 0 rgba(255, 213, 101, .9), 0 0 18px rgba(255, 213, 101, .6); }
html.desk-on .win.shrinking .win-fx { background: radial-gradient(closest-side, #fffdf2, rgba(255, 233, 170, .9) 45%, rgba(255, 213, 101, .55)); }
html.desk-on .win.shrinking .win-fx::before, html.desk-on .win.shrinking .win-fx::after { content: none; }
@keyframes win-flip {
  0% { transform: var(--from) perspective(1100px) rotateX(70deg) rotateY(-26deg) scale(.12); opacity: 0; }
  18% { opacity: 1; }
  62% { transform: var(--seat) perspective(1100px) rotateX(-7deg) rotateY(3deg) scale(1.025); }
  82% { transform: var(--seat) perspective(1100px) rotateX(2deg) rotateY(-1deg) scale(.996); }
  100% { transform: var(--seat) perspective(1100px) rotateX(0deg) rotateY(0deg) scale(1); opacity: 1; }
}
@keyframes win-tv-off {
  0% { transform: translate3d(0, 0, 0) var(--seat) scale(1, 1); opacity: 1; }
  36% { transform: translate3d(0, 0, 0) var(--seat) scale(1.02, .012); opacity: 1; }
  56% { transform: translate3d(0, 0, 0) var(--seat) scale(var(--sx, .06), .012); opacity: 1; }
  100% { transform: translate3d(var(--to-x, 0), var(--to-y, 0), 0) var(--seat) scale(var(--sx, .06), var(--sy, .06)); opacity: 0; }
}
@keyframes win-tv-glow { 0% { opacity: 0; } 34% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes win-lift { 0%, 60% { clip-path: inset(0 0 0 0); opacity: 1; } 84% { clip-path: inset(calc(50% - 1px) 0 calc(50% - 1px) 0); opacity: 1; } 100% { clip-path: inset(50% 0 50% 0); opacity: 0; } }
@keyframes door-shut { to { transform: translate3d(0, 0, 0); } }
@keyframes dock-land { 0%, 100% { transform: none; } 35% { transform: translate3d(0, -12px, 0) scale(1.12); } 65% { transform: translate3d(0, 2px, 0) scale(.97); } }
@keyframes dock-glow { 0% { opacity: 1; transform: scale(1); } 30% { opacity: 1; transform: scale(3.2); } 100% { transform: scale(1); } }
html.desk-on .win.thrown { transform: translate3d(var(--to-x, 0), 0, 0) rotate(16deg) !important; opacity: 0 !important; pointer-events: none; transition: transform .45s ease-in, opacity .45s ease-in; }
/* Arriving in front: the light comes on inside, and what it holds rises into place. */
@keyframes light-on { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rise-in { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
@keyframes bar-sweep { from { background-position: -60% 0, 0 0, 0 0; } to { background-position: 160% 0, 0 0, 0 0; } }
@keyframes nudge { 0%, 100% { transform: translate3d(calc(var(--px, 0) * -9px), calc(var(--py, 0) * -6px), 0) scale(1); } 38% { transform: translate3d(calc(var(--px, 0) * -9px), calc(var(--py, 0) * -6px + 7px), 0) scale(.986); } }
@keyframes cue-pulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 10px rgba(95, 211, 166, .55); } 50% { transform: scale(1.7); box-shadow: 0 0 22px 6px rgba(95, 211, 166, .9); } }
@keyframes cue-in { from { opacity: 0; transform: translate3d(0, -6px, 0); } to { opacity: 1; transform: none; } }
html.desk-on .win-body::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 340px; pointer-events: none; opacity: 0; background: radial-gradient(70% 100% at 50% 0, var(--tint), rgba(255, 255, 255, 0) 72%); }
/* Before the windows make their entrance (while the opening plays): set back and unlit. */
html.desk-boot .win[data-win] { opacity: 0; transform: translate3d(0, 70px, 0) scale(.88) !important; transition: none; }
html.desk-on .win-cue { position: absolute; left: 12px; top: 50px; z-index: 6; margin: 0; padding: 9px 14px; border-radius: 10px; background: #ffd565; color: #1a1200; font: 700 14px/1.2 var(--body); letter-spacing: 0; text-transform: none; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .8); pointer-events: none; white-space: nowrap; display: flex; align-items: center; gap: 4px; padding-right: 2px; }
html.desk-on .win-cue-x { pointer-events: auto; min-width: 44px; min-height: 44px; margin: -10px 0; border: 0; background: transparent; color: #1a1200; font: 700 22px/1 var(--body); cursor: pointer; }
html.desk-on .win-cue::before { content: ""; position: absolute; left: 14px; top: -5px; width: 10px; height: 10px; background: #ffd565; transform: rotate(45deg); }
html.desk-on .win-bar { overflow: visible; }
html.desk-on .win[data-win] { overflow: visible; }
html.desk-on .win[data-win] .win-bar { border-radius: 13px 13px 0 0; }
html.desk-on .win[data-win] .win-body { border-radius: 0 0 13px 13px; }
/* When every window is closed: the flower stands in full light, with the way on. */
html.desk-on .desk-end { position: absolute; left: 0; right: 0; bottom: 132px; max-width: none; margin: 0; padding: 0 16px; opacity: 0; visibility: hidden; transform: translate3d(0, 20px, 0); transition: opacity .9s ease .3s, transform .9s cubic-bezier(.2, .8, .2, 1) .3s, visibility 0s 1.2s; }
html.desk-clear .desk-end { opacity: 1; visibility: visible; transform: none; transition: opacity .9s ease .3s, transform .9s cubic-bezier(.2, .8, .2, 1) .3s; }
html.desk-clear .flower-wrap { opacity: 1; transform: translate3d(calc(var(--px, 0) * -16px), calc(-13% + var(--py, 0) * -12px), 0) rotate(0deg) scale(.5); }
html.desk-on .rail { display: none; }

@media (max-width: 760px) {
  /* The menu bar's links do not fit one row on a phone. With the script, a "Menu" button opens them as a sheet of
     glass (site/menu.ts); without it, they wrap onto a second row, every one in view. */
  .top-row { column-gap: 8px; }
  .top nav { flex: 1 1 100%; }
  .top nav ul { margin-left: -10px; }
  html.menu-on .top-row { flex-wrap: nowrap; }
  html.menu-on .top nav { display: none; position: absolute; left: 8px; right: 8px; top: calc(100% + 8px); padding: 8px; border: 1px solid var(--hair-2); border-radius: 18px; background-color: #121720; box-shadow: 0 30px 70px -20px #000, inset 0 1px 0 rgba(255, 255, 255, .12); }
  html.menu-on .top.menu-open nav { display: block; }
  html.menu-on .top nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0; }
  html.menu-on .top nav a { display: flex; min-height: 48px; padding: 0 14px; font-size: 16px; background-color: rgba(255, 255, 255, .04); border-radius: 12px; }
  html.menu-on .menu-btn { display: inline-flex; }
  .kicker { letter-spacing: .1em; }
  main.reading { margin: 20px 8px 110px; }
  html.desk-on main.desk { min-height: 480px; }
  /* A stack of cards: the one in front nearly fills the screen; the ones behind show their lower edges. */
  html.desk-on .win[data-win], html.desk-on .win.big { left: 8px; right: 8px; top: 8px; width: auto; margin-left: 0; height: calc(100% - 128px); transform-origin: 50% 100%; }
  html.desk-on .desk-end { bottom: 150px; }
  .dock ul { justify-content: flex-start; }
  /* The same depth as on a wide screen: a finger moves the light and the layers as a mouse does. */
  .flower-wrap { transform: translate3d(calc(22% + var(--px, 0) * -10px), calc(-4% + var(--py, 0) * -8px), 0) rotate(-8deg); }
  html.desk-clear .flower-wrap { transform: translate3d(calc(var(--px, 0) * -10px), -13%, 0) scale(.62); }
  .dock a { min-width: 62px; }
}

/* Movement only for people who have not asked for less of it. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button { transition: transform .08s; }
  .dock .i3d, .dock .tile { transition: transform .22s cubic-bezier(.3, 1.4, .5, 1); }
  .flower-spark { animation: spark-twinkle 3.600s ease-in-out infinite; }
  .desk-back > i { animation: adrift 46s ease-in-out infinite, spark-twinkle 5s ease-in-out infinite; }
  .desk-back > i:nth-of-type(2) { animation-duration: 58s, 6.500s; animation-direction: reverse, normal; }
  .desk-back > i:nth-of-type(3) { animation-duration: 71s, 4.300s; }
  main.reading { animation: rise-in .8s cubic-bezier(.2, .8, .2, 1) both; }
  html.desk-on main.desk.nudge .windows { animation: nudge .7s cubic-bezier(.3, 0, .2, 1); }
  html.desk-on .win.reveal .win-body::before { animation: light-on 1.300s ease-out both; }
  html.desk-on .win.reveal .win-bar { background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 35%, rgba(255, 246, 221, .35) 50%, rgba(255, 255, 255, 0) 65%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .028) 0 1px, rgba(255, 255, 255, 0) 1px 3px), linear-gradient(180deg, #2b313c, #1a1f28 58%, #141820); background-size: 60% 100%, auto, auto; background-repeat: no-repeat, repeat, repeat; animation: bar-sweep .9s ease-out both; }
  html.desk-cue .win.front .win-close::before { animation: cue-pulse 1.400s ease-in-out 2; }
  html.desk-cue .win-cue { animation: cue-in .5s ease-out both; }
  html.desk-on .win.flipping { animation: win-flip .84s cubic-bezier(.22, .8, .26, 1) both; }
  html.desk-on .win.shrinking { animation: win-tv-off .82s cubic-bezier(.55, 0, .3, 1) both; }
  html.desk-on .win.shrinking .win-fx { animation: win-tv-glow .82s linear both; }
  html.desk-on .win.closing { animation: win-lift .72s linear both; }
  html.desk-on .win.closing .win-fx { opacity: 1; }
  html.desk-on .win.closing .win-fx::before, html.desk-on .win.closing .win-fx::after { animation: door-shut .43s cubic-bezier(.6, 0, .35, 1) both; }
  .dock a.landed .i3d, .dock a.landed .tile { animation: dock-land .6s cubic-bezier(.3, 1.4, .5, 1); }
  .dock a.landed::after { animation: dock-glow .7s ease-out; }
  html.menu-on .top nav .mb-item.open ul.mb-drop { animation: drop-in .14s ease-out both; transform-origin: 20px 0; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .can li:hover .i3d { transform: translateY(-4px) rotate(-4deg) scale(1.06); transition: transform .18s cubic-bezier(.3, 1.6, .5, 1); }
  .dock a:hover .i3d, .dock a:hover .tile { transform: translateY(-7px) scale(1.14) rotateX(var(--tilt, 0deg)) rotateY(var(--turn, 0deg)); }
}
@media (prefers-reduced-motion: reduce) {
  .button:active { transform: none; }
  html.desk-on .win[data-win] { transition: opacity .2s linear; }
  html.desk-on .win.thrown { transition: opacity .2s linear; }
  html.desk-on .win.closing, html.desk-on .win.shrinking { opacity: 0; }
  @starting-style { html.desk-on .win.flipping { opacity: 0; } }
  .flower-wrap, html.desk-on .desk-end { transition: opacity .2s linear; }
}
/* When the tab is not being looked at, nothing moves. */
html.asleep *, html.asleep *::before, html.asleep *::after { animation-play-state: paused !important; }
@media print {
  .top nav, .foot nav, .skip, .actions, .dock, .desk-back, .rail, .win-lights { display: none; }
  body { background: #fff; color: #000; }
}


/* ---- Light that travels, and things that move by themselves (round two). Everything that runs by itself is inside
   "no-preference" below; the rest is the still look. The guard in site/perf.ts adds fx-1 (lighter) or fx-0 (least)
   to the page when frames run long. */
/* The flower behind the desk turns in true depth, with a glint running round its circle (site/flower.ts: the circle's
   centre is at 64.14%, 65.33% of the drawing and its radius is 20.82% of it). */
.flower-wrap { perspective: 1600px; }
.flower-turn { position: absolute; inset: 0; transform-style: preserve-3d; }
.flower-glint { position: absolute; left: 43.320%; top: 44.510%; width: 41.630%; height: 41.630%; border-radius: 50%; }
.flower-glint i { position: absolute; left: 50%; top: 0; width: 14%; height: 14%; margin: -7% 0 0 -7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 253, 242, .95), rgba(255, 224, 138, .5) 30%, rgba(242, 182, 50, 0)); }
.flower-glint i::before, .flower-glint i::after { content: ""; position: absolute; left: -60%; right: -60%; top: 50%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, rgba(255, 246, 221, 0), rgba(255, 246, 221, .9), rgba(255, 246, 221, 0)); }
.flower-glint i::after { transform: rotate(90deg); }
/* Sparks adrift behind the desk at three distances (site/fx.ts places them). Far ones small and slow, near ones
   larger and quicker, and each layer shifts with the pointer by its own amount. */
.drift { position: absolute; inset: 0; }
.drift b { position: absolute; display: block; border-radius: 50%; background: radial-gradient(closest-side, #fffdf2 0 25%, rgba(255, 213, 101, .7) 45%, rgba(242, 182, 50, 0)); }
.drift.far { transform: translate3d(calc(var(--px, 0) * -6px), calc(var(--py, 0) * -4px), 0); }
.drift.far b { width: 5px; height: 5px; opacity: .55; }
.drift.mid { transform: translate3d(calc(var(--px, 0) * -18px), calc(var(--py, 0) * -12px), 0); }
.drift.mid b { width: 9px; height: 9px; opacity: .7; }
.drift.near { transform: translate3d(calc(var(--px, 0) * -40px), calc(var(--py, 0) * -26px), 0); }
.drift.near b { width: 20px; height: 20px; opacity: .45; }
@keyframes drift-up { from { translate: 0 0; } to { translate: 4vw -120vh; } }
@keyframes flower-turn { 0%, 100% { transform: rotateY(-26deg) rotateX(9deg); } 50% { transform: rotateY(24deg) rotateX(-7deg); } }
@keyframes orbit { from { rotate: 0deg; } to { rotate: 360deg; } }
/* Buttons: a band of light crosses the metal on hover and on focus. */
.button { position: relative; overflow: hidden; isolation: isolate; }
.button::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 36%; z-index: -1; pointer-events: none; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); transform: translateX(-120%) skewX(-18deg); }
.button.quiet::after { background: linear-gradient(100deg, rgba(255, 213, 101, 0), rgba(255, 213, 101, .22), rgba(255, 213, 101, 0)); }
/* The dock's icons: toned toward metal, with their colour given back as light round them. A sheen crosses each now and then. */
.dock .i3d { filter: saturate(.55) contrast(1.08) brightness(1.06) drop-shadow(0 0 7px rgba(255, 213, 101, .28)) drop-shadow(0 8px 10px rgba(0, 0, 0, .6)); }
.dock a::before { content: ""; position: absolute; left: 50%; top: 4px; width: 44px; height: 44px; margin-left: -22px; border-radius: 11px; pointer-events: none; z-index: 1; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 60%) no-repeat; background-size: 250% 100%; background-position: 150% 0; }
@keyframes dock-sheen { 0%, 82% { background-position: 150% 0; } 100% { background-position: -60% 0; } }
/* The drawings (site/art.ts). */
.art { position: relative; margin: 8px 0 28px; }
.art svg { display: block; width: 100%; height: auto; overflow: visible; }
.art-words { max-width: 520px; margin: 8px auto 12px; }
.art-recap { max-width: 640px; margin: 36px 0 8px; }
.art-eye { max-width: 640px; margin: 0 0 28px; }
.art-price { max-width: 560px; margin: 0 0 24px; }
.phones .art-desk { grid-column: 1 / -1; max-width: 250px; margin: 0 auto 8px; }
@keyframes aw-breathe { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes aw-sway { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(var(--sx, 6px), var(--sy, -5px)); } }
@keyframes ar-draw { 0% { stroke-dashoffset: 100; } 40%, 100% { stroke-dashoffset: 0; } }
@keyframes ar-arrive { 0%, 36% { opacity: 0; transform: scale(.4); } 44% { opacity: 1; transform: scale(1.6); } 60%, 92% { opacity: .9; transform: scale(1); } 100% { opacity: 0; } }
@keyframes ar-tick { 0%, 40% { opacity: .25; } 52%, 100% { opacity: 1; } }
@keyframes ad-win { 0%, 18% { opacity: 0; transform: translate(0, 24px) scale(.6); } 30%, 70% { opacity: 1; transform: none; } 82%, 100% { opacity: 0; transform: translate(0, 140px) scale(.08); } }
@keyframes ap-rise { from { transform: scaleY(.15); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ae-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(0, -8px); } }
@keyframes ae-shine { 0%, 60% { transform: translate(-30px, 0); opacity: 0; } 75% { opacity: 1; } 100% { transform: translate(170px, 0); opacity: 0; } }
.aw-in { --sx: -6px; --sy: -4px; } .aw-si { --sx: 6px; --sy: -4px; } .aw-el { --sx: 0; --sy: 6px; }
.aw-spark, .ar-spark, .ad-win, .ap-tier, .ae-pane, .ae-shine { transform-box: fill-box; transform-origin: 50% 50%; }
.ad-win { transform-origin: 50% 100%; }
.ap-tier { transform-origin: 50% 100%; }
.ar-line { stroke-dasharray: 100 100; }
/* Windows: a glint runs along the lit top edge and a sheen crosses the title bar, each window at its own time. */
.win-bar { overflow: hidden; }
.win-bar::before { content: ""; position: absolute; left: 0; top: 0; width: 22%; height: 2px; z-index: 3; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--tint), #fffdf2, var(--tint), rgba(255, 255, 255, 0)); transform: translateX(-110%); }
.win-bar::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 28%; z-index: 1; pointer-events: none; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 246, 221, .13), rgba(255, 255, 255, 0)); transform: translateX(-110%) skewX(-20deg); }
.win-bar > :not(.win-lights) { position: relative; z-index: 2; }
.win-lights { z-index: 2; }
@keyframes edge-glint { 0%, 55% { transform: translateX(-110%); } 100% { transform: translateX(560%); } }
@keyframes bar-glint { 0%, 70% { transform: translateX(-110%) skewX(-20deg); } 100% { transform: translateX(420%) skewX(-20deg); } }
/* The entrances (site/reveal.ts says which part enters how; site/desk-dom.ts holds a part back until its moment). */
/* A heading's words arrive one by one out of a soft haze of light that tightens until each word is sharp. */
@keyframes rv-rise { from { opacity: 0; text-shadow: 0 0 22px rgba(255, 246, 221, .95), 0 0 8px rgba(255, 246, 221, .9); transform: perspective(700px) translate3d(0, .4em, -90px) rotateX(30deg); } 60% { opacity: 1; text-shadow: 0 0 4px rgba(255, 246, 221, .35), 0 0 1px rgba(255, 246, 221, .3); } to { opacity: 1; text-shadow: none; transform: none; } }
@keyframes rv-rise-plain { from { opacity: 0; transform: translate3d(0, .4em, 0); } to { opacity: 1; transform: none; } }
@keyframes rv-develop { 0% { opacity: 0; transform: scale(.965); } 30% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes rv-film { 0%, 30% { opacity: 0; } 100% { opacity: 1; } }
@keyframes rv-wire { 0% { opacity: 0; } 14% { opacity: 1; } 55% { opacity: .8; } 100% { opacity: 0; } }
@keyframes rv-path { 0% { opacity: 0; transform: translate3d(-54px, 30px, 0) rotate(-4deg); } 55% { opacity: 1; transform: translate3d(7px, -5px, 0) rotate(.6deg); } 100% { opacity: 1; transform: none; } }
@keyframes rv-glass { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes edge-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* When frames run long: first no frosted glass and half the drifting sparks; then none of the travelling light. */
html.fx-1 .top, html.fx-1 .dock ul { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: #10141c; }
html.fx-1 .drift b:nth-child(2n) { display: none; }
html.fx-0 .drift, html.fx-0 .flower-glint, html.fx-0 .dock a::before { display: none; }
html.fx-0 .win-bar::before, html.fx-0 .win-bar::after { animation: none; }
/* ---- Try them on (site/tryon.ts): the glasses on the page in 3D, and the view through them. The script builds the
   buttons and the view; the flight and the darkening are its own short animations. ----------------------------- */
.tryon { margin: 8px 0 28px; text-align: center; }
.tryon-stage { --tx: 0; --ty: 0; position: relative; max-width: 560px; margin: 0 auto; padding: 34px 20px 46px; perspective: 900px; border-radius: 22px; background: radial-gradient(70% 80% at 40% 40%, #c3c9d2, #7d858f 60%, #3a4049); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 30px 60px -30px #000; overflow: hidden; }
.tryon-glasses { position: relative; z-index: 1; margin: 0 auto; max-width: 440px; transform-style: preserve-3d; transform: rotateX(calc(8deg + var(--ty) * -14deg)) rotateY(calc(-10deg + var(--tx) * 22deg)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); border-radius: 18px; }
.tryon-glasses[role="button"] { cursor: pointer; }
.tryon-glasses img { width: 100%; filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .3)); }
.tryon-glint { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .35) 50%, rgba(255, 255, 255, 0) 60%) no-repeat; background-size: 250% 100%; background-position: 160% 0; mix-blend-mode: soft-light; }
.tryon-shadow { position: absolute; left: 22%; right: 22%; bottom: 22px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0)); transform: translateX(calc(var(--tx) * -18px)); }
.tryon-actions { margin: 18px 0 6px; }
/* The 3D glasses (site/glasses3d.ts) draw on a canvas over the table; the drawing, glint and CSS shadow give way. */
.tryon-glasses svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .3)); }
.tryon-stage.is-3d { padding: 0; background: linear-gradient(180deg, #aeb5bf 0%, #8a929c 52%, #c9ced5 52.4%, #9aa1aa 74%, #6b727b 100%); }
.tryon-stage.is-3d .tryon-glasses { max-width: none; transform: none; animation: none; border-radius: 22px; }
.tryon-stage.is-3d .tryon-glasses > :not(canvas), .tryon-stage.is-3d .tryon-shadow { display: none; }
.tryon-gl { display: block; width: 100%; aspect-ratio: 16 / 10; }
.tryon-gl.is-flying { position: fixed; inset: 0; z-index: 2; width: 100%; height: 100%; aspect-ratio: auto; pointer-events: none; }
html.tryon-open { overflow: hidden; }
.tryon-view { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; align-content: center; gap: 14px; padding: 24px 16px; background-color: #010302; perspective: 1000px; overflow: hidden; text-align: center; }
.tryon-view:not(.is-seen) > :not(.tryon-flyer, .tryon-gl) { display: none; }
.tryon-flyer { position: fixed; z-index: 2; margin: 0; pointer-events: none; transform-origin: 50% 50%; }
.tryon-flyer img { width: 100%; }
.tryon-flyer svg { width: 100%; height: auto; }
.tryon-hud { width: min(92vw, 1000px, calc((100vh - 170px) * 2)); width: min(92vw, 1000px, calc((100dvh - 170px) * 2)); border-radius: 10px; background: #000; box-shadow: 0 0 46px -10px rgba(87, 227, 137, .45); }
/* The lens at full brightness: drawn as it is, black stays black, the glow is only around it (never over it). */
.tryon-hud img { width: 100%; background: #000; border-radius: 10px; }
/* A phone held upright is too narrow for the lens's words, so the view through the glasses turns sideways and the
   lens fills the phone's long side (turn the phone to read it); its smallest words stay about 13px or larger. */
@media (max-width: 640px) and (orientation: portrait) {
  .tryon-view.is-seen { inset: auto; left: 50%; top: 50%; width: 100vh; height: 100vw; width: 100dvh; padding: 12px 16px; gap: 8px; transform: translate(-50%, -50%) rotate(90deg); }
  .tryon-view.is-seen .tryon-hud { width: min(calc(100vh - 32px), calc((100vw - 140px) * 2)); width: min(calc(100dvh - 32px), calc((100vw - 140px) * 2)); }
}
.tryon-name { margin: 0; color: var(--lens); font: 600 17px/1.4 var(--body); }
.tryon-sample { margin: 0; color: var(--mute); font-size: 14px; }
.tryon-off { min-height: 48px; }
@media (prefers-reduced-motion: no-preference) {
  .tryon-glasses { animation: tryon-float 6s ease-in-out infinite; }
  .tryon-glint { animation: tryon-glint 7s ease-in-out infinite; }
  .tryon-shadow { animation: tryon-shadow 6s ease-in-out infinite; }
  .tryon-view.is-seen > * { animation: tryon-in .8s ease-out both; }
  .tryon-hud img:not([hidden]) { animation: tryon-in .9s ease-out; }
}
@keyframes tryon-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes tryon-shadow { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: .7; scale: .9; } }
@keyframes tryon-glint { 0%, 55% { background-position: 160% 0; } 85%, 100% { background-position: -60% 0; } }
@keyframes tryon-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } }
@media (prefers-reduced-motion: reduce) {
  .tryon-glasses { transition: none; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .flower-turn { animation: flower-turn 34s ease-in-out infinite; }
  .flower-glint { animation: orbit 11s linear infinite; }
  .drift b { animation: drift-up 60s linear infinite, spark-twinkle 5s ease-in-out infinite; }
  .drift.mid b { animation-duration: 38s, 4s; }
  .drift.near b { animation-duration: 22s, 3.300s; }
  .button::after { transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
  .button:hover::after, .button:focus-visible::after { transform: translateX(380%) skewX(-18deg); }
  .dock a::before { animation: dock-sheen 9s ease-in-out infinite; }
  .dock li:nth-child(2) a::before { animation-delay: 1.100s; } .dock li:nth-child(3) a::before { animation-delay: 2.300s; }
  .dock li:nth-child(4) a::before { animation-delay: 3.200s; } .dock li:nth-child(5) a::before { animation-delay: 4.400s; }
  .dock li:nth-child(6) a::before { animation-delay: 5.100s; } .dock li:nth-child(7) a::before { animation-delay: 6.300s; }
  .dock li:nth-child(8) a::before { animation-delay: 7.200s; } .dock li:nth-child(9) a::before { animation-delay: 8.100s; }
  .dock .i3d, .dock .tile { transform: translateY(var(--lift, 0px)) rotateX(var(--tilt, 0deg)) rotateY(var(--turn, 0deg)); }
  .aw-ring { animation: aw-sway 9s ease-in-out infinite, aw-breathe 4.500s ease-in-out infinite; }
  .aw-si { animation-delay: -3s, -1.500s; } .aw-el { animation-delay: -6s, -3s; }
  .aw-spark { animation: spark-twinkle 2.600s ease-in-out infinite; }
  .ar-line { animation: ar-draw 6s cubic-bezier(.5, 0, .3, 1) infinite; }
  .ar-spark { animation: ar-arrive 6s ease-out infinite; }
  .ar-tick { animation: ar-tick 6s ease-out infinite; }
  .ar-tick:nth-of-type(2) { animation-delay: .25s; } .ar-tick:nth-of-type(3) { animation-delay: .5s; }
  .ad-win { animation: ad-win 7s cubic-bezier(.3, .8, .3, 1) infinite; }
  .ae-pane { animation: ae-float 6s ease-in-out infinite; }
  .ae-shine { animation: ae-shine 7s ease-in-out infinite; }
  html.desk-on .win.front .win-bar::before { animation: edge-glint 6.500s ease-in-out infinite; }
  html.desk-on .win.front .win-bar::after { animation: bar-glint 11s ease-in-out 1.500s infinite; }
  html.desk-on .win.behind .win-bar::before { animation: edge-glint 9s ease-in-out 3s infinite; }
  html.desk-on .win.reveal::before { animation: edge-draw .8s cubic-bezier(.2, .8, .2, 1) both; transform-origin: 0 50%; }
  html.desk-on .rv-wait { opacity: 0; }
  html.desk-on .wg { display: inline-block; transform-origin: 50% 100%; }
  html.desk-on h2.wg-on { background-image: none; }
  html.desk-on h2.wg-on .wg { background-image: linear-gradient(180deg, #ffffff, #9aa3b0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .08em; }
  html.desk-on .rv-go.rv-rise { animation: rv-rise 1.2s cubic-bezier(.16, .84, .24, 1) var(--d, 0ms) both; }
  html.desk-on .rv-go.rv-develop { animation: rv-develop 1.6s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms) both; }
  html.desk-on .rv-go.rv-develop > :is(img, svg) { animation: rv-film 1.7s ease-out var(--d, 0ms) both; }
  html.desk-on .rv-go.rv-develop::after { content: ""; position: absolute; inset: 0 0 auto; aspect-ratio: var(--ar, 2 / 1); max-height: 100%; border-radius: 14px; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 213, 101, .85), 0 0 24px -4px rgba(255, 213, 101, .5); background: repeating-linear-gradient(0deg, rgba(255, 213, 101, .32) 0 1px, rgba(255, 213, 101, 0) 1px 24px), repeating-linear-gradient(90deg, rgba(255, 213, 101, .32) 0 1px, rgba(255, 213, 101, 0) 1px 24px); animation: rv-wire 1.7s ease-out var(--d, 0ms) both; }
  html.desk-on .rv-go.rv-path { animation: rv-path 1.1s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms) both; }
  html.desk-on .rv-go.rv-glass { animation: rv-glass 1s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms) both; }
  html.desk-on .rv-go.ap-tier, html.desk-on .rv-go .ap-tier { animation: ap-rise 1s cubic-bezier(.2, .8, .2, 1) both; }
  /* Round three: the dock's flowers draw in after the opening, the lens crosses a window as it opens, a press sends
     out a ring, and with the effects stepped down a heading's words simply rise. */
  html.desk-on:not(.desk-boot) .dock-flower g > * { stroke-dasharray: 1; animation: sep-draw 1.800s cubic-bezier(.5, 0, .3, 1) .5s both; }
  html.desk-on:not(.desk-boot) .dock-flower g > :nth-child(n+2) { animation-delay: .9s; }
  .dock-spark { transform-box: fill-box; transform-origin: 50% 50%; animation: spark-twinkle 3.600s ease-in-out infinite; }
  html.desk-on .win.reveal .lens-plane { animation: lens-pass 1.100s cubic-bezier(.45, 0, .2, 1) both; }
  .tap-ring { animation: tap-ring .7s cubic-bezier(.2, .7, .2, 1) both; }
  html.fx-1 .rv-go.rv-rise { animation-name: rv-rise-plain; }
}

/* /pair/: opening an account on another phone. The one page with buttons and a field. */
.pair { margin: 28px 0 8px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pair [hidden] { display: none; }
.pair-status { min-height: 26px; font-weight: 600; }
.pair-status[data-tone="problem"] { color: var(--brass-deep); }
.pair-status[data-tone="good"] { color: var(--evergreen); }
.pair-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 6px; }
button.button { font: inherit; font-weight: 800; cursor: pointer; }
button.button:disabled { opacity: .55; cursor: default; }
.pair label { display: block; font-weight: 600; margin-bottom: 6px; }
.pair-input { display: block; width: 100%; max-width: 280px; min-height: 52px; padding: 0 14px; border: 2px solid var(--hair-2); border-radius: 8px; background: #fff; color: var(--graphite); font: 700 24px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }
.pair-question { font-size: 19px; font-weight: 600; }

/* The home page's opening (site/splash.ts makes these parts; with no script none of them exist and the page
   simply shows). The app's own splash is drawn on one canvas. Around it, at different distances from the viewer:
   two sheets of gold dust, a glow and a ring of polished metal over the flower, the name, and the glint on the
   line's tip. One beam of light crosses it all as the name lands. The script only
   moves and fades these; how they look is all here. */
.splash { position: fixed; inset: 0; z-index: 50; overflow: hidden; background: #02030a; contain: strict; cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent; }
.splash-cam, .splash-space, .splash-stage, .splash-shade, .splash-veil { position: absolute; inset: 0; }
.splash-space { perspective: 1100px; perspective-origin: 50% 50%; }
.splash-stage, .splash-plate { transform-style: preserve-3d; }
.splash-stage { will-change: transform; }
.splash-plate { position: absolute; }
/* The pane of glass from the first opening: teal-green light, brightest in the middle, running into black at the
   edges, with a pale rim. It lightens what is under it, so the gold line stays on top. */
.splash-page { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; border-radius: 1.2%; mix-blend-mode: screen; will-change: transform, opacity, filter;
  background: radial-gradient(ellipse 70% 62% at 50% 52%, rgba(40, 128, 112, .32) 0%, rgba(22, 90, 80, .26) 38%, rgba(10, 48, 46, .17) 70%, rgba(4, 18, 22, .06) 100%);
  box-shadow: inset 0 0 0 2px rgba(190, 236, 225, .16), 0 0 60px rgba(46, 140, 122, .18); }
/* The drawing is a little bigger than the screen and fades out at its own edges, so no hard edge shows as it turns. */
.splash-line { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect; }
.splash-glow, .splash-ring, .splash-name, .splash-star, .splash-dust, .splash-beam, .splash-shade, .splash-veil { pointer-events: none; }
/* Gold round the flower's circle, deep amber and a breath of indigo beyond it, and nearly clear in the middle so the name stays crisp. */
.splash-glow { position: absolute; left: 0; top: 0; opacity: 0; border-radius: 50%; will-change: transform, opacity;
  background: radial-gradient(closest-side, rgba(242, 182, 50, 0) 0%, rgba(242, 182, 50, .05) 21%, rgba(255, 205, 84, .55) 31%, rgba(242, 182, 50, .22) 39%, rgba(127, 95, 23, .2) 56%, rgba(60, 50, 110, .1) 74%, rgba(28, 30, 60, 0) 100%); }
/* A ring of polished gold just outside the flower's circle. It floats a little above the drawing, so it parts from
   the drawn circle as the picture turns, and light runs round it. */
.splash-ring { position: absolute; left: 0; top: 0; opacity: 0; border-radius: 50%; will-change: transform, opacity;
  background: conic-gradient(from 0deg, #fff6d6, #f2b632 11%, #6b4a06 23%, #ffe9a6 37%, #c9912a 50%, #fffbe8 61%, #8a6208 75%, #f2b632 88%, #fff6d6);
  -webkit-mask-image: radial-gradient(closest-side, transparent 0, transparent 95.200%, #000 96%, #000 98.800%, transparent 99.600%);
  mask-image: radial-gradient(closest-side, transparent 0, transparent 95.200%, #000 96%, #000 98.800%, transparent 99.600%); }
/* The beam: a soft upright band of light that crosses the whole picture once. */
.splash-beam { position: absolute; top: -20%; bottom: -20%; left: 30%; width: 40%; opacity: 0; will-change: transform, opacity;
  background: linear-gradient(90deg, rgba(255, 240, 200, 0) 8%, rgba(255, 240, 200, .14) 42%, rgba(255, 255, 255, .3) 50%, rgba(255, 240, 200, .14) 58%, rgba(255, 240, 200, 0) 92%); }
.splash-name { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
/* The glint: a soft gold ball of light with a four-point star through it and two short rays across. */
.splash-star { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; will-change: transform, opacity; }
.splash-star i { position: absolute; display: block; }
.splash-star .halo { width: 96em; height: 96em; left: -48em; top: -48em; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 250, 230, 1) 0%, rgba(255, 224, 138, .85) 6%, rgba(242, 182, 50, .5) 18%, rgba(242, 182, 50, .16) 48%, rgba(242, 182, 50, 0) 100%); }
.splash-star .ray { width: 130em; height: 2.200em; left: -65em; top: -1.100em; border-radius: 50%;
  background: linear-gradient(90deg, rgba(255, 213, 101, 0), rgba(255, 224, 138, .85) 40%, #fffbe8 50%, rgba(255, 224, 138, .85) 60%, rgba(255, 213, 101, 0)); }
.splash-star .ray.up { transform: rotate(90deg) scaleX(1.15); }
.splash-star .ray.slash { transform: rotate(45deg) scale(.36, .6); }
.splash-star .ray.back { transform: rotate(-45deg) scale(.36, .6); }
.splash-star .core { width: 7em; height: 7em; left: -3.5em; top: -3.5em; border-radius: 50%; background: #fffdf2; box-shadow: 0 0 6em 2em rgba(255, 224, 138, .9); }
/* Gold dust: small specks the script scatters once. The far ones are small and sharp; the near ones are larger
   and soft, like dust close to a lens. */
.splash-dust { position: absolute; inset: -20%; transform-style: preserve-3d; will-change: transform; }
.splash-dust i { position: absolute; display: block; border-radius: 50%; }
.splash-dust.far i { width: 6px; height: 6px; background: radial-gradient(closest-side, rgba(255, 213, 101, .95) 0 40%, rgba(242, 182, 50, 0) 100%); }
.splash-dust.far i.pale { background: radial-gradient(closest-side, rgba(255, 246, 221, .8) 0 40%, rgba(255, 246, 221, 0) 100%); }
.splash-dust.near i { width: 22px; height: 22px; background: radial-gradient(closest-side, rgba(255, 213, 101, .5) 0 14%, rgba(242, 182, 50, 0) 100%); }
.splash-dust.near i.pale { background: radial-gradient(closest-side, rgba(255, 246, 221, .34) 0 12%, rgba(255, 246, 221, 0) 100%); }
.splash-dust.mid i { width: 11px; height: 11px; background: radial-gradient(closest-side, rgba(255, 224, 138, .8) 0 22%, rgba(242, 182, 50, 0) 100%); }
.splash-dust.mid i.pale { background: radial-gradient(closest-side, rgba(255, 246, 221, .6) 0 20%, rgba(255, 246, 221, 0) 100%); }
.splash-dust.near i { width: 46px; height: 46px; }
/* Planes of soft light hanging at two distances: long faint bands, as if light came through a high window. */
.splash-plane { position: absolute; left: -30%; right: -30%; height: 46%; pointer-events: none; will-change: transform; }
.splash-plane.back { top: 4%; background: linear-gradient(180deg, rgba(163, 172, 255, 0), rgba(163, 172, 255, .07) 45%, rgba(255, 224, 138, .06) 55%, rgba(163, 172, 255, 0)); }
.splash-plane.front { top: 50%; height: 30%; background: linear-gradient(180deg, rgba(255, 213, 101, 0), rgba(255, 213, 101, .06) 50%, rgba(255, 213, 101, 0)); }
/* Sparks shed by the line's head: tiny hot points of gold. */
.splash-sparks { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.splash-sparks i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; opacity: 0; will-change: transform, opacity; background: radial-gradient(closest-side, #fffdf2 0 30%, rgba(255, 213, 101, .9) 50%, rgba(242, 182, 50, 0)); }
/* The landing. A flash of warm white over the name, a thin ring of gold thrown out across the screen from the dot of
   the i, a streak of lens flare through the dot, and two soft ghosts of it across the middle. */
.splash-flash, .splash-shock, .splash-flare, .splash-ghost { position: absolute; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.splash-flash { border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 250, 232, .95), rgba(255, 224, 138, .55) 35%, rgba(242, 182, 50, .16) 62%, rgba(242, 182, 50, 0)); }
.splash-shock { border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 224, 138, 0) 90%, rgba(255, 238, 190, .9) 96.500%, rgba(242, 182, 50, .5) 98%, rgba(242, 182, 50, 0) 100%); }
.splash-flare { left: -10%; right: -10%; height: 3px; margin-top: -1.500px; border-radius: 50%; background: linear-gradient(90deg, rgba(163, 172, 255, 0), rgba(163, 172, 255, .45) 22%, rgba(255, 246, 221, .95) 50%, rgba(163, 172, 255, .45) 78%, rgba(163, 172, 255, 0)); box-shadow: 0 0 18px 4px rgba(255, 224, 138, .35); }
.splash-ghost { left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(163, 172, 255, 0) 55%, rgba(163, 172, 255, .3) 80%, rgba(95, 211, 166, .1) 92%, rgba(95, 211, 166, 0)); }
.splash-ghost.small { left: -28px; top: -28px; width: 56px; height: 56px; background: radial-gradient(closest-side, rgba(255, 224, 138, .3), rgba(255, 224, 138, 0)); }
/* Darker toward the corners, like a picture house. */
.splash-shade { background: radial-gradient(ellipse at 50% 50%, rgba(2, 3, 10, 0) 50%, rgba(2, 3, 10, .62) 100%); }
/* The black the picture comes up out of. */
.splash-veil { background: #000; }

@keyframes splash-skip-in { from { opacity: 0; } to { opacity: 1; } }
.splash-skip { position: absolute; top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); min-width: 76px; min-height: 44px; padding: 0 20px; border-radius: 22px; border: 2px solid rgba(255, 213, 101, .75); background: rgba(16, 40, 58, .72); color: var(--cream); font: 700 15px/1 var(--body); letter-spacing: .05em; cursor: pointer; animation: splash-skip-in .7s .5s both; }
.splash-skip:hover { background: var(--night-2); border-color: #ffd565; }
.splash :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
/* The byline link, laid where the app draws its byline: bottom right, the same margin in, the same size and face.
   Its box is 44px tall with the words at its foot. Hidden, and out of reach of Tab, until its moment. */
.splash-by { position: absolute; right: calc(var(--by-margin, 20px) + env(safe-area-inset-right, 0px) - 12px); bottom: calc(var(--by-margin, 20px) + env(safe-area-inset-bottom, 0px) - 15px); align-items: flex-end; padding: 0 12px 15px; font-size: var(--by-size, 14px); line-height: 1; color: var(--cream); opacity: 0; visibility: hidden; transition: opacity .6s cubic-bezier(.45, 0, .55, 1), visibility 0s .6s; }
.splash-by.on { opacity: 1; visibility: visible; transition: opacity .6s cubic-bezier(.45, 0, .55, 1); }

/* The end, as the first version had it: the picture swells and softens as if the camera went through it, and
   melts away, while the page behind comes forward from a little way back. */
.splash.out, .splash.out-fast { opacity: 0; pointer-events: none; }
.splash.out { transition: opacity 1800ms cubic-bezier(.5, 0, .5, 1); }
.splash.out .splash-cam { transform: scale(1.4); filter: blur(7px); transition: transform 1800ms cubic-bezier(.5, 0, .7, .6), filter 1800ms ease-in; }
.splash.out-fast { transition: opacity 600ms ease; }
.splash.out-fast .splash-cam { transform: scale(1.18); transition: transform 600ms ease-in; }
/* While the opening covers the page, the page is not drawn at all, so nothing behind it costs anything. */
html.splash-on body { opacity: 0; transform: scale(.9); visibility: hidden; }
/* The "Skip to the page" link waits above the screen; while the page is set back it would peek in, so it is hidden. */
html.splash-on .skip, html.splash-out .skip:not(:focus) { visibility: hidden; }
html.splash-out body { transition: opacity 1600ms cubic-bezier(.45, 0, .4, 1), transform 1800ms cubic-bezier(.45, 0, .2, 1); }
html.splash-out.splash-fast body { transition: opacity 600ms ease, transform 600ms cubic-bezier(.16, .84, .3, 1); }
/* For people who asked for less motion: the finished picture, still, then a short plain fade. Nothing turns. */
.splash.still .splash-skip { animation: none; }
.splash.still.out { transition: opacity 300ms linear; }
.splash.still.out .splash-cam { transform: none; filter: none; transition: none; }
/* After the opening, reading starts at the page itself. It is a place, not a button, so it shows no ring. */
main:focus-visible { outline: none; }
@media print {
  .splash { display: none; }
}

/* Round three. The menu button on a phone (site/menu.ts). It is only shown when the script has put it there. */
.menu-btn { display: none; flex: none; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 14px; border: 1px solid var(--hair-2); border-radius: 12px; background-color: rgba(255, 255, 255, .05); color: var(--ink); font: 600 15px/1 var(--body); cursor: pointer; }
.menu-btn:hover, .menu-btn[aria-expanded="true"] { border-color: rgba(255, 213, 101, .6); color: #fff; }
.menu-mark { display: grid; gap: 4px; width: 16px; }
.menu-mark i { display: block; height: 2px; border-radius: 1px; background: currentColor; }
.menu-mark i:nth-child(2) { background: var(--gold-hi); width: 70%; }
@media (max-width: 760px) {
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    html.menu-on .top nav { background-color: rgba(18, 23, 32, .86); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); }
  }
  html.fx-1.menu-on .top nav { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: #121720; }
}

/* The menu bar, a Mac's (site/menu.ts): the mark at the far left, then the titles beside it, each opening a dropdown
   of glass. The bar looks slim; every title and item is still at least 44 pixels tall to press. */
.top-row { justify-content: flex-start; column-gap: 2px; padding-top: 0; padding-bottom: 0; }
@media (min-width: 761px) { .top .top-row { max-width: none; padding: 0 14px; } }
.brand { justify-content: center; min-width: 44px; margin-right: 4px; }
.top nav ul.mb { margin-left: 0; column-gap: 0; }
.mb-item { position: relative; }
.top nav a.mb-title { padding: 0 11px; color: var(--ink); font-size: 14px; font-weight: 500; border-radius: 7px; }
.top nav .mb-item:first-child a.mb-title { font-weight: 700; }
.top nav a.mb-title:hover, .top nav a.mb-title[aria-current] { text-decoration: none; color: #fff; }
.top nav .mb-item.open a.mb-title { background-color: rgba(255, 255, 255, .16); color: #fff; }
.top nav ul.mb-drop { display: none; }
html.menu-on .top nav .mb-item.open ul.mb-drop { position: absolute; left: 0; top: calc(100% - 3px); z-index: 40; display: grid; gap: 1px; min-width: 236px; padding: 5px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 11px; background-color: #161b24; box-shadow: 0 22px 50px -14px #000, 0 0 0 1px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .12); }
.top nav .mb-drop a { display: flex; min-height: 44px; padding: 0 12px; color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; border-radius: 6px; }
.top nav .mb-drop a:hover, .top nav .mb-drop a.lit, .top nav .mb-drop a:focus-visible { text-decoration: none; background-color: #f2b632; color: #0d1118; outline: none; }
@media (pointer: fine) { .top nav .mb-drop a { min-height: 30px; } }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html.menu-on .top nav .mb-item.open ul.mb-drop { background-color: rgba(22, 27, 36, .8); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); }
}
@keyframes drop-in { from { opacity: 0; transform: translate3d(0, -4px, 0) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  /* On a phone the titles go in the Menu button's sheet, which wears the dropdown's glass. */
  .top-row { justify-content: space-between; }
  html.menu-on .top nav ul.mb { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0; }
  html.menu-on .top nav .mb-item.open ul.mb-drop, html.menu-on .top nav ul.mb-drop { display: none; }
  html.menu-on .top nav { border-radius: 14px; border-color: rgba(255, 255, 255, .16); }
  html.menu-on .top nav a.mb-title { font-size: 16px; font-weight: 500; border-radius: 9px; }
  html.menu-on .top nav a.mb-title:hover { background-color: #f2b632; color: #0d1118; }
}

/* The flower from the opening, standing between the dock's groups. */
.dock-sep { flex: none; display: flex; align-items: center; padding: 0 4px 16px; }
.dock-flower { display: block; width: 36px; height: 36px; overflow: visible; filter: drop-shadow(0 0 4px rgba(255, 213, 101, .35)); }
.dock-flower g { stroke: var(--gold-hi); }
.dock-flower g > * { stroke-width: 1px; vector-effect: non-scaling-stroke; }
.dock-spark { fill: #fffdf2; }

/* The green lens plane that crosses a window as it opens; it waits off the window's left edge. */
.lens-plane { position: absolute; top: 0; bottom: 0; left: 0; z-index: 6; width: 42%; pointer-events: none; transform: translate3d(-110%, 0, 0); background: linear-gradient(90deg, rgba(87, 227, 137, 0), rgba(87, 227, 137, .07) 60%, rgba(87, 227, 137, .14) 97%, rgba(201, 255, 220, .45) 99%, rgba(87, 227, 137, 0)); }
html:not(.desk-on) .lens-plane { display: none; }

/* The ring that goes out from a press. */
.tap-ring { position: fixed; z-index: 70; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 1.5px solid rgba(255, 213, 101, .9); box-shadow: 0 0 14px rgba(255, 213, 101, .4), inset 0 0 10px rgba(255, 213, 101, .25); pointer-events: none; transform: scale(1); }
html.fx-0 .tap-ring { display: none; }

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html:not(.fx-1):not(.fx-0) .lens-plane { -webkit-backdrop-filter: saturate(1.3) brightness(1.08); backdrop-filter: saturate(1.3) brightness(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .lens-plane, .tap-ring { display: none; }
}
@media print {
  .lens-plane, .tap-ring, .dock-sep, .menu-btn { display: none; }
}
@keyframes sep-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lens-pass { 0% { transform: translate3d(-110%, 0, 0); } 100% { transform: translate3d(260%, 0, 0); } }
@keyframes tap-ring { 0% { transform: scale(.12); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }

/* ---- See it work: one film, a plain list of the others, and a flip deck of the stills (site/films.ts) ---------- */
.win-films { --tint: #f2b632; }
.film { position: relative; margin: 0 0 22px; border-radius: 12px; overflow: hidden; border: 1px solid var(--hair-2); background: #05070a; box-shadow: 0 30px 80px -30px #000, inset 0 1px 0 rgba(255, 255, 255, .1); }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #05070a; }
.film-play { position: absolute; left: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 246, 221, .5); background: rgba(10, 13, 18, .72); cursor: pointer; }
.film-play::before { content: ""; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -6px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--gold-hi); }
.film-play.is-playing::before { margin: -8px 0 0 -7px; width: 4px; height: 16px; border: 0; border-left: 5px solid var(--gold-hi); border-right: 5px solid var(--gold-hi); }
.film-list { list-style: none; padding: 0; margin: 0 0 28px; }
.film-list li { border-bottom: 1px solid var(--hair); padding: 2px 0; font-size: 15px; color: var(--mute); }
.film-list a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 8px; color: var(--soft); }
.film-list a[aria-current] { color: var(--gold-hi); }
.deck { position: relative; margin: 0 0 14px; border-radius: 12px; }
.slide { margin: 0 0 18px; }
.slide picture, .slide img { display: block; width: 100%; height: auto; border-radius: 12px; }
.slide figcaption { margin-top: 10px; font-size: 15px; color: var(--soft); }
.slide-kicker { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--tint); }
html.desk-on .deck-on .deck-stage { display: grid; }
html.desk-on .deck-on .slide { grid-area: 1 / 1; margin: 0; display: none; opacity: 0; transition: opacity 1.4s ease, transform 1.4s ease; transform: perspective(1400px) rotateY(-5deg) scale(.985); }
html.desk-on .deck-on .slide.is-on, html.desk-on .deck-on .slide.is-off, html.desk-on .deck-on .slide.is-next { display: block; }
html.desk-on .deck-on .slide.is-on { opacity: 1; transform: none; z-index: 2; }
html.desk-on .deck-on .slide.is-off figcaption { visibility: hidden; }
html.desk-on .deck-on .slide.is-off { opacity: 0; transform: perspective(1400px) rotateY(5deg) scale(.985); z-index: 1; }
.deck-tools { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; }
.deck-tools button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--hair-2); background: rgba(255, 255, 255, .05); color: var(--ink); font: 600 24px/1 var(--body); cursor: pointer; }
.deck-tools button:hover { border-color: var(--gold-hi); }
.deck-count { min-width: 5em; margin: 0; text-align: center; font: 600 15px/1 var(--body); color: var(--soft); font-variant-numeric: tabular-nums; }
.sample-line { margin-top: 4px; }
@media (max-width: 760px) {
  .film video { aspect-ratio: 9 / 16; max-height: 62vh; }
}
@media (prefers-reduced-motion: reduce) {
  html.desk-on .deck-on .slide, html.desk-on .deck-on .slide.is-off { transition: none; transform: none; }
}


/* ---- Try them on, the flight (site/tryon.ts). Not on the desk: a layer over the whole screen. The script sets these
   animations only when motion is welcome; with less motion asked for the view only fades ("tryon-fade"). -------- */
@keyframes tryon-fly {
  0% { transform: rotateX(14deg) rotateY(-20deg); filter: blur(0); }
  45% { transform: translate3d(calc(var(--dx) * .5), calc(var(--dy) * .5 - 40px), 0) rotateX(6deg) rotateY(-8deg) rotateZ(-6deg) scale(calc(var(--big) * .25)); filter: blur(0); }
  80% { transform: translate3d(calc(var(--dx) * .95), calc(var(--dy) * .95), 0) rotateZ(-8deg) scale(calc(var(--big) * .8)); filter: blur(6px); opacity: 1; }
  100% { transform: translate3d(var(--dx), var(--dy), 0) rotateZ(-10deg) scale(var(--big)); filter: blur(16px); opacity: 0; }
}
@keyframes tryon-dark { 0%, 40% { background-color: rgba(0, 0, 0, 0); } }
@keyframes tryon-fade { from { opacity: 0; } }
@keyframes tryon-back { from { transform: translateY(-60px) scale(1.25); opacity: 0; } }

/* In the desk a window's title bar already says its name: where the heading repeats it (the phone, See it work, On the
   glasses, Byte, Integrations), the heading stays for screen readers only. */

/* ---- Pictures that pop out (site/lightbox.ts) ---- */
.lb-can { cursor: zoom-in; transition: translate .25s ease, filter .25s ease; }
.lb-can:hover { translate: 0 -3px; filter: brightness(1.06); }
.lb-can:focus-visible { outline: 3px solid var(--gold, #f3c969); outline-offset: 4px; }
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 56px 12px 24px; background: rgba(4, 7, 12, .72); -webkit-backdrop-filter: blur(14px) saturate(.9); backdrop-filter: blur(14px) saturate(.9); }
.lb[hidden] { display: none; }
.lb-shot { margin: 0; display: grid; justify-items: center; gap: 12px; max-width: 100%; }
.lb-shot img { display: block; max-width: calc(100vw - 24px); max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 40px 90px -30px #000; background: #000; }
.lb-shot figcaption { max-width: 60ch; color: #e8ecf2; font-size: 15px; line-height: 1.45; text-align: center; }
.lb-x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(12, 16, 24, .8); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lb-x:focus-visible { outline: 3px solid var(--gold, #f3c969); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .lb-can, .lb-can:hover { transition: none; translate: none; } }
/* A lens picture popped out on a phone: one CSS pixel per lens pixel, panned sideways, so its words stay legible. */
@media (max-width: 640px) {
  .lb-shot { overflow-x: auto; overscroll-behavior-x: contain; }
  .lb-shot img[src*="lens-"] { width: 576px; max-width: none; max-height: none; image-rendering: pixelated; }
  .lb-shot:has(img[src*="lens-"]) { justify-items: start; }
  .lb-shot:has(img[src*="lens-"]) figcaption { position: sticky; left: 0; max-width: calc(100vw - 24px); }
}

/* Phones: the dock stays at the bottom of the screen the whole way down the page, instead of riding up with the end
   of the desk; the footer keeps room below so the dock never covers its last lines. */
@media (max-width: 760px) {
  html.desk-on .dock { position: fixed; left: 0; right: 0; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  html.desk-on .foot { padding-bottom: calc(130px + env(safe-area-inset-bottom, 0px)); }
}
