:root {
  --ink: #1f1b24;
  --soft: #5e5866;
  --glass: rgba(255, 255, 255, 0.46);
  --edge: rgba(255, 255, 255, 0.75);
  --shadow: 0 24px 60px rgba(80, 60, 110, 0.16);
  --a: #f9c9da; --b: #ffdcc4; --c: #d9cff8; --d: #b9ddf7; --e: #c9efe6;
  --page: #fbeef0;
  --accent: #5b5bd6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3eff8;
    --soft: #b9b2c6;
    --glass: rgba(255, 255, 255, 0.08);
    --edge: rgba(255, 255, 255, 0.18);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    --a: #5a2b4f; --b: #4a2a55; --c: #2a2a5c; --d: #14324a; --e: #16404f;
    --page: #17182f;
    --accent: #a9a8ff;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font: 17px/1.55 ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* The same slow pastel sky as the app. */
.sky {
  position: fixed; inset: -20%; z-index: -1;
  background:
    radial-gradient(40% 45% at 15% 20%, var(--a), transparent 70%),
    radial-gradient(45% 40% at 85% 15%, var(--b), transparent 70%),
    radial-gradient(45% 50% at 20% 85%, var(--d), transparent 70%),
    radial-gradient(40% 45% at 85% 85%, var(--c), transparent 70%),
    radial-gradient(35% 35% at 55% 60%, var(--e), transparent 70%);
  animation: drift 28s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(3%, -3%, 0) rotate(4deg) scale(1.06); } }

a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.glass {
  background: var(--glass);
  border: 1px solid var(--edge);
  border-radius: 28px;
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: var(--shadow);
}

header.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.nav nav a { color: var(--soft); text-decoration: none; margin-left: 22px; font-size: 15px; }
.nav nav a:hover { color: var(--ink); }

.hero { text-align: center; padding: 48px 0 30px; }
h1 { font-size: clamp(38px, 7vw, 72px); line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 18px; font-weight: 650; text-wrap: balance; }
.lead { font-size: clamp(18px, 2.4vw, 22px); color: var(--soft); max-width: 640px; margin: 0 auto; text-wrap: balance; }

/* The orb: breathes in, breathes out, and lets a little air go. */
.orb-stage { position: relative; height: 320px; display: grid; place-items: center; margin: 26px 0 8px; }
.orb {
  width: 210px; height: 210px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  font-size: 32px; font-weight: 300; color: var(--ink);
  animation: breathe 7s ease-in-out infinite;
}
.orb small { display: block; font-size: 12.5px; font-weight: 500; color: var(--soft); margin-top: 2px; }
@keyframes breathe { 0%, 100% { transform: scale(0.9); } 50% { transform: scale(1.08); } }
.ring { position: absolute; width: 210px; height: 210px; border-radius: 50%; border: 2px solid var(--edge); opacity: 0; animation: ring 7s ease-out infinite; }
.ring:nth-child(2) { animation-delay: 0.6s; }
.ring:nth-child(3) { animation-delay: 1.2s; }
@keyframes ring { 0%, 48% { transform: scale(1); opacity: 0; } 52% { opacity: 0.8; } 100% { transform: scale(2.3); opacity: 0; } }
.mote { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: 0; filter: blur(0.6px); animation: mote 7s ease-out infinite; animation-delay: var(--t); }
@keyframes mote {
  0%, 50% { transform: translate(-50%, -50%); opacity: 0; }
  58% { opacity: 0.9; }
  100% { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))); opacity: 0; }
}

.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 16px; }
.btn.primary { background: var(--ink); color: var(--page); }
.btn.ghost { color: var(--ink); background: var(--glass); border: 1px solid var(--edge); }
.note { font-size: 13.5px; color: var(--soft); margin-top: 12px; }

section { padding: 56px 0; }
h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.015em; line-height: 1.12; margin: 0 0 12px; font-weight: 650; text-wrap: balance; }
.sub { color: var(--soft); max-width: 620px; margin: 0 0 28px; }
.shot { width: 100%; height: auto; display: block; border-radius: 22px; border: 1px solid var(--edge); box-shadow: var(--shadow); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 24px; }
.card h3 { margin: 0 0 6px; font-size: 19px; font-weight: 650; }
.card p { margin: 0; color: var(--soft); font-size: 15.5px; }
.card .ico { font-size: 24px; margin-bottom: 10px; display: block; }

.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 36px; align-items: center; }
.split.flip > :first-child { order: 2; }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 10px 0 10px 28px; position: relative; color: var(--soft); border-top: 1px solid var(--edge); }
ul.plain li:first-child { border-top: 0; }
ul.plain li::before { content: ""; position: absolute; left: 4px; top: 20px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); opacity: 0.7; }
ul.plain b { color: var(--ink); font-weight: 600; }

table.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-top: 1px solid var(--edge); }
.compare thead th { border-top: 0; font-weight: 650; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 24%; }
.table-scroll { overflow-x: auto; padding: 10px 12px; }

details { padding: 16px 22px; margin-bottom: 12px; border-radius: 20px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--soft); margin: 10px 0 2px; }

footer { padding: 36px 0 56px; color: var(--soft); font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
footer a { color: var(--soft); }

.doc { max-width: 720px; padding: 34px; margin: 20px auto 40px; }
.doc h1 { font-size: 40px; }
.doc h2 { font-size: 22px; margin-top: 28px; }
.doc p, .doc li { color: var(--soft); }

@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 20px; }
  .split.flip > :first-child { order: 0; }
  .nav nav a { margin-left: 14px; }
  section { padding: 40px 0; }
  .wrap { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .sky, .orb, .ring, .mote { animation: none; }
  .orb { transform: none; }
}

/* The version beside a download button's label. */
.btn .ver { font-weight: 500; font-size: 0.82em; opacity: 0.78; margin-left: 0.5em; white-space: nowrap; }
