*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;background:#000;color:#eef3f8;font:15px/1.5 Arial,sans-serif}main{max-width:1400px;margin:auto;padding:30px 28px}a{color:#8bc9ff;text-decoration:none}a:hover{text-decoration:underline}button,input,textarea{font:inherit;color:inherit;max-width:100%}button{cursor:pointer;border:1px solid #354655;background:#101923;border-radius:9px;padding:9px 13px}button:hover{background:#1b2e40}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #8bc9ff;outline-offset:3px}.top{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.brand{display:flex;align-items:center;gap:14px;color:#fff;font-size:24px;font-weight:700}.brand img{object-fit:contain}.brand small{font-size:10px;letter-spacing:2px;color:#9acbfa;vertical-align:middle;border:1px solid #34526c;padding:5px 7px;border-radius:5px}.top nav{margin-left:auto;display:flex;gap:6px}.top nav [aria-pressed=true]{background:#173d5a;border-color:#8bc9ff}.intro{display:flex;justify-content:space-between;align-items:center;gap:30px;margin:42px 0 22px}.intro>div{max-width:760px}.eyebrow,.side-label{font-size:10px;font-weight:bold;letter-spacing:1.7px;color:#8194a7}h1{font-size:clamp(28px,4vw,42px);line-height:1.15;margin:10px 0 14px}.intro p:not(.eyebrow){color:#afbac7;margin-bottom:0}.cta,.compose{display:inline-block;background:#173f60;border:1px solid #497596;color:white;border-radius:9px;padding:11px 16px;font-weight:bold;white-space:nowrap}.cta:hover,.compose:hover{background:#215679;text-decoration:none}.demo-notice{background:#0c1721;border:1px solid #2c4c66;border-radius:12px;padding:15px 18px;color:#b8d5ee;font-size:13px}.mail{display:grid;grid-template-columns:180px minmax(260px,340px) minmax(0,1fr);border:1px solid #2e3c49;border-radius:16px;overflow:hidden;min-height:570px;margin-top:24px;background:#080d13}.sidebar{padding:20px 14px;background:#080c11;border-right:1px solid #25313c}.compose{width:100%;font-size:13px;padding:10px 4px}.side-label{margin:24px 0 10px}.accounts,.folders{display:grid;gap:5px}.accounts button,.folders button,.reset{text-align:left;border-color:transparent;background:transparent;padding:8px 10px;font-size:13px}.accounts button[aria-pressed=true],.folders button[aria-pressed=true]{background:#142c40;border-color:#264d6e;color:#b9dcff}.folders button{display:flex;justify-content:space-between;gap:10px}.reset{margin-top:30px;font-size:12px;color:#8bc9ff}.inbox{border-right:1px solid #25313c;min-width:0}.inbox-head{display:flex;align-items:center;justify-content:space-between;padding:18px 16px 10px}.inbox h2{font-size:18px;margin:0}.inbox-head span{font-size:12px;color:#8c9daf}.search{display:block;margin:0 14px 14px}.search input{width:100%;border-radius:8px;padding:9px 10px;border:1px solid #304151;background:#080f18;font-size:13px}.messages{max-height:480px;overflow-y:auto}.message{width:100%;display:block;text-align:left;border-radius:0;border:0;border-top:1px solid #202b35;background:transparent;padding:14px 15px}.message.selected{background:#11283c;box-shadow:inset 3px 0 #80c7ff}.message.unread .subject,.message.unread .sender{font-weight:700;color:#fff}.message .line{display:flex;justify-content:space-between;gap:8px;align-items:center}.message .sender{font-size:12px;color:#abb9c7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.message time{font-size:10px;color:#8fa2b5;flex-shrink:0}.message .subject{display:block;margin:5px 0;font-size:14px}.message .snippet{display:block;font-size:12px;color:#8295a7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.message .star{color:#afcee8}.reader{padding:25px 24px;min-width:0}.reader-back{display:none}.reader h2{font-size:22px;line-height:1.35;margin:5px 0 18px;overflow-wrap:anywhere}.sender{border-bottom:1px solid #273644;padding-bottom:18px;color:#9daebe;font-size:12px;overflow-wrap:anywhere}.sender strong{font-size:14px;color:#e5edf4}.message-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 24px}.message-actions button{font-size:12px;padding:6px 10px;background:transparent}.message-body{white-space:pre-wrap;line-height:1.8;font-size:14px;color:#c6d0db;overflow-wrap:anywhere;min-height:170px}.attachment{margin-top:25px;border-top:1px solid #273644;padding-top:16px}.attachment button{font-size:12px;text-align:left}.empty{padding:40px 20px;text-align:center;color:#92a6b9}.offer{margin:38px 0;padding:26px;border:1px solid #293744;border-radius:14px}.offer h2{font-size:22px;margin:0 0 16px}.features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;color:#a6b6c5;font-size:14px}.features p{margin:0 0 24px}footer{display:flex;gap:20px;justify-content:space-between;color:#7f8f9f;font-size:12px}dialog{background:#0d141d;color:#eef3f8;border:1px solid #3c5770;border-radius:16px;padding:24px;width:min(620px,calc(100vw - 24px));max-height:90vh;overflow:auto}dialog::backdrop{background:#000b}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.dialog-top h2{font-size:20px;margin:0}.dialog-top button{background:transparent;border:0;font-size:24px}.muted{font-size:12px;color:#8fa3b7}dialog label{display:block;font-size:12px;color:#a9bdcf;margin:14px 0}dialog input,dialog textarea{display:block;width:100%;border:1px solid #2d4153;border-radius:7px;padding:10px;background:#080e16;color:#d6e2ed;font-size:14px;margin-top:5px}dialog textarea{resize:vertical}.dialog-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:20px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#163a55;border:1px solid #75b8eb;border-radius:10px;padding:14px 20px;max-width:calc(100vw - 24px);width:max-content;z-index:20;box-shadow:0 10px 40px #000b;font-size:14px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1000px){.mail{grid-template-columns:180px minmax(225px,280px) minmax(0,1fr)}.reader{padding:20px 16px}.reader h2{font-size:19px}}@media(max-width:760px){main{padding:20px 12px}.top{gap:14px}.back{font-size:12px}.brand{font-size:19px;gap:7px}.brand img{width:38px;height:30px}.brand small{font-size:8px;padding:3px}.intro{display:block;margin-top:28px}.intro>.cta{margin-top:22px}.demo-notice{font-size:12px}.mail{grid-template-columns:minmax(0,1fr);min-height:0}.sidebar{border:0;border-bottom:1px solid #25313c;padding:14px}.compose{width:auto;padding:9px 16px}.side-label{margin:16px 0 5px}.accounts,.folders{display:flex;flex-wrap:wrap;gap:5px}.folders button,.accounts button{font-size:12px;padding:7px 9px}.reset{position:static;margin:12px 0 0;padding:4px 0}.inbox{border:0}.messages{max-height:450px}.reader{display:none}.mail.show-reader .inbox{display:none}.mail.show-reader .reader{display:block}.reader-back{display:inline-block;margin-bottom:16px;background:transparent;color:#8bc9ff;border:0;padding:0}.features{grid-template-columns:1fr;gap:0}.offer{padding:20px}footer{flex-wrap:wrap}.top nav{margin-left:0}.message-body{min-height:130px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.message .sender{display:block;border:0;padding:0}.message time{display:block}.reader-account{font-size:11px;color:#8bc9ff}.message-actions{display:flex;gap:8px;flex-wrap:wrap}.message-body{white-space:pre-wrap}.message .subject{overflow-wrap:anywhere}

.account-label,.account-address{display:block}.account-address{font-size:10px;overflow-wrap:anywhere;color:#9bb4c9}.accounts button{min-width:0;width:100%}.provider-note{padding:0 14px;overflow-wrap:anywhere}@media(max-width:760px){.accounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.accounts button{width:100%}}

.accounts{display:block}.accounts>button{margin-bottom:6px}.provider-group{margin:5px 0}.provider-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;font-weight:bold}.provider-toggle:after{content:'▸';margin-left:6px}.provider-toggle[aria-expanded=true]:after{content:'▾'}.provider-children{padding:4px 0 5px 6px}.provider-children[hidden],.folders[hidden]{display:none}.accounts .mailbox-button,.proton-link{display:block;white-space:nowrap;font-size:11px;letter-spacing:-.25px;padding:8px 4px;width:100%;text-align:left}.proton-link{color:#8bc9ff}.provider-children button[aria-pressed=true]{background:#142c40;border-color:#264d6e}.html-email{margin-top:24px;border:1px solid #37516a;border-radius:12px;overflow:hidden;background:#0b1722;padding:22px;overflow-wrap:anywhere}.html-email .html-eyebrow{color:#8bc9ff;text-transform:uppercase;letter-spacing:1px;font-size:10px}.html-email h3{font-size:24px;line-height:1.25;margin:12px 0}.html-email ul{padding-left:20px;line-height:2}.html-signature{border-top:1px solid #30475c;padding-top:14px;font-size:12px;color:#a7bdcf}@media(max-width:760px){.accounts{display:block}.provider-children{padding-left:10px}.accounts .mailbox-button,.proton-link{font-size:13px;letter-spacing:0}.html-email{padding:18px}}

.proton-notice{padding:10px;border-left:2px solid #8bc9ff;background:#0c1721;color:#c0daef;font-size:12px;line-height:1.55;overflow-wrap:anywhere}.provider-children .proton-notice{font-size:11px;padding:8px;margin:6px 0}

.accounts .mailbox-button,.proton-link{font-size:10px;letter-spacing:-.35px}
.html-email{background:#fff;color:#253343;border-color:#dbe3ec;padding:0;box-shadow:0 6px 20px #0002}.html-email svg{display:block;width:100%;height:auto;max-height:240px}.html-email .html-copy{padding:24px}.html-email .html-eyebrow{color:#426687;font-weight:bold}.html-email h3{color:#172b40;font-size:27px;letter-spacing:-.7px}.html-email p{line-height:1.7}.html-email .html-signature{color:#647587;border-color:#dce4eb}.html-email li{color:#344c62}.html-highlight{background:#eff4f8;padding:16px;border-radius:8px;display:grid;gap:8px;margin:20px 0;color:#263e54}.html-journal .html-highlight{background:#f5f1e9}.html-event .html-highlight{background:#f0edfa}.html-note{font-size:13px;color:#617284}.html-order{width:100%;border-collapse:collapse;margin:20px 0;font-size:13px}.html-order caption{text-align:left;color:#617284;padding-bottom:8px}.html-order th,.html-order td{padding:12px 5px;border-bottom:1px solid #dde5ed;text-align:left}.html-order td{text-align:right;white-space:nowrap}@media(max-width:760px){.accounts .mailbox-button,.proton-link{font-size:13px;letter-spacing:0}.html-email .html-copy{padding:18px}.html-email h3{font-size:24px}}

.features{padding-left:20px;list-style:disc}.features li{padding-left:4px;margin:0 0 20px}.features li::marker{color:#8bc9ff}

/* Common Workspace return and brand footer; Mail demo only. */
.top .brand { font-size:12px; gap:24px; flex-wrap:wrap; max-width:100%; row-gap:8px; }
.top .demo-mark--small { width:192px; height:192px; flex:0 0 192px; }
.top .demo-mark--small>span { font-size:22.5px; letter-spacing:1.5px; padding:3px 0; }
.intro h1 { font-size:clamp(14px,2vw,21px); }
.top nav { align-items:center; flex-wrap:wrap; }
.top a.workspace-back { display:inline-flex; align-items:center; justify-content:center; min-height:38px; padding:8px 13px; margin-right:4px; border:1px solid #86bfff; border-radius:6px; color:#07192a; background:#80baff; font-weight:700; line-height:1.35; text-decoration:none; }
.top a.workspace-back:hover { background:#a7cfff; }
.pg-brand-footer { padding:50px 20px; text-align:center; }
.pg-brand-footer a { display:inline-block; max-width:100%; line-height:0; }
.pg-brand-footer img { display:block; width:200px; max-width:100%; height:auto; }
@media(max-width:580px) { .top nav { margin-left:0; width:100%; } }
