/* SELEQT: the Coming Soon page (soon.html, js/soon.js). Exactly one screen on navy, never scrolling: the wordmark,
   "Wealthtech", the hero line and one sentence, "Coming soon" between two silver rules, the email bar, and one line at the
   foot. Two rings of Lotus Harmony turn slowly in opposite corners under a light that drifts. Sizes follow the screen's
   height as well as its width, so it fits a short laptop screen as well as a tall one. Brand colours only: navy #0C192D,
   obsidian teal #010D12, silver #D6D6D8, white, royal steel blue #2F5EA0 (and thin layers of them). Manrope ExtraBold and
   DM Sans; spacing on the 8 point grid. */
:root{--bg:#0C192D;--ink:#fff;--soft:rgba(255,255,255,.74);--faint:rgba(255,255,255,.5);--line:rgba(214,214,216,.18);
  --silver:#D6D6D8;--steel:#2F5EA0;--tint:#9FB2CF;--deep:#010D12;
  --display:'Manrope',sans-serif;--body:'DM Sans',sans-serif;
  --ease:cubic-bezier(.65,0,.25,1);--out:cubic-bezier(.16,1,.3,1);--m:64px}
@media (max-width:820px){:root{--m:16px}}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;overflow:hidden;background:#07111f}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--body);font-size:16px;line-height:1.5;color:var(--ink);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
:focus-visible{outline:2px solid var(--silver);outline-offset:4px;border-radius:2px}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}

/* one screen: the hero fills what the foot leaves. clip, not hidden: the rings reach past the edges, and a hidden box could
   still be scrolled by the browser (when a field takes focus), which would lift the whole page */
#app{position:relative;height:100vh;height:100dvh;display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden;overflow:clip;
  background:radial-gradient(80% 70% at 50% 38%,#13243f 0%,#0C192D 52%,#06101c 100%)}
html.pending #app{opacity:0}

/* ---------- always moving, always quiet: the light drifts, the lotus rings turn ---------- */
.glow{position:absolute;left:50%;top:40%;width:min(110vw,1100px);aspect-ratio:1;margin:calc(min(110vw,1100px) / -2) 0 0 calc(min(110vw,1100px) / -2);
  border-radius:50%;background:radial-gradient(closest-side,rgba(159,178,207,.13),rgba(47,94,160,.06) 55%,transparent);pointer-events:none;
  animation:drift 22s ease-in-out infinite alternate}
@keyframes drift{0%{transform:translate(-7%,-4%) scale(.94)}50%{transform:translate(5%,3%) scale(1.04)}100%{transform:translate(-2%,6%) scale(.98)}}
.orn{position:absolute;width:clamp(380px,min(52vw,90vh),820px);aspect-ratio:1;pointer-events:none}
.orn.tr{right:0;top:0;transform:translate(50%,-50%)}
.orn.bl{left:0;bottom:0;transform:translate(-50%,50%)}
.orn svg{display:block;width:100%;height:100%;overflow:visible;opacity:.5}
.orn :is(path,circle){stroke-dasharray:1;stroke-dashoffset:0}
.orn circle{stroke-width:.16}
.orn .spin{transform-box:view-box;transform-origin:50% 50%;animation:turn 110s linear infinite}
.orn.bl .spin{animation-direction:reverse}
@keyframes turn{to{transform:rotate(360deg)}}
.hero,.foot{position:relative;z-index:1}

/* ---------- the hero: one centred column, sized by the screen ---------- */
.hero{min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px var(--m) 8px}
.crest{width:clamp(160px,min(20vw,24vh),280px);margin-bottom:clamp(24px,5.5vh,56px)}
.logo{display:block;width:100%;height:auto;overflow:visible}
.eyebrow{display:inline-flex;align-items:center;gap:12px;margin-bottom:clamp(12px,2.4vh,24px);font-size:12px;font-weight:600;letter-spacing:.32em;text-transform:uppercase;color:var(--silver)}
.eyebrow .eb-a{width:16px;height:9px;fill:var(--tint)}
h2{font-family:var(--display);font-weight:800;font-size:clamp(28px,min(3.9vw,6.2vh),58px);letter-spacing:-.025em;line-height:1.12;text-wrap:balance}
.ln{display:block}
.ln.acc{color:var(--tint)}
.lede{max-width:32em;margin-top:clamp(12px,2.4vh,24px);font-size:clamp(15px,min(1.25vw,2.3vh),18px);line-height:1.6;color:var(--soft);text-wrap:balance}
/* "Coming soon", between two silver rules */
.soon{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:clamp(24px,4.4vh,40px);font-size:12px;font-weight:500;letter-spacing:.32em;text-transform:uppercase;color:var(--silver)}
.soon span{padding-left:.32em}
.soon::before,.soon::after{content:"";width:clamp(32px,6vw,72px);height:1px;background:linear-gradient(90deg,transparent,var(--silver))}
.soon::after{background:linear-gradient(90deg,var(--silver),transparent)}

/* ---------- the email bar ---------- */
.notify{position:relative;width:100%;max-width:480px;margin-top:clamp(16px,3vh,32px)}
.n-bar{display:flex;align-items:center;gap:8px;padding:6px;border:1px solid rgba(214,214,216,.32);border-radius:48px;background:rgba(1,13,18,.42);
  box-shadow:0 18px 48px rgba(1,8,16,.38);transition:border-color .4s,background .4s,box-shadow .4s}
.n-bar:focus-within{border-color:var(--silver);background:rgba(1,13,18,.6);box-shadow:0 18px 48px rgba(1,8,16,.5),0 0 0 4px rgba(214,214,216,.1)}
.notify input[type=email]{flex:1;min-width:0;background:none;border:0;outline:none;color:var(--ink);font:inherit;font-size:16px;padding:11px 8px 11px 20px;text-align:left}
.notify input::placeholder{color:var(--faint);opacity:1}
.n-send{flex:none;display:inline-flex;align-items:center;gap:12px;padding:11px 20px 11px 24px;border-radius:40px;background:linear-gradient(135deg,#ffffff,#e4e5e8 45%,#b9bdc5);color:var(--bg);font-size:15px;font-weight:600;white-space:nowrap;transition:gap .5s var(--out),filter .4s}
.n-send .n-a{display:block;width:16px;height:9px;fill:var(--bg);transition:transform .5s var(--out)}
.n-send:hover{gap:16px;filter:brightness(1.04)}
.n-send:hover .n-a{transform:translateY(-3px)}
.n-send[disabled]{cursor:default;filter:saturate(.6) brightness(.9)}
.notify .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
/* one quiet line under the bar: what the address is for (only while typing), or what went wrong; it takes no room of its own */
.n-say{position:absolute;left:0;right:0;top:100%;margin-top:12px;font-size:13px;line-height:1.5;color:var(--faint)}
.n-say.err{color:var(--silver)}
.n-say a{border-bottom:1px solid currentColor}
.n-done{display:none;font-size:clamp(17px,1.6vw,20px);line-height:1.4;color:var(--soft)}
.n-done:focus{outline:none}
.n-done b{font-family:var(--display);font-weight:800;color:var(--ink);letter-spacing:-.01em}
.notify.done .n-bar,.notify.done .n-say{display:none}
.notify.done .n-done{display:block;animation:fadeup .9s var(--out)}
@keyframes fadeup{from{opacity:0;transform:translateY(10px)}}

/* ---------- the foot: one line ---------- */
.foot{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px 28px;padding:16px var(--m) clamp(16px,3vh,28px);font-size:12px;color:var(--faint)}
.foot a:hover{color:var(--ink)}
.foot .credit a{border-bottom:1px solid var(--line)}

/* ---------- the intro: the letters rise, the silver arrow folds down into the Q, the lotus is drawn in; then the words
   come in one after another. At rest (no .intro) every part is simply in place. ---------- */
.logo :is(.lt,.ar){transform-box:fill-box}
html.intro .lt{animation:letter .9s var(--out) calc(.15s + var(--i) * 70ms) both}
html.intro .ar-r{animation:foldl 1s var(--out) .55s both}
html.intro .ar-f{animation:foldr 1s var(--out) .62s both}
html.intro .orn :is(path,circle){animation:draw 2.6s var(--ease) calc(.2s + var(--p) * 70ms) both}
@keyframes letter{from{opacity:0;transform:translateY(36px)}}
@keyframes foldl{from{opacity:0;transform:translate(-46px,-70px) rotate(-14deg)}}
@keyframes foldr{from{opacity:0;transform:translate(46px,-70px) rotate(14deg)}}
@keyframes draw{from{stroke-dashoffset:1}}
.rise{transition:opacity 1s var(--out) calc(var(--i) * 110ms),transform 1s var(--out) calc(var(--i) * 110ms)}
html.intro .rise{opacity:0;transform:translateY(16px)}
html.intro:not(.ready) .rise{transition:none}
html.intro.ready .rise{opacity:1;transform:none}
.skip{position:fixed;right:var(--m);bottom:56px;z-index:5;font-size:13px;color:var(--faint);display:none}
html.intro:not(.ready) .skip{display:block}

@media (max-width:820px){
  .crest{width:min(52vw,220px,26vh)}
  h2{font-size:clamp(26px,7.4vw,40px)}
  .lede{font-size:15px}
  .soon{gap:16px}
  .orn{width:min(112vw,460px)}
  .orn svg{opacity:.4}
  .n-send{padding:11px 16px 11px 20px;gap:10px}
  .notify input[type=email]{padding-left:16px}
  .foot{gap:2px 16px}
  .skip{bottom:72px}
}
@media (max-width:360px){.n-send span{display:none}.n-send{padding:11px 16px}}
@media (prefers-reduced-motion:reduce){.rise,.notify.done .n-done{transition:none;animation:none}.glow,.orn .spin{animation:none}}
