
:root{
  --bg:#f6f7f9; --surface:#ffffff; --text:#101828; --muted:#667085;
  --brand:#1a73e8; --brand-dark:#0b57d0; --border:#e4e7ec;
  --success:#12b76a; --navy:#0b1220; --radius:16px;
  --shadow:0 1px 2px rgba(16,24,40,.06), 0 12px 32px rgba(16,24,40,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
h1,h2,h3,h4{line-height:1.2;margin:0 0 .5em;letter-spacing:-.02em}
p{margin:0 0 1em}
ul{margin:0;padding:0;list-style:none}
.container{width:min(1120px,calc(100% - 48px));margin:0 auto}
.muted{color:var(--muted)}
.small{font-size:13px}
.eyebrow{display:inline-block;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--brand);margin-bottom:14px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:10px;padding:10px 16px;font:inherit;font-weight:600;font-size:14px;cursor:pointer;transition:.15s ease;white-space:nowrap}
.btn.primary{background:var(--brand);color:#fff;box-shadow:0 1px 2px rgba(16,24,40,.08)}
.btn.primary:hover{background:var(--brand-dark)}
.btn.ghost{background:#fff;border-color:var(--border);color:var(--text)}
.btn.ghost:hover{background:#f9fafb}
.btn.lg{padding:12px 20px;font-size:15px}
.btn.full{width:100%}
.btn:disabled{opacity:.7;cursor:default}

/* header */
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.86);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.header-inner{display:flex;align-items:center;gap:28px;height:68px}
.brand{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:16px;letter-spacing:-.01em}
.brand img{width:30px;height:30px}
.nav{display:flex;gap:24px;margin-left:8px}
.nav a{font-size:14px;color:#344054;font-weight:500}
.nav a:hover{color:var(--text)}
.header-actions{margin-left:auto;display:flex;gap:10px;align-items:center}

/* hero */
.hero{background:linear-gradient(180deg,#fff 0%,#f6f7f9 100%);border-bottom:1px solid var(--border);padding:64px 0 72px}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.hero h1{font-size:clamp(34px,4.4vw,52px);margin-bottom:18px}
.lead{font-size:18px;color:#475467;max-width:560px}
.hero-actions{display:flex;gap:12px;margin:26px 0 20px;flex-wrap:wrap}
.trust{font-size:13px;color:var(--muted);margin:0}

/* app mock */
.app-mock{background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow);overflow:hidden;transform:rotate(-.6deg)}
.mock-top{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--border);background:#fbfcfd;font-size:12px;color:var(--muted)}
.mock-dot{width:8px;height:8px;border-radius:50%;background:#d0d5dd}
.mock-body{display:flex;min-height:300px}
.mock-side{width:150px;border-right:1px solid var(--border);padding:14px 12px;background:#fbfcfd}
.mock-side .item{font-size:12px;color:#475467;padding:7px 8px;border-radius:7px;margin-bottom:2px}
.mock-side .item.active{background:#eaf1fd;color:var(--brand-dark);font-weight:600}
.mock-main{flex:1;padding:16px}
.mock-title{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:600;margin-bottom:12px}
.mock-title span{font-size:11px;font-weight:600;color:#fff;background:var(--brand);padding:4px 8px;border-radius:6px}
.mock-file{display:flex;align-items:center;gap:10px;padding:9px 8px;border-radius:8px;font-size:12px;color:#344054}
.mock-file:nth-child(odd){background:#f9fafb}
.mock-file .ic{width:26px;height:26px;border-radius:6px;background:#eaf1fd;color:var(--brand-dark);display:grid;place-items:center;font-size:10px;font-weight:700}
.mock-file .size{margin-left:auto;color:var(--muted);font-size:11px}
.mock-storage{margin-top:14px;font-size:11px;color:var(--muted)}
.mock-bar{height:6px;background:#eaecf0;border-radius:99px;margin-top:6px;overflow:hidden}
.mock-bar i{display:block;height:100%;width:64%;background:var(--brand);border-radius:99px}

/* stats */
.stats{border-bottom:1px solid var(--border);background:#fff}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:26px 0}
.stat b{display:block;font-size:22px;letter-spacing:-.02em}
.stat span{font-size:13px;color:var(--muted)}

/* sections */
.section{padding:72px 0}
.section-head{max-width:680px;margin-bottom:34px}
.section-head h2{font-size:clamp(26px,3vw,36px)}
.section-head p{font-size:16px;color:#475467}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.card .icon{width:40px;height:40px;border-radius:10px;background:#eaf1fd;color:var(--brand-dark);display:grid;place-items:center;margin-bottom:14px;font-weight:700;font-size:13px}
.card h3{font-size:17px;margin-bottom:6px}
.card p{font-size:14px;color:#475467;margin:0}

/* security band */
.band{background:var(--navy);color:#e6e9ef}
.band .section-head h2{color:#fff}
.band .section-head p{color:#a9b2c3}
.band-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.checks li{position:relative;padding-left:28px;margin-bottom:12px;font-size:15px;color:#d6dbe4}
.checks li::before{content:"";position:absolute;left:0;top:5px;width:14px;height:14px;border-radius:50%;background:rgba(18,183,106,.18);border:1px solid var(--success)}
.checks li::after{content:"";position:absolute;left:4px;top:9px;width:6px;height:3px;border-left:1.6px solid var(--success);border-bottom:1.6px solid var(--success);transform:rotate(-45deg)}
.band .card{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.1);box-shadow:none}
.band .card h3{color:#fff}
.band .card p{color:#a9b2c3}

/* pricing */
.pricing{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.price{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:26px;display:flex;flex-direction:column}
.price.featured{border-color:var(--brand);box-shadow:var(--shadow)}
.price h3{font-size:16px}
.price .amount{font-size:34px;font-weight:700;letter-spacing:-.03em;margin:6px 0 2px}
.price .amount small{font-size:13px;font-weight:500;color:var(--muted);letter-spacing:0}
.price ul{margin:18px 0 22px}
.price li{font-size:13px;color:#475467;padding:7px 0;border-bottom:1px solid #f2f4f7}
.price .btn{margin-top:auto}
.badge{display:inline-block;font-size:11px;font-weight:700;color:var(--brand-dark);background:#eaf1fd;border-radius:99px;padding:4px 9px;margin-bottom:8px}

/* cta */
.cta{background:linear-gradient(135deg,#eaf1fd,#fff);border:1px solid var(--border);border-radius:20px;padding:40px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.cta h2{font-size:26px;margin:0}
.cta p{margin:6px 0 0;color:#475467}

/* footer */
.site-footer{background:#0b1220;color:#98a2b3;padding:52px 0 24px;margin-top:24px}
.site-footer .brand{color:#fff}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px}
.footer-grid h4{color:#e6e9ef;font-size:13px;letter-spacing:.04em;text-transform:uppercase;margin-bottom:12px}
.footer-grid a{display:block;font-size:13px;padding:5px 0;color:#98a2b3}
.footer-grid a:hover{color:#fff}
.footer-brand p{font-size:13px;max-width:280px;margin:12px 0 0}
.footer-bottom{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.08);margin-top:36px;padding-top:18px;font-size:12px;color:#667085}
.status{display:inline-flex;align-items:center;gap:8px;color:#12b76a;font-size:13px;font-weight:600}
.dot{width:8px;height:8px;border-radius:50%;background:var(--success);box-shadow:0 0 0 3px rgba(18,183,106,.15)}

/* auth */
.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}
.auth-panel{background:linear-gradient(160deg,#0b1220,#12305e);color:#e6e9ef;padding:44px;display:flex;flex-direction:column;justify-content:space-between}
.auth-panel .brand{color:#fff}
.panel-copy{max-width:420px}
.panel-copy h2{font-size:clamp(26px,3vw,36px);color:#fff}
.panel-copy p{color:#b7c0cf;font-size:15px}
.auth-main{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 24px}
.auth-card{width:min(420px,100%);background:#fff;border:1px solid var(--border);border-radius:18px;padding:32px;box-shadow:var(--shadow)}
.auth-card h1{font-size:24px;margin-bottom:4px}
.auth-card > p{margin-bottom:22px}
label.field{display:block;font-size:13px;font-weight:600;color:#344054;margin-bottom:14px}
label.field input{display:block;width:100%;margin-top:6px;border:1px solid #d0d5dd;border-radius:10px;padding:11px 12px;font:inherit;font-size:14px;background:#fff;color:var(--text);outline:none}
label.field input:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(26,115,232,.15)}
.pw{position:relative;display:block}
.pw input{padding-right:64px}
.pw-toggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--brand-dark);font:inherit;font-size:12px;font-weight:600;cursor:pointer;padding:6px}
.row{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;margin:2px 0 18px}
.row a{color:var(--brand-dark);font-weight:600}
.check{display:inline-flex;align-items:center;gap:8px;color:#475467;font-size:13px}
.divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin:18px 0}
.divider::before,.divider::after{content:"";height:1px;background:var(--border);flex:1}
.sso{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sso-btn{width:100%;background:#fff;border:1px solid var(--border);color:var(--text);font-weight:600}
.sso-btn:hover{background:#f9fafb}
.alert{margin-top:14px;padding:10px 12px;border-radius:10px;background:#fef3f2;border:1px solid #fecdca;color:#b42318;font-size:13px}
.auth-foot{text-align:center;font-size:13px;color:var(--muted);margin:18px 0 0}
.auth-foot a{color:var(--brand-dark);font-weight:600}
.auth-links{display:flex;gap:18px;flex-wrap:wrap;justify-content:center;margin-top:22px;font-size:12px;color:var(--muted)}
.auth-links a:hover{color:var(--text)}

/* content pages */
.page{background:#fff;border-bottom:1px solid var(--border)}
.page-head{padding:56px 0 28px;border-bottom:1px solid var(--border);background:linear-gradient(180deg,#fff,#f9fafb)}
.page-head h1{font-size:clamp(28px,3.4vw,40px);margin-bottom:8px}
.page-head p{color:#475467;max-width:720px;margin:0}
.prose{max-width:780px;padding:40px 0 64px;font-size:15px;color:#344054}
.prose h2{font-size:20px;margin:30px 0 8px}
.prose h3{font-size:16px;margin:22px 0 6px}
.prose li{margin:6px 0;padding-left:18px;position:relative}
.prose li::before{content:"";position:absolute;left:0;top:9px;width:6px;height:6px;border-radius:50%;background:#d0d5dd}
.prose .updated{font-size:13px;color:var(--muted);margin-bottom:24px}
.prose a{color:var(--brand-dark);font-weight:600}
.status-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;padding:36px 0 64px}
.status-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:22px}
.component{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #f2f4f7;font-size:14px}
.component:last-child{border-bottom:0}
.component .dot{margin-left:auto}
.uptime{display:flex;gap:2px;margin:14px 0 6px}
.uptime i{height:26px;flex:1;background:#12b76a;border-radius:2px;opacity:.85}
.uptime i.warn{background:#f79009}
.uptime i.down{background:#f04438}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px}
.kv{display:grid;grid-template-columns:140px 1fr;gap:8px 16px;font-size:14px}
.kv dt{color:var(--muted)}
.kv dd{margin:0}

/* 404 */
.err{min-height:72vh;display:flex;align-items:center;justify-content:center;text-align:center;padding:60px 24px}
.err .code{font-size:14px;font-weight:700;letter-spacing:.2em;color:var(--brand);margin-bottom:12px}
.err h1{font-size:clamp(32px,5vw,52px)}
.err p{color:#475467;max-width:460px;margin:0 auto 24px}

@media (max-width:960px){
  .hero-grid,.band-grid,.status-grid,.auth{grid-template-columns:1fr}
  .cards,.pricing,.footer-grid{grid-template-columns:1fr 1fr}
  .stats-grid{grid-template-columns:1fr 1fr}
  .auth-panel{display:none}
}
@media (max-width:640px){
  .nav{display:none}
  .header-actions .btn.ghost{display:none}
  .cards,.pricing,.footer-grid,.stats-grid,.sso{grid-template-columns:1fr}
  .container{width:calc(100% - 32px)}
  .hero{padding:40px 0 48px}
  .section{padding:48px 0}
  .cta{padding:26px}
}
