/* 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: 56px 0 84px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); 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: 19px; color: var(--ink-2); max-width: 540px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.facts { display: flex; flex-wrap: wrap; 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 scene: a PC window and a phone, with files travelling between them */
.scene { position: relative; aspect-ratio: 10 / 9; max-width: 560px; margin-left: auto; width: 100%; }
/* drawn at 560 x 504 and scaled to fit by js/site.js, so the files' path keeps matching the picture */
.stage { position: absolute; left: 0; top: 0; width: 560px; height: 504px; transform-origin: 0 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(42px); opacity: 0.55; animation: drift 14s ease-in-out infinite alternate; }
.orb.a { width: 46%; height: 46%; right: 2%; top: 0; background: #7fd4ff; }
.orb.b { width: 38%; height: 38%; left: 4%; bottom: 6%; background: #8aa9ff; animation-delay: -6s; }
@keyframes drift { to { transform: translate(18px, -22px) scale(1.08); } }

.pc { position: absolute; right: 0; top: 4%; width: 78%; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -36px rgba(10, 50, 140, 0.5), var(--shadow); overflow: hidden; animation: float 9s ease-in-out infinite; }
.pc-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.pc-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.pc-bar span { margin-left: 8px; font: 11px var(--mono); color: var(--ink-3); letter-spacing: 0.06em; }
.pc-body { display: grid; grid-template-columns: 64px 1fr; min-height: 250px; }
.pc-rail { border-right: 1px solid var(--line); padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; }
.pc-rail span { height: 26px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-3); }
.pc-rail span.on { background: var(--grad); border-color: transparent; color: #fff; box-shadow: var(--glow); }
.pc-rail .ic { width: 14px; height: 14px; }
.pc-list { padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.crumb { align-self: flex-start; font: 10.5px var(--mono); background: var(--blue-soft); color: var(--blue-deep); padding: 2px 8px; border-radius: 7px; margin-bottom: 2px; }
.row { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 10px; border: 1px solid transparent; }
.row .t { width: 26px; height: 26px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; flex: none; }
.row .t .ic { width: 14px; height: 14px; }
.row .l { height: 7px; border-radius: 4px; background: var(--line-2); }
.row .s { margin-left: auto; font: 9.5px var(--mono); color: var(--ink-3); }
.row.in { opacity: 0; transform: translateY(6px); background: #e9fbf4; border-color: #b9ecd9; animation: arrive 9s infinite; }
.row.in.r2 { animation-delay: 0.5s; }
.row.in.r3 { animation-delay: 1s; }
@keyframes arrive { 0%, 30% { opacity: 0; transform: translateY(6px); } 36%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }

.phone { position: absolute; left: 0; bottom: 0; width: 34%; border-radius: 26px; background: var(--surface); border: 6px solid var(--ink); box-shadow: 0 34px 70px -30px rgba(7, 26, 64, 0.7); overflow: hidden; animation: float 9s ease-in-out infinite; animation-delay: -4.5s; }
.phone::before { content: ''; display: block; width: 34%; height: 5px; border-radius: 3px; background: var(--ink); margin: 7px auto 2px; opacity: 0.85; }
.phone .pc-list { padding: 8px; gap: 5px; }
.phone .row { padding: 5px 6px; }
.phone .row.out { animation: leave 9s infinite; }
.phone .row.out.r2 { animation-delay: 0.5s; }
.phone .row.out.r3 { animation-delay: 1s; }
@keyframes leave { 0%, 8% { background: transparent; border-color: transparent; } 12%, 34% { background: var(--blue-soft); border-color: var(--line-2); } 40%, 100% { background: transparent; border-color: transparent; } }
.send { margin: 4px 8px 10px; padding: 7px; border-radius: 10px; background: var(--grad); color: #fff; font: 600 10.5px var(--display); text-align: center; animation: press 9s infinite; }
@keyframes press { 0%, 18% { transform: none; filter: none; } 21% { transform: scale(0.93); filter: brightness(1.25); } 25%, 100% { transform: none; filter: none; } }
@keyframes float { 50% { transform: translateY(-9px); } }

/* the way across: a line, and three files riding it */
.way { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.way path { fill: none; stroke: url(#wayGrad); stroke-width: 2.5; stroke-dasharray: 2 9; stroke-linecap: round; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.fly { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 11px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--glow); offset-path: path('M 150 372 C 190 200, 300 150, 392 214'); offset-rotate: 0deg; opacity: 0; animation: ride 9s infinite; }
.fly .ic { width: 17px; height: 17px; }
.fly.f2 { animation-delay: 0.5s; }
.fly.f3 { animation-delay: 1s; }
@keyframes ride { 0%, 22% { offset-distance: 0%; opacity: 0; transform: scale(0.6); } 25% { opacity: 1; transform: none; } 33% { opacity: 1; } 36%, 100% { offset-distance: 100%; opacity: 0; transform: scale(0.7); } }

.tag { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line-2); box-shadow: var(--shadow); font: 600 12.5px var(--display); color: var(--ink); animation: float 7s ease-in-out infinite; }
.tag .ic { width: 15px; height: 15px; color: var(--blue); }
.tag.t1 { right: 5%; top: -5%; animation-delay: -2s; }
.tag.t2 { right: -2%; bottom: 20%; animation-delay: -5s; }
.tag.t3 { left: 38%; bottom: 2%; }
.tag .live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); } }

/* ---------- 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: -14px; bottom: -34px; width: 27%; 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: -14px; }

.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; }
  .hero .wrap { grid-template-columns: 1fr; }
  .scene { margin: 12px auto 0; }
  .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%; }
  .tag.t2 { right: 0; }
  .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; }
  .row.in, .reveal { opacity: 1; transform: none; }
  .fly { display: none; }
}
