/* FilePal website: frosted white glass, the same look as the app's default style. */

:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --ink-2: rgba(29, 29, 31, .64);
  --ink-3: rgba(29, 29, 31, .44);
  --line: rgba(29, 29, 31, .08);
  --bg: #f4f5fa;
  --accent: #0a84ff;
  --cyan: #64d2ff;
  --indigo: #5e5ce6;
  --purple: #bf5af2;
  --video: #8b6cf6;
  --image: #22c55e;
  --audio: #f59e0b;
  --ok: #30d158;
  --brand: linear-gradient(120deg, var(--cyan), var(--indigo) 55%, var(--purple));

  /* glass */
  --glass: linear-gradient(155deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .5) 55%, rgba(255, 255, 255, .62));
  --glass-blur: blur(22px) saturate(1.8);
  --rim: inset 0 1.5px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .55);
  --shadow: 0 1px 2px rgba(17, 20, 45, .05), 0 12px 32px -8px rgba(17, 20, 45, .14);
  --shadow-lg: 0 2px 4px rgba(17, 20, 45, .04), 0 30px 70px -20px rgba(40, 40, 110, .28);

  --font: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --spring: cubic-bezier(.34, 1.45, .55, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r: 28px;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 10px; }

/* soft colour light behind the glass */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  animation: drift 26s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 52vw; height: 52vw; left: -14vw; top: -18vw; background: #9fe3ff; }
.aurora i:nth-child(2) { width: 46vw; height: 46vw; right: -16vw; top: 6vh; background: #c9b8ff; animation-delay: -9s; }
.aurora i:nth-child(3) { width: 40vw; height: 40vw; left: 30vw; bottom: -22vw; background: #f3c4ff; opacity: .4; animation-delay: -17s; }
@keyframes drift {
  to { transform: translate3d(4vw, 5vh, 0) scale(1.08); }
}

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------------------------------------------------------------- glass */

.glass {
  position: relative;
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--rim), var(--shadow);
  border-radius: var(--r);
}
.glass::before { /* rim light from the top left */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 50%);
}
.glass > * { position: relative; }

/* ---------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 12px;
  z-index: 20;
  margin-top: 12px;
}
.nav .bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 60px;
  padding: 0 8px 0 14px;
  border-radius: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.logo img { width: 32px; height: 32px; }
.nav .links { display: flex; gap: 2px; margin-left: auto; }
.nav .links a {
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav .links a:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 16px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .35s var(--spring), box-shadow .3s var(--ease), background .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .1s; }

.btn.primary {
  color: #fff;
  background: linear-gradient(180deg, #2b95ff, #0a72f0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 2px rgba(10, 80, 200, .3), 0 10px 26px -6px rgba(10, 116, 255, .55);
}
.btn.primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 2px rgba(10, 80, 200, .3), 0 16px 34px -8px rgba(10, 116, 255, .65); }

.btn.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: var(--rim), 0 6px 18px -8px rgba(17, 20, 45, .18);
}
.btn.ghost:hover { background: rgba(255, 255, 255, .85); }

.btn.small { height: 42px; padding: 0 18px; border-radius: 13px; font-size: 15px; }
.btn.small svg { width: 17px; height: 17px; }
.btn.big { height: 60px; padding: 0 32px; border-radius: 18px; font-size: 18px; }

/* ---------------------------------------------------------------- type */

h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.04; font-weight: 750; text-wrap: balance; }
h1 { font-size: clamp(42px, 7.2vw, 80px); }
h2 { font-size: clamp(32px, 4.8vw, 54px); }
h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; font-weight: 680; }
p { margin: 0; }

.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--indigo);
}

/* highlighter: a soft brand-coloured marker stroke behind the words */
mark {
  color: inherit;
  padding: 0 .08em;
  margin: 0 -.04em;
  border-radius: .12em;
  background: linear-gradient(100deg, rgba(100, 210, 255, .55), rgba(150, 140, 255, .45) 55%, rgba(210, 130, 250, .45)) no-repeat 0 88% / 100% 40%;
  white-space: nowrap;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.js mark.draw { background-size: 0% 40%; transition: background-size 1s var(--ease) .35s; }
.js mark.draw.on { background-size: 100% 40%; }

.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.9em;
  height: 1.7em;
  padding: 0 .45em;
  border-radius: .42em;
  font: 650 .82em/1 var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, #fff, #eef0f6);
  box-shadow: inset 0 -2px 0 rgba(29, 29, 31, .1), 0 0 0 1px rgba(29, 29, 31, .1), 0 2px 4px rgba(17, 20, 45, .08);
  vertical-align: .08em;
}

/* ---------------------------------------------------------------- hero */

.hero { padding: clamp(40px, 6vw, 72px) 0 0; text-align: center; }
.hero .pill-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px 0 10px;
  border-radius: 17px;
  font-size: 14px;
  font-weight: 550;
  color: var(--ink-2);
  margin-bottom: 26px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(48, 209, 88, .18); }
.hero h1 { max-width: 15ch; margin-inline: auto; }
.hero .lead { max-width: 34ch; margin: 22px auto 0; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.meta { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.meta span + span::before { content: "·"; margin: 0 8px; }

.not-windows {
  display: none;
  align-items: center;
  gap: 12px;
  margin: 18px auto 0;
  padding: 10px 10px 10px 16px;
  border-radius: 16px;
  font-size: 14.5px;
  text-align: left;
  max-width: 440px;
}
.show-pc .not-windows { display: flex; }
.not-windows p { flex: 1; color: var(--ink-2); }
.not-windows b { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- demo */

.demo-wrap { margin-top: clamp(40px, 5vw, 56px); }
.demo {
  position: relative;
  width: 100%;
  border-radius: clamp(18px, 3vw, 30px);
  padding: clamp(6px, 1vw, 10px);
  box-shadow: var(--rim), var(--shadow-lg);
}
.demo .screen {
  position: relative;
  border-radius: clamp(13px, 2.2vw, 22px);
  overflow: hidden;
  height: var(--h, 500px);
}
.scene {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--W, 800px);
  height: 500px;
  transform: scale(var(--k, 1));
  transform-origin: 0 0;
  font-family: "Segoe UI Variable Display", "Segoe UI", var(--font);
  text-align: left;
  user-select: none;
  -webkit-user-select: none;
}
.wall {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 18% 20%, #8fd8ff 0%, rgba(143, 216, 255, 0) 60%),
    radial-gradient(55% 65% at 85% 30%, #b9a6ff 0%, rgba(185, 166, 255, 0) 62%),
    radial-gradient(70% 60% at 60% 105%, #ffb3e6 0%, rgba(255, 179, 230, 0) 60%),
    radial-gradient(50% 50% at 45% 55%, #6e8cff 0%, rgba(110, 140, 255, 0) 70%),
    linear-gradient(160deg, #5aa7ff, #6a5cf0 60%, #b46cf0);
}
.wall::after { /* a soft ribbon of light, like a modern wallpaper */
  content: "";
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 210deg at 62% 58%, rgba(255, 255, 255, 0), rgba(255, 255, 255, .45) 40deg, rgba(255, 255, 255, 0) 90deg);
  filter: blur(30px);
  opacity: .6;
}

/* desktop file icons */
.file {
  position: absolute;
  width: 92px;
  margin-left: -46px;
  padding: 8px 4px 6px;
  border-radius: 10px;
  text-align: center;
  transition: background .25s, box-shadow .25s, opacity .4s var(--ease), transform .5s var(--spring);
}
.file svg { width: 52px; height: 64px; margin: 0 auto 6px; filter: drop-shadow(0 4px 8px rgba(20, 20, 60, .25)); }
.file span {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}
.file.sel { background: rgba(255, 255, 255, .28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
.file.new { opacity: 0; transform: scale(.6); }
.file.new.show { opacity: 1; transform: none; }

/* frosted bubbles, as in the app's default "frost" style */
.bub {
  position: absolute;
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(155deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .5) 55%, rgba(255, 255, 255, .62) 100%);
  -webkit-backdrop-filter: blur(9px) saturate(1.7) brightness(1.12);
  backdrop-filter: blur(9px) saturate(1.7) brightness(1.12);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .95), inset 0 -1px 1px rgba(255, 255, 255, .4),
              inset 0 0 0 .75px rgba(255, 255, 255, .6), inset 0 -12px 18px -12px rgba(0, 0, 0, .12),
              0 10px 28px rgba(0, 0, 0, .16), 0 2px 6px rgba(0, 0, 0, .1);
  --s: 1;
  transform: translate(0, 0) scale(var(--s));
  transition: transform .5s var(--spring) var(--d, 0ms), opacity .26s var(--ease) var(--d, 0ms);
}
.bub::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(110% 70% at 32% 6%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 48%);
  pointer-events: none;
}
.bub.sub { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
.bub .c { display: flex; flex-direction: column; align-items: center; transition: opacity .2s, transform .35s var(--spring); }
.bub b { font-size: 16px; font-weight: 650; letter-spacing: -.01em; line-height: 1.05; color: #1d1d1f; }
.bub small { margin-top: 3px; font-size: 9px; letter-spacing: -.015em; font-weight: 550; color: rgba(29, 29, 31, .58); white-space: nowrap; }
.bub.long b { font-size: 13.5px; }
.bub.sub b { font-size: 14px; }
.bub.off .c { opacity: .45; }
.bub .ok {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: grid;
  place-content: center;
  justify-items: center;
  color: #fff;
  background: rgba(10, 132, 255, .92);
  opacity: 0;
  transform: scale(.55);
  transition: opacity .22s var(--ease), transform .35s var(--spring);
  z-index: 1;
}
.bub .ok svg { width: 24px; height: 24px; }
.bub .ok span { font-size: 8.5px; font-weight: 700; letter-spacing: .03em; margin-top: 1px; }
.bub.armed { --s: 1.13; }
.bub.armed .c { opacity: 0; transform: scale(.7); }
.bub.armed .ok { opacity: 1; transform: none; }
.bub.armed::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: pulse 1.5s var(--ease) infinite;
}
@keyframes pulse {
  from { box-shadow: 0 0 0 0 rgba(10, 132, 255, .55); }
  to   { box-shadow: 0 0 0 16px rgba(10, 132, 255, 0); }
}
.bub.open { --s: 1.05; }
.bub.dim { --s: .86; opacity: .4; }
.bub.go { --s: 1.22; transition-duration: .18s; }
.bub.hide { transform: translate(var(--dx), var(--dy)) scale(.25); opacity: 0; }

/* hint chip + progress pill */
.chip {
  position: absolute;
  height: 30px;
  padding: 0 14px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 550;
  color: #1d1d1f;
  transform: translateX(-50%);
  background: linear-gradient(155deg, rgba(255, 255, 255, .86), rgba(250, 250, 252, .72));
  -webkit-backdrop-filter: blur(10px) saturate(1.6);
  backdrop-filter: blur(10px) saturate(1.6);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .95), 0 10px 28px rgba(0, 0, 0, .16), 0 2px 6px rgba(0, 0, 0, .1);
  transition: opacity .25s var(--ease), transform .4s var(--spring);
}
.chip.hide { opacity: 0; transform: translateX(-50%) translateY(6px) scale(.96); }

.pill {
  position: absolute;
  width: 280px;
  height: 58px;
  margin-left: -140px;
  border-radius: 18px;
  color: #1d1d1f;
  background: linear-gradient(155deg, rgba(255, 255, 255, .9), rgba(250, 250, 252, .78));
  -webkit-backdrop-filter: blur(12px) saturate(1.6);
  backdrop-filter: blur(12px) saturate(1.6);
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .95), 0 10px 28px rgba(0, 0, 0, .16), 0 2px 6px rgba(0, 0, 0, .1);
  transition: opacity .3s var(--ease), transform .45s var(--spring);
}
.pill.hide { opacity: 0; transform: translateY(-8px) scale(.94); }
.pill .ic {
  position: absolute;
  left: 12px;
  top: 13px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent);
  transition: background .3s var(--ease), transform .4s var(--spring);
}
.pill .ic svg { width: 16px; height: 16px; }
.pill .spin { animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pill .row { position: absolute; left: 50px; right: 14px; display: flex; gap: 8px; align-items: baseline; }
.pill .t { top: 10px; }
.pill .m { top: 28px; }
.pill .title { flex: 1; font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.pill .pct { font-size: 12px; font-weight: 600; color: rgba(29, 29, 31, .58); font-variant-numeric: tabular-nums; }
.pill .sub { font-size: 11px; font-weight: 500; color: rgba(29, 29, 31, .58); white-space: nowrap; }
.pill .track { position: absolute; left: 50px; right: 14px; bottom: 9px; height: 4px; border-radius: 2px; background: rgba(0, 0, 0, .08); overflow: hidden; }
.pill .track i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 2px; background: linear-gradient(90deg, #6cb6ff, var(--accent)); }
.pill.done .ic { background: var(--ok); transform: scale(1.08); }
.pill.done .track i { background: var(--ok); }

.cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 30px;
  z-index: 5;
  transition: transform .8s cubic-bezier(.45, .05, .25, 1);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
}
.ripple {
  position: absolute;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .9);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}
.ripple.on { animation: ripple .55s var(--ease); }
@keyframes ripple {
  from { opacity: 1; transform: scale(.3); }
  to   { opacity: 0; transform: scale(1.3); }
}

/* the keys being pressed, bottom left of the screen */
.keys {
  position: absolute;
  left: 18px;
  bottom: 62px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 8px;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #1d1d1f;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(12px) saturate(1.6);
  backdrop-filter: blur(12px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 20px rgba(0, 0, 0, .14);
  transition: opacity .3s var(--ease), transform .4s var(--spring);
}
.keys.hide { opacity: 0; transform: translateY(8px); }
.keys .k {
  display: grid;
  place-items: center;
  height: 30px;
  min-width: 42px;
  padding: 0 8px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #eceef5);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .1), 0 0 0 1px rgba(0, 0, 0, .1);
  transition: transform .12s, background .12s, box-shadow .12s, color .12s;
}
.keys .k.down { transform: translateY(1.5px); color: #fff; background: linear-gradient(180deg, #2b95ff, #0a72f0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 1px rgba(10, 100, 230, .5); }
.keys .mouse { width: 22px; height: 30px; }
.keys .mouse .rb { fill: transparent; transition: fill .12s; }
.keys .mouse.down .rb { fill: var(--accent); }
.keys .plus { color: rgba(29, 29, 31, .45); }

.taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(240, 242, 250, .62);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}
.taskbar i { width: 28px; height: 28px; border-radius: 7px; background: rgba(255, 255, 255, .7); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.taskbar i:nth-child(1) { background: linear-gradient(135deg, #4cc2ff, #0a6cff); }
.taskbar i:nth-child(2) { background: linear-gradient(135deg, #ffd66b, #f0a500); }
.taskbar i:nth-child(3) { background: linear-gradient(135deg, #7fe0a8, #1fae5b); }
.taskbar i:nth-child(4) { background: linear-gradient(135deg, #ff9ac1, #e0457b); }
.taskbar .tray { position: absolute; right: 14px; display: flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 500; color: rgba(29, 29, 31, .75); }
.taskbar .tray img { width: 18px; height: 18px; }

.steps-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.steps-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px 0 6px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 550;
  color: var(--ink-3);
  background: rgba(255, 255, 255, .45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
  transition: color .3s, background .3s, box-shadow .3s, transform .4s var(--spring);
}
.steps-strip span em {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
  background: rgba(29, 29, 31, .06);
  transition: background .3s, color .3s;
}
.steps-strip span.on { color: var(--ink); background: rgba(255, 255, 255, .9); box-shadow: var(--rim), 0 6px 16px -6px rgba(17, 20, 45, .2); transform: translateY(-1px); }
.steps-strip span.on em { background: var(--accent); color: #fff; }

/* ---------------------------------------------------------------- sections */

section { padding: clamp(80px, 11vw, 136px) 0 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); }
.head h2 { margin-top: 14px; }
.head .lead { margin-top: 16px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* how it works */
.step { padding: 14px 14px 28px; display: flex; flex-direction: column; }
.step .art {
  position: relative;
  height: 190px;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(80% 90% at 20% 10%, rgba(143, 216, 255, .9), rgba(143, 216, 255, 0) 60%),
    radial-gradient(70% 80% at 90% 90%, rgba(196, 160, 255, .9), rgba(196, 160, 255, 0) 60%),
    linear-gradient(150deg, #7eb6ff, #8a7cf3);
}
.step .num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 24px 14px 12px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
}
.step h3, .step p { margin-inline: 14px; }
.step p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }

.art .keys { position: static; transform: scale(1.25); }
.art .bub { position: absolute; }
.art .pill { position: relative; margin: 0; transform: scale(1.02); }

/* feature bands */
.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4.5vw, 56px);
}
.band + .band { margin-top: 20px; }
.band .copy h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 14px; }
.band .copy p { margin-top: 16px; }
.band .art {
  position: relative;
  height: 340px;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(70% 80% at 15% 15%, rgba(143, 216, 255, .95), rgba(143, 216, 255, 0) 60%),
    radial-gradient(60% 70% at 90% 85%, rgba(220, 160, 255, .95), rgba(220, 160, 255, 0) 60%),
    linear-gradient(150deg, #6f9dff, #7c6cf0);
}
.band.image .art {
  background:
    radial-gradient(70% 80% at 15% 15%, rgba(160, 240, 200, .95), rgba(160, 240, 200, 0) 60%),
    radial-gradient(60% 70% at 90% 85%, rgba(120, 200, 255, .95), rgba(120, 200, 255, 0) 60%),
    linear-gradient(150deg, #39c48a, #3d9bf0);
}
.band.image { grid-template-columns: 1fr 1fr; }
.ring-art { position: absolute; left: 50%; top: 50%; width: 314px; height: 260px; margin: -130px 0 0 -157px; scale: 1.15; }
.band.image .art { order: -1; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 650;
  background: rgba(255, 255, 255, .75);
  box-shadow: var(--rim), 0 4px 12px -6px rgba(17, 20, 45, .2);
}
.chips small { font-size: 13px; font-weight: 500; color: var(--ink-3); }

.check { display: flex; gap: 10px; align-items: center; margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.check svg { width: 22px; height: 22px; flex: none; color: var(--ok); }

/* formats */
.fmt { padding: 28px; }
.fmt .top { display: flex; align-items: center; gap: 14px; }
.fmt .ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 18px -6px var(--c);
  background: var(--c);
}
.fmt .ico svg { width: 24px; height: 24px; }
.fmt.video { --c: var(--video); }
.fmt.image { --c: var(--image); }
.fmt.audio { --c: var(--audio); }
.fmt h3 { font-size: 22px; }
.fmt .from { font-size: 14px; color: var(--ink-3); margin-top: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags span {
  height: 34px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 650;
  color: color-mix(in srgb, var(--c) 70%, #1d1d1f);
  background: color-mix(in srgb, var(--c) 12%, white);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 22%, transparent);
}
.tags span.hero-tag { color: #fff; background: var(--c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.soon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 18px;
  border-radius: 20px;
  font-size: 15.5px;
  color: var(--ink-2);
  border: 1.5px dashed rgba(29, 29, 31, .14);
}
.soon b { color: var(--ink); font-weight: 600; }
.badge {
  height: 24px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--indigo);
  background: rgba(94, 92, 230, .1);
}

/* features */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { padding: 28px; }
.tile .ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--indigo);
  background: rgba(255, 255, 255, .8);
  box-shadow: var(--rim), 0 6px 14px -6px rgba(60, 60, 160, .3);
  margin-bottom: 20px;
}
.tile .ico svg { width: 23px; height: 23px; }
.tile p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.swatches { display: flex; gap: 8px; margin-top: 16px; }
.swatches i { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 1px 1px rgba(255, 255, 255, .8), 0 0 0 1px rgba(29, 29, 31, .08), 0 3px 8px -2px rgba(0, 0, 0, .2); }
.swatches i:nth-child(1) { background: linear-gradient(155deg, #fff, #e9ecf5); }
.swatches i:nth-child(2) { background: linear-gradient(155deg, #3a4150, #11141b); box-shadow: inset 0 0 0 1.5px #3be8ff, 0 3px 8px -2px rgba(0, 0, 0, .3); }
.swatches i:nth-child(3) { background: conic-gradient(#a78bfa 0 33%, #4ade80 0 66%, #fbbf24 0); }
.swatches i:nth-child(4) { background: linear-gradient(135deg, #fff 50%, #1f232c 50%); }

/* download */
.download { text-align: center; padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px); overflow: hidden; }
.download::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -40%;
  width: 70%;
  height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(120, 180, 255, .35), rgba(120, 180, 255, 0));
  pointer-events: none;
}
.download .app-icon { width: 104px; height: 104px; margin: 0 auto 26px; filter: drop-shadow(0 18px 30px rgba(94, 92, 230, .4)); }
.download h2 { font-size: clamp(36px, 5.5vw, 60px); }
.download .lead { margin-top: 14px; }
.download .cta { margin-top: 30px; position: relative; z-index: 1; }
.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; text-align: left; position: relative; z-index: 1; }
.howto div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 550;
  background: rgba(255, 255, 255, .62);
  box-shadow: var(--rim);
}
.howto em {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
}
.note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
  margin-top: 22px;
  font-size: 14px;
  color: var(--ink-3);
  position: relative;
  z-index: 1;
}
.note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* faq */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: 20px; }
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(29, 29, 31, .06);
  transition: transform .35s var(--spring), background .2s;
}
.faq summary i::before, .faq summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 2px;
  margin: -1px 0 0 -5.5px;
  border-radius: 1px;
  background: var(--ink-2);
}
.faq summary i::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.faq details[open] summary i { background: rgba(10, 132, 255, .12); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 24px 22px; margin-top: -4px; color: var(--ink-2); font-size: 16px; }

/* footer */
footer { padding: clamp(80px, 10vw, 120px) 0 40px; }
footer .bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding: 20px 24px;
  border-radius: 22px;
  font-size: 14.5px;
  color: var(--ink-2);
}
footer .logo { color: var(--ink); font-size: 16px; }
footer .logo img { width: 26px; height: 26px; }
footer nav { display: flex; gap: 22px; margin-left: auto; }
footer nav a:hover { color: var(--ink); }
footer .small { width: 100%; font-size: 13px; color: var(--ink-3); }
footer .small a { text-decoration: underline; text-underline-offset: 2px; }

/* scroll reveal (only when JS runs, so the page never hides content) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .reveal.on { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }

/* ---------------------------------------------------------------- small screens */

@media (max-width: 900px) {
  .grid3, .tiles { grid-template-columns: 1fr 1fr; }
  .band, .band.image { grid-template-columns: 1fr; }
  .band.image .art { order: 0; }
  .band .art { height: 300px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav .links { display: none; }
  .nav .bar { height: 56px; }
  .nav .btn.small { margin-left: auto; }
  .grid3, .tiles, .howto { grid-template-columns: 1fr; }
  .cta .btn { width: 100%; }
  .step .art { height: 170px; }
  .band .art { height: 270px; }
  .ring-art { scale: .95; }
  .fmt, .tile { padding: 24px; }
  footer nav { margin-left: 0; }
  h1 { font-size: clamp(34px, 10.4vw, 44px); }
  .hero .pill-note { margin-bottom: 20px; }
  .cta { margin-top: 28px; gap: 10px; }
  .btn.big { height: 54px; font-size: 17px; }
  .steps-strip { gap: 6px; }
  .steps-strip span { font-size: 12.5px; padding: 0 10px 0 5px; gap: 6px; height: 32px; }
  .steps-strip span em { width: 22px; height: 22px; font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
