/* DriveInventory home page, "the shelf" (first design, 13 November 2026). The page is Aurora light
   (decision 032): white and soft grey bands, 1 px lines, the Mac's own fonts. One dark stage holds
   the shelf of drives, the way a product page holds its product; searches run on it by themselves. */
:root {
  --bg: #FFFFFF;
  --bg-2: #F7F8F8;
  --fill: #F1F3F3;
  --line: #E6E8E9;
  --text: #0B1416;
  --muted: #5B6669;
  --violet: #7C3AED;
  --violet-text: #6D28D9;
  --violet-deep: #5B21B6;
  --tint: #EDE9FE;
  --mint: #14B8A6;
  --mint-text: #047266;
  /* The stage: the app's dark window colours */
  --stage: #0C0B12;
  --stage-2: #141320;
  --stage-line: #26232F;
  --stage-text: #F0EEF6;
  --stage-muted: #A09CB2;
  --stage-violet: #A78BFA;
  --stage-violet-text: #C4B5FD;
  --stage-mint: #5EEAD4;
  --tape: #F1ECDD;
  --tape-ink: #23252A;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, 0, 0, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 72px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
img { display: block; max-width: 100%; }
a { color: var(--violet-text); text-underline-offset: 3px; }
a:hover { color: var(--violet-deep); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--violet); color: #FFFFFF; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--violet-text); }
.lede { font-size: clamp(18px, .6vw + 15px, 21px); line-height: 1.5; color: var(--muted); }
.faint { font-size: 14px; color: var(--muted); }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 600 15px/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .14s var(--ease), border-color .14s var(--ease), color .14s var(--ease); }
.btn:hover { color: var(--text); border-color: #CBD0D2; }
.btn-primary { background: var(--violet); border-color: var(--violet); color: #FFFFFF; }
.btn-primary:hover { background: var(--violet-deep); border-color: var(--violet-deep); color: #FFFFFF; }
.btn-ink { background: var(--violet); border-color: var(--violet); color: #FFFFFF; }
.btn-ink:hover { background: var(--violet-deep); border-color: var(--violet-deep); color: #FFFFFF; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text); text-decoration: none; }
.more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .14s var(--ease); }
.more:hover svg { transform: translateX(3px); }

/* ---- Header ---- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 41; background: #FFFFFF; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--text); }
.nav .btn-ink { background: var(--violet); border-color: var(--violet); color: #FFFFFF; }
.nav .btn-ink:hover { background: var(--violet-deep); border-color: var(--violet-deep); color: #FFFFFF; }
.nav .btn { min-height: 38px; padding: 0 18px; font-size: 14px; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* ---- Hero: the whole top is the shelf. The title on the left, the search on the right, and
   the shelf across the bottom; a search types itself and the drives that hold the answer rise. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--stage); color: var(--stage-text); padding-block: clamp(40px, 4.5vw, 64px) 0; }
.hero .aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; z-index: -1; background: linear-gradient(transparent, var(--stage)); pointer-events: none; }
.hero .aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero .aurora i:nth-child(1) { width: 46%; height: 70%; left: -12%; top: 34%; background: radial-gradient(closest-side, rgba(124, 58, 237, .8), transparent); }
.hero .aurora i:nth-child(2) { width: 40%; height: 64%; right: -8%; top: -24%; background: radial-gradient(closest-side, rgba(94, 234, 212, .42), transparent); }
.hero .aurora i:nth-child(3) { width: 36%; height: 50%; left: 40%; bottom: -16%; background: radial-gradient(closest-side, rgba(143, 184, 238, .3), transparent); }
@media (prefers-reduced-motion: no-preference) {
  .hero .aurora i:nth-child(1) { animation: drift-a 40s ease-in-out infinite alternate; }
  .hero .aurora i:nth-child(2) { animation: drift-b 40s ease-in-out infinite alternate; }
  .hero .aurora i:nth-child(3) { animation: drift-a 52s ease-in-out infinite alternate-reverse; }
}
@keyframes drift-a { to { transform: translate(14%, -8%) scale(1.1); } }
@keyframes drift-b { to { transform: translate(-16%, 10%) scale(1.15); } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 clamp(32px, 5vw, 72px); align-items: start; }
.hero-copy { display: grid; gap: 20px; align-content: start; padding-top: 8px; }
.hero .eyebrow { color: var(--stage-violet-text); }
.hero h1 { font-size: clamp(44px, 4vw + 10px, 72px); line-height: 1; letter-spacing: -.035em; }
.hero h1 span { color: var(--stage-violet); }
.hero .lede { color: var(--stage-muted); max-width: 30em; font-size: clamp(17px, .5vw + 14px, 19px); }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 4px; }
.hero .more { color: var(--stage-text); }
.hero .more:hover { color: var(--stage-violet-text); }
.hero .facts { font-size: 14px; color: var(--stage-muted); }
.hero .facts span + span::before { content: "·"; margin: 0 9px; }
.hero .shelf { grid-column: 1 / -1; }

.finder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; }
.field { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.field:focus-within { border-color: var(--stage-violet); }
.field svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--stage-muted); stroke-width: 1.8; stroke-linecap: round; }
.field input { flex: 1; width: 0; min-width: 0; border: 0; outline: 0; background: none; color: var(--stage-text); font: 400 19px var(--body); -webkit-appearance: none; appearance: none; }
.field input::-webkit-search-cancel-button { display: none; }
.field .caret { width: 2px; height: 22px; background: var(--stage-violet); border-radius: 1px; }
@media (prefers-reduced-motion: no-preference) { .field .caret { animation: blink 1.1s steps(1) infinite; } }
.field.typing .caret { animation: none; }
@keyframes blink { 50% { opacity: 0; } }
.field:focus-within .caret { display: none; }
.field .demo-tag { flex: none; font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(160, 156, 178, .6); }
.field .mode { flex: none; padding: 3px 9px; border-radius: 999px; background: rgba(167, 139, 250, .18); color: var(--stage-violet-text); font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* The answer: a card under the search */
.answer { margin-top: 4px; border-radius: 16px; background: rgba(20, 19, 32, .78); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden; min-height: 166px; transition: opacity .22s var(--ease), transform .22s var(--ease); }
.answer.hidden { opacity: .3; }
.answer-head { padding: 14px 18px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 3px; }
.answer-head b { font-family: var(--display); font-size: 17px; font-weight: 600; }
.answer-head span { font: 400 12px var(--mono); color: var(--stage-muted); }
.answer-head span.v { color: var(--stage-violet-text); }
.answer li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 9px 18px; border-top: 1px solid rgba(255, 255, 255, .06); }
.answer li:first-child { border-top: 0; }
.answer .name { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.answer .name mark { background: none; color: var(--stage-violet-text); font-weight: 600; }
.answer .size { font: 400 12px var(--mono); color: var(--stage-muted); text-align: right; font-variant-numeric: tabular-nums; }
.answer .where { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font: 400 11.5px var(--mono); color: var(--stage-muted); }

/* Status dots, as in the app: mint = connected, a ring = not connected */
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--stage-mint); }
.dot.off { background: none; box-shadow: inset 0 0 0 1.5px var(--stage-muted); }

/* The shelf, across the bottom of the hero */
.shelf { position: relative; margin-top: clamp(4px, 1vw, 12px); }
.drives { --s: .9; --vs: 1px; --lift: 36px; display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(6px, 1vw, 14px); padding: 44px clamp(8px, 2vw, 28px) 0; }
@media (min-width: 1600px) { .drives { --s: .96; } }
@media (max-width: 1599px) { .drive[data-small] { display: none; } }
@media (max-width: 1240px) { .drives { --s: .8; } }
.drive { position: relative; flex: none; display: grid; justify-items: center; transition: transform .5s var(--ease), opacity .4s var(--ease), filter .4s var(--ease); }
.drive img { height: min(calc(var(--h) * var(--s) * 1px), calc(var(--h) * var(--vs))); width: auto; user-select: none; -webkit-user-drag: none; }
.drive .tape { position: absolute; left: 50%; top: var(--tape-y, 34%); transform: translateX(-50%) rotate(var(--tilt, -2deg)); max-width: 94%; padding: 3px 5px; background: var(--tape); color: var(--tape-ink); font: 600 clamp(7.5px, calc(var(--vs) * 10), 9.5px)/1.2 var(--mono); letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; clip-path: polygon(2% 0, 98% 4%, 100% 50%, 97% 100%, 1% 96%, 0 50%); }
/* Tall, narrow drives carry their tape along the spine, read from the bottom up */
.drive .tape.v { top: auto; bottom: var(--tape-b, 22%); writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); max-width: none; max-height: 88%; padding: 6px 3px; }
.drive::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 260%; height: 120%; transform: translateX(-50%); z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(167, 139, 250, .75), transparent); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.drives.searching .drive { opacity: .32; filter: saturate(.5); }
.drives.searching .drive.hit { opacity: 1; filter: none; transform: translateY(calc(-1 * var(--lift))); }
.drives.searching .drive.hit::after { opacity: 1; }
.drive.hit .tape { box-shadow: 0 0 0 1.5px var(--stage-violet); }
.plank { height: 18px; border-radius: 4px 4px 0 0; background: linear-gradient(#2A2833, #16151C); border-top: 1px solid rgba(255, 255, 255, .16); }
@media (prefers-reduced-motion: reduce) { .drive, .drive::after, .answer { transition: none; } }
/* Lines from the answer to the drives that hold it: square, thin, behind the answer and the drives */
.links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; overflow: visible; }
.links path { fill: none; stroke: rgba(196, 181, 253, .32); stroke-width: 1; stroke-linejoin: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: link-draw .8s var(--ease) forwards; }
.links.still path { animation: none; stroke-dashoffset: 0; }
@keyframes link-draw { to { stroke-dashoffset: 0; } }

/* On a computer the whole hero fits in the window: shelf at the bottom, drives scaled to the height */
@media (min-width: 1021px) {
  .hero { display: flex; flex-direction: column; min-height: min(calc(100svh - 65px), 1040px); padding-top: clamp(24px, 6svh, 72px); }
  /* The search and its answer end on the same line as the buttons on the left */
  .hero-grid { flex: 1; grid-template-rows: auto 1fr auto; }
  .hero-copy { grid-row: 1; }
  .finder { grid-column: 2; grid-row: 1; align-self: end; justify-self: end; width: min(100%, 540px); }
  .hero .shelf { grid-row: 3; margin-top: 0; }
  .hero h1 { font-size: clamp(44px, min(4vw + 10px, 8.4svh), 76px); }
  .hero-copy { gap: clamp(14px, 2.2svh, 22px); }
  .drives { --vs: clamp(.4px, calc((100svh - 500px) / 320), 1.25px); --lift: clamp(22px, 4svh, 40px); padding-top: calc(var(--lift) + 8px); }
}

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-copy { justify-items: start; }
  .answer { min-height: 0; }
  .drives { --s: .68; justify-content: center; }
  .drive[data-small] { display: none; }
}
@media (max-width: 560px) {
  .drives { --s: .54; gap: 8px; padding-top: 40px; }
  .drive .tape { font-size: 7.5px; padding: 2px 4px; }
  .drive[data-medium] { display: none; }
}

/* Product pictures on a small dark stage (made with Higgsfield from a description only) */
.visual { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 20px; background: var(--stage); }
.visual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(48% 52% at 28% 78%, rgba(124, 58, 237, .5), transparent 72%), radial-gradient(40% 44% at 80% 18%, rgba(94, 234, 212, .16), transparent 72%); }
.visual img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 22px 36px rgba(0, 0, 0, .55)); }

/* ---- Sections ---- */
.section { padding-block: clamp(72px, 9vw, 112px); }
.section.soft { background: var(--bg-2); border-block: 1px solid var(--line); }
.head { display: grid; gap: 12px; max-width: 40em; margin-bottom: 44px; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.head h2 { font-size: clamp(32px, 2.6vw + 16px, 52px); line-height: 1.06; letter-spacing: -.028em; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.features > div { padding: 28px 28px 32px 0; display: grid; gap: 8px; align-content: start; border-bottom: 1px solid var(--line); }
.features > div:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.features svg { width: 24px; height: 24px; fill: none; stroke: var(--violet); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.features h3 { font-size: 19px; letter-spacing: -.01em; }
.features h3 em { font-style: normal; font: 500 10.5px var(--mono); letter-spacing: .08em; color: var(--violet-text); background: var(--tint); padding: 2px 6px; border-radius: 4px; vertical-align: 3px; margin-left: 4px; }
.features p { font-size: 15.5px; color: var(--muted); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } .features > div:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; } .features > div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } .features > div:nth-child(even) { padding-left: 0; border-left: 0; } }


.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { padding: 26px 26px 0 0; display: grid; gap: 8px; align-content: start; }
.steps li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: counter(step); font: 500 12px var(--mono); color: var(--violet-text); }
.steps .visual { order: -1; aspect-ratio: 5 / 4; margin-bottom: 14px; }
.steps h3 { font-size: 20px; letter-spacing: -.01em; }
.steps p { color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 22px; } }

/* ---- Pricing (the ids are shared with site.js and the tests) ---- */
.billing-row { display: flex; justify-content: center; margin-bottom: 28px; }
.billing { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.billing button { min-height: 34px; padding: 0 18px; border: 0; border-radius: 999px; background: none; font: 600 14px var(--body); color: var(--muted); cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--violet); color: #FFFFFF; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.plan { display: grid; gap: 14px; align-content: start; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg); }
.plan.pro { border-color: rgba(124, 58, 237, .45); }
.plan-name { font-family: var(--display); font-size: 22px; font-weight: 600; }
.plan-name em { font-style: normal; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--violet-text); background: var(--tint); padding: 3px 8px; border-radius: 999px; margin-left: 8px; vertical-align: 3px; }
.price { font-family: var(--display); font-size: 44px; font-weight: 600; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.save { font-size: 15px; color: var(--muted); min-height: 1.5em; }
.checks { display: grid; gap: 9px; font-size: 15.5px; }
.checks li { display: flex; gap: 10px; }
.checks li::before { content: ""; width: 14px; height: 8px; margin-top: 6px; flex: none; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }
.founding { font-size: 14.5px; padding: 12px 14px; border-radius: 12px; background: var(--tint); color: var(--violet-deep); }
.plan .btn { justify-self: start; margin-top: 4px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ---- FAQ ---- */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--display); font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--muted); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 44em; }
.more-faq { margin-top: 22px; }

/* ---- Waitlist ---- */
.cta { position: relative; overflow: hidden; padding-block: clamp(80px, 10vw, 128px); text-align: center; background: var(--stage); color: var(--stage-text); }
.cta .aurora { position: absolute; inset: 0; pointer-events: none; }
.cta .aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.cta .aurora i:nth-child(1) { width: 50%; height: 90%; left: -12%; bottom: -40%; background: radial-gradient(closest-side, rgba(124, 58, 237, .8), transparent); }
.cta .aurora i:nth-child(2) { width: 40%; height: 80%; right: -10%; top: -40%; background: radial-gradient(closest-side, rgba(94, 234, 212, .45), transparent); }
.cta .wrap { position: relative; display: grid; justify-items: center; gap: 16px; }
.badge { padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--stage-violet-text); }
.cta h2 { font-size: clamp(34px, 3vw + 16px, 60px); letter-spacing: -.03em; line-height: 1.04; max-width: 14em; }
.cta .lede { color: var(--stage-muted); max-width: 32em; }
.waitlist { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: min(520px, 100%); margin-top: 8px; }
.waitlist input[type="email"] { flex: 1 1 240px; min-width: 0; min-height: 50px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: var(--stage-text); font: 400 16px var(--body); }
.waitlist input[type="email"]::placeholder { color: var(--stage-muted); }
.waitlist input[type="email"]:focus { outline: 2px solid var(--stage-violet); outline-offset: 2px; }
.waitlist .btn { min-height: 50px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: inline-flex; gap: 8px; align-items: flex-start; max-width: 32em; font-size: 14px; color: var(--stage-muted); text-align: left; }
.consent input { margin-top: 3px; accent-color: var(--stage-violet); }
.form-note { min-height: 1.5em; font-size: 15px; color: var(--stage-mint); }
.form-note.error { color: #FF6369; }
.cta .faint { color: var(--stage-muted); }
.cta a { color: var(--stage-violet-text); }

/* ---- Footer ---- */
.site-footer { padding-block: 32px 40px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* ---- The story under the shelf: plug in, sync, search unplugged ----
   One scene that stays while you scroll; story.js turns the scroll into the steps. Shown on a
   computer with motion allowed; otherwise the three steps below it are shown instead. */
.story { --light: 0; display: none; position: relative; isolation: isolate; overflow: clip; background: color-mix(in srgb, #FFFFFF calc(var(--light) * 100%), var(--stage)); color: var(--stage-text); }
.how-steps { display: block; }
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .story { display: block; }
  .how-steps { display: none; }
}
.story::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: calc(1 - var(--light)); background: radial-gradient(40% 30% at 75% 40%, rgba(124, 58, 237, .22), transparent 70%), radial-gradient(30% 24% at 20% 70%, rgba(94, 234, 212, .07), transparent 70%); }
.story-track { height: 480vh; }
.story-stage { position: sticky; top: 64px; height: calc(100svh - 64px); max-height: 980px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; width: min(100% - 48px, 1200px); margin-inline: auto; }

.story-copy { display: grid; gap: 40px; align-content: center; }
.story-steps { position: relative; min-height: 290px; }
/* The three steps, always in view: the current one violet, the ones done ticked */
.stepper { --fill: 0; position: relative; opacity: calc(1 - var(--light) * 1.4); display: flex; justify-content: space-between; max-width: 420px; list-style: none; margin: 0; padding: 0; }
.stepper::before, .stepper::after { content: ""; position: absolute; left: 18px; right: 18px; top: 17px; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, .12); }
.stepper::after { background: linear-gradient(90deg, var(--stage-violet), var(--stage-mint)); transform-origin: left; transform: scaleX(var(--fill)); }
.stepper li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; }
.stepper li:first-child { justify-items: start; }
.stepper li:last-child { justify-items: end; }
.stepper b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--stage); border: 1.5px solid rgba(255, 255, 255, .22); font: 600 15px var(--display); color: var(--stage-muted); transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.stepper span { font: 500 13px var(--body); color: var(--stage-muted); white-space: nowrap; transition: color .3s var(--ease); }
.stepper li.done b { border-color: var(--stage-violet); color: var(--stage-violet-text); }
.stepper li.on b { background: var(--stage-violet); border-color: var(--stage-violet); color: #FFFFFF; transform: scale(1.12); box-shadow: 0 0 0 6px rgba(167, 139, 250, .18); }
.stepper li.on span { color: var(--stage-text); }
.story-step { position: absolute; inset: 0 0 auto; display: grid; gap: 16px; opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.story-step.on { opacity: 1; transform: none; pointer-events: auto; }
.story-step .eyebrow { color: var(--stage-violet-text); }
.story-step .eyebrow { display: none; }
.story-step.s-final .eyebrow { display: block; color: var(--violet-text); }
.s-final h2 { color: var(--text); }
.story-step.s-final p:not(.eyebrow) { color: var(--muted); }
.s-final .more { color: var(--violet-text); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.s-final .more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.story-step h2 { font-size: clamp(36px, 3vw + 12px, 60px); line-height: 1.02; letter-spacing: -.032em; }
.story-step p:not(.eyebrow) { color: var(--stage-muted); font-size: 18px; line-height: 1.5; max-width: 26em; }

.story-scene { --W: clamp(260px, 30vw, 420px); --H: calc(var(--W) * .5322); --plug: 0; position: relative; height: min(82%, 680px); display: grid; place-items: center; }
.s-center { display: grid; justify-items: center; gap: 28px; }
.s-rig { position: relative; width: var(--W); height: var(--H); }
.s-drive { position: relative; z-index: 2; display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.s-drive-on { position: absolute; inset: 0; filter: none; opacity: 0; transition: opacity .15s linear; }
.story.connected .s-drive-on { opacity: 1; }
.s-rig::before { content: ""; position: absolute; inset: -30%; z-index: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(94, 234, 212, .35), transparent); opacity: 0; transition: opacity .5s var(--ease), background .5s var(--ease); }
.story.connected .s-rig::before { opacity: 1; }
/* The plug slides in under the drive until its collar meets the edge; once in, a picture of the
   drive without the open port takes over, so the port no longer shows */
.s-plug { position: absolute; z-index: 1; left: calc(var(--W) * .937); top: calc(var(--H) * .403); height: calc(var(--H) * .2); display: flex; width: max-content; transform: translateX(calc((1 - var(--plug)) * 60vw)); opacity: calc(.2 + var(--plug)); will-change: transform; }
.s-plug img { display: block; height: 100%; width: auto; max-width: none; }
/* The cable runs on to the edge of the window: the same braid, repeated */
.s-plug .s-cable { display: block; width: 100vw; height: 100%; margin-left: -1px; background: url(story/cable.webp) repeat-x left center / auto 100%; }
.s-rig .tape { position: absolute; z-index: 3; left: 50%; top: 42%; transform: translateX(-50%) rotate(-2deg); padding: 4px 8px; background: var(--tape); color: var(--tape-ink); font: 600 12px/1.2 var(--mono); letter-spacing: .03em; clip-path: polygon(2% 0, 98% 4%, 100% 50%, 97% 100%, 1% 96%, 0 50%); }

.story.connected .story.connected .story[data-step="1"] .story.synced 
.s-chips { position: absolute; inset: 0; pointer-events: none; }
.s-chips span { position: absolute; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(20, 19, 32, .7); font: 500 13px var(--body); color: var(--stage-text); opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.s-chips span.on { opacity: 1; transform: none; }
.story[data-step="0"] .s-chips span, .story[data-step="2"] .s-chips span, .story[data-step="3"] .s-chips span { opacity: 0; }
.s-chips span:nth-child(1) { left: 8%; top: 22%; }
.s-chips span:nth-child(2) { left: 30%; top: 12%; }
.s-chips span:nth-child(3) { right: 26%; top: 16%; }
.s-chips span:nth-child(4) { right: 4%; top: 30%; }
.s-chips span:nth-child(5) { left: 2%; top: 58%; }
.s-chips span:nth-child(6) { right: 2%; top: 62%; }
.s-chips span:nth-child(7) { left: 0; top: 40%; }
.s-chips span:nth-child(8) { right: 10%; top: 4%; }

/* 3. Unplugged: the drive steps aside and its folders and files open without it */
.s-center { opacity: calc(1 - var(--light, 0) * 1.6); transform: translateY(calc(var(--away, 0) * -27%)) scale(calc(1 - var(--away, 0) * .52)); transform-origin: 50% 0; will-change: transform; }
.s-browse { --bridge: 0; position: absolute; left: calc(7% - var(--bridge) * 7%); top: calc(97% - var(--bridge) * 47%); width: calc(86% + var(--bridge) * 14%); z-index: 4; container-type: inline-size; border-radius: 12px; overflow: hidden; background: #FFFFFF; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); opacity: var(--open, 0); transform: translateY(calc(-100% + var(--bridge) * 50% + (1 - var(--open, 0)) * 40px)) scale(calc(.96 + var(--open, 0) * .04)); transform-origin: 50% 100%; pointer-events: none; }
.story[data-step="3"] .s-browse { box-shadow: 0 40px 80px -40px rgba(40, 20, 90, .35), 0 12px 24px -12px rgba(0, 0, 0, .12), 0 0 0 1px var(--line); }
.s-wbody { display: grid; }
.s-wbody > * { grid-area: 1 / 1; }
.s-browse .sb { opacity: calc(1 - var(--swap, 0)); }
.s-search-mock { opacity: var(--swap, 0); }
.s-browse .bar { display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; background: #F4F4F6; border-bottom: 1px solid #ECECEF; }
.s-browse .bar i { width: 10px; height: 10px; border-radius: 50%; background: #DCDBE2; }
.sb { display: grid; gap: .8em; padding: 1.2em 1.4em 1.4em; font-size: calc(100cqw / 46); line-height: 1.3; color: #1D1D22; }
.sb-head { display: flex; align-items: center; gap: .8em; flex-wrap: wrap; }
.sb-head b { font: 700 1.6em var(--display); letter-spacing: -.02em; }
.sb-badge { display: inline-flex; align-items: center; gap: .45em; padding: .3em .8em; border-radius: 1em; background: #F1F0F5; color: #55555E; font-size: .82em; font-weight: 600; }
.sb-badge .dot.off { width: .6em; height: .6em; background: none; box-shadow: inset 0 0 0 .13em #8C8C96; }
.sb-meta { margin-left: auto; font: .8em var(--mono); color: #8C8C96; }
.sb-path { font-size: .85em; color: #8C8C96; }
.sb-path span { margin: 0 .3em; }
.sb-cols { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 1em; }
.sb-folders, .sb-grid { list-style: none; margin: 0; padding: 0; }
.sb-folders { display: grid; align-content: start; gap: .15em; padding-right: .8em; border-right: 1px solid #F0F0F2; }
.sb-folders li { display: flex; align-items: center; gap: .55em; padding: .4em .55em; border-radius: .45em; font-size: .9em; font-weight: 500; }
.sb-folders li i { width: 1.1em; height: .85em; border-radius: .15em; background: #9F8BF0; }
.sb-folders li.on { background: #ECE8FB; color: var(--violet-text); }
.sb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9em .8em; }
.sb-grid li { display: grid; gap: .25em; min-width: 0; }
.sb-thumb { display: block; aspect-ratio: 16 / 9; border-radius: .45em; background: #DDD center / cover no-repeat; }
.sb-grid b { font-size: .8em; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-grid small { font: .72em var(--mono); color: #8C8C96; }
.sb-item { opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.sb-item.on-show { opacity: 1; transform: none; }

/* ---- Feature rows, the title on one side and the app on the other, alternating ---- */
.showcase .head { margin-bottom: 24px; }
.show-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.show-row:nth-of-type(even) { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.show-row:nth-of-type(even) .show-copy { order: 2; }
.show-copy { display: grid; gap: 14px; align-content: center; }
.show-copy h2 { font-size: clamp(30px, 2.2vw + 14px, 46px); line-height: 1.06; letter-spacing: -.028em; }
.show-copy p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.5; max-width: 28em; }
.show-copy .more { color: var(--violet-text); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.show-copy .more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) {
  .show-row, .show-row:nth-of-type(even) { grid-template-columns: 1fr; }
  .show-row:nth-of-type(even) .show-copy { order: 0; }
}
/* Rows slide in as they come into view (only when story.js has switched it on) */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on .reveal .show-copy, .reveal-on .reveal .window { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .reveal-on .reveal .window { transition-delay: .12s; transform: translateY(48px) scale(.98); }
  .reveal-on .reveal.in .show-copy, .reveal-on .reveal.in .window { opacity: 1; transform: none; }
}

/* Connected or not: a big pill under the drive that switches with a small pop */
.s-status { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); font: 600 19px var(--display); letter-spacing: -.01em; color: var(--stage-muted); transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.s-status .dot { width: 12px; height: 12px; }
.s-status .dot.off { box-shadow: inset 0 0 0 2px var(--stage-muted); }
.story.connected .s-status { background: rgba(94, 234, 212, .12); border-color: rgba(94, 234, 212, .55); color: var(--stage-mint); animation: status-pop .45s var(--ease); }
.story.connected .s-status .dot { background: var(--stage-mint); box-shadow: 0 0 0 4px rgba(94, 234, 212, .2); }
@keyframes status-pop { 0% { transform: scale(.92); } 60% { transform: scale(1.06); } 100% { transform: none; } }

/* Sync: a card with a big bar, the percentage and the files counted */
.s-syncard { display: grid; gap: 12px; width: min(440px, 90%); padding: 18px 20px; border-radius: 16px; background: rgba(20, 19, 32, .78); border: 1px solid rgba(255, 255, 255, .1); opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease), border-color .3s var(--ease); }
.story[data-step="1"] .s-syncard { opacity: 1; transform: none; }
.s-synhead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.s-syntitle { font: 600 16px var(--display); color: var(--stage-text); }
.s-pct { font: 600 28px var(--display); letter-spacing: -.02em; color: var(--stage-text); font-variant-numeric: tabular-nums; }
.s-syncard .bar { display: block; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.s-syncard .bar i { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--sync, 0)); background: linear-gradient(90deg, var(--stage-violet), var(--stage-mint)); border-radius: 5px; }
.s-syncard .count { font: 400 13px var(--mono); color: var(--stage-muted); font-variant-numeric: tabular-nums; }
.story.synced .s-syncard { border-color: rgba(94, 234, 212, .5); }
.story.synced .s-syntitle, .story.synced .s-pct { color: var(--stage-mint); }
@media (prefers-reduced-motion: reduce) { .story.connected .s-status { animation: none; } }


/* With the story on, its last frame is the first feature: the same row below and the heading are hidden */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .showcase-head, #f-search { display: none; }
  .showcase { padding-top: 0; }
}

/* ---- Pricing: two cards, a big promise each, a full-width button, the prices in a box, then
   what you get with an icon per line. Pro is the highlighted one. ---- */
.pcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 880px; margin: 0 auto; align-items: stretch; }
.pcard { display: flex; flex-direction: column; gap: 14px; padding: 26px 28px 28px; border: 1px solid var(--line); border-radius: 22px; background: #FFFFFF; }
.pcard.pro { border: 1.5px solid rgba(124, 58, 237, .45); background: linear-gradient(180deg, #FFFFFF 0%, #F6F2FF 100%); box-shadow: 0 30px 60px -40px rgba(91, 33, 182, .35); }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.pc-name { font: 600 17px var(--display); letter-spacing: -.01em; }
.pc-name em { margin-left: 8px; padding: 3px 9px; border-radius: 999px; background: var(--tint); color: var(--violet-text); font: 500 11px var(--mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; vertical-align: 3px; }
.pcard .billing { padding: 3px; border: 0; background: #ECEAF2; }
.pcard .billing button[aria-pressed="true"] { background: #FFFFFF; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.pc-title { margin: 2px 0 0; font: 600 clamp(26px, 1vw + 16px, 30px)/1.1 var(--display); letter-spacing: -.025em; }
.pc-sub { margin: -6px 0 2px; font-size: 15.5px; color: var(--muted); }
.pc-cta { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; font-size: 15px; border-radius: 999px; }
.pc-soon { cursor: default; opacity: .75; }
.pc-buy { display: grid; gap: 10px; }
.pc-buy:has([data-buy]:not([hidden])) .pc-soon { display: none; }
.pc-pricing { display: grid; gap: 4px; margin-top: 2px; min-height: 64px; }
.pc-note { margin: 0; font-size: 13.5px; color: var(--muted); }
.pcard.pro .pc-note { color: var(--mint-text); font-weight: 500; }
.pc-price { margin: 0; font: 600 38px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pc-price small, .pc-amount small { font: 400 15px var(--body); letter-spacing: 0; color: var(--muted); }
.pc-box { display: grid; gap: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .7); }
.pc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pc-row b { display: block; font: 600 17px var(--display); }
.pc-row div small { display: block; margin-top: 2px; font-size: 14.5px; color: var(--muted); }
.pc-amount { margin: 0; flex: none; font: 600 22px var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; text-align: right; }
.pc-amount small { font-size: 15px; }
.pc-feats { display: grid; align-content: start; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; flex: 1; }
.pc-feats li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.4; }
.pc-feats svg { flex: none; width: 19px; height: 19px; margin-top: 1px; fill: none; stroke: #8C8A99; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pcard.pro .pc-feats svg { stroke: var(--violet); }
.pc-foot { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 820px) {
  .pcards { grid-template-columns: 1fr; }
  .pcard { padding: 28px 22px 24px; border-radius: 22px; }
  .pc-top { flex-wrap: wrap; }
}
.pc-feats b { font-weight: 600; }
.pc-fine { margin: 22px auto 0; text-align: center; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
/* On a computer every line stays on one line */
@media (min-width: 821px) {
  .pc-title, .pc-sub, .pc-note, .pc-feats span, .pc-fine { white-space: nowrap; }
}
@media (min-width: 1100px) { #pricing .head h2, .pricing-head h1 { white-space: nowrap; } #pricing .head { max-width: none; } }
