@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root{color-scheme:dark;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#090b10;color:#f8faff;font-synthesis:none}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{min-width:320px;margin:0;background:#090b10;color:#f8faff}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed}
:focus-visible{outline:3px solid #8cc1ff;outline-offset:4px}
.site-shell{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.site-header{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:90px}
.site-brand{display:inline-flex;align-items:center;gap:10px;white-space:nowrap;font-size:18px;font-weight:800;letter-spacing:-.04em}
.site-brand-mark{position:relative;display:inline-block;width:30px;height:30px;border:3px solid #57a3ff;border-radius:50%;box-shadow:0 0 22px #318dff3d}
.site-brand-mark:before,.site-brand-mark:after{content:"";position:absolute;width:4px;height:4px;border-radius:50%;background:#d7ebff;top:6px}
.site-brand-mark:before{left:6px}.site-brand-mark:after{right:6px}
.site-brand-mark i{position:absolute;width:4px;height:4px;border-radius:50%;background:#d7ebff;left:calc(50% - 2px);bottom:6px}
.site-nav{display:flex;align-items:center;gap:30px;margin-left:auto;margin-right:auto;color:#bcc3d0;font-size:13px;font-weight:600}
.site-nav a:hover,.text-link:hover,.auth-switch a:hover{color:#8fc2ff}
.site-actions{display:flex;align-items:center;gap:10px}
.pill-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 18px;border-radius:999px;font-size:13px;font-weight:700;white-space:nowrap;transition:transform .2s ease,background .2s ease}
.pill-link:hover,.primary-button:hover{transform:translateY(-2px)}
.pill-link.blue,.primary-button{border:1px solid #71b1ff;background:linear-gradient(125deg,#5eabff,#347fda);color:white;box-shadow:0 12px 32px #267de22d}
.pill-link.dark{background:#1b283d;color:#c8dcf6}
.pill-link.dark:hover{background:#253953}

/* Home */
.home-main{overflow:hidden}
.home-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,.95fr);align-items:center;gap:clamp(46px,8vw,126px);min-height:clamp(650px,calc(100vh - 180px),830px);padding:74px 0 92px}
.hero-copy{max-width:575px}
.eyebrow{display:inline-flex;align-items:center;gap:9px;margin:0 0 25px;color:#85bcff;font-size:12px;font-weight:800;letter-spacing:.19em;text-transform:uppercase}
.eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:#66b1ff;box-shadow:0 0 13px #66b1ff}
.hero-copy h1{margin:0;font-size:clamp(46px,5.1vw,74px);line-height:1.09;letter-spacing:-.067em;font-weight:800}
.hero-copy h1 span{display:block;color:#85bbff}
.hero-copy .lead{max-width:465px;margin:27px 0 34px;color:#a6afbf;font-size:17px;line-height:1.7}
.hero-links{display:flex;flex-wrap:wrap;align-items:center;gap:25px}
.primary-button{display:inline-flex;justify-content:center;align-items:center;min-height:50px;padding:0 24px;border-radius:999px;font-size:13px;font-weight:700;transition:transform .2s ease}
.text-link{display:inline-flex;align-items:center;gap:10px;color:#e0e7f1;font-size:13px;font-weight:700}
.text-link span{color:#79b4ff;font-size:19px}
.home-visual{position:relative;display:grid;place-items:center;min-height:530px}
.home-visual:before{content:"";position:absolute;width:570px;height:570px;max-width:120%;border:1px solid #6a748326;border-radius:50%;transform:translate(65px,-20px)}
.home-visual:after{content:"";position:absolute;width:400px;height:400px;border:1px solid #6a74831d;border-radius:50%;transform:translate(65px,-20px)}
.phone-glow{position:absolute;inset:13% 1% 8%;border-radius:50%;background:#367de534;filter:blur(70px)}
.phone-frame{position:relative;z-index:1;width:min(360px,90%);padding:16px;border:1px solid #474a51;border-radius:43px;background:linear-gradient(135deg,#34373d,#191b20);box-shadow:0 36px 80px #000a,0 0 0 6px #17191d;transform:rotate(4deg)}
.phone-screen{position:relative;overflow:hidden;min-height:520px;padding:25px 20px 22px;border-radius:30px;background:#0f1219}
.phone-camera{position:absolute;top:12px;left:50%;width:90px;height:15px;border-radius:0 0 11px 11px;background:#23262a;transform:translateX(-50%)}
.phone-top{display:flex;justify-content:space-between;align-items:center;margin:12px 0 18px;font-size:12px;font-weight:800}
.phone-top span:last-child{padding:7px 11px;border-radius:15px;background:#182b39;color:#9bcaff}
.phone-title{font-size:23px;font-weight:800;letter-spacing:-.04em}
.phone-subtitle{margin:7px 0 16px;color:#8893a5;font-size:11px}
.mini-board{display:block;width:100%;aspect-ratio:1;overflow:hidden;border:7px solid #242b36;border-radius:19px;background:#f0eee9;box-shadow:0 15px 28px #0007}
.phone-match{display:flex;align-items:center;justify-content:space-between;margin-top:17px;padding:13px 14px;border:1px solid #25303d;border-radius:14px;background:#171c25}
.phone-match strong{font-size:11px}.phone-match small{display:block;margin-top:5px;color:#8994a2;font-size:9px}.phone-match b{color:#8bc1ff;font-size:16px}
.phone-action{display:grid;place-items:center;height:38px;margin-top:14px;border-radius:10px;background:#4d9af2;font-size:11px;font-weight:800}
.floating-note{position:absolute;z-index:2;display:flex;align-items:center;gap:9px;padding:12px 16px;border:1px solid #344258;border-radius:14px;background:#151c27;color:#e9f1ff;box-shadow:0 18px 35px #0007;font-size:12px;font-weight:700}
.floating-note.one{top:10%;left:-18%;transform:rotate(-7deg)}.floating-note.two{right:-6%;bottom:18%;transform:rotate(6deg)}
.floating-note .spark{color:#8dc2ff;font-size:20px}
.feature-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;align-items:center;padding:28px 0 31px;border-top:1px solid #222833;color:#929cab;text-align:center;font-size:13px;font-weight:700}
.feature-strip span{display:inline-flex;align-items:center;justify-content:center;gap:10px}.feature-strip i{color:#85bbff;font-size:19px;font-style:normal}
.home-details{padding:92px 0 116px;border-top:1px solid #1c2430}
.section-heading{max-width:600px;margin:0 auto 37px;text-align:center}.section-heading h2{margin:0;font-size:clamp(28px,4vw,42px);letter-spacing:-.045em}.section-heading p{margin:13px 0 0;color:#a3acbc;line-height:1.6}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.feature-card{padding:28px;border:1px solid #232c3a;border-radius:21px;background:#10151d}.feature-card i{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#172d49;color:#9acaff;font-size:22px;font-style:normal}.feature-card h3{margin:22px 0 9px;font-size:18px}.feature-card p{margin:0;color:#9da8b8;font-size:14px;line-height:1.6}
.site-footer{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:26px 0;border-top:1px solid #222833;color:#8f99a8;font-size:12px}.site-footer a:hover{color:#fff}.footer-links{display:flex;gap:20px}

/* Authentication pages */
.auth-page{min-height:100vh}
.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}
.auth-art{position:relative;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;padding:42px clamp(32px,5vw,84px);background:linear-gradient(150deg,#55a6fa 0%,#2e7ed9 44%,#1754a6 100%)}
.auth-art:before,.auth-art:after{content:"";position:absolute;width:140%;height:130px;left:-20%;border:1px solid #d9efff45;background:#ffffff12;transform:rotate(-47deg)}
.auth-art:before{top:21%}.auth-art:after{top:68%}
.auth-art .site-brand{position:relative;z-index:2}.auth-art .site-brand-mark{border-color:#eff8ff;box-shadow:none}
.auth-art .site-brand-mark:before,.auth-art .site-brand-mark:after,.auth-art .site-brand-mark i{background:#fff}
.art-cards{position:absolute;z-index:1;top:26%;left:50%;display:flex;gap:18px;transform:translateX(-50%) rotate(-15deg)}
.art-card{position:relative;width:172px;height:204px;border:1px solid #eff8ffb7;border-radius:20px;background:linear-gradient(135deg,#e3f5ffeb,#8ec4ffb0 52%,#57a3faaf);box-shadow:0 25px 48px #0d478c49, inset 0 1px 0 #fff9;backdrop-filter:blur(6px)}
.art-card:nth-child(2){margin-top:65px;transform:rotate(20deg)}
.art-card:before{content:"";position:absolute;top:20px;left:19px;width:34px;height:34px;border:3px solid #ffffffcf;border-radius:50%}
.art-card .dice-face{position:absolute;right:22px;bottom:20px;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#f5fbff;color:#297bcd;font-size:27px;font-weight:800;box-shadow:0 8px 16px #1059a54d}
.auth-art-copy{position:relative;z-index:2;max-width:460px}.auth-art-copy h2{margin:0;font-size:clamp(28px,3vw,42px);line-height:1.22;letter-spacing:-.05em}.auth-art-copy p{max-width:390px;margin:14px 0 0;color:#e7f4ff;font-size:14px;line-height:1.6}.art-pagination{display:flex;gap:5px;margin-top:30px}.art-pagination i{width:8px;height:4px;border-radius:3px;background:#d6eafd7d}.art-pagination i:first-child{width:25px;background:white}
.auth-content{display:flex;align-items:center;justify-content:center;padding:52px clamp(30px,6vw,100px);background:#090b10}
.auth-form{width:min(100%,410px)}.auth-form h1{margin:0 0 13px;font-size:38px;letter-spacing:-.055em}.auth-intro{margin:0 0 36px;color:#9ea8b9;font-size:14px;line-height:1.65}
.form-field{margin:0 0 21px}.form-field label{display:block;margin-bottom:10px;color:#e0e7f1;font-size:12px;font-weight:600}.field-control{display:flex;align-items:center;height:51px;border:1px solid #343a46;border-radius:8px;background:#0e1117;transition:border-color .2s,box-shadow .2s}.field-control:focus-within{border-color:#64a8f8;box-shadow:0 0 0 3px #3b85e12b}.field-control input{width:100%;height:100%;padding:0 15px;border:0;outline:0;background:transparent;color:#fff;font-size:14px}.field-control input::placeholder{color:#697483}.field-control input:disabled{opacity:.52}.password-toggle{display:grid;place-items:center;width:47px;height:45px;margin-right:3px;border:0;background:transparent;color:#9caabd;font-size:12px;font-weight:700}.password-toggle:hover{color:white}
.form-helper{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-5px 0 27px;color:#93a0b2;font-size:12px}.form-helper a{color:#80baff}
.form-submit{width:100%;height:52px;border:1px solid #78b8ff;border-radius:8px;background:linear-gradient(120deg,#5ba7f9,#3d89e4);color:white;font-size:13px;font-weight:700;box-shadow:0 15px 30px #267de327;transition:filter .2s,transform .2s}.form-submit:hover:not(:disabled){filter:brightness(1.08);transform:translateY(-1px)}.form-submit:disabled{opacity:.45;box-shadow:none}
.auth-switch{margin:21px 0 0;color:#a5adbb;text-align:center;font-size:12px}.auth-switch a{color:#8dc2ff;font-weight:700}
.auth-error,.auth-note{padding:13px 15px;margin:0 0 22px;border:1px solid #9b4545;border-radius:9px;background:#3b1a21;color:#ffd6d6;font-size:13px;line-height:1.5}.auth-note{border-color:#37516f;background:#122239;color:#c7e1ff}
.auth-back{display:inline-flex;align-items:center;gap:9px;margin-top:30px;color:#9aaabd;font-size:12px}.auth-back:hover{color:#fff}

/* Admin setup uses the reference's blue information card + dark form layout. */
.signup-page{min-height:100vh}.signup-main{display:grid;grid-template-columns:minmax(300px,.87fr) minmax(360px,1fr);align-items:center;gap:clamp(56px,9vw,130px);padding:72px 0 110px}
.signup-info{position:relative;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;min-height:475px;padding:40px;border:1px solid #9ed1ff;border-radius:18px;background:linear-gradient(160deg,#58aaff,#2e86e2 52%,#cfebff);box-shadow:0 25px 65px #0a488557}
.signup-info:before{content:"";position:absolute;width:460px;height:460px;right:-160px;bottom:-185px;border:1px solid #fff7;border-radius:50%;box-shadow:0 0 0 76px #fff1,0 0 0 160px #fff1}
.signup-info>*{position:relative;z-index:1}.signup-info h2{max-width:310px;margin:0;font-size:30px;line-height:1.2;letter-spacing:-.05em}.signup-info p{max-width:320px;color:#ecf7ff;font-size:14px;line-height:1.65}.signup-info-bottom strong{display:block;font-size:13px}.signup-info-bottom span{display:block;margin-top:10px;color:#f1f8ff;font-size:12px;line-height:1.5}
.signup-main .auth-form{width:min(100%,450px)}.signup-main .auth-form h1{font-size:34px}

@media(max-width:900px){.site-nav{gap:15px}.home-hero{gap:30px;grid-template-columns:minmax(0,1fr) minmax(330px,.9fr)}.floating-note{display:none}.signup-main{gap:36px}.auth-art{padding-inline:35px}}
@media(max-width:740px){.site-shell{width:min(100% - 36px,580px)}.site-header{min-height:75px}.site-nav{display:none}.site-actions{gap:7px}.pill-link{padding-inline:13px;font-size:12px}.home-hero{grid-template-columns:1fr;gap:28px;min-height:0;padding:65px 0 72px}.hero-copy h1{font-size:clamp(42px,11vw,65px)}.hero-copy .lead{font-size:16px}.home-visual{min-height:525px}.floating-note{display:none}.feature-strip{grid-template-columns:1fr 1fr;gap:19px}.feature-grid{grid-template-columns:1fr}.home-details{padding:72px 0}.auth-layout{grid-template-columns:1fr}.auth-art{min-height:220px;padding:25px 28px}.auth-art:before,.auth-art:after,.art-cards,.art-pagination{display:none}.auth-art-copy h2{margin-top:38px;font-size:26px}.auth-art-copy p{margin-top:7px;font-size:12px}.auth-content{align-items:flex-start;min-height:calc(100vh - 220px);padding:40px 26px 60px}.auth-form h1{font-size:32px}.signup-main{grid-template-columns:1fr;gap:43px;padding:35px 0 80px}.signup-info{min-height:265px;padding:28px}.signup-info h2{font-size:26px}.signup-main .auth-form{margin:auto}.signup-main .auth-form h1{font-size:32px}}
@media(max-width:420px){.site-brand{font-size:16px}.site-brand-mark{width:26px;height:26px}.site-actions .pill-link{padding:0 11px}.floating-note{display:none}.home-visual{min-height:480px}.phone-frame{width:min(330px,92%)}.phone-screen{min-height:480px}.site-footer{align-items:flex-start;flex-direction:column}.footer-links{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
