/* zzzTab site. Night → dawn → day → night: the page follows the product's idea that colour is time. */
@font-face { font-family: 'Bricolage'; src: url(/assets/fonts/bricolage.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Geist'; src: url(/assets/fonts/geist.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --night-0: #0d0b2b;
  --night-1: #151244;
  --night-2: #1b2150;
  --dusk: #4c3fb5;
  --accent: #4f46d8;
  --accent-hi: #6a62f0;
  --lav: #b9b4ff;
  --day: #f7f6ff;
  --day-2: #efedfc;
  --card: #ffffff;
  --ink: #17142e;
  --muted: #5b5f7e;
  --line: #e4e2f5;
  --plum: #2a1650;
  --display: 'Bricolage', 'Geist', system-ui, sans-serif;
  --body: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: min(1200px, 100% - 48px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--day);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }
.wrap { width: var(--wrap); margin-inline: auto; position: relative; z-index: 1; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }

/* ---------- type ---------- */
.h2 {
  font: 650 clamp(2.1rem, 4.6vw, 3.7rem) / 1.03 var(--display);
  letter-spacing: -0.032em;
  max-width: 19ch;
  text-wrap: balance;
}
.h2--light { color: #fff; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 56ch; margin-top: 18px; text-wrap: pretty; }
.lede--light { color: #c4c3e6; }
.fine { font-size: 14px; color: var(--muted); margin-top: 22px; max-width: 60ch; }
.fine--light { color: #a7a6d3; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--lav); text-decoration: none; margin-top: 22px; }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 24px; border-radius: 15px;
  font: 600 16px/1 var(--body); text-decoration: none; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}
.btn--primary {
  color: #fff; background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  box-shadow: 0 10px 34px rgba(79, 70, 216, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
a.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(79, 70, 216, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn--soon { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.24); box-shadow: none; cursor: default; }
.btn--soon::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #ffd36e; box-shadow: 0 0 0 0 rgba(255, 211, 110, 0.6); animation: ping 2.4s infinite; order: 2; }
.btn--soon svg { display: none; }
.btn--soon span { order: 1; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.26); background: rgba(255, 255, 255, 0.04); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn--small { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(255, 211, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 211, 110, 0); } }

/* ---------- orbs: colour = hour ---------- */
.orb {
  display: inline-block; width: var(--s, 28px); height: var(--s, 28px); border-radius: 50%; flex: none;
  background: linear-gradient(155deg, var(--a), var(--b));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), 0 6px 18px color-mix(in srgb, var(--b) 50%, transparent);
}

/* ---------- nav: a floating glass pill ---------- */
.nav { position: fixed; inset: 14px 0 auto 0; z-index: 50; color: #fff; pointer-events: none; }
.nav__in {
  position: relative; pointer-events: auto; width: min(1160px, 100% - 28px); margin-inline: auto; height: 60px; padding: 0 10px 0 22px;
  display: flex; align-items: center; gap: 24px; border-radius: 20px; border: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 20px/1 var(--display); letter-spacing: -0.02em; }
.brand svg { color: var(--lav); }
.nav__links { display: flex; gap: 2px; margin-left: 10px; }
.nav__links a { text-decoration: none; padding: 9px 13px; border-radius: 12px; font-size: 15px; font-weight: 500; opacity: 0.8; transition: opacity 0.2s, background 0.2s; }
.nav__links a:hover { opacity: 1; background: rgba(255, 255, 255, 0.09); }
.nav__end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; padding: 9px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2); opacity: 0.9; transition: background 0.2s; }
.lang:hover { background: rgba(255, 255, 255, 0.1); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; border-radius: 12px; cursor: pointer; }
.nav.is-stuck .nav__in {
  background: rgba(17, 14, 56, 0.74); border-color: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 14px 44px -14px rgba(5, 4, 30, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.nav[data-ntheme='day'].is-stuck { color: var(--ink); }
.nav[data-ntheme='day'].is-stuck .nav__in { background: rgba(255, 255, 255, 0.88); border-color: rgba(23, 20, 46, 0.09); box-shadow: 0 14px 44px -16px rgba(40, 30, 120, 0.3), inset 0 1px 0 #fff; }
.nav[data-ntheme='day'] .brand svg { color: var(--accent); }
.nav[data-ntheme='day'] .nav__links a:hover { background: rgba(23, 20, 46, 0.06); }
.nav[data-ntheme='day'] .lang { border-color: var(--line); }
.nav[data-ntheme='day'] .lang:hover { background: rgba(23, 20, 46, 0.05); }
.nav--solid { position: static; background: var(--night-1); padding: 14px 0 0; }
/* the day-sky progress line: the page is one long day, and this is where you are in it */
.nav__sky { position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #4a5aa8, #ff8fa8 22%, #ffd36e 42%, #8ad0ff 62%, #e9566f 80%, #4c3fb5); transform-origin: 0 50%; transform: scaleX(0); opacity: 0.9; }
@supports (animation-timeline: scroll()) { .nav__sky { animation: skyp linear both; animation-timeline: scroll(root block); } }
@keyframes skyp { to { transform: scaleX(1); } }

/* ---------- stars ---------- */
.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.stars { z-index: 0; }
.privacy .stars, .final .stars { opacity: 0.6; }
.stars .tw { animation: tw 5s ease-in-out infinite; }
@keyframes tw { 50% { opacity: 0.12; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  min-height: 100svh; padding: 128px 0 96px; display: grid; align-items: center;
  background:
    radial-gradient(900px 520px at 78% 38%, rgba(79, 70, 216, 0.38), transparent 70%),
    radial-gradient(700px 420px at 8% 100%, rgba(255, 143, 168, 0.12), transparent 70%),
    linear-gradient(180deg, var(--night-0) 0%, var(--night-1) 58%, var(--night-2) 100%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 99px;
  font-size: 14px; font-weight: 500; color: #dcdaff; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16);
}
.pill::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(155deg, #ffd36e, #ff9f43); box-shadow: 0 0 12px rgba(255, 190, 110, 0.8); }
.hero__h1 { font: 700 clamp(2.7rem, 5.3vw, 5.5rem) / 0.97 var(--display); letter-spacing: -0.04em; margin: 26px 0 26px; font-variation-settings: 'opsz' 96; }
.line { display: block; overflow: hidden; padding: 0 0.04em 0.14em; margin-bottom: -0.14em; }
.line__in { display: inline-block; }
.line--sky .line__in { background: linear-gradient(95deg, #a89cff 0%, #ff9db5 48%, #ffd36e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(1.1rem, 1.6vw, 1.32rem); color: #c9c8ec; max-width: 34em; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__note { margin-top: 14px; font-size: 14px; color: #a9a8d6; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 30px; font-size: 14.5px; color: #b9b8e0; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { color: #8f86ff; }

.hero__art { position: relative; display: grid; place-items: center; min-height: 520px; }
.popup { position: relative; width: min(380px, 78vw); transform: rotate(-2.4deg); will-change: transform; }
.popup::before { content: ''; position: absolute; inset: -14% -22%; background: radial-gradient(closest-side, rgba(106, 98, 240, 0.55), transparent); filter: blur(30px); z-index: -1; }
.popup img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 50px 90px rgba(5, 4, 30, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.14); }
.float { position: absolute; z-index: 2; }
.float--a { top: 0%; left: -4%; }
.float--b { bottom: 10%; right: 2%; }
.float--c { top: 18%; right: 6%; }
.float .orb { animation: bob 8s ease-in-out infinite; box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 0 50px color-mix(in srgb, var(--a) 70%, transparent); }
.float--a .orb { animation-delay: -2s; }
.float--b .orb { animation-delay: -5s; animation-duration: 10s; }
.float--c .orb { animation-duration: 7s; }
@keyframes bob { 50% { transform: translateY(-16px); } }

@media (prefers-reduced-motion: no-preference) {
  .line__in { animation: rise 1s var(--ease) both; }
  .line:nth-child(2) .line__in { animation-delay: 0.12s; }
  [data-reveal-hero] { animation: fadeup 0.9s var(--ease) both; }
  .pill[data-reveal-hero] { animation-delay: 0s; }
  .hero__sub { animation-delay: 0.32s; }
  .hero__cta { animation-delay: 0.42s; }
  .hero__note { animation-delay: 0.5s; }
  .facts { animation-delay: 0.55s; }
  .hero__art { animation: fadein 1.2s var(--ease) 0.25s both; }
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- video ---------- */
.video { position: relative; overflow: hidden; background: var(--night-2); color: #fff; padding: 40px 0 120px; isolation: isolate; }
.video .wrap:first-of-type { padding-bottom: 48px; }
.player-stage { width: min(1280px, 100% - 32px); margin-inline: auto; position: relative; perspective: 1600px; z-index: 1; }
.player-stage::before { content: ''; position: absolute; inset: 8% -6% -8%; background: radial-gradient(closest-side, rgba(106, 98, 240, 0.5), transparent); filter: blur(50px); z-index: -1; }
.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0b0a24; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 60px 120px rgba(5, 4, 30, 0.55);
  transform-origin: 50% 0; will-change: transform;
}
.player__video { width: 100%; height: 100%; object-fit: cover; display: block; background: #0b0a24; }
.player__big {
  position: absolute; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(20, 16, 70, 0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; display: grid; place-items: center; cursor: pointer;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.player__big svg { width: 34px; height: 34px; margin-left: 4px; }
.player__big:hover { transform: scale(1.06); }
.player.is-playing .player__big { opacity: 0; pointer-events: none; transform: scale(0.8); }
.player__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(8, 7, 30, 0.82)); opacity: 0; transition: opacity 0.3s; cursor: default; }
.player:hover .player__bar, .player:focus-within .player__bar, .player:not(.is-playing) .player__bar { opacity: 1; }
@media (hover: none) { .player__bar { opacity: 1; } }
.pbtn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.16); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.pbtn:hover { background: rgba(255, 255, 255, 0.28); }
.pbtn .i-pause, .player.is-playing .pbtn .i-play { display: none; }
.player.is-playing .pbtn .i-pause { display: block; }
.pbtn .i-vol-on { display: none; }
.player.is-sound .pbtn .i-vol-on { display: block; }
.player.is-sound .pbtn .i-vol-off { display: none; }
.seek { position: relative; flex: 1; height: 30px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.seek__track { position: relative; width: 100%; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, 0.28); overflow: hidden; }
.seek__fill { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: linear-gradient(90deg, #9a8cff, #ff9db5, #ffd36e); border-radius: 4px; }
.seek__tick { position: absolute; top: 50%; width: 2px; height: 5px; margin-top: -2.5px; background: rgba(13, 11, 43, 0.85); pointer-events: none; }

.chapters { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.chapters button {
  position: relative; width: 100%; height: 100%; text-align: left; cursor: pointer; padding: 16px 16px 20px; border-radius: 16px; overflow: hidden;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; display: grid; gap: 4px; align-content: start;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.chapters button:hover { background: rgba(255, 255, 255, 0.09); }
.chapters button[aria-current='true'] { background: rgba(145, 136, 255, 0.16); border-color: rgba(185, 180, 255, 0.55); }
.chapters__n { font: 700 12px/1 var(--display); color: #8f86ff; }
.chapters__t { font: 650 16px/1.2 var(--display); letter-spacing: -0.01em; }
.chapters__d { font-size: 13px; line-height: 1.45; color: #aeaddb; }
.chapters__fill { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--c, 0) * 100%); background: linear-gradient(90deg, #9a8cff, #ffd36e); }
.caption { margin-top: 26px; font-size: 14.5px; color: #a7a6d3; max-width: 70ch; }

/* ---------- dawn ---------- */
.dawn {
  position: relative; min-height: 104vh; overflow: hidden; display: grid; align-items: end; padding-bottom: 14vh;
  background: linear-gradient(180deg, var(--night-2) 0%, #3b2f96 22%, #8d4a9b 40%, #ff8fa8 58%, #ffc27a 74%, #ffe8c4 88%, var(--day) 100%);
}
.dawn__sun {
  position: absolute; left: 50%; bottom: 36%; width: clamp(240px, 32vw, 440px); aspect-ratio: 1; margin-left: calc(clamp(240px, 32vw, 440px) / -2); border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #fff4c9 0%, #ffd36e 38%, #ff9f43 72%, #ff7f6a 100%);
}
.dawn__sun::before { content: ''; position: absolute; inset: -70%; border-radius: 50%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 205, 130, 0.7), rgba(255, 143, 168, 0.28) 55%, transparent); }
.dawn__text { text-align: center; position: relative; }
.dawn__l1, .dawn__l2 { font: 700 clamp(2.2rem, 6.4vw, 5.6rem) / 1 var(--display); letter-spacing: -0.04em; color: var(--plum); }
.dawn__l1 { opacity: 0.7; }

/* ---------- steps ---------- */
.steps, .features, .import, .faq { background: var(--day); padding: clamp(72px, 10vw, 136px) 0; position: relative; }
.steps { padding-top: 24px; padding-bottom: clamp(48px, 6vw, 84px); }
.features { padding-top: clamp(40px, 5vw, 72px); }
.steps__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.steps__grid { position: relative; counter-reset: st; }
.step { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(23, 20, 46, 0.03), 0 30px 60px -36px rgba(79, 70, 216, 0.3); }
.step::before { content: ''; position: absolute; width: 340px; height: 340px; right: -140px; top: -170px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow, #ffc27a), transparent); opacity: 0.34; pointer-events: none; }
.step:nth-child(1) { --glow: #ff9fb0; }
.step:nth-child(2) { --glow: #8ad0ff; }
.step:nth-child(3) { --glow: #ffd36e; }
.step__n { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 700 17px/1 var(--display); color: #fff; background: linear-gradient(160deg, var(--accent-hi), var(--accent)); box-shadow: 0 8px 20px -6px rgba(79, 70, 216, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35); margin-bottom: 22px; }
.step h3 { position: relative; font: 650 25px/1.15 var(--display); letter-spacing: -0.02em; }
.step p { position: relative; color: var(--muted); margin-top: 10px; }
.step__art { position: relative; border-radius: 20px; background: linear-gradient(180deg, #f1f0fd, #e9e7fa); min-height: 168px; display: grid; place-items: center; padding: 18px; overflow: hidden; margin-top: auto; box-shadow: inset 0 0 0 1px rgba(79, 70, 216, 0.06); }
.step p + .step__art { margin-top: 28px; }
.step__art--orbs { display: flex; justify-content: center; gap: 0; }
.step__art--orbs .orb { margin-left: -6px; border: 3px solid #eeecfb; box-sizing: content-box; transition: transform 0.4s var(--ease); }
.step__art--orbs .orb:first-child { margin-left: 0; }
.step:hover .step__art--orbs .orb { transform: translateY(-4px); }
.step:hover .step__art--orbs .orb:nth-child(even) { transform: translateY(4px); }
.step__art--tabs { padding: 0; align-items: end; }
.fb { width: 100%; align-self: stretch; display: grid; grid-template-rows: auto 1fr; }
.fb__tabs { display: flex; gap: 6px; padding: 14px 14px 0; align-items: flex-end; }
.fb__page { background: #fff; margin: 0 0 0; border-top: 1px solid #dcdaf2; padding: 14px; display: grid; gap: 8px; align-content: start; min-height: 86px; }
.fb__page b { display: block; height: 8px; border-radius: 4px; background: #ecebf7; }
.fb__page b:nth-child(1) { width: 62%; background: #dedcf1; height: 10px; }
.fb__page b:nth-child(2) { width: 88%; }
.fb__page b:nth-child(3) { width: 46%; }
.mt { flex: 1; max-width: 76px; height: 30px; border-radius: 10px 10px 0 0; background: #dcdaf2; position: relative; }
.mt i { position: absolute; left: 10px; top: 11px; width: 24px; height: 7px; border-radius: 4px; background: #fff; opacity: 0.9; }
.mt--go { background: linear-gradient(160deg, #9a8cff, #4c3fb5); animation: tabgo 4.2s var(--ease) infinite; }
@keyframes tabgo { 0%, 28% { transform: none; opacity: 1; } 48%, 78% { transform: translateY(30px) scale(0.86); opacity: 0; } 100% { transform: none; opacity: 1; } }
.step__art--note img { width: 100%; max-width: 330px; height: auto; border-radius: 12px; box-shadow: 0 14px 30px -10px rgba(23, 20, 46, 0.4), 0 0 0 1px rgba(23, 20, 46, 0.08); }
@media (min-width: 901px) {
  .steps__grid::before { content: ''; position: absolute; left: 16%; right: 16%; top: 51px; height: 2px; background: repeating-linear-gradient(90deg, rgba(79, 70, 216, 0.35) 0 6px, transparent 6px 12px); z-index: 0; }
  .step { z-index: 1; }
}

/* ---------- features ---------- */
.features .lede { margin-bottom: 8px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; margin-top: 52px; }
@property --sp { syntax: '<number>'; inherits: false; initial-value: 0; }
.card, .step {
  --mx: 50%; --my: 0%; --sp: 0; transition: --sp 0.35s, transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
  background-image: radial-gradient(460px circle at var(--mx) var(--my), rgba(106, 98, 240, calc(var(--sp) * 0.11)), transparent 62%);
  background-color: var(--card);
}
.card:hover, .step:hover { --sp: 1; }
.card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 0; grid-column: span 4; box-shadow: 0 1px 0 rgba(23, 20, 46, 0.03), 0 28px 60px -40px rgba(79, 70, 216, 0.3); }
.card:hover { transform: translateY(-4px); border-color: #d3d0f3; box-shadow: 0 40px 70px -38px rgba(79, 70, 216, 0.5); }
.card h3 { font: 650 22px/1.2 var(--display); letter-spacing: -0.018em; }
.card p { color: var(--muted); margin-top: 8px; font-size: 16px; text-wrap: pretty; }
.card--typed { grid-column: span 6; min-height: 360px; justify-content: space-between; }
.card--colour { grid-column: span 5; min-height: 300px; justify-content: space-between; background-image: radial-gradient(460px circle at var(--mx) var(--my), rgba(106, 98, 240, calc(var(--sp) * 0.11)), transparent 62%), linear-gradient(180deg, #fff, #f8f7ff); }
.card--cal { grid-column: span 4; grid-row: span 2; }
.card--list { grid-column: span 7; }
.card--note { grid-column: span 6; }
.card--mini { grid-column: span 4; min-height: 230px; justify-content: space-between; }
.card--wide { grid-column: span 12; min-height: 0; flex-direction: row; align-items: center; gap: 22px; }
.card--wide .glyph { margin-bottom: 0; flex: none; }
.card--wide h3 { margin-top: 0; }
.glyph { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; color: var(--accent); background: linear-gradient(160deg, #f0efff, #e2e0fb); box-shadow: inset 0 1px 0 #fff, 0 8px 20px -10px rgba(79, 70, 216, 0.5); margin-bottom: auto; transition: transform 0.4s var(--ease); }
.card--mini:hover .glyph { transform: rotate(-6deg) scale(1.06); }
.card--mini h3 { margin-top: 26px; }
.card--wide h3 { margin-top: 0; }
.card__art { position: relative; border-radius: 20px; background: linear-gradient(180deg, #f1f0fd, #e9e7fa); overflow: hidden; margin-bottom: 26px; box-shadow: inset 0 0 0 1px rgba(79, 70, 216, 0.06); }
.card__art img { width: 100%; height: auto; }
.card__art--cal { flex: 1; min-height: 260px; display: flex; align-items: flex-start; justify-content: center; padding: 22px 22px 0; }
.card__art--cal img { max-width: 330px; border-radius: 14px 14px 0 0; box-shadow: 0 24px 50px -20px rgba(23, 20, 46, 0.45), 0 0 0 1px rgba(23, 20, 46, 0.08); }
.card__art--cal::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(transparent, #e9e7fa); pointer-events: none; }
.card__art--list { height: 250px; padding: 22px 22px 0; }
.card__art--list img { border-radius: 14px 14px 0 0; box-shadow: 0 24px 50px -20px rgba(23, 20, 46, 0.4), 0 0 0 1px rgba(23, 20, 46, 0.08); }
.card__art--list::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(transparent, #e9e7fa); pointer-events: none; }
.card__art--note { display: grid; place-items: center; padding: 22px; min-height: 150px; }
.card__art--note img { max-width: 330px; border-radius: 12px; box-shadow: 0 16px 34px -12px rgba(23, 20, 46, 0.42), 0 0 0 1px rgba(23, 20, 46, 0.08); }
.demo-input { background: var(--day-2); border-radius: 18px; padding: 16px; display: grid; gap: 10px; margin-bottom: 26px; height: 200px; align-content: center; }
.demo-input__field { background: #fff; border: 1px solid #dad7f5; border-radius: 13px; padding: 14px 16px; font-size: 18px; min-height: 52px; display: flex; align-items: center; box-shadow: 0 0 0 4px rgba(79, 70, 216, 0.1); }
.demo-input__caret { width: 2px; height: 22px; background: var(--accent); margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-input__result { display: flex; align-items: center; gap: 12px; background: #e6e4fb; border-radius: 13px; padding: 10px 10px 10px 14px; font-weight: 600; min-height: 50px; transition: opacity 0.3s; }
.demo-input__result.is-off { opacity: 0.25; }
.demo-input__dot { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(155deg, #ffd36e, #ff9f43); }
.demo-input__when { flex: 1; }
.demo-input__go { background: var(--accent); color: #fff; font-size: 13.5px; padding: 8px 14px; border-radius: 9px; }
.demo-queue { background: var(--day-2); border-radius: 18px; padding: 18px; display: grid; gap: 8px; margin-bottom: 26px; position: relative; height: 200px; align-content: center; }
.q { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e1def6; border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: 15px; opacity: 0; transform: translateY(8px); animation: qin 9s var(--ease) infinite; }
.q i { width: 16px; height: 16px; border-radius: 5px; background: linear-gradient(155deg, #9a8cff, #4c3fb5); }
.q2 { animation-delay: 1.8s; } .q2 i { background: linear-gradient(155deg, #4f9cf5, #0b5fff); }
.q3 { animation-delay: 3.6s; } .q3 i { background: linear-gradient(155deg, #ffa66b, #6d28d9); }
.q-gap { position: absolute; right: 16px; top: 12px; font-size: 12px; font-weight: 700; color: var(--accent); background: #e6e4fb; padding: 3px 9px; border-radius: 99px; }
@keyframes qin { 0% { opacity: 0; transform: translateY(8px); } 6%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }
.skies { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-bottom: 26px; }
.sky { display: grid; justify-items: start; gap: 2px; min-width: 88px; }
.sky .orb { margin-bottom: 10px; }
.sky b { font: 650 15px/1.2 var(--display); }
.sky small { font-size: 13px; color: var(--muted); }

/* ---------- import ---------- */
.import { background: linear-gradient(180deg, var(--day), var(--day-2)); }
.import__grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 56px; align-items: center; }
.istep { margin-top: 34px; display: grid; gap: 14px; }
.istep li { display: flex; gap: 14px; align-items: flex-start; }
.istep span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 var(--display); background: var(--accent); color: #fff; margin-top: 1px; }
.istep p { font-size: 18px; }
.import__does { font: 650 18px/1.2 var(--display); margin-top: 40px; }
.ticks { margin-top: 14px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: #3d4060; font-size: 16px; }
.ticks svg { color: var(--accent); flex: none; margin-top: 4px; }
.shot { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(79, 70, 216, 0.35), 0 0 0 1px var(--line); }
.shot__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f1f0fa; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.shot__bar i { width: 11px; height: 11px; border-radius: 50%; background: #d8d5ee; }
.shot__bar span { margin-left: 10px; }
.shot img { width: 100%; height: auto; }

/* ---------- privacy ---------- */
.privacy { position: relative; overflow: hidden; color: #fff; padding: clamp(80px, 11vw, 150px) 0; background: linear-gradient(180deg, var(--night-2) 0%, var(--night-0) 100%); isolation: isolate; }
.privacy__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.code { margin-top: 30px; padding: 22px 24px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); font: 13.5px/1.75 ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace; color: #d9d8f5; white-space: pre-wrap; overflow-wrap: anywhere; }
.code b { color: #ffd36e; font-weight: 600; }
.c-k { color: #b9b4ff; } .c-s { color: #9fe3c0; }
.perms { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 26px; padding: 30px; }
.perms h3 { font: 650 20px/1.2 var(--display); margin-bottom: 8px; }
.perms dl > div { padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); display: grid; gap: 2px; }
.perms dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.perms dt { font-weight: 600; }
.perms dd { color: #b6b5de; font-size: 15.5px; }

/* ---------- faq ---------- */
.faq__wrap { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.faq .h2 { position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font: 600 19px/1.3 var(--display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #ecebfc; color: var(--accent); transition: transform 0.3s var(--ease), background 0.3s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq details p { color: var(--muted); padding: 0 56px 24px 0; animation: fadeup 0.4s var(--ease) both; }

/* ---------- final + footer ---------- */
.final { position: relative; overflow: hidden; color: #fff; text-align: center; padding: clamp(96px, 14vw, 190px) 0; isolation: isolate; background: radial-gradient(800px 420px at 50% 100%, rgba(106, 98, 240, 0.45), transparent 70%), linear-gradient(180deg, var(--night-0), var(--night-1)); }
.final__in { display: grid; justify-items: center; }
.final__h { font: 700 clamp(2.6rem, 7.4vw, 6.4rem) / 0.98 var(--display); letter-spacing: -0.04em; max-width: 14ch; text-wrap: balance; }
.final .lede { margin-inline: auto; }
.final__cta { margin-top: 34px; }
.foot { background: var(--night-0); color: #b6b5de; padding: 48px 0 40px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.foot__in { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 32px; align-items: center; }
.foot .brand { color: #fff; }
.foot__tag { font-size: 15px; }
.foot__links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot__copy { grid-column: 1 / -1; font-size: 13.5px; opacity: 0.7; }

/* ---------- reveal on scroll (only when GSAP is running) ---------- */
html.js:not(.static) [data-reveal] { opacity: 0; transform: translateY(26px); }

/* ---------- documents (privacy) and 404 ---------- */
.doc .nav { color: #fff; }
.doc__main { padding: 56px 0 120px; }
.doc__in { width: min(740px, 100% - 48px); margin-inline: auto; }
.doc__in h1 { font: 700 clamp(2.2rem, 5vw, 3.4rem) / 1.05 var(--display); letter-spacing: -0.03em; margin-top: 24px; }
.doc__in h2 { font: 650 24px/1.2 var(--display); letter-spacing: -0.015em; margin-top: 44px; }
.doc__in p { margin-top: 14px; color: #2c2f4d; }
.doc__in a { color: var(--accent); }
.textlink--back { color: var(--accent); margin: 0; }
.nf { background: var(--night-1); color: #fff; min-height: 100vh; display: grid; place-items: center; text-align: center; }
.nf__in { padding: 24px; display: grid; justify-items: center; gap: 14px; }
.nf__moon svg { width: 56px; height: 56px; color: var(--lav); }
.nf h1 { font: 700 3rem/1.1 var(--display); letter-spacing: -0.03em; }
.nf p { color: #c4c3e6; }
.nf__en { margin-top: 18px; font-size: 14px; }
.nf__en a { color: var(--lav); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .chapters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card--typed, .card--note, .card--mini, .card--wide { grid-column: span 1; grid-row: auto; }
  .card--colour, .card--list, .card--wide { grid-column: span 2; }
}
@media (max-width: 900px) {
  .nav__links { position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; margin: 0; padding: 10px 14px 16px; border-radius: 20px; background: rgba(15, 12, 50, 0.94); color: #fff; backdrop-filter: blur(20px); display: none; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 24px 60px -20px rgba(5, 4, 30, 0.7); }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 8px; font-size: 18px; }
  .nav__toggle { display: grid; }
  .hero { padding-top: 112px; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__art { min-height: 0; padding: 28px 0 0; }
  .popup { width: min(340px, 72vw); }
  .steps__grid { grid-template-columns: minmax(0, 1fr); }
  .import__grid, .privacy__grid, .faq__wrap { grid-template-columns: 1fr; gap: 40px; }
  .faq .h2 { position: static; }
  .foot__in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .chapters { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: -24px; padding: 4px 24px 8px; scrollbar-width: none; }
  .chapters li { flex: 0 0 72%; scroll-snap-align: start; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .card--colour, .card--list, .card--wide { grid-column: span 1; }
  .card__art--list { height: 200px; }
  .card--wide { flex-direction: column; align-items: flex-start; }
  .btn { height: 52px; padding: 0 20px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .player { border-radius: 14px; }
  .player__big { width: 68px; height: 68px; }
  .player__big svg { width: 26px; height: 26px; }
  .dawn { min-height: 100vh; }
  .faq details p { padding-right: 0; }
}
.player:fullscreen { border-radius: 0; aspect-ratio: auto; width: 100vw; height: 100vh; transform: none !important; }
.player:fullscreen .player__video { object-fit: contain; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .q { opacity: 1; transform: none; }
}

/* ---------- polish: depth, selection, grain ---------- */
html { scroll-padding-top: 100px; color-scheme: light; }
::selection { background: rgba(106, 98, 240, 0.28); }
body::after { content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.h2 { letter-spacing: -0.034em; }
.hero__h1 { letter-spacing: -0.038em; }
.btn--primary { position: relative; overflow: hidden; }
a.btn--primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%); transform: translateX(-120%); transition: transform 0.7s var(--ease); }
a.btn--primary:hover::after { transform: translateX(120%); }
.player { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 2px 0 rgba(255, 255, 255, 0.1) inset, 0 70px 130px rgba(5, 4, 30, 0.6), 0 0 120px -20px rgba(106, 98, 240, 0.5); }
.faq details { transition: background 0.3s; }
.faq details[open] summary { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .nav__sky { animation: none; transform: scaleX(1); opacity: 0.4; } }
.features { padding-bottom: clamp(48px, 6vw, 88px); }
.import { padding-top: clamp(48px, 6vw, 88px); }
.card--note { justify-content: space-between; }
.card--note .card__art--note { flex: 1; }

/* the voice-over only plays with sound on: say so, right on the video */
.player__sound { position: absolute; top: 18px; left: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 14px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(20, 16, 70, 0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; font: 600 15px/1 var(--body); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity 0.35s, transform 0.35s var(--ease), background 0.2s; }
.player__sound svg { width: 20px; height: 20px; }
.player__sound:hover { background: rgba(60, 50, 160, 0.8); }
.player.is-playing:not(.is-sound) .player__sound { opacity: 1; pointer-events: auto; transform: none; animation: soundpulse 2.6s ease-in-out 1s infinite; }
@keyframes soundpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(154, 140, 255, 0); } 50% { box-shadow: 0 0 0 8px rgba(154, 140, 255, 0.25); } }
@media (max-width: 640px) { .player__sound { top: 10px; left: 10px; height: 38px; font-size: 13.5px; padding: 0 14px 0 11px; } }

/* Support page */
.support__lead { font-size: 1.2rem; line-height: 1.55; margin: 12px 0 26px; }
.support .btn { margin-bottom: 8px; }
.support__thanks { margin-top: 36px; font-weight: 600; }

.card--yours { justify-content: flex-start; padding: 26px 30px; }
.card--yours .mini__t { flex: 1; max-width: 62ch; }
