/* Sheaf site. Dark, calm, Apple-like. */
:root {
  --bg: #000; --bg-raised: #0b0b0d;
  --ink: #f5f5f7; --ink-2: #a1a1a6; --ink-3: #6e6e73; --ink-inv: #1d1d1f;
  --link: #2997ff; --accent: #0a84ff;
  --hair: #ffffff1f; --hair-soft: #ffffff12;
  --gutter: 1.5rem; --wide: 77.5rem; --content: 60rem;
  --section-y: clamp(2.5rem, 5vw, 4.5rem);
  --t-display: clamp(3rem, 8.5vw, 5.5rem);
  --t-h2: clamp(2.5rem, 4.72vw, 4.25rem);
  --t-lead: clamp(1.125rem, 2.2vw, 1.5rem);
  --t-body: 1.0625rem; --t-small: .9375rem; --t-cap: .8125rem;
  --track: -.012em;
  --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-morph: cubic-bezier(.22, 1, .36, 1);
  --ease-sheet: cubic-bezier(.32, .72, 0, 1);
  --dur-fast: .25s; --dur: .5s;
  --dissolve: #000 0%, #000000f0 15%, #000000c7 30%, #00000094 45%, #00000059 60%, #00000029 75%, #00000008 90%, #0000 100%;
  --dissolve-held: #000 0%, #000 16%, #000000f0 28%, #000000c7 41%, #00000094 53%, #00000059 66%, #00000029 79%, #0000 100%;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -.01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Header: transparent at the top, a glass pill once you scroll */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; justify-content: center; padding-top: 1.5rem; pointer-events: none; }
.pill { --glass: 0; pointer-events: auto; position: relative; isolation: isolate; display: flex; align-items: center; gap: 96px; padding: 12px; border-radius: 9999px; max-width: calc(100vw - 2 * var(--gutter)); will-change: transform; }
.pill::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: var(--glass); pointer-events: none; background: linear-gradient(#ffffff47 0%, #ffffff14 38%, #ffffff08 68%, #ffffff1f 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.pill::after { content: ""; position: absolute; inset: 1px; border-radius: inherit; opacity: var(--glass); pointer-events: none; background: linear-gradient(#ffffff13 0%, #ffffff05 26%, #fff0 52%); }
.pill > * { position: relative; z-index: 1; }
.logo { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.logo img { width: 2rem; height: 2rem; border-radius: 7px; filter: drop-shadow(0 6px 10px #00000047); transition: transform .3s; }
.logo:hover img { transform: scale(1.05); }
.logo span { font-size: 1.125rem; font-weight: 600; letter-spacing: -.018em; transition: color .15s; }
.logo:hover span { color: var(--ink-2); }
.links { display: flex; gap: 2.5rem; }
.links a { font-size: 17px; font-weight: 500; letter-spacing: -.022em; color: var(--ink-2); transition: color .15s; white-space: nowrap; }
.links a:hover { color: var(--ink); }
@media (max-width: 720px) { .links { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap; letter-spacing: -.01em; font-weight: 500; border-radius: 9999px; transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out); will-change: transform; }
.btn:active { transform: scale(.97); }
.btn.solid { background: #fff; color: var(--ink-inv); }
.btn.solid:hover { background: #e8e8ed; }
.btn.sm { padding: .4375rem .9375rem; font-size: .875rem; }
.btn.lg { padding: .9375rem 1.75rem; font-size: 1.0625rem; }
.btn.store { width: 14rem; height: 3.25rem; padding: 0; border-radius: .875rem; background: #f5f5f7; }
.btn.store:hover { background: #fff; }
.glyph { width: 1.0625em; height: 1.0625em; fill: currentColor; flex-shrink: 0; }
.btn.sm .glyph { width: 1em; height: 1em; }
.more { display: inline-flex; align-items: center; gap: .25rem; color: var(--link); font-size: 1.0625rem; padding-block: .5625rem; margin-block: -.5625rem; transition: opacity var(--dur-fast); }
.more svg { width: 1em; height: 1em; margin-top: .1em; transition: transform var(--dur-fast) var(--ease-out); }
.more:hover { opacity: .8; } .more:hover svg { transform: translateX(2px); }

/* Headline reveal: each word rises out of its line */
.line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.w { display: inline-block; will-change: transform; transform: translateY(115%); }
[data-play=on] .w { transform: none; transition: transform .82s var(--ease-morph) var(--d, 0s); }
.rise { opacity: 0; transform: translateY(12px); }
[data-play=on] .rise, [data-play=on].rise { opacity: 1; transform: none; transition: opacity .6s linear var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s); }

.display { font-size: var(--t-display); line-height: 1.03; letter-spacing: var(--track); font-weight: 600; }
.h2 { font-size: var(--t-h2); line-height: 1.05; letter-spacing: var(--track); font-weight: 600; text-wrap: balance; }
.lead { font-size: var(--t-lead); line-height: 1.4; letter-spacing: -.012em; color: var(--ink-2); text-wrap: pretty; margin-top: 1.125rem; }
.head { max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); padding-inline: var(--gutter); text-align: center; }
.meta { font-size: var(--t-cap); color: var(--ink-3); margin-top: 1.75rem; }
.fade { position: absolute; pointer-events: none; z-index: 3; background: var(--bg); }

/* Hero */
.hero { position: relative; display: flex; flex-direction: column; padding-top: clamp(6.5rem, 13svh, 9.5rem); overflow: hidden; }
/* Above the fold the headline, buttons and the top of the demo share the screen, so spacing follows its height. */
.hero .display { font-size: clamp(2.9rem, min(8.5vw, 9.4svh), 5.5rem); }
.hero .assure { margin-bottom: clamp(.9rem, 2.2svh, 1.4rem); }
.hero .sub { margin-top: clamp(.75rem, 1.8svh, 1.25rem); }
.hero .actions { margin-top: clamp(1.25rem, 3svh, 2rem); }
.hero .meta { margin-top: clamp(.75rem, 1.6svh, 1.1rem); }
.intro { position: relative; z-index: 3; max-width: 64rem; margin-inline: auto; padding-inline: var(--gutter); text-align: center; }
.sub { max-width: 36rem; margin: 1.5rem auto 0; font-size: var(--t-lead); line-height: 1.4; letter-spacing: -.012em; color: var(--ink-2); text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.75rem; margin-top: 2.5rem; }
/* Hero demo: one Mac screen playing the whole idea with Sheaf's real interface.
   The screen is laid out at 1040×650 and scaled to fit (--s, set by app.js). */
.demo { position: relative; z-index: 1; width: min(1160px, 100% - 2 * var(--gutter)); margin: clamp(1.75rem, 4.5svh, 3rem) auto 0; }
.demo .dm-frame { position: relative; border-radius: 22px; padding: 10px; background: linear-gradient(#2a2a2e, #141416); box-shadow: 0 0 0 1px #ffffff1a inset, 0 60px 120px -40px #0a84ff40, 0 40px 80px -30px #000; transform: scale(var(--camera, 1)); transform-origin: 50% 0; will-change: transform; }
.demo .dm-frame::before { content: ""; position: absolute; inset: -18% -10% auto; height: 70%; z-index: -1; background: radial-gradient(50% 50% at 50% 60%, #0a84ff2e, #0000 70%); filter: blur(30px); pointer-events: none; }
.demo .dm-viewport { position: relative; overflow: hidden; border-radius: 13px; height: calc(650px * var(--s, 1)); background: #0b1020; }
.dm-screen { position: absolute; left: 0; top: 0; width: 1040px; height: 650px; transform: translateX(var(--shift, 0px)) scale(var(--s, 1)); transform-origin: 0 0; overflow: hidden; font: 400 13px/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; letter-spacing: 0; color: #f5f5f7;
  background: radial-gradient(60% 70% at 78% 30%, #3b5bdb55, #0000 70%), radial-gradient(55% 60% at 15% 85%, #e0913a40, #0000 70%), radial-gradient(80% 80% at 50% 50%, #1b2340, #070a14); }
.dm-menubar { position: absolute; inset: 0 0 auto; height: 28px; display: flex; align-items: center; gap: 18px; padding: 0 16px; background: #0d1222b3; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); font-size: 13px; color: #ffffffe0; }
.dm-menubar .dm-apple { width: 13px; height: 15px; background: #fff; -webkit-mask: radial-gradient(circle at 50% 62%, #000 6px, #0000 6.5px); mask: radial-gradient(circle at 50% 62%, #000 6px, #0000 6.5px); }
.dm-menubar .dm-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.mb-sheaf svg { width: 18px; height: 16px; color: #fff; display: block; }
.dm-finder { position: absolute; left: 48px; top: 70px; width: 430px; height: 270px; border-radius: 12px; overflow: hidden; background: #1e1e22f2; box-shadow: 0 0 0 1px #ffffff1f, 0 30px 60px -20px #000c; }
.dm-finder .dm-bar { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #2a2a2f; border-bottom: 1px solid #0006; }
.dm-finder .dm-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.dm-finder .dm-bar i:nth-child(2) { background: #febc2e; } .dm-finder .dm-bar i:nth-child(3) { background: #28c840; }
.dm-finder .dm-bar span { margin-left: 14px; font-weight: 600; font-size: 13px; color: #ffffffd9; }
.dm-finder .dm-body { display: flex; height: calc(100% - 38px); }
.dm-finder .dm-side { width: 120px; padding: 10px 8px; background: #ffffff08; font-size: 12px; color: #ffffffcc; }
.dm-finder .dm-side li { padding: 4px 8px; border-radius: 6px; } .dm-finder .dm-side li.h { font-size: 10.5px; font-weight: 600; color: #ffffff66; padding-top: 10px; }
.dm-finder .dm-side li.on { background: #ffffff1a; }
.dm-finder .dm-grid { flex: 1; display: flex; justify-content: space-around; align-items: flex-start; padding: 34px 12px 0; }
.dm-file { width: 96px; display: grid; justify-items: center; gap: 8px; }
.dm-file .dm-thumb { height: 92px; display: grid; place-items: end center; padding: 4px; border-radius: 8px; background: #ffffff1a; }
.dm-file img { max-height: 84px; max-width: 84px; border-radius: 2px; box-shadow: 0 2px 6px #0008; }
.dm-file figcaption { font-size: 11px; line-height: 1.25; padding: 2px 6px; border-radius: 5px; background: #0a64d8; color: #fff; text-align: center; }
.dm-ghost { position: absolute; left: 0; top: 0; width: 80px; height: 90px; opacity: 0; transform: translate(var(--gx, 0px), var(--gy, 0px)); pointer-events: none; }
.dm-ghost img { position: absolute; left: 10px; top: 6px; max-height: 70px; max-width: 64px; border-radius: 2px; opacity: .78; box-shadow: 0 6px 16px #000a; transform: rotate(calc((var(--i) - 1) * 7deg)) translate(calc(var(--i) * 4px), 0); }
.dm-ghost b { position: absolute; right: 4px; top: 0; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #ff3b30; color: #fff; font: 600 12px/22px -apple-system, sans-serif; text-align: center; box-shadow: 0 2px 6px #0008; }
.dm-seed { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 7px; border-radius: 17px; background: #2c2c30f0; box-shadow: 0 0 0 1px #ffffff1f, 0 10px 24px -8px #000; font: 600 12.5px/1 -apple-system, sans-serif; white-space: nowrap; opacity: 0; transform: translate(var(--sx, 0px), var(--sy, 0px)) scale(var(--ss, .9)); transform-origin: 0 50%; }
.dm-seed svg { width: 22px; height: 22px; transform: rotate(-90deg); }
.dm-seed circle { fill: none; stroke: #ffffff33; stroke-width: 2.4; }
.dm-seed circle.fill { stroke: #0a84ff; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--ring, 0)); }
.bloomer { position: absolute; left: 375px; top: 57px; width: 632px; height: 640px; opacity: 0; transform: scale(var(--bs, .9)); transform-origin: 49.8% 47.3%; pointer-events: none; }
.bloomer img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .16s linear; }
.demo.still .bloomer img { transition: none; }
.bloomer[data-k="bloom"] [data-k="bloom"], .bloomer[data-k="bloom-aim"] [data-k="bloom-aim"], .bloomer[data-k="bloom-option"] [data-k="bloom-option"],
.bloomer[data-k="bloom-running"] [data-k="bloom-running"], .bloomer[data-k="bloom-result"] [data-k="bloom-result"] { opacity: 1; }
.dm-cursor { position: absolute; left: 0; top: 0; width: 26px; height: 26px; transform: translate(var(--cx, 0px), var(--cy, 0px)) translate(-5px, -2px) scale(var(--cs, 1)); transform-origin: 5px 2px; filter: drop-shadow(0 2px 3px #0009); z-index: 5; }
.dm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 60rem; margin: 2.25rem auto 0; }
.dm-steps li { position: relative; display: flex; gap: .875rem; padding: 1.1rem 1.1rem 1.3rem; border-radius: 16px; color: var(--ink-3); transition: color .4s, background .4s; }
.dm-steps li.on { color: var(--ink); background: #ffffff0a; }
.dm-steps .dm-n { flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; font-size: .8125rem; font-weight: 600; box-shadow: 0 0 0 1px currentColor inset; }
.dm-steps li.on .dm-n { background: var(--accent); color: #fff; box-shadow: none; }
.dm-steps b { display: block; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.015em; }
.dm-steps p { margin-top: .2rem; font-size: var(--t-small); line-height: 1.45; color: var(--ink-3); transition: color .4s; }
.dm-steps li.on p { color: var(--ink-2); }
.dm-steps .dm-bar { position: absolute; left: 1.1rem; right: 1.1rem; bottom: .55rem; height: 2px; border-radius: 1px; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; opacity: 0; }
.dm-steps li.on .dm-bar { opacity: 1; }
@media (max-width: 760px) {
  .hero { padding-top: 6rem; }
  .hero .assure { font-size: .8125rem; }
  .hero .actions { gap: .6rem 1.5rem; }
  .demo { width: calc(100% - 1.5rem); }
  .demo .dm-frame { padding: 6px; border-radius: 16px; } .demo .dm-viewport { border-radius: 11px; }
  .dm-steps { grid-template-columns: 1fr; gap: .25rem; margin-top: 1.25rem; }
  .dm-steps li { padding: .8rem .9rem 1rem; }
}

/* Stats */
.stats { position: relative; padding-block: var(--section-y); }
.stats .inner { position: relative; max-width: var(--wide); margin-inline: auto; padding: clamp(2rem, 4vw, 3rem) var(--gutter); }
.stats .inner::before, .stats .inner::after { content: ""; position: absolute; inset-inline: var(--gutter); height: 1px; background: linear-gradient(90deg, transparent, var(--hair), transparent); }
.stats .inner::before { top: 0; } .stats .inner::after { bottom: 0; }
.crown { display: flex; justify-content: center; align-items: center; gap: clamp(.5rem, 1.4vw, 1rem); margin-bottom: clamp(1.75rem, 3.2vw, 2.5rem); opacity: 0; transform: translateY(14px); transition: opacity .7s linear, transform .9s var(--ease-out); }
[data-play=on] .crown { opacity: 1; transform: none; }
.laurel { height: clamp(3.75rem, 6.6vw, 5.25rem); width: auto; color: #ffffffe6; }
.mirror { display: flex; transform: scaleX(-1); }
.award { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
.place { font-size: clamp(1.75rem, 3.1vw, 2.25rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.where { font-size: var(--t-small); font-weight: 600; letter-spacing: .02em; color: #ffffff9e; white-space: nowrap; }
.figs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fig { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; padding-inline: clamp(.25rem, 1vw, .75rem); opacity: 0; transform: translateY(12px); transition: opacity .5s linear, transform .8s var(--ease-out); }
.fig + .fig { border-left: 1px solid #ffffff17; }
[data-play=on] .fig { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * 70ms); }
.val { font-size: clamp(1.5rem, 2.7vw, 2.125rem); font-weight: 600; letter-spacing: -.022em; line-height: 1; font-variant-numeric: tabular-nums; }
.lab { font-size: var(--t-small); color: var(--ink-3); line-height: 1.25; text-wrap: balance; }
@media (max-width: 760px) { .figs { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; } .fig + .fig { border-left: 0; } .fig:nth-child(even) { border-left: 1px solid #ffffff17; } .fig:last-child { grid-column: 1 / -1; } }

/* Choose what happens: a pinned story. The list on the left drives one panel on the right. */
@property --tint { syntax: "<color>"; inherits: true; initial-value: #0a84ff; }
.ax-track { position: relative; height: calc(100vh + var(--n) * 62vh); }
.ax-pin { position: sticky; top: 0; height: 100vh; min-height: 640px; max-width: var(--wide); margin-inline: auto; padding: 6rem var(--gutter) 2.5rem;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ax-head .h2 { font-size: clamp(2.25rem, 3.5vw, 3.25rem); }
.ax-head .lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); max-width: 26rem; }
.ax-list { list-style: none; margin-top: clamp(1.75rem, 4vh, 2.75rem); border-top: 1px solid var(--hair-soft); }
.ax-list li { border-bottom: 1px solid var(--hair-soft); }
.ax-list button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; position: relative; display: grid; grid-template-columns: 2.75rem 1fr; align-items: baseline; padding: .95rem 0; }
.ax-list button:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; border-radius: 6px; }
.ax-n { font: 500 .8125rem/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink-3); transition: color .4s; }
.ax-name { font-size: clamp(1.375rem, 2.1vw, 1.875rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; color: #56565b; transition: color .4s; }
.ax-desc { grid-column: 2; display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .55s var(--ease-out), opacity .4s; }
.ax-desc > span { overflow: hidden; color: var(--ink-2); font-size: var(--t-small); line-height: 1.45; max-width: 25rem; }
.ax-bar { position: absolute; left: 2.75rem; right: 0; bottom: -1px; height: 1px; overflow: hidden; }
.ax-bar i { display: block; height: 100%; width: 100%; background: var(--tint); transform: scaleX(var(--q, 0)); transform-origin: 0; opacity: 0; }
.ax-list button:hover .ax-name { color: #8e8e93; }
.ax-list button.on .ax-n { color: var(--tint); }
.ax-list button.on .ax-name { color: var(--ink); }
.ax-list button.on .ax-desc { grid-template-rows: 1fr; opacity: 1; }
.ax-list button.on .ax-desc > span { padding-top: .5rem; }
.ax-list button.on .ax-bar i { opacity: 1; }
.ax-now { display: none; }

/* The panel: one 640 × 520 canvas, scaled to fit */
.ax-panel { position: relative; aspect-ratio: 640 / 520; width: 100%; max-width: 720px; justify-self: end; border-radius: 28px; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 70% at 85% -10%, color-mix(in srgb, var(--tint) 26%, transparent), transparent 62%), radial-gradient(70% 60% at 0% 110%, color-mix(in srgb, var(--tint) 10%, transparent), transparent 70%), #0d0d10;
  box-shadow: 0 0 0 1px #ffffff14 inset, 0 40px 90px -40px color-mix(in srgb, var(--tint) 45%, #000), 0 30px 60px -30px #000; transition: --tint .8s var(--ease-out); }
.ax-canvas { position: absolute; left: 0; top: 0; width: 640px; height: 520px; transform: scale(var(--s, 1)); transform-origin: 0 0; }
.sc { position: absolute; inset: 0; padding: 26px 28px 28px; display: flex; flex-direction: column; color: #fff;
  opacity: 0; transform: translateY(24px) scale(.985); filter: blur(8px); visibility: hidden; transition: opacity .45s, transform .7s var(--ease-out), filter .5s, visibility 0s .5s; }
.sc.on { opacity: 1; transform: none; filter: none; visibility: visible; transition: opacity .6s .12s, transform .8s var(--ease-out) .12s, filter .6s .12s, visibility 0s; }
.sc:not(.on) *, .sc:not(.on) *::after { animation: none !important; }
.sc [style*="--d"] { animation: axIn .7s var(--ease-out) var(--d) both; }
@keyframes axIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
.sc-top { display: flex; justify-content: space-between; align-items: center; height: 40px; margin-bottom: 20px; }
.sc-id { display: flex; gap: 12px; align-items: center; }
.sc-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--tint) 20%, transparent); color: var(--tint); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tint) 35%, transparent); }
.sc-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sc-id b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.sc-id small { display: block; font-size: 12.5px; color: #8e8e93; margin-top: 1px; }
.sc .sc-pill { font-size: 12.5px; font-weight: 600; padding: 7px 13px 7px 28px; border-radius: 99px; position: relative; background: color-mix(in srgb, var(--tint) 16%, transparent); color: color-mix(in srgb, var(--tint) 55%, #fff); animation-name: pill; }
.sc-pill::before { content: ""; position: absolute; left: 11px; top: 50%; width: 10px; height: 6px; margin-top: -5px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
@keyframes pill { from { opacity: 0; transform: scale(.85); } }
.sc-note { margin-top: 14px; font-size: 13px; color: #8e8e93; }
.sc-compress, .ax-list [data-i="0"] { --tint: #0a84ff; } .sc-merge, .ax-list [data-i="1"] { --tint: #bf5af2; } .sc-sign, .ax-list [data-i="2"] { --tint: #ff9f0a; }
.sc-redact, .ax-list [data-i="3"] { --tint: #ff453a; } .sc-convert, .ax-list [data-i="4"] { --tint: #30d158; }

/* 01 Compress */
.cp-rows { display: flex; flex-direction: column; gap: 10px; }
.cp-rows li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 11px 16px 11px 11px; border-radius: 16px; background: #ffffff09; box-shadow: inset 0 0 0 1px #ffffff0f; }
.cp-rows img { width: 52px; height: 66px; object-fit: cover; border-radius: 7px; box-shadow: 0 0 0 1px #ffffff1a, 0 8px 16px -8px #000; }
.cp-rows p { display: flex; justify-content: space-between; font-size: 14.5px; font-weight: 500; margin-bottom: 10px; }
.cp-rows p b, .cp-total b { font-variant-numeric: tabular-nums; }
.cp-rows p b::after { content: " MB"; }
.cp-rows p b { font-weight: 600; }
.cp-rows i { display: block; height: 6px; border-radius: 9px; background: #ffffff12; overflow: hidden; }
.cp-rows i span { display: block; height: 100%; width: var(--r); border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--tint) 60%, #64d2ff), var(--tint)); animation: cpShrink 1.3s cubic-bezier(.65, 0, .25, 1) calc(var(--d) + .3s) both; }
@keyframes cpShrink { from { width: 100%; } }
.cp-total { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; padding-top: 16px; border-top: 1px solid #ffffff14; }
.cp-total small { font-size: 12.5px; color: #8e8e93; font-weight: 500; }
.cp-total p { font-size: 52px; font-weight: 700; letter-spacing: -.035em; line-height: 1; margin-top: 6px; }
.cp-total em { font-style: normal; font-size: 52px; font-weight: 700; letter-spacing: -.035em; line-height: 1; color: var(--tint); }

/* 02 Merge */
.mg-area { position: relative; flex: 1; }
.mg-pg { position: absolute; left: 50%; top: 50%; width: 136px; height: 176px; margin: -88px 0 0 -68px; object-fit: cover; border-radius: 6px; background: #fff;
  box-shadow: 0 0 0 1px #ffffff26, 0 18px 30px -14px #000; transform: translate(var(--x1), var(--y1)) rotate(var(--r1)); z-index: calc(9 - var(--i)); animation: mgFly 2s cubic-bezier(.65, 0, .25, 1) calc(var(--i) * .06s) both; }
.mg-pg.l { width: 184px; height: 104px; margin: -52px 0 0 -92px; }
@keyframes mgFly { 0% { opacity: 0; transform: translate(var(--x0), calc(var(--y0) + 24px)) rotate(var(--r0)); } 22% { opacity: 1; transform: translate(var(--x0), var(--y0)) rotate(var(--r0)); } 45% { transform: translate(var(--x0), var(--y0)) rotate(var(--r0)); } 100% { transform: translate(var(--x1), var(--y1)) rotate(var(--r1)); } }
.mg-marks { position: absolute; left: 0; top: 50%; width: 220px; transform: translateY(-50%); }
.mg-marks small { display: block; font-size: 12px; font-weight: 600; color: #8e8e93; margin: 0 0 10px 12px; text-transform: uppercase; letter-spacing: .06em; }
.mg-marks li { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 11px; font-size: 14px; font-weight: 500; }
.mg-marks li + li { margin-top: 2px; }
.mg-marks li:first-child { background: color-mix(in srgb, var(--tint) 18%, transparent); }
.mg-marks li span::before { content: ""; display: inline-block; width: 9px; height: 12px; margin-right: 10px; background: var(--tint); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%); vertical-align: -1px; }
.mg-marks em { font-style: normal; font-size: 12.5px; color: #8e8e93; font-variant-numeric: tabular-nums; }
.mg-marks em::before { content: "p. "; }

/* 03 Sign */
.sg-body { flex: 1; display: grid; grid-template-columns: 300px 1fr; gap: 26px; min-height: 0; }
.sg-page { position: relative; width: 300px; height: 388px; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px #ffffff1f, 0 24px 40px -20px #000; }
.sg-page img { width: 100%; height: 100%; }
.sg-spot { position: absolute; left: 30px; top: 296px; width: 128px; height: 44px; border-radius: 6px; animation: sgSpot 2.6s ease both; }
@keyframes sgSpot { 0%, 15% { box-shadow: 0 0 0 1.5px transparent; } 25%, 80% { box-shadow: 0 0 0 1.5px var(--tint), 0 0 0 5px color-mix(in srgb, var(--tint) 22%, transparent); } 100% { box-shadow: 0 0 0 1.5px transparent; } }
.sg-spot svg { width: 100%; height: 100%; }
.sg-spot path { fill: none; stroke: #1b2a6b; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: sgDraw 1.5s cubic-bezier(.5, 0, .3, 1) .55s both; }
@keyframes sgDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.sg-side small { display: block; font-size: 12px; font-weight: 600; color: #8e8e93; text-transform: uppercase; letter-spacing: .06em; margin: 4px 0 10px; }
.sg-opts { display: flex; flex-direction: column; gap: 4px; margin-bottom: 22px; }
.sg-opts li { position: relative; padding: 10px 12px 10px 36px; border-radius: 11px; font-size: 14px; font-weight: 500; color: #c7c7cc; }
.sg-opts li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; margin-top: -8px; border-radius: 50%; border: 1.5px solid #636366; }
.sg-opts li.on { color: #fff; background: color-mix(in srgb, var(--tint) 16%, transparent); animation: axIn .6s var(--ease-out) .25s both; }
.sg-opts li.on::before { border: 4.5px solid var(--tint); width: 7px; height: 7px; }
.sg-thumbs { display: flex; gap: 12px; }
.sg-thumbs figure { position: relative; width: 82px; }
.sg-thumbs img { width: 82px; height: 106px; border-radius: 4px; background: #fff; opacity: .55; box-shadow: 0 0 0 1px #ffffff1f; }
.sg-thumbs figure.on img { opacity: 1; box-shadow: 0 0 0 2px var(--tint); }
.sg-thumbs figcaption { margin-top: 7px; text-align: center; font-size: 12px; color: #8e8e93; font-variant-numeric: tabular-nums; }
.sg-thumbs figure.on::after { content: ""; position: absolute; right: -6px; top: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); animation: pill .4s var(--ease-out) 1.9s both; }

/* 04 Redact */
.rd-view { position: relative; flex: 1; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px #ffffff1f; }
.rd-doc { position: absolute; left: 0; top: 0; width: 760px; height: 983px; transform: scale(.94) translate(-74px, -246px); transform-origin: 0 0; }
.rd-doc img { width: 760px; height: 983px; }
.sc .rd-doc i { position: absolute; height: 20px; border-radius: 2px; background: #000; transform-origin: 0 50%; animation: rdBar .45s cubic-bezier(.6, 0, .3, 1) var(--d) both; }
@keyframes rdBar { from { transform: scaleX(0); } }
.rd-found { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.rd-found li { font-size: 12.5px; font-weight: 500; padding: 6px 11px; border-radius: 99px; background: #ffffff0d; color: #c7c7cc; }
.rd-found b { color: color-mix(in srgb, var(--tint) 55%, #fff); margin-left: 3px; font-variant-numeric: tabular-nums; }

/* 05 Convert */
.cv-body { flex: 1; display: grid; grid-template-columns: 1fr 96px 1fr; align-items: center; }
.cv-in, .cv-out { display: flex; flex-direction: column; gap: 8px; }
.cv-in li, .cv-out li { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 12px; border-radius: 13px; background: #ffffff09; box-shadow: inset 0 0 0 1px #ffffff0f; font-size: 14px; font-weight: 500; }
.cv-in b, .cv-out b { width: 42px; height: 28px; display: grid; place-items: center; border-radius: 7px; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; color: #fff; background: color-mix(in srgb, var(--c) 85%, #000); }
.cv-out b { background: #e5352b; }
.cv-out li { background: color-mix(in srgb, var(--tint) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tint) 28%, transparent); }
.cv-flow { position: relative; height: 266px; }
.cv-flow i { position: absolute; left: 14px; right: 14px; height: 2px; }
.cv-flow i:nth-child(1) { top: 24px; } .cv-flow i:nth-child(2) { top: 82px; } .cv-flow i:nth-child(3) { top: 132px; } .cv-flow i:nth-child(4) { top: 190px; } .cv-flow i:nth-child(5) { top: 240px; }
.cv-flow i::before { content: ""; position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(90deg, #ffffff10, color-mix(in srgb, var(--tint) 40%, transparent)); }
.cv-flow i::after { content: ""; position: absolute; top: -2px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--tint); box-shadow: 0 0 12px var(--tint); opacity: 0; animation: cvDot .55s ease-in var(--d) both; }
@keyframes cvDot { 0% { opacity: 0; left: 0; } 20% { opacity: 1; } 100% { opacity: 0; left: 100%; } }
.cv-flow i { animation: none !important; }
.cv-back { display: flex; align-items: center; gap: 6px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #ffffff14; }
.cv-back small { font-size: 12.5px; color: #8e8e93; margin-right: 6px; font-weight: 500; }
.cv-back span { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: #ffffff0d; color: #d1d1d6; }

/* Phones and narrow windows: heading, a row of tabs, the panel */
@media (max-width: 900px) {
  .ax-track { height: calc(100svh + var(--n) * 70svh); }
  .ax-pin { height: 100svh; min-height: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; gap: 1.25rem; padding: 5.25rem var(--gutter) 1.5rem; }
  .ax-head .h2 { font-size: clamp(1.875rem, 8vw, 2.5rem); }
  .ax-head .lead { display: none; }
  .ax-list { display: flex; gap: .25rem; margin-top: 1rem; border: 0; overflow-x: auto; scrollbar-width: none; }
  .ax-list li { border: 0; flex: none; }
  .ax-list button { display: block; padding: .5rem .65rem; border-radius: 99px; background: #ffffff0d; }
  .ax-list button.on { background: color-mix(in srgb, var(--tint) 22%, transparent); }
  .ax-n, .ax-desc, .ax-bar { display: none; }
  .ax-name { font-size: .875rem; color: var(--ink-2); letter-spacing: -.01em; }
  .ax-now { display: block; min-height: 2.9em; margin-top: .75rem; font-size: var(--t-small); color: var(--ink-2); line-height: 1.45; }
  .ax-panel { justify-self: center; align-self: start; border-radius: 20px; width: min(100%, calc((100svh - 18rem) * 640 / 520)); }
}
@media (prefers-reduced-motion: reduce) {
  .sc, .sc.on { transition: opacity .2s; transform: none; filter: none; }
  .sc *, .sc *::before, .sc *::after { animation-duration: 1ms !important; animation-delay: 0s !important; }
  .ax-panel { transition: none; }
}

/* Pinned collage */
.beyond { position: relative; height: 230vh; }
.pin { position: sticky; top: 0; height: 100vh; min-height: 720px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 5rem; }
.pin .head { margin-bottom: 2.5rem; }
.collage { --p: 0; position: relative; width: min(1040px, 94vw); height: 430px; margin-inline: auto; }
.pc { position: absolute; border-radius: 22px; padding: 18px 20px; box-shadow: 0 30px 60px -24px #000, 0 0 0 1px #ffffff10;
  --k: clamp(0, (var(--p) - var(--s)) / .55, 1);
  --e: calc(1 - (1 - var(--k)) * (1 - var(--k)) * (1 - var(--k)));
  transform: translate(calc(var(--x) * (1 - var(--e))), calc(var(--y) * (1 - var(--e)))) rotate(calc(var(--r) * (1 - var(--e)))) scale(calc(.85 + .15 * var(--e)));
  opacity: calc(.15 + .85 * var(--e)); will-change: transform; }
.pc b { font-weight: 700; }
.note { left: 6%; top: 0; width: 200px; height: 190px; background: repeating-linear-gradient(#f4f1ea 0 26px, #dcd6c8 26px 27px); color: #3a3a3c; padding-left: 34px; display: flex; flex-direction: column; gap: 3px; font-size: .95rem; }
.note::before { content: ""; position: absolute; left: 24px; top: 0; bottom: 0; width: 1px; background: #e0827a; }
.note b { font-size: 1rem; margin-bottom: 4px; }
.sticky { left: 0; top: 160px; width: 200px; height: 200px; background: #f6e27a; color: #2b2a26; display: flex; flex-direction: column; gap: 2px; font: 600 1.25rem/1.35 ui-rounded, "SF Pro Rounded", -apple-system, sans-serif; border-radius: 6px 6px 40px 6px; }
.sticky b { font-size: 1.3rem; margin-bottom: 4px; }
.quote { left: 27.5%; top: -10px; width: 215px; background: none; box-shadow: none; }
.quote i { font: 700 4.6rem/.7 ui-serif, "New York", Georgia, serif; color: var(--link); font-style: normal; }
.quote p { font: 400 1.45rem/1.25 ui-serif, "New York", Georgia, serif; color: #f2f2ed; margin-top: -.2em; }
.quote em { display: block; width: 34px; height: 2px; background: var(--link); margin-top: 18px; }
.dots { left: 37.5%; top: 150px; width: 290px; background: linear-gradient(#fff, #f2f2f4); color: #1d1d1f; z-index: 2; }
.dots .grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; margin: 14px 0 12px; }
.dots .grid i { aspect-ratio: 1; border-radius: 50%; background: #1d1d1f; }
.dots .grid i.spent { background: #d2d2d7; } .dots .grid i.now { background: var(--accent); }
.dfoot { display: flex; justify-content: space-between; font-size: .75rem; color: #8e8e93; } .dfoot strong { color: #1d1d1f; }
.glass { right: 3%; top: 0; width: 250px; background: linear-gradient(#2a2a2ecc, #18181bcc); backdrop-filter: blur(10px); color: #fff; }
.gdot { display: block; width: 8px; height: 8px; border-radius: 50%; background: #64d2ff; margin-bottom: 10px; }
.glass p { font-size: 1.05rem; font-weight: 500; line-height: 1.35; }
.split { right: 5%; top: 145px; width: 230px; background: linear-gradient(#1e1e22, #111114); color: #fff; text-align: center; }
.pfill { display: block; height: 7px; border-radius: 99px; background: #ffffff1f; margin: 14px 0 10px; overflow: hidden; }
.pfill i { display: block; height: 100%; width: calc(75% * var(--e)); background: linear-gradient(90deg, #64d2ff8c, #64d2ff); border-radius: inherit; }
.split small { color: #ffffff80; font-size: .75rem; }
.shortcuts { right: 2%; top: 265px; width: 250px; background: linear-gradient(#1e1e22, #111114); color: #fff; display: flex; flex-direction: column; gap: 8px; font-size: .9rem; }
.sh { display: flex; justify-content: space-between; font-size: .8125rem; color: #ffffff80; } .sh em { color: #30d158; font-style: normal; font-weight: 700; }
.shortcuts span { display: flex; align-items: center; gap: 10px; }
.shortcuts span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.6px #ffffff66; flex: none; }
.shortcuts .done { color: #ffffff66; text-decoration: line-through; }
.shortcuts .done::before { background: #30d158; box-shadow: none; }
@media (max-width: 860px) { .beyond { height: auto; } .pin { position: static; height: auto; min-height: 0; padding-block: var(--section-y); } .collage { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: auto; padding-inline: var(--gutter); } .pc { position: static; width: auto; height: auto; transform: none !important; opacity: 1 !important; } .quote { grid-column: 1 / -1; } }

/* Gallery marquee */
.gallery { position: relative; padding-block: var(--section-y); overflow: hidden; }
.strip, .ribbon { position: relative; overflow: hidden; }
.gtrack, .rtrack { display: flex; align-items: flex-start; width: max-content; will-change: transform; animation: slide linear infinite; }
.gtrack { gap: clamp(1rem, 2vw, 1.75rem); padding-inline: clamp(1rem, 2vw, 1.75rem); animation-duration: 150s; }
.rtrack { gap: .75rem; padding-inline: .75rem; animation-duration: 130s; }
.strip:hover .gtrack, .ribbon:hover .rtrack { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.item { flex: none; width: clamp(15rem, 24vw, 21rem); }
.frame { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px #ffffff17, 0 26px 40px -10px #000000b3; aspect-ratio: 16 / 10; background: #111; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.item figcaption { margin-top: .875rem; text-align: center; font-size: var(--t-cap); font-weight: 500; color: var(--ink-3); }
.strip .fade { top: 0; bottom: 0; width: clamp(3rem, 10vw, 11rem); }
.ribbon .fade { top: 0; bottom: 0; width: clamp(4rem, 8vw, 9rem); }

/* Why people leave online PDF sites: a race on one time scale, then the facts */
.why { padding-block: var(--section-y); }
.race { position: relative; max-width: 68rem; margin: 0 auto; padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.5rem) 1.25rem; border-radius: 28px; margin-inline: max(var(--gutter), calc((100% - 68rem) / 2));
  background: radial-gradient(60% 90% at 0% 0%, #ff9f0a12, transparent 60%), radial-gradient(60% 90% at 100% 100%, #0a84ff14, transparent 60%), #0c0c0f; box-shadow: inset 0 0 0 1px #ffffff14, 0 40px 80px -50px #000; }
.rc-lane { display: grid; grid-template-columns: 15.5rem 1fr 4.5rem; gap: 1.5rem; align-items: center; padding-block: 1.1rem; }
.rc-lane + .rc-lane { border-top: 1px solid var(--hair-soft); }
.rc-who { display: flex; gap: .8rem; align-items: center; min-width: 0; }
.rc-who b { display: block; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.012em; }
.rc-say { display: block; font-size: .8125rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.rc-ico { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; }
.web .rc-ico { background: #ffffff0f; color: #a1a1a6; box-shadow: inset 0 0 0 1px #ffffff14; }
.web .rc-ico svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.rc-track { position: relative; height: 14px; border-radius: 99px; background: #ffffff0b; box-shadow: inset 0 0 0 1px #ffffff0d; }
.rc-seg { position: absolute; top: 0; bottom: 0; border-radius: 99px; transform: scaleX(var(--k, 0)); transform-origin: 0 50%; }
.rc-seg.up { background: linear-gradient(90deg, #ff9f0a99, #ff9f0a); }
.rc-seg.proc { background: repeating-linear-gradient(-45deg, #8e8e93 0 6px, #636366 6px 12px); }
.rc-seg.down { background: #ff9f0a; }
.rc-seg.mine { min-width: 6px; background: var(--accent); box-shadow: 0 0 18px #0a84ffcc; }
.rc-flag { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: .8125rem; font-weight: 600; color: #64d2ff; opacity: 0; transition: opacity .4s, left .6s var(--ease-out); }
.race.me-done .rc-flag { opacity: 1; left: 22px; }
.rc-time { text-align: right; font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.me .rc-time { color: #64d2ff; }
.race.me-done .me .rc-say { color: #64d2ff; }
.race.web-done .web .rc-say { color: #ff9f0a; }
.rc-axis { position: relative; height: 1.25rem; margin: .25rem 4.5rem 0 calc(15.5rem + 1.5rem); margin-right: calc(4.5rem + 1.5rem); font-size: .6875rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rc-axis span { position: absolute; top: 0; transform: translateX(-50%); }
.rc-axis span:first-child { transform: none; } .rc-axis span:last-child { transform: translateX(-100%); }
.rc-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--hair-soft); }
.rc-foot p { font-size: .75rem; color: var(--ink-3); }
.rc-again { all: unset; cursor: pointer; display: inline-flex; gap: .4rem; align-items: center; font-size: .8125rem; font-weight: 500; color: var(--link); padding: .35rem .7rem; border-radius: 99px; opacity: 0; pointer-events: none; transition: opacity .4s, background .2s; }
.rc-again svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.rc-again:hover { background: #2997ff1a; } .rc-again:focus-visible { outline: 2px solid var(--link); }
.race.web-done .rc-again { opacity: 1; pointer-events: auto; }

.wf { max-width: 68rem; margin: clamp(2rem, 4vw, 3rem) auto 0; padding-inline: var(--gutter); }
.wf-head, .wf li { display: grid; grid-template-columns: 1.1fr 1.2fr 1.2fr; gap: 1.5rem; align-items: center; }
.wf-head { padding: 0 1.25rem .75rem; font-size: .8125rem; font-weight: 600; color: var(--ink-3); }
.wf-head .wf-me { display: flex; gap: .5rem; align-items: center; color: var(--ink); }
.wf-head img { border-radius: 5px; }
.wf ul { list-style: none; position: relative; }
.wf ul::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: calc((100% - 3rem) * 1.2 / 3.5 + 1.25rem); border-radius: 18px; background: linear-gradient(#0a84ff14, #0a84ff08); box-shadow: inset 0 0 0 1px #0a84ff2e; pointer-events: none; }
.wf li { padding: 1rem 1.25rem; border-top: 1px solid var(--hair-soft); opacity: 0; transform: translateY(10px); transition: opacity .5s linear, transform .8s var(--ease-out); }
.wf li:first-child { border-top: 0; }
.wf[data-play=on] li { opacity: 1; transform: none; transition-delay: calc(.1s + var(--i) * 70ms); }
.wf-k { font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; }
.wf-web { font-size: .9375rem; color: var(--ink-3); }
.wf-web::before { content: "×"; display: inline-block; width: 1.25rem; color: #ff6961; font-weight: 600; }
.wf li .wf-me { font-size: .9375rem; color: var(--ink); font-weight: 500; }
.wf li .wf-me::before { content: "✓"; display: inline-block; width: 1.25rem; color: #64d2ff; font-weight: 700; }

@media (max-width: 760px) {
  .rc-lane { grid-template-columns: 1fr auto; gap: .75rem 1rem; }
  .rc-track { grid-column: 1 / -1; grid-row: 2; }
  .rc-axis { margin: .25rem 0 0; }
  .rc-foot { flex-direction: column; align-items: flex-start; }
  .wf-head { display: none; }
  .wf ul::after { display: none; }
  .wf li { grid-template-columns: 1fr; gap: .35rem; padding: 1rem .25rem; }
}

/* Ways in */
.ways { padding-block: var(--section-y); overflow: clip; }
.ways .inner { max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: 26rem auto; justify-content: center; align-items: center; gap: clamp(3rem, 6vw, 5.5rem); }
.object { position: relative; opacity: 0; transform: translateY(22px); transition: opacity .8s linear, transform 1.1s var(--ease-out); }
[data-play=on] .object { opacity: 1; transform: none; }
.object::before { content: ""; position: absolute; left: 50%; top: 50%; width: 150%; aspect-ratio: 5 / 4; transform: translate(-50%, -50%); background: radial-gradient(50% 50%, #ffffff13 0%, #ffffff07 46%, #0000 72%); pointer-events: none; }
.gcard { position: relative; border-radius: 40px; padding: 30px 0; background: #0000001f; }
.gcard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(#fff9 0%, #ffffff26 33%, #ffffff0d 66%, #ffffff4d 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.gh { display: flex; flex-direction: column; gap: 2px; padding: 8px 30px 0; margin-bottom: 22px; }
.gh b { font-size: 1.5rem; font-weight: 700; letter-spacing: -.022em; } .gh small { font-size: 1.05rem; font-weight: 600; color: #fff9; }
.gcard ul { padding-inline: 24px; }
.row { display: flex; gap: 16px; align-items: flex-start; padding-block: 12px; opacity: 0; filter: blur(3px); transform: translateY(9px); transition: opacity .42s linear, transform .75s var(--ease-out), filter .42s; }
.row + .row { border-top: 1px solid #ffffff1a; }
[data-play=on] .row { opacity: 1; filter: none; transform: none; transition-delay: var(--d); }
.ring { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.7px var(--tone); flex: none; margin-top: 3px; }
.body { display: flex; flex-direction: column; gap: 3px; }
.body b { font-size: 1.2rem; font-weight: 600; letter-spacing: -.014em; line-height: 1.25; } .body small { font-size: .9rem; font-weight: 500; color: #fff9; }
.words { max-width: 30rem; }
.mark { width: 2.75rem; height: 2.75rem; border-radius: 10px; margin-bottom: 1.5rem; opacity: 0; transform: translateY(10px); transition: opacity .5s linear, transform .8s var(--ease-out); }
[data-play=on] .mark { opacity: 1; transform: none; }
.flip { perspective: 1000px; }
.fw { display: inline-block; white-space: pre; opacity: 0; filter: blur(8px); transform: translateY(.5em) rotateX(-52deg); transform-origin: 50% 100%; transition: opacity .42s linear, transform .85s var(--ease-out), filter .42s; }
[data-play=on] .fw { opacity: 1; filter: none; transform: none; transition-delay: calc(.12s + var(--w) * 62ms); }
.lead2 { margin-top: 1.125rem; max-width: 26rem; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.45; color: var(--ink-2); opacity: 0; transform: translateY(12px); transition: opacity .6s linear, transform .9s var(--ease-out); }
[data-play=on] .lead2 { opacity: 1; transform: none; transition-delay: .5s; }
@media (max-width: 860px) { .ways .inner { grid-template-columns: minmax(0, 1fr); justify-items: center; } .object { order: 2; width: min(24rem, 100%); } .words { text-align: center; } .mark, .lead2 { margin-inline: auto; } }

/* Reasons ribbon */

/* FAQ */
.faq { padding-block: var(--section-y); border-top: 1px solid var(--hair-soft); }
.faq .head { margin-bottom: 0; }
.list { max-width: 46rem; margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding-inline: var(--gutter); }
.frow { border-bottom: 1px solid var(--hair-soft); } .frow:first-child { border-top: 1px solid var(--hair-soft); }
.frow h3 { font: inherit; }
.trig { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.375rem 0; background: none; border: 0; cursor: pointer; text-align: left; font-size: 1.0625rem; font-weight: 500; letter-spacing: -.015em; transition: color var(--dur-fast); }
.trig:hover { color: var(--ink-2); }
.sign { width: 1.5rem; height: 1.5rem; display: grid; place-content: center; color: var(--ink-2); flex: none; transition: transform var(--dur) var(--ease-out); }
.sign svg { width: 1.125rem; height: 1.125rem; }
.trig[aria-expanded=true] .sign { transform: rotate(135deg); }
.panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur) var(--ease-out); }
.frow.open .panel { grid-template-rows: 1fr; }
.ans { overflow: hidden; }
.ans p { padding: 0 3rem 1.75rem 0; font-size: var(--t-small); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.morelink { text-align: center; margin-top: 2.5rem; }

/* Closing call to action */
.close { position: relative; text-align: center; padding-block: clamp(5rem, 10vw, 8.5rem) clamp(3.5rem, 6vw, 5rem); background: linear-gradient(#ffffff0b 0%, #ffffff04 34%, #0000 72%); border-bottom: 1px solid var(--hair-soft); }
.close::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, #0000, #ffffff2e, #0000); }
.close::after { content: ""; position: absolute; left: 50%; bottom: 0; width: min(60rem, 100%); height: 160px; transform: translateX(-50%); background: radial-gradient(50% 100% at 50% 100%, #ffffff0f, #0000 70%); pointer-events: none; }
.cinner { max-width: var(--content); margin-inline: auto; padding-inline: var(--gutter); }
.h2.big { font-size: clamp(2.75rem, 6.2vw, 4.75rem); line-height: 1.04; }
.csub { max-width: 34rem; margin: 1.25rem auto 2.5rem; font-size: var(--t-lead); line-height: 1.4; color: var(--ink-2); text-wrap: pretty; }
.close .meta { margin-top: 1.5rem; }

/* Footer */
.foot { background: var(--bg); }
.wordmark { position: relative; height: 220px; max-width: var(--wide); margin: 0 auto; padding-inline: var(--gutter); }
.wordmark canvas { width: 100%; height: 100%; display: block; }
.fbody { max-width: var(--wide); margin-inline: auto; padding: 0 var(--gutter) 3rem; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 2.5rem 2rem; padding-top: 3rem; border-top: 1px solid var(--hair-soft); }
.ft { font-size: var(--t-cap); font-weight: 600; margin-bottom: .75rem; }
.fgrid ul { display: flex; flex-direction: column; gap: .625rem; }
.fgrid a { font-size: var(--t-cap); color: var(--ink-3); transition: color var(--dur-fast); display: inline-block; padding-block: .5rem; margin-block: -.5rem; }
.fgrid a:hover { color: var(--ink); }
.foot hr { border: 0; height: 1px; background: var(--hair-soft); margin: 2.5rem 0 1.5rem; }
.bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.copy { font-size: var(--t-cap); color: var(--ink-3); }
.social { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-content: center; color: var(--ink-3); transition: color var(--dur-fast), background-color var(--dur-fast); }
.social svg { width: 1rem; height: 1rem; } .social:hover { color: var(--ink); background: #ffffff14; }
@media (max-width: 640px) { .wordmark { height: 160px; } }

/* Article pages (guides, support, privacy) */
.article { max-width: 46rem; margin: 0 auto; padding: clamp(8rem, 13vw, 10rem) var(--gutter) var(--section-y); }
.article h1 { font-size: clamp(2.5rem, 5.4vw, 3.75rem); line-height: 1.05; letter-spacing: var(--track); font-weight: 600; text-wrap: balance; }
.article .lead { margin: 1.25rem 0 2.5rem; }
.article h2 { font-size: 1.6rem; letter-spacing: -.015em; font-weight: 600; margin: 3rem 0 .75rem; }
.article h3 { font-size: 1.125rem; font-weight: 600; margin: 1.75rem 0 .4rem; }
.article p, .article li { color: var(--ink-2); font-size: var(--t-body); line-height: 1.6; }
.article p + p { margin-top: .9rem; }
.article ol, .article ul { margin: .75rem 0 0 1.25rem; } .article ol { list-style: decimal; } .article ul { list-style: disc; }
.article li { margin-bottom: .4rem; } .article li::marker { color: var(--ink-3); }
.article a:not(.btn) { color: var(--link); } .article strong, .article b, .article em { color: var(--ink); }
.article .shot { width: 100%; height: auto; border-radius: 14px; margin: 2.25rem 0; box-shadow: 0 0 0 1px #ffffff17, 0 30px 60px -20px #000; }
.article .card { background: linear-gradient(#1e1e22e6, #111114eb); box-shadow: inset 0 0 0 1px #ffffff12; border-radius: 22px; padding: 1.25rem 1.5rem; margin: 1.5rem 0; color: var(--ink-2); }
.article .ctabox { margin-top: 3rem; padding: 2rem; border-radius: 28px; text-align: center; background: radial-gradient(90% 130% at 50% -30%, #0a84ff29 0%, #0000 60%), linear-gradient(#17171a, #0c0c0e); box-shadow: inset 0 0 0 1px #ffffff12; }
.article .ctabox p { margin-top: 1rem; font-size: var(--t-cap); color: var(--ink-3); }
.article .muted { color: var(--ink-3); font-size: var(--t-small); }

@media (prefers-reduced-motion: reduce) {
  .track, .gtrack, .rtrack { animation: none; }
  .w, .rise, .fig, .crown, .row, .fw, .mark, .lead2, .object, .g, .cl { transition: none !important; }
  .card * , .card *::after { animation: none !important; }
  .pc { transform: none !important; opacity: 1 !important; }
}

/* Hero: the offline promise and the rolling search phrase */
.assure { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.6rem; padding: .45rem .95rem .45rem .8rem; border-radius: 99px; font-size: .875rem; font-weight: 500; color: var(--ink-2);
  background: #ffffff0a; box-shadow: inset 0 0 0 1px #ffffff17; animation: axIn .9s var(--ease-out) .1s both; }
.assure i { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }
.assure .dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 10px #30d158aa; }
.assure .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #30d158; animation: ping 2.4s cubic-bezier(.2, .6, .3, 1) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.roll { white-space: nowrap; }
.roll-win { position: relative; display: inline-block; vertical-align: bottom; height: 1.12em; color: var(--c); perspective: 600px; clip-path: inset(-.3em -.6em -.12em -.6em); }
.roll-w { position: absolute; left: 0; bottom: 0; white-space: nowrap; text-shadow: 0 0 40px color-mix(in srgb, var(--c) 40%, transparent); }
.roll-w .ch { display: inline-block; white-space: pre; transform-origin: 50% 100% -.2em; will-change: transform, opacity, filter; }
.roll-w.in .ch { animation: chIn .7s cubic-bezier(.2, .9, .25, 1) calc(.14s + var(--k) * 28ms) both; }
.roll-w.out .ch { animation: chOut .32s cubic-bezier(.55, 0, .7, .3) calc(var(--k) * 12ms) both; }
@keyframes chIn { from { opacity: 0; transform: translateY(.6em) rotateX(-80deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes chOut { to { opacity: 0; transform: translateY(-.4em) rotateX(75deg); filter: blur(8px); } }
.roll-win { transition: width .75s cubic-bezier(.65, 0, .25, 1), color .6s; }
@media (prefers-reduced-motion: reduce) { .assure .dot::after { animation: none; } .roll-win { transition: none; } }
/* IT & business page */
.article table { width: 100%; border-collapse: collapse; margin: 1rem 0 0; font-size: var(--t-small); }
.article th, .article td { text-align: left; vertical-align: top; padding: .65rem .75rem .65rem 0; border-bottom: 1px solid #ffffff14; color: var(--ink-2); line-height: 1.5; }
.article th { color: var(--ink); font-weight: 600; }
.article code { font: .92em ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); background: #ffffff0f; padding: .1em .35em; border-radius: 6px; }
.article .tablewrap { overflow-x: auto; }
.article .feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: .75rem; margin-top: 1rem; }
.article .feat .card { margin: 0; }
.article .feat b { display: block; margin-bottom: .3rem; }
