:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  color: #141414;
  background: #fff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }

body:has(.falling-items) > *:not(.falling-items) { position: relative; z-index: 1; }
.falling-items { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 17%, transparent 36%, transparent 64%, #000 83%, #000 100%); mask-image: linear-gradient(90deg, #000 0%, #000 17%, transparent 36%, transparent 64%, #000 83%, #000 100%); }
.falling-item { position: absolute; top: -30vh; width: var(--size); height: auto; opacity: .64; object-fit: contain; filter: drop-shadow(0 12px 13px #0002); animation: falling var(--duration) linear infinite; animation-delay: var(--delay); will-change: transform; }
.fall-a { left: 4%; --size: 135px; --duration: 21s; --delay: -4s; --turn: 18deg; }
.fall-b { left: 82%; --size: 172px; --duration: 25s; --delay: -17s; --turn: -21deg; }
.fall-c { left: 5%; --size: 160px; --duration: 27s; --delay: -20s; --turn: -16deg; }
.fall-d { left: 76%; --size: 175px; --duration: 23s; --delay: -8s; --turn: 25deg; }
.fall-e { left: 50%; --size: 122px; --duration: 28s; --delay: -24s; --turn: 19deg; }
.fall-f { left: 12%; --size: 140px; --duration: 26s; --delay: -15s; --turn: -24deg; }
.fall-g { left: 67%; --size: 145px; --duration: 24s; --delay: -13s; --turn: 14deg; }
.fall-h { left: 89%; --size: 115px; --duration: 29s; --delay: -3s; --turn: -20deg; }
.fall-i { left: 27%; --size: 118px; --duration: 26s; --delay: -21s; --turn: 14deg; }
.fall-j { left: 92%; --size: 125px; --duration: 27s; --delay: -12s; --turn: -15deg; }
.fall-k { left: 60%; --size: 105px; --duration: 30s; --delay: -7s; --turn: 18deg; }
.fall-l { left: -2%; --size: 114px; --duration: 29s; --delay: -25s; --turn: -12deg; }
.fall-m { left: 36%; --size: 102px; --duration: 32s; --delay: -31s; --turn: 10deg; }
@keyframes falling {
  0% { transform: translate3d(-8px, -20vh, 0) rotate(-18deg); }
  50% { transform: translate3d(13px, 55vh, 0) rotate(var(--turn)); }
  100% { transform: translate3d(-5px, 145vh, 0) rotate(15deg); }
}

.site-header { display: flex; justify-content: center; padding: 22px 18px 0; position: sticky !important; top: 0; z-index: 5 !important; pointer-events: none; }
.nav-pill { display: flex; align-items: center; gap: 22px; padding: 11px 12px 11px 18px; border: 1px solid #e9e9e9; border-radius: 100px; background: #fffffff0; backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 5px 25px #0000000a; pointer-events: auto; }
.nav-pill > a:not(.wordmark) { text-decoration: none; color: #5c5c5c; font-size: 14px; white-space: nowrap; }
.nav-pill > a:not(.wordmark):hover { color: #111; }
.nav-divider { height: 20px; border-left: 1px solid #e5e5e5; }
.nav-status { border-radius: 100px; padding: 10px 15px; background: #171717; color: #fff; font-size: 13px; font-weight: 650; white-space: nowrap; }
.wordmark, .legal-wordmark { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 20px; font-weight: 750; line-height: 1; letter-spacing: -.055em; white-space: nowrap; }
.wordmark-logo { width: 28px; height: 24px; object-fit: contain; }

.hero { text-align: center; min-height: 1050px; padding: 104px 20px 0; overflow: hidden; }
.hero-copy { position: relative; max-width: 810px; margin: 0 auto; z-index: 2; }
.brand-mark { display: grid; place-items: center; width: 86px; height: 68px; margin: 0 auto 22px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.hero h1 { font-size: clamp(56px, 7vw, 94px); line-height: .98; letter-spacing: -.075em; font-weight: 730; margin: 0; }
.hero-description { max-width: 590px; margin: 25px auto 0; color: #676767; font-size: clamp(18px, 2vw, 22px); line-height: 1.38; font-weight: 480; letter-spacing: -.015em; }
.coming-soon { display: inline-block; background: #171717; color: #fff; border-radius: 100px; padding: 14px 20px; margin-top: 32px; font-size: 14px; font-weight: 650; }
.demo-link { display: block; width: fit-content; margin: 17px auto 0; color: #555; text-decoration: none; font-size: 14px; font-weight: 550; }
.demo-link:hover { color: #111; text-decoration: underline; }
.stack-showcase { position: relative; max-width: 1000px; height: 610px; margin: 65px auto 0; display: flex; justify-content: center; overflow: hidden; text-decoration: none; cursor: pointer; color: inherit; }
.stack-showcase:focus-visible { outline: 3px solid #171717; outline-offset: 5px; border-radius: 24px; }
.showcase-phone { width: 365px; height: 765px; flex: none; position: relative; border: 9px solid #202020; border-radius: 58px; background: #fff; box-shadow: 0 30px 90px #00000023, 0 0 0 2px #9b9b9b; overflow: hidden; }
.phone-island { position: absolute; width: 112px; height: 29px; top: 10px; left: 50%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 3; }
.phone-screen { height: 100%; position: relative; padding: 0 20px; overflow: hidden; text-align: left; }
.phone-top { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 5px; font-size: 12px; font-weight: 650; }
.preview-back { font-size: 31px; line-height: 36px; margin: 13px 0 14px; }
.phone-screen h2 { font-size: 49px; line-height: 1; letter-spacing: -2.1px; margin: 0 0 10px; max-width: 310px; }
.preview-owner { display: flex; align-items: center; gap: 8px; color: #4b4b4b; font-size: 13px; }
.preview-avatar { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #d8d8d8; color: #444; font-size: 12px; }
.preview-count { margin-left: auto; color: #888; font-size: 12px; }
.preview-line { border-top: 1px solid #e5e5e5; margin-top: 10px; }
.preview-cutouts { position: relative; height: 520px; margin: 6px -12px 0; }
.preview-cutouts img { position: absolute; height: auto; object-fit: contain; filter: drop-shadow(0 5px 5px #0002); }
.preview-lamp { width: 45%; top: 4%; left: 0; transform: rotate(-8deg); }
.preview-cap { width: 44%; top: 8%; right: -2%; transform: rotate(7deg); }
.preview-tee { width: 55%; top: 30%; left: 16%; transform: rotate(-7deg); }
.preview-shoe { width: 46%; top: 43%; right: -4%; transform: rotate(15deg); }
.preview-bag { width: 49%; top: 60%; left: -4%; transform: rotate(-8deg); }
.preview-jacket { width: 46%; top: 72%; right: 6%; transform: rotate(8deg); }

.how { position: relative; padding: 125px 20px 0; border-top: 1px solid #f0f0f0; overflow: clip; }
.section-heading { text-align: center; max-width: 780px; margin: 0 auto 44px; }
.eyebrow { font-size: 12px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; color: #777; }
.section-heading h2 { font-size: clamp(45px, 5.7vw, 78px); line-height: 1.03; letter-spacing: -.07em; margin: 16px 0 15px; }
.section-heading > p:last-child { margin: 0; color: #7a7a7a; font-size: 19px; }
.assembly-scroll { height: 220vh; min-height: 1450px; }
.assembly-sticky { position: sticky; top: 74px; height: calc(100vh - 74px); min-height: 650px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 0 48px; }
.assembly-note { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; color: #868686; font-size: 12px; font-weight: 590; letter-spacing: .04em; }
.assembly-note-line { width: 24px; border-top: 1px solid #b9b9b9; }
.assembly-card { position: relative; width: min(520px, 90vw); height: min(600px, calc(100vh - 205px)); min-height: 460px; padding: 26px 27px; background: #fff; border: 1px solid #eaeaea; border-radius: 25px; box-shadow: 0 24px 75px #0000000e; }
.assembly-card-heading { display: flex; align-items: flex-start; justify-content: space-between; font-size: clamp(29px, 4vw, 45px); line-height: 1; font-weight: 730; letter-spacing: -.065em; }
.assembly-card-more { padding: 0 2px; font-size: 24px; letter-spacing: 0; line-height: 16px; }
.assembly-card-owner { display: flex; align-items: center; gap: 8px; margin-top: 17px; color: #555; font-size: 13px; }
.assembly-rule { margin-top: 17px; border-top: 1px solid #dedede; }
.assembly-canvas { position: relative; height: calc(100% - 102px); }
.assembly-product { position: absolute; object-fit: contain; filter: drop-shadow(0 6px 8px #0000001c); will-change: transform; }
.assembly-product-1 { width: 35%; top: 2%; left: 3%; }
.assembly-product-2 { width: 31%; top: 5%; right: 4%; }
.assembly-product-3 { width: 40%; top: 26%; left: 2%; }
.assembly-product-4 { width: 45%; top: 28%; right: 0; }
.assembly-product-5 { width: 35%; top: 62%; left: 8%; }
.assembly-product-6 { width: 42%; top: 64%; right: 3%; }
.assembly-caption { margin: 19px 0 0; color: #777; font-size: 15px; text-align: center; }
.site-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 36px; max-width: 1200px; margin: 0 auto; padding: 34px 30px 55px; border-top: 1px solid #ececec; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 15px 20px; max-width: 580px; }
.site-footer nav a { color: #6a6a6a; font-size: 13px; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer small { color: #aaa; font-size: 12px; }

.demo-main { max-width: 990px; padding: 24px 28px 80px; margin: 0 auto; }
.demo-topline { display: flex; justify-content: space-between; align-items: center; padding: 12px 0 64px; }
.demo-topline > a:last-child { color: #666; font-size: 14px; text-decoration: none; }
.demo-topline > a:last-child:hover { text-decoration: underline; }
.demo-stack-header { max-width: 740px; padding-bottom: 10px; border-bottom: 1px solid #dedede; }
.demo-stack-header .eyebrow { margin: 0 0 15px; }
.demo-stack-header h1 { font-size: 49px; line-height: 1; letter-spacing: -2.1px; margin: 0 0 10px; overflow-wrap: anywhere; }
.demo-byline { display: flex; align-items: center; gap: 9px; color: #444; font-size: 14px; }
.demo-count { margin-left: auto; color: #858585; }
.demo-canvas { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; justify-items: center; gap: 25px 18px; padding: 60px 4px 80px; }
.demo-canvas img { width: min(100%, 300px); max-height: 285px; object-fit: contain; filter: drop-shadow(0 10px 8px #00000016); }
.demo-canvas img:nth-child(3n + 1) { transform: rotate(-5deg); }
.demo-canvas img:nth-child(3n + 2) { transform: translateY(15px) rotate(4deg); }
.demo-canvas img:nth-child(3n) { transform: rotate(7deg); }
.demo-after { padding: 58px 20px 100px; text-align: center; border-top: 1px solid #e6e6e6; }
.demo-after h2 { margin: 0; font-size: clamp(43px, 6vw, 68px); letter-spacing: -.07em; line-height: 1.05; }
.demo-after p { margin: 18px auto 0; max-width: 475px; color: #6d6d6d; line-height: 1.5; font-size: 18px; }
.demo-footer { display: flex; justify-content: center; gap: 24px; }
.demo-footer a { color: #777; text-decoration: none; font-size: 13px; }
.demo-footer a:hover { text-decoration: underline; }

.public-invite { max-width: 700px; margin: 0 auto; padding: 110px 24px 150px; text-align: center; }
.public-invite h2 { font-size: clamp(42px, 6vw, 70px); line-height: 1; letter-spacing: -.065em; margin: 12px 0 15px; }
.public-invite > p:not(.eyebrow) { color: #6d6d6d; font-size: 18px; line-height: 1.4; }
.public-main { max-width: 1050px; margin: 0 auto; padding: 24px 28px 80px; }
.public-heading { margin: 10px 0 42px; }
.public-heading h1 { font-size: clamp(49px, 6vw, 72px); line-height: 1; letter-spacing: -.06em; margin: 10px 0; }
.public-heading > p:last-child { color: #777; margin: 0; }
.public-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 20px; min-height: 280px; }
.public-stack-card { display: block; padding: 12px; border: 1px solid #ededed; border-radius: 28px; box-shadow: 0 15px 42px #0000000b; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.public-stack-card:hover { transform: translateY(-4px); box-shadow: 0 19px 50px #00000017; }
.public-stack-card:focus-visible { outline: 3px solid #171717; outline-offset: 3px; }
.public-stack-art { height: 280px; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); align-items: center; justify-items: center; gap: 5px; border-radius: 20px; background: #f7f7f7; overflow: hidden; }
.public-stack-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 5px 7px #0002); }
.public-stack-art img:only-child { grid-column: 1 / -1; grid-row: 1 / -1; width: 78%; height: 78%; }
.public-stack-empty { grid-column: 1 / -1; grid-row: 1 / -1; color: #888; font-size: 13px; }
.public-stack-card h2 { font-size: 25px; line-height: 1.05; letter-spacing: -.045em; margin: 18px 4px 10px; overflow-wrap: anywhere; }
.public-stack-author { display: flex; align-items: center; gap: 8px; margin: 0 4px 4px; color: #5d5d5d; font-size: 13px; }
.public-stack-avatar,.public-stack-avatar img { width: 22px; height: 22px; border-radius: 50%; }
.public-stack-avatar { display: grid; place-items: center; background: #e4e4e4; overflow: hidden; }
.public-stack-avatar img { object-fit: cover; }
.public-stack-arrow { margin-left: auto; font-size: 18px; color: #171717; }
.public-pagination { display: flex; justify-content: center; gap: 16px; margin: 44px 0 75px; }
.public-pagination a { padding: 10px 18px; border: 1px solid #ddd; border-radius: 100px; text-decoration: none; }
.public-empty { color: #777; }

.message-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.message-card { width: min(100%, 520px); padding: 32px; border: 1px solid #e7e7e7; border-radius: 30px; box-shadow: 0 25px 70px #0000000c; }
.message-card h1 { font-size: clamp(38px, 7vw, 60px); line-height: 1.02; letter-spacing: -.065em; margin: 52px 0 18px; }
.message-card p { font-size: 17px; line-height: 1.45; color: #666; }
.button { display: inline-block; background: #171717; color: #fff; border-radius: 100px; padding: 14px 20px; margin-top: 20px; text-decoration: none; font-weight: 650; }
.fine-print { font-size: 13px !important; }

/* Extend the existing app-backed Stack and policy rendering. */
body > main:has(.canvas) { max-width: 660px !important; padding-left: 20px !important; padding-right: 20px !important; }
body > main:has(.canvas) h1 { margin: 20px 4px 10px !important; letter-spacing: -2.1px !important; }
.canvas { margin-top: 6px !important; }
.canvas .sticker img { filter: drop-shadow(0 7px 8px #0002) !important; }
.pitch { margin-top: 20px; }
.pitch h2 { font-weight: 680; }
.legal-wordmark { font-size: 18px; }
body > main > nav:first-child { align-items: center; }
body > main > nav:first-child a { text-decoration: none; }
body > main > nav:first-child a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .fall-a, .fall-c, .fall-f, .fall-i, .fall-l { left: -10%; }
  .fall-b, .fall-d, .fall-e, .fall-g, .fall-h, .fall-j, .fall-k, .fall-m { left: 91%; }
}
@media (max-width: 700px) {
  .nav-pill { gap: 14px; }
  .nav-pill > a:not(.wordmark) { display: none; }
  .nav-divider { display: none; }
  .hero { padding-top: 85px; min-height: 940px; }
  .hero h1 { font-size: clamp(52px, 12vw, 75px); }
  .hero-description { max-width: 480px; }
  .stack-showcase { margin-top: 62px; height: 560px; }
  .showcase-phone { transform: scale(.86); transform-origin: top center; }
  .how { padding: 96px 20px 0; }
  .assembly-scroll { height: 185vh; min-height: 1180px; }
  .assembly-sticky { min-height: 570px; }
  .assembly-card { padding: 22px 20px; }
  .site-footer { flex-direction: column; padding: 35px 25px; }
  .site-footer nav { justify-content: flex-start; }
  .falling-item { opacity: .4; }
  .fall-c, .fall-d, .fall-e, .fall-f, .fall-g, .fall-h { display: none; }
  .fall-a, .fall-i, .fall-l { left: -18%; }
  .fall-b, .fall-j, .fall-k, .fall-m { left: 85%; }
  .demo-main { padding: 24px 19px 70px; }
  .demo-topline { padding-bottom: 55px; }
  .demo-canvas { grid-template-columns: repeat(2, 1fr); gap: 15px 10px; padding: 35px 0 65px; }
  .demo-canvas img { max-height: 190px; }
}
@media (max-width: 400px) {
  .hero { min-height: 880px; }
  .hero h1 { font-size: 52px; }
  .hero-description { font-size: 18px; }
  .stack-showcase { height: 510px; }
  .showcase-phone { transform: scale(.77); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .falling-item { animation: none; opacity: .25; }
  .fall-a { transform: translateY(10vh) rotate(-12deg); }
  .fall-b { transform: translateY(45vh) rotate(8deg); }
  .fall-c, .fall-d, .fall-e, .fall-f, .fall-g, .fall-h, .fall-i, .fall-j, .fall-k, .fall-l, .fall-m { display: none; }
  .assembly-scroll { height: auto; min-height: 0; padding: 22px 0 90px; }
  .assembly-sticky { position: static; height: auto; min-height: 0; padding: 0; }
  .assembly-note { display: none; }
  .assembly-product { will-change: auto; }
}
