/* Homepage account and footer layout. Does not load on algorithm pages. */
html{scroll-padding-top:24px}
.ov{padding:24px;background:#030b14cc;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.ov .pn{width:min(100%,580px);max-height:calc(100dvh - 48px);padding:34px;border:1px solid #385365;border-radius:22px;background:linear-gradient(155deg,#193044 0,#122231 65%);box-shadow:0 28px 90px #0008;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#4b716e transparent}
.pn .x{display:grid;place-items:center;right:14px;top:14px;width:44px;height:44px;line-height:1;background:#233b4b;border:1px solid #3a5668;color:#e6f4f5}
.pn .x:hover{background:#314f60}
.panel-eyebrow{color:#82e3c4;font-size:10px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;margin:0 46px 8px 0}
.pn h2{font-size:28px;line-height:1.2;overflow-wrap:anywhere;margin-top:8px;margin-bottom:18px}
.pn .sub{font-size:14px;line-height:1.7;color:#b6c9d5}
.pn label{gap:8px;margin-top:18px;color:#d9e6ed;font-size:13px}
.pn input{min-height:48px;padding:13px 14px;border:1px solid #426071;border-radius:10px;background:#0d1c29;color:#eff8fb;font-size:16px;min-width:0}
.pn input:focus{border-color:#79e6b8;outline:2px solid #79e6b82b;outline-offset:2px}
.pn .btn{min-height:48px;border-radius:10px;padding:13px 16px;font-size:14px;line-height:1.45}
.pn form>.btn.solid{margin-top:24px}
.pn .swap{padding-top:18px;margin-top:22px;border-top:1px solid #324b5d;font-size:13px}
.pn .swap button{min-height:44px;padding:4px 8px;color:#79e6b8}
.pn .msg:not(:empty),.pn .err:not(:empty){display:block;padding:10px 12px;border-radius:8px;background:#572d343d;line-height:1.6;overflow-wrap:anywhere}
.password-field{display:flex;position:relative;min-width:0;align-items:stretch}
.password-field input{width:100%;padding-right:104px}
.password-toggle{position:absolute;right:5px;top:4px;bottom:4px;min-width:86px;border:0;border-radius:7px;background:#20394a;color:#a2ebd7;font-size:12px;font-weight:650;padding:4px 8px}
.password-toggle:hover{background:#2a4a5b}
.account-heading{display:grid;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:16px;margin:8px 30px 24px 0}
.account-avatar{width:62px;height:62px;display:grid;place-items:center;border-radius:18px;border:1px solid #70dfba6b;background:linear-gradient(135deg,#225948,#123333);color:#a5f4d9;font-size:29px;font-weight:750}
.account-heading .panel-eyebrow{margin-right:0}
.account-heading h2{font-size:22px;letter-spacing:-.5px;margin:0 0 6px}
.account-email{color:#a9c0d0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.account-summary{margin-bottom:22px}
.account-status-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}
.account-status-card{min-width:0;border:1px solid #355061;border-radius:12px;padding:16px;background:#0c1c2b80}
.account-status-card>span{display:block;color:#a9bfce;font-size:12px;margin-bottom:10px;line-height:1.5}
.account-status-card strong{display:flex;align-items:center;gap:7px;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.account-status-card strong::before{content:"";width:7px;height:7px;border-radius:50%;background:#dcbf7b;flex:none}
.account-status-card strong[data-state=active]{color:#99eccb}
.account-status-card strong[data-state=active]::before{background:#79e6b8;box-shadow:0 0 9px #79e6b83b}
.verification-notice{padding:16px;margin:18px 0;border:1px solid #aa86464d;background:#634b2024;border-radius:12px}
.verification-notice .sub{color:#ead5ab;overflow-wrap:anywhere}
.verification-actions,.account-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.verification-actions .btn,.account-actions .btn{font-size:12px;padding:11px 9px}
.account-actions{margin-top:6px}
.account-signout{display:block;min-height:44px;border:0;background:transparent;color:#efb5b2;font-size:13px;margin:20px auto 0;padding:9px 18px}
.account-signout:hover{color:#ffd4d0;text-decoration:underline}
.pn .account-meta{background:#0e202f;border:1px solid #355061;border-radius:12px;padding:18px}
.pn .account-meta p{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:7px 0;color:#b8cbd6}
.pn .account-meta span{color:#e6f3f5}
.site-footer{margin-top:18px;border-top:1px solid #2b4654;background:linear-gradient(180deg,#0c1b29,#08121d);padding:48px 0 0;color:#afc3d1}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr));gap:56px;padding-bottom:36px}
.site-footer .foot-brand{font-size:26px;letter-spacing:-1px;gap:13px;margin-bottom:18px}
.site-footer .foot-brand img{width:64px;height:64px}
.site-footer .foot-brand small{font-size:16px;color:#79e6b8}
.footer-identity>p{font-size:15px;line-height:1.7;color:#d1e2e9;max-width:330px}
.footer-identity .footer-description{font-size:13px;color:#91aabb;margin-top:10px}
.footer-links{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.footer-links h2{font-size:12px;letter-spacing:.06em;color:#e1eff4;margin:10px 0 15px;text-transform:uppercase;line-height:1.5}
.footer-links a,.footer-links button{font:14px/1.5 Inter,Arial,sans-serif;color:#afc3d1;text-align:left;border:0;background:transparent;min-height:44px;padding:10px 0;max-width:100%;overflow-wrap:anywhere}
.footer-links a:hover,.footer-links button:hover{color:#8cebc8;text-decoration:underline;text-underline-offset:4px}
.footer-responsible{display:flex;align-items:center;gap:16px;border-top:1px solid #263e4d;padding-top:22px;padding-bottom:22px}
.age-mark{display:grid;place-items:center;flex:none;min-width:44px;height:44px;border:1px solid #4c6d76;border-radius:50%;color:#c5dce1;font-size:13px;font-weight:750}
.footer-responsible p{color:#91aabb;font-size:12px;line-height:1.75;max-width:780px}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid #203744;padding-top:16px;padding-bottom:max(22px,env(safe-area-inset-bottom));font-size:11px;color:#88a2b4;line-height:1.7}
.footer-bottom a{min-height:44px;display:inline-flex;align-items:center;color:#b5cbd7}
.footer-bottom a:hover{color:#8cebc8}
@media(max-width:760px){
 .wrap{width:calc(100% - 36px)}
 .hero{gap:28px;padding-top:30px;padding-bottom:34px}
 .hero h1{font-size:clamp(36px,9vw,48px);line-height:1.12;letter-spacing:-.055em}
 .hero .lead{font-size:16px;line-height:1.75}
 .hero .cta{gap:10px}.hero .cta .btn{min-height:46px;padding:13px 18px}
 .top .bar .btn.sm{min-height:44px}
 .top .account-toggle{width:44px;height:44px;padding:0;display:grid;place-items:center}
 .top .account-menu{max-width:calc(100vw - 36px);width:250px;top:calc(100% + 8px);padding:10px}
 .top .account-option{min-height:46px;font-size:14px;padding:12px}
 .overview{gap:12px;padding-bottom:28px}.overview article{padding:20px}
 .faqrow{padding-bottom:28px}.faqrow h2{font-size:27px}
 .questions summary{min-height:52px;line-height:1.55;padding-top:17px;padding-bottom:17px}
 .questions details p{font-size:14px;line-height:1.8;padding-right:10px}
 .ov{padding:12px;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}
 .ov .pn{padding:24px 20px;border-radius:18px;max-height:calc(100dvh - 32px)}
 .pn h2{font-size:25px;margin-right:38px}
 .pn .x{right:10px;top:10px}
 .account-heading{grid-template-columns:48px minmax(0,1fr);gap:12px;margin-top:14px;margin-right:27px}
 .account-avatar{width:48px;height:48px;border-radius:14px;font-size:23px}
 .account-heading h2{font-size:19px;margin-right:0}
 .account-status-grid{gap:8px}.account-status-card{padding:13px 11px}.account-status-card strong{font-size:12px}
 .verification-actions,.account-actions{grid-template-columns:1fr;gap:0}
 .site-footer{padding-top:32px}.footer-grid{grid-template-columns:1fr 1fr;column-gap:20px;row-gap:26px;padding-bottom:24px}
 .footer-identity{grid-column:1/-1}.footer-identity>p{max-width:440px}
 .site-footer .foot-brand{font-size:25px;margin-bottom:12px}.site-footer .foot-brand img{width:56px;height:56px}
 .footer-links h2{font-size:11px}.footer-links a,.footer-links button{font-size:13px}
 .footer-responsible{align-items:flex-start;gap:12px}.footer-bottom{align-items:flex-start;flex-direction:column;gap:4px}
}
@media(max-width:360px){.account-status-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.footer-identity{grid-column:auto}.pn .password-toggle{min-width:76px;font-size:11px}.password-field input{padding-right:90px}}
@media(prefers-reduced-motion:no-preference){.btn,.password-toggle,.x{transition:background-color .15s ease,border-color .15s ease}.pn.show{animation:account-appear .16s ease-out}@keyframes account-appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}

.pn .phone-hint{display:block;margin-top:7px;color:#9db8c9;font-size:12px;line-height:1.6}

.trial-promo{display:inline-flex;align-items:center;gap:8px;margin:0 0 18px;padding:8px 12px;border:1px solid #70d8b64d;border-radius:20px;background:#153a324d;color:#a3efd1;font-size:12px;line-height:1.6;font-weight:650;flex-wrap:wrap}
.trial-promo-dot{width:6px;height:6px;border-radius:50%;background:#79e6b8;flex:none}
.trial-details{display:grid;grid-template-columns:1fr auto;gap:14px;border:1px solid #4a9c8059;border-radius:12px;padding:16px;background:linear-gradient(110deg,#1b483b66,#102a2c66);margin:18px 0}
.trial-details>div{display:grid;gap:6px;min-width:0}.trial-details strong{font-size:13px;color:#b4f6dc;line-height:1.5}.trial-details span{font-size:11px;color:#b0cfc8;line-height:1.5}
.trial-deadline{text-align:right}
@media(max-width:480px){.trial-details{grid-template-columns:1fr}.trial-deadline{text-align:left}.trial-promo{font-size:11px}}

.account-danger-zone{margin-top:30px;padding-top:22px;border-top:1px solid #70454f66}
.account-danger-zone h3{font-size:14px;color:#f3c3c5;margin:0 0 8px}
.account-danger-zone p{font-size:12px;line-height:1.7;color:#b5beca}
.pn .danger-button{background:#522b36;border:1px solid #ad6471;color:#ffe5e7}
.pn .danger-button:hover{background:#6c3542}
.pn .danger-button:disabled{opacity:.45;cursor:not-allowed}
.deletion-warning{margin-top:18px}
.pn label.delete-confirm{display:flex;align-items:flex-start;gap:12px;font-size:13px;line-height:1.65;margin:20px 0}
.pn .delete-confirm input{width:20px;height:20px;min-height:20px;flex:none;margin:2px 0 0;accent-color:#c87987}
.deletion-result{margin-top:18px;padding:14px 18px;border:1px solid #5bc4a04d;background:#194e3b66;border-radius:10px;color:#a6efd2;font-size:14px;line-height:1.6}
