/* OrbitDrop website. Clean, white and quiet; dark mode follows the system. The wheel matches the app. */
:root {
  --bg: #FFFFFF;
  --bg-soft: #F5F5F7;
  --card: #FFFFFF;
  --ink: #1D1D1F;
  --ink-2: #6E6E73;
  --ink-3: #A1A1A6;
  --line: rgba(0, 0, 0, 0.08);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 20px 50px rgba(0, 0, 0, 0.08);
  --key: #FFFFFF;
  --key-edge: rgba(0, 0, 0, 0.14);
  /* wheel */
  --disc: #FFFFFF;
  --seg: #F6F6F8;
  --seg-on: #111114;
  --seg-ink: #1D1D1F;
  --seg-ink-on: #FFFFFF;
  --hub: #FFFFFF;
  --hub-line: rgba(0, 0, 0, 0.10);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0B0D;
    --bg-soft: #141417;
    --card: #17171A;
    --ink: #F5F5F7;
    --ink-2: #A1A1A6;
    --ink-3: #6E6E73;
    --line: rgba(255, 255, 255, 0.10);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 20px 50px rgba(0, 0, 0, 0.5);
    --key: #26262B;
    --key-edge: rgba(0, 0, 0, 0.7);
    --disc: #1E1E23;
    --seg: #2A2A30;
    --seg-on: #F5F5F7;
    --seg-ink: #F5F5F7;
    --seg-ink-on: #111114;
    --hub: #1E1E23;
    --hub-line: rgba(255, 255, 255, 0.12);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
b { font-weight: 600; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--card); padding: 8px 12px; border-radius: 8px; }
kbd {
  display: inline-block; font: 600 0.8em/1 var(--font); letter-spacing: 0; padding: 0.34em 0.62em 0.38em; margin: 0 0.05em;
  border-radius: 0.5em; background: var(--key); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 2px 0 var(--key-edge); vertical-align: 0.1em;
}

/* ------------------------------------------------------------------ hero */
.hero { text-align: center; padding: 72px 0 44px; }
.hero h1 { font-size: clamp(44px, 7.6vw, 92px); letter-spacing: -0.05em; line-height: 1.0; }
.lede { max-width: 620px; margin: 26px auto 0; font-size: clamp(18px, 2.1vw, 21px); color: var(--ink-2); }
.local { margin: 14px 0 0; font-size: 15px; color: var(--ink-3); }

/* ------------------------------------------------------------------ the real app, looping */
.showcase { margin: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--bg-soft); aspect-ratio: 600 / 320; }
.showcase video { width: 100%; height: 100%; object-fit: cover; }
.steps-inline { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 34px; margin: 26px 0 0; padding: 0; font-weight: 600; font-size: 17px; }
.steps-inline li { display: flex; align-items: center; gap: 10px; }
.steps-inline span { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }

/* ------------------------------------------------------------------ wheel (previews) */
.wheel { position: relative; }
.wheel > svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 18px 40px rgba(0,0,0,0.18)); }
.seg-label svg { flex: none; }
.wheel .disc { fill: var(--disc); stroke: var(--hub-line); stroke-width: 1; }
.wheel .seg > path { fill: var(--seg); stroke: var(--disc); stroke-width: 5; stroke-linejoin: round; transition: fill .14s; }
.wheel .seg.on > path { fill: var(--seg-on); }
.seg-label {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--seg-ink); font: 600 14px/1.1 var(--font); letter-spacing: -0.01em; text-align: center; transition: color .14s;
}
.seg-label.small { font-size: 11.5px; }
.seg-label em { font-style: normal; font-size: 9px; letter-spacing: 1px; color: var(--ink-3); line-height: .6; }
.seg.on .seg-label { color: var(--seg-ink-on); }
.seg.on .seg-label em { color: var(--seg-ink-on); opacity: .7; }
.hub {
  position: absolute; left: 50%; top: 50%; width: 35%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--hub); border: 1px solid var(--hub-line); display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; pointer-events: none; padding: 6px;
}
.hub-mode { font-size: 9.5px; font-weight: 600; letter-spacing: .08em; color: var(--ink-2); }
.hub-value { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-top: 2px; max-width: 96%; }
.hub-detail { font-size: 10px; color: var(--ink-2); line-height: 1.2; margin-top: 2px; max-width: 92%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hub-dots { display: flex; gap: 4px; margin-top: 5px; }
.hub-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); opacity: .6; }
.hub-dots i.on { background: var(--ink); opacity: 1; }
.wheel.spin > svg { animation: wspin .34s cubic-bezier(.2,1.2,.4,1); }
@keyframes wspin { from { transform: rotate(-12deg) scale(.96); opacity: .5; } to { transform: none; opacity: 1; } }

/* ------------------------------------------------------------------ sections */
section h2 { font-size: clamp(34px, 5vw, 56px); }
.section-head { text-align: center; margin-bottom: 30px; }
.section-head p { color: var(--ink-2); margin: 12px 0 0; }
.kinds, .actions, .bento, .formats, .privacy, .film, .faq { padding-top: 140px; }

.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tabs button { font: 600 15px var(--font); padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); cursor: pointer; transition: all .2s; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.kinds-panel { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--bg-soft); border-radius: 26px; padding: 28px 14px; }
.preview { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.preview .keys { margin: 0 0 8px; font-size: 13px; }
.preview h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 10px; }
.preview-wheel { width: 100%; display: flex; justify-content: center; }
.preview-wheel .wheel { max-width: 100%; height: auto !important; aspect-ratio: 1; }
.preview-result { min-height: 2.6em; margin: 12px 0 0; font-size: 14px; color: var(--ink-2); max-width: 240px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.cards article { background: var(--bg-soft); border-radius: 20px; padding: 20px; }
.cards h4 { font-size: 17px; letter-spacing: -0.02em; }
.cards p { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.cards.in article { animation: rise .5s cubic-bezier(.2,1,.3,1) both; }
.cards.in article:nth-child(2) { animation-delay: .04s; } .cards.in article:nth-child(3) { animation-delay: .08s; }
.cards.in article:nth-child(4) { animation-delay: .12s; } .cards.in article:nth-child(5) { animation-delay: .16s; } .cards.in article:nth-child(6) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.note { text-align: center; color: var(--ink-3); font-size: 14px; margin: 22px auto 0; max-width: 620px; }
@media (max-width: 900px) { .kinds-panel { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pair { grid-template-columns: 1fr; gap: 30px; } .cards { grid-template-columns: 1fr; } }

.actions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--bg-soft); border-radius: 30px; padding: 56px; }
.actions .sub { color: var(--ink-2); margin: 12px 0 26px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { padding-left: 28px; position: relative; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ink); font-weight: 700; }
.ticks b { color: var(--ink); }
@media (max-width: 860px) { .actions-grid { grid-template-columns: 1fr; padding: 34px 22px; } }

.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tile { background: var(--bg-soft); border-radius: 30px; padding: 34px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.tile.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 0.8fr 1.2fr; align-items: center; gap: 34px; }
.tile h3 { font-size: 28px; letter-spacing: -0.03em; }
.tile p { margin: 4px 0 8px; color: var(--ink-2); }
.tile video, .tile img { width: 100%; border-radius: 16px; box-shadow: var(--shadow); margin-top: auto; aspect-ratio: 600 / 320; object-fit: cover; background: var(--card); }
.tile img { aspect-ratio: auto; height: auto; }
.bigkeys { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.bigkeys span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 74px; height: 64px; padding: 0 16px; border-radius: 14px;
  font-weight: 600; font-size: 17px; background: var(--key); border: 1px solid var(--line); box-shadow: 0 4px 0 var(--key-edge); transition: all .08s;
}
.bigkeys .space { min-width: 160px; }
.bigkeys span.down { transform: translateY(3px); box-shadow: 0 1px 0 var(--key-edge); background: var(--ink); color: var(--bg); }
.combo { opacity: 0; transition: opacity .3s; font-weight: 600; color: #1E8E5A !important; }
.combo.on { opacity: 1; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr; } .tile.wide { grid-template-columns: 1fr; } }

.format-list { margin-top: 30px; border-top: 1px solid var(--line); }
.format-list .row { display: grid; grid-template-columns: 180px 1fr auto; gap: 20px; align-items: baseline; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.format-list h3 { font-size: 19px; letter-spacing: -0.02em; }
.format-list p { margin: 0; font-size: 19px; font-weight: 500; }
.format-list p span { color: var(--ink-3); }
.format-list small { color: var(--ink-3); font-size: 13px; text-align: right; max-width: 300px; }
@media (max-width: 760px) { .format-list .row { grid-template-columns: 1fr; gap: 6px; } .format-list small { text-align: left; } }

.privacy { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.eyebrow { margin: 0 0 12px; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.privacy-copy > p:last-child { color: var(--ink-2); font-size: 18px; margin-top: 18px; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.points article { background: var(--bg-soft); border-radius: 20px; padding: 22px; }
.points span { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 10px; background: var(--card); font-weight: 700; font-size: 15px; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.points h3 { font-size: 17px; letter-spacing: -0.02em; margin-top: 14px; }
.points p { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 860px) { .privacy { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .points { grid-template-columns: 1fr; } }

.film h2 { text-align: center; margin-bottom: 30px; }
.film-frame { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: #000; }
.film-frame video { width: 100%; aspect-ratio: 16 / 9; }

.faq { max-width: 760px; }
.faq h2 { text-align: center; margin-bottom: 30px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 2px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink-2); margin: 10px 0 0; }

.closing { text-align: center; padding: 150px 0 130px; }
.closing img { margin: 0 auto 26px; filter: drop-shadow(0 18px 36px rgba(0,0,0,0.2)); }
.closing h2 { margin-bottom: 30px; }
.closing .badge-link img { margin: 0 auto; }

.footer { border-top: 1px solid var(--line); padding: 26px 0 40px; font-size: 14px; color: var(--ink-2); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

dialog { border: 0; border-radius: 22px; padding: 22px; max-width: min(900px, 94vw); background: var(--card); color: var(--ink); box-shadow: 0 40px 100px rgba(0,0,0,0.35); }
dialog::backdrop { background: rgba(0,0,0,0.45); backdrop-filter: blur(4px); }
dialog p { margin: 0 34px 14px 2px; color: var(--ink-2); }
dialog img { border-radius: 12px; height: auto; }
dialog .close { position: absolute; right: 14px; top: 12px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--bg-soft); color: var(--ink); cursor: pointer; font-size: 14px; }

/* privacy page */
.doc { padding: 70px 0 40px; width: min(760px, 100% - 32px); }
.doc h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 8px; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc code { font-size: 0.9em; background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; }

/* entrances */
.reveal { opacity: 0; translate: 0 44px; scale: .975; filter: blur(6px); transition: opacity 1.1s var(--ease), translate 1.1s var(--ease), scale 1.1s var(--ease), filter 1.1s var(--ease); }
.reveal.in { opacity: 1; translate: none; scale: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: none; scale: none; filter: none; transition: none; }
  .hint.keyed kbd, .wheel.spin > svg { animation: none; }
}

.hero-badge { display: inline-block; margin-top: 30px; }
.hero-badge img { height: 52px; }

/* ================================================================== motion and the floating header */

/* ---- floating glass header */
main { padding-top: 76px; }
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 60; display: flex; justify-content: center; pointer-events: none; transition: translate .6s var(--ease); }
.nav.hidden { translate: 0 calc(-100% - 24px); }
.nav-pill {
  pointer-events: auto; display: flex; align-items: center; gap: 18px; width: min(1000px, calc(100% - 24px)); padding: 7px 7px 7px 16px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 52%, transparent);
  backdrop-filter: blur(24px) saturate(190%); -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid color-mix(in srgb, var(--ink) 9%, transparent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .06), inset 0 1px 0 rgba(255, 255, 255, .55);
  transition: width .7s var(--ease), background .5s, box-shadow .5s;
}
.nav.scrolled .nav-pill { width: min(820px, calc(100% - 24px)); background: color-mix(in srgb, var(--bg) 72%, transparent); box-shadow: 0 14px 44px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .5); }
@media (prefers-color-scheme: dark) {
  .nav-pill { box-shadow: 0 8px 32px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .07); }
  .nav.scrolled .nav-pill { box-shadow: 0 14px 44px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .07); }
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.03em; }
.brand img { border-radius: 7px; transition: rotate .6s var(--spring); }
.brand:hover img { rotate: -12deg; }
.nav nav { display: flex; gap: 2px; margin-left: auto; font-size: 14.5px; }
.nav nav a { text-decoration: none; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: color .25s, background .25s; }
.nav nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.nav-cta {
  text-decoration: none; font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--ink) 22%, transparent); transition: box-shadow .35s, scale .35s var(--spring);
}
.nav-cta:hover { box-shadow: 0 8px 26px color-mix(in srgb, var(--ink) 34%, transparent); scale: 1.04; }
@media (max-width: 720px) { .nav nav { display: none; } .nav-cta { margin-left: auto; } }

/* ---- custom cursor (mouse only) */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cursor { position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0; transition: opacity .3s; mix-blend-mode: difference; }
.cursor.on { opacity: 1; }
.cursor-dot, .cursor-ring { position: absolute; left: 0; top: 0; will-change: transform; }
.cursor-dot::before { content: ""; position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; transition: scale .3s var(--ease); }
.cursor-ring::before {
  content: ""; position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .9);
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, border-color .3s, scale .25s var(--ease);
}
.cursor-label { position: absolute; translate: -50% -50%; color: #000; font: 600 13px var(--font); letter-spacing: .02em; opacity: 0; transition: opacity .25s; white-space: nowrap; }
.cursor[data-mode="link"] .cursor-ring::before { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: #fff; border-color: #fff; }
.cursor[data-mode="link"] .cursor-dot::before { scale: 0; }
.cursor[data-mode="card"] .cursor-ring::before { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: rgba(255, 255, 255, .5); }
.cursor[data-mode="precise"] .cursor-ring::before { width: 20px; height: 20px; margin: -10px 0 0 -10px; }
.cursor[data-mode="media"] .cursor-ring::before { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: #fff; border-color: #fff; }
.cursor[data-mode="media"] .cursor-label { opacity: 1; }
.cursor[data-mode="media"] .cursor-dot::before { scale: 0; }
.cursor.down .cursor-ring::before { scale: .82; }

/* ---- headings rise in, word by word */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .02em .12em; margin: -.04em -.02em -.12em; }
.motion .split .wi {
  display: inline-block; translate: 0 110%; opacity: 0; filter: blur(8px);
  transition: translate 1.1s var(--ease), opacity 1.1s var(--ease), filter 1.1s var(--ease);
  transition-delay: calc(var(--i) * 60ms);
}
.motion .split.in .wi { translate: none; opacity: 1; filter: none; }

/* ---- the hero plays in on load */
.hero { position: relative; isolation: isolate; }
.hero-glow {
  position: absolute; z-index: -1; left: 50%; top: 40px; width: 760px; height: 460px; margin-left: -380px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ink) 9%, transparent), transparent); filter: blur(30px);
}
.motion .hero .lede, .motion .hero .hero-badge, .motion .hero .local, .motion .play {
  opacity: 0; translate: 0 22px; transition: opacity 1.1s var(--ease), translate 1.1s var(--ease);
}
.motion .hero .lede { transition-delay: .45s; }
.motion .hero .hero-badge { transition-delay: .6s; }
.motion .hero .local { transition-delay: .7s; }
.motion .play { transition-delay: .85s; }
.motion.loaded .hero .lede, .motion.loaded .hero .hero-badge, .motion.loaded .hero .local, .motion.loaded .play { opacity: 1; translate: none; }

/* ---- the showcase breathes in as it scrolls into view */
.showcase {
  scale: calc(.9 + .1 * var(--breathe, 1)); border-radius: calc(46px - 20px * var(--breathe, 1));
  box-shadow: 0 calc(10px + 30px * var(--breathe, 1)) calc(30px + 60px * var(--breathe, 1)) rgba(0, 0, 0, calc(.06 + .08 * var(--breathe, 1)));
}
.steps-inline li { transition: translate .4s var(--spring); }
.steps-inline li:hover { translate: 0 -3px; }

/* ---- cards feel alive: a light follows the pointer, they lift and tilt (tilt is set by motion.js) */
.alive { position: relative; isolation: isolate; transition: box-shadow .55s var(--ease), background-color .3s, opacity 1.1s var(--ease), translate 1.1s var(--ease), scale 1.1s var(--ease), filter 1.1s var(--ease); }
.alive::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--ink) 7%, transparent), transparent 62%);
}
.alive:hover::after { opacity: 1; }
.tile.alive:hover, .cards article.alive:hover, .points article.alive:hover { box-shadow: 0 30px 70px rgba(0, 0, 0, .12); }
@media (prefers-color-scheme: dark) {
  .tile.alive:hover, .cards article.alive:hover, .points article.alive:hover { box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
}
.tile video, .tile img { transition: scale .8s var(--ease); }
.tile:hover video, .tile:hover img { scale: 1.025; }
.points span { transition: scale .5s var(--spring), rotate .5s var(--spring); }
.points article:hover span { scale: 1.15; rotate: -8deg; }

/* grid items arrive one after another */
.motion .reveal .cards > *, .motion .reveal .points > *, .motion .reveal .ticks > *, .motion .reveal.format-list > *, .motion .faq > details {
  opacity: 0; translate: 0 20px; transition: opacity .9s var(--ease) var(--stagger, 0ms), translate .9s var(--ease) var(--stagger, 0ms), box-shadow .55s var(--ease);
}
.motion .reveal.in .cards > *, .motion .reveal.in .points > *, .motion .reveal.in .ticks > *, .motion .reveal.in.format-list > *, .motion .faq.in > details { opacity: 1; translate: none; }

/* tabs: the dark pill slides to the selected kind */
.tabs { position: relative; }
.tab-thumb { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 999px; background: var(--ink); transition: translate .55s var(--spring), width .55s var(--spring), height .3s; pointer-events: none; }
.tabs.has-thumb button { position: relative; z-index: 1; transition: color .35s, border-color .35s, scale .35s var(--spring); }
.tabs.has-thumb button[aria-selected="true"] { background: transparent; border-color: transparent; color: var(--bg); }
.tabs button:hover { color: var(--ink); }
.tabs.has-thumb button[aria-selected="true"]:hover { color: var(--bg); }

/* buttons and links press in */
.badge-link { display: inline-block; transition: scale .4s var(--spring), filter .4s; }
.badge-link:hover { scale: 1.04; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .18)); }
.badge-link:active, .nav-cta:active, .tabs button:active { scale: .96; }
.faq summary { transition: color .25s; }
.faq details:hover summary { color: var(--ink); }

/* smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .nav, .nav-pill, .showcase, .alive, .tab-thumb { transition: none; }
  .showcase { scale: none; }
}
