:root {
  /* The page: white, a soft grey, and one blue. */
  --bg: #ffffff;
  --panel: #f4f4f6;
  --line: #e7e7eb;
  --ink: #101014;
  --soft: #696972;
  --faint: #a3a3ad;
  --blue: #2f3bd9;
  --blue-soft: #eceefd;
  /* The app shown on it, in its light appearance. */
  --app: #f3f3f6;
  --app-card: #ffffff;
  --app-line: rgb(16 16 30 / 0.09);
  --app-text: rgb(16 16 22 / 0.93);
  --app-soft: rgb(16 16 22 / 0.56);
  --app-blue: #2f3bd9;
  --green: #30d158;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --page: min(1160px, 100vw - 40px);
  --out: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg[data-icon] { width: 1em; height: 1em; flex: none; }
canvas.picture { display: block; width: 100%; image-rendering: pixelated; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* ---- Nav */

/* The header: a white card floating over the page, there at every scroll. */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 30; padding: 0 20px; pointer-events: none; }
.bar {
  display: flex; align-items: center; gap: 44px; max-width: 1160px; height: 58px; margin: 0 auto; padding: 0 9px 0 22px;
  border-radius: 16px; background: rgb(255 255 255 / 0.9); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 1px 2px rgb(16 16 30 / 0.06), 0 10px 30px -12px rgb(16 16 30 / 0.22); pointer-events: auto;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 21px; letter-spacing: -0.035em; }
.mark { width: 30px; height: 30px; background: url("mark.png") center / contain no-repeat; }
/* Across from the name: one quiet pill. */
.get {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; margin-left: auto; padding: 0 16px 0 13px;
  border-radius: 999px; background: var(--blue); color: #fff; font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em;
  transition: background 0.2s, transform 0.2s var(--out);
}
/* The mark, in white, before the words. */
.get img { width: 20px; height: 20px; margin-right: 2px; filter: brightness(0) invert(1); }
.get svg { width: 15px; height: 15px; transition: transform 0.25s var(--out); }
.get:hover { background: #2530c4; }
.get:hover svg { transform: translateX(2px); }
.get:active { transform: scale(0.97); }

.button {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 500;
  font-size: 15.5px;
  transition: transform 0.25s var(--out), background 0.2s, box-shadow 0.25s;
}
.button:hover { background: #2530c4; transform: translateY(-1px); box-shadow: 0 8px 24px rgb(47 59 217 / 0.26); }
.button:active { transform: scale(0.98); }
.button.small { height: 36px; padding: 0 16px; font-size: 14px; }

h1, h2 { font-weight: 500; letter-spacing: -0.045em; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.8vw, 60px); line-height: 1.04; }
h2 span { color: var(--blue); }
.eyebrow { font: 500 12.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }

/* ---- Hero: a cursor sweeps the clutter of a desktop into Oree. The script
   sets each moving part's place from how far the page has scrolled; this
   keeps only looks, the arrivals on load and the idle drift. */

.sw { position: relative; height: 100vh; }

.sw-scene {
  position: sticky;
  top: 0;
  height: 100vh;
  /* The desktop reaches up under the header. */
  overflow: visible;
}

/* ---- The clutter: files left lying on the desktop */

.sw-items { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
/* The opening line, written across the middle of the clutter, above it. */
.sw-desk > .sw-mess { position: absolute; inset: 60% 12% 4%; z-index: 3; display: grid; place-content: center; margin: 0; text-align: center; font-size: clamp(30px, 3cqw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -0.04em; color: var(--ink); text-shadow: 0 0 1.2em var(--app), 0 0 0.4em var(--app); pointer-events: none; }
.sw-item { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
/* Arrival on load, then a slow drift of its own: the page breathes before
   anyone scrolls. */
.sw-item > .icon {
  opacity: 0;
  scale: 0.6;
  transition: opacity 0.5s var(--out), scale 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--n) * 25ms);
  animation: sw-drift var(--dur) ease-in-out var(--delay) infinite alternate;
}
.sw-scene.on .sw-item > .icon { opacity: 1; scale: 1; }
@keyframes sw-drift {
  from { transform: translate(0, 0) rotate(calc(var(--tilt) * -1deg)); }
  to { transform: translate(var(--dx), var(--dy)) rotate(calc(var(--tilt) * 1deg)); }
}
.sw-item .icon span { color: var(--ink); }
.sw-item .icon.picked span { color: #fff; }

/* A few kinds the main page does not draw. */
.icon.cal b::before { width: 36px; height: 38px; border-radius: 8px; background: linear-gradient(#ff5a4f 0 30%, #fff 30%); box-shadow: 0 0 0 1px rgb(16 16 30 / 0.08) inset; }
.icon.note b::before { width: 34px; height: 40px; border-radius: 5px; background: repeating-linear-gradient(#fff 0 7px, #e8e8ee 7px 8px), #fff; box-shadow: 0 0 0 1px rgb(16 16 30 / 0.1) inset; }
.icon.eml b::before { width: 42px; height: 30px; border-radius: 5px; background: linear-gradient(160deg, #6fc3ff, #2f7bf6); clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 100%, 0 100%); }
.icon.mp3 b::before { width: 40px; height: 40px; border-radius: 9px; background: radial-gradient(circle at 30% 30%, #9db0ff, #2f3bd9 60%, #14186b); }

/* ---- The desktop the clutter becomes. 1em inside it is 1% of its width. */

.sw-desk {
  --frame: 1;
  --photo: 1;
  position: absolute;
  left: 50%;
  /* The whole window, from under the header to the fold. */
  top: 50%;
  width: 100%;
  height: 100vh;
  container-type: inline-size;
  background: rgb(243 243 246 / var(--frame));
  transform: translate(-50%, -50%);
  color: var(--app-text);
}
/* Sized by the narrower of width and height, so the two rows of widgets
   end above the fold on a wide, short window too. */
.sw-desk > * { font-size: min(0.82cqw, 1.28vh); }

.sw-photo { position: absolute; inset: 0 0 auto; height: 47%; opacity: var(--photo, 0); }
/* Hidden where the header card covers it; shown on phones. */
.sw-menubar { position: absolute; inset: 0 0 auto; display: none; align-items: center; gap: 1.4em; height: 2.5em; padding: 0 1.1em; font-size: 0.95cqw; color: #fff; text-shadow: 0 1px 3px rgb(0 0 30 / 0.35); opacity: var(--photo, 0); }
.sw-menubar span { width: 0.95em; height: 0.95em; border: 0.24em solid currentColor; border-radius: 50%; }
.sw-menubar b { font-weight: 600; }
.sw-menubar i { font-style: normal; opacity: 0.86; }
.sw-menubar em { margin-left: auto; font-style: normal; }

.sw-box {
  position: absolute; top: 45%; left: 35%; width: 30%; z-index: 2;
  padding: 1em 1.1em; border: 1px solid var(--app-line); border-radius: 1.2em;
  background: rgb(255 255 255 / 0.82); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1em 3em rgb(20 20 60 / 0.12);
}
.sw-prompt { display: block; margin-bottom: 1.3em; font-size: 1.06em; color: var(--app-soft); }
.sw-row { display: flex; align-items: center; justify-content: space-between; color: var(--app-soft); font-size: 0.92em; }
.sw-row span { display: inline-flex; align-items: center; gap: 0.5em; }
.sw-row { justify-content: flex-start; gap: 0.8em; }
.sw-row b { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 50%; background: rgb(16 16 30 / 0.07); color: var(--app-text); }
.sw-row .perm { gap: 0.2em; }
.sw-row .agent { margin-left: auto; }
.sw-row b.send { background: var(--app-blue); color: #fff; }

.sw-cards { position: absolute; inset: 60% 17% auto; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8em; }
.sw-cards .w { font-size: 0.86em; opacity: 0; will-change: transform, opacity; }

/* ---- The words over the sky, there from the start. */

.sw-end {
  position: absolute; left: 0; right: 0; top: calc(6% + 72px); z-index: 5;
  display: grid; justify-items: center; gap: 14px; padding: 0 20px; text-align: center; color: #fff;
  opacity: 0; transform: translateY(16px); visibility: hidden;
  transition: opacity 0.7s var(--out), transform 0.8s var(--out), visibility 0s 0.8s;
}
.sw-scene.on .sw-end { opacity: 1; transform: none; visibility: visible; transition-delay: 0.15s; transition-property: opacity, transform, visibility; transition-duration: 0.7s, 0.8s, 0s; }
.sw-end-title { font-size: clamp(36px, 4.6vw, 64px); font-weight: 500; line-height: 1; letter-spacing: -0.045em; text-shadow: 0 2px 24px rgb(0 10 60 / 0.35); }
.sw-end-line { font-size: clamp(15px, 1.2vw, 18px); opacity: 0.9; text-shadow: 0 1px 10px rgb(0 10 60 / 0.4); }
.sw-end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.3); background: rgb(14 20 60 / 0.42); backdrop-filter: blur(14px) saturate(1.4);
  color: #fff; font-size: 15px; font-weight: 500; transition: background 0.2s;
}
.badge:hover { background: rgb(14 20 60 / 0.56); }
.badge svg { width: 18px; height: 18px; }




/* ---- A widget. Everything inside is in ems, so it scales with its font. */

.w { display: flex; flex-direction: column; gap: 0.9em; height: 15em; padding: 1.1em; overflow: hidden; border: 1px solid rgb(0 0 0 / 0.09); border-radius: 1.3em; background: linear-gradient(160deg, rgb(255 255 255 / 0.82), rgb(255 255 255 / 0.62)); -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9); color: var(--app-text); text-align: left; }
.w h3 { display: flex; align-items: center; gap: 0.5em; font-size: 1em; font-weight: 500; letter-spacing: 0; }
.w h3 svg { color: var(--app-soft); font-size: 1.15em; }
.w h3 em { font-style: normal; font-weight: 400; color: var(--app-soft); }
.w h3 a { margin-left: auto; font-size: 0.82em; font-weight: 400; color: var(--app-soft); }
.w h3 a.add svg { color: var(--app-soft); font-size: 1.1em; }

.rows { display: grid; gap: 0.72em; }
.rows li { display: flex; align-items: center; gap: 0.65em; white-space: nowrap; }
.rows li > i { margin-left: auto; padding-left: 0.6em; font-style: normal; font-size: 0.82em; color: var(--app-soft); font-variant-numeric: tabular-nums; }
.fold { width: 1.25em; height: 1em; border-radius: 0.2em; background: linear-gradient(#6cb8f6, #3d94e6); }
.events b { width: 0.22em; height: 1.05em; border-radius: 1px; background: var(--c); }
/* As in the app: two weeks, today ringed with a dashed line, then a short rule. */
.fortnight { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.15em 0; margin: -0.2em -0.35em 0; text-align: center; font-size: 0.78em; font-variant-numeric: tabular-nums; }
.fortnight b { font-size: 0.85em; font-weight: 500; color: var(--app-soft); }
.fortnight i { justify-self: center; width: 2em; padding: 0.1em 0; border: 1px dashed transparent; border-radius: 1em; font-style: normal; }
.fortnight i.past { color: var(--app-soft); }
.fortnight i.today { border-color: var(--app-blue); color: var(--app-blue); font-weight: 600; }
.rule { width: 40%; margin: 0.1em auto; border: 0; border-top: 1px solid var(--app-line); }
.w:has(.fortnight) .rows { gap: 0.45em; }
.todo li { cursor: pointer; transition: opacity 0.3s; }
.todo b { display: grid; place-items: center; width: 1em; height: 1em; border: 0.12em solid var(--app-soft); border-radius: 50%; transition: background 0.2s, border-color 0.2s; }
.todo li.done { opacity: 0.4; text-decoration: line-through; }
.todo li.done b { background: var(--app-blue); border-color: var(--app-blue); }
.rows li > i { color: var(--app-soft); }
.mail b { flex: none; width: 0.45em; height: 0.45em; margin-left: 0.5em; border-radius: 50%; }
.mail .unread { font-weight: 500; }
.mail .unread b { background: var(--app-blue); }
.mail li { overflow: hidden; }

/* As in the app: a large cover, and beside it, hanging from its top edge,
   the app it plays in, the title and the artist; the controls on its foot. */
.playing { display: flex; gap: 1.1em; align-items: flex-start; margin: auto 0; }
.cover { flex: none; width: 9em; height: 9em; border-radius: 0.9em; background: #2a2a1c url("cover.jpg") center / cover; box-shadow: 0 0.5em 1.2em rgb(20 20 60 / 0.16); }
.playing div { display: flex; flex-direction: column; gap: 0.25em; height: 9em; min-width: 0; flex: 1; }
.playing strong { font-size: 0.95em; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.playing small { font-size: 0.85em; color: var(--app-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w h3 .app { display: grid; place-items: center; width: 1.25em; height: 1.25em; margin-left: auto; border-radius: 0.3em; background: linear-gradient(#fb5c74, #fa233b); color: #fff; }
.w h3 .app svg { color: #fff; font-size: 0.8em; }
.progress { display: grid; gap: 0.3em; margin-top: auto; }
.progress .bar { height: 0.28em; border-radius: 1em; background: rgb(16 16 30 / 0.08); overflow: hidden; }
.progress .bar i { display: block; width: 38%; height: 100%; border-radius: 1em; background: var(--app-soft); animation: play 129s linear forwards; }
@keyframes play { to { width: 100%; } }
.progress .times { display: flex; justify-content: space-between; font-size: 0.66em; color: var(--app-soft); font-variant-numeric: tabular-nums; }
.progress .times i { font-style: normal; }
/* As Apple draws them: bare symbols, the middle one larger. */
.controls { display: flex; align-items: center; justify-content: space-between; margin: 0.35em -0.4em 0; }
.controls i, .controls b { display: grid; place-items: center; width: 2.2em; height: 2.2em; }
.controls svg { width: 1.3em; height: 1.3em; color: var(--app-text); }
.controls b svg { width: 1.75em; height: 1.75em; }

/* As in the app: two columns from one top line, where and how warm on the
   left, the sky, what it is doing and the day's range on the right; the
   days ahead on a panel of their own. */
.weather { display: flex; flex-direction: column; flex: 1; }
.now { display: flex; align-items: flex-start; gap: 0.6em; }
.now div { display: flex; align-items: baseline; gap: 0.45em; }
.now div small { font-size: 0.92em; font-weight: 600; }
.now strong { font-size: 1.9em; font-weight: 300; line-height: 1; letter-spacing: -0.03em; }
.now span { display: flex; align-items: center; gap: 0.4em; margin-left: auto; }
.now span svg { width: 1.4em; height: 1.4em; }
.now span small { font-size: 0.92em; font-weight: 500; }
.now span i { font-style: normal; font-size: 0.8em; color: var(--app-soft); font-variant-numeric: tabular-nums; }
.weather ol { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: auto; padding: 0.65em 0; border-radius: 0.9em; background: rgb(16 16 30 / 0.045); text-align: center; font-size: 0.82em; color: var(--app-soft); }
.weather ol li { display: grid; justify-items: center; gap: 0.4em; }
.weather ol svg { width: 1.45em; height: 1.45em; color: var(--app-text); }
.weather ol i { font-style: normal; font-variant-numeric: tabular-nums; }
.weather ol i b { font-weight: 600; color: var(--app-text); }

@property --fill { syntax: "<number>"; inherits: true; initial-value: 0; }
.rings { display: grid; grid-template-columns: repeat(2, 4.2em); gap: 0.9em 2.2em; place-content: center; flex: 1; padding-bottom: 0.3em; }
.ring { --fill: var(--level); position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; transition: --fill 1.2s var(--out); }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--green) calc(var(--fill) * 1%), rgb(16 16 30 / 0.08) 0); -webkit-mask: radial-gradient(closest-side, transparent 83%, #000 84%); mask: radial-gradient(closest-side, transparent 83%, #000 84%); }
.ring svg { grid-area: 1 / 1; font-size: 1.75em; }
/* Charging, as macOS shows it: a small bolt in a gap at the top of the ring. */
.ring.charging::before { background: conic-gradient(from 18deg, var(--green) calc(var(--fill) * 3.24deg), rgb(16 16 30 / 0.08) 0 324deg, transparent 0); }
.ring .bolt { position: absolute; top: -0.42em; left: 50%; transform: translateX(-50%); display: grid; color: var(--green); }
.ring .bolt svg { font-size: 0.85em; }

.focus { display: grid; grid-template-columns: 1fr auto; align-items: center; flex: 1; }
.focus strong { font-size: 3.6em; font-weight: 300; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.focus .keys { display: flex; align-items: center; gap: 0.5em; }
.focus button { display: grid; place-items: center; width: 3.2em; height: 3.2em; border: 0; border-radius: 50%; background: rgb(16 16 30 / 0.08); color: inherit; font-size: 1.1em; cursor: pointer; transition: background 0.2s, transform 0.2s var(--out); }
.focus button.again { width: 2.4em; height: 2.4em; font-size: 0.95em; }
.focus button[hidden] { display: none; }
.focus button:hover { background: rgb(16 16 30 / 0.16); transform: scale(1.06); }
/* The ruler runs edge to edge across the card and fades at both ends. */
.ruler { position: relative; grid-column: 1 / -1; align-self: end; height: 2.75em; margin: 0 -1.1em -0.2em; overflow: hidden; touch-action: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.ruler.free { cursor: ew-resize; }
.scale { position: absolute; left: 50%; top: 0; transition: transform 0.25s linear; }
.scale i { position: absolute; left: calc(var(--m) * 0.75em); top: 0.3em; width: 1px; height: 0.5em; background: var(--app-soft); }
.scale i.major { height: 0.95em; }
.scale i.past { opacity: 0.35; }
.scale b { position: absolute; top: 2.05em; left: 0; transform: translateX(-50%); font-size: 0.7em; font-weight: 500; color: var(--app-soft); font-variant-numeric: tabular-nums; }
.needle { position: absolute; left: 50%; top: 0.1em; width: 0.17em; height: 1.15em; margin-left: -0.085em; border-radius: 1em; background: var(--app-blue); }

@keyframes blink { 50% { opacity: 0; } }

/* ---- Things arrive as they scroll into view */

[data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity 0.8s var(--out), transform 0.9s var(--out), filter 0.8s var(--out); transition-delay: calc(var(--i, 0) * 110ms); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }

/* A grey stage with a field of dots fading in at its foot. */
.inset { position: relative; border-radius: 30px; background: var(--panel); overflow: hidden; }
.inset::after {
  content: ""; position: absolute; inset: auto 0 0; height: 130px; pointer-events: none;
  background: radial-gradient(circle, rgb(47 59 217 / 0.24) 1px, transparent 1.4px) 0 0 / 9px 9px;
  mask: linear-gradient(90deg, #000, transparent 24%, transparent 76%, #000), linear-gradient(transparent, #000);
  mask-composite: intersect;
}
.inset > * { position: relative; z-index: 1; }

.head { display: grid; gap: 18px; }
.head > p:not(.eyebrow) { max-width: 560px; color: var(--soft); font-size: 17px; }

/* ---- Widgets: eight cards on a curve, turned by scrolling */

.round { position: relative; height: 380vh; scroll-margin-top: 0; }
.pin { position: sticky; top: 64px; height: calc(100vh - 64px); display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 12px; padding: 6vh 0 5vh; overflow: clip; }
.pin .head { justify-items: center; text-align: center; }

.curve { --w: 23em; --r: 56em; align-self: center; width: 100%; height: 17em; font-size: clamp(12px, 1.4vw, 20px); perspective: 120em; perspective-origin: 50% 46%; }
.wheel { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: translateZ(calc(var(--r) * -1)) rotateY(calc(var(--turn, 0) * -1deg)); }
.wheel .w {
  position: absolute; left: 50%; top: 50%; width: var(--w); margin: -7.5em 0 0 calc(var(--w) / -2);
  transform: rotateY(calc(var(--i) * 26deg)) translateZ(var(--r));
  backface-visibility: hidden;
  opacity: var(--near, 0);
  box-shadow: 0 2.2em 5em -1.4em rgb(20 20 60 / 0.28), 0 0.3em 1em rgb(20 20 60 / 0.06);
}
.about { display: grid; justify-items: center; gap: 4px; min-height: 58px; text-align: center; }
.about strong { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.about span { color: var(--soft); font-size: 15.5px; }
.about.swap strong, .about.swap span { animation: row-in 0.5s var(--out); }

/* ---- Files and Assistant: words beside a piece of the app */

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(28px, 5vw, 72px); width: var(--page); margin: 0 auto; padding: 70px 0; scroll-margin-top: 30px; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.flip .words { order: 2; }
.words { display: grid; gap: 20px; }
.words > p:not(.eyebrow) { color: var(--soft); font-size: 17px; max-width: 46ch; }
.points { display: grid; gap: 11px; font-size: 15.5px; color: var(--soft); }
.points li { position: relative; padding-left: 24px; }
.points li::before { content: ""; position: absolute; left: 2px; top: 0.56em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-soft); box-shadow: 0 0 0 2.5px var(--blue) inset; }

.inset.bleed { padding: clamp(18px, 3vw, 40px) clamp(18px, 3vw, 40px) 0; }
.app { position: relative; border-radius: 18px 18px 0 0; background: var(--app); color: var(--app-text); box-shadow: 0 24px 60px rgb(20 20 60 / 0.26); overflow: hidden; }

.files { height: 400px; padding: 18px 20px; user-select: none; }
.files .bar { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--app-soft); }
.files .bar span { display: inline-flex; align-items: center; gap: 6px; }
.files .count { padding: 4px 10px; border-radius: 999px; background: rgb(16 16 30 / 0.08); font-variant-numeric: tabular-nums; }
.icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 12px 4px; margin-top: 20px; }
.icon { display: grid; justify-items: center; gap: 6px; font-size: 11.5px; text-align: center; }
.icon b { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 10px; transition: background 0.15s; }
.icon b::before { content: ""; width: 42px; height: 32px; border-radius: 6px; background: linear-gradient(#6cb8f6, #3d94e6); box-shadow: 0 -5px 0 -1px #5aa9ee inset; }
.icon.doc b::before { width: 32px; height: 42px; border-radius: 5px; background: linear-gradient(#f4f4f2, #cfcfcb); box-shadow: none; }
.icon.pic b::before { width: 40px; height: 40px; border-radius: 6px; background: linear-gradient(135deg, #f0c9a0, #8a6ea8 60%, #3a4a7a); box-shadow: 0 0 0 3px #f4f4f2 inset; }
.icon span { max-width: 76px; padding: 1px 6px; border-radius: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: background 0.15s; }
.icons .icon span { max-width: 84px; padding: 0; white-space: normal; text-align: center; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.icons .icon span em { padding: 1px 4px; border-radius: 4px; font-style: normal; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background 0.15s; }
.icon.picked b { background: rgb(16 16 30 / 0.12); }
.icon.picked span { background: var(--app-blue); color: #fff; }
.icons .icon.picked span { background: none; color: inherit; }
.icons .icon.picked span em { background: #0a64e0; color: #fff; }
/* The drag-into-a-folder story. */
.files .path em { font-style: normal; }
.files .path:not(.up) svg { display: none; }
.files .path.press { opacity: 0.5; }
.icons { transition: opacity 0.22s; }
.icons.swap { opacity: 0; }
.icon.lifted { opacity: 0.35; }
.icon.gone { opacity: 0; transition: opacity 0.3s; }
.icon.target b { background: rgb(47 59 217 / 0.14); box-shadow: 0 0 0 2px var(--app-blue) inset; }
.icon.took b { animation: took 0.45s var(--out); }
@keyframes took { 40% { scale: 1.14; } }
.ghost { position: absolute; left: 0; top: 0; z-index: 3; width: 78px; pointer-events: none; opacity: 0.92; }
.ghost.drop { scale: 0.3; opacity: 0; transition: scale 0.35s var(--out), opacity 0.35s; }
.files .pointer { z-index: 4; }
/* The pointer that shows how, until a real one takes over. */
.pointer { position: absolute; left: 0; top: 0; width: 15px; height: 21px; opacity: 0; pointer-events: none; transition: opacity 0.3s; background: #101014; clip-path: polygon(0 0, 0 78%, 26% 60%, 46% 100%, 62% 92%, 43% 55%, 76% 55%); filter: drop-shadow(0 0 1px #fff) drop-shadow(0 1px 2px rgb(0 0 0 / 0.3)); }

.chat { height: 400px; }
.chat > .picture { position: absolute; inset: 0 0 auto; height: 62%; opacity: 0.6; }
.thread { position: absolute; inset: 22px 24px 78px; display: flex; flex-direction: column; justify-content: flex-end; gap: 11px; font-size: 14px; }
.thread p { max-width: 90%; opacity: 0; transform: translateY(10px); filter: blur(4px); transition: opacity 0.45s var(--out), transform 0.55s var(--out), filter 0.45s; }
.thread p.in { opacity: 1; transform: none; filter: none; }
.thread .you { align-self: flex-start; padding: 8px 13px; border: 1px solid var(--app-line); border-radius: 13px; background: rgb(255 255 255 / 0.88); backdrop-filter: blur(12px); }
.thread .tool { font: 400 12px/1.5 var(--mono); color: var(--app-soft); }
.thread .ask { display: flex; align-items: center; gap: 8px; max-width: 100%; padding: 10px 12px; border: 1px solid var(--app-line); border-radius: 13px; background: rgb(255 255 255 / 0.94); font: 400 12px/1.4 var(--mono); }
.thread .ask b { margin-left: auto; padding: 4px 11px; border-radius: 7px; background: var(--app-blue); color: #fff; font: 500 12.5px var(--sans); white-space: nowrap; animation: nudge 1.6s ease-in-out infinite; }
.thread .ask i { padding: 4px 11px; border-radius: 7px; background: rgb(16 16 30 / 0.09); font: 500 12.5px var(--sans); white-space: nowrap; }
@keyframes nudge { 50% { box-shadow: 0 0 0 5px rgb(47 59 217 / 0.22); } }
/* As in the app: the tools run between replies folded into one line. */
.thread .trace { display: grid; gap: 6px; font-size: 13px; color: var(--app-soft); }
.thread .trace .head { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font-weight: 500; cursor: pointer; }
.thread .trace .head svg { width: 13px; height: 13px; }
.thread .trace .head svg:last-child { transition: transform 0.3s var(--out); }
.thread .trace.open .head svg:last-child { transform: rotate(180deg); }
.thread .trace .list { display: none; gap: 5px; margin-left: 6px; padding-left: 12px; border-left: 1px solid var(--app-line); font: 400 12px/1.5 var(--mono); }
.thread .trace.open .list { display: grid; }
.thread .trace .list span { animation: rise 0.35s var(--out) both; }
.thread .trace.running em, .thinking em { background: linear-gradient(90deg, var(--app-soft) 30%, var(--app-text) 50%, var(--app-soft) 70%) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; animation: shimmer 1.6s linear infinite; }
.thread .trace em { font-style: normal; }
.thread .word { opacity: 0; animation: word 0.4s ease-out forwards; }
@keyframes word { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(5px); } }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }

/* As in the app: above the reply box while the agent works. */
.thinking { position: absolute; left: 30px; bottom: 74px; display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: var(--app-soft); opacity: 0; transition: opacity 0.3s; }
.thinking.on { opacity: 1; }
.thinking small { font: 400 11px var(--mono); }
.dots { display: grid; grid-template-columns: repeat(3, 4px); gap: 2px; }
.dots i { width: 4px; height: 4px; border-radius: 1px; background: currentColor; opacity: 0.15; animation: dot 0.9s linear infinite; }
.dots i:nth-child(2), .dots i:nth-child(4) { animation-delay: 0.15s; }
.dots i:nth-child(3), .dots i:nth-child(5), .dots i:nth-child(7) { animation-delay: 0.3s; }
.dots i:nth-child(6), .dots i:nth-child(8) { animation-delay: 0.45s; }
.dots i:nth-child(9) { animation-delay: 0.6s; }
@keyframes dot { 0%, 100% { opacity: 0.15; } 30% { opacity: 1; } }

.reply { position: absolute; inset: auto 24px 22px; display: flex; align-items: center; height: 42px; padding: 0 16px; border: 1px solid var(--app-line); border-radius: 15px; background: rgb(255 255 255 / 0.88); backdrop-filter: blur(12px); font-size: 14px; }
.reply b { width: 1.5px; height: 18px; margin-left: 1px; background: var(--app-text); animation: blink 1.1s steps(2) infinite; }

/* ---- Assistant: a screen tipped back that lies flat as it arrives
   (--tilt runs from 1 to 0), with notes floating in front of it */

.tilt-section { width: var(--page); margin: 0 auto; padding: 110px 0 60px; scroll-margin-top: 20px; }
.head.centred { justify-items: center; text-align: center; }
.head.centred > p { text-wrap: balance; }

.tilt-stage { --tilt: 1; position: relative; margin-top: 56px; padding: 0 clamp(0px, 6vw, 90px) 40px; perspective: 1700px; perspective-origin: 50% 20%; }
.tilt-screen {
  max-width: 920px; margin: 0 auto; padding: 14px 14px 0; border-radius: 26px; background: var(--panel);
  transform-origin: 50% 100%;
  transform: rotateX(calc(var(--tilt) * 24deg)) scale(calc(1 - var(--tilt) * 0.06));
  box-shadow: 0 calc(20px + var(--tilt) * 40px) 90px -30px rgb(20 20 60 / 0.35);
  will-change: transform;
}
.tilt-screen .chat, .tilt-screen .files { height: 440px; }
/* A soft floor for it to stand on. */
.tilt-stage::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 60px; border-radius: 50%; background: radial-gradient(closest-side, rgb(47 59 217 / 0.16), transparent); filter: blur(10px); z-index: -1; }

.tilt-notes { position: absolute; inset: 0; pointer-events: none; transform-style: preserve-3d; }
.tilt-notes li {
  position: absolute; display: flex; align-items: center; gap: 12px; max-width: 290px; padding: 14px 18px 14px 14px;
  border: 1px solid var(--line); border-radius: 20px; background: rgb(255 255 255 / 0.86); backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 24px 50px -18px rgb(20 20 60 / 0.3), 0 2px 6px rgb(20 20 60 / 0.06);
  font-size: 14.5px; line-height: 1.4; color: var(--ink);
  /* Each floats at its own depth and comes forward as the screen settles. */
  transform: translateY(calc(var(--tilt) * 60px)) translateZ(calc(60px + var(--n) * 30px)) rotateY(var(--turn));
  opacity: calc(1 - var(--tilt) * 1.4);
  animation: float 6s ease-in-out infinite alternate; animation-delay: calc(var(--n) * -2s);
}
.tilt-notes li .tile { flex: none; width: 38px; height: 38px; font-size: 18px; }
.tilt-notes li:nth-child(1) { --turn: 10deg; left: 0; top: 16%; }
.tilt-notes li:nth-child(2) { --turn: -10deg; right: 0; top: 22%; }
.tilt-notes li:nth-child(3) { --turn: -6deg; right: 3%; bottom: 30%; }
@keyframes float { to { translate: 0 -8px; } }

/* On the assistant screen the last note sits centred on its lower edge. */
#assistant .tilt-notes li:nth-child(3) { --turn: 0deg; left: 0; right: 0; bottom: 6px; width: max-content; margin-inline: auto; }

/* On the files screen the notes keep clear of the first rows of icons. */
#files .tilt-notes li:nth-child(1) { top: 58%; }
#files .tilt-notes li:nth-child(2) { top: 44%; }
#files .tilt-notes li:nth-child(3) { right: 4%; bottom: 8%; }

/* ---- Picture: printed in front of you */

.print { width: var(--page); margin: 0 auto; padding: 90px 0 40px; scroll-margin-top: 20px; }
.plate { position: relative; margin-top: 40px; border-radius: 30px; background: var(--app); overflow: hidden; aspect-ratio: 21 / 9; box-shadow: 0 30px 80px -24px rgb(20 20 60 / 0.5); }
.plate .picture { height: 100%; }
.swatches { position: absolute; left: 50%; bottom: 22px; display: flex; gap: 4px; padding: 5px; border: 1px solid var(--app-line); border-radius: 999px; background: rgb(255 255 255 / 0.8); backdrop-filter: blur(16px); transform: translateX(-50%); }
.swatches button { height: 34px; padding: 0 15px; border: 0; border-radius: 999px; background: transparent; color: var(--app-soft); font: 500 14px var(--sans); cursor: pointer; white-space: nowrap; transition: background 0.25s, color 0.25s; }
.swatches button:hover { color: var(--app-text); }
.swatches button[aria-pressed="true"] { background: var(--blue); color: #fff; }

/* ---- Three promises */

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: var(--page); margin: 70px auto 0; }
.trio div { display: grid; align-content: start; gap: 12px; padding: 32px; border-radius: 28px; background: var(--panel); transition: opacity 0.8s var(--out), transform 0.9s var(--out), filter 0.8s var(--out), background 0.3s; transition-delay: calc(var(--i, 0) * 110ms), calc(var(--i, 0) * 110ms), calc(var(--i, 0) * 110ms), 0s; }
.trio div:hover { background: var(--blue-soft); }
.trio h3 { margin-top: 6px; font-size: 20px; font-weight: 500; letter-spacing: -0.025em; }
.trio p { color: var(--soft); font-size: 15.5px; }
.tile { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 13px; background: var(--bg); color: var(--blue); font-size: 20px; }

/* ---- Questions */

.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); width: var(--page); margin: 0 auto; padding: 120px 0 100px; scroll-margin-top: 20px; }
.faq h2 { font-size: clamp(30px, 3.8vw, 48px); }
.list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; list-style: none; transition: color 0.2s; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--faint); border-bottom: 1.5px solid var(--faint); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.35s var(--out); }
details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
summary:hover { color: var(--blue); }
details p { max-width: 60ch; padding: 0 0 22px; color: var(--soft); animation: row-in 0.5s var(--out); }
code { padding: 2px 6px; border-radius: 6px; background: var(--panel); font: 400 0.9em var(--mono); }

/* ---- Closing */

.closing { position: relative; display: grid; justify-items: center; gap: 16px; width: var(--page); margin: 0 auto; padding: 330px 20px 90px; border-radius: 36px; background: var(--app); text-align: center; overflow: hidden; }
.closing .picture { position: absolute; inset: 0 0 auto; height: 380px; }
.closing > :not(canvas) { position: relative; }
.closing p { color: var(--soft); font-size: 18px; }
.closing .button { margin-top: 10px; }

footer { display: flex; justify-content: space-between; align-items: center; width: var(--page); margin: 0 auto; padding: 32px 0 44px; font-size: 14px; color: var(--soft); }
footer nav { display: flex; gap: 22px; }
footer a:hover { color: var(--ink); }

/* ---- Narrow screens: no story, the finished desktop */

@media (max-width: 860px) {
  .sw { height: auto; }
  .sw-scene { position: static; height: auto; display: grid; gap: 28px; padding: 116px 0 12px; overflow: visible; }
  .bar { gap: 12px; height: 54px; padding: 0 7px 0 16px; }
  .brand { font-size: 19px; }
  .mark { width: 26px; height: 26px; }
  .get { height: 38px; padding: 0 14px 0 12px; font-size: 14px; }
  .sw-end { position: static; order: -1; padding: 0 20px; color: var(--ink); opacity: 1; transform: none; visibility: visible; }
  .sw-end-title, .sw-end-line { text-shadow: none; }
  .sw-end-line { color: var(--soft); }
  .sw-end .badge { color: var(--ink); border-color: var(--line); background: var(--panel); }
  .sw { height: auto; }
  .sw-items, .sw-mess { display: none; }
  .sw-desk { --frame: 1; --photo: 1; position: relative; left: auto; top: auto; width: calc(100% - 24px); height: auto; border-radius: 14px; padding: 170px 10px 10px; margin: 0 auto; transform: none; }
  .sw-desk > * { font-size: 10.5px; }
  .sw-photo { height: 240px; border-radius: 14px 14px 0 0; }
  .sw-menubar { display: flex; font-size: 10px; }
  .sw-box { position: relative; top: auto; left: auto; width: auto; margin-bottom: 10px; opacity: 1; }
  .sw-cards { position: static; grid-template-columns: repeat(2, 1fr); }
  .sw-cards .w { opacity: 1; }
  .round { height: auto; padding: 80px 0 20px; }
  .pin { position: static; height: auto; display: grid; gap: 28px; padding: 0; }
  .curve { height: auto; perspective: none; font-size: 13px; }
  .wheel { display: flex; gap: 12px; padding: 0 20px 12px; overflow-x: auto; transform: none; scroll-snap-type: x mandatory; }
  .wheel .w { position: static; flex: none; margin: 0; width: 21em; transform: none; opacity: 1; scroll-snap-align: center; box-shadow: none; }
  .about { display: none; }
  .split, .split.flip, .trio, .faq { grid-template-columns: 1fr; }
  .split.flip .words { order: 0; }
  .tilt-stage { --tilt: 0 !important; padding: 0; perspective: none; }
  .tilt-screen { transform: none; }
  .tilt-screen .chat, .tilt-screen .files { height: 400px; }
  .tilt-notes { position: static; display: grid; gap: 10px; margin-top: 16px; }
  .tilt-notes li { position: static; max-width: none; transform: none; opacity: 1; animation: none; }
  #assistant .tilt-notes li:nth-child(3) { width: auto; }
  .plate { aspect-ratio: 4 / 3; }
  .swatches { max-width: calc(100% - 20px); overflow-x: auto; }
  .faq { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sw { height: auto; }
  .sw-scene { position: static; height: auto; display: grid; gap: 32px; padding: 116px 0 24px; overflow: visible; }
  .sw-end { position: static; order: -1; padding: 0 20px; color: var(--ink); opacity: 1; transform: none; visibility: visible; }
  .sw-end-title, .sw-end-line { text-shadow: none; }
  .sw-end-line { color: var(--soft); }
  .sw-end .badge { color: var(--ink); border-color: var(--line); background: var(--panel); }
  .sw { height: auto; }
  .sw-items, .sw-mess { display: none; }
  .sw-desk { --frame: 1; --photo: 1; position: relative; left: auto; top: auto; margin: 0 auto; transform: none; }
  .sw-box, .sw-cards .w { opacity: 1; }
  .sw-item > .icon { transition: none; }
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .ring.charging svg, .reply b, .prompt b, .thread .ask b { animation: none; }
  .ring.charging svg:last-child { opacity: 0; }
  .thread p, .button { transition: none; }
  .tilt-stage { --tilt: 0 !important; }
  .tilt-notes li { animation: none; }
}

/* ---- The privacy page */

.legal-page { background: var(--bg); }
.legal { width: min(720px, 100vw - 40px); margin: 0 auto; padding: 140px 0 60px; font-size: 16.5px; line-height: 1.65; }
.legal h1 { font-size: clamp(40px, 6vw, 60px); letter-spacing: -0.04em; line-height: 1; }
.legal .lead { margin-top: 20px; font-size: 19px; color: var(--ink); }
.legal .updated { margin-top: 10px; font-size: 14px; color: var(--soft); }
.legal h2 { margin-top: 48px; font-size: 24px; letter-spacing: -0.025em; }
.legal p, .legal ul, .legal table { margin-top: 14px; color: var(--soft); }
.legal ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal code { font: 0.9em var(--mono); color: var(--ink); }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th { padding: 10px 12px 10px 0; text-align: left; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.legal td { padding: 12px 12px 12px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
@media (max-width: 640px) { .legal td:first-child { white-space: normal; } .legal table { font-size: 14px; } }

/* Links inside an answer, in the brand blue. */
.faq details a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
