/* ==========================================================================
   Mono website, home page: liquid glass over soft daylight, light and dark.
   No web fonts, no CDNs. Everything is here: the page's Content-Security-Policy
   allows no inline styles, so main.js only sets classes and a few CSS variables.
   The legal pages use legal.css.
   ========================================================================== */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --ease: cubic-bezier(.32, .72, 0, 1);
  --pad: 170px;
  --cw: 640px;
  --ch: 400px;
  --step: 400px;
  --mx: 0;
  --my: 0;

  color-scheme: light;
  --bg: #E9F1FF;
  --fg: #14161C;
  --fg2: rgba(20, 22, 28, .8);
  --fg3: rgba(20, 22, 28, .66);
  --line: rgba(10, 20, 60, .09);
  --line2: rgba(10, 20, 60, .16);
  --g1: rgba(255, 255, 255, .74);
  --g2: rgba(255, 255, 255, .36);
  --gb: rgba(255, 255, 255, .9);
  --rim: #FFFFFF;
  --rim2: rgba(255, 255, 255, .75);
  --gsh: 0 30px 70px rgba(40, 70, 140, .2), 0 2px 8px rgba(20, 40, 90, .08);
  --btn: #14161C;
  --btnfg: #FFFFFF;
  --wash: rgba(10, 20, 60, .06);
  --solid: rgba(255, 255, 255, .93);
  --w1: #8EC5FF;
  --w2: #C4BAFF;
  --w3: #FFCFA8;
  --w4: #A6F0D0;
  --wop: .9;
  --red: #FF383C;
  --link: #0952C2;
  --dsh: 0 50px 90px rgba(30, 60, 140, .3);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #060914;
  --fg: #F4F6FB;
  --fg2: rgba(244, 246, 251, .78);
  --fg3: rgba(244, 246, 251, .62);
  --line: rgba(255, 255, 255, .1);
  --line2: rgba(255, 255, 255, .18);
  --g1: rgba(255, 255, 255, .13);
  --g2: rgba(255, 255, 255, .04);
  --gb: rgba(255, 255, 255, .12);
  --rim: rgba(255, 255, 255, .6);
  --rim2: rgba(255, 255, 255, .2);
  --gsh: 0 30px 70px rgba(0, 0, 0, .55), 0 2px 8px rgba(0, 0, 0, .4);
  --btn: #F4F6FB;
  --btnfg: #060914;
  --wash: rgba(255, 255, 255, .08);
  --solid: rgba(22, 25, 38, .95);
  --w1: #0B5BD6;
  --w2: #5B3FE0;
  --w3: #B34A1E;
  --w4: #0C7A5A;
  --wop: .5;
  --red: #FF4245;
  --link: #8CCBFF;
  --dsh: 0 50px 90px rgba(0, 0, 0, .7);
}

/* Calendar colours: --c solid, --ct text tone, --cs soft fill */
.c-blue   { --c: #0088FF; --ct: #0952C2; --cs: rgba(0, 136, 255, .16); }
.c-green  { --c: #34C759; --ct: #006E28; --cs: rgba(52, 199, 89, .18); }
.c-indigo { --c: #6155F5; --ct: #4A3FCF; --cs: rgba(97, 85, 245, .15); }
.c-orange { --c: #FF8D28; --ct: #A84500; --cs: rgba(255, 141, 40, .2); }
.c-red    { --c: #FF383C; --ct: #B3141A; --cs: rgba(255, 56, 60, .15); }
[data-theme="dark"] .c-blue   { --c: #0091FF; --ct: #8CCBFF; --cs: rgba(0, 145, 255, .28); }
[data-theme="dark"] .c-green  { --c: #30D158; --ct: #7BE495; --cs: rgba(48, 209, 88, .24); }
[data-theme="dark"] .c-indigo { --c: #6D7CFF; --ct: #B9BEFF; --cs: rgba(109, 124, 255, .3); }
[data-theme="dark"] .c-orange { --c: #FF9230; --ct: #FFBC85; --cs: rgba(255, 146, 48, .26); }
[data-theme="dark"] .c-red    { --c: #FF4245; --ct: #FFA0A2; --cs: rgba(255, 66, 69, .26); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .8s, color .8s;
}
/* The tilted previews and the carousel reach past the page's edges; older browsers without `clip`. */
@supports not (overflow: clip) { body { overflow-x: hidden; } }
a { color: inherit; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; }
code, pre { font-family: var(--mono); }
:focus-visible { outline: 2.5px solid #0088FF; outline-offset: 3px; }
::selection { background: rgba(0, 136, 255, .3); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -70px; z-index: 100;
  padding: 10px 16px; border-radius: 12px;
  background: var(--btn); color: var(--btnfg); font-weight: 600; text-decoration: none;
  transition: top .3s var(--ease);
}
.skip:focus { top: 14px; }

.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.fill { fill: currentColor; }
.wrap { max-width: 1200px; margin: 0 auto; }
.wrap-narrow { max-width: 860px; }
.sec { position: relative; padding: var(--pad) 24px 0; }
.sec-wide { padding-left: 0; padding-right: 0; }
.center { text-align: center; }
.pad { padding: 0 24px; }
.muted { color: var(--fg3); }
.stack { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.stack-l { display: flex; flex-direction: column; gap: 40px; }
.narrow { max-width: 640px; }

/* Shown only on phones / only above phone width (the phone rules are at the end). */
.on-phone-f, .on-phone-b, .on-phone-i { display: none !important; }

/* ---------- Glass ---------- */
.glass {
  position: relative;
  background: linear-gradient(180deg, var(--g1), var(--g2));
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid var(--gb);
  box-shadow: inset 0 1px 0 var(--rim2), inset 0 -8px 20px rgba(255, 255, 255, .06), var(--gsh);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(135deg, var(--rim), rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, var(--rim2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

/* ---------- Colour light behind everything ---------- */
.fields { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.field {
  position: absolute; border-radius: 50%; filter: blur(110px); opacity: var(--wop);
  animation: drift 22s ease-in-out infinite alternate;
  transition: background 1s, opacity 1s;
}
@keyframes drift { to { translate: 70px 50px; scale: 1.18; } }
.f1 { left: -8%; top: -120px; width: 720px; height: 620px; background: var(--w1); }
.f2 { right: -10%; top: 200px; width: 760px; height: 680px; background: var(--w2); animation-delay: -7s; }
.f3 { left: 24%; top: 820px; width: 620px; height: 520px; background: var(--w3); animation-delay: -12s; }
.f4 { left: -6%; top: 1700px; width: 700px; height: 620px; background: var(--w4); animation-delay: -3s; }
.f5 { right: -8%; top: 2900px; width: 760px; height: 660px; background: var(--w1); animation-delay: -9s; }
.f6 { left: 10%; top: 3900px; width: 720px; height: 560px; background: var(--w2); animation-delay: -15s; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 14px; z-index: 50;
  display: flex; align-items: center; gap: 6px;
  width: fit-content; max-width: calc(100% - 24px);
  margin: 14px auto 0; padding: 7px 8px 7px 14px;
  border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; padding-right: 10px; font-weight: 600; font-size: 17px; text-decoration: none; }
.navlinks { display: flex; gap: 2px; }
.navlink { padding: 9px 14px; border-radius: 999px; font-size: 15px; color: var(--fg2); text-decoration: none; white-space: nowrap; transition: background .25s, color .25s; }
.navlink:hover { background: var(--wash); color: var(--fg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px;
  font: 600 17px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .3s var(--spring);
}
.btn:hover { transform: scale(1.04); }
.btn:active { transform: scale(.97); }
.btn-p { background: var(--btn); color: var(--btnfg); }
.btn-g { color: var(--fg); }
.btn-nav { min-height: 44px; padding: 0 18px; font-size: 15px; }

.round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; padding: 0; border: 0; background: none; color: var(--fg); cursor: pointer; }
.round.glass { border: 1px solid var(--gb); background: linear-gradient(180deg, var(--g1), var(--g2)); }
.round .sun, .round .moon { grid-area: 1 / 1; transition: opacity .4s, transform .6s var(--spring); }
.round .sun { opacity: 0; transform: rotate(90deg) scale(.4); }
[data-theme="dark"] .round .sun { opacity: 1; transform: none; }
[data-theme="dark"] .round .moon { opacity: 0; transform: rotate(-90deg) scale(.4); }

/* The app icon: light artwork in the light theme, dark artwork in the dark one. */
.ic { position: relative; display: block; flex: none; }
.ic img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .7s; }
.ic .d { opacity: 0; }
[data-theme="dark"] .ic .l { opacity: 0; }
[data-theme="dark"] .ic .d { opacity: 1; }
.ic-nav { width: 30px; height: 30px; }
.ic-note { width: 38px; height: 38px; }
.ic-foot { width: 26px; height: 26px; }
.ic-big { width: 96px; height: 96px; filter: drop-shadow(0 20px 34px rgba(0, 60, 160, .3)); }
.hic { width: 78px; height: 78px; filter: drop-shadow(0 14px 22px rgba(0, 60, 160, .3)); }

/* ---------- Type ---------- */
.h1 { margin: 0; font-size: clamp(42px, 5.7vw, 82px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; }
.h2 { margin: 0; font-size: clamp(34px, 4.6vw, 66px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.lead { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--fg2); text-wrap: pretty; }

/* ---------- Hero ---------- */
.hero { padding-top: 64px; }
.top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.hrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hside { display: flex; flex-direction: column; gap: 22px; padding-bottom: 8px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

.scene { position: relative; height: 700px; perspective: 2000px; margin-top: 28px; }
.rig {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateY(calc(-14deg + var(--mx) * 22deg)) rotateX(calc(9deg + var(--my) * -14deg));
  transition: transform .45s ease-out;
}
@keyframes rigsway { 0%, 100% { transform: rotateY(-12deg) rotateX(7deg); } 50% { transform: rotateY(10deg) rotateX(3deg); } }
@keyframes rigsway-s { 0%, 100% { transform: rotateY(-5deg) rotateX(3deg); } 50% { transform: rotateY(5deg) rotateX(1deg); } }
@media (hover: none) { .rig { animation: rigsway 10s ease-in-out infinite; } }

.mac {
  position: absolute; left: 50%; top: 56px; width: 820px; height: 520px; margin-left: -360px;
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 28px; background: var(--solid); border: 1px solid var(--gb);
  box-shadow: var(--dsh), inset 0 1px 0 var(--rim2);
  transition: background .8s;
}
.mac-bar { display: flex; align-items: center; gap: 14px; height: 58px; padding: 0 18px; flex: none; }
.mac-title { font-size: 20px; letter-spacing: -.01em; }
.mac-title span { color: var(--fg3); font-weight: 400; }
.mac-search { margin-left: auto; padding: 7px 12px; border-radius: 999px; background: var(--wash); font-size: 12.5px; color: var(--fg3); }
.seg { display: flex; padding: 3px; border-radius: 999px; background: var(--wash); font-size: 12px; color: var(--fg3); }
.seg span { padding: 5px 11px; border-radius: 999px; }
.seg .on { background: var(--solid); color: var(--fg); box-shadow: 0 1px 4px rgba(0, 0, 0, .14); }
.mac-wd { display: flex; flex: none; }
.mac-wd span { flex: 1; padding: 8px 10px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--fg3); }
.mac-grid { flex: 1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: repeat(5, minmax(0, 1fr)); }
.cell { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 7px 7px 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cell b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 500; line-height: 1; }
.cell.out b { color: var(--fg3); }
.cell.today b { background: var(--red); color: #fff; font-weight: 600; }
.pillev { padding: 2px 6px; border-radius: 6px; background: var(--cs); color: var(--ct); font-size: 10.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.phone {
  position: absolute; left: 50%; top: 150px; width: 262px; height: 540px; margin-left: -520px;
  padding: 9px; border-radius: 48px; background: #0A0B10;
  transform: translateZ(150px);
  box-shadow: var(--dsh), inset 0 0 0 1.5px rgba(255, 255, 255, .25);
}
.screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  display: flex; flex-direction: column; gap: 9px; padding: 34px 16px 16px;
  border-radius: 40px; background: var(--solid); line-height: 1.3;
  transition: background .8s;
}
.ph-date { font-size: 12px; color: var(--fg3); }
.ph-today { font-size: 28px; letter-spacing: -.03em; margin-bottom: 4px; }
.pcard { position: relative; flex: none; display: flex; flex-direction: column; gap: 2px; overflow: hidden; padding: 11px 13px; border-radius: 16px; background: var(--cs); color: var(--ct); font-size: 13px; }
.pcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.pcard small { font-size: 11px; opacity: .85; }
.pcard-s { padding: 8px 12px; }
.pnew { animation: pnew 10s infinite; transform-origin: 50% 0; }
@keyframes pnew {
  0%, 52% { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: -9px; }
  58%, 94% { opacity: 1; max-height: 60px; padding-top: 11px; padding-bottom: 11px; margin-top: 0; }
  100% { opacity: 0; max-height: 60px; }
}
.sheet {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  display: flex; flex-direction: column; gap: 10px; padding: 16px;
  border-radius: 30px; background: var(--solid); border: 1px solid var(--line2);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, .2);
  animation: sheet 10s var(--ease) infinite;
}
@keyframes sheet { 0%, 8% { translate: 0 120%; } 14%, 48% { translate: 0 0; } 54%, 100% { translate: 0 120%; } }
.typed { position: relative; display: inline-block; align-self: flex-start; font-size: 15px; white-space: nowrap; }
.typed-t { display: block; animation: type 10s infinite; }
.rail { position: absolute; inset: 0; animation: rail 10s infinite; }
.rail::after { content: ""; position: absolute; right: -3px; top: 1px; bottom: 1px; width: 2px; border-radius: 2px; background: #0088FF; animation: blink 1s steps(2) infinite; }
@keyframes type { 0%, 16% { clip-path: inset(0 100% 0 0); } 17% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(18, end); } 38%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes rail { 0%, 16% { transform: translateX(-100%); } 17% { transform: translateX(-100%); animation-timing-function: steps(18, end); } 38%, 100% { transform: translateX(0); } }
@keyframes blink { 50% { opacity: 0; } }
.fab { position: absolute; right: 16px; bottom: 18px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #0088FF; color: #fff; box-shadow: 0 10px 24px rgba(0, 136, 255, .5); }

.card3 {
  position: absolute; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px;
  border-radius: 24px; background: var(--solid); border: 1px solid var(--gb);
  box-shadow: var(--dsh), inset 0 1px 0 var(--rim2); line-height: 1.3;
  transition: background .8s;
}
.cd1 { right: 10px; top: 70px; width: 230px; transform: translateZ(200px); }
.cd2 { right: 60px; bottom: 30px; flex-direction: row; align-items: center; gap: 12px; transform: translateZ(260px); animation-delay: -4s; }
.cd-label { font-size: 12px; color: var(--fg3); }
.cd-big { font-size: 30px; letter-spacing: -.03em; }
.cd-bar { height: 6px; margin-top: 6px; border-radius: 6px; background: var(--wash); overflow: hidden; }
.cd-bar span { display: block; width: 64%; height: 100%; border-radius: 6px; background: #0088FF; }
.cd-text { display: flex; flex-direction: column; gap: 2px; }
.cd-text b { font-size: 14px; }
.cd-text span { font-size: 13px; color: var(--fg2); }
.bob { animation: bob 8s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -12px; } }

/* ---------- Try it ---------- */
.play { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; padding: 48px; border-radius: 44px; }
.play-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.qwrap { position: relative; display: flex; }
.qin {
  flex: 1; min-width: 0; min-height: 60px; padding: 0 104px 0 22px;
  border-radius: 999px; border: 1.5px solid var(--line2); outline: none;
  background: var(--solid); color: var(--fg); font: 17px var(--font);
  transition: border-color .3s, box-shadow .3s;
}
.qin:focus { border-color: #0088FF; box-shadow: 0 0 0 4px rgba(0, 136, 255, .22); }
.qin::placeholder { color: var(--fg2); opacity: 1; }
.qadd { position: absolute; right: 7px; top: 7px; bottom: 7px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--btn); color: var(--btnfg); font: 600 16px/1 var(--font); cursor: pointer; transition: transform .3s var(--spring); }
.qadd:hover { transform: scale(1.05); }
.sugrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sugl { flex: none; font-size: 14px; color: var(--fg3); }
.sug { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); background: var(--wash); color: var(--fg2); font: 14px var(--mono); white-space: nowrap; cursor: pointer; transition: transform .3s var(--spring), background .3s; }
.sug:hover { transform: scale(1.05); background: var(--solid); }
.qmsg { margin: 0; min-height: 22px; font-size: 15px; line-height: 1.4; color: var(--fg2); }

.board {
  overflow: hidden; border-radius: 28px; background: var(--solid); border: 1px solid var(--gb);
  box-shadow: var(--dsh); line-height: 1.25;
  transform: perspective(1400px) rotateY(calc(-12deg + var(--mx) * 10deg)) rotateX(6deg);
  transition: transform .45s ease-out, background .8s;
}
.dhrow { display: flex; padding-left: 46px; border-bottom: 1px solid var(--line); }
.dh { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 0; font-size: 11px; color: var(--fg3); }
.dh b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; font-weight: 600; color: var(--fg); }
.dh.today b { background: var(--red); color: #fff; }
.hrs { display: flex; height: 520px; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 39px, var(--line) 39px, var(--line) 40px); }
.gut { flex: none; width: 46px; display: flex; flex-direction: column; padding-right: 7px; font-size: 10px; color: var(--fg3); text-align: right; }
.gut span { flex: none; height: 40px; padding-top: 2px; }
.col { position: relative; flex: 1; min-width: 0; border-left: 1px solid var(--line); }
.ev { position: absolute; left: 3px; right: 3px; display: flex; flex-direction: column; overflow: hidden; padding: 4px 6px 0 10px; border-radius: 9px; background: var(--cs); color: var(--ct); font-size: 11.5px; }
.ev::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); }
.ev b { flex: none; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev small { flex: none; font-size: 10px; opacity: .85; white-space: nowrap; }
.ev.new { animation: pop .7s cubic-bezier(.34, 1.5, .64, 1); box-shadow: 0 0 0 2px var(--c), 0 10px 24px rgba(0, 0, 0, .18); }
@keyframes pop { from { opacity: 0; scale: .5; } to { opacity: 1; scale: 1; } }

/* ---------- Make it yours: the recording ---------- */
.vwin {
  position: relative; width: min(1080px, 100%); aspect-ratio: 1280 / 800; margin: 44px auto 0;
  overflow: hidden; border-radius: 26px; background: #CBD6EC; border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: var(--dsh), inset 0 1px 0 rgba(255, 255, 255, .6);
  transform: perspective(1700px) rotateX(calc(7deg + var(--my) * -8deg)) rotateY(calc(var(--mx) * 10deg));
  transition: transform .45s ease-out, background .8s;
}
[data-theme="dark"] .vwin { background: #1B2233; border-color: rgba(255, 255, 255, .2); }
.vphone {
  display: none; position: relative; width: min(292px, 80%); aspect-ratio: 392 / 800; margin: 28px auto 0;
  border-radius: 44px; background: #0A0B10;
  box-shadow: var(--dsh), inset 0 0 0 1.5px rgba(255, 255, 255, .25);
}
.vclip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s; }
.vphone .vclip { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); border-radius: 36px; }
.vclip.swap { opacity: 0; }
.only-d { display: none; }
[data-theme="dark"] .only-l { display: none; }
[data-theme="dark"] .only-d { display: inline; }
.vcap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 0; }
.fact { padding: 9px 15px; border-radius: 999px; font-size: 14px; line-height: 1.4; color: var(--fg2); text-decoration: none; }

/* ---------- In motion: the clip carousel ---------- */
#motion .h2 { margin-bottom: 44px; }
.cover { position: relative; height: calc(var(--ch) + 20px); perspective: 1700px; }
.reel {
  position: absolute; left: 50%; top: 0; width: var(--cw); height: var(--ch); margin-left: calc(var(--cw) / -2);
  overflow: hidden; padding: 0; border-radius: 30px; border: 1px solid rgba(255, 255, 255, .25);
  background: #0D0D14; color: #fff; font: inherit; line-height: 1.4; text-align: left; cursor: pointer;
  box-shadow: 0 40px 80px rgba(10, 20, 60, .4), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: transform .9s var(--ease), opacity .9s;
}
.reel * { pointer-events: none; }
.reel.jump { transition: opacity .6s; }
.p0 { transform: none; z-index: 5; }
.pp1 { transform: translateX(var(--step)) translateZ(-280px) rotateY(-40deg); z-index: 4; }
.pm1 { transform: translateX(calc(var(--step) * -1)) translateZ(-280px) rotateY(40deg); z-index: 4; }
.pp2 { transform: translateX(calc(var(--step) * 1.9)) translateZ(-560px) rotateY(-50deg); z-index: 3; opacity: .4; }
.pm2 { transform: translateX(calc(var(--step) * -1.9)) translateZ(-560px) rotateY(50deg); z-index: 3; opacity: .4; }
.pp3 { transform: translateX(calc(var(--step) * 2.7)) translateZ(-800px) rotateY(-55deg); z-index: 2; opacity: 0; }
.sc { position: absolute; inset: 0; display: flex; }
.tag { position: absolute; left: 18px; top: 16px; z-index: 2; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 12px; font-weight: 600; }
.tag.dk { background: rgba(10, 20, 50, .1); color: #10131A; }
.tag-mid { background: rgba(110, 110, 125, .6); }
.lite { color: #10131A; }

.sc-ai { background: radial-gradient(80% 90% at 80% 0%, rgba(135, 145, 255, .35), transparent 70%), #0E0D16; }
.chat { flex-direction: column; justify-content: center; gap: 10px; padding: 54px 22px 20px; }
.bub { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: 14px; }
.bub.me { align-self: flex-end; background: #2BA2FF; }
.bub.ai { align-self: flex-start; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); animation: bub2 10s infinite; }
.bub.ok { align-self: flex-start; background: rgba(61, 220, 106, .2); border: 1px solid rgba(61, 220, 106, .5); animation: bub3 10s infinite; }
@keyframes bub2 { 0%, 12% { opacity: 0; translate: 0 14px; } 18%, 94% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes bub3 { 0%, 46% { opacity: 0; translate: 0 14px; } 52%, 94% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }

.sc-qa { background: radial-gradient(90% 100% at 20% 0%, #FFFFFF, transparent 70%), linear-gradient(160deg, #DCEBFF, #B9D6FF); }
.qa { flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 54px 22px 20px; }
.qbar { display: flex; align-items: center; gap: 10px; width: min(440px, 100%); height: 56px; padding: 0 18px; border-radius: 18px; background: rgba(255, 255, 255, .8); border: 1px solid #FFFFFF; box-shadow: 0 12px 30px rgba(40, 80, 160, .2); }
.qbar .i { color: #0088FF; }
.qbar .typed { font-size: 17px; align-self: center; }
.qev { display: flex; flex-direction: column; gap: 3px; width: min(300px, 86%); padding: 13px 16px; border-radius: 18px; background: color-mix(in srgb, #FF8D28 30%, #FFFFFF); border: 1px solid rgba(255, 255, 255, .9); color: #5A2A00; box-shadow: 0 12px 26px rgba(160, 80, 0, .18); animation: qev 10s infinite; transform-origin: 50% 0; }
.qev b { font-size: 17px; }
.qev span { font-size: 13px; opacity: .85; }
@keyframes qev { 0%, 42% { opacity: 0; scale: .7; } 48% { opacity: 1; scale: 1.05; } 52%, 94% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: .9; } }

.mini { position: absolute; inset: 0; }
.mini i { position: absolute; border-radius: 9px; }
.mini i:nth-child(1) { left: 6%; top: 21%; width: 20%; height: 14%; background: #2BA2FF; }
.mini i:nth-child(2) { left: 6%; top: 40%; width: 20%; height: 26%; background: #3DDC6A; }
.mini i:nth-child(3) { left: 29%; top: 28%; width: 20%; height: 22%; background: #8791FF; }
.mini i:nth-child(4) { left: 29%; top: 58%; width: 20%; height: 14%; background: #FF9F45; }
.mini i:nth-child(5) { left: 52%; top: 21%; width: 20%; height: 30%; background: #2BA2FF; }
.mini i:nth-child(6) { left: 52%; top: 62%; width: 20%; height: 16%; background: #FF5A5D; }
.mini i:nth-child(7) { left: 75%; top: 34%; width: 19%; height: 20%; background: #3DDC6A; }
.mini i:nth-child(8) { left: 6%; top: 84%; width: 88%; height: 9%; border-radius: 999px; background: rgba(128, 128, 140, .3); }
.th-d { background: #101016; }
.th-d i { opacity: .72; }
.th-l { background: #F2F3F7; animation: reveal 8s var(--ease) infinite; }
@keyframes reveal { 0%, 12% { clip-path: circle(0% at 88% 14%); } 42%, 62% { clip-path: circle(150% at 88% 14%); } 92%, 100% { clip-path: circle(0% at 88% 14%); } }
.sunbtn { position: absolute; right: calc(12% - 22px); top: calc(14% - 22px); width: 44px; height: 44px; border-radius: 50%; background: #FFD60A; box-shadow: 0 0 30px rgba(255, 214, 10, .8); animation: pulse 8s infinite; }
@keyframes pulse { 0%, 8%, 100% { scale: 1; } 11% { scale: .8; } 14% { scale: 1.1; } }

.sc-focus { background: radial-gradient(90% 100% at 80% 0%, #FFFFFF, transparent 70%), linear-gradient(160deg, #DDF8E6, #B5ECCB); }
.focus { align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 36px; padding: 54px 20px 20px; }
.ringw { position: relative; flex: none; width: min(200px, 46%); aspect-ratio: 1; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.ring .tr { stroke: rgba(10, 70, 35, .14); }
.ring .pr { stroke: #1FA94F; stroke-dasharray: 503; animation: ringp 12s linear infinite; transform: rotate(-90deg); transform-origin: 50% 50%; }
@keyframes ringp { from { stroke-dashoffset: 503; } to { stroke-dashoffset: 0; } }
.ringw b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 36px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ambs { display: flex; flex-direction: column; gap: 8px; min-width: 150px; }
.amb { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: rgba(255, 255, 255, .75); border: 1px solid #FFFFFF; box-shadow: 0 6px 16px rgba(20, 90, 50, .14); font-size: 14px; font-weight: 600; }
.amb.off { opacity: .6; }
.eqs { margin-left: auto; display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.eqs i { width: 3px; height: 16px; border-radius: 2px; background: #1FA94F; transform-origin: 50% 100%; animation: eq 1s ease-in-out infinite alternate; }
.eqs i:nth-child(2) { animation-delay: -.3s; }
.eqs i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { from { scale: 1 .25; } to { scale: 1 1; } }

.sc-sync { background: radial-gradient(90% 90% at 50% 0%, rgba(135, 145, 255, .45), transparent 70%), #0E0D16; }
.syncs { flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 54px 22px 22px; text-align: center; }
.pair { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 460px; }
.dev { position: relative; flex: none; display: flex; flex-direction: column; justify-content: center; gap: 7px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.dev i { height: 11px; border-radius: 5px; }
.dev i:nth-child(1) { width: 74%; background: #2BA2FF; }
.dev i:nth-child(2) { width: 52%; background: #3DDC6A; }
.dev i:nth-child(3) { width: 64%; background: #FF9F45; }
.lap { width: clamp(96px, 28vw, 150px); height: clamp(76px, 20vw, 104px); padding: 0 14px; }
.pho { width: clamp(52px, 14vw, 68px); height: clamp(92px, 24vw, 116px); padding: 0 9px; border-radius: 18px; }
.pho i { animation: land 6s infinite; }
.pho i:nth-child(2) { animation-delay: .5s; }
.pho i:nth-child(3) { animation-delay: 1s; }
@keyframes land { 0%, 18% { opacity: 0; scale: .3 1; } 30%, 88% { opacity: 1; scale: 1 1; } 100% { opacity: 0; scale: 1 1; } }
.wire { flex: 1; min-width: 14px; height: 3px; border-radius: 3px; background-image: linear-gradient(90deg, #9AA3FF 0, #9AA3FF 50%, transparent 50%); background-size: 14px 3px; animation: flow 1s linear infinite; }
@keyframes flow { to { background-position: 14px 0; } }
.lock { position: relative; flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #8791FF, #5B3FE0); box-shadow: 0 0 0 0 rgba(135, 145, 255, .6); animation: ringpulse 2.4s ease-out infinite; }
.lock .i { width: 24px; height: 24px; }
@keyframes ringpulse { to { box-shadow: 0 0 0 22px rgba(135, 145, 255, 0); } }
.enc { display: flex; flex-direction: column; gap: 6px; }
.enc b { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.02em; }
.enc span { font-size: 14px; opacity: .8; }

.fxs { background: linear-gradient(160deg, #0C6E88, #2BB0CC 55%, #118099); }
.caus { position: absolute; left: 10%; top: 20%; width: 46%; height: 50%; border-radius: 50%; filter: blur(40px); background: rgba(140, 235, 255, .5); animation: drift 9s ease-in-out infinite alternate; }
.drop { position: absolute; border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%; background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, .95) 5%, rgba(255, 255, 255, .16) 16%, rgba(255, 255, 255, .03) 62%, rgba(0, 20, 30, .25) 100%); box-shadow: inset 0 -3px 6px rgba(190, 245, 255, .4), inset 0 2px 3px rgba(0, 0, 0, .3), 0 5px 9px rgba(0, 0, 0, .35); }
.drop.run { animation: run 7s ease-in infinite; }
@keyframes run { 0%, 30% { translate: 0 0; opacity: 1; } 85% { opacity: 1; } 100% { translate: 0 220px; opacity: 0; } }
.d1 { left: 12%; top: 22%; width: 34px; height: 40px; }
.d2 { left: 30%; top: 44%; width: 18px; height: 21px; }
.d3 { left: 46%; top: 20%; width: 24px; height: 28px; }
.d4 { left: 62%; top: 56%; width: 40px; height: 46px; }
.d5 { left: 76%; top: 24%; width: 16px; height: 19px; animation-delay: -3s; }
.d6 { left: 24%; top: 72%; width: 22px; height: 25px; }
.d7 { left: 86%; top: 66%; width: 20px; height: 23px; }
.d8 { left: 54%; top: 36%; width: 13px; height: 15px; animation-delay: -5s; }

.reel-info { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 44px; padding: 0 24px; text-align: center; }
.reel-info h3 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.reel-info .lead { max-width: 560px; min-height: 84px; font-size: 17px; }
.reel-nav { display: flex; align-items: center; gap: 14px; }
.dots { display: flex; align-items: center; gap: 7px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line2); transition: background .4s, width .4s; }
.dot.on { width: 28px; border-radius: 9px; background: var(--fg); }

/* ---------- Download ---------- */
.dl-head { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.plats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plat { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 32px; border-radius: 36px; transition: transform .5s var(--ease); }
.plat:hover { transform: translateY(-8px); }
.plat.mine { box-shadow: inset 0 1px 0 var(--rim2), 0 0 0 2px #0088FF, var(--gsh); }
.logo { width: 72px; height: 72px; margin-bottom: 12px; border-radius: 22px; display: grid; place-items: center; background: var(--solid); border: 1px solid var(--gb); box-shadow: 0 10px 24px rgba(20, 40, 100, .18), inset 0 1px 0 var(--rim2); transition: background .8s; }
.logo svg { width: 36px; height: 36px; }
.logo .i { stroke-width: 1.4; }
.plat h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.yours { display: none; padding: 5px 10px; border-radius: 999px; background: #0088FF; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0; line-height: 1.2; }
.mine .yours { display: inline-block; }
.plat p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fg2); }
.plat .btn { align-self: stretch; margin-top: auto; }
.plat p + .btn, .plat p + .btn + .btn { margin-top: 22px; }
.plat small { align-self: center; font-size: 14px; color: var(--fg3); text-align: center; }
.plat small a { color: var(--fg2); text-underline-offset: 3px; }
.eyb { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg3); }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- Questions ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: 26px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 18px; font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform .4s var(--ease); }
.faq details[open] summary .i { transform: rotate(180deg); }
.ans { padding: 0 24px 22px; font-size: 16px; line-height: 1.6; color: var(--fg2); }
.ans p { margin: 0 0 12px; }
.ans p:last-child { margin-bottom: 0; }
.ans ul, .ans ol { margin: 0 0 12px; padding-left: 22px; }
.ans li { margin-bottom: 8px; }
.ans a { color: var(--link); text-underline-offset: 3px; }
.ans strong { color: var(--fg); }
.ans code { padding: .1em .38em; border-radius: 6px; background: var(--wash); border: 1px solid var(--line); font-size: .88em; overflow-wrap: anywhere; }
.ans pre { margin: 0 0 12px; padding: 16px 18px; overflow-x: auto; border-radius: 16px; background: var(--wash); border: 1px solid var(--line); font-size: 13px; line-height: 1.6; }
.ans pre code { padding: 0; border: 0; background: none; font-size: inherit; overflow-wrap: normal; }
.ans .c { color: var(--fg3); }

/* ---------- Footer ---------- */
.foot-sec { padding-top: 110px; padding-bottom: 44px; }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.brand-foot { padding-right: 0; }
.foot-copy { font-size: 14px; color: var(--fg3); }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-left: auto; }
.flink { font-size: 14px; color: var(--fg3); text-decoration: none; }
.flink:hover { color: var(--fg); }
.foot-note { margin-top: 18px; margin-bottom: 0; font-size: 13px; line-height: 1.5; color: var(--fg3); }

/* A theme switch reveals the new theme in a circle from the button (main.js). */
.vt-theme *, .vt-theme *::before, .vt-theme *::after { transition: none !important; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ---------- Tablets ---------- */
@media (max-width: 1020px) {
  :root { --pad: 130px; --cw: 520px; --ch: 340px; --step: 330px; }
  .top, .play { grid-template-columns: 1fr; gap: 28px; }
  .scene { height: 500px; }
  .rig { scale: .64; transform-origin: 50% 0; translate: 24px 0; }
  .board { transform: none; }
  .plats { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

/* ---------- Phones ---------- */
@media (max-width: 700px) {
  :root { --pad: 88px; --cw: 78vw; --ch: 400px; --step: 60vw; }
  .sec { padding-left: 16px; padding-right: 16px; }
  .sec-wide { padding-left: 0; padding-right: 0; }
  .navlinks, .not-phone { display: none !important; }
  .on-phone-f { display: inline-flex !important; }
  .on-phone-b { display: block !important; }
  .on-phone-i { display: inline !important; }
  .btn { min-height: 52px; padding: 0 22px; font-size: 16px; }
  .btn-nav { min-height: 44px; padding: 0 18px; font-size: 15px; }
  .cta .btn { flex: 1 1 100%; }
  .top { gap: 34px; }
  .hside { gap: 34px; }
  .scene { height: 590px; margin-top: 84px; }
  .rig { scale: 1; translate: none; }
  .mac { display: none; }
  .phone { margin-left: -131px; top: 24px; transform: none; }
  .cd1 { right: 14px; top: -40px; width: 176px; padding: 12px 14px; transform: translateZ(40px); }
  .cd-big { font-size: 22px; }
  .cd2 { right: auto; left: 14px; bottom: 4px; transform: translateZ(50px); }
  .play { gap: 18px; padding: 20px 16px 16px; border-radius: 32px; }
  .play .h2 br { display: none; }
  .play .lead { font-size: 16px; }
  .qin { min-height: 56px; padding: 0 92px 0 18px; font-size: 16px; }
  .qadd { padding: 0 20px; }
  .sugrow { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
  .sugrow::-webkit-scrollbar { display: none; }
  .dhrow { padding-left: 32px; }
  .gut { width: 32px; padding-right: 4px; font-size: 9px; }
  .ev { left: 2px; right: 2px; padding: 4px 3px 0 7px; font-size: 10.5px; }
  .ev small { display: none; }
  .ev b { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .vwin { display: none; }
  .vphone { display: block; }
  .plat { padding: 24px; border-radius: 30px; }
  .plat.pweb { order: -1; box-shadow: inset 0 1px 0 var(--rim2), 0 0 0 2px #0088FF, var(--gsh); }
  .plat.pmac, .plat.pwin { box-shadow: inset 0 1px 0 var(--rim2), var(--gsh); }
  .plat.pmac .yours, .plat.pwin .yours { display: none; }
  .plat.pweb .yours { display: inline-block; }
  .pp1 { transform: translateX(var(--step)) translateZ(-200px) rotateY(-32deg); }
  .pm1 { transform: translateX(calc(var(--step) * -1)) translateZ(-200px) rotateY(32deg); }
  .faq summary { padding: 18px 18px; font-size: 17px; }
  .ans { padding: 0 18px 18px; }
  .foot { flex-direction: column; align-items: flex-start; }
  .foot-links { margin-left: 0; }
}
@media (max-width: 700px) and (hover: none) { .rig { animation-name: rigsway-s; } }

/* ---------- Less motion, when the visitor asks for it ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .field, .bob, .pnew, .sheet, .typed-t, .rail, .rail::after, .rig, .caus, .drop.run, .th-l, .sunbtn,
  .ring .pr, .eqs i, .bub, .wire, .qev, .pho i, .lock, .ev.new { animation: none; }
  .sheet { translate: 0 120%; }
  .btn, .plat, .reel, .rig, .board, .vwin { transition: none; }
}
