/* Ledge: the product page. The whole page is a Mac screen with a working notch.
   Only ledge/index.html uses this file; the Ledge blog keeps ledge.css. */

:root {
  --cobalt: #2f5bea;
  --cobalt-2: #2248cf;
  --cobalt-lite: #7d9bff;
  --cobalt-soft: #e2e9ff;
  --ink: #0b1020;
  --ink2: #474f68;
  --ink3: #79829a;
  --paper: #f3f6fd;
  --night: #000;
  --glass: rgba(255, 255, 255, .62);
  --glass-hi: rgba(255, 255, 255, .8);
  --lift: 0 1px 2px rgba(11, 16, 32, .06), 0 14px 34px -14px rgba(11, 16, 32, .24);
  --lift-hi: 0 2px 6px rgba(11, 16, 32, .06), 0 30px 70px -24px rgba(11, 16, 32, .36);
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Instrument Serif", "New York", Georgia, serif;
  --bar-h: 38px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.36, .52, 1);
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 20px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; }
.skip:focus { top: 50px; }
.wrap { width: min(1160px, 100% - var(--gutter) * 2); margin-inline: auto; }

/* ============ type ============ */
.eyebrow { font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); }
.h2 { margin-top: 16px; font: 700 clamp(36px, 5.2vw, 70px)/1 var(--sans); letter-spacing: -.05em; text-wrap: balance; }
.h2 em, .h1b em, .final h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: 1.1em; color: var(--cobalt); }
.lede { margin-top: 20px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink2); max-width: 640px; text-wrap: pretty; }
.head--center { text-align: center; }
.head--center .lede { margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .92em; }

/* ============ buttons ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 15px; font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; }
.btn svg { width: 18px; height: 18px; }
.btn--cobalt { background: var(--cobalt); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 14px 30px -12px rgba(47, 91, 234, .8); }
.btn--cobalt:hover { transform: translateY(-2px); background: #3a64f0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 20px 36px -12px rgba(47, 91, 234, .85); }
.btn--glass { background: var(--glass-hi); color: var(--ink); box-shadow: var(--lift); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn--glass:hover { transform: translateY(-2px); background: #fff; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 12px 26px -12px rgba(11, 16, 32, .6); }
.btn--ink:hover { transform: translateY(-2px); background: #1a2136; }

/* ============ the menu bar ============ */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--bar-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 12px 0 16px;
  background: rgba(246, 248, 255, .6); -webkit-backdrop-filter: blur(24px) saturate(1.8); backdrop-filter: blur(24px) saturate(1.8); font-size: 13.5px; }
.bar__l, .bar__r { display: flex; align-items: center; gap: 18px; min-width: 0; }
.bar__brand { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: -.01em; }
.bar__brand img { border-radius: 5px; }
.bar__nav { display: flex; gap: 16px; }
.bar__nav a, .bar__more { font-weight: 500; color: var(--ink); opacity: .86; transition: opacity .15s; white-space: nowrap; }
.bar__nav a:hover, .bar__more:hover { opacity: 1; }
.bar__clock { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar__dl { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 8px; background: var(--cobalt); color: #fff; font-weight: 600; font-size: 13px; }

/* ============ the notch: a working shelf ============ */
.notch { position: fixed; top: 0; left: 50%; z-index: 60; translate: -50% 0; width: 204px; height: var(--bar-h); border-radius: 0 0 14px 14px; background: var(--night); overflow: hidden;
  transition: width .55s var(--spring), height .55s var(--spring), border-radius .55s var(--spring), box-shadow .4s; }
.notch[data-mode="reach"] { transition-duration: .16s; transition-timing-function: ease-out; }
.notch[data-mode="open"], .notch[data-mode="over"], .notch[data-mode="reach"] { box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .6); }
.notch[data-mode="over"]::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 50% 110%, rgba(47, 91, 234, .5), transparent 70%); }
.notch::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 34%; height: 3px; margin-left: -17%; border-radius: 3px; background: rgba(226, 233, 255, .7); opacity: 0; transition: opacity .3s .2s; }
.notch.has-items[data-mode="closed"]::after { opacity: 1; }
.notch__hit { position: absolute; inset: 0; z-index: 1; border: 0; background: none; cursor: pointer; padding: 0; }
.notch__hit:focus-visible { outline-offset: -4px; border-radius: 0 0 14px 14px; }
.notch__say { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; text-align: center; color: rgba(255, 255, 255, .86); font-size: 13.5px; font-weight: 500; opacity: 0; transition: opacity .2s; pointer-events: none; white-space: nowrap; }
.notch[data-mode="reach"] .notch__say, .notch[data-mode="over"] .notch__say, .notch.is-empty[data-mode="open"] .notch__say { opacity: 1; }
.notch__shelf { position: absolute; left: 50%; top: calc(var(--bar-h) + 8px); z-index: 2; translate: -50% 0; display: flex; gap: 10px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.notch[data-mode="open"] .notch__shelf { opacity: 1; transition: opacity .3s .12s; pointer-events: auto; }

.tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 66px; touch-action: none; cursor: grab; }
.tile__card { position: relative; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 15px; background: rgba(255, 255, 255, .08); transition: background .2s, transform .25s var(--spring); }
.tile:hover .tile__card { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.tile .fi { --s: 48px; }
.tile__badge { position: absolute; left: 5px; top: 5px; padding: 2px 5px; border-radius: 5px; background: rgba(0, 0, 0, .72); color: #fff; font: 600 8.5px/1.1 var(--mono); letter-spacing: .02em; }
.tile__name { max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255, 255, 255, .88); font-size: 11.5px; font-weight: 500; }
.tile.is-landing { visibility: hidden; }
.tile.is-landed .tile__card { animation: land .5s var(--spring); }
.tile.is-bump .tile__card { animation: bump .45s var(--spring); }
.tile.is-dragging { opacity: .35; }
@keyframes land { from { transform: scale(.7); } to { transform: none; } }
@keyframes bump { 40% { transform: scale(1.12); } }

/* ============ file icons (one set, any size) ============ */
.fi { --s: 64px; position: relative; display: block; width: var(--s); height: var(--s); flex: none; }
.fi__art { position: absolute; }
.fi--png .fi__art, .fi--jpg .fi__art { inset: 14% 3%; border-radius: calc(var(--s) * .07); overflow: hidden; box-shadow: 0 2px 6px rgba(11, 16, 32, .22);
  background: linear-gradient(155deg, #5d7df5, #8fa6ff 55%, #c7d3ff); }
.fi--png .fi__art::before, .fi--jpg .fi__art::before { content: ""; position: absolute; left: 14%; top: 18%; width: 62%; height: 58%; border-radius: calc(var(--s) * .04); background: #fff; box-shadow: 0 1px 3px rgba(11, 16, 32, .2); }
.fi--png .fi__art::after, .fi--jpg .fi__art::after { content: ""; position: absolute; left: 20%; top: 30%; width: 34%; height: 8%; border-radius: 4px; background: #c9d4f7; box-shadow: 0 calc(var(--s) * .09) 0 #dfe6fa, 0 calc(var(--s) * .18) 0 #dfe6fa; }
.fi--pdf .fi__art, .fi--xlsx .fi__art, .fi--rtf .fi__art { inset: 4% 15%; border-radius: calc(var(--s) * .05); background: #fff; box-shadow: 0 2px 6px rgba(11, 16, 32, .22);
  clip-path: polygon(0 0, 72% 0, 100% 20%, 100% 100%, 0 100%); }
.fi--pdf .fi__art::before, .fi--rtf .fi__art::before { content: ""; position: absolute; left: 16%; right: 16%; top: 20%; height: 42%; background: repeating-linear-gradient(#dfe3ec 0 calc(var(--s) * .035), transparent 0 calc(var(--s) * .08)); }
.fi--pdf .fi__art::after, .fi--xlsx .fi__art::after, .fi--rtf .fi__art::after { position: absolute; left: 50%; bottom: 10%; translate: -50% 0; padding: calc(var(--s) * .02) calc(var(--s) * .06); border-radius: calc(var(--s) * .04);
  color: #fff; font: 700 calc(var(--s) * .13)/1 var(--sans); letter-spacing: .02em; }
.fi--pdf .fi__art::after { content: "PDF"; background: #d23c34; }
.fi--rtf .fi__art::after { content: "RTF"; background: #5a6275; }
.fi--rtf .fi__art::before { background: repeating-linear-gradient(#c9ceda 0 calc(var(--s) * .03), transparent 0 calc(var(--s) * .075)); }
.fi--xlsx .fi__art::before { content: ""; position: absolute; left: 14%; right: 14%; top: 16%; height: 48%;
  background: linear-gradient(#1f8a55 0 22%, transparent 0), repeating-linear-gradient(90deg, #cfe9da 0 1.5px, transparent 0 33%), repeating-linear-gradient(#cfe9da 0 1.5px, transparent 0 20%); }
.fi--xlsx .fi__art::after { content: "XLSX"; background: #1f8a55; }
.fi--mov .fi__art { inset: 18% 3%; border-radius: calc(var(--s) * .07); overflow: hidden; background: linear-gradient(150deg, #19224a, #2f5bea 70%, #6a8cff); box-shadow: 0 2px 6px rgba(11, 16, 32, .25); }
.fi--mov .fi__art::before { content: ""; position: absolute; left: 50%; top: 50%; width: 26%; height: 36%; translate: -38% -50%; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.fi--mov .fi__art::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12%; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 6%, transparent 0 12%); opacity: .5; }
.fi--folder .fi__art { inset: 16% 4% 12%; border-radius: calc(var(--s) * .06); background: linear-gradient(#8cc6ff, #4f9cf2); box-shadow: 0 2px 6px rgba(11, 16, 32, .2); }
.fi--folder .fi__art::before { content: ""; position: absolute; left: 0; top: -10%; width: 42%; height: 22%; border-radius: calc(var(--s) * .05) calc(var(--s) * .05) 0 0; background: #6fb1fa; }
.fi--folder .fi__art::after { content: ""; position: absolute; left: 0; right: 0; top: 16%; bottom: 0; border-radius: calc(var(--s) * .06); background: linear-gradient(#a3d2ff, #5aa5f5); }

/* ============ hero: the desktop ============ */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--bar-h) + 104px) var(--gutter) 120px; text-align: center; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #eef3ff, #dbe5ff); }
.hero::before { content: ""; position: absolute; inset: -30%; z-index: -1;
  background: conic-gradient(from 210deg at 55% 45%, #c9d7ff, #ece8ff, #bcd9ff, #d7e1ff, #c3cfff, #c9d7ff); filter: blur(60px); opacity: .9; animation: swirl 48s linear infinite; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(255, 255, 255, .75), transparent 70%), radial-gradient(40% 40% at 12% 90%, rgba(47, 91, 234, .16), transparent 70%), radial-gradient(40% 40% at 90% 80%, rgba(122, 92, 240, .14), transparent 70%); }
@keyframes swirl { to { transform: rotate(360deg); } }
.hero__copy { position: relative; z-index: 2; max-width: 1000px; }
.kicker { display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px; font-size: 13.5px; color: var(--ink2);
  background: var(--glass); box-shadow: var(--lift); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.kicker__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 4px rgba(47, 91, 234, .16); }
.hero h1 { margin-top: 28px; }
.h1a { display: block; font: 700 clamp(50px, 7.4vw, 108px)/.94 var(--sans); letter-spacing: -.058em; text-wrap: balance; }
.h1b { display: block; margin-top: .42em; font: 500 clamp(24px, 3vw, 42px)/1.1 var(--sans); letter-spacing: -.035em; color: var(--ink2); }
.hero__sub { max-width: 600px; margin: 26px auto 0; font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.6; color: var(--ink2); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.fine { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-top: 22px; font-size: 13px; color: var(--ink3); }
.fine span { display: inline-flex; align-items: center; gap: 7px; }
.fine span + span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; margin-right: 13px; }
.js .hero__copy > * { opacity: 0; animation: rise 1s var(--ease) forwards; }
.js .hero__copy > :nth-child(2) { animation-delay: .08s; }
.js .hero__copy > :nth-child(3) { animation-delay: .18s; }
.js .hero__copy > :nth-child(4) { animation-delay: .26s; }
.js .hero__copy > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

.desk { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.file { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 104px; pointer-events: auto; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.file .fi { --s: 70px; filter: drop-shadow(0 10px 14px rgba(20, 30, 70, .18)); transition: transform .3s var(--spring), opacity .3s; }
.file:hover .fi { transform: translateY(-3px) rotate(-2deg); }
.file__name { max-width: 104px; padding: 2px 6px; border-radius: 5px; font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--ink); text-shadow: 0 1px 0 rgba(255, 255, 255, .6); }
.file.is-dragging .fi { opacity: .35; }
.file.is-dragging .file__name, .file.is-grabbed .file__name { background: var(--cobalt); color: #fff; text-shadow: none; }
.file.is-shelved .fi { opacity: .42; }
.file.is-shelved .file__name::after { content: " \00B7  on the shelf"; color: var(--cobalt-2); font-weight: 600; }
.js .file { opacity: 0; animation: file-in .8s var(--spring) forwards; animation-delay: calc(.5s + var(--i) * 70ms); }
@keyframes file-in { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }

.hint { position: absolute; left: 50%; top: calc(var(--bar-h) + 22px); z-index: 4; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink2); background: var(--glass-hi); box-shadow: var(--lift); white-space: nowrap; transition: opacity .4s, translate .4s; }
.hint svg { color: var(--cobalt); animation: nudge 1.6s ease-in-out infinite; }
.hint.is-done { opacity: 0; translate: -50% -8px; }
@keyframes nudge { 50% { transform: translateY(-3px); } }

/* dragging and demos */
.ghost { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; transform-origin: 0 0; filter: drop-shadow(0 22px 26px rgba(11, 16, 32, .34)); }
.ghost .fi { --s: 100%; width: 100%; height: 100%; }
.ghost--abs { position: absolute; z-index: 20; }
.ghost__badge { position: absolute; right: -14px; top: -12px; padding: 4px 9px; border-radius: 999px; background: var(--cobalt); color: #fff; font: 600 11.5px/1.1 var(--mono); white-space: nowrap;
  opacity: 0; scale: .7; transition: opacity .15s, scale .25s var(--spring); box-shadow: 0 8px 18px -8px rgba(47, 91, 234, .9); }
.ghost.has-badge .ghost__badge { opacity: 1; scale: 1; }
.fcursor { position: absolute; left: 0; top: 0; z-index: 95; width: 22px; height: 30px; pointer-events: none; opacity: 0; transition: opacity .25s; }
.fcursor.is-on { opacity: 1; }
.fcursor svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); transition: transform .15s; }
.fcursor.is-down svg { transform: scale(.88); }
body.is-dragging, body.is-dragging * { cursor: grabbing !important; user-select: none; -webkit-user-select: none; }

/* ============ reveal ============ */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .9s var(--ease), translate .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* ============ the gesture ============ */
.catch { padding: clamp(96px, 12vw, 150px) 0 40px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.card { border-radius: 26px; background: #fff; box-shadow: var(--lift); padding: 14px 14px 26px; }
.card h3 { margin: 22px 12px 0; font: 600 21px/1.2 var(--sans); letter-spacing: -.025em; }
.card p { margin: 8px 12px 0; font-size: 15.5px; line-height: 1.6; color: var(--ink2); }
.mini { position: relative; height: 200px; border-radius: 16px; overflow: hidden; background: linear-gradient(170deg, #e9efff, #cbd9ff); }
.mini::before { content: ""; position: absolute; inset: 0 0 auto; height: 20px; background: rgba(255, 255, 255, .55); }
.mini__notch { position: absolute; left: 50%; top: 0; translate: -50% 0; z-index: 2; width: 84px; height: 20px; border-radius: 0 0 9px 9px; background: #000; overflow: hidden; }
.mini__row { position: absolute; left: 50%; top: 28px; z-index: 3; translate: -50% 0; display: flex; gap: 7px; }
.mini__row .fi { --s: 30px; }
.mini__tile { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .1); }

.mini--aim .mini__notch { animation: aim-notch 4.6s var(--ease) infinite; }
.mini--aim .mini__row { opacity: 0; animation: aim-row 4.6s ease infinite; }
.mini--aim .mini__throw { position: absolute; left: 22%; top: 136px; z-index: 3; animation: aim-x 4.6s cubic-bezier(.5, 0, .75, 1) infinite; }
.mini--aim .mini__throw .fi { --s: 40px; animation: aim-y 4.6s cubic-bezier(.15, .6, .35, 1) infinite; filter: drop-shadow(0 8px 10px rgba(11, 16, 32, .25)); }
@keyframes aim-x { 0%, 12% { left: 22%; } 44%, 100% { left: calc(50% - 20px); } }
@keyframes aim-y { 0%, 12% { transform: none; opacity: 1; } 44% { transform: translateY(-122px) scale(.55); opacity: 1; } 48%, 100% { transform: translateY(-122px) scale(.4); opacity: 0; } }
@keyframes aim-notch { 0%, 26% { width: 84px; height: 20px; border-radius: 0 0 9px 9px; } 36%, 80% { width: 170px; height: 76px; border-radius: 0 0 20px 20px; } 92%, 100% { width: 84px; height: 20px; border-radius: 0 0 9px 9px; } }
@keyframes aim-row { 0%, 46% { opacity: 0; } 52%, 78% { opacity: 1; } 84%, 100% { opacity: 0; } }
.mini--hold .mini__notch { width: 250px; height: 92px; border-radius: 0 0 22px 22px; }
.mini--hold .mini__row { top: 30px; }
.mini--read { display: grid; place-items: center; background: linear-gradient(170deg, #1b2240, #080b16); }
.mini--read::before { display: none; }
.readtile { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.readtile .tile__card { width: 108px; height: 108px; border-radius: 24px; }
.readtile .fi { --s: 76px; }
.readtile .tile__badge { font-size: 11px; left: 9px; top: 9px; padding: 3px 7px; border-radius: 7px; }
.readtile .tile__name { font-size: 14px; max-width: none; }
.readtile .tile__card { animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translateY(-4px); background: rgba(255, 255, 255, .13); } }

/* ============ routing ============ */
.route { padding: clamp(80px, 10vw, 130px) 0 40px; }
.rstage { position: relative; height: 640px; margin-top: 56px; border-radius: 30px; overflow: hidden; isolation: isolate; box-shadow: var(--lift-hi);
  background: radial-gradient(60% 70% at 15% 100%, #b8caff, transparent 70%), radial-gradient(50% 60% at 90% 90%, #d2c8ff, transparent 70%), linear-gradient(175deg, #edf2ff, #d4e0ff); }
.rstage__bar { position: absolute; inset: 0 0 auto; height: 32px; display: flex; align-items: center; gap: 16px; padding: 0 18px; background: rgba(255, 255, 255, .5); font-size: 12.5px; font-weight: 500; }
.rstage__bar b { font-weight: 700; }
.rstage__bar span:last-child { margin-left: auto; }
.rnotch { position: absolute; left: 50%; top: 0; z-index: 5; translate: -50% 0; display: flex; align-items: flex-end; justify-content: center; width: 260px; height: 132px; padding-bottom: 14px; border-radius: 0 0 28px 28px; background: #000;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .55); }
.rnotch__label { position: absolute; left: 0; right: 0; top: 9px; text-align: center; color: rgba(255, 255, 255, .45); font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.rwin { position: absolute; top: 200px; width: 31%; height: 340px; border-radius: 16px; overflow: hidden; background: #fff; z-index: 2;
  box-shadow: 0 1px 3px rgba(11, 16, 32, .1), 0 28px 60px -24px rgba(11, 16, 32, .4); transition: transform .3s var(--spring), box-shadow .3s; }
.rwin--term { left: 2.5%; background: #0d1220; }
.rwin--slack { left: 34.5%; }
.rwin--folder { left: 66.5%; }
.rwin.is-over { transform: translateY(-8px) scale(1.02); box-shadow: 0 0 44px rgba(47, 91, 234, .45), 0 36px 70px -24px rgba(47, 91, 234, .55); }
.rwin.is-got { animation: got .5s var(--spring); }
@keyframes got { 40% { transform: scale(1.025); } }
.rwin__bar { position: relative; display: flex; align-items: center; height: 38px; padding: 0 14px; background: #f3f5fa; font-size: 12.5px; font-weight: 600; color: var(--ink2); }
.rwin--term .rwin__bar { background: #171d2e; color: rgba(214, 222, 255, .7); }
.lights { display: flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #d6d9e1; }
.rwin--term .lights i { background: #394059; }
.rwin__title { position: absolute; left: 50%; translate: -50% 0; white-space: nowrap; }
.term { padding: 16px 16px; font: 500 13px/1.7 var(--mono); color: #d6deff; }
.term p { word-break: break-all; }
.term__p { color: var(--cobalt-lite); }
.term__in { color: #9fe3c4; }
.term__caret { display: inline-block; width: 7px; height: 15px; margin-left: 2px; vertical-align: -2px; background: #d6deff; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.term__old { opacity: .55; }
.slack { display: flex; flex-direction: column; height: calc(100% - 38px); }
.slack__head { padding: 12px 16px 10px; font-weight: 700; font-size: 14.5px; }
.slack__msgs { flex: 1; padding: 4px 16px; display: grid; gap: 12px; align-content: start; }
.msg { display: grid; grid-template-columns: 32px 1fr; gap: 10px; font-size: 13.5px; line-height: 1.45; }
.msg b { font-size: 13.5px; }
.msg p { color: var(--ink2); }
.av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: #fff; font-size: 12px; font-weight: 700; background: linear-gradient(135deg, #7a5cf0, #2f5bea); }
.av--2 { background: linear-gradient(135deg, #1f9d8a, #2f7fea); }
.composer { margin: 10px 12px 12px; padding: 10px 12px; border-radius: 12px; background: #f1f4fa; }
.composer__atts { display: flex; flex-wrap: wrap; gap: 8px; }
.composer__atts:not(:empty) { margin-bottom: 8px; }
.composer__ph { font-size: 13px; color: var(--ink3); }
.att { display: flex; align-items: center; gap: 8px; max-width: 100%; padding: 6px 10px 6px 6px; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px -3px rgba(11, 16, 32, .25); animation: pop .45s var(--spring); }
.att .fi { --s: 30px; }
.att b { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.att small { font-size: 11px; color: var(--ink3); }
@keyframes pop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.finder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; padding: 18px 12px; }
.ficon { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 11.5px; font-weight: 500; line-height: 1.3; }
.ficon .fi { --s: 48px; }
.ficon span { max-width: 92px; word-break: break-word; }
.ficon.is-new { animation: pop .5s var(--spring); }
.ficon.is-new span { background: var(--cobalt); color: #fff; padding: 1px 5px; border-radius: 4px; }
.rulechip { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: var(--cobalt-soft); color: var(--cobalt-2); font-size: 12px; font-weight: 600; }
.rulechip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rlegend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; padding: 0 2.5%; }
.rlegend div { font-size: 15px; color: var(--ink2); }
.rlegend b { display: block; color: var(--ink); font-weight: 600; font-size: 16px; }
.rhint { margin-top: 22px; text-align: center; font-size: 14px; color: var(--ink3); }

/* ============ the real thing ============ */
.real { padding: clamp(80px, 10vw, 130px) 0 20px; }
.real__shot { position: relative; margin-top: 48px; border-radius: 26px; overflow: hidden; box-shadow: var(--lift-hi); }
.real__shot img { width: 100%; height: auto; aspect-ratio: 3.6 / 1; object-fit: cover; object-position: center top; }
.real__shot figcaption { position: absolute; right: 16px; bottom: 14px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--ink2); background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ============ destinations ============ */
.dests { padding: clamp(80px, 10vw, 130px) 0 20px; }
.dests__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.ticks { display: grid; gap: 16px; margin-top: 30px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 16px; line-height: 1.6; color: var(--ink2); }
.ticks b { color: var(--ink); font-weight: 600; }
.tick { display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--cobalt-soft); color: var(--cobalt-2); }
.settings { border-radius: 22px; background: rgba(255, 255, 255, .86); box-shadow: var(--lift-hi); padding: 20px; }
.settings__head { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 14px; }
.settings__head span:first-child { font: 600 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); }
.settings__add { padding: 6px 12px; border-radius: 8px; background: #fff; box-shadow: 0 1px 3px rgba(11, 16, 32, .16); font-size: 13px; font-weight: 600; }
.settings__list { border-radius: 14px; background: #f3f5fa; padding: 6px; }
.srow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: none; text-align: left; cursor: pointer; transition: background .15s; }
.srow:hover { background: rgba(11, 16, 32, .04); }
.srow img { width: 30px; height: 30px; }
.srow span { flex: 1; font-size: 15px; font-weight: 500; }
.sw { position: relative; flex: none; width: 40px; height: 24px; border-radius: 12px; background: #d9dde6; transition: background .25s; }
.sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(11, 16, 32, .3); transition: transform .3s var(--spring); }
.srow[aria-pressed="true"] .sw { background: var(--cobalt); }
.srow[aria-pressed="true"] .sw::after { transform: translateX(16px); }
.settings__note { margin: 14px 6px 2px; font-size: 13px; color: var(--ink3); }

/* ============ fast to reach ============ */
.reach { padding: clamp(80px, 10vw, 130px) 0 20px; }
.reach .trio { margin-top: 48px; }
.keys { display: flex; gap: 10px; }
.kc { display: grid; place-items: center; min-width: 64px; height: 64px; padding: 0 16px; border-radius: 14px; font: 500 22px/1 var(--sans); color: var(--ink);
  background: linear-gradient(#fff, #eef1f7); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 3px 0 #c9cfdc, 0 10px 18px -8px rgba(11, 16, 32, .35); transition: transform .1s, box-shadow .1s; }
.kc--wide { min-width: 170px; font-size: 16px; font-weight: 600; }
.keys.is-pressed .kc { transform: translateY(3px); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 0 0 #c9cfdc, 0 4px 8px -4px rgba(11, 16, 32, .35); background: linear-gradient(#f2f5ff, #e2e9ff); }
.mini--keys { display: grid; place-items: center; }
.mini--click .mini__notch { animation: click-notch 4.4s var(--ease) infinite; }
.mini--click .mini__row { opacity: 0; animation: aim-row 4.4s ease infinite; }
.mini__ptr { position: absolute; left: 72%; top: 150px; z-index: 3; width: 16px; height: 22px; animation: click-ptr 4.4s var(--ease) infinite; }
@keyframes click-ptr { 0%, 10% { left: 72%; top: 150px; transform: none; } 34% { left: calc(50% - 4px); top: 6px; transform: none; } 38% { left: calc(50% - 4px); top: 6px; transform: scale(.82); } 42%, 78% { left: calc(50% - 4px); top: 6px; transform: none; } 100% { left: 72%; top: 150px; } }
@keyframes click-notch { 0%, 38% { width: 84px; height: 20px; border-radius: 0 0 9px 9px; } 46%, 80% { width: 170px; height: 76px; border-radius: 0 0 20px 20px; } 92%, 100% { width: 84px; height: 20px; border-radius: 0 0 9px 9px; } }
.mini--settle .mini__notch { animation: settle 5s var(--ease) infinite; }
.mini--settle .mini__notch::after { content: ""; position: absolute; left: 33%; right: 33%; bottom: 3px; height: 2.5px; border-radius: 2px; background: rgba(226, 233, 255, .75); opacity: 0; animation: hairline 5s ease infinite; }
.mini--settle .mini__row { animation: settle-row 5s ease infinite; }
@keyframes settle { 0%, 40% { width: 170px; height: 76px; border-radius: 0 0 20px 20px; } 55%, 100% { width: 84px; height: 20px; border-radius: 0 0 9px 9px; } }
@keyframes settle-row { 0%, 36% { opacity: 1; } 44%, 100% { opacity: 0; } }
@keyframes hairline { 0%, 56% { opacity: 0; } 64%, 96% { opacity: 1; } 100% { opacity: 0; } }

/* ============ house rules ============ */
.rules { padding: clamp(90px, 11vw, 140px) 0 0; }
.rules__panel { position: relative; margin: 0 clamp(8px, 1.6vw, 20px); padding: clamp(80px, 10vw, 130px) 0; border-radius: clamp(28px, 3vw, 44px); overflow: hidden; isolation: isolate; color: #e7ebf7;
  background: radial-gradient(70% 60% at 50% -10%, rgba(47, 91, 234, .55), transparent 70%), radial-gradient(50% 50% at 100% 100%, rgba(122, 92, 240, .25), transparent 70%), #04060d; }
.rules__notch { position: absolute; left: 50%; top: 0; translate: -50% 0; width: 220px; height: 40px; border-radius: 0 0 18px 18px; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 20px 50px -10px rgba(47, 91, 234, .5); }
.rules .eyebrow { color: var(--cobalt-lite); }
.rules .h2 em { color: var(--cobalt-lite); }
.rules .lede { color: rgba(231, 235, 247, .68); }
.rules__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.rule { padding: 30px 28px; border-radius: 24px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.rule__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(145deg, #4b73ff, #2f5bea 60%, #5f47e0); color: #fff; box-shadow: 0 12px 24px -10px rgba(47, 91, 234, .9); }
.rule h3 { margin-top: 22px; font: 600 22px/1.2 var(--sans); letter-spacing: -.02em; color: #fff; }
.rule p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: rgba(231, 235, 247, .66); }

/* ============ pricing ============ */
.price { padding: clamp(96px, 12vw, 150px) 0 20px; }
.pcard { position: relative; max-width: 540px; margin: 48px auto 0; padding: 70px clamp(24px, 5vw, 48px) 40px; border-radius: 32px; text-align: center; background: rgba(255, 255, 255, .88); box-shadow: var(--lift-hi), 0 80px 120px -60px rgba(47, 91, 234, .45); }
.pcard__notch { position: absolute; left: 50%; top: 0; translate: -50% 0; display: grid; place-items: center; width: 150px; height: 34px; border-radius: 0 0 16px 16px; background: #000; }
.pcard__notch img { width: 20px; height: 20px; border-radius: 5px; }
.pcard__amt { font: 700 104px/1 var(--sans); letter-spacing: -.06em; }
.pcard__amt sup { font-size: .38em; vertical-align: .95em; margin-right: 4px; letter-spacing: 0; }
.pcard__note { margin-top: 8px; font-size: 15px; color: var(--ink3); }
.pcard ul { display: grid; gap: 12px; margin: 30px auto 32px; max-width: 340px; text-align: left; }
.pcard li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: center; font-size: 15.5px; color: var(--ink2); }
.pcard .btn { width: 100%; }
.pcard .btn + .btn { margin-top: 10px; }
.pcard__fine { margin-top: 16px; font-size: 13.5px; color: var(--ink3); }

/* ============ questions ============ */
.faq { padding: clamp(96px, 12vw, 150px) 0 20px; }
.faq__list { display: grid; gap: 10px; max-width: 820px; margin: 48px auto 0; }
.qa { border-radius: 20px; background: rgba(255, 255, 255, .72); box-shadow: 0 1px 2px rgba(11, 16, 32, .05); transition: background .25s, box-shadow .25s; interpolate-size: allow-keywords; }
.qa[open] { background: #fff; box-shadow: var(--lift); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; cursor: pointer; list-style: none; font: 600 18px/1.3 var(--sans); letter-spacing: -.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(11, 16, 32, .06); transition: rotate .35s var(--ease), background .25s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); }
.qa summary i::after { rotate: 90deg; }
.qa[open] summary i { rotate: 45deg; background: var(--cobalt); }
.qa[open] summary i::before, .qa[open] summary i::after { background: #fff; }
.qa::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
.qa p { padding: 0 24px 24px; font-size: 16px; line-height: 1.65; color: var(--ink2); max-width: 66ch; }

/* ============ the last word ============ */
.final { position: relative; margin-top: clamp(96px, 12vw, 150px); padding: 0 var(--gutter) 120px; text-align: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 80% at 50% 0%, #cfdcff, transparent 70%), linear-gradient(180deg, #e3eaff, var(--paper)); }
.final__bar { height: 34px; margin: 0 calc(var(--gutter) * -1); background: rgba(255, 255, 255, .5); }
.final__island { display: flex; justify-content: center; gap: 10px; width: fit-content; min-width: 260px; max-width: 100%; margin: 0 auto; padding: 48px 20px 18px; border-radius: 0 0 32px 32px; background: #000;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); margin-top: -34px; }
.final h2 { margin-top: 72px; font: 700 clamp(44px, 6.4vw, 92px)/.95 var(--sans); letter-spacing: -.055em; }
.final__lede { margin-top: 18px; font-size: 19px; color: var(--ink2); }
.final .hero__cta { margin-top: 30px; }

.foot { padding: 34px 0 44px; font-size: 14px; color: var(--ink3); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot a:hover { color: var(--ink); }

/* ============ smaller screens ============ */
@media (max-width: 1180px) {
  .bar__nav a:nth-child(4), .bar__more { display: none; }
}
@media (max-width: 1100px) {
  .desk { position: relative; inset: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 4px; margin-top: 46px; pointer-events: auto; }
  .file { position: relative; left: auto; top: auto; translate: none; width: 96px; }
  .hero { display: block; }
  .hero__copy { margin: 0 auto; }
}
@media (max-width: 960px) {
  .bar__nav { display: none; }
  .trio, .rules__list { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .dests__grid { grid-template-columns: 1fr; }
  .rstage { height: auto; padding: 150px 16px 20px; display: grid; gap: 16px; }
  .rwin { position: relative; top: auto; left: auto !important; width: 100%; height: 280px; }
  .rlegend { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  :root { --bar-h: 34px; }
  .bar__clock { display: none; }
  .bar__brand b { display: none; }
  .hero { padding-top: calc(var(--bar-h) + 92px); }
  .hint { font-size: 12px; }
  .file { width: 88px; }
  .file .fi { --s: 56px; }
  .file__name { font-size: 11.5px; }
  .file.is-shelved .file__name::after { content: ""; }
  .h1b { font-size: 23px; }
  .real__shot img { aspect-ratio: 2 / 1; }
  .kc { min-width: 52px; height: 52px; } .kc--wide { min-width: 120px; }
  .pcard__amt { font-size: 84px; }
  .final__island .tile:nth-child(n+4) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before, .readtile .tile__card, .hint svg, .term__caret { animation: none; }
  .mini * , .mini *::after { animation: none !important; }
  .mini--aim .mini__row, .mini--click .mini__row { opacity: 1; }
  .mini--aim .mini__notch, .mini--click .mini__notch { width: 170px; height: 76px; border-radius: 0 0 20px 20px; }
  .mini--aim .mini__throw { display: none; }
  .mini__ptr { display: none; }
  .js .hero__copy > *, .js .file { animation: none; opacity: 1; }
  .js .reveal { transition: none; opacity: 1; translate: 0 0; }
  .notch { transition-duration: .01s !important; }
}
