:root {
  --bg: #fbfbfd; --fg: #1d1d1f; --muted: #6e6e73; --tile: #f5f5f7; --line: #d2d2d7;
  --link: #0066cc; --pill: #0071e3; --pill-fg: #fff; --store: #000; --store-fg: #fff;
  --nav: rgba(251, 251, 253, .72);
  --grad: linear-gradient(90deg, #0090f7 0%, #ba62fc 50%, #f2416b 100%);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #000; --fg: #f5f5f7; --muted: #86868b; --tile: #161617; --line: #424245;
    --link: #2997ff; --store: #f5f5f7; --store-fg: #000; --nav: rgba(0, 0, 0, .72); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); -webkit-font-smoothing: antialiased;
  font: 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  letter-spacing: -.022em; overflow-x: hidden; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
h1, h2 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  font-weight: 700; letter-spacing: -.03em; margin: 0; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: var(--nav); backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--line) 50%, transparent); }
.nav-in { max-width: 1000px; margin: 0 auto; padding: 0 22px; height: 48px; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--fg); font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.brand span { color: var(--muted); font-weight: 400; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 24px; font-size: 13px; }
.nav-links a { color: var(--fg); opacity: .8; }
.nav-links a:hover { opacity: 1; text-decoration: none; }

/* hero */
.hero { max-width: 980px; margin: 0 auto; padding: 120px 22px 100px; text-align: center; }
.hero h1 { font-size: clamp(44px, 8vw, 96px); line-height: 1.04; }
.grad, .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto; animation: shimmer 8s linear infinite; }
.lead { font-size: clamp(19px, 2.4vw, 28px); line-height: 1.25; color: var(--muted); font-weight: 500; max-width: 720px; margin: 22px auto 0; }
.lead p { margin: 0; }
.hero-cta { margin-top: 34px; display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }
.pill { display: inline-block; background: var(--pill); color: var(--pill-fg); padding: 12px 24px; border-radius: 980px;
  font-size: 17px; transition: transform .3s var(--ease), filter .3s; }
.pill:hover { text-decoration: none; filter: brightness(1.1); transform: scale(1.03); }
.pill.ghost { background: transparent; color: var(--pill); box-shadow: inset 0 0 0 1px var(--pill); }
.link { font-size: 17px; }

/* project tiles on home */
.projects { display: grid; gap: 12px; padding: 0 12px; max-width: 1400px; margin: 0 auto; }
.tile { background: var(--tile); border-radius: 28px; overflow: hidden; text-align: center; padding-top: 64px; }
.tile-head { padding: 0 22px; }
.tile h2 { font-size: clamp(40px, 6vw, 64px); line-height: 1.06; }
.tile-sub { font-size: clamp(19px, 2.2vw, 26px); color: var(--muted); margin: 8px 0 0; }
.tile-links { margin: 24px 0 48px; display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }
.tile-media { display: block; max-width: 1100px; margin: 0 auto; padding: 0 22px; }
.tile-media img { width: 100%; border-radius: 22px 22px 0 0; }
.app-icon { width: 72px; height: 72px; border-radius: 22.5%; margin: 0 auto 18px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.app-icon.big { width: 112px; height: 112px; margin-bottom: 26px; }

/* product page */
.product { padding-bottom: 60px; }
.cover { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.cover img { width: 100%; border-radius: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.statement { max-width: 820px; margin: 0 auto; padding: 120px 22px; text-align: center; }
.statement p { font-size: clamp(24px, 3.4vw, 40px); line-height: 1.2; font-weight: 600; letter-spacing: -.025em; margin: 0 0 .6em; }
.statement p + p { color: var(--muted); font-size: clamp(19px, 2.2vw, 24px); font-weight: 500; }
.gallery { padding: 40px 0 100px; }
.gallery h2 { text-align: center; font-size: clamp(36px, 5vw, 56px); margin-bottom: 48px; padding: 0 22px; }
.shots { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px max(22px, calc((100vw - 980px) / 2)) 40px;
  scrollbar-width: none; justify-content: safe center; }
.shots::-webkit-scrollbar { display: none; }
.shot { margin: 0; flex: 0 0 auto; width: min(300px, 72vw); scroll-snap-align: center; }
.shot img { width: 100%; border-radius: 36px; box-shadow: 0 20px 50px rgba(0,0,0,.22); }
.get { background: var(--tile); max-width: 1376px; margin: 0 12px 12px; border-radius: 28px; padding: 90px 22px; text-align: center; }
@media (min-width: 1400px) { .get { margin: 0 auto 12px; } }
.get h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 30px; }
.small-links { margin: 30px 0 0; display: flex; gap: 24px; justify-content: center; font-size: 15px; }

/* store buttons */
.stores { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.get .stores { margin-top: 0; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--store); color: var(--store-fg);
  padding: 9px 20px 9px 16px; border-radius: 14px; min-width: 180px; transition: transform .3s var(--ease), box-shadow .3s; }
.store:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.store svg { width: 28px; height: 28px; fill: currentColor; flex: none; }
.store span { display: flex; flex-direction: column; text-align: left; font-size: 20px; font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }
.store small { font-size: 11px; font-weight: 400; letter-spacing: 0; }

/* contact */
.contact { max-width: 980px; margin: 0 auto; padding: 140px 22px; text-align: center; }
.contact h2 { font-size: clamp(44px, 7vw, 80px); }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--tile); }
.foot-in { max-width: 1000px; margin: 0 auto; padding: 20px 22px 28px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.foot a { color: var(--fg); opacity: .8; }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 80px 22px 100px; font-size: 16px; }
.legal h1 { font-size: clamp(36px, 5vw, 48px); margin-bottom: 6px; }
.legal h2 { font-size: 22px; margin: 44px 0 12px; letter-spacing: -.02em; }
.legal .muted { color: var(--muted); }
.legal li { margin-bottom: 6px; }
.toc { background: var(--tile); border-radius: 18px; padding: 18px 24px; margin: 32px 0; }
.toc ol { margin: 0; padding-left: 20px; columns: 2 260px; font-size: 15px; }

/* motion */
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 1s var(--ease) both; }
.d1 { animation-delay: .12s; } .d2 { animation-delay: .24s; } .d3 { animation-delay: .36s; }
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .zoom img { transform: scale(calc(.88 + .12 * var(--p, 1))); transition: transform .1s linear; transform-origin: center top; }
@media (prefers-reduced-motion: reduce) {
  .rise, .grad, .grad-text { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .zoom img { transform: none; }
  html { scroll-behavior: auto; }
}
@media (max-width: 600px) {
  .hero { padding: 80px 20px 70px; }
  .tile { border-radius: 22px; padding-top: 48px; }
  .statement, .contact { padding: 90px 20px; }
}
.ico { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; }
.foot a { display: inline-flex; align-items: center; gap: 6px; }
.foot .ico { width: 14px; height: 14px; }
.back { max-width: 1000px; margin: 0 auto; padding: 14px 22px 0; font-size: 15px; }
.back a { color: var(--link); }
.back + main .hero { padding-top: 70px; }
.back + main .legal { padding-top: 40px; }
