:root {
  --ink: #0A0A0A;
  --body: #1D1D1F;
  --g600: #6E6E73;
  --g400: #8E8E93;
  --g200: #D1D1D6;
  --g100: #E5E5EA;
  --g50: #F2F2F7;
  --bg: #F6F7F9;
  --card: #FFFFFF;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--body);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('/assets/grain.png');
  opacity: .35;
  pointer-events: none;
  z-index: 100;
  mix-blend-mode: multiply;
}
a { color: inherit; }
img { display: block; }
.wrap { position: relative; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Garments, placed inside any outfit card ---------- */
.g { display: block; overflow: visible; }
.top, .bottom, .shoe { position: absolute; filter: drop-shadow(0 10px 14px rgba(0,0,0,.28)); }
.top { width: 60%; aspect-ratio: 1; left: 20%; top: 5%; z-index: 2; }
.bottom { width: 46%; aspect-ratio: 1; left: 27%; top: 47%; z-index: 1; }
.shoe { width: 30%; aspect-ratio: 10 / 6; right: 6%; bottom: 5%; z-index: 3; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 16px; }
.nav-in {
  max-width: 760px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(255,255,255,.62); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.8); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 8px 30px -12px rgba(0,0,0,.12);
  transition: box-shadow .3s;
}
.nav.scrolled .nav-in { box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 14px 40px -14px rgba(0,0,0,.25); }
.nav-logo, .top-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.nav-logo img { height: 24px; width: auto; filter: brightness(0); }
.nav-logo .nav-mark { height: 22px; }
.top-logo .nav-mark { height: 27px; }
.nav-links { display: flex; gap: 26px; font-size: 14.5px; font-weight: 500; color: var(--g600); }
.nav-links a { text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { text-decoration: none; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 500; padding: 10px 18px; border-radius: 999px; transition: transform .2s var(--ease); }
.nav-cta:hover { transform: scale(1.04); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 40px; text-align: center; overflow-x: clip; }
.hero-glow {
  position: absolute; inset: -10% -20% auto; height: 900px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(38% 30% at 50% 58%, rgba(201,168,120,.35), transparent 70%),
    radial-gradient(30% 30% at 28% 40%, rgba(120,140,170,.22), transparent 70%),
    radial-gradient(30% 30% at 72% 38%, rgba(160,150,140,.2), transparent 70%);
  filter: blur(20px);
  animation: breathe 9s ease-in-out infinite alternate;
}
@keyframes breathe { to { transform: scale(1.08) translateY(-20px); opacity: .85; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  font-size: 14px; font-weight: 500; color: var(--body);
  background: rgba(255,255,255,.75); border: 1px solid var(--g100); padding: 7px 15px 7px 12px; border-radius: 999px;
  box-shadow: 0 6px 20px -10px rgba(0,0,0,.2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34C759; box-shadow: 0 0 0 0 rgba(52,199,89,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(52,199,89,0); } 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0); } }

.headline {
  font-size: clamp(48px, 9vw, 104px); line-height: .98; letter-spacing: -0.05em; font-weight: 600; color: var(--ink);
  margin: 26px auto 0; max-width: 11ch;
}
.headline .w { display: inline-block; opacity: 0; transform: translateY(40%) rotate(4deg); filter: blur(10px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d); }
.headline.in .w { opacity: 1; transform: none; filter: none; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--g600); max-width: 34ch; margin: 24px auto 0; }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.store {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: var(--ink); color: #fff; height: 62px; padding: 0 24px 0 20px; border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 14px 30px -12px rgba(0,0,0,.55);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  text-align: left;
}
.store::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  animation: shine 5s 2s infinite;
}
@keyframes shine { 0%, 70% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(220%) skewX(-20deg); } }
.store:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 22px 40px -14px rgba(0,0,0,.6); }
.store-icon { width: 28px; height: 28px; flex: none; color: #fff; }
.store span { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.store small { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: 0; opacity: .65; margin-bottom: 1px; }
.store.light { background: #fff; color: var(--ink); box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.store.light .store-icon { color: var(--ink); }
.store.light::after { background: linear-gradient(90deg, transparent, rgba(0,0,0,.08), transparent); }

/* Stage: phone + floating cards */
.stage { position: relative; width: min(860px, 100%); height: 680px; margin: 70px auto 0; }
.phone {
  position: absolute; left: 50%; top: 0; width: 310px; height: 640px; transform: translateX(-50%);
  border-radius: 54px; padding: 11px; background: linear-gradient(145deg, #2b2b2e, #0b0b0c);
  box-shadow: 0 0 0 1.5px #3a3a3d inset, 0 60px 100px -40px rgba(0,0,0,.55), 0 30px 60px -30px rgba(0,0,0,.35);
}
.phone::before { content: ''; position: absolute; top: 22px; left: 50%; width: 92px; height: 27px; transform: translateX(-50%); background: #000; border-radius: 20px; z-index: 5; }
.screen { position: relative; height: 100%; border-radius: 44px; overflow: hidden; background: var(--bg); text-align: left; display: flex; flex-direction: column; }
.scr-top { padding: 62px 20px 12px; }
.scr-day { font-size: 12px; color: var(--g400); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.scr-title { display: block; font-size: 26px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.scr-chips { display: flex; gap: 6px; margin-top: 10px; }
.scr-chips span { font-size: 12px; font-weight: 500; background: #fff; border: 1px solid var(--g100); padding: 4px 10px; border-radius: 999px; }
.looks { position: relative; flex: 1; margin: 4px 14px 0; }
.look {
  position: absolute; inset: 0; border-radius: 28px; overflow: hidden;
  background: var(--bg) center / cover; background-image: var(--bg);
  opacity: 0; animation: lookCycle 9s var(--ease) infinite;
}
.look.l2 { animation-delay: 3s; }
.look.l3 { animation-delay: 6s; }
@keyframes lookCycle {
  0% { opacity: 0; transform: translateX(60px) rotate(4deg) scale(.95); }
  5%, 30% { opacity: 1; transform: none; }
  36% { opacity: 0; transform: translateX(-90px) rotate(-8deg) scale(.95); }
  100% { opacity: 0; }
}
.look .top { width: 64%; left: 18%; top: 4%; }
.look .bottom { width: 50%; left: 25%; top: 44%; }
.tag { position: absolute; left: 12px; bottom: 12px; z-index: 4; font-size: 11.5px; font-weight: 500; color: #fff; background: rgba(0,0,0,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 5px 10px; border-radius: 999px; }
.scr-actions { display: flex; gap: 8px; padding: 12px 14px 20px; }
.scr-actions span { flex: 1; text-align: center; font-size: 14px; font-weight: 600; padding: 12px; border-radius: 16px; }
.skip { background: #fff; border: 1px solid var(--g100); }
.wear { background: var(--ink); color: #fff; }

.float {
  position: absolute; display: flex; align-items: center; gap: 12px; text-align: left;
  background: rgba(255,255,255,.78); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.9); border-radius: 20px; padding: 12px 16px 12px 12px;
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.35);
  animation: bob 6s ease-in-out infinite;
  transition: translate .4s var(--ease);
}
.float b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.float small { display: block; font-size: 12.5px; color: var(--g600); }
.f1 { left: 0; top: 120px; }
.f2 { right: 0; top: 60px; animation-delay: -2s; }
.f3 { right: 30px; top: 400px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.mini-thumb { width: 46px; height: 46px; border-radius: 12px; background: var(--g50); padding: 6px; }
.mini-thumb .g { width: 100%; height: 100%; }
.tick { width: 22px; height: 22px; border-radius: 50%; background: #34C759; color: #fff; font-size: 12px; display: grid; place-items: center; margin-left: 4px; }
.wx { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(160deg, #5c7391, #2f3c50); color: #fff; display: grid; place-items: center; font-size: 22px; }
.cal { width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--g100); text-align: center; font-size: 19px; font-weight: 600; line-height: 1; padding-top: 6px; color: var(--ink); }
.cal small { display: block; font-size: 9px; color: #FF3B30; font-weight: 600; margin-bottom: 3px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 30px 0; border-block: 1px solid var(--g100); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-size: clamp(22px, 3vw, 34px); font-weight: 600; letter-spacing: -0.03em; color: var(--g200); padding: 0 28px; white-space: nowrap; }
.marquee span:nth-child(3n+1) { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 24px 0; }
.sec-head { text-align: center; margin-bottom: 70px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--g400); }
.kicker.light { color: rgba(255,255,255,.5); }
.section h2 { font-size: clamp(36px, 5.5vw, 60px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; color: var(--ink); margin-top: 14px; }

.row { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; margin-bottom: 110px; }
.row.flip .row-copy { order: 2; }
.step { font-size: 14px; font-weight: 600; color: var(--g400); font-variant-numeric: tabular-nums; }
.row h3 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 600; color: var(--ink); margin-top: 10px; }
.row p { color: var(--g600); font-size: 18px; margin-top: 16px; max-width: 42ch; }
.ticks { list-style: none; margin-top: 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-size: 16px; font-weight: 500; }
.ticks li::before { content: '✓'; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; display: grid; place-items: center; }

.demo {
  position: relative; height: 460px; border-radius: 32px; overflow: hidden;
  background: #fff; border: 1px solid var(--g100);
  box-shadow: 0 40px 80px -50px rgba(0,0,0,.35);
}

/* Demo 1: snap and cut out */
.snap { background: linear-gradient(180deg, #fbfbfc, #eef0f3); }
.snap-photo { position: absolute; left: 50%; top: 30px; width: 260px; height: 290px; transform: translateX(-50%); border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px -24px rgba(0,0,0,.35); }
.snap-checker { position: absolute; inset: 0; background: conic-gradient(#f3f3f5 25%, #fff 0 50%, #f3f3f5 0 75%, #fff 0) 0 0 / 22px 22px; }
.snap-bg { position: absolute; inset: 0; z-index: 1; background-size: cover; background-position: center; animation: cutout 6s var(--ease) infinite; }
.snap-item { position: absolute; z-index: 2; width: 72%; aspect-ratio: 1; left: 14%; top: 12%; animation: lift 6s var(--ease) infinite; }
.snap-scan { position: absolute; z-index: 3; left: 0; right: 0; height: 60px; top: -60px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.65)); border-bottom: 2px solid #fff; box-shadow: 0 6px 20px rgba(255,255,255,.9); animation: scan 6s var(--ease) infinite; }
.snap-flash { position: absolute; inset: 0; z-index: 4; background: #fff; opacity: 0; animation: flash 6s infinite; }
.snap-shutter { position: absolute; left: 50%; bottom: 20px; width: 58px; height: 58px; margin-left: -29px; border-radius: 50%; border: 4px solid var(--ink); animation: press 6s infinite; }
.snap-shutter::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--ink); }
.snap-chips { position: absolute; left: 0; right: 0; top: 338px; display: flex; justify-content: center; gap: 8px; }
.snap-chips span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; background: #fff; border: 1px solid var(--g100); padding: 6px 12px; border-radius: 999px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.2); opacity: 0; animation: chip 6s var(--ease) infinite; }
.snap-chips i { width: 12px; height: 12px; border-radius: 50%; }
.snap-chips .c2 { animation-name: chip2; }
.snap-chips .c3 { animation-name: chip3; }
@keyframes press { 0%, 8%, 14%, 100% { transform: scale(1); } 11% { transform: scale(.86); } }
@keyframes flash { 0%, 10% { opacity: 0; } 12% { opacity: .9; } 18%, 100% { opacity: 0; } }
@keyframes scan { 0%, 20% { top: -60px; } 48% { top: 100%; } 100% { top: 100%; } }
@keyframes cutout { 0%, 20% { clip-path: inset(0 0 0 0); } 48%, 94% { clip-path: inset(100% 0 0 0); } 100% { clip-path: inset(0 0 0 0); } }
@keyframes lift { 0%, 46% { transform: none; filter: none; } 54%, 92% { transform: scale(1.06) translateY(-6px); filter: drop-shadow(0 18px 18px rgba(0,0,0,.3)); } 100% { transform: none; } }
@keyframes chip { 0%, 52% { opacity: 0; transform: translateY(10px) scale(.9); } 57%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes chip2 { 0%, 59% { opacity: 0; transform: translateY(10px) scale(.9); } 64%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes chip3 { 0%, 66% { opacity: 0; transform: translateY(10px) scale(.9); } 71%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }

/* Demo 2: weather */
.wx-demo { display: grid; grid-template-columns: 0.8fr 1fr; gap: 18px; padding: 26px; background: linear-gradient(180deg, #fbfbfc, #eef0f3); }
.wx-card { position: relative; border-radius: 24px; overflow: hidden; color: #fff; }
.wx-state { position: absolute; inset: 0; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; animation: sunny 8s var(--ease) infinite; }
.wx-state.sunny { background: linear-gradient(165deg, #6db3f2, #f6c26b); }
.wx-state.rainy { background: linear-gradient(165deg, #3d4a5c, #7d8a9a); animation-name: rainy; }
.wx-ico { font-size: 44px; line-height: 1; margin-bottom: auto; }
.wx-state b { font-size: 64px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.wx-state small { font-size: 15px; font-weight: 500; opacity: .9; margin-top: 6px; }
.wx-fit { position: relative; border-radius: 24px; background: #fff; border: 1px solid var(--g100); overflow: hidden; }
.wx-look { position: absolute; inset: 0; animation: sunny 8s var(--ease) infinite; }
.wx-look.rainy { animation-name: rainy; }
@keyframes sunny { 0%, 42% { opacity: 1; transform: none; } 50%, 92% { opacity: 0; transform: translateY(-14px) scale(.97); } 100% { opacity: 1; transform: none; } }
@keyframes rainy { 0%, 42% { opacity: 0; transform: translateY(14px) scale(.97); } 50%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(14px) scale(.97); } }
.rain { position: absolute; inset: 0; pointer-events: none; animation: rainy 8s var(--ease) infinite; }
.rain i { position: absolute; top: -20px; width: 1.5px; height: 16px; background: linear-gradient(transparent, rgba(65,96,127,.5)); animation: drop 1s linear infinite; }
.rain i:nth-child(1) { left: 8%; animation-delay: .1s; } .rain i:nth-child(2) { left: 17%; animation-delay: .6s; } .rain i:nth-child(3) { left: 26%; animation-delay: .3s; }
.rain i:nth-child(4) { left: 35%; animation-delay: .8s; } .rain i:nth-child(5) { left: 44%; animation-delay: .2s; } .rain i:nth-child(6) { left: 53%; animation-delay: .7s; }
.rain i:nth-child(7) { left: 62%; animation-delay: .4s; } .rain i:nth-child(8) { left: 71%; animation-delay: .9s; } .rain i:nth-child(9) { left: 80%; animation-delay: .15s; }
.rain i:nth-child(10) { left: 89%; animation-delay: .55s; } .rain i:nth-child(11) { left: 13%; animation-delay: .45s; } .rain i:nth-child(12) { left: 67%; animation-delay: .05s; }
@keyframes drop { to { transform: translateY(480px); } }

/* Demo 3: swipe deck (driven by main.js) */
.swipe { background: linear-gradient(180deg, #fbfbfc, #eef0f3); }
.card-s {
  position: absolute; left: 50%; top: 50%; width: 250px; height: 340px; margin: -170px 0 0 -125px; border-radius: 28px; overflow: hidden;
  background: center / cover; background-image: var(--bg); box-shadow: 0 30px 50px -26px rgba(0,0,0,.5);
  transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.card-s[data-pos="0"] { z-index: 4; transform: none; }
.card-s[data-pos="1"] { z-index: 3; transform: translateY(16px) scale(.94); }
.card-s[data-pos="2"] { z-index: 2; transform: translateY(32px) scale(.88); opacity: .7; }
.card-s[data-pos="3"] { z-index: 1; transform: translateY(32px) scale(.88); opacity: 0; transition: none; }
.card-s.out-right { transform: translate(340px, -20px) rotate(18deg) !important; opacity: 0 !important; }
.card-s.out-left { transform: translate(-340px, -20px) rotate(-18deg) !important; opacity: 0 !important; }
.stamp { position: absolute; top: 22px; z-index: 5; font-size: 22px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 12px; border-radius: 10px; border: 3px solid; opacity: 0; transition: opacity .25s; }
.stamp.yes { left: 18px; color: #34C759; border-color: #34C759; background: rgba(255,255,255,.85); transform: rotate(-12deg); }
.stamp.no { right: 18px; color: #FF3B30; border-color: #FF3B30; background: rgba(255,255,255,.85); transform: rotate(12deg); }
.card-s.out-right .stamp.yes, .card-s.out-left .stamp.no { opacity: 1; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { position: relative; grid-column: span 3; height: 420px; border-radius: 32px; overflow: hidden; background: #fff; border: 1px solid var(--g100); display: flex; flex-direction: column; justify-content: flex-end; }
.t-backdrop { grid-column: span 4; }
.t-week { grid-column: span 2; }
.t-private { grid-column: span 2; }
.t-share { grid-column: span 4; }
.tile-copy { position: relative; z-index: 3; padding: 26px 28px 28px; }
.tile h4 { font-size: 22px; letter-spacing: -0.03em; font-weight: 600; color: var(--ink); }
.tile p { color: var(--g600); font-size: 15.5px; margin-top: 4px; max-width: 36ch; }
.tile.dark { background: var(--ink); border-color: var(--ink); }
.tile.dark h4 { color: #fff; }
.tile.dark p { color: rgba(255,255,255,.6); }

.bd-stage { position: absolute; inset: 0; }
.bd { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: bdCycle 12s infinite; }
.bd:nth-child(2) { animation-delay: 3s; } .bd:nth-child(3) { animation-delay: 6s; } .bd:nth-child(4) { animation-delay: 9s; }
@keyframes bdCycle { 0% { opacity: 0; transform: scale(1.08); } 6%, 25% { opacity: 1; } 33% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
.bd-fit { position: absolute; right: 8%; top: 6%; width: 240px; height: 300px; animation: bob 6s ease-in-out infinite; }
.t-backdrop .tile-copy { background: linear-gradient(transparent, rgba(0,0,0,.55)); padding-top: 60px; }
.t-backdrop h4, .t-backdrop p { color: #fff; }
.t-backdrop p { opacity: .85; }

.week { position: absolute; inset: 26px 22px auto; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day { text-align: center; }
.day small { display: block; font-size: 11px; font-weight: 600; color: var(--g400); margin-bottom: 8px; }
.day i { display: block; height: 150px; border-radius: 12px; background: var(--g50); position: relative; overflow: hidden; }
.day i::after { content: ''; position: absolute; left: 4px; right: 4px; bottom: 4px; height: 70%; border-radius: 9px; background: var(--c); box-shadow: inset 0 -30px 30px -20px rgba(0,0,0,.25); transform: translateY(120%); animation: dropIn 7s var(--ease) infinite; animation-delay: calc(var(--n) * .25s); }
@keyframes dropIn { 0%, 4% { transform: translateY(120%); } 14%, 86% { transform: none; } 96%, 100% { transform: translateY(120%); } }

.lock { position: absolute; left: 50%; top: 40%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 30px; background: #1d1d1f; display: grid; place-items: center; box-shadow: 0 0 0 1px #2c2c2e inset; }
.ring { position: absolute; inset: -12px; border-radius: 42px; border: 1.5px solid rgba(255,255,255,.25); animation: ripple 3s ease-out infinite; }
.ring.r2 { animation-delay: 1.5s; }
@keyframes ripple { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }

.polas { position: absolute; inset: 0 0 110px; display: flex; justify-content: center; align-items: center; }
.pola { position: absolute; width: 170px; height: 210px; background: #fff; padding: 10px 10px 36px; border-radius: 10px; box-shadow: 0 24px 40px -20px rgba(0,0,0,.4); animation: fan 6s var(--ease) infinite; }
.pola::before { content: ''; position: absolute; inset: 10px 10px 36px; border-radius: 4px; background: center / cover; background-image: var(--bg); }
.pola .g { position: relative; width: 78%; aspect-ratio: 1; height: auto; margin: 14% auto 0; filter: drop-shadow(0 8px 10px rgba(0,0,0,.3)); }
.p1 { --r: -14deg; --x: -150px; }
.p2 { --r: 0deg; --x: 0px; z-index: 2; }
.p3 { --r: 14deg; --x: 150px; }
@keyframes fan { 0%, 10% { transform: none; } 35%, 75% { transform: translateX(var(--x)) rotate(var(--r)); } 100% { transform: none; } }

/* ---------- Brands ---------- */
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--ink); color: #fff; border-radius: 40px; padding: 64px; overflow: hidden; position: relative; }
.brands::before { content: ''; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; background: radial-gradient(circle, rgba(201,168,120,.25), transparent 65%); pointer-events: none; }
.brands h2 { color: #fff; }
.brands-copy p { color: rgba(255,255,255,.62); margin-top: 18px; max-width: 40ch; font-size: 18px; }
.btn-light { display: inline-block; margin-top: 30px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; padding: 15px 24px; border-radius: 16px; transition: transform .2s var(--ease); }
.btn-light:hover { transform: translateY(-2px); }
.sheet { position: relative; background: #151517; border: 1px solid #2a2a2d; border-radius: 24px; padding: 14px; font-size: 14px; }
.sheet-head, .sheet-row { display: grid; grid-template-columns: 1.6fr 1fr .7fr; gap: 10px; padding: 10px 12px; border-radius: 10px; }
.sheet-head { color: rgba(255,255,255,.4); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.sheet-row { color: rgba(255,255,255,.85); animation: rowLit 8s infinite; animation-delay: calc(var(--n) * .6s); }
@keyframes rowLit { 0%, 2% { background: transparent; } 6%, 12% { background: rgba(255,255,255,.1); } 18%, 100% { background: transparent; } }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.prod { background: #fff; border-radius: 14px; padding: 10px 8px 8px; text-align: center; opacity: 0; animation: prodIn 8s var(--ease) infinite; animation-delay: calc(var(--n) * .6s + .3s); }
.prod .g { width: 100%; aspect-ratio: 1; filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); }
.prod small { display: block; color: var(--ink); font-size: 10.5px; font-weight: 600; margin-top: 4px; white-space: nowrap; }
@keyframes prodIn { 0%, 4% { opacity: 0; transform: translateY(16px) scale(.9); } 10%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(16px) scale(.9); } }

/* ---------- Final CTA ---------- */
.final { position: relative; overflow: hidden; text-align: center; background: var(--ink); color: #fff; border-radius: 40px; padding: 90px 24px; }
.final-glow { position: absolute; left: 50%; top: 100%; width: 900px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(201,168,120,.45), rgba(120,140,170,.15) 60%, transparent); animation: breathe 7s ease-in-out infinite alternate; }
.final-icon { position: relative; width: 88px; height: 88px; margin: 0 auto; border-radius: 22px; box-shadow: 0 0 0 1px #2c2c2e, 0 20px 50px -10px rgba(0,0,0,.8); animation: bob 5s ease-in-out infinite; }
.final h2 { position: relative; color: #fff; margin-top: 28px; }
.final > p { position: relative; color: rgba(255,255,255,.62); font-size: 19px; margin-top: 14px; }
.stores.center { position: relative; }
.final-note { position: relative; color: rgba(255,255,255,.45); font-size: 14px; margin-top: 22px; }
.final-note a { color: #fff; }

/* ---------- Footer ---------- */
footer { margin-top: 90px; border-top: 1px solid var(--g100); padding: 28px 0 40px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 14px; color: var(--g600); }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
.idle, .idle * { animation-play-state: paused !important; }

/* ---------- Legal pages ---------- */
.site-top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.site-top img { height: 30px; width: auto; filter: brightness(0); }
.doc { max-width: 680px; padding: 40px 0 0; }
.doc h1 { font-size: 40px; letter-spacing: -0.035em; font-weight: 600; color: var(--ink); line-height: 1.1; }
.doc h2 { font-size: 20px; letter-spacing: -0.015em; font-weight: 600; color: var(--ink); margin-top: 36px; }
.doc p { margin-top: 10px; }
.doc ul { margin-top: 8px; padding-left: 22px; }
.doc li { margin-top: 6px; }
.doc .meta { color: var(--g400); font-size: 14px; margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .row, .row.flip { grid-template-columns: 1fr; gap: 32px; margin-bottom: 80px; }
  .row.flip .row-copy { order: 0; }
  .bento { grid-template-columns: 1fr; }
  .tile, .t-backdrop, .t-week, .t-private, .t-share { grid-column: auto; }
  .brands { grid-template-columns: 1fr; padding: 40px 24px; }
  .f1 { left: -8px; top: 90px; }
  .f2 { right: -8px; top: 30px; }
  .f3 { right: -8px; top: 440px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding-top: 120px; }
  .section { padding-top: 90px; }
  .stage { height: 560px; margin-top: 50px; transform-origin: top center; }
  .phone { width: 270px; height: 556px; border-radius: 48px; }
  .screen { border-radius: 38px; }
  .scr-top { padding-top: 56px; }
  .float { padding: 8px 12px 8px 8px; gap: 8px; border-radius: 16px; }
  .float b { font-size: 12.5px; }
  .float small { font-size: 11px; }
  .mini-thumb, .wx, .cal { width: 36px; height: 36px; border-radius: 10px; }
  .wx { font-size: 18px; }
  .cal { font-size: 15px; padding-top: 4px; }
  .tick { display: none; }
  .f1 { top: 130px; } .f2 { top: 34px; } .f3 { top: 420px; }
  .demo { height: 420px; }
  .wx-demo { grid-template-columns: 1fr; grid-template-rows: 130px 1fr; padding: 16px; }
  .wx-state { flex-direction: row; align-items: flex-end; gap: 12px; padding: 18px; }
  .wx-ico { margin: 0 auto 0 0; font-size: 34px; }
  .wx-state b { font-size: 44px; }
  .snap-photo { width: 230px; height: 270px; }
  .snap-chips { top: 322px; }
  .bd-fit { width: 180px; height: 230px; right: 4%; }
  .pola { width: 130px; height: 165px; }
  .p1 { --x: -95px; } .p3 { --x: 95px; }
  .store { height: 58px; padding: 0 18px 0 16px; }
  .store span { font-size: 18px; }
  .wrap { padding: 0 16px; }
  .section { padding-left: 16px; padding-right: 16px; }
  .brands, .final { border-radius: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .look.l1, .wx-look.sunny, .wx-state.sunny, .bd:first-child, .prod, .snap-chips span { opacity: 1 !important; }
}
