/* WindowKeeper site. Palette from the app icon. */
:root {
  --violet: #8b5cff;
  --indigo: #5b47f5;
  --blue: #1e9bff;
  --cyan: #22d3ee;
  --night: #06051a;
  --night-2: #120c3d;
  --ink: #15123a;
  --ink-2: #4a4770;
  --muted: #b9b6d6;
  --paper: #f6f6fb;
  --card: #ffffff;
  --line: #e4e2f2;
  --glass: rgba(255, 255, 255, 0.86);

  --serif: "Young Serif", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
code { font-family: var(--mono); font-size: 0.88em; background: #ecebf6; padding: 0.1em 0.35em; border-radius: 5px; word-break: break-all; }

.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.08; }
.h2 { font-size: clamp(32px, 4.6vw, 52px); margin: 0 0 16px; max-width: 18ch; text-wrap: balance; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--indigo); margin: 0 0 14px; }
.section-sub { color: var(--ink-2); max-width: 52ch; margin: 0 0 40px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:focus-visible, summary:focus-visible, .nav a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.btn-small { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 6px 24px rgba(20, 10, 80, 0.25); }
.btn-primary { background: linear-gradient(135deg, var(--violet), var(--indigo) 50%, var(--blue)); color: #fff; box-shadow: 0 8px 24px rgba(91, 71, 245, 0.35); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  color: #fff;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.nav.is-solid { background: rgba(246, 246, 251, 0.82); color: var(--ink); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.nav-brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav-links a { text-decoration: none; opacity: 0.85; }
.nav-links a:hover { opacity: 1; }
.nav .btn-small { background: #fff; color: var(--ink); }
.nav.is-solid .btn-small { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(96px, 13vh, 128px) var(--gutter) 0;
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-sky, .hero-night { position: absolute; inset: 0; z-index: -1; }
.hero-sky {
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(139, 92, 255, 0.9), transparent 70%),
    radial-gradient(50% 45% at 85% 20%, rgba(34, 211, 238, 0.55), transparent 70%),
    linear-gradient(180deg, #6a4cf6 0%, #4f5df7 38%, #2c8dff 70%, #5fc8f6 88%, var(--paper) 100%);
}
/* Night layer fades out on load: the "boot" from restart to morning */
.hero-night {
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 60%, #1b1676 100%);
  transition: opacity 2.2s var(--ease-out) 0.4s;
}
.is-booted .hero-night { opacity: 0; }

.hero-copy { position: relative; max-width: 1000px; margin: 0 auto; will-change: transform, opacity, filter; }
.hero-icon {
  width: 76px; height: 76px; margin: 0 auto 22px;
  filter: drop-shadow(0 18px 36px rgba(10, 5, 60, 0.45));
  opacity: 0; transform: translateY(12px) scale(0.9);
  transition: opacity 0.9s var(--ease-out) 0.2s, transform 1.1s var(--spring) 0.2s;
}
.is-booted .hero-icon { opacity: 1; transform: none; }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); margin: 0 auto 20px; max-width: 1100px; text-wrap: balance; }
.hero-sub { font-size: clamp(17px, 1.9vw, 20px); max-width: 40ch; margin: 0 auto 30px; color: rgba(255, 255, 255, 0.86); text-wrap: pretty; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-req { margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.75); }

/* Word-by-word blur-in */
[data-words] .w {
  display: inline-block;
  opacity: 0; filter: blur(14px); transform: translateY(0.18em);
  transition: opacity 0.9s var(--ease-out), filter 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(0.7s + var(--wi) * 0.09s);
}
.is-booted [data-words] .w { opacity: 1; filter: blur(0); transform: none; }
[data-fade] {
  opacity: 0; filter: blur(8px); transform: translateY(10px);
  transition: opacity 0.9s var(--ease-out) 1.5s, filter 0.9s var(--ease-out) 1.5s, transform 0.9s var(--ease-out) 1.5s;
}
.hero-cta[data-fade] { transition-delay: 1.7s; }
.is-booted [data-fade] { opacity: 1; filter: none; transform: none; }

/* ---------- Desktop stage ---------- */
.stage-wrap {
  max-width: 1040px; margin: 56px auto 0;
  perspective: 1600px;
  opacity: 0; transform: translateY(80px);
  transition: opacity 1.2s var(--ease-out) 1.9s, transform 1.4s var(--ease-out) 1.9s;
}
.is-booted .stage-wrap { opacity: 1; transform: none; }
.stage {
  --s: 1;
  position: relative;
  container-type: inline-size;
  aspect-ratio: 16 / 10;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 30% 30%, rgba(139, 92, 255, 0.55), transparent 70%),
    radial-gradient(60% 60% at 80% 70%, rgba(34, 211, 238, 0.45), transparent 70%),
    linear-gradient(140deg, #5b47f5, #1e9bff);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.5) inset, 0 40px 80px rgba(20, 10, 90, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 0;
  transform-origin: 50% 100%;
  will-change: transform;
  font-size: 1.15cqi;
  text-align: left;
  color: var(--ink);
}
@supports not (font-size: 1cqi) { .stage { font-size: 11px; } }

.menubar {
  position: absolute; inset: 0 0 auto; height: 2.4em;
  display: flex; align-items: center; gap: 1.6em; padding: 0 1.4em;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  font-size: 1.05em; font-weight: 500; z-index: 5;
}
.mb-apple { width: 0.9em; height: 1em; border-radius: 40% 40% 50% 50%; background: var(--ink); }
.mb-bold { font-weight: 700; }
.mb-spacer { flex: 1; }
.mb-wk { display: grid; place-items: center; width: 2em; height: 1.8em; border-radius: 0.4em; transition: background 0.2s; }
.mb-wk img { width: 1.4em; height: 1.4em; }
.stage.is-menu .mb-wk { background: rgba(21, 18, 58, 0.14); }

.menu {
  position: absolute; z-index: 6;
  top: 2.7em; right: 6.4em; width: 27em;
  padding: 0.5em;
  border-radius: 0.9em;
  background: rgba(250, 250, 255, 0.86);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1.4em 3em rgba(20, 10, 70, 0.3), 0 0 0 1px rgba(20, 10, 70, 0.08);
  font-size: 1.05em;
  opacity: 0; transform: translateY(-0.4em) scale(0.97); transform-origin: 90% 0;
  transition: opacity 0.22s var(--ease-out), transform 0.3s var(--ease-out);
  pointer-events: none;
}
.stage.is-menu .menu { opacity: 1; transform: none; }
.stage.is-done .menu { opacity: 0; transform: translateY(-0.4em) scale(0.97); }
.menu-row { padding: 0.45em 0.7em; border-radius: 0.5em; }
.menu-main { display: flex; flex-direction: column; gap: 0.15em; transition: background 0.15s, color 0.15s; }
.menu-main span { font-size: 0.86em; color: var(--ink-2); transition: color 0.15s; }
.stage.is-click .menu-main { background: var(--indigo); color: #fff; }
.stage.is-click .menu-main span { color: rgba(255, 255, 255, 0.82); }
.menu-sep { height: 1px; background: rgba(20, 10, 70, 0.1); margin: 0.35em 0.6em; }

/* Window slots, as % of the stage */
.w-browser { left: 5%;  top: 13%; width: 50%; height: 60%; }
.w-doc     { left: 41%; top: 26%; width: 40%; height: 56%; }
.w-finder  { left: 64%; top: 11%; width: 31%; height: 38%; }
.w-term    { left: 12%; top: 60%; width: 34%; height: 34%; }

.ghost {
  position: absolute;
  border: 0.14em dashed rgba(255, 255, 255, 0.55);
  border-radius: 0.9em;
  transition: opacity 0.6s var(--ease-out);
}
.stage.is-restored .ghost { opacity: 0; transition-delay: 0.6s; }

.win {
  position: absolute;
  display: flex; flex-direction: column;
  border-radius: 0.9em;
  background: var(--glass);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1.6em 3.2em rgba(20, 10, 80, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  overflow: hidden;
  opacity: 0;
  transform: translateY(3em) scale(0.92);
  filter: blur(6px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 1s var(--spring),
    filter 0.7s var(--ease-out);
  transition-delay: calc(var(--i) * 0.16s);
}
.stage.is-restored .win { opacity: 1; transform: none; filter: none; }
.w-browser { z-index: 1; } .w-finder { z-index: 2; } .w-doc { z-index: 3; } .w-term { z-index: 4; }

.win-bar {
  display: flex; align-items: center; gap: 0.45em;
  height: 2.4em; padding: 0 0.9em; flex: none;
  background: rgba(240, 240, 250, 0.9);
  border-bottom: 1px solid rgba(20, 10, 70, 0.07);
}
.win-bar i { width: 0.75em; height: 0.75em; border-radius: 50%; background: #ff5f57; flex: none; }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-bar em { font-style: normal; font-size: 0.95em; color: var(--ink-2); margin-left: 0.6em; white-space: nowrap; }
.win-bar.dark { background: #2a2740; border-color: transparent; }
.win-bar.dark em { color: #b9b6d6; }
.tabs { display: flex; gap: 0.3em; margin-left: 0.8em; overflow: hidden; }
.tabs span { font-size: 0.88em; padding: 0.35em 0.8em; border-radius: 0.45em; color: var(--ink-2); white-space: nowrap; }
.tabs span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20, 10, 70, 0.1); }

.win-body { flex: 1; padding: 1.2em 1.4em; display: flex; flex-direction: column; gap: 0.9em; min-height: 0; }
.bar { height: 0.9em; border-radius: 1em; background: #d9d6f7; }
.b-violet { background: #6f5cf6; height: 1.2em; }
.b-blue { background: #7cc3ff; }
.url { height: 1.6em; border-radius: 0.5em; background: #ecebf8; margin-bottom: 0.4em; }
.finder { flex-direction: row; padding: 0; gap: 0; }
.finder .side { width: 28%; background: rgba(236, 235, 248, 0.8); }
.finder .grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9em; padding: 1.1em; align-content: start; }
.finder .grid b { aspect-ratio: 1.25; border-radius: 0.4em; background: linear-gradient(160deg, #7cc3ff, #1e9bff); opacity: 0.85; }
.term { background: #1b1830; }
.term code { background: none; color: #c9f4ff; font-size: 1.05em; padding: 0; word-break: normal; }
.caret { display: inline-block; width: 0.55em; height: 1.1em; background: var(--cyan); vertical-align: -0.2em; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.cursor {
  position: absolute; z-index: 9; width: 2.2em; height: 2.2em;
  left: 46%; top: 70%;
  opacity: 0;
  transition: left 0.9s var(--ease-out), top 0.9s var(--ease-out), opacity 0.4s, transform 0.12s;
  filter: drop-shadow(0 0.2em 0.3em rgba(0, 0, 0, 0.3));
}
.cursor svg { width: 100%; height: 100%; }
.stage.is-aim .cursor { opacity: 1; left: 88.5%; top: 1%; }
.stage.is-menu .cursor { left: 72%; top: 5.6%; }
.stage.is-click .cursor { transform: scale(0.85); }
.stage.is-done .cursor { opacity: 0; }

.toast {
  position: absolute; z-index: 8; right: 2%; bottom: 3.5%;
  display: flex; align-items: center; gap: 0.8em;
  padding: 0.8em 1.2em 0.8em 0.8em;
  border-radius: 1em;
  background: rgba(250, 250, 255, 0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1em 2.4em rgba(20, 10, 70, 0.3);
  font-size: 1.1em;
  opacity: 0; transform: translateY(1em) scale(0.96);
  transition: opacity 0.5s var(--ease-out), transform 0.7s var(--spring);
}
.toast img { width: 2.6em; height: 2.6em; }
.toast strong { display: block; }
.toast span { color: var(--ink-2); font-size: 0.9em; }
.stage.is-done .toast { opacity: 1; transform: none; transition-delay: 0.9s; }

/* ---------- Statement ---------- */
.statement { padding: clamp(96px, 14vw, 180px) var(--gutter); }
.statement-text { max-width: 26ch; margin: 0 auto; font-size: clamp(30px, 4.6vw, 54px); text-align: center; text-wrap: balance; }
[data-scrub] .w { color: var(--muted); transition: color 0.25s linear; }
[data-scrub] .w.on { color: var(--ink); }

/* ---------- Sections ---------- */
.how, .brings, .pricing, .faq { max-width: var(--maxw); margin: 0 auto; padding: 40px var(--gutter) clamp(80px, 10vw, 140px); }

.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.how-card {
  border-radius: 28px; padding: 28px 28px 32px;
  background: var(--card);
  box-shadow: 0 1px 0 var(--line), 0 20px 50px rgba(40, 30, 120, 0.06);
}
.how-card h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 6px 0 10px; }
.how-card p { margin: 0; color: var(--ink-2); }
.how-card em { font-style: normal; font-weight: 600; color: var(--ink); }
.how-step { font-size: 14px; font-weight: 600; color: var(--indigo) !important; }
.how-visual {
  height: 220px; border-radius: 20px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; gap: 28px;
  overflow: hidden;
}
.card-violet .how-visual { background: radial-gradient(80% 90% at 20% 0%, #c9b8ff, transparent), linear-gradient(160deg, #a58bff, #6a55f6); }
.card-blue .how-visual { background: radial-gradient(80% 90% at 80% 0%, #a6f0ff, transparent), linear-gradient(160deg, #5aa8ff, #1e7fff); }

.clock { position: relative; width: 120px; height: 120px; }
.clock svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.clock circle { fill: none; stroke-width: 9; }
.clock-track { stroke: rgba(255, 255, 255, 0.28); }
.clock-fill { stroke: #fff; stroke-linecap: round; stroke-dasharray: 314.2; stroke-dashoffset: 314.2; }
.is-in .clock-fill { animation: sweep 6s linear infinite; }
@keyframes sweep { to { stroke-dashoffset: 0; } }
.clock-label { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 18px; }
.snap-list { display: flex; flex-direction: column; gap: 8px; }
.snap-list span {
  font: 400 13px/1 var(--mono); color: var(--ink);
  background: var(--glass); border-radius: 10px; padding: 9px 12px;
  box-shadow: 0 6px 16px rgba(30, 10, 90, 0.18);
  opacity: 0; transform: translateX(14px);
  transition: opacity 0.6s var(--ease-out), transform 0.7s var(--spring);
}
.snap-list span:nth-child(2) { opacity: 0; transition-delay: 0.15s; }
.snap-list span:nth-child(3) { transition-delay: 0.3s; }
.is-in .snap-list span { opacity: 1; transform: none; }
.is-in .snap-list span:nth-child(2) { opacity: 0.8; }
.is-in .snap-list span:nth-child(3) { opacity: 0.6; }

.mini-menu {
  width: min(86%, 340px); padding: 8px; border-radius: 14px;
  background: rgba(250, 250, 255, 0.9);
  box-shadow: 0 20px 40px rgba(10, 40, 120, 0.3);
  font-size: 14px;
  transform: translateY(10px); opacity: 0;
  transition: opacity 0.6s var(--ease-out) 0.2s, transform 0.8s var(--spring) 0.2s;
}
.is-in .mini-menu { opacity: 1; transform: none; }
.mini-row { padding: 8px 10px; border-radius: 8px; color: var(--ink); }
.mini-row.on { display: flex; flex-direction: column; gap: 2px; transition: background 0.3s 1s, color 0.3s 1s; }
.mini-row.on span { font-size: 12.5px; color: var(--ink-2); transition: color 0.3s 1s; }
.is-in .mini-row.on { background: var(--indigo); color: #fff; }
.is-in .mini-row.on span { color: rgba(255, 255, 255, 0.82); }

.brings-grid { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brings-grid li {
  padding: 26px; border-radius: 22px; background: var(--card);
  box-shadow: 0 1px 0 var(--line), 0 16px 40px rgba(40, 30, 120, 0.05);
}
.brings-grid h3 { font-size: 19px; font-weight: 600; margin: 18px 0 6px; }
.brings-grid p { margin: 0; color: var(--ink-2); font-size: 16px; }
.b-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(140deg, var(--violet), var(--indigo) 50%, var(--blue));
  box-shadow: 0 8px 18px rgba(91, 71, 245, 0.3);
}
.b-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.price-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: start; }
.price-card {
  position: relative; border-radius: 28px; padding: 32px;
  background: var(--card);
  box-shadow: 0 1px 0 var(--line), 0 20px 50px rgba(40, 30, 120, 0.06);
  display: flex; flex-direction: column;
}
.price-card h3 { font-size: 20px; font-weight: 600; margin: 0; display: flex; align-items: center; gap: 10px; }
.price { margin: 14px 0 4px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.amount { font: 400 56px/1 var(--serif); letter-spacing: -0.02em; }
.per { color: var(--ink-2); }
.price-note { margin: 0 0 18px; color: var(--ink-2); }
.badge { font-size: 12px; font-weight: 600; color: var(--indigo); background: #ecebff; padding: 4px 9px; border-radius: 999px; }
.price-pro {
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(140deg, var(--violet), var(--blue), var(--cyan)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 30px 70px rgba(91, 71, 245, 0.16);
}
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li strong { color: var(--ink); font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 19px; height: 19px; border-radius: 50%;
  background: linear-gradient(140deg, var(--violet), var(--blue)) ;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.3 14.2L4.6 10.1l1.4-1.4 2.7 2.7 5.3-5.3 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.3 14.2L4.6 10.1l1.4-1.4 2.7 2.7 5.3-5.3 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price-card .btn { align-self: flex-start; }
.price-foot { margin: 16px 0 0; font-size: 14px; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 820px; }
.faq-list { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-size: 19px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform 0.35s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq-a { overflow: hidden; color: var(--ink-2); }
.faq-a p { margin: 0 0 14px; max-width: 64ch; }
.faq-a p:last-child { margin-bottom: 24px; }

/* Scroll reveal: blur + rise, staggered by --d */
[data-reveal] {
  opacity: 0; filter: blur(10px); transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), filter 0.9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 0.08s);
}
[data-reveal].is-in { opacity: 1; filter: none; transform: none; }

/* ---------- Footer ---------- */
.footer {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(110px, 16vw, 200px) var(--gutter) 28px;
  text-align: center; color: #fff;
  background:
    radial-gradient(60% 60% at 50% 110%, rgba(34, 211, 238, 0.45), transparent 70%),
    linear-gradient(180deg, var(--paper) 0%, #6a4cf6 18%, #2d1ea0 60%, var(--night) 100%);
}
.footer-line { font-size: clamp(40px, 8vw, 96px); margin: 0 auto 32px; max-width: 15ch; text-wrap: balance; }
.footer-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  max-width: var(--maxw); margin: clamp(90px, 12vw, 150px) auto 0;
  padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 15px; color: rgba(255, 255, 255, 0.75);
}
.footer-bar nav { display: flex; gap: 22px; }
.footer-bar a { text-decoration: none; }
.footer-bar a:hover { color: #fff; }
.footer-bar p { margin: 0; }
.footer-float { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fw {
  position: absolute; border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: drift 14s ease-in-out infinite alternate;
}
.fw::before { content: ""; position: absolute; left: 12px; top: 10px; width: 34px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.35); }
.fw1 { width: 220px; height: 150px; left: -40px; bottom: 210px; }
.fw2 { width: 160px; height: 110px; left: 9%; bottom: 130px; animation-delay: -4s; }
.fw3 { width: 240px; height: 160px; right: -50px; bottom: 240px; animation-delay: -7s; }
.fw4 { width: 150px; height: 100px; right: 11%; bottom: 120px; animation-delay: -2s; }
@keyframes drift { to { transform: translate(18px, -22px) rotate(-2deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .how-grid, .price-grid { grid-template-columns: 1fr; }
  .brings-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav .btn-small { margin-left: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 100px; }
  .hero-icon { width: 72px; height: 72px; }
  .stage-wrap { margin-top: 48px; margin-inline: calc(var(--gutter) * -0.5); }
  .stage { aspect-ratio: 4 / 5; font-size: 2.3cqi; border-radius: 14px 14px 0 0; }
  .mb-hide-s { display: none; }
  .menu { right: 1em; width: calc(100% - 2em); }
  .w-browser { left: 4%; top: 9%;  width: 74%; height: 40%; }
  .w-finder  { left: 54%; top: 26%; width: 42%; height: 28%; }
  .w-doc     { left: 8%; top: 46%; width: 62%; height: 32%; }
  .w-term    { left: 34%; top: 66%; width: 62%; height: 22%; }
  .stage.is-aim .cursor { left: 74%; top: 1%; }
  .stage.is-menu .cursor { left: 50%; top: 6%; }
  .toast { left: 4%; right: 4%; bottom: 3%; }
  .brings-grid { grid-template-columns: 1fr; }
  .how-card, .price-card { padding: 22px; border-radius: 22px; }
  .how-visual { height: 180px; gap: 18px; }
  .clock { width: 96px; height: 96px; }
  .faq summary { font-size: 17px; }
  .footer-bar { justify-content: center; text-align: center; flex-direction: column; }
  .fw1, .fw3 { display: none; }
  .fw2 { width: 120px; height: 80px; left: -36px; bottom: 300px; }
  .fw4 { width: 120px; height: 80px; right: -36px; bottom: 360px; }
}

/* ---------- Reduced motion: show the final state, no movement ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .hero-night { display: none; }
  .hero-icon, [data-words] .w, [data-fade], .stage-wrap, [data-reveal], .snap-list span, .mini-menu { opacity: 1 !important; filter: none !important; transform: none !important; }
  .snap-list span:nth-child(2) { opacity: 0.8 !important; }
  .snap-list span:nth-child(3) { opacity: 0.6 !important; }
  .clock-fill { stroke-dashoffset: 80; }
  .caret { animation: none; }
  [data-scrub] .w { color: var(--ink); }
}

@media (max-width: 560px) { .br-wide { display: none; } }

/* Phone and tablet: Download explains it's a Mac app */
.mac-only {
  width: min(92vw, 400px); padding: 28px 24px 22px; border: 0; border-radius: 24px;
  background: var(--card); color: var(--ink); text-align: center;
  box-shadow: 0 30px 80px rgba(20, 10, 80, 0.35);
}
.mac-only::backdrop { background: rgba(10, 8, 40, 0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mac-only img { margin: 0 auto 14px; }
.mac-only h2 { font: 400 26px/1.15 var(--serif); margin: 0 0 8px; }
.mac-only p { margin: 0 0 20px; color: var(--ink-2); }
.mac-only-actions { display: flex; flex-direction: column; gap: 10px; }
.mac-only .mac-only-note { margin: 12px 0 0; font-size: 14px; min-height: 1em; }
