@layer reset, tokens, base, components;

@layer reset {
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
:root { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; font-synthesis: none; overflow-wrap: break-word; }
body, h1, h2, h3, h4, p, ul, ol, li, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button, a { touch-action: manipulation; }
button { user-select: none; -webkit-user-select: none; }
[hidden] { display: none !important; }
}

@layer tokens {
:root {
    color-scheme: light;
    --bg: #ffffff;
    --bg-2: #f6f6f7;
    --bg-3: #ffffff;
    --bg-4: #ffffff;
    --bg-5: #e6e6e9;
    --line: rgb(17 17 17 / 0.08);
    --line-2: rgb(17 17 17 / 0.14);
    --well: rgb(13 13 15 / 0.06);
    --hover: rgb(13 13 15 / 0.05);
    --text: #0d0d0f;
    --text-2: #3a3a40;
    --text-3: #696870;
    --tone: #77767c;
    --faint: #c2c2c7;
    --accent: #ff6b35;
    --accent-hover: #f95f27;
    --accent-soft: rgb(255 107 53 / 0.14);
    --accent-text: #c43f14;
    --accent-display: #f2591f;
    --glow: rgb(255 107 53 / 0.45);
    --mark-upper: #0d0d0f;
    --mark-lower: #ff6b35;
    --ink: #0d0d0f;
    --ink-hover: #2a2a2f;
    --radius-sm: 10px;
    --radius-lg: 28px;
    --radius-xl: 32px;
    --touch: 44px;
    --nav-h: 68px;
    --gutter: clamp(20px, 4vw, 32px);
    --pop-inset: 24px;
    --pop-width: 384px;
    --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
    --font-ui: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
    --font-num: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --z-nav: 50;
    --z-ghost: 80;
    --z-skip: 100;
    --edge: rgb(17 17 17 / 0.08);
    --shadow-window: 0 0 0 1px rgb(17 17 17 / 0.06), 0 2px 4px rgb(20 20 30 / 0.05), 0 16px 32px -12px rgb(20 20 30 / 0.16), 0 44px 80px -40px rgb(20 20 30 / 0.36);
    --shadow-lift: 0 0 0 1px rgb(17 17 17 / 0.06), 0 1px 2px rgb(20 20 30 / 0.06), 0 8px 18px -6px rgb(20 20 30 / 0.16);
    --shadow-card: 0 0 0 1px rgb(17 17 17 / 0.06), 0 1px 2px rgb(20 20 30 / 0.05), 0 6px 14px -8px rgb(20 20 30 / 0.12);
}
}

@layer base {
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("fonts/space-grotesk.woff2") format("woff2"); }
html { background: var(--bg); scroll-padding-block-start: calc(var(--nav-h) + 16px); }
body { min-block-size: 100svh; background: var(--bg); color: var(--text); font-family: var(--font-ui); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
a { color: inherit; }
::selection { background: var(--accent); color: white; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.sprite { position: absolute; inline-size: 0; block-size: 0; overflow: clip; }
.sprite__solid { fill: currentColor; stroke: none; }
.container { inline-size: 100%; max-inline-size: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.u-sr-only { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.u-nowrap { white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 16px; inset-block-start: -64px; z-index: var(--z-skip); padding: 12px 16px; border-radius: var(--radius-sm); background: var(--accent); color: white; font-weight: 600; text-decoration: none; }
.skip-link:focus { inset-block-start: 12px; }
.eyebrow { display: inline-block; color: var(--text-3); font-size: 13px; font-weight: 500; }
.section-head { max-inline-size: 760px; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.25rem, 1.5rem + 3.2vw, 4rem); line-height: 0.96; letter-spacing: -0.045em; text-wrap: balance; }
.tone { display: block; color: var(--tone); }
.tone--accent { color: var(--accent-display); }
.section-text { margin-block-start: 22px; max-inline-size: 540px; color: var(--text-2); font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem); line-height: 1.55; text-wrap: pretty; }
.icon { flex: none; inline-size: 1em; block-size: 1em; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
}

@layer components {
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-block-size: var(--touch); padding-inline: 18px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease); }
.btn:active { transform: scale(0.97); }
.btn--lg { min-block-size: 54px; padding-inline: 28px; font-size: 16px; }
.btn--primary { background: var(--accent); color: white; box-shadow: 0 10px 22px -8px var(--glow); }
.btn--ghost { background: var(--bg-2); color: var(--text); }
.btn--dark { background: var(--ink); color: white; }
.btn__icon { inline-size: 16px; block-size: 16px; stroke-width: 2.2; }

.demo-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-family: var(--font-num); font-size: 12px; white-space: nowrap; }

.segmented { display: inline-flex; align-self: flex-start; padding: 4px; border-radius: 999px; background: var(--well); }
.segmented button { min-block-size: 36px; padding-inline: 16px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background-color 0.25s var(--ease), color 0.25s var(--ease); }
.segmented button[aria-pressed="true"] { background: white; color: var(--text); box-shadow: 0 1px 2px rgb(20 20 30 / 0.14); }
.segmented--small button { min-block-size: 30px; padding-inline: 12px; font-size: 13px; }

/* Navigation */
.nav { position: sticky; inset-block-start: 0; z-index: var(--z-nav); block-size: var(--nav-h); padding-block-start: env(safe-area-inset-top, 0px); background: color-mix(in oklab, var(--bg) 72%, transparent); border-block-end: 1px solid transparent; -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease); }
.nav.is-scrolled { border-block-end-color: var(--line); background: color-mix(in oklab, var(--bg) 86%, transparent); }
.nav__inner { display: flex; align-items: center; gap: 24px; block-size: 100%; }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; min-block-size: var(--touch); color: var(--text); text-decoration: none; }
.nav__logo { inline-size: 28px; block-size: 28px; }
.nav__name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.nav__menu { display: none; gap: 2px; margin-inline-start: auto; }
.nav__actions { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav__link { display: inline-flex; align-items: center; min-block-size: var(--touch); padding-inline: 12px; border-radius: 999px; color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: color 0.2s var(--ease); }

.mark { fill: currentColor; }
.mark__upper { fill: var(--mark-upper); }
.mark__lower { fill: var(--mark-lower); }

/* Hero */
.hero { padding-block-start: clamp(36px, 5vw, 72px); text-align: center; }
.hero__title { font-family: var(--font-display); font-weight: 700; max-inline-size: 16ch; margin-inline: auto; font-size: clamp(2.75rem, 1.2rem + 7vw, 5.5rem); line-height: 0.95; letter-spacing: -0.05em; text-wrap: balance; }
.hero__dot { display: inline-block; inline-size: 0.2em; block-size: 0.2em; margin-inline-start: 0.04em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff9a6e, var(--accent) 55%, #e8531d); }
.hero__lead { display: grid; justify-items: center; gap: 30px; margin-block-start: 28px; }
.hero__text { max-inline-size: 30ch; color: var(--text-2); font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.4; text-wrap: balance; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin-block-start: 18px; color: var(--text-3); font-size: 14px; }
.hero__proof li { display: inline-flex; align-items: center; }
.hero__proof li::before { content: "·"; margin-inline: 7px; }
.hero__proof li:first-child::before { content: none; }

/* The working demo */
.stage { --p: 0; position: relative; margin-block-start: clamp(40px, 6vw, 72px); border-radius: var(--radius-lg); background: var(--bg-2); overflow: clip; text-align: start; }
.stage__bar { position: relative; display: flex; align-items: center; block-size: 36px; padding-inline: 16px; background: rgb(255 255 255 / 0.7); border-block-end: 1px solid var(--line); color: var(--text-2); font-size: 13px; }
.stage__menus { display: none; gap: 18px; }
.stage__menus li:first-child { color: var(--text); font-weight: 650; }
.stage__status { position: relative; display: inline-flex; align-items: center; justify-content: center; inline-size: 32px; block-size: 26px; border-radius: 7px; color: var(--text); transition: background-color 0.15s var(--ease); }
.stage__mark { inline-size: 18px; block-size: 18px; }
.stage__percent { position: absolute; inset-inline-start: 100%; color: var(--text); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.stage__extras { display: inline-flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.stage__extras .icon { font-size: 17px; }
.stage[data-target="true"] .stage__status { background: var(--hover); }
.stage__body { display: flex; flex-direction: column; }
.stage__desk { display: flex; flex-direction: column; padding: 20px clamp(16px, 3vw, 28px) 0; }
.stage__spot { display: grid; justify-items: center; gap: 8px; padding-block: 28px 32px; margin-block: auto; }
.stage__hint { color: var(--text-2); font-size: 15px; }
.js .stage__hint { min-block-size: 1.5em; }
html:not(.js) .stage__hint { visibility: hidden; }
.note { position: relative; inline-size: min(460px, 100%); margin-inline: auto; margin-block: 0 clamp(20px, 3vw, 32px); padding: 11px 14px 14px; border-radius: 14px; background: white; box-shadow: var(--shadow-card); font-size: 14px; line-height: 1.45; }
.note__to { margin-block-end: 9px; padding-block-end: 9px; border-block-end: 1px solid var(--line); font-size: 13px; }
.note__to span { margin-inline-end: 7px; color: var(--text-3); }
.note__body { min-block-size: 4.35em; color: var(--text); }
.note__link { color: var(--accent-text); overflow-wrap: anywhere; }
.note__caret { display: inline-block; inline-size: 1.5px; block-size: 1.05em; margin-inline-start: 1px; vertical-align: -0.16em; background: var(--accent); }
.note__key { position: absolute; inset-block-start: 8px; inset-inline-end: 10px; padding: 1px 7px; border-radius: 6px; background: var(--accent); color: white; font-size: 12px; font-weight: 600; opacity: 0; transition: opacity 0.16s var(--ease); }
.stage.is-pasting .note__key { opacity: 1; }
.stage__readout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: calc(-1 * clamp(16px, 3vw, 28px)); border-block-start: 1px solid var(--line); }
.stage__readout > div { padding: clamp(14px, 2vw, 18px) clamp(16px, 3vw, 28px); border-inline-end: 1px solid var(--line); }
.stage__readout > div:nth-child(2) { border-inline-end: 0; }
.stage__clip { grid-column: 1 / -1; border-block-start: 1px solid var(--line); border-inline-end: 0 !important; }
.stage__readout dt { color: var(--text-3); font-size: 13px; }
.stage__readout dd { margin-block-start: 6px; overflow: clip; font-family: var(--font-num); font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; white-space: nowrap; text-overflow: ellipsis; }
.stage__clip dd { color: var(--text-3); }
.stage[data-state="done"] .stage__clip dd, .stage.has-link .stage__clip dd { color: var(--accent-text); }
.stage__window { display: grid; justify-items: center; padding: 16px; border-block-start: 1px solid var(--line); }

.desk-file { display: grid; justify-items: center; padding: 14px 18px 10px; border: 0; border-radius: 16px; background: transparent; cursor: grab; touch-action: none; transition: opacity 0.2s var(--ease), background-color 0.15s var(--ease); }
.desk-file:active { cursor: grabbing; }
.desk-file__name { margin-block-start: 10px; font-size: 13px; font-weight: 500; }
.desk-file__size { color: var(--text-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.stage[data-state="uploading"] .desk-file, .stage[data-state="done"] .desk-file { opacity: 0; pointer-events: none; }
.stage.is-dragging .desk-file { opacity: 0.32; }
.stage[data-state="uploading"] .stage__hint, .stage[data-state="done"] .stage__hint { opacity: 0; }

.ghost { position: fixed; inset-block-start: 0; inset-inline-start: 0; z-index: var(--z-ghost); pointer-events: none; filter: drop-shadow(0 14px 18px rgb(20 20 30 / 0.28)); }
.ghost__cursor { position: absolute; inset-block-end: -12px; inset-inline-end: -8px; inline-size: 30px; block-size: 30px; fill: white; stroke: black; stroke-width: 1.1; }

/* File artwork */
.art { position: relative; display: grid; place-items: center; flex: none; inline-size: 30px; block-size: 30px; }
.art--photo { overflow: clip; border-radius: 6px; }
.art--photo img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.art--doc { --kind: #5c5c63; }
.art--doc .icon { inline-size: 100%; block-size: 100%; fill: white; stroke: var(--faint); stroke-width: 0.7; }
.art--doc b { position: absolute; inset-block-end: 3px; padding-inline: 2.5px; border-radius: 1.5px; background: var(--kind); color: white; font-size: 6.5px; font-weight: 700; line-height: 1.5; letter-spacing: 0.02em; }
.art--doc[data-kind="pdf"] { --kind: oklch(0.55 0.2 27); }
.art--doc[data-kind="mov"] { --kind: oklch(0.5 0.1 215); }
.art--doc[data-kind="xlsx"] { --kind: oklch(0.5 0.14 150); }
.art--doc[data-kind="png"] { --kind: oklch(0.5 0.14 300); }
.art--large { inline-size: 96px; block-size: 96px; }
.art--large b { inset-block-end: 12px; padding-inline: 7px; border-radius: 4px; font-size: 15px; }

/* The window */
.pop { position: relative; display: flex; flex-direction: column; inline-size: min(var(--pop-width), 100%); block-size: 580px; border-radius: 18px; background: var(--bg-3); box-shadow: var(--shadow-window); }
.pop__arrow { display: none; position: absolute; inset-block-start: -7px; inset-inline-start: calc(50% - 9px); inline-size: 18px; block-size: 18px; rotate: 45deg; border-start-start-radius: 4px; background: var(--bg-3); box-shadow: -1px -1px 0 rgb(17 17 17 / 0.06); }
.pop__head { position: relative; display: flex; align-items: center; gap: 9px; block-size: 46px; padding-inline: 14px 8px; }
.pop__logo { flex: none; inline-size: 24px; block-size: 24px; border-radius: 6.5px; box-shadow: 0 1px 1px rgb(20 20 30 / 0.12); }
.pop__bucket { flex: 1; overflow: clip; font-size: 14px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.pop__more { display: grid; place-items: center; inline-size: 26px; block-size: 26px; color: var(--text-2); font-size: 16px; }
.pop__more .icon { stroke-width: 2.4; }
.pop__tools { display: flex; align-items: center; gap: 8px; padding-inline: 14px; }
.pop__search { display: flex; flex: 1; align-items: center; gap: 6px; block-size: 30px; padding-inline: 9px; border-radius: 9px; background: var(--well); color: var(--text-2); font-size: 13px; }
.seg { display: inline-flex; flex: none; padding: 2px; border-radius: 9px; background: var(--well); color: var(--text-2); font-size: 12px; font-weight: 500; }
.seg > * { display: grid; place-items: center; inline-size: 62px; block-size: 26px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: inherit; font: inherit; }
.seg .is-on, .seg [aria-pressed="true"] { background: white; color: var(--text); box-shadow: 0 1px 2px rgb(20 20 30 / 0.16); }
.seg--icons > * { inline-size: 28px; block-size: 22px; font-size: 14px; }
.pop__list { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 10px 14px 12px; -webkit-mask-image: linear-gradient(to bottom, transparent, black 8px, black calc(100% - 14px), transparent); mask-image: linear-gradient(to bottom, transparent, black 8px, black calc(100% - 14px), transparent); }
.pop__list::-webkit-scrollbar { display: none; }
.pop__section + .pop__section { margin-block-start: 14px; }
.pop__title { padding-inline: 8px; margin-block-end: 2px; color: var(--text-2); font-size: 11px; font-weight: 500; }
.pop__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; block-size: 56px; padding-inline: 16px 12px; border-block-start: 1px solid var(--line); color: var(--text-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.pop__upload { display: inline-flex; align-items: center; gap: 6px; block-size: 32px; padding-inline: 14px; border-radius: 999px; background: var(--accent); box-shadow: 0 4px 10px -2px var(--glow); color: white; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pop__upload .icon { font-size: 13px; stroke-width: 2.6; }
.wbtn { display: inline-grid; place-items: center; block-size: 28px; padding-inline: 12px; border: 0; border-radius: 8px; background: var(--ink); color: white; font-size: 12px; font-weight: 600; white-space: nowrap; }
.wbtn:active { transform: scale(0.97); }
.wbtn--quiet { background: var(--bg-5); color: var(--text); }

.rows { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 10px; block-size: 44px; padding-inline: 8px; border-radius: 10px; transition: background-color 0.12s var(--ease); }
.row__text { display: flex; flex: 1; flex-direction: column; gap: 1px; }
.row__name { overflow: clip; font-size: 13px; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis; }
.row__meta { color: var(--text-2); font-size: 11px; line-height: 1.25; font-variant-numeric: tabular-nums; }
.row.is-new { animation: row-new 1.8s var(--ease) both; }
@keyframes row-new { from { background-color: var(--accent-soft); } to { background-color: transparent; } }

.pop__list.is-grid .rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-block-start: 6px; padding: 1px; }
.pop__list.is-grid .row { flex-direction: column; align-items: stretch; gap: 0; block-size: auto; padding: 0; overflow: clip; border-radius: 14px; background: var(--bg-4); box-shadow: var(--shadow-card); }
.pop__list.is-grid .art { inline-size: 100%; block-size: 108px; }
.pop__list.is-grid .art--photo { border-radius: 0; }
.pop__list.is-grid .art--doc { background: var(--well); }
.pop__list.is-grid .art--doc .icon { inline-size: 60px; block-size: 60px; }
.pop__list.is-grid .art--doc b { inset-block-end: 30px; padding-inline: 4px; font-size: 9px; }
.pop__list.is-grid .row__text { padding: 9px 11px 10px; }
.pop__list.is-grid .row__name { font-size: 12px; font-weight: 500; }

.xfer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.32s var(--ease); }
.xfer.is-open { grid-template-rows: 1fr; }
.xfer__clip { display: flow-root; overflow: clip; min-block-size: 0; }
.xfer__card { display: grid; margin: 10px 14px 2px; padding: 14px 12px; border-radius: 14px; background: var(--bg-4); box-shadow: var(--shadow-card); }
.xfer__run, .xfer__done { display: flex; grid-area: 1 / 1; align-items: center; gap: 12px; transition: opacity 0.1s linear; }
.xfer__done { opacity: 0; }
.stage[data-state="done"] .xfer__run { opacity: 0; }
.stage[data-state="done"] .xfer__done { opacity: 1; transition: opacity 0.18s var(--ease) 0.1s; }
.xfer__mark { inline-size: 32px; block-size: 32px; }
.xfer__text { display: flex; flex: 1; flex-direction: column; gap: 2px; }
.xfer__line { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; }
.xfer__name { overflow: clip; white-space: nowrap; text-overflow: ellipsis; }
.xfer__pct { flex: none; font-variant-numeric: tabular-nums; }
.xfer__status, .xfer__done .xfer__text span { overflow: clip; color: var(--text-2); font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; text-overflow: ellipsis; }
.xfer__done b { font-size: 13px; font-weight: 600; }
.xfer__stop { display: grid; place-items: center; inline-size: 26px; block-size: 26px; color: var(--text-2); font-size: 14px; }
.xfer__check { display: grid; place-items: center; flex: none; inline-size: 32px; block-size: 32px; border-radius: 50%; background: var(--accent); color: white; font-size: 18px; }
.xfer__check .icon { stroke-width: 2.2; }

.pop__drop { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: inherit; background: color-mix(in oklch, var(--bg-3) 96%, transparent); opacity: 0; pointer-events: none; transition: opacity 0.14s var(--ease); }
.pop__drop::before { content: ""; position: absolute; inset: 8px; border: 1.5px solid var(--accent); border-radius: 12px; background: color-mix(in oklch, var(--accent) 7%, transparent); }
.pop__drop b { font-size: 20px; font-weight: 600; }
.pop__drop span { color: var(--text-2); font-size: 13px; }
.pop__drop-mark { inline-size: 76px; block-size: 76px; margin-block-end: 14px; }
.stage[data-target="true"] .pop__drop { opacity: 1; }

.pmark { --close: var(--p, 0); display: grid; }
.pmark > svg { grid-area: 1 / 1; inline-size: 100%; block-size: 100%; }
.pmark__base { fill: currentColor; }
.pmark__fill { fill: var(--accent); -webkit-mask-image: conic-gradient(black calc(var(--close) * 1turn), transparent 0); mask-image: conic-gradient(black calc(var(--close) * 1turn), transparent 0); }
.pmark__upper { translate: calc(var(--close) * 52.96px) calc(var(--close) * -16.46px); }
.pmark__lower { translate: calc(var(--close) * -52.96px) calc(var(--close) * 16.46px); }
.xfer__mark .pmark__base { fill: var(--well); }
.stage[data-state="uploading"] .stage__mark .pmark__base { fill: rgb(13 13 15 / 0.2); }

/* Encryption */
.ledger { padding-block-start: clamp(72px, 10vw, 136px); }
.ledger__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-block-start: 48px; }
.vault { align-self: start; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius-lg); background: var(--bg-2); }
.vault__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.vault__bucket { display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 600; }
.vault__bucket .demo-badge { font-weight: 400; white-space: normal; }
.vault__rows { margin-block-start: 20px; }
.vault__row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-block-size: 58px; border-block-start: 1px solid var(--line); }
.vault__name { overflow: clip; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.vault__size { color: var(--text-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.vault.is-sealed .vault__name { color: var(--text-2); font-family: var(--font-num); font-size: 12px; letter-spacing: -0.01em; }
.vault.is-sealed .art--doc { --kind: #8b8b92; }
.vault.is-sealed .art--doc .icon { fill: var(--bg-5); stroke: var(--faint); }
.vault.is-sealed .art--doc b { color: white; }

.story { padding-block-start: clamp(72px, 10vw, 136px); }
.story__steps { max-inline-size: 68ch; }
.story__step { padding-block: 20px; border-block-start: 1px solid var(--line); }
.story__step h3 { font-family: var(--font-display); font-weight: 700; margin-block-start: 8px; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.story .story__step h3 { margin-block-start: 0; }
.story__step p { margin-block-start: 8px; max-inline-size: 460px; color: var(--text-2); font-size: 15px; line-height: 1.55; }

/* Tiles */
.more { padding-block-start: clamp(72px, 10vw, 136px); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; margin-block-start: 48px; }
.tile { display: flex; flex-direction: column; gap: 28px; padding: clamp(20px, 3vw, 28px); overflow: clip; border-radius: var(--radius-lg); background: var(--bg-2); }
.tile--wide, .tile--full { grid-column: 1 / -1; flex-flow: row wrap; align-items: center; }
.tile--wide > *, .tile--full > * { flex: 1 1 280px; }
.tile--wide > .connect { flex: 1.5 1 320px; }
.tile__copy h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.tile__copy p { margin-block-start: 10px; color: var(--text-2); font-size: 15px; line-height: 1.55; }

.connect { display: flex; flex-direction: column; gap: 12px; }
.connect__providers { display: flex; flex-wrap: wrap; gap: 6px; }
.connect__providers button { min-block-size: 30px; padding-inline: 11px; border: 0; border-radius: 999px; background: var(--well); color: var(--text-2); font-size: 12px; font-weight: 500; white-space: nowrap; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.connect__providers button[aria-pressed="true"] { background: var(--ink); color: white; }
.form { border-radius: 12px; background: var(--bg-3); box-shadow: var(--shadow-card); }
.form > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-block-size: 40px; padding-inline: 12px; font-size: 13px; }
.form > div + div { box-shadow: inset 0 1px 0 var(--line); }
.form dt { flex: none; color: var(--text-2); }
.form dd { overflow: clip; font-family: var(--font-num); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.form__secret { display: inline-flex; align-items: center; gap: 8px; letter-spacing: 0.08em; }
.form__secret .icon { font-size: 15px; color: var(--text-2); }
.connect__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.connect__status { color: var(--text-3); font-size: 13px; }
.connect__status.is-ok { color: var(--accent-text); }

.links { display: flex; flex-direction: column; gap: 16px; margin-block-start: auto; }
.links__body { display: flex; align-items: center; gap: 16px; }
.links__qr { flex: none; padding: 8px; border-radius: 12px; background: white; box-shadow: var(--shadow-card); }
.links__qr img { inline-size: 88px; block-size: 88px; }
.links__url { color: var(--text-3); font-family: var(--font-num); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.links__url b { color: var(--accent-text); font-weight: 500; }

.limit { display: flex; flex-direction: column; gap: 12px; margin-block-start: auto; }
.limit__value { display: flex; align-items: baseline; gap: 8px; }
.limit__value b { font-family: var(--font-num); font-size: 44px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; line-height: 1; }
.limit__value span { color: var(--text-3); font-size: 13px; }
.limit__range { inline-size: 100%; block-size: 24px; margin: 0; accent-color: var(--accent); }
.limit__note { color: var(--text-3); font-size: 13px; font-variant-numeric: tabular-nums; }

.keys { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-block-start: 20px; }
.keys li { display: flex; align-items: center; gap: 5px; }
.keys span { margin-inline-start: 4px; color: var(--text-3); font-size: 13px; }
.key { display: grid; place-items: center; min-inline-size: 32px; block-size: 32px; padding-inline: 8px; border: 1px solid var(--line-2); border-radius: 8px; background: white; box-shadow: 0 1px 0 rgb(17 17 17 / 0.1); color: var(--text); font-size: 13px; font-weight: 500; transition: background-color 0.12s var(--ease), transform 0.08s var(--ease); }
.key:active, .key.is-pressed { background: var(--accent); transform: translateY(1px); color: white; }
.browse { position: relative; padding: 8px; border-radius: 16px; background: var(--bg-3); box-shadow: var(--shadow-card); }
.browse__list:focus-visible { outline-offset: 6px; border-radius: 10px; }
.browse .row { cursor: default; }
.row.is-cursor { background: var(--hover); }
.browse__list:focus .row.is-cursor { background: var(--accent-soft); }
.row__input { inline-size: 100%; padding: 0 3px; border: 1px solid var(--accent); border-radius: 4px; background: var(--well); color: var(--text); font-size: 13px; line-height: 1.25; outline: none; }
.toast { position: absolute; inset-block-end: 12px; inset-inline-start: 50%; translate: -50% 0; display: flex; align-items: center; gap: 12px; max-inline-size: calc(100% - 24px); block-size: 34px; padding-inline: 14px; border-radius: 999px; background: white; box-shadow: var(--shadow-lift); font-size: 12px; white-space: nowrap; }
.toast span { overflow: clip; text-overflow: ellipsis; }
.toast button { flex: none; padding: 0; border: 0; background: transparent; color: var(--accent-text); font-size: 12px; font-weight: 600; }
.peek { position: absolute; inset: 8px; display: flex; flex-direction: column; overflow: clip; border-radius: 12px; background: var(--bg-4); box-shadow: var(--shadow-window); }
.peek__bar { display: grid; place-items: center; flex: none; block-size: 30px; padding-inline: 12px; color: var(--text-2); font-size: 12px; font-weight: 500; }
.peek__bar span { overflow: clip; max-inline-size: 100%; white-space: nowrap; text-overflow: ellipsis; }
.peek__body { display: grid; flex: 1; place-items: center; min-block-size: 0; overflow: clip; }
.peek__body img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.peek__body .art { inline-size: 110px; block-size: 110px; }
.peek__body .art b { inset-block-end: 16px; padding-inline: 8px; border-radius: 4px; font-size: 16px; }

.resume { display: flex; flex-direction: column; gap: 10px; }
.resume__head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.resume__name { overflow: clip; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.resume__pct { flex: none; font-family: var(--font-num); font-weight: 500; font-variant-numeric: tabular-nums; }
.resume__track { position: relative; block-size: 6px; overflow: clip; border-radius: 3px; background: var(--bg-5); }
.resume__fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left center; transform: scaleX(var(--fill, 1)); }
.resume__tick { position: absolute; inset-block: 0; inline-size: 2px; background: var(--bg-2); }
.resume__tick--a { inset-inline-start: 34%; }
.resume__tick--b { inset-inline-start: 61%; }
.resume__status { color: var(--text-2); font-size: 13px; min-block-size: 1.5em; }
.resume__events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-block-start: 12px; border-block-start: 1px solid var(--line); }
.resume__events li { display: flex; flex-direction: column; gap: 2px; color: var(--text-3); font-size: 13px; transition: color 0.2s var(--ease); }
.resume__events b { font-family: var(--font-num); font-size: 12px; font-weight: 500; }
.resume__events li.is-past { color: var(--text); }

.strip { margin-block-start: auto; }
.strip li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding-block: 12px; border-block-end: 1px solid var(--line); font-size: 13px; }
.strip li:last-child { border-block-end: 0; padding-block-end: 0; }
.strip span { color: var(--text-3); }
.strip b { font-family: var(--font-num); font-size: 12px; font-weight: 500; }
.strip .is-gone b { color: var(--text-3); text-decoration: line-through; }

.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 20px 32px; }
.ways dt { font-family: var(--font-display); font-weight: 700; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.ways dd { margin-block-start: 4px; color: var(--text-2); font-size: 14px; line-height: 1.5; }

/* Closing sections */
.privacy { padding-block-start: clamp(72px, 10vw, 136px); }
.privacy__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 64px; }
.privacy__title { font-family: var(--font-display); font-weight: 700; flex: 1 1 480px; font-size: clamp(3rem, 1.5rem + 6.4vw, 6.5rem); line-height: 0.94; letter-spacing: -0.05em; text-wrap: balance; }
.privacy__title span { display: block; color: var(--tone); }
.privacy__text { flex: 0 1 440px; color: var(--text-2); font-size: 18px; line-height: 1.55; }

.faq { padding-block-start: clamp(72px, 10vw, 136px); }
.faq__layout { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 48px; margin-block-start: 40px; }
.faq__title { margin-block-start: 0; }
.faq__list { border-block-start: 1px solid var(--line); }
.faq__list details { border-block-end: 1px solid var(--line); }
.faq__list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-block-size: 58px; padding-block: 8px; list-style: none; cursor: pointer; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__question { font-family: var(--font-display); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.faq__icon { position: relative; flex: none; inline-size: 14px; block-size: 14px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; inset-inline: 0; inset-block-start: 50%; block-size: 1.5px; margin-block-start: -0.75px; background: var(--text); }
.faq__icon::after { transform: rotate(90deg); }
.faq__list details[open] .faq__icon { transform: rotate(45deg); }
.faq__answer p { max-inline-size: 620px; padding-block-end: 22px; color: var(--text-2); font-size: 15px; line-height: 1.6; }

.cta { padding-block: clamp(88px, 12vw, 160px); }
.cta__panel { display: grid; justify-items: center; gap: 28px; text-align: center; }
.cta__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); line-height: 0.96; letter-spacing: -0.045em; text-wrap: balance; }
.cta__icon { inline-size: 112px; block-size: 112px; border-radius: 26px; box-shadow: 0 0 0 1px rgb(17 17 17 / 0.06), 0 24px 48px -16px rgb(20 20 30 / 0.4); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta__hint { margin-block-start: -10px; color: var(--text-3); font-size: 14px; }

.footer { border-block-start: 1px solid var(--line); }
.footer__inner { display: flex; flex-direction: column; gap: 40px; padding-block: 56px 40px; }
.footer__text { max-inline-size: 300px; margin-block-start: 14px; color: var(--text-3); font-size: 14px; line-height: 1.55; }
.footer__nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 32px; }
.footer__group { display: flex; flex-direction: column; }
.footer__group-title { margin-block-end: 6px; color: var(--text); font-weight: 600; }
.footer__group a { display: inline-flex; align-items: center; min-block-size: 32px; color: var(--text-3); font-size: 14px; text-decoration: none; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px 40px; color: var(--text-3); font-size: 13px; }

.legal-page { padding-block: clamp(48px, 9vw, 112px); }
.legal-hero h1 { font-family: var(--font-display); font-weight: 700; margin-block-start: 16px; font-size: clamp(2.75rem, 1.6rem + 5vw, 5.5rem); line-height: 0.95; letter-spacing: -0.05em; }
.legal-hero p:last-child { margin-block-start: 24px; max-inline-size: 560px; color: var(--text-2); font-size: 18px; line-height: 1.55; }
.legal-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; max-inline-size: 68ch; margin-block-start: clamp(40px, 6vw, 72px); }
.legal-card h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.legal-card p { margin-block-start: 12px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.legal-card a { color: var(--accent-text); text-underline-offset: 3px; }

.status-page { display: grid; place-items: center; min-block-size: 100svh; padding: 24px; }
.status-page__panel { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; inline-size: 100%; max-inline-size: 560px; }
.status-page__brand { inline-size: 44px; block-size: 44px; margin-block-end: 16px; }
.status-page__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.75rem, 1.8rem + 4.5vw, 5rem); line-height: 0.95; letter-spacing: -0.05em; }
.status-page__text { color: var(--text-2); font-size: 17px; line-height: 1.55; }
.status-page__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 12px; }

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

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
    .faq__icon { transition: transform 0.3s var(--ease); }
    .note__caret { animation: caret 1.1s steps(1, end) infinite; }
    .btn, .wbtn { transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.16s var(--ease); }
    .faq__list details::details-content { block-size: 0; overflow: clip; transition: block-size 0.3s var(--ease), content-visibility 0.3s allow-discrete; }
    .faq__list details[open]::details-content { block-size: auto; }
    :root { interpolate-size: allow-keywords; }
}

@media (prefers-reduced-motion: reduce) {
    .xfer { transition: none; }
    .row.is-new { animation: none; }
}

@media (hover: hover) and (pointer: fine) {
    .btn--primary:hover { background: var(--accent-hover); }
    .btn--ghost:hover { background: var(--bg-5); }
    .btn--dark:hover { background: var(--ink-hover); }
    .nav__link:hover { color: var(--text); }
    .footer__group a:hover { color: var(--text); }
    .legal-card a:hover { color: var(--text); }
    .desk-file:hover { background: var(--hover); }
    .row:hover { background: var(--hover); }
    .pop__list.is-grid .row:hover { background: var(--bg-2); }
    .segmented button[aria-pressed="false"]:hover, .connect__providers button[aria-pressed="false"]:hover { color: var(--text); }
    .seg button[aria-pressed="false"]:hover { color: var(--text); }
    .key:hover { background: var(--bg-2); }
    .wbtn--quiet:hover { background: #dcdce0; }
    .toast button:hover { color: var(--text); }
}

@media (min-width: 620px) {
    .stage__readout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); }
    .stage__readout > div:nth-child(2) { border-inline-end: 1px solid var(--line); }
    .stage__clip { grid-column: auto; border-block-start: 0; }
}

@media (min-width: 1024px) {
    .nav__menu { display: flex; }
    .nav__actions { margin-inline-start: 10px; }
    .stage__menus { display: flex; }
    .stage__status { position: absolute; inset-inline-end: calc(var(--pop-inset) + var(--pop-width) / 2 - 16px); }
    .stage__body { flex-direction: row; }
    .stage__desk { flex: 1 1 auto; }
    .stage__window { flex: none; inline-size: calc(var(--pop-width) + 2 * var(--pop-inset)); padding: 14px var(--pop-inset) var(--pop-inset); border-block-start: 0; border-inline-start: 1px solid var(--line); }
    .pop { block-size: 620px; }
    .pop__arrow { display: block; }
    .ledger__layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; }
    .vault { order: 1; }
    .story .story__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; max-inline-size: none; margin-block-start: 48px; }
    .tile--wide { grid-column: span 2; }
    .faq__layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer__inner { flex-direction: row; justify-content: space-between; }
    .footer__nav { flex: 0 1 360px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
}

@media (min-width: 1024px) and (min-height: 720px) {
    .vault { position: sticky; inset-block-start: calc(var(--nav-h) + 24px); }
}
}
