:root { --ink:#19233a; --muted:#6f7890; --line:#e7eaf0; --canvas:#f7f8fb; --surface:#fff; --navy:#1d2942; --indigo:#4e5cbf; --indigo-dark:#404da8; --soft-indigo:#f0f2ff; --green:#1f9d74; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:var(--canvas); font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing:antialiased; }
h1,h2,h3,p { margin-top:0; } button,input { font:inherit; }
.brand { display:inline-flex; align-items:center; gap:10px; color:var(--navy); font-size:1.05rem; font-weight:750; letter-spacing:-.035em; text-decoration:none; }
.brand-light { color:#fff; }.brand-mark { display:grid; place-items:center; width:32px; height:32px; color:#fff; background:var(--indigo); border-radius:9px; }.brand-mark svg { width:18px; height:18px; }.brand-light .brand-mark { background:rgba(255,255,255,.14); }
.eyebrow { margin-bottom:8px; color:var(--indigo); font-size:.69rem; font-weight:750; letter-spacing:.1em; text-transform:uppercase; }.eyebrow-light { color:#aeb9ff; }
.auth-page { min-height:100vh; }.auth-layout { display:grid; grid-template-columns:minmax(420px,1.05fr) minmax(480px,.95fr); min-height:100vh; }
.auth-intro { position:relative; display:flex; flex-direction:column; padding:44px clamp(48px,8vw,130px); color:#fff; overflow:hidden; background:#202b46; }.auth-intro::after { position:absolute; right:-13rem; bottom:-17rem; width:43rem; height:43rem; border:1px solid rgba(177,191,255,.12); border-radius:50%; content:""; box-shadow:0 0 0 65px rgba(177,191,255,.035),0 0 0 130px rgba(177,191,255,.02); }.auth-intro-copy { max-width:520px; margin:auto 0; position:relative; z-index:1; }.auth-intro h1 { max-width:470px; margin-bottom:20px; font-size:clamp(2.5rem,4.5vw,4.4rem); font-weight:650; line-height:1.07; letter-spacing:-.058em; }.auth-intro-copy > p:last-child { max-width:450px; color:#c2c9d9; font-size:1.05rem; line-height:1.7; }.security-note { position:relative; z-index:1; display:flex; gap:13px; align-items:center; color:#bdc5d6; font-size:.82rem; line-height:1.55; }.security-note strong { color:#fff; font-weight:650; }.note-icon { display:grid; flex:0 0 auto; place-items:center; width:35px; height:35px; color:#c9d0ff; background:rgba(255,255,255,.08); border-radius:50%; }.note-icon svg { width:17px; }
.auth-panel { display:grid; place-items:center; padding:48px 30px; background:#fff; }.auth-card { width:min(100%,410px); }.auth-card-heading { margin-bottom:32px; }.auth-card h2 { margin-bottom:10px; font-size:1.9rem; font-weight:680; letter-spacing:-.045em; }.auth-card-heading > p:last-child { margin:0; color:var(--muted); font-size:.93rem; line-height:1.6; }
.field-group { margin-bottom:19px; }.form-label { margin-bottom:8px; color:#354057; font-size:.82rem; font-weight:680; }.form-control { min-height:47px; padding:11px 13px; color:var(--ink); border:1px solid #dfe3eb; border-radius:8px; box-shadow:none!important; font-size:.92rem; }.form-control::placeholder { color:#a5acba; }.form-control:focus { border-color:#7785db; box-shadow:0 0 0 3px rgba(78,92,191,.11)!important; }.password-field { position:relative; }.password-field .form-control { padding-right:52px; }.password-toggle { position:absolute; top:50%; right:7px; display:grid; place-items:center; width:32px; height:32px; padding:0; color:#6675bf; background:transparent; border:0; border-radius:6px; transform:translateY(-50%); }.password-toggle svg { width:18px; height:18px; }.password-toggle:hover { color:#3f4dab; background:var(--soft-indigo); }.password-toggle:focus-visible { outline:2px solid #8b97e0; outline-offset:1px; }.field-hint { margin:8px 0 0; color:var(--muted); font-size:.76rem; line-height:1.45; }.recovery-link { color:var(--indigo); font-weight:700; text-decoration:none; }.recovery-link:hover, .recovery-link:focus { color:var(--indigo-dark); text-decoration:underline; }.modal-subtitle { margin:0 0 18px; color:#4f5c77; font-size:.92rem; }.app-modal-card .modal-actions { display:flex; justify-content:flex-end; gap:12px; margin-top:18px; }.app-modal-card .modal-actions .btn { min-width:95px; } 
.btn { border-radius:8px; font-size:.88rem; font-weight:650; transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease; }.btn:active { transform:translateY(1px); }.btn:disabled { cursor:not-allowed; opacity:.68; box-shadow:none; }.btn-primary { min-height:47px; border:1px solid var(--indigo); background:var(--indigo); box-shadow:0 5px 12px rgba(61,72,162,.16); }.btn-primary:hover,.btn-primary:focus { border-color:var(--indigo-dark); background:var(--indigo-dark); box-shadow:0 7px 16px rgba(61,72,162,.2); }.btn-full { display:flex; justify-content:space-between; align-items:center; width:100%; padding-inline:16px; }.btn-quiet { min-height:45px; margin-top:9px; color:#4f5c77; background:#fff; border:1px solid #e2e6ed; }.btn-quiet:hover { color:var(--navy); border-color:#cbd1dd; background:#fafbfc; }.btn.is-loading { justify-content:center; gap:9px; }.spinner { display:inline-block; width:15px; height:15px; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:spin .65s linear infinite; }.btn-primary .spinner { color:#fff; }.form-message { min-height:20px; margin-top:15px; font-size:.8rem; }.forgot-link { display:inline-block; margin-top:9px; color:#5968bd; font-size:.76rem; font-weight:650; text-decoration:none; }.forgot-link:hover,.auth-switch a:hover { color:#3f4dab; text-decoration:underline; }.auth-switch { margin:18px 0 0; color:#7f8798; font-size:.79rem; text-align:center; }.auth-switch a { color:#5362bd; font-weight:700; text-decoration:none; }.auth-footer { margin-top:28px; color:#9ba3b3; font-size:.72rem; line-height:1.5; text-align:center; }
.auth-note { margin-top:14px; color:#6d7791; font-size:.79rem; line-height:1.6; text-align:center; }.folder-upload-summary { margin-top:10px; padding:10px 12px; color:#40506f; background:#f5f7ff; border:1px solid #dfe4ff; border-radius:8px; font-size:.78rem; line-height:1.5; }.generate-keys-button { min-height:36px; padding:7px 10px; margin-top:10px; font-size:.76rem; }
.footer-links { display:flex; flex-wrap:wrap; gap:18px; align-items:center; }
.landing-footer { padding:22px 0; color:#8c95a6; background:#fff; border-top:1px solid #edf0f4; }
.landing-footer .app-shell { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; }
.landing-footer a { color:#52607a; text-decoration:none; font-size:.82rem; font-weight:700; }
.landing-footer a:hover { color:var(--indigo); }
.app-shell { width:min(1180px,calc(100% - 48px)); margin:auto; }.app-header { height:72px; background:#fff; border-bottom:1px solid var(--line); }.header-inner { display:flex; align-items:center; justify-content:space-between; height:100%; }.account-area { display:flex; gap:11px; align-items:center; }.account-avatar { display:grid; place-items:center; width:30px; height:30px; color:#5260ba; background:var(--soft-indigo); border-radius:50%; font-size:.61rem; font-weight:750; }.user-email { max-width:205px; overflow:hidden; color:#596379; font-size:.8rem; text-overflow:ellipsis; white-space:nowrap; }.btn-logout { min-height:auto; padding:7px 10px; margin-left:7px; color:#596379; border:1px solid transparent; background:transparent; font-size:.78rem; }.btn-logout:hover { color:#29354f; border-color:#e2e6ed; background:#f8f9fb; }
.dashboard-content { padding-top:62px; padding-bottom:45px; }.page-heading { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:35px; }.page-heading h1 { margin-bottom:9px; font-size:2.1rem; font-weight:680; letter-spacing:-.05em; }.page-heading > div > p:last-child { margin:0; color:var(--muted); font-size:.92rem; }.encrypted-status { display:flex; gap:8px; align-items:center; padding:8px 11px; color:#47605a; background:#f1f8f5; border:1px solid #dcefe6; border-radius:20px; font-size:.72rem; font-weight:650; }.status-dot { width:6px; height:6px; background:var(--green); border-radius:50%; }
.vault-grid { display:grid; grid-template-columns:minmax(280px,.72fr) minmax(450px,1.28fr); gap:23px; align-items:start; }.surface { background:var(--surface); border:1px solid var(--line); border-radius:13px; }.upload-card { padding:27px; }.vault-card { min-height:407px; padding:27px; }.surface-heading { display:flex; gap:13px; margin-bottom:29px; }.surface-heading h2 { margin-bottom:5px; font-size:1.03rem; font-weight:700; letter-spacing:-.025em; }.surface-heading p { margin:0; color:var(--muted); font-size:.79rem; line-height:1.5; }.section-icon { display:grid; flex:0 0 auto; place-items:center; width:37px; height:37px; color:var(--indigo); background:var(--soft-indigo); border-radius:9px; }.section-icon svg { width:19px; }.file-control { padding-top:9px; }.file-control::file-selector-button { padding:5px 9px; margin-right:10px; color:#4d5bb6; background:#f0f2ff; border:0; border-radius:5px; font-size:.76rem; font-weight:650; }.upload-status { margin-top:14px; font-size:.82rem; }.upload-status .alert { padding:10px 12px; margin:0; border-radius:7px; font-size:.78rem; }.vault-heading { justify-content:space-between; align-items:flex-start; padding-bottom:18px; margin-bottom:0; border-bottom:1px solid #edf0f4; }.vault-heading .eyebrow { margin-bottom:5px; }.file-count { padding:5px 9px; color:#5f6b83; background:#f7f8fa; border-radius:5px; font-size:.69rem; font-weight:650; }.file-list { padding-top:8px; }.folders-panel { margin:16px 0 20px; padding:14px; background:#fafbff; border:1px solid #e7ebf7; border-radius:10px; }.folders-panel-header { margin-bottom:10px; }.folders-panel-header h3 { margin-bottom:4px; color:#34425f; font-size:.95rem; }.folders-panel-header p { margin:0; color:var(--muted); font-size:.75rem; line-height:1.45; }.folder-list { display:grid; gap:8px; }.folder-item { display:flex; justify-content:space-between; align-items:center; padding:9px 10px; background:#fff; border:1px solid #eceff7; border-radius:8px; font-size:.8rem; }.folder-actions { display:flex; gap:8px; }.folder-group { margin-bottom:18px; padding:18px; background:#fff; border:1px solid #e8eef8; border-radius:14px; }.folder-group-header { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:14px; font-size:.95rem; font-weight:700; color:#24334d; }.folder-badge { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:5px 12px; color:#4f5c77; background:#f5f7fb; border-radius:999px; font-size:.78rem; }.folder-group-files { display:grid; gap:12px; }.folder-locked { padding:18px 16px; background:#f5f6ff; border:1px dashed #d7d5f5; border-radius:12px; color:#3f4560; text-align:center; }.folder-locked p { margin:0 0 12px; color:#555f78; line-height:1.6; }.folder-item strong { color:#34425f; }.folder-actions { display:flex; gap:6px; }.folder-actions .btn { min-height:auto; padding:6px 8px; font-size:.72rem; }.folder-group { margin:12px 0 16px; padding:10px 0 0; }.folder-group-header { margin-bottom:8px; color:#374565; font-size:.76rem; font-weight:750; letter-spacing:.08em; text-transform:uppercase; }.folder-group-files .file-item { margin-bottom:0; padding:12px 0; }.loading-state { display:flex; gap:9px; align-items:center; justify-content:center; min-height:260px; color:var(--muted); font-size:.8rem; }.loading-state .spinner { color:var(--indigo); }.empty-state { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:260px; color:var(--muted); text-align:center; }.empty-icon { display:grid; place-items:center; width:44px; height:44px; margin-bottom:13px; color:#9aa4bc; background:#f7f8fc; border-radius:50%; }.empty-icon svg { width:21px; }.empty-state h3 { margin-bottom:5px; color:#536078; font-size:.9rem; font-weight:680; }.empty-state p { margin:0; font-size:.79rem; }.dashboard-footnote { margin:22px 0 0; color:#929aab; font-size:.74rem; text-align:center; } @keyframes spin { to { transform:rotate(360deg); } }
.file-item { display:flex; justify-content:space-between; gap:20px; align-items:center; padding:15px 0; border:0!important; border-bottom:1px solid #edf0f4!important; background:transparent!important; }.file-item:last-child { border-bottom:0!important; }.file-item h6 { margin:0 0 3px!important; color:#34425f!important; font-size:.86rem; font-weight:680; }.file-item small { color:#8a93a4!important; font-size:.72rem; }.file-item .btn-success { padding:7px 10px; color:#4460b7; border:1px solid #dbe1f6; background:#f7f8ff; font-size:.73rem; font-weight:650; }.file-item .btn-success:hover { color:#fff; border-color:#5261bf; background:#5261bf; }
.toast-container { position:fixed; z-index:1100; top:22px; right:22px; display:grid; gap:10px; width:min(360px,calc(100vw - 32px)); }.app-toast { display:flex; gap:11px; align-items:flex-start; padding:13px 15px; color:#33405c; background:#fff; border:1px solid var(--line); border-left:3px solid var(--indigo); border-radius:10px; box-shadow:0 12px 30px rgba(20,31,54,.12); font-size:.82rem; line-height:1.45; animation:toast-in .22s ease-out; }.app-toast::before { flex:0 0 auto; width:7px; height:7px; margin-top:5px; background:var(--indigo); border-radius:50%; content:""; }.app-toast.toast-success { border-left-color:var(--green); }.app-toast.toast-success::before { background:var(--green); }.app-toast.toast-error { border-left-color:#c44a55; }.app-toast.toast-error::before { background:#c44a55; }.app-modal { position:fixed; z-index:1050; inset:0; display:none; place-items:center; padding:20px; }.app-modal.is-open { display:grid; }.app-modal-backdrop { position:absolute; inset:0; background:rgba(20,29,48,.48); backdrop-filter:blur(3px); }.app-modal-card { position:relative; z-index:1; width:min(100%,410px); padding:29px; background:#fff; border-radius:13px; box-shadow:0 22px 60px rgba(15,25,48,.22); animation:modal-in .18s ease-out; }.modal-close { position:absolute; top:14px; right:14px; display:grid; place-items:center; width:28px; height:28px; padding:0; color:#778096; background:transparent; border:0; border-radius:5px; font-size:1.3rem; line-height:1; }.modal-close:hover { color:var(--ink); background:#f4f6f9; }.modal-icon { display:grid; place-items:center; width:40px; height:40px; margin-bottom:18px; color:var(--indigo); background:var(--soft-indigo); border-radius:10px; }.modal-icon svg { width:20px; }.app-modal-card h2 { margin-bottom:7px; font-size:1.2rem; font-weight:700; letter-spacing:-.03em; }.app-modal-card > p { margin-bottom:23px; color:var(--muted); font-size:.83rem; line-height:1.55; }.modal-actions { display:flex; justify-content:flex-end; gap:9px; margin-top:22px; }.modal-actions .btn { min-height:40px; padding:8px 13px; }.modal-actions .btn-quiet { margin-top:0; } @keyframes toast-in { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } } @keyframes modal-in { from { opacity:0; transform:scale(.97); } to { opacity:1; transform:scale(1); } }
.landing-page { background:#fff; }.landing-header { height:74px; border-bottom:1px solid var(--line); }.landing-nav { display:flex; align-items:center; justify-content:space-between; height:100%; }.landing-actions { display:flex; gap:19px; align-items:center; }.nav-login,.hero-text-link { color:#52607a; font-size:.82rem; font-weight:650; text-decoration:none; }.nav-login:hover,.hero-text-link:hover { color:var(--indigo); }.nav-cta { min-height:39px; padding:9px 13px; font-size:.78rem; }.hero { display:grid; grid-template-columns:1.05fr .95fr; gap:55px; align-items:center; min-height:540px; padding-top:72px; padding-bottom:72px; }.hero-copy h1 { max-width:630px; margin-bottom:19px; color:#1c2740; font-size:clamp(2.65rem,5vw,4.55rem); font-weight:680; line-height:1.05; letter-spacing:-.065em; }.hero-copy > p:not(.eyebrow):not(.hero-note) { max-width:530px; margin-bottom:28px; color:var(--muted); font-size:1rem; line-height:1.7; }.hero-actions { display:flex; gap:21px; align-items:center; }.hero-cta { min-height:49px; padding:13px 16px; }.hero-note { display:flex; gap:8px; align-items:center; margin:18px 0 0; color:#7e889b; font-size:.76rem; }.hero-visual { position:relative; min-height:350px; display:grid; place-items:center; }.visual-glow { position:absolute; width:300px; height:300px; background:#eef0ff; border-radius:50%; filter:blur(3px); }.vault-window { position:relative; z-index:1; width:min(100%,390px); overflow:hidden; background:#fff; border:1px solid #e3e7f0; border-radius:15px; box-shadow:0 22px 48px rgba(39,52,90,.13); }.window-bar { display:flex; gap:5px; align-items:center; padding:13px 15px; border-bottom:1px solid #edf0f4; }.window-bar span { width:6px; height:6px; background:#d6dae3; border-radius:50%; }.window-bar p { margin:0 0 0 7px; color:#7f899d; font-size:.68rem; font-weight:650; }.window-body { display:flex; gap:12px; align-items:center; padding:22px 19px; border-bottom:1px solid #edf0f4; }.window-lock { display:grid; place-items:center; width:39px; height:39px; color:#5262bd; background:#eef0ff; border-radius:9px; }.window-lock svg { width:20px; }.window-body strong { display:block; color:#34415b; font-size:.82rem; }.window-body small { color:#8992a4; font-size:.7rem; }.window-check { display:grid; place-items:center; width:20px; height:20px; margin-left:auto; color:#fff; background:#2b9a74; border-radius:50%; font-size:.7rem; }.file-row { display:flex; gap:9px; align-items:center; padding:13px 18px; color:#59657b; border-bottom:1px solid #f0f2f5; font-size:.72rem; }.file-row:last-child { border:0; }.file-dot { width:18px; height:21px; background:#f0f2ff; border:1px solid #dce1ff; border-radius:3px; }.file-row small { margin-left:auto; color:#7887bf; font-size:.65rem; }.trust-section { padding:74px 0; background:#f7f8fb; border-top:1px solid #edf0f4; }.trust-section > .app-shell > .eyebrow { text-align:center; }.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:28px; }.feature-grid article { padding:24px; background:#fff; border:1px solid var(--line); border-radius:11px; }.feature-icon { color:#6573c7; font-size:.72rem; font-weight:750; letter-spacing:.08em; }.feature-grid h2 { margin:22px 0 8px; font-size:1rem; font-weight:700; letter-spacing:-.025em; }.feature-grid p { margin:0; color:var(--muted); font-size:.8rem; line-height:1.6; }/* landing-footer styles are defined earlier for the unified footer layout */
@media (max-width:820px) { .auth-layout { grid-template-columns:1fr; }.auth-intro { min-height:300px; padding:30px 32px; }.auth-intro h1 { max-width:600px; font-size:2.5rem; }.auth-intro-copy { margin:50px 0 30px; }.security-note { display:none; }.auth-panel { padding:48px 28px; }.vault-grid { grid-template-columns:1fr; }.page-heading { align-items:flex-start; gap:20px; }.vault-card { min-height:330px; }.hero { grid-template-columns:1fr; gap:24px; min-height:auto; padding-top:64px; }.hero-copy { text-align:center; }.hero-copy h1,.hero-copy > p:not(.eyebrow):not(.hero-note) { margin-right:auto; margin-left:auto; }.hero-actions,.hero-note { justify-content:center; }.hero-visual { min-height:280px; }.feature-grid { grid-template-columns:1fr; max-width:500px; margin-right:auto; margin-left:auto; } }
@media (max-width:550px) { .app-shell { width:min(100% - 32px,1180px); }.app-header { height:64px; }.user-email { display:none; }.account-area { gap:5px; }.dashboard-content { padding-top:38px; }.page-heading { display:block; margin-bottom:26px; }.encrypted-status { display:inline-flex; margin-top:16px; }.page-heading h1 { font-size:1.85rem; }.upload-card,.vault-card { padding:20px; }.auth-intro { min-height:250px; padding:26px 25px; }.auth-intro h1 { font-size:2.15rem; }.auth-panel { padding:38px 24px; }.auth-card h2 { font-size:1.65rem; }.file-item { gap:12px; align-items:flex-start; }.file-item .btn-success { white-space:nowrap; }.landing-header { height:65px; }.landing-actions { gap:13px; }.nav-login { font-size:.76rem; }.nav-cta { min-height:35px; padding:7px 9px; font-size:.7rem; }.hero { padding-top:50px; padding-bottom:52px; }.hero-copy h1 { font-size:2.55rem; }.hero-actions { flex-direction:column; gap:15px; }.hero-cta { width:100%; justify-content:space-between; }.hero-visual { min-height:240px; }.vault-window { max-width:330px; }.trust-section { padding:52px 0; }.landing-footer .app-shell { display:block; text-align:center; }.landing-footer span { display:block; margin-top:5px; } }
.file-item .btn-success,.file-item .btn-delete { padding:7px 10px; font-size:.73rem; font-weight:650; }.file-item .btn-delete { color:#a94a55; border:1px solid transparent; background:transparent; }.file-item .btn-delete:hover { color:#9c3642; background:#fff1f2; }
.folder-group-header .btn-delete { padding:6px 11px; color:#fff; border:1px solid #c0392b; background:#c0392b; border-radius:7px; font-size:.72rem; font-weight:700; white-space:nowrap; }.folder-group-header .btn-delete:hover { color:#fff; border-color:#a83640; background:#a83640; }.folder-group-header .btn-delete:active { transform:translateY(1px); }
