/* desktransfer.app: the same white and blue as the app. No outside fonts, scripts or trackers. */
@font-face {
  font-family: 'Space Grotesk';
  src: url('../fonts/space-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #f3f7ff;
  --surface: #ffffff;
  --surface-2: #f6f9ff;
  --ink: #071a40;
  --ink-2: #44598a;
  --ink-3: #8696bb;
  --line: #dce7fb;
  --line-2: #c5d6f7;
  --blue: #1463ff;
  --blue-deep: #0a3fd0;
  --blue-soft: #e9f1ff;
  --cyan: #19d3ff;
  --ok: #10b981;
  --grad: linear-gradient(135deg, #0b45ff 0%, #18b4ff 100%);
  --glow: 0 10px 34px -10px rgba(20, 99, 255, 0.5);
  --shadow: 0 1px 2px rgba(10, 40, 110, 0.04), 0 14px 40px -18px rgba(10, 50, 140, 0.22);
  --display: 'Space Grotesk', 'Segoe UI Variable Display', 'Segoe UI', system-ui, sans-serif;
  --body: 'Segoe UI Variable Text', 'Segoe UI', Roboto, system-ui, sans-serif;
  --mono: 'Cascadia Mono', Consolas, 'Roboto Mono', monospace;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
code { font-family: var(--mono); font-size: 0.9em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { font: 12px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* the page's backdrop: a grid that fades out, and two soft lights */
.sky { position: absolute; inset: 0 0 auto 0; height: 980px; pointer-events: none; overflow: hidden; z-index: -1; }
.sky::before { content: ''; position: absolute; inset: 0; background: radial-gradient(900px 560px at 88% -6%, rgba(24, 180, 255, 0.26), transparent 62%), radial-gradient(760px 520px at -8% 30%, rgba(20, 99, 255, 0.14), transparent 60%); }
.sky::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(20, 99, 255, 0.075) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 99, 255, 0.075) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 10%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse 70% 80% at 70% 10%, #000 0%, transparent 72%); }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(243, 247, 255, 0.78); backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: border-color 0.2s, background 0.2s; }
.top.stuck { border-color: var(--line); background: rgba(255, 255, 255, 0.86); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--glow); }
.brand b { font: 700 16px/1 var(--display); letter-spacing: 0.1em; }
.brand b span { font-weight: 400; color: var(--blue); margin-left: 2px; }
.top nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.top nav a { color: var(--ink-2); font: 500 15px/1 var(--display); }
.top nav a:hover, .top nav a[aria-current] { color: var(--blue-deep); text-decoration: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--blue-deep); font: 600 15.5px var(--display); cursor: pointer; transition: transform 0.1s, box-shadow 0.2s, filter 0.2s, border-color 0.2s; white-space: nowrap; }
.btn:hover { text-decoration: none; border-color: var(--blue); }
.btn:active { transform: scale(0.98); }
.btn.primary { border: 0; background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn.primary:hover { filter: brightness(1.08); box-shadow: 0 14px 40px -10px rgba(20, 99, 255, 0.65); }
.btn.small { padding: 9px 15px; font-size: 14px; border-radius: 12px; }
.btn.big { padding: 15px 24px; font-size: 17px; border-radius: 16px; }
.btn.soon { color: var(--ink-2); cursor: default; }
.btn.soon:hover { border-color: var(--line-2); }
.btn small { display: block; font: 400 11.5px var(--mono); opacity: 0.85; letter-spacing: 0.02em; }
.btn .two { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 52px 0 96px; }
.hero-text { max-width: 860px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 650; margin: 16px 0 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, #0b45ff, #18b4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 19.5px; color: var(--ink-2); max-width: 700px; margin: 0 auto; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0 20px; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; padding: 0; margin: 0; list-style: none; color: var(--ink-2); font: 500 14px var(--display); }
.facts li { display: inline-flex; align-items: center; gap: 7px; }
.facts .ic { width: 16px; height: 16px; color: var(--ok); stroke-width: 2.2; }

/* the app itself, playing three short stories: real pictures of the app, changed one for the next */
.demo { position: relative; max-width: 1060px; margin: 54px auto 0; }
.demo::before { content: ''; position: absolute; inset: 8% -6% -6%; background: radial-gradient(closest-side, rgba(24, 180, 255, 0.34), transparent 72%); filter: blur(30px); z-index: -1; }
.demo-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.demo-tabs button { position: relative; display: flex; align-items: center; gap: 12px; padding: 13px 16px 15px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.72); color: var(--ink-2); font: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.demo-tabs button:hover { border-color: var(--line-2); }
.demo-tabs button .ic { width: 22px; height: 22px; color: var(--ink-3); transition: color 0.2s; }
.demo-tabs button b { display: block; font: 600 16px/1.2 var(--display); color: var(--ink); }
.demo-tabs button small { display: block; font-size: 13px; line-height: 1.3; margin-top: 2px; }
.demo-tabs button.on { background: var(--surface); border-color: var(--line-2); box-shadow: var(--shadow); }
.demo-tabs button.on .ic { color: var(--blue); }
.demo-tabs button i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.demo-tabs button.on i { background: var(--blue-soft); }
.demo-tabs button.on i::after { content: ''; position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; transform: scaleX(1); }
.demo-tabs button.on.run i::after { animation: fill var(--dur, 9s) linear both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.demo-stage { position: relative; }
.dscene { position: relative; opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0s 0.45s; }
.dscene + .dscene { position: absolute; inset: 0 0 auto 0; }
.dscene.on { opacity: 1; visibility: visible; transition: opacity 0.45s ease; }
.screen { position: relative; overflow: hidden; }
.screen img { width: 100%; }
.screen img + img { position: absolute; inset: 0; height: 100%; }
[data-layer] img { opacity: 0; transition: opacity 0.38s ease; }
[data-layer] img.on { opacity: 1; }
.demo .handset { position: absolute; left: -2.5%; bottom: -5%; width: 19.5%; border: 7px solid var(--ink); border-radius: 30px; overflow: hidden; background: var(--surface); box-shadow: 0 34px 70px -26px rgba(7, 26, 64, 0.75); }

/* away from home: the PC stays behind, the phone is what moves */
.dscene.away .frame { transform: scale(0.9) translateX(-4%); transform-origin: 50% 40%; filter: saturate(0.55); opacity: 0.6; }
.dscene.away .handset { left: auto; right: 9%; bottom: -6%; width: 29%; border-width: 9px; border-radius: 38px; }
.where { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 13px; background: rgba(255, 255, 255, 0.96); border: 1px solid var(--line-2); box-shadow: var(--shadow); font: 600 14px var(--display); color: var(--ink); z-index: 2; }
.where .ic { width: 17px; height: 17px; color: var(--blue); }
.where.home { left: 5%; bottom: 13%; }
.where.out { right: 3%; top: -1%; }

/* the pointer, the files in flight, and where they land: placed in percent of the picture, by js/site.js */
.cursor { position: absolute; left: 50%; top: 70%; width: 26px; height: 26px; margin: -3px 0 0 -5px; opacity: 0; pointer-events: none; z-index: 4; transition: left 0.75s cubic-bezier(0.3, 0.7, 0.2, 1), top 0.75s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.3s; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M5 3l15 9-6.6 1.6L10 20z' fill='%23071a40' stroke='%23fff' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat; filter: drop-shadow(0 4px 6px rgba(7, 26, 64, 0.35)); }
.cursor.show { opacity: 1; }
.cursor::after { content: ''; position: absolute; left: -9px; top: -11px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; }
.cursor.tap::after { animation: tap 0.5s ease-out; }
.cursor.touch { width: 0; height: 0; margin: 0; background: none; filter: none; }
.cursor.touch::before { content: ''; position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%; background: rgba(20, 99, 255, 0.28); border: 2px solid rgba(20, 99, 255, 0.7); }
.cursor.touch::after { left: -17px; top: -17px; width: 34px; height: 34px; }
@keyframes tap { from { opacity: 0.9; transform: scale(0.4); } to { opacity: 0; transform: scale(1.9); } }
.chip-fly { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--glow); opacity: 0; pointer-events: none; z-index: 3; }
.chip-fly .ic { width: 19px; height: 19px; }
.chip-fly.go { opacity: 1; transition: left 0.9s cubic-bezier(0.5, 0, 0.2, 1), top 0.9s cubic-bezier(0.5, 0, 0.2, 1), opacity 0.2s; }
.land { position: absolute; border-radius: 12px; background: rgba(16, 185, 129, 0.13); box-shadow: inset 0 0 0 1.5px rgba(16, 185, 129, 0.55); opacity: 0; pointer-events: none; z-index: 2; transition: opacity 0.5s; }
.land.on { opacity: 1; }

/* ---------- sections ---------- */
section { padding: 76px 0; }
.head { max-width: 680px; margin-bottom: 40px; }
.head h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 10px 0 12px; }
.head p { color: var(--ink-2); font-size: 18px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: rgba(255, 255, 255, 0.88); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 1px 2px rgba(10, 40, 110, 0.04), 0 24px 50px -22px rgba(20, 99, 255, 0.4); }
.card .badge { width: 46px; height: 46px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.card .badge .ic { width: 23px; height: 23px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 15.5px; }

/* the app, shown: a picture beside its words, sides alternating */
.show { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 34px 0; }
.show.flip .shot { order: 2; }
.show h3 { font-size: 27px; margin: 10px 0 12px; }
.show p { color: var(--ink-2); }
.show ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.show li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 15.5px; }
.show li .ic { width: 18px; height: 18px; color: var(--blue); margin-top: 4px; stroke-width: 2.2; }
.shot { position: relative; }
.frame { border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 50px 90px -46px rgba(10, 50, 140, 0.55), var(--shadow); overflow: hidden; }
.frame-bar { display: flex; gap: 6px; padding: 9px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.shot .handset { position: absolute; right: -26px; bottom: -46px; width: 22%; border: 6px solid var(--ink); border-radius: 24px; overflow: hidden; background: var(--surface); box-shadow: 0 30px 60px -26px rgba(7, 26, 64, 0.75); }
.show.flip .shot .handset { right: auto; left: -26px; }
.shot .duo { display: flex; justify-content: center; gap: 5%; padding: 0 4%; }
.shot .duo .handset { position: static; width: 40%; }
.shot .duo .handset + .handset { margin-top: 9%; }
#features .show:first-of-type { padding-top: 6px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px 24px; box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #fff; font: 700 17px var(--display); box-shadow: var(--glow); margin-bottom: 16px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15.5px; }

.band { background: var(--ink); color: #fff; border-radius: 28px; padding: 46px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; position: relative; overflow: hidden; }
.band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(520px 340px at 100% 0%, rgba(24, 180, 255, 0.35), transparent 65%), radial-gradient(420px 300px at 0% 100%, rgba(20, 99, 255, 0.4), transparent 65%); }
.band > * { position: relative; }
.band h2 { font-size: clamp(26px, 3vw, 36px); margin: 10px 0 14px; }
.band .eyebrow { color: #7fd4ff; }
.band p { color: #c3d2f2; }
.band ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.band li { display: flex; gap: 12px; align-items: flex-start; }
.band li .ic { color: #7fd4ff; margin-top: 3px; }
.band li b { display: block; font: 600 16px var(--display); }
.band li span { color: #c3d2f2; font-size: 15px; }

.get { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.get .card { padding: 28px; }
.get h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.get .meta { font: 12.5px var(--mono); color: var(--ink-3); margin: 6px 0 18px; }
.note { margin-top: 16px; padding: 12px 14px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.note code { word-break: break-all; color: var(--ink); font-size: 12px; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; box-shadow: var(--shadow); }
details + details { margin-top: 10px; }
summary { cursor: pointer; padding: 17px 0; font: 600 16.5px var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--blue); font-size: 22px; line-height: 1; }
details[open] summary::after { content: '\2013'; }
details p { color: var(--ink-2); padding: 0 0 18px; }
.faq { max-width: 820px; margin: 0 auto; }

footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--ink-2); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: flex-start; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer small { display: block; color: var(--ink-3); margin-top: 8px; max-width: 640px; font-size: 12.5px; line-height: 1.5; }

/* ---------- reading pages: help, privacy, licences ---------- */
.doc { padding: 44px 0 80px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(30px, 4vw, 44px); margin: 10px 0 10px; }
.doc .lead { color: var(--ink-2); font-size: 18px; margin-bottom: 28px; }
.doc h2 { font-size: 23px; margin: 40px 0 10px; color: var(--blue-deep); }
.doc h3 { font-size: 18px; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--ink-2); }
.doc p { margin: 10px 0; }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc li b, .doc p b { color: var(--ink); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font: 500 14px var(--display); color: var(--ink-2); }
.toc a:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 14.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px; border-top: 1px solid var(--line); color: var(--ink-2); }
.doc th { color: var(--ink); font-family: var(--display); }
.doc .short { border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; padding: 12px 16px; background: var(--surface); }
.doc .short p { color: var(--ink); margin: 6px 0; }
.doc .date { font: 13px var(--mono); color: var(--ink-3); }
.tip { padding: 12px 16px; border-radius: 13px; background: var(--blue-soft); color: var(--blue-deep); margin: 14px 0; font-size: 15px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.seen { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .hero { padding: 32px 0 56px; }
  .demo-tabs button small { display: none; }
  .demo-tabs button { justify-content: center; padding: 12px 8px 14px; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .show, .show.flip { grid-template-columns: 1fr; gap: 44px; }
  .show.flip .shot { order: 0; }
  .band { grid-template-columns: 1fr; padding: 32px 26px; }
  .top nav a:not(.btn) { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  section { padding: 56px 0; }
  .cards, .steps, .get { grid-template-columns: 1fr; }
  .cta .btn { width: 100%; }
  .demo { margin-top: 40px; }
  .demo-tabs { gap: 6px; }
  .demo-tabs button { flex-direction: column; gap: 5px; }
  .demo-tabs button b { font-size: 13px; text-align: center; }
  .demo .handset { width: 24%; border-width: 4px; border-radius: 16px; left: -1%; }
  .dscene.away .handset { width: 36%; right: 6%; border-width: 5px; border-radius: 20px; }
  .where { font-size: 11px; padding: 6px 9px; gap: 5px; }
  .where .ic { width: 13px; height: 13px; }
  .cursor { transform: scale(0.7); }
  .chip-fly { transform: scale(0.6); }
  .shot .handset { width: 30%; right: -6px; bottom: -24px; }
  .show.flip .shot .handset { left: -6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .cursor, .chip-fly { display: none; }
}
