/* nuj website. Brand: Ocean & Coral. Dark navy is the main look, light is the switch in the footer.
   Coral is a tiny accent only: the logo dot, one button, a badge. Never coral text. */
@font-face{font-family:"Nunito";font-weight:600;font-display:swap;src:url(assets/fonts/Nunito-SemiBold.ttf) format("truetype")}
@font-face{font-family:"Nunito";font-weight:800;font-display:swap;src:url(assets/fonts/Nunito-ExtraBold.ttf) format("truetype")}

*{box-sizing:border-box;margin:0}
:root,.night{
  --navy:#021F2F;--azure:#B7E3F4;--coral:#FD6C63;
  --bg:#021F2F;--text:#F5F8FA;--soft:#CFE6F1;--muted:#A7C2CF;
  --card:rgba(255,255,255,.07);--line:rgba(183,227,244,.2);--chip:#CDEBF7;
  --btn:#B7E3F4;--on-btn:#021F2F;--field:rgba(255,255,255,.07);
}
html[data-look="light"]{
  --bg:#F5F8FA;--text:#021F2F;--soft:#46606E;--muted:#46606E;
  --card:#FAFDFE;--line:#DDEBF2;--chip:#D6ECF6;
  --btn:#021F2F;--on-btn:#F4FAFD;--field:#FAFDFE;
}
/* .night keeps the dark colours inside it, even in the light look (hero, waitlist card, phones) */
html[data-look="light"] .night{--bg:#021F2F;--text:#F5F8FA;--soft:#CFE6F1;--muted:#A7C2CF;--card:rgba(255,255,255,.07);--line:rgba(183,227,244,.2);--chip:#CDEBF7;--btn:#B7E3F4;--on-btn:#021F2F;--field:rgba(255,255,255,.07)}

.night{color:var(--text)}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;color-scheme:dark;background:var(--bg)}
html[data-look="light"]{color-scheme:light}
body{background:var(--bg);color:var(--text);font:600 18px/1.5 ui-rounded,"SF Pro Rounded","Nunito",system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3{font-weight:800;letter-spacing:-.02em;line-height:1.06;text-wrap:balance}
a{color:inherit;text-underline-offset:3px}
ul{list-style:none;padding:0}
img,svg{display:block}
:focus-visible{outline:3px solid var(--azure);outline-offset:3px;border-radius:8px}
html[data-look="light"] :focus-visible{outline-color:#021F2F}
html[data-look="light"] .night :focus-visible{outline-color:var(--azure)}
.hide{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px}

.logo{height:36px;width:auto}
.logo path{fill:var(--azure)}
html[data-look="light"] .logo path{fill:#021F2F}
html[data-look="light"] .night .logo path{fill:var(--azure)}
.eyebrow{font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.card{background:var(--card);border:1px solid var(--line);border-radius:26px}
html[data-look="light"] .card{box-shadow:0 4px 14px rgba(2,31,47,.06)}

.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:16px;padding:16px 22px;font:800 17px/1 inherit;font-family:inherit;cursor:pointer;white-space:nowrap;text-decoration:none;background:var(--btn);color:var(--on-btn);transition:transform .12s ease}
.btn:active{transform:scale(.97)}
.btn.coral{background:var(--coral);color:var(--navy)}
.btn.ghost{background:transparent;color:var(--text);border:1px solid var(--line);padding:11px 16px;font-size:15px;border-radius:999px}

.form{display:flex;gap:10px;max-width:480px}
.form input[type=email]{flex:1;min-width:0;background:var(--field);border:1px solid var(--line);border-radius:16px;padding:15px 16px;color:var(--text);font:600 17px/1.2 inherit;font-family:inherit}
.form input::placeholder{color:var(--muted);opacity:1}
.note{font-size:14px;color:var(--muted);margin-top:10px}
.done{font-size:21px;font-weight:800;color:var(--text);display:flex;gap:10px;align-items:center}
.done::before{content:"";width:12px;height:12px;border-radius:50%;background:var(--coral);flex:none}

.ic{width:56px;height:56px;border-radius:50%;background:var(--chip);display:grid;place-items:center;flex:none;position:relative}
.ic svg{width:25px;height:25px;stroke:#021F2F;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ic.dot::after{content:"";position:absolute;top:-1px;right:-1px;width:14px;height:14px;border-radius:50%;background:var(--coral);border:2px solid var(--bg)}

/* ---------- top + hero ---------- */
.hero{position:relative;background:radial-gradient(900px 620px at 78% 30%,rgba(12,59,87,.9) 0%,rgba(12,59,87,0) 70%)}
html[data-look="light"] .hero{background:linear-gradient(#021F2F 0%,#06293D 35%,#0C3B57 100%);margin:10px;border-radius:36px;overflow:hidden}
nav{display:flex;align-items:center;justify-content:space-between;padding:22px 0}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:24px;align-items:start;padding:56px 0 0}
.hero h1{font-size:clamp(46px,6.6vw,78px);margin:16px 0 18px}
.hero .sub{font-size:23px;color:var(--soft);max-width:460px;margin-bottom:28px;line-height:1.35}
/* nuj world: the wave runs along the bottom of the hero. The phone floats in front, on the right.
   The picture's empty navy top tucks up behind the words, so the wave starts just under them. */
.hero{overflow:hidden}
.hero .wrap{position:relative;z-index:2}
.wave{transform:translate3d(calc(var(--mx,0) * -14px),calc(var(--my,0) * -6px + var(--scroll,0) * .05px),0) scale(1.04);will-change:transform;display:block;width:100%;max-width:1440px;height:auto;margin:max(-18vw,-259px) auto 0;position:relative;z-index:0;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 16%,#000 80%,transparent 92%);mask-image:linear-gradient(180deg,transparent 0,#000 16%,#000 80%,transparent 92%)}
@media(min-width:1441px){.wave{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 16%,#000 80%,transparent 92%),linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 16%,#000 80%,transparent 92%),linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%);-webkit-mask-composite:source-in;mask-composite:intersect}}
.world{position:relative;align-self:start;font-size:clamp(8px,.78vw,11px)}
.world .ph{position:absolute;left:calc(50% - 10em);top:7em;font-size:1em;--tilt:3deg;--drift:-.1px;transform:translate3d(calc(var(--mx,0) * 10px),calc(var(--my,0) * 8px + var(--scroll,0) * var(--drift)),0) perspective(1100px) rotateX(calc(var(--my,0) * -7deg)) rotateY(calc(var(--mx,0) * 9deg)) rotate(var(--tilt));will-change:transform}

/* ---------- sections ---------- */
section{padding:72px 0}
h2{font-size:clamp(32px,4vw,44px);margin-bottom:10px}
.lead{font-size:20px;color:var(--soft);margin-bottom:32px}
.three{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.three .card{padding:26px}
.three h3{font-size:26px;margin:22px 0 8px}
.three p{color:var(--soft)}
.who{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.who li{padding:16px 0;border-bottom:1px solid var(--line);font-size:21px;display:flex;gap:14px;align-items:baseline}
.who li::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--azure);flex:none}
html[data-look="light"] .who li::before{background:#7FBFDC}
.peek{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;justify-items:center}
.peek figure{display:grid;gap:14px;justify-items:center;text-align:center;width:100%}
.peek figcaption{font-weight:800;font-size:18px}
.peek figcaption span{display:block;font-weight:600;font-size:15px;line-height:1.35;color:var(--muted);margin-top:2px}
/* a real app screenshot in a simple phone frame */
.shot{width:100%;border-radius:15% / 6.9%;border:5px solid #0F3850;background:#021F2F;overflow:hidden;box-shadow:0 24px 48px rgba(0,0,0,.4)}
.shot img{width:100%;height:auto}
html[data-look="light"] .shot{box-shadow:0 18px 36px rgba(2,31,47,.22)}
.join{padding:44px;display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;background:linear-gradient(180deg,#0A2D40,#0C3B57);color:var(--text);position:relative}
.join h2{margin:0}
footer{padding:36px 0 48px;display:flex;justify-content:space-between;align-items:center;gap:14px 24px;flex-wrap:wrap;color:var(--muted);font-size:15px}
footer .line{color:var(--text);font-weight:800;font-size:19px;display:flex;align-items:center;gap:10px}
footer .line::before{content:"";width:12px;height:12px;border-radius:50%;background:var(--coral)}
footer .links{display:flex;gap:18px;align-items:center}
.look{background:none;border:1px solid var(--line);color:var(--muted);border-radius:999px;padding:8px 14px;font:600 14px/1 inherit;font-family:inherit;cursor:pointer}

/* ---------- phone with an app screen. Sized in em: change font-size to scale ---------- */
.ph{font-size:10px;width:27em;height:56em;border-radius:4.4em;border:.7em solid #0F3850;background:linear-gradient(#021F2F 0%,#06293D 35%,#0C3B57 100%);box-shadow:0 3em 6em rgba(0,0,0,.45);overflow:hidden;flex:none;position:relative;text-align:left;color:#F5F8FA;line-height:1.5}
.ph::before{content:"";position:absolute;top:1em;left:50%;width:8em;height:2.2em;margin-left:-4em;border-radius:2em;background:#01141F}
.ph .sc{padding:5.2em 1.6em 1.6em;display:flex;flex-direction:column;gap:1.3em;height:100%}
.ph .lab{font-size:.85em;font-weight:800;letter-spacing:.08em;color:#A7C2CF}
.ph .hi{font-size:3.1em;font-weight:800;letter-spacing:-.03em;line-height:1.08;margin-top:.1em}
.ph .ask{font-size:1.35em;color:#CFE6F1;line-height:1.35;margin-top:.3em}
.ph .row3{display:flex;gap:.7em}
.ph .ch{flex:1;min-height:11.6em;border-radius:1.8em;padding:1.1em .4em;display:flex;flex-direction:column;align-items:center;justify-content:space-between;background:rgba(255,255,255,.07);border:1px solid rgba(183,227,244,.2);text-align:center}
.ph .ic{width:3.9em;height:3.9em;background:#CDEBF7}
.ph .ic svg{width:1.75em;height:1.75em}
.ph .ic.dot::after{width:1em;height:1em;border-color:#0A3049}
.ph .ch b{display:block;font-size:1.25em;font-weight:800;line-height:1.15}
.ph .ch small{display:block;font-size:.88em;color:#CFE6F1;margin-top:.2em}
.ph .box{background:#0A2D40;border:1px solid #163F55;border-radius:1.6em;padding:1.2em;display:grid;gap:.6em}
.ph .box p{font-size:1.2em;line-height:1.4}

/* ---------- privacy page ---------- */
.doc{max-width:720px;margin:0 auto;padding:0 20px}
.doc h1{font-size:clamp(36px,6vw,52px);margin:28px 0 6px}
.doc .lead{margin-bottom:26px}
.doc section{padding:20px 22px;margin-bottom:14px;background:var(--card);border:1px solid var(--line);border-radius:22px}
html[data-look="light"] .doc section{box-shadow:0 4px 14px rgba(2,31,47,.06)}
.doc h2{font-size:21px;margin:0 0 8px;letter-spacing:-.01em}
.doc ul{padding-left:0}
.doc li{padding:5px 0 5px 20px;position:relative;color:var(--soft);overflow-wrap:anywhere}
.doc li::before{content:"";position:absolute;left:2px;top:.82em;width:7px;height:7px;border-radius:50%;background:var(--azure)}
html[data-look="light"] .doc li::before{background:#7FBFDC}
.back{display:inline-flex;align-items:center;gap:8px;font-weight:800;text-decoration:none;font-size:15px;color:var(--muted)}

/* ---------- phones ---------- */
@media(max-width:860px){
  .hero-grid{grid-template-columns:1fr;padding:8px 0 0;gap:8px}
  .hero .sub{font-size:20px}
  .world{height:66em;margin:0 -24px;font-size:min(10px,calc(100vw / 48.75))}
  .world .ph{left:calc(50% - 13.5em);top:1em;font-size:1em;--tilt:0deg;--drift:.05px}
  .wave{transform:scale(1.04);position:absolute;max-width:none;margin:0;font-size:min(10px,calc(100vw / 48.75));width:110em;left:calc(50% - 82.4em);bottom:-3em;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 16%,#000 84%,transparent 95%),linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 16%,#000 84%,transparent 95%),linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%);-webkit-mask-composite:source-in;mask-composite:intersect}
  section{padding:44px 0}
  .three{grid-template-columns:1fr;gap:12px}
  .three .card{display:grid;grid-template-columns:auto 1fr;column-gap:16px;padding:18px;align-items:center}
  .three h3{margin:0 0 2px;font-size:22px}
  .three .ic{grid-row:span 2}
  .who{grid-template-columns:1fr;gap:8px}
  .who li{font-size:19px}
  .peek{display:flex;overflow-x:auto;gap:16px;margin:0 -24px;padding:0 24px 36px;justify-items:start;scroll-snap-type:x mandatory;scrollbar-width:none}
  .peek::-webkit-scrollbar{display:none}
  .peek figure{scroll-snap-align:center;flex:none;width:220px}
  .join{grid-template-columns:1fr;padding:30px 24px 26px;gap:20px}
  footer{flex-direction:column;align-items:flex-start}
}
@media(max-width:520px){
  .form{flex-direction:column}
  .logo{height:32px}
}

/* =====================================================================
   Depth and play. Everything here answers to the visitor (pointer, scroll, tap).
   Nothing loops on its own. All of it switches off for reduced motion.
   ===================================================================== */

/* a soft light that follows the pointer across the hero and the wave */
.hero::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:radial-gradient(560px circle at var(--gx,72%) var(--gy,38%),rgba(183,227,244,.13),transparent 62%);mix-blend-mode:screen}
/* the phone: a rim of light, a glass glare that shifts as it tilts, and a shadow on the wave */
.world .ph{box-shadow:0 0 0 1px rgba(183,227,244,.18),0 4em 7em rgba(0,0,0,.55),0 0 9em rgba(183,227,244,.10)}
.world .ph::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(115deg,rgba(255,255,255,.13) 0%,rgba(255,255,255,0) 32%,rgba(255,255,255,0) 68%,rgba(183,227,244,.07) 100%);transform:translateX(calc(var(--mx,0) * 18%))}

/* glass cards: lit top edge, deep shadow, and they lean toward the pointer */
.card{box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 22px 44px rgba(0,0,0,.28)}
html[data-look="light"] .card{box-shadow:inset 0 1px 0 #fff,0 14px 34px rgba(2,31,47,.09)}
html[data-look="light"] .night.card{box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 22px 44px rgba(2,31,47,.3)}
[data-tilt]{position:relative;transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transform-style:preserve-3d;transition:transform .18s ease-out}
[data-tilt]::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .25s;background:radial-gradient(260px circle at var(--sx,50%) var(--sy,0%),rgba(183,227,244,.16),transparent 70%)}
[data-tilt]:hover::after{opacity:1}
[data-tilt] .ic{transform:translateZ(34px)}
[data-tilt] h3{transform:translateZ(18px)}
html[data-look="light"] [data-tilt]::after{background:radial-gradient(260px circle at var(--sx,50%) var(--sy,0%),rgba(127,191,220,.22),transparent 70%)}

/* faint brand shapes drifting behind the sections, like the app's backdrop */
main{position:relative}
main>section{position:relative;z-index:1}
.backdrop{position:absolute;top:0;bottom:0;left:50%;width:100vw;margin-left:-50vw;overflow:hidden;z-index:0;pointer-events:none}
.bd{position:absolute;fill:var(--shape);stroke:var(--shape);will-change:transform}
.bd1{width:min(46vw,620px);right:-8vw;top:240px}
.bd2{width:min(110vw,1250px);left:-18vw;top:40%}
.bd3{width:min(34vw,460px);left:-9vw;bottom:140px}
:root{--shape:#06293B}
html[data-look="light"]{--shape:#EAF2F7}

/* ---------- the feature grid: big tiles, each with a small live scene from the app ---------- */
.bento{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.feat{padding:12px;display:flex;flex-direction:column}
.feat.w3{grid-column:span 3}
.feat.w2{grid-column:span 2}
.feat .txt{padding:18px 12px 10px}
.feat h3{font-size:25px;margin:8px 0 6px}
.feat .txt p:last-child{color:var(--soft);font-size:16.5px;line-height:1.4}
/* the scene is always dark navy, like the app, in both looks */
.art{height:230px;border-radius:18px;background:radial-gradient(120% 90% at 80% 0%,#0F4666 0%,rgba(15,70,102,0) 60%),linear-gradient(160deg,#04263A,#0A3550);position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:14px;padding:18px;color:#F5F8FA;font-size:14px;line-height:1.35;font-weight:600}
.feat.w3 .art{height:260px}
.art b{font-weight:800}
.art small{display:block;font-size:12.5px;color:#CFE6F1}
.ui{background:rgba(255,255,255,.08);border:1px solid rgba(183,227,244,.22);border-radius:16px;padding:12px 14px;box-shadow:0 14px 28px rgba(0,0,0,.28);backdrop-filter:blur(6px)}
/* parts of a scene arrive one after another, once, when the tile comes into view */
.js .feat [data-s]{opacity:0;translate:0 12px;transition:opacity .5s ease,translate .5s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--s) * .28s + .35s)}
.js .feat.in [data-s]{opacity:1;translate:0 0}

.tick{display:flex;gap:8px;align-items:center;color:#CFE6F1}
.tick::before{content:"";width:14px;height:14px;border-radius:50%;background:#74D4BF;flex:none}
.f-dump .note{max-width:190px;rotate:-4deg;color:#CFE6F1;font-size:15px}
.f-dump .arrow{width:30px;height:30px;flex:none;fill:none;stroke:#B7E3F4;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.list{display:grid;gap:7px;min-width:190px}

.f-coach .art{flex-direction:column;align-items:stretch;justify-content:center;gap:8px;padding:18px 22px}
.bub{align-self:flex-start;max-width:78%;padding:9px 13px;border-radius:16px 16px 16px 5px;background:rgba(255,255,255,.1);border:1px solid rgba(183,227,244,.22)}
.bub.me{align-self:flex-end;border-radius:16px 16px 5px 16px;background:#B7E3F4;border-color:#B7E3F4;color:#021F2F;font-weight:800}

.f-place .art{background:linear-gradient(90deg,transparent 47%,rgba(183,227,244,.09) 47%,rgba(183,227,244,.09) 53%,transparent 53%),linear-gradient(0deg,transparent 58%,rgba(183,227,244,.09) 58%,rgba(183,227,244,.09) 66%,transparent 66%),linear-gradient(115deg,transparent 22%,rgba(183,227,244,.06) 22%,rgba(183,227,244,.06) 27%,transparent 27%),linear-gradient(160deg,#04263A,#0A3550);align-items:flex-start}
.pin{position:absolute;left:50%;top:62%;width:20px;height:20px;margin:-10px;border-radius:50%;background:#FD6C63;border:3px solid #F5F8FA;box-shadow:0 6px 12px rgba(0,0,0,.4)}
.pin i{position:absolute;inset:-3px;border-radius:50%;border:2px solid #B7E3F4;opacity:0}
.js .feat.in .pin i{animation:ping 1.5s ease-out .5s 2}
@keyframes ping{0%{transform:scale(1);opacity:.9}100%{transform:scale(4.2);opacity:0}}
.notif{display:flex;gap:10px;align-items:center;width:100%;background:rgba(10,45,64,.9)}
.notif .app{width:34px;height:34px;border-radius:9px;background:#021F2F;display:grid;place-items:center;flex:none}
.notif .app svg{width:22px}

.week{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;width:100%;align-self:stretch}
.week div{display:flex;flex-direction:column;gap:6px}
.week em{font-style:normal;font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#A7C2CF;text-align:center}
.week i{display:block;font-style:normal;border-radius:9px;background:rgba(255,255,255,.06);min-height:34px;flex:1}
.week .ev{flex:none;font-size:11.5px;font-weight:800;padding:8px 6px;line-height:1.2;background:rgba(255,255,255,.14);color:#CFE6F1}
.week .ev.nuj{background:#B7E3F4;color:#021F2F;box-shadow:0 10px 20px rgba(0,0,0,.35)}

.f-docs .sheet{width:210px;display:grid;gap:10px;position:relative;z-index:1}
.f-docs .sheet.back{position:absolute;height:128px;rotate:6deg;translate:14px -4px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid rgba(183,227,244,.14);z-index:0}
.f-docs .row{display:flex;gap:10px;align-items:center}
.f-docs .ic{width:38px;height:38px}.f-docs .ic svg{width:18px;height:18px}
.due,.set{justify-self:start;display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:800;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.1)}
.due::before{content:"";width:8px;height:8px;border-radius:50%;background:#FD6C63}
.set{background:#74D4BF;color:#021F2F}
.set::before{content:"";width:9px;height:5px;border-left:2.2px solid #021F2F;border-bottom:2.2px solid #021F2F;rotate:-45deg;translate:0 -1px}

.ring{width:118px;height:118px;flex:none;rotate:-90deg}
.ring circle{fill:none;stroke-width:11}
.ring .track{stroke:rgba(183,227,244,.16)}
.ring .arc{stroke:#B7E3F4;stroke-linecap:round;stroke-dasharray:301.6;stroke-dashoffset:301.6;transition:stroke-dashoffset 1.3s cubic-bezier(.3,.6,.2,1) .4s}
.feat.in .ring .arc,html:not(.js) .ring .arc{stroke-dashoffset:66}
.ring .dot{fill:#FD6C63;stroke:#062B40;stroke-width:3;transform-origin:60px 60px;transform:rotate(281deg)}
.f-cycle .ui{max-width:150px}

.f-fit .art{flex-direction:column;gap:14px}
.days{display:flex;gap:7px}
.days span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800;background:rgba(255,255,255,.08);color:#A7C2CF}
.days .on,.js .feat.in .days .on{background:#B7E3F4;color:#021F2F}
.js .feat .days .on{opacity:1;translate:0 0;background:rgba(255,255,255,.08);color:#A7C2CF;transition:background .4s,color .4s;transition-delay:calc(var(--s) * .3s + .5s)}
.bar{width:230px;max-width:100%;height:10px;border-radius:99px;background:rgba(255,255,255,.1);overflow:hidden}
.bar i{display:block;height:100%;width:100%;border-radius:99px;background:#74D4BF;transform-origin:left;transition:transform 1.2s cubic-bezier(.3,.6,.2,1) .6s}
.js .feat:not(.in) .bar i{transform:scaleX(0)}

.deck{position:relative;width:220px;height:130px}
.tip{position:absolute;inset:0;background:#0C3B57;backdrop-filter:none;transition:transform .5s cubic-bezier(.2,.7,.2,1),opacity .4s}
.tip em{display:block;font-style:normal;font-size:11.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#A7C2CF;margin-bottom:5px}
.tip:nth-child(1){transform:rotate(7deg) translate(10px,6px)}
.tip:nth-child(2){transform:rotate(-5deg) translate(-6px,3px)}
.f-tips:hover .tip.top{transform:translate(118%,-12px) rotate(16deg);opacity:0}
.f-tips:hover .tip:nth-child(2){transform:none}

.fan{display:flex;align-items:flex-end;height:150px}
.fan i{font-style:normal;width:86px;height:122px;margin:0 -12px;border-radius:14px;background:linear-gradient(160deg,#12445F,#0A3049);border:1px solid rgba(183,227,244,.25);display:grid;place-items:center;font-size:30px;font-weight:800;color:rgba(183,227,244,.4);box-shadow:0 14px 26px rgba(0,0,0,.35);transform-origin:50% 120%;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.fan i:nth-child(1){transform:rotate(-18deg)}.fan i:nth-child(2){transform:rotate(-9deg)}.fan i:nth-child(4){transform:rotate(9deg)}.fan i:nth-child(5){transform:rotate(18deg)}
.f-legends:hover .fan i:nth-child(1){transform:rotate(-26deg)}.f-legends:hover .fan i:nth-child(2){transform:rotate(-13deg)}.f-legends:hover .fan i:nth-child(4){transform:rotate(13deg)}.f-legends:hover .fan i:nth-child(5){transform:rotate(26deg)}
.fan .won{background:linear-gradient(160deg,#CDEBF7,#8CCBE6);border-color:#F5F8FA;z-index:1;align-content:center;gap:7px;height:136px;transform:translateY(-6px)}
.f-legends:hover .fan .won{transform:translateY(-16px) scale(1.05)}
.fan .won svg{width:34px;height:34px;fill:#021F2F;stroke:none}
.fan .won b{display:block;width:46px;height:6px;border-radius:9px;background:rgba(2,31,47,.45)}
.fan .won b+b{width:30px;opacity:.6}

.f-fun .art{gap:16px}
.score{display:grid;gap:10px;justify-items:center}
.pts{display:inline-flex;align-items:center;gap:8px;background:#FD6C63;color:#021F2F;border-radius:999px;padding:12px 20px;font-size:30px;line-height:1;box-shadow:0 14px 26px rgba(0,0,0,.35)}
.pts svg{width:24px;height:24px;fill:none;stroke:#021F2F;stroke-width:2.4;stroke-linejoin:round}
.x2{font-size:12.5px;font-weight:800;padding:7px 11px;border-radius:999px;background:#B7E3F4;color:#021F2F;rotate:-4deg}
.rw{display:flex;justify-content:space-between;gap:18px;color:#CFE6F1}
.rw b{color:#F5F8FA}
.meme{max-width:150px;rotate:4deg;font-weight:800;font-size:13.5px}

/* app screens fan out in 3D. The middle one steps forward. Hover brings one to you. */
@media(min-width:861px){
  .peek{align-items:center}
  .peek figure{position:relative}
  .shot{transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s}
  .peek figure:nth-child(1) .shot{transform:perspective(1000px) rotateY(26deg) scale(.88)}
  .peek figure:nth-child(2) .shot{transform:perspective(1000px) rotateY(13deg) scale(.95)}
  .peek figure:nth-child(3) .shot{transform:perspective(1000px) scale(1.06)}
  .peek figure:nth-child(4) .shot{transform:perspective(1000px) rotateY(-13deg) scale(.95)}
  .peek figure:nth-child(5) .shot{transform:perspective(1000px) rotateY(-26deg) scale(.88)}
  .peek figure:hover{z-index:2}
  .peek figure:hover .shot{transform:perspective(1000px) rotateY(0deg) scale(1.12) translateY(-8px);box-shadow:0 40px 70px rgba(0,0,0,.55),0 0 0 1px rgba(183,227,244,.3)}
}

/* the coral ball from nuj world. It rolls in, then rests on the card. Tap it for a nudge. */
.ball{position:absolute;right:56px;top:-22px;width:44px;height:44px;border-radius:50%;cursor:pointer;background:radial-gradient(circle at 35% 30%,#FF9A8E 0%,#FD6C63 45%,#C84B45 100%);box-shadow:0 10px 18px rgba(0,0,0,.35);z-index:2}
.js .join:not(.in) .ball{opacity:0}
.js .join.in .ball{animation:ball-in 1.1s cubic-bezier(.3,.6,.3,1) .35s both}
.js .join .ball.hop{animation:ball-hop .6s cubic-bezier(.3,.6,.4,1)}
@keyframes ball-in{0%{opacity:0;transform:translate(170px,-60px)}15%{opacity:1}55%{transform:translate(30px,0)}70%{transform:translate(12px,-14px)}85%{transform:translate(3px,0)}93%{transform:translate(0,-4px)}100%{opacity:1;transform:none}}
@keyframes ball-hop{0%{transform:none}35%{transform:translateY(-34px) scale(.96,1.04)}70%{transform:translateY(0) scale(1.08,.9)}85%{transform:translateY(-6px)}100%{transform:none}}

/* things rise into place as you reach them */
.js [data-reveal]{opacity:0;translate:0 26px;transition:opacity .6s ease,translate .7s cubic-bezier(.2,.7,.2,1);transition-delay:calc(var(--i,0) * 90ms)}
.js [data-reveal].in{opacity:1;translate:0 0}
.js [data-tilt][data-reveal]{transition:opacity .6s ease,translate .7s cubic-bezier(.2,.7,.2,1),transform .18s ease-out;transition-delay:calc(var(--i,0) * 90ms),calc(var(--i,0) * 90ms),0s}

/* ---------- the working phone ---------- */
.ph button{font:inherit;color:inherit;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ph .sc:not(.on){display:none}
.js .ph.live .sc.on{animation:sc-in .35s ease both}
@keyframes sc-in{from{opacity:0;transform:translateY(1.2em)}to{opacity:1;transform:none}}
.ph button.ch{font-size:1em;transition:transform .12s,background .2s}
.ph button.ch:hover{background:rgba(183,227,244,.14)}
.ph button:active{transform:scale(.95)}
.ph .hint{font-size:1.05em;color:#A7C2CF;text-align:center}
html:not(.js) .ph .hint{display:none}
.ph .h1{font-size:2.3em;font-weight:800;letter-spacing:-.02em;line-height:1.15}
.ph .typed{min-height:2.8em}
.ph .typed.typing::after{content:"";display:inline-block;width:.12em;height:1em;background:#B7E3F4;margin-left:.1em;vertical-align:-.12em}
.ph .bt{border-radius:1.15em;padding:1.05em;text-align:center;font-weight:800;font-size:1.15em;width:100%}
.ph .bt.a{background:#B7E3F4;color:#021F2F}
.ph .bt.c{background:#FD6C63;color:#021F2F}
.ph .bt.ok{background:#74D4BF;color:#021F2F}
.ph .sorted{display:none}
.ph .sorted.on{display:grid}
.ph .tick{display:flex;gap:.6em;align-items:center;font-size:1.15em;color:#CFE6F1}
.ph .tick::before{content:"";width:1.3em;height:1.3em;border-radius:50%;background:#74D4BF;flex:none}
.js .ph .sorted.on .tick{animation:sc-in .35s ease both}
.ph .sorted .tick:nth-child(3){animation-delay:.12s}.ph .sorted .tick:nth-child(4){animation-delay:.24s}.ph .sorted .tick:nth-child(5){animation-delay:.36s}
.ph .gl{background:rgba(255,255,255,.07);border:1px solid rgba(183,227,244,.2);border-radius:1.6em;padding:1.05em 1.1em;display:flex;align-items:center;gap:.8em;transition:opacity .3s}
.ph .gl b{display:block;font-size:1.32em;font-weight:800;line-height:1.25}
.ph .gl small{display:block;font-size:1em;color:#CFE6F1}
.ph .pill{background:#FD6C63;color:#021F2F;font-weight:800;font-size:1em;border-radius:99em;padding:.5em 1em;margin-left:auto;flex:none}
.ph .gl.did{opacity:.6}
.ph .gl.did b{text-decoration:line-through}
.ph .gl.did .pill{background:#74D4BF}
.ph .box .big{font-size:1.7em;font-weight:800;line-height:1.2}
.ph .back{margin-top:auto;align-self:center;background:none;font-weight:800;font-size:1.15em;color:#F5F8FA;padding:.6em 1.2em}

@media(max-width:1040px) and (min-width:861px){.feat.w2,.feat.w3{grid-column:span 3}.f-dump .note{display:none}.f-fun .meme{display:none}}
@media(max-width:860px){
  /* features become a row you swipe through, so the page stays short */
  .bento{display:flex;overflow-x:auto;gap:12px;margin:0 -24px;padding:4px 24px 30px;scroll-snap-type:x mandatory;scrollbar-width:none}
  .bento::-webkit-scrollbar{display:none}
  .feat,.feat.w2,.feat.w3{flex:none;width:min(82vw,340px);scroll-snap-align:center}
  .art,.feat.w3 .art{height:230px}
  .f-dump .note,.f-dump .arrow,.f-fun .meme{display:none}
  .feat h3{font-size:23px}
  .f-fun .art{flex-direction:column;gap:12px}
  .f-fun .score{display:flex;align-items:center;gap:10px}
  .f-fun .pts{font-size:24px;padding:10px 16px}
  .f-fun .list{width:100%}
  .f-cycle .ring{width:96px;height:96px}
  .f-cycle .ui{max-width:132px}
  .fan{scale:.78}
  .bd1{top:120px}
  .ball{right:32px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .btn,[data-tilt],.shot{transition:none}
  .wave{transform:scale(1.04)}
  .world .ph{transform:rotate(var(--tilt))}
  .js [data-reveal]{opacity:1;translate:none;transition:none}
  .js .join:not(.in) .ball{opacity:1}
  .js .feat [data-s]{opacity:1;translate:none;transition:none}
  .js .feat:not(.in) .bar i{transform:none}
  .ring .arc{stroke-dashoffset:66;transition:none}
  .js .feat .days .on{background:#B7E3F4;color:#021F2F;transition:none}
  .tip,.fan i{transition:none}
  .js .feat.in .pin i,.js .join.in .ball,.js .join .ball.hop,.js .ph.live .sc.on,.js .ph .sorted.on .tick{animation:none}
}
