@font-face{font-family:"Open Runde";src:url(assets/fonts/OpenRunde-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Open Runde";src:url(assets/fonts/OpenRunde-500.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Open Runde";src:url(assets/fonts/OpenRunde-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Open Runde";src:url(assets/fonts/OpenRunde-700.woff2) format("woff2");font-weight:700;font-display:swap}

:root{
  --ink:#141416;
  --navy:#10224F;
  --navy-soft:#2B3F78;
  --blue-600:#2B5FE6;
  --blue-500:#3EA6F2;
  --blue-200:#A6DBFF;
  --blue-50:#E0F1FD;
  --night:#121214;
  --night-line:#2c2c32;
  --night-mute:#b4b4bc;
  --gutter:max(24px,5vw);
  --font:"Open Runde",-apple-system,system-ui,sans-serif;
  /* Hero artwork is drawn on a 1440 wide stage; --u is one px of that stage. */
  --u:calc(100vw / 1440);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;font-family:var(--font);color:var(--navy);background:var(--night);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
:focus-visible{outline:3px solid currentColor;outline-offset:4px}
.wrap{width:100%;max-width:1240px;margin:0 auto;padding-inline:var(--gutter)}
.logo{display:inline-flex;align-items:center;gap:12px;font-weight:700;font-size:26px;letter-spacing:-.02em}

/* Buttons: pill, ink on light, white on dark */
.btn{display:inline-flex;align-items:center;justify-content:center;height:58px;padding:0 40px;border-radius:29px;font:600 19px var(--font);letter-spacing:-.008em;transition:transform .2s ease,box-shadow .2s ease}
.btn:hover{transform:translateY(-1px)}
.btn--ink{background:var(--ink);color:#fff}
.btn--light{background:#fff;color:var(--ink);height:64px;padding:0 44px;font-size:20px;border-radius:32px}

/* Phone frame. Set --w on the phone; bezel, padding and corners are proportions of it. */
.phone{--w:300px;position:relative;width:var(--w);aspect-ratio:408/862;background:#0d0d0f;border-radius:calc(var(--w) * .142);padding:calc(var(--w) * .022);box-shadow:inset 0 0 0 calc(var(--w) * .005) #3a3a3f}
.phone img{width:100%;height:100%;object-fit:cover;border-radius:calc(var(--w) * .12);background:#fff}

/* Hero */
.hero{position:relative;height:100svh;min-height:680px;overflow:hidden;color:var(--navy);
  background:linear-gradient(0deg,#2B5FE6 0%,#2B5FE6 44%,#3EA6F2 62%,#A6DBFF 76%,#E0F1FD 88%,#fff 98%)}
.nav{position:absolute;inset:0 0 auto 0;z-index:30;padding:36px var(--gutter)}
.hero__copy{position:absolute;left:50%;top:clamp(120px,18vh,200px);transform:translateX(-50%);width:min(980px,calc(100% - 2 * var(--gutter)));z-index:25;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}
.hero__copy h1{margin:0;font-weight:700;font-size:clamp(40px,5.4vw,78px);line-height:1;letter-spacing:-.045em;text-wrap:balance}
.hero__copy p{margin:0;font-size:clamp(18px,1.7vw,23px);font-weight:500;line-height:1.35;color:var(--navy-soft);text-wrap:balance}
.hero__dots{position:absolute;bottom:-200px;width:min(64vh,44vw);aspect-ratio:1;border-radius:50%;background-size:17px 17px;-webkit-mask-image:radial-gradient(circle,#000 40%,transparent 71%);mask-image:radial-gradient(circle,#000 40%,transparent 71%)}
.hero__dots--l{left:max(-120px,-8vw);background-image:radial-gradient(circle,#fff 2.6px,transparent 3.2px)}
.hero__dots--r{right:max(-120px,-8vw);background-image:radial-gradient(circle,var(--blue-50) 2.6px,transparent 3.2px)}

/* Fan: five screens, centre one in front. Positions are fixed, not computed. */
.fan{position:absolute;inset:0;pointer-events:none}
.fan__card{--w:calc(408 * var(--u));position:absolute;left:50%;bottom:calc(-340 * var(--u));margin-left:calc(-204 * var(--u));transform-origin:50% 130%;filter:drop-shadow(0 20px 30px rgba(16,34,79,.3))}
.fan__card--m2{z-index:1;transform:rotate(-24deg) scale(.74)}
.fan__card--m1{z-index:2;transform:rotate(-12deg) scale(.78)}
.fan__card--p0{z-index:4;transform:scale(.84)}
.fan__card--p1{z-index:3;transform:rotate(12deg) scale(.78)}
.fan__card--p2{z-index:2;transform:rotate(24deg) scale(.74)}

/* Features */
.features{background:var(--night);color:#fff;padding-block:clamp(72px,10vw,130px)}
.eyebrow{margin:0 0 20px;font-size:14px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#B7C4FF}
.features h2{margin:0;font-weight:700;font-size:clamp(40px,5.6vw,80px);line-height:1;letter-spacing:-.04em;max-width:1000px;text-wrap:balance}
.showcase{margin-top:clamp(48px,6vw,88px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(24px,5vw,72px);align-items:start}
.modules{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.module{all:unset;box-sizing:border-box;width:100%;display:flex;gap:16px;align-items:flex-start;padding:16px 8px 16px 0;border-top:1px solid var(--night-line);cursor:pointer;color:#8d8d96;transition:color .25s ease}
.modules li:last-child .module{border-bottom:1px solid var(--night-line)}
.module i{flex:none;width:14px;height:14px;margin-top:9px;border-radius:50%;background:var(--c);opacity:.55;transition:opacity .25s ease,transform .25s ease}
.module b{display:block;font-size:clamp(24px,2.4vw,32px);font-weight:600;letter-spacing:-.025em;line-height:1.2}
.module small{display:block;max-height:0;overflow:hidden;opacity:0;font-size:16px;line-height:1.5;color:var(--night-mute);transition:max-height .35s ease,opacity .3s ease,margin .3s ease}
.module:hover{color:#d8d8de}
.module:focus-visible{outline:3px solid #fff;outline-offset:-3px;border-radius:6px}
.module[aria-selected="true"]{color:#fff}
.module[aria-selected="true"] i{opacity:1;transform:scale(1.35)}
.module[aria-selected="true"] small{max-height:6em;opacity:1;margin-top:6px}

.stage{position:sticky;top:max(24px,calc(50vh - 380px));min-height:min(760px,calc(100svh - 48px));display:grid;place-items:center}
.stage__phone{--w:min(340px,70vw);box-shadow:inset 0 0 0 calc(var(--w) * .005) #3a3a3f,0 40px 80px rgba(0,0,0,.5)}
.stage__clip{position:absolute;inset:calc(var(--w) * .022);border-radius:calc(var(--w) * .12);overflow:hidden;background:#fff}
.stage__phone .stage__clip img{position:absolute;inset:0;width:100%;height:100%;border-radius:0;opacity:0}
/* Closing band */
.close{background:var(--night);color:#fff;padding-block:clamp(56px,8vw,100px) clamp(48px,6vw,80px)}
.close__in{display:flex;flex-wrap:wrap;gap:32px 40px;align-items:center;justify-content:space-between;border-top:1px solid var(--night-line);padding-top:clamp(40px,6vw,70px)}
.close h2{margin:0;font-weight:700;font-size:clamp(40px,5.6vw,80px);line-height:1;letter-spacing:-.04em;max-width:760px;text-wrap:balance}
.foot{background:var(--night);color:#9a9aa3;padding-bottom:calc(40px + env(safe-area-inset-bottom,0px))}
.foot__in{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;justify-content:space-between;font-size:15px}
.foot .logo{color:#fff;font-size:20px}
.foot p{margin:0}


/* Narrow screens */
@media (max-width:900px){
  .showcase{grid-template-columns:minmax(0,1fr)}
  .showcase{gap:20px}
  /* The list comes first and the phone sits right under it, so a tap and its result are on one screen. */
  .stage{position:relative;top:auto;min-height:0;padding-block:4px 8px;gap:14px}
  .stage__phone{--w:min(236px,58vw)}
  .stage__cap{min-height:44px}
      .modules{flex-direction:row;flex-wrap:wrap;gap:8px}
  .modules li{flex:none}
  .module{width:auto;padding:9px 14px;gap:10px;border:1px solid var(--night-line);border-radius:999px;align-items:center}
  .modules li:last-child .module{border-bottom:1px solid var(--night-line)}
  .module i{margin-top:0;width:10px;height:10px}
  .module b{font-size:15px}
  .module small{display:none}
  .module[aria-selected="true"]{background:#fff;color:var(--ink)}
  /* On pills the progress is a fill across the pill, blended into the white so the label stays readable. */
  /* clip-path and the mask keep the fill inside the rounded ends on iOS Safari, which ignores overflow there. */
  .module{overflow:hidden;isolation:isolate;clip-path:inset(0 round 999px);-webkit-mask-image:-webkit-radial-gradient(#fff,#000)}
  .modules .module::after{inset:0;height:auto;bottom:0;opacity:.6;mix-blend-mode:multiply}
  .module[aria-selected="true"] i{opacity:1;transform:none}
}
@media (max-width:760px){
  :root{--u:calc(100vw / 700)}
  .hero{min-height:620px}
  .fan__card--m2,.fan__card--p2{display:none}
  .hero__copy h1{font-size:clamp(36px,10vw,52px)}
}
@media (prefers-reduced-motion:reduce){
  .stage__phone img,.module,.module i,.module small,.btn{transition:none}
}


/* Motion ------------------------------------------------------------ */
/* Hero entrance: copy fades up, screens rise from below, centre first. */
.fan__card{--dx:0;--dy:0;translate:calc(var(--p,0) * var(--dx) * var(--u)) calc(var(--p,0) * var(--dy) * var(--u))}
html.js .nav,
html.js .hero__copy > *{animation:fade-up .9s cubic-bezier(.2,.8,.2,1) backwards}
html.js .hero__copy h1{animation-delay:.05s}
html.js .hero__copy p{animation-delay:.18s}
html.js .hero__copy .btn{animation-delay:.3s}
html.js .fan__card{animation:rise 1.2s cubic-bezier(.16,1,.3,1) backwards;animation-delay:var(--d,0s)}
html.js .hero__dots{animation:fade-in 1.6s ease .3s backwards}
@keyframes fade-up{from{opacity:0;translate:0 24px}}
@keyframes fade-in{from{opacity:0}}
@keyframes rise{from{opacity:0;translate:0 80%}}

/* Scroll reveal for the sections below the hero. */
html.js .reveal{opacity:0;translate:0 32px;transition:opacity .8s ease,translate .9s cubic-bezier(.2,.8,.2,1);transition-delay:var(--rd,0s)}
html.js .reveal.is-in{opacity:1;translate:none}

/* Module screens: a plain cross-fade between steps. */
.stage__phone img{transition:opacity .45s ease}
.stage__phone img.is-on{opacity:1}

/* Autoplay: a thin bar under the selected module fills, then the next one opens. */
.module{position:relative}
.module::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--c);transform:scaleX(0);transform-origin:left;pointer-events:none}
.module[aria-selected="true"]::after{transform:scaleX(var(--prog,0))}

@media (prefers-reduced-motion:reduce){
  html.js .nav,html.js .hero__copy > *,html.js .fan__card,html.js .hero__dots{animation:none}
  html.js .reveal{opacity:1;translate:none;transition:none}
  .fan__card{translate:none}

  .module::after{display:none}
}

/* Logo images and small notes */
.logo img{display:block;width:auto}
.close__note{margin:18px 0 0;font-size:clamp(18px,1.7vw,22px);color:var(--night-mute)}
.close__in > div{max-width:760px}

/* Stage caption and step dots */
.stage{align-content:center;gap:22px}
.stage__cap{display:flex;flex-direction:column;align-items:center;gap:12px;min-height:56px}
.stage__text{margin:0;font-size:17px;font-weight:500;color:#fff;text-align:center;min-height:1.4em}
.stage__steps{display:flex;gap:8px}
.stage__steps button{all:unset;box-sizing:border-box;width:28px;height:28px;display:grid;place-items:center;cursor:pointer;border-radius:50%}
.stage__steps button::before{content:"";width:8px;height:8px;border-radius:50%;background:#55555b;transition:background .25s ease,transform .25s ease}
.stage__steps button[aria-current="true"]::before{background:#fff;transform:scale(1.3)}
.stage__steps button:focus-visible{outline:2px solid #fff}

/* Scroll cue at the bottom of the hero */
.scrollcue{width:max-content;max-width:calc(100vw - 32px);white-space:nowrap;position:absolute;left:50%;bottom:max(22px,env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:40;display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 20px 0 22px;border-radius:23px;background:rgba(255,255,255,.94);color:var(--navy);font-size:15px;font-weight:600;box-shadow:0 10px 28px rgba(16,34,79,.28);opacity:clamp(0,calc(1 - var(--p,0) * 12),1)}
.scrollcue svg{animation:nudge 1.8s ease-in-out infinite}
@keyframes nudge{0%,100%{translate:0 -2px}50%{translate:0 3px}}
html.js .scrollcue{animation:fade-up .9s cubic-bezier(.2,.8,.2,1) 1.4s backwards}
@media (prefers-reduced-motion:reduce){.scrollcue svg{animation:none}html.js .scrollcue{animation:none}}

/* Sign-up dialog */
.join{width:min(440px,calc(100vw - 32px));padding:0;border:0;border-radius:28px;background:#fff;color:var(--ink);box-shadow:0 40px 100px rgba(0,0,0,.45)}
.join::backdrop{background:rgba(10,14,30,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.join__form{position:relative;display:flex;flex-direction:column;gap:12px;padding:36px 32px 32px}
.join h2{margin:0;font-size:30px;line-height:1.1;letter-spacing:-.03em}
.join p{margin:0;font-size:17px;line-height:1.45;color:#55555c}
.join label{margin-top:8px;font-size:14px;font-weight:600}
.join input{height:56px;border:1.5px solid #d4d4db;border-radius:28px;padding:0 22px;font:500 17px var(--font);color:var(--ink)}
.join input:focus-visible{outline:3px solid var(--blue-600);outline-offset:2px;border-color:transparent}
.join .btn{width:100%;margin-top:4px;border:0;cursor:pointer}
.join__status{min-height:1.4em;font-size:15px!important}
.join__status[data-state="error"]{color:#b3261e!important}
.join__status[data-state="ok"]{color:#1f7a4d!important}
.join__x{all:unset;position:absolute;top:14px;right:14px;width:40px;height:40px;display:grid;place-items:center;border-radius:50%;cursor:pointer;color:#55555c}
.join__x:hover{background:#f1f1f3}
.join__x:focus-visible{outline:2px solid var(--blue-600)}

/* Touch indicator and bottom-sheet pieces */
.touch{position:absolute;z-index:6;width:calc(var(--w) * .12);aspect-ratio:1;border-radius:50%;background:rgba(30,30,34,.26);border:2px solid rgba(255,255,255,.8);box-shadow:0 4px 14px rgba(0,0,0,.25);opacity:0;pointer-events:none;will-change:transform,opacity}
.stage__phone .stage__clip img.piece{opacity:1}
/* The progress bar moves every frame, so it needs no transition. */
.module::after{will-change:transform}

.foot__links{display:flex;gap:20px;width:100%}
.foot__links a{color:#9a9aa3;text-decoration:underline;text-underline-offset:3px}
.foot__links a:hover{color:#fff}
