/* Front page: layout "L1 Quiet" over the arcane-dust artwork (docs/design/landing/landing.html, version 3).
   Moved out of the page so it works under the site's strict security rules. Colours come from tidewater.css.
   The artwork itself is static SVG markup in index.html, generated by docs/design/landing/dust.js. */
/* The page draws its own glow, so Tidewater's body gradient is switched off here. */
body{background-image:none}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--bg)}
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--text);min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;overflow-x:hidden;position:relative;-webkit-font-smoothing:antialiased}
.glow{position:fixed;inset:0;background:radial-gradient(1100px 520px at 50% -12%,var(--bg-glow),transparent 70%);pointer-events:none}
.art{position:fixed;left:50%;top:50%;width:100vmax;height:100vmax;transform:translate(-50%,-50%);pointer-events:none;overflow:visible}
.veil{position:fixed;inset:0;background:radial-gradient(ellipse 50% 42% at 50% 50%,color-mix(in srgb,var(--bg) 90%,transparent) 0%,color-mix(in srgb,var(--bg) 78%,transparent) 34%,color-mix(in srgb,var(--bg) 38%,transparent) 66%,color-mix(in srgb,var(--bg) 0%,transparent) 100%);pointer-events:none}
@media (max-width:600px){.veil{background:radial-gradient(ellipse 80% 37% at 50% 50%,color-mix(in srgb,var(--bg) 90%,transparent) 0%,color-mix(in srgb,var(--bg) 80%,transparent) 40%,color-mix(in srgb,var(--bg) 40%,transparent) 72%,color-mix(in srgb,var(--bg) 0%,transparent) 100%)}}
main{position:relative;flex:1;display:grid;place-items:center;padding:48px 24px 24px}
.box{text-align:center;max-width:560px}
.brand{display:inline-flex;align-items:center;gap:8px;font-weight:600;letter-spacing:.3px;color:var(--text);font-size:15px}
.brand svg{width:16px;height:16px;fill:var(--accent)}
h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:var(--title);font-size:clamp(30px,5.2vw,46px);line-height:1.18;margin:28px 0 16px;letter-spacing:-.01em}
p.lead{color:var(--text-muted);font-size:17px;line-height:1.6;max-width:46ch;margin:0 auto 32px}
.btn{display:inline-flex;align-items:center;gap:10px;background:var(--accent);color:var(--on-accent);font-weight:600;font-size:15px;text-decoration:none;padding:12px 24px;border-radius:999px;transition:background .15s ease,transform .15s ease}
.btn:hover{filter:brightness(1.1);text-decoration:none}
.btn:active{transform:translateY(1px)}
.btn svg{width:18px;height:18px;fill:currentColor}
.btn:focus-visible,footer a:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:999px}
footer{position:relative;text-align:center;padding:16px 24px 24px;font-size:13px}
footer a{color:var(--text-muted);text-decoration:none}
footer a:hover{color:var(--accent);text-decoration:underline}
main,footer{opacity:0;animation:rise .6s ease .25s forwards}
@keyframes rise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.art *,main,footer{animation:none!important;opacity:1;transform:none}.art .obj{transform:translate(var(--x),var(--y)) scale(var(--s,1))}}

.obj{transform:translate(var(--x),var(--y)) scale(var(--s,1))}
.o0{--x:150px;--y:285px;--s:0.7;--o:0}
.o1{--x:340px;--y:262px;--s:0.55;--o:1}
.o2{--x:500px;--y:258px;--s:0.55;--o:2}
.o3{--x:660px;--y:262px;--s:0.55;--o:3}
.o4{--x:860px;--y:270px;--s:0.55;--o:4}
.o5{--x:90px;--y:520px;--s:0.6;--o:5}
.o6{--x:915px;--y:520px;--s:0.6;--o:6}
.o7{--x:150px;--y:735px;--s:0.55;--o:7}
.o8{--x:340px;--y:748px;--s:0.55;--o:8}
.o9{--x:500px;--y:756px;--s:0.6;--o:9}
.o10{--x:660px;--y:748px;--s:0.55;--o:10}
.o11{--x:860px;--y:735px;--s:0.55;--o:11}
.o12{--x:500px;--y:500px;--s:1;--o:12}
.th.wide,.pu.wide,.gl.wide{display:none}.th.uw,.pu.uw,.gl.uw{display:none}.th.tab,.pu.tab,.gl.tab{display:none}.th.phone,.pu.phone,.gl.phone{display:none}
@media (min-aspect-ratio:17/10){.o0{--x:120px;--y:328px;--s:0.62;--o:0}
.o1{--x:300px;--y:300px;--s:0.5;--o:1}
.o2{--x:500px;--y:306px;--s:0.5;--o:2}
.o3{--x:700px;--y:305px;--s:0.5;--o:3}
.o4{--x:885px;--y:316px;--s:0.5;--o:4}
.o5{--x:60px;--y:520px;--s:0.55;--o:5}
.o6{--x:945px;--y:520px;--s:0.55;--o:6}
.o7{--x:120px;--y:690px;--s:0.5;--o:7}
.o8{--x:300px;--y:700px;--s:0.5;--o:8}
.o9{--x:500px;--y:706px;--s:0.55;--o:9}
.o10{--x:700px;--y:700px;--s:0.5;--o:10}
.o11{--x:885px;--y:690px;--s:0.5;--o:11}
.o12{--x:500px;--y:500px;--s:1;--o:12}.th.land,.pu.land,.gl.land{display:none}.th.uw,.pu.uw,.gl.uw{display:none}.th.tab,.pu.tab,.gl.tab{display:none}.th.phone,.pu.phone,.gl.phone{display:none}.th.wide,.pu.wide,.gl.wide{display:block}}
@media (min-aspect-ratio:21/10){.o0{--x:110px;--y:356px;--s:0.55;--o:0}
.o1{--x:290px;--y:338px;--s:0.45;--o:1}
.o2{--x:500px;--y:340px;--s:0.45;--o:2}
.o3{--x:710px;--y:340px;--s:0.45;--o:3}
.o4{--x:895px;--y:348px;--s:0.45;--o:4}
.o5{--x:50px;--y:520px;--s:0.5;--o:5}
.o6{--x:955px;--y:520px;--s:0.5;--o:6}
.o7{--x:110px;--y:658px;--s:0.45;--o:7}
.o8{--x:290px;--y:664px;--s:0.45;--o:8}
.o9{--x:500px;--y:668px;--s:0.5;--o:9}
.o10{--x:710px;--y:660px;--s:0.45;--o:10}
.o11{--x:895px;--y:658px;--s:0.45;--o:11}
.o12{--x:500px;--y:500px;--s:1;--o:12}.th.land,.pu.land,.gl.land{display:none}.th.wide,.pu.wide,.gl.wide{display:none}.th.tab,.pu.tab,.gl.tab{display:none}.th.phone,.pu.phone,.gl.phone{display:none}.th.uw,.pu.uw,.gl.uw{display:block}}
@media (orientation:portrait){.o0{--x:500px;--y:105px;--s:0.75;--o:0}
.o1{--x:300px;--y:245px;--s:0.5;--o:1}
.o2{--x:280px;--y:900px;--s:0.5;--o:2}
.o3{--x:500px;--y:255px;--s:0.5;--o:3}
.o4{--x:700px;--y:240px;--s:0.5;--o:4}
.o5{--x:280px;--y:120px;--s:0.5;--o:5}
.o6{--x:720px;--y:120px;--s:0.5;--o:6}
.o7{--x:235px;--y:760px;--s:0.5;--o:7}
.o8{--x:500px;--y:745px;--s:0.5;--o:8}
.o9{--x:500px;--y:905px;--s:0.55;--o:9}
.o10{--x:765px;--y:760px;--s:0.5;--o:10}
.o11{--x:720px;--y:900px;--s:0.5;--o:11}
.o12{--x:500px;--y:500px;--s:1;--o:12}.th.land,.pu.land,.gl.land{display:none}.th.wide,.pu.wide,.gl.wide{display:none}.th.uw,.pu.uw,.gl.uw{display:none}.th.phone,.pu.phone,.gl.phone{display:none}.th.tab,.pu.tab,.gl.tab{display:block}}
@media (orientation:portrait) and (max-aspect-ratio:3/5){.o0{--x:500px;--y:112px;--s:0.7;--o:0}
.o1{--x:340px;--y:235px;--s:0.45;--o:1}
.o2{--x:318px;--y:905px;--s:0.42;--o:2}
.o3{--x:500px;--y:250px;--s:0.45;--o:3}
.o4{--x:660px;--y:228px;--s:0.45;--o:4}
.o5{--x:300px;--y:118px;--s:0.45;--o:5}
.o6{--x:700px;--y:118px;--s:0.45;--o:6}
.o7{--x:300px;--y:772px;--s:0.45;--o:7}
.o8{--x:500px;--y:748px;--s:0.45;--o:8}
.o9{--x:500px;--y:905px;--s:0.5;--o:9}
.o10{--x:700px;--y:772px;--s:0.45;--o:10}
.o11{--x:684px;--y:905px;--s:0.42;--o:11}
.o12{--x:500px;--y:500px;--s:1;--o:12}.th.land,.pu.land,.gl.land{display:none}.th.wide,.pu.wide,.gl.wide{display:none}.th.uw,.pu.uw,.gl.uw{display:none}.th.tab,.pu.tab,.gl.tab{display:none}.th.phone,.pu.phone,.gl.phone{display:block}}
.dust path{fill:none;stroke:var(--accent);stroke-linecap:round;animation:gather 2.6s cubic-bezier(.2,.6,.2,1) calc(var(--o,0)*.35s + var(--k,0)*.14s + .2s) both,shimmer 9s ease-in-out calc(var(--o,0)*.7s + var(--k,0)*1.1s + 4s) infinite}
.dust .s0{stroke-width:2.2;stroke-opacity:.5}
.dust .s1{stroke-width:3.1;stroke-opacity:.7}
.dust .s2{stroke-width:4.4;stroke:var(--accent-bright);stroke-opacity:.9}
.dust path:nth-child(8n+1){--k:0}.dust path:nth-child(8n+2){--k:1}.dust path:nth-child(8n+3){--k:2}.dust path:nth-child(8n+4){--k:3}.dust path:nth-child(8n+5){--k:4}.dust path:nth-child(8n+6){--k:5}.dust path:nth-child(8n+7){--k:6}.dust path:nth-child(8n){--k:7}
@keyframes gather{from{opacity:0;transform:translate(calc(sin(var(--k,0)*.785 + var(--o,0))*48px),calc(cos(var(--k,0)*.785 + var(--o,0))*48px))}to{opacity:1;transform:none}}
@keyframes shimmer{0%,100%{opacity:1}50%{opacity:.62}}
.th path{fill:none;stroke:var(--accent);stroke-width:1;stroke-linecap:round;stroke-opacity:.32;stroke-dasharray:1;stroke-dashoffset:0;animation:draw 2.2s cubic-bezier(.4,0,.2,1) calc(var(--i,0)*.4s + 3.2s) both}
.th path:nth-child(3n){stroke-opacity:.2}
@keyframes draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
.pu path{fill:none;stroke:var(--accent-bright);stroke-width:1.5;stroke-linecap:round;stroke-dasharray:.1 .9;stroke-dashoffset:1;opacity:0;animation:pulse 13s linear calc(var(--i,0)*1.7s + 8s) infinite}
@keyframes pulse{0%{stroke-dashoffset:1;opacity:0}4%{opacity:.8}36%{opacity:.8}40%{stroke-dashoffset:0;opacity:0}100%{stroke-dashoffset:0;opacity:0}}
.th path:nth-child(1){--i:0}.th path:nth-child(2){--i:1}.th path:nth-child(3){--i:2}.th path:nth-child(4){--i:3}.th path:nth-child(5){--i:4}.th path:nth-child(6){--i:5}.th path:nth-child(7){--i:6}.th path:nth-child(8){--i:7}.th path:nth-child(9){--i:8}.th path:nth-child(10){--i:9}.th path:nth-child(11){--i:10}.th path:nth-child(12){--i:11}.th path:nth-child(13){--i:12}.th path:nth-child(14){--i:13}.th path:nth-child(15){--i:14}.th path:nth-child(16){--i:15}.th path:nth-child(17){--i:16}.th path:nth-child(18){--i:17}.th path:nth-child(19){--i:18}.th path:nth-child(20){--i:19}.th path:nth-child(21){--i:20}.th path:nth-child(22){--i:21}.th path:nth-child(23){--i:22}.th path:nth-child(24){--i:23}
.pu path:nth-child(1){--i:0}.pu path:nth-child(2){--i:1}.pu path:nth-child(3){--i:2}.pu path:nth-child(4){--i:3}.pu path:nth-child(5){--i:4}.pu path:nth-child(6){--i:5}.pu path:nth-child(7){--i:6}.pu path:nth-child(8){--i:7}.pu path:nth-child(9){--i:8}.pu path:nth-child(10){--i:9}.pu path:nth-child(11){--i:10}.pu path:nth-child(12){--i:11}.pu path:nth-child(13){--i:12}.pu path:nth-child(14){--i:13}.pu path:nth-child(15){--i:14}.pu path:nth-child(16){--i:15}.pu path:nth-child(17){--i:16}.pu path:nth-child(18){--i:17}.pu path:nth-child(19){--i:18}.pu path:nth-child(20){--i:19}.pu path:nth-child(21){--i:20}.pu path:nth-child(22){--i:21}.pu path:nth-child(23){--i:22}.pu path:nth-child(24){--i:23}

.dust .s0{stroke-opacity:.6}.dust .s1{stroke-opacity:.8}
.th path{stroke-width:1.6;stroke-opacity:.6;animation-duration:2.4s}
.th path:nth-child(3n){stroke-opacity:.45}
.gl path{fill:none;stroke:var(--accent);stroke-width:6;stroke-opacity:.09;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:0;animation:draw 2.4s cubic-bezier(.4,0,.2,1) calc(var(--i,0)*.4s + 3.2s) both}
.gl path:nth-child(1){--i:0}.gl path:nth-child(2){--i:1}.gl path:nth-child(3){--i:2}.gl path:nth-child(4){--i:3}.gl path:nth-child(5){--i:4}.gl path:nth-child(6){--i:5}.gl path:nth-child(7){--i:6}.gl path:nth-child(8){--i:7}.gl path:nth-child(9){--i:8}.gl path:nth-child(10){--i:9}.gl path:nth-child(11){--i:10}.gl path:nth-child(12){--i:11}.gl path:nth-child(13){--i:12}.gl path:nth-child(14){--i:13}.gl path:nth-child(15){--i:14}.gl path:nth-child(16){--i:15}.gl path:nth-child(17){--i:16}.gl path:nth-child(18){--i:17}.gl path:nth-child(19){--i:18}.gl path:nth-child(20){--i:19}
.pu path{stroke-width:2.4;stroke-dasharray:.07 .93;animation:pulse 9s linear calc(var(--i,0)*1.15s + 7s) infinite}
.pu path:nth-child(3n+1){animation-duration:12s}
@keyframes pulse{0%{stroke-dashoffset:1;opacity:0}3%{opacity:1}44%{opacity:1}48%{stroke-dashoffset:0;opacity:0}100%{stroke-dashoffset:0;opacity:0}}

@media (min-width:900px){.box{max-width:600px}}
p.lead{max-width:50ch;text-wrap:balance}

.th path.k{stroke-opacity:.5}
.th path.k:nth-child(3n){stroke-opacity:.5}
.pu path.k{stroke-opacity:.8}
.o12 .dust path{stroke-opacity:.55}
.gl path:nth-child(21){--i:20}.gl path:nth-child(22){--i:21}.gl path:nth-child(23){--i:22}.gl path:nth-child(24){--i:23}

/* Privacy sits on a pill of the background, clear of the artwork behind it. */
footer{z-index:1;padding:8px 24px 20px}
footer a{display:inline-block;padding:6px 14px;border-radius:999px;background:color-mix(in srgb,var(--bg) 88%,transparent);box-shadow:0 0 18px 10px color-mix(in srgb,var(--bg) 70%,transparent)}

/* The artwork fits the screen height: its ring stays clear of the top edge and ends at least 24 px above
   Privacy. --fit is the art's size per pixel of free height, for each layout's ring (land, wide, ultra-wide,
   portrait); --shift lifts the ring a little, so the space under it holds the footer. */
.art{--fit:1.74;--shift:32px;--free:calc(100vh - 93px);width:min(100vmax,calc(var(--free) * var(--fit)));height:min(100vmax,calc(var(--free) * var(--fit)));top:calc(50% - var(--shift))}
@supports (height:100dvh){.art{--free:calc(100dvh - 93px)}}
@media (min-aspect-ratio:17/10){.art{--fit:2.1}}
@media (min-aspect-ratio:21/10){.art{--fit:2.1}}
@media (orientation:portrait){.art{--fit:1.15;--shift:4px}}
/* Short screens: a more compact text block, so the wordmark and the button stay inside the ring. */
@media (max-height:800px) and (orientation:landscape){h1{margin:20px 0 12px}p.lead{margin-bottom:24px}}
/* A soft mask of the background behind the text block, so lines and dust never show through the lead. */
.box{position:relative;isolation:isolate}
main{overflow-x:clip}
.box::before{content:"";position:absolute;inset:-56px -80px;z-index:-1;pointer-events:none;background:radial-gradient(closest-side,color-mix(in srgb,var(--bg) 94%,transparent) 0%,color-mix(in srgb,var(--bg) 86%,transparent) 60%,color-mix(in srgb,var(--bg) 0%,transparent) 100%)}

/* Sign-in error, shown under the lead text. */

.login-error{color:var(--danger);font-size:var(--text-sm);margin:-16px auto 24px;max-width:46ch}

/* Email sign-in, under the Google button. */

.or{color:var(--text-muted);font-size:var(--text-sm);margin:20px 0 12px}
.login-form{display:grid;gap:6px;max-width:340px;margin:0 auto;text-align:left}
.login-form label{font-size:var(--text-sm);color:var(--text-muted)}
.login-form input{width:100%;margin-bottom:6px}
.login-form .btn{justify-content:center;border:0;cursor:pointer;margin-top:4px}
.login-form .login-error{margin:0 0 6px;max-width:none}
.login-links{font-size:var(--text-sm);text-align:center;margin:10px 0 0}
.login-links a{display:inline-block;padding:10px 6px;color:var(--text-muted)}
.login-links a:hover{color:var(--accent)}
