:root{
  --bg:#000; --ink:#F5F5F7; --soft:#C7C7CC; --mute:#A1A1A6; --dim:#8E8E93; --field:#1C1C1E; --edge:#3A3A3C; --line:#2C2C2E; --ok:#30D158; --err:#FF6961;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue","Segoe UI",Roboto,Arial,sans-serif;
  --gutter:clamp(20px,4.5vw,64px);
  color-scheme:dark;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased;font-size:17px;line-height:1.5}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
.wrap{max-width:1440px;margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:focus-visible{outline:3px solid #fff;outline-offset:3px;border-radius:8px}

/* nav */
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:28px;padding-bottom:28px}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none;font-weight:700;font-size:24px;letter-spacing:-.02em}
.brand.small{font-size:17px;gap:12px}
.icon{border-radius:22.37%;width:44px;height:44px}
.brand.small .icon{width:28px;height:28px}
.icon.big{width:120px;height:120px}
.btn-ghost{border:1.5px solid var(--ink);border-radius:999px;padding:11px 22px;font-weight:600;font-size:16px;text-decoration:none;white-space:nowrap}
.btn-ghost:hover{background:var(--ink);color:#000}

/* hero */
.hero{display:flex;flex-direction:column;align-items:center;text-align:center;gap:28px;padding-top:72px;padding-bottom:56px}
.eyebrow{margin:0;color:var(--mute);font-weight:500;font-size:16px;letter-spacing:.01em}
h1{margin:0;font-weight:700;font-size:clamp(46px,7.8vw,112px);line-height:.9;letter-spacing:-.035em;text-wrap:balance}
h2{margin:0;font-weight:700;font-size:clamp(36px,4.8vw,68px);line-height:.95;letter-spacing:-.03em;text-wrap:balance}
.lede{margin:0;max-width:660px;color:var(--soft);font-size:clamp(17px,1.6vw,22px);line-height:1.45}

/* form */
.signup{display:flex;flex-direction:column;align-items:center;gap:14px;width:100%;max-width:620px;margin-top:8px}
.signup .row{display:flex;gap:12px;width:100%;justify-content:center}
.signup input[type=email]{flex:1 1 auto;min-width:0;max-width:380px;height:64px;border-radius:16px;border:1.5px solid var(--edge);background:var(--field);color:var(--ink);font:inherit;font-size:19px;padding:0 22px}
.signup input[type=email]::placeholder{color:var(--dim)}
.signup input[type=email]:focus{border-color:#8E8E93;outline:none}
.signup button{flex:0 0 auto;height:64px;border:0;border-radius:16px;background:#fff;color:#000;font:inherit;font-weight:600;font-size:19px;padding:0 28px;cursor:pointer}
.signup button:hover{background:#E5E5EA}
.signup button[disabled]{opacity:.6;cursor:progress}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.fine{margin:0;color:var(--dim);font-size:15px;min-height:1.5em}
.fine.ok{color:var(--ok)} .fine.err{color:var(--err)}
.signup.done .row,.signup.done .ts,.signup.done [data-status]{display:none}
.ts:empty{display:none}

/* showcase */
.showcase{display:flex;flex-direction:column;align-items:center;gap:40px;padding-bottom:24px;overflow:hidden}
.stage{position:relative;width:100%;height:var(--stage-h,560px)}
.stage::before,.stage::after{content:"";position:absolute;top:-2px;bottom:-2px;width:var(--fade,300px);z-index:10;pointer-events:none}
.stage::before{left:0;background:linear-gradient(90deg,#000 0%,#000 var(--solid,30%),rgba(0,0,0,.72) var(--mid,60%),rgba(0,0,0,0) 100%)}
.stage::after{right:0;background:linear-gradient(270deg,#000 0%,#000 var(--solid,30%),rgba(0,0,0,.72) var(--mid,60%),rgba(0,0,0,0) 100%)}
.slide{position:absolute;left:0;top:0;transform-origin:0 0;will-change:transform,opacity;
  transition:transform .6s cubic-bezier(.42,0,.58,1),opacity .6s cubic-bezier(.42,0,.58,1),filter .6s cubic-bezier(.42,0,.58,1)}
.slide img{width:100%;height:auto;user-select:none;-webkit-user-drag:none}
.slide.c{filter:drop-shadow(0 36px 45px rgba(0,0,0,.9)) drop-shadow(0 10px 14px rgba(0,0,0,.7))}
.stage.instant .slide{transition:none}
@media (prefers-reduced-motion:reduce){.slide{transition:opacity .4s linear}}
.switcher{display:flex;gap:4px;padding:6px;border-radius:999px;background:var(--field)}
.switcher button{border:0;background:transparent;color:var(--ink);font:inherit;font-size:19px;padding:14px 28px;border-radius:999px;cursor:pointer;white-space:nowrap}
.switcher button[aria-selected=true]{background:var(--ink);color:#000}
.switcher button:not([aria-selected=true]):hover{background:#2C2C2E}

/* sections */
.rooms,.editor{display:flex;flex-direction:column;gap:56px;padding-top:120px;padding-bottom:120px}
.editor{border-top:1px solid var(--line)}
.head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;flex-wrap:wrap}
.head p{margin:0;max-width:440px;color:var(--mute);font-size:20px;line-height:1.5}
.photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
figure{margin:0;display:flex;flex-direction:column;gap:16px}
.photos img{width:100%;height:auto;aspect-ratio:421/540;object-fit:cover;border-radius:24px}
figcaption{color:var(--dim);font-size:16px;font-weight:500;letter-spacing:.01em}
.screens{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.screens figure{gap:18px}
.screens figcaption{color:var(--mute);font-weight:400;font-size:16px;line-height:1.5}
.screens figcaption strong{display:block;color:var(--ink);font-weight:600;font-size:20px;margin-bottom:6px}

.join{display:flex;flex-direction:column;align-items:center;text-align:center;gap:28px;padding-top:136px;padding-bottom:136px;border-top:1px solid var(--line)}
.join h2{font-size:clamp(40px,5.9vw,84px);line-height:.92}

.foot{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;flex-wrap:wrap;padding-top:40px;padding-bottom:56px;border-top:1px solid var(--line)}
.legal{max-width:560px;text-align:right;color:var(--dim);font-size:14px;line-height:1.5}
.legal p{margin:0 0 8px}
.legal a{color:var(--mute);text-decoration:none}.legal a:hover{color:var(--ink)}

/* tablet */
@media (max-width:1000px){
  .screens{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:48px}
}
/* phone */
@media (max-width:640px){
  .nav{padding-top:16px;padding-bottom:16px}
  .brand{font-size:18px;gap:10px} .icon{width:32px;height:32px}
  .btn-ghost{font-size:15px;padding:8px 16px}
  .hero{padding-top:40px;padding-bottom:32px;gap:18px}
  .eyebrow{font-size:13px}
  .br-wide{display:none}
  .signup .row{flex-direction:column;gap:10px}
  .signup input[type=email],.signup button{max-width:none;width:100%;height:56px;font-size:17px;border-radius:14px}
  .fine{font-size:13px}
  .showcase{gap:24px}
  .switcher{padding:4px;gap:2px}
  .switcher button{font-size:15px;padding:10px 18px}
  .rooms,.editor{gap:24px;padding-top:64px;padding-bottom:64px}
  .head p{font-size:17px}
  .photos{grid-template-columns:1fr}
  .photos img{aspect-ratio:350/438;border-radius:20px}
  .screens{gap:20px;row-gap:28px}
  .screens figcaption{font-size:14px} .screens figcaption strong{font-size:17px}
  .join{padding-top:72px;padding-bottom:72px;gap:18px}
  .icon.big{width:88px;height:88px}
  .foot{flex-direction:column;padding-top:32px;padding-bottom:40px}
  .legal{text-align:left;font-size:13px}
}

/* text pages: privacy, support, 404 */
.doc{max-width:760px;margin:0 auto;padding:48px var(--gutter) 120px}
.doc h1{font-size:clamp(40px,6vw,64px);margin-bottom:12px}
.doc .meta{color:var(--dim);margin:0 0 48px}
.doc h2{font-size:24px;letter-spacing:-.02em;margin:48px 0 12px}
.doc h3{font-size:18px;margin:28px 0 6px}
.doc p,.doc li{color:var(--soft);font-size:17px;line-height:1.6}
.doc ul{padding-left:20px}
.doc a{color:var(--ink)}
.doc .card{background:var(--field);border:1px solid var(--line);border-radius:16px;padding:20px 22px;margin:24px 0}
.btn-ghost .sm{display:none}
@media (max-width:640px){.btn-ghost .lg{display:none}.btn-ghost .sm{display:inline}}

/* success state */
.success{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;width:100%;max-width:560px;padding:32px 28px 28px;border-radius:28px;
  background:#1B1B1C;border:1px solid #2A2A2C;text-align:center;
  animation:pop .55s cubic-bezier(.2,1.4,.4,1) both}
.success .mark{width:190px;height:auto;display:block;overflow:visible}
.success .mark text{font:800 40px/1 -apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif;text-anchor:middle;dominant-baseline:central}
.success .mark .mid{transform-box:fill-box;transform-origin:center;animation:disc .5s cubic-bezier(.2,1.6,.4,1) .05s both}
.success .mark .tick{fill:none;stroke:#000;stroke-width:9;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:60;stroke-dashoffset:60;animation:draw .4s ease-out .4s forwards}
.success .mark .side{transform-box:fill-box;transform-origin:center;opacity:0;animation:slide-l .55s cubic-bezier(.2,1.4,.4,1) .3s forwards}
.success .mark .side.r{animation-name:slide-r;animation-delay:.38s}
.success h3{margin:4px 0 0;font-size:clamp(28px,3.2vw,40px);line-height:1.02;letter-spacing:-.035em;font-weight:700;color:var(--ink);text-wrap:balance}
.success p{margin:0;color:var(--soft);font-size:17px;line-height:1.45;max-width:400px}
.success .share{margin-top:8px;border:1.5px solid #3A3A3C;background:transparent;color:var(--ink);font:inherit;font-weight:600;font-size:16px;padding:12px 20px;border-radius:999px;cursor:pointer}
.success .share:hover{border-color:var(--ink)}
.confetti{position:fixed;inset:0;pointer-events:none;z-index:1000}
@keyframes pop{from{opacity:0;transform:translateY(12px) scale(.92)}to{opacity:1;transform:none}}
@keyframes disc{from{transform:scale(0)}to{transform:scale(1)}}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes slide-l{from{opacity:0;transform:translateX(40px) scale(.6)}to{opacity:1;transform:none}}
@keyframes slide-r{from{opacity:0;transform:translateX(-40px) scale(.6)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.success,.success .mark .mid,.success .mark .side{animation:none;opacity:1}.success .mark .tick{animation:none;stroke-dashoffset:0}}
@media (max-width:640px){.success{padding:26px 20px 22px;border-radius:22px}.success p{font-size:15px}.success .mark{width:160px}}
