*,*:before,*:after{box-sizing:border-box}html{overflow-x:hidden}html,body{margin:0;min-height:100%}body{overflow-x:hidden;font-family:Segoe UI,system-ui,-apple-system,BlinkMacSystemFont,Helvetica Neue,sans-serif;background:radial-gradient(ellipse 80% 50% at 50% -10%,rgba(34,197,94,.18),transparent),linear-gradient(180deg,#0b1220,#0f172a 45%,#111827);color:#e5e7eb;-webkit-font-smoothing:antialiased}#root{min-height:100vh;min-height:100dvh}.page{min-height:100vh;min-height:100dvh;width:100%;max-width:100vw;overflow-x:hidden;padding:max(clamp(12px,3vw,20px),env(safe-area-inset-top)) max(clamp(12px,3vw,20px),env(safe-area-inset-right)) max(clamp(20px,4vw,28px),env(safe-area-inset-bottom)) max(clamp(12px,3vw,20px),env(safe-area-inset-left))}.shell{width:min(100%,960px);max-width:100%;margin:0 auto;display:flex;flex-direction:column;gap:clamp(16px,4vw,24px)}.shell-narrow{max-width:min(100%,560px);margin-top:clamp(8vh,12vw,12vh)}.hero{text-align:center;padding:clamp(4px,2vw,12px) clamp(4px,2vw,8px) 0}.logo-mark{width:clamp(48px,14vw,56px);height:clamp(48px,14vw,56px);margin:0 auto clamp(8px,2.5vw,12px);border-radius:16px;display:grid;place-items:center;font-size:clamp(22px,6vw,28px);font-weight:800;color:#bbf7d0;background:linear-gradient(145deg,#14532d,#166534);border:1px solid rgba(74,222,128,.35);box-shadow:0 12px 40px #00000059}.hero h1{margin:0;font-size:clamp(1.75rem,5vw,2.75rem);font-weight:800;letter-spacing:-.02em;line-height:1.1}.brand-tagline{margin-top:clamp(8px,2vw,10px);font-weight:400;color:#94a3b8;font-size:clamp(.92rem,2.6vw,1.05rem);line-height:1.45}@media(min-width:640px){.brand-tagline{white-space:nowrap}}.tagline{margin:clamp(8px,2vw,10px) auto 0;max-width:36rem;padding-inline:clamp(4px,2vw,12px);color:#94a3b8;font-size:clamp(.95rem,2.8vw,1.125rem);line-height:1.5}.card{width:100%;max-width:100%;background:#0f172ad1;border:1px solid rgba(148,163,184,.18);border-radius:clamp(16px,4vw,20px);padding:clamp(16px,4vw,28px);box-shadow:0 20px 50px #00000047;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);overflow-wrap:break-word}.invite-card h2{margin:8px 0 12px;font-size:clamp(1.15rem,4vw,1.6rem);line-height:1.3}.eyebrow{margin:0;color:#4ade80;font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.body-text{margin:0;color:#cbd5e1;line-height:1.55;font-size:clamp(.95rem,2.8vw,1rem)}.code-label{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:18px 0 0;color:#94a3b8;font-size:clamp(.88rem,2.6vw,.95rem)}.code-value{display:inline-block;max-width:100%;margin-left:0;padding:6px 12px;border-radius:8px;background:#1e293be6;border:1px solid rgba(148,163,184,.25);color:#f8fafc;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:clamp(.9rem,3.5vw,1rem);font-weight:700;letter-spacing:.06em;overflow-wrap:anywhere;word-break:break-all}.actions{display:flex;flex-direction:column;gap:10px}.btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;border:none;border-radius:12px;padding:12px 18px;font-size:clamp(.95rem,2.8vw,1rem);font-weight:700;line-height:1.25;cursor:pointer;text-align:center;text-decoration:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:transform .12s ease,box-shadow .12s ease,background .12s ease}.btn:active{transform:translateY(1px)}.btn-primary{color:#052e16;background:linear-gradient(180deg,#4ade80,#22c55e);box-shadow:0 10px 24px #22c55e47}.btn-primary:hover{filter:brightness(1.05)}.btn-secondary{color:#e2e8f0;background:#1e293bf2;border:1px solid rgba(148,163,184,.28)}.btn-secondary:hover{background:#334155f2}.btn-link{display:inline-flex;width:auto;min-width:min(100%,240px);margin-top:16px}.store-badges{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:16px}.badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:.78rem;font-weight:600;white-space:nowrap}.badge-muted{color:#94a3b8;background:#1e293bb3;border:1px dashed rgba(148,163,184,.35)}.footer{text-align:center;color:#64748b;font-size:clamp(.8rem,2.4vw,.85rem);padding:8px 0 4px}.invalid-card h1{margin:0 0 12px;font-size:clamp(1.35rem,4.5vw,1.6rem)}.toast{position:fixed;left:50%;transform:translate(-50%);z-index:1000;width:min(calc(100% - 24px),420px);padding:12px 16px;border-radius:12px;font-size:clamp(.88rem,2.6vw,.92rem);font-weight:600;line-height:1.35;text-align:center;box-shadow:0 12px 32px #00000059;pointer-events:none}.toast-success{background:#14532d;border:1px solid #166534;color:#bbf7d0}.toast-info{background:#1e293b;border:1px solid #334155;color:#e2e8f0}@media(max-width:767px){.toast{top:auto;bottom:max(16px,env(safe-area-inset-bottom))}.code-label{flex-direction:column;align-items:stretch}.code-value{text-align:center}}@media(min-width:640px){.actions{flex-direction:row;flex-wrap:wrap}.actions .btn{flex:1 1 calc(50% - 5px);min-width:0;width:auto}.actions .btn-primary{flex-basis:100%}}@media(min-width:768px){.store-badges{justify-content:flex-start}.actions .btn{flex:1 1 calc(33.333% - 7px);min-width:160px}.actions .btn-primary{flex-basis:calc(33.333% - 7px)}}@media(min-width:900px){.shell{gap:24px}.invite-card,.actions-card{padding:28px 32px}.hero{padding:12px 8px 4px}}@media(min-width:1024px){.actions .btn{min-width:180px}}.signup-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;display:flex;align-items:center;justify-content:center;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#020617b8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.signup-dialog{width:min(100%,480px);max-height:min(calc(100dvh - max(32px,env(safe-area-inset-top)) - max(32px,env(safe-area-inset-bottom))),720px);display:flex;flex-direction:column;flex-shrink:0;margin:auto;background:#0f172a;border:1px solid rgba(148,163,184,.22);border-radius:20px;box-shadow:0 24px 64px #00000073;overflow:hidden}.signup-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-shrink:0;padding:18px 18px 8px;border-bottom:1px solid rgba(148,163,184,.12)}.signup-title{margin:0;font-size:clamp(1.1rem,3.5vw,1.25rem);line-height:1.3}.signup-close{flex-shrink:0;width:40px;height:40px;border:none;border-radius:10px;background:#1e293be6;color:#e2e8f0;font-size:1.5rem;line-height:1;cursor:pointer}.signup-body{padding:12px 18px 20px;overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;-webkit-overflow-scrolling:touch}.existing-phone-dialog{width:min(100%,420px);align-self:center}.existing-phone-dialog-body{display:flex;flex-direction:column;gap:16px;padding:clamp(20px,5vw,28px);padding-bottom:calc(clamp(20px,5vw,28px) + env(safe-area-inset-bottom,0px))}.existing-phone-dialog-title{margin:0;font-size:clamp(1.2rem,4.5vw,1.45rem);line-height:1.35;text-align:center}.existing-phone-dialog-text{margin:0;color:#cbd5e1;font-size:clamp(.95rem,2.8vw,1rem);line-height:1.55;text-align:center}.existing-phone-dialog-done{width:100%;margin-top:4px}.existing-phone-overlay{align-items:center;justify-content:center}.signup-form{display:flex;flex-direction:column;gap:10px;padding-bottom:max(4px,env(safe-area-inset-bottom))}.signup-hint{margin:0;color:#94a3b8;font-size:.92rem;line-height:1.45}.signup-label{font-size:.82rem;font-weight:600;color:#cbd5e1}.signup-input{width:100%;min-height:48px;padding:12px 14px;border-radius:12px;border:1px solid rgba(148,163,184,.28);background:#0f172af2;color:#f8fafc;font:inherit;font-size:1rem}.signup-input:focus{outline:2px solid rgba(74,222,128,.45);outline-offset:1px}.signup-input-otp{letter-spacing:.2em;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:700}.signup-input-phone{font-variant-numeric:tabular-nums;letter-spacing:.02em;font-size:1.05rem}.signup-submit{margin-top:4px}.signup-secondary-action{width:100%}.signup-text-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:transparent;color:#94a3b8;font:inherit;font-size:.9rem;text-decoration:underline;cursor:pointer;padding:8px 0;min-height:44px}.signup-error{margin:0;color:#fca5a5;font-size:.9rem;line-height:1.4}.signup-dev-diagnostic{margin:0;color:#64748b;font-size:.72rem;line-height:1.35;white-space:pre-wrap;word-break:break-word}.signup-status{display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px 8px;color:#cbd5e1;text-align:center}.signup-spinner{width:36px;height:36px;border-radius:50%;border:3px solid rgba(148,163,184,.25);border-top-color:#4ade80;animation:signup-spin .8s linear infinite}@keyframes signup-spin{to{transform:rotate(360deg)}}.signup-success{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}.signup-success-icon{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;font-size:1.75rem;font-weight:800;color:#052e16;background:linear-gradient(180deg,#4ade80,#22c55e);box-shadow:0 10px 24px #22c55e47}.signup-success-subtitle{margin:0;font-size:1.05rem;font-weight:700;color:#f8fafc}.signup-footnote{margin:0;color:#64748b;font-size:.82rem;line-height:1.45}.signup-success-actions{display:flex;flex-direction:column;gap:10px;width:100%;margin-top:8px}.signup-share-url{margin:4px 0 0;color:#64748b;font-size:.75rem;word-break:break-all}.signup-error-panel{display:flex;flex-direction:column;gap:12px}.page-flow{padding-bottom:max(clamp(24px,5vw,40px),env(safe-area-inset-bottom))}.referral-signup-page.page-flow{min-height:100dvh;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-y;overscroll-behavior-y:auto;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 24px)}.shell-flow{max-width:min(100%,560px);justify-content:flex-start;padding-top:clamp(8px,2vh,20px);padding-bottom:calc(env(safe-area-inset-bottom,0px) + 16px)}.referral-signup-page.keyboard-active .referral-page-footer,.referral-signup-page.keyboard-active .referral-signup-hero,.referral-signup-page.keyboard-active .referral-invite-card{display:none}.referral-signup-page.keyboard-active .shell-flow{padding-top:clamp(12px,4vh,32px);padding-bottom:calc(env(safe-area-inset-bottom,0px) + 32px)}.referral-signup-page.keyboard-active .referral-signup-card{margin-bottom:24px;padding-bottom:28px;scroll-margin-bottom:180px}.referral-signup-page.keyboard-active.signup-step-profile-page .referral-signup-card{margin-bottom:32px;padding-bottom:calc(28px + env(safe-area-inset-bottom,0px));scroll-margin-bottom:220px}.referral-signup-page.keyboard-active .signup-step-profile .signup-form{padding-bottom:min(42vh,300px)}.referral-signup-page.keyboard-active .signup-step-profile .signup-actions{scroll-margin-bottom:200px;padding-bottom:12px}.referral-signup-card.flow-step-card{padding:clamp(18px,4vw,24px);padding-bottom:calc(clamp(20px,5vw,28px) + env(safe-area-inset-bottom,0px))}.signup-step .signup-form{padding-bottom:12px}.signup-actions{display:flex;flex-direction:column;gap:10px;width:100%;padding-bottom:4px}.flow-step-card{padding:clamp(18px,4vw,24px)}.flow-step-title{margin:0 0 12px;font-size:clamp(1.15rem,4vw,1.35rem);line-height:1.3}.flow-success-page{margin-top:clamp(12vh,16vw,18vh);display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}.referral-success-page.page-flow{min-height:100dvh;display:flex;flex-direction:column;overflow-y:auto;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding-top:max(env(safe-area-inset-top,0px),16px);padding-bottom:max(env(safe-area-inset-bottom,0px),24px)}.shell-flow-success{flex:1;display:flex;align-items:center;justify-content:center;width:100%;min-height:0;padding-top:clamp(16px,4vh,32px);padding-bottom:clamp(16px,4vh,32px)}.referral-success-page .flow-success-page{margin-top:0;width:100%;max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 32px);overflow-y:auto;-webkit-overflow-scrolling:touch}.flow-success-icon{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;font-size:2rem;font-weight:800;color:#bbf7d0;background:linear-gradient(145deg,#14532d,#166534);border:2px solid rgba(74,222,128,.45);box-shadow:0 16px 40px #00000059}.flow-success-title{margin:8px 0 0;font-size:clamp(1.25rem,4.5vw,1.5rem);line-height:1.35}.flow-success-text{margin:0;color:#cbd5e1;font-size:clamp(.95rem,2.8vw,1rem);line-height:1.5;max-width:28rem}.flow-success-footnote{margin:4px 0 0;color:#94a3b8;font-size:.85rem;line-height:1.45;max-width:28rem}.flow-success-actions{display:flex;flex-direction:column;gap:10px;width:100%;max-width:100%;margin-top:12px}.store-download-actions{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%}.store-badges-note{margin:0;text-align:center;color:#94a3b8;font-size:clamp(.88rem,2.5vw,.95rem);line-height:1.45}.store-publish-block{display:flex;flex-direction:column;align-items:center;gap:clamp(12px,3vw,16px);width:100%;text-align:center}.store-badge-row{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;width:100%}.store-badge-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:220px;height:64px;min-width:220px;max-width:220px;min-height:64px;max-height:64px;display:inline-flex;align-items:center;justify-content:center;padding:0;margin:0;border:0;background:transparent;line-height:0;box-sizing:border-box;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:transform .12s ease,opacity .12s ease;flex-shrink:0;overflow:visible}.store-badge-button:active{transform:translateY(1px);opacity:.92}.store-badge-image{width:220px;height:64px;min-width:220px;max-width:220px;min-height:64px;max-height:64px;display:block;object-fit:fill;box-sizing:border-box}.home-cta-card{display:flex;flex-direction:column;gap:clamp(12px,3vw,16px);text-align:center}.home-cta-copy{display:flex;flex-direction:column;gap:clamp(10px,2.5vw,12px);align-items:center}.home-cta-title{margin:0;font-size:clamp(1.15rem,3.8vw,1.45rem);font-weight:700;line-height:1.35;letter-spacing:-.01em;text-align:center}.home-cta-text{margin:0;max-width:36rem;text-align:center}.home-store-section{margin-top:clamp(4px,1.5vw,8px);padding-top:clamp(26px,5vw,34px);border-top:1px solid rgba(148,163,184,.14);display:flex;flex-direction:column;align-items:center;text-align:center}.home-store-section .store-download-actions{gap:0;width:100%}.home-actions{margin-top:18px}.home-features{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(12px,3vw,16px);align-items:stretch}.home-feature-card{display:flex;flex-direction:column;height:100%;min-height:0;transition:transform .2s ease,border-color .2s ease,background-color .2s ease,box-shadow .2s ease}.home-feature-card:hover{transform:translateY(-2px);border-color:#4ade8052;background:#14532d24;box-shadow:0 16px 40px #00000038}.home-feature-card h3{margin:0 0 8px;font-size:clamp(1rem,3.2vw,1.15rem)}.home-feature-text{margin:0;flex:1}@media(min-width:640px){.home-features{grid-template-columns:repeat(2,minmax(0,1fr))}.home-feature-card-wide{grid-column:1 / -1}}
