/* Atlas cover page: Gateway's sign-in and signed-out pages (ruled 2026-11-12, see DECISIONS.md).
   Own frame on purpose: the kit's admin shell (sidebar, cards) is for tools, this is the front door.
   Fonts are the Atlas DM Sans files Gateway already serves; nothing loads from outside. */

@font-face{font-family:'DM Sans';font-weight:400;font-display:swap;src:url('../fonts/dm-sans-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'DM Sans';font-weight:400;font-display:swap;src:url('../fonts/dm-sans-latin-ext-400-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'DM Sans';font-weight:500;font-display:swap;src:url('../fonts/dm-sans-latin-500-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD}
@font-face{font-family:'DM Sans';font-weight:500;font-display:swap;src:url('../fonts/dm-sans-latin-ext-500-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+1E00-1E9F,U+1EF2-1EFF,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'DM Sans';font-weight:700;font-display:swap;src:url('../fonts/dm-sans-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+FEFF,U+FFFD}
@font-face{font-family:'DM Sans';font-weight:700;font-display:swap;src:url('../fonts/dm-sans-latin-ext-700-normal.woff2') format('woff2');unicode-range:U+0100-02BA,U+1E00-1E9F,U+1EF2-1EFF,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF}

:root{color-scheme:dark}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0}
body.cover{background:#10133A;color:#FFFFFF;font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}
a,button,summary{cursor:pointer}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #FFFFFF;outline-offset:3px;border-radius:6px}

/* the whole page is the hero: same sky as the video, so the video's edges disappear */
.cover__hero{position:relative;overflow:hidden;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;
  background:linear-gradient(180deg,#10133A 0%,#1B2063 55%,#262E8C 100%)}

.cover__top{position:relative;z-index:3;width:100%;max-width:1200px;margin:0 auto;padding:18px 24px;
  display:flex;align-items:center;justify-content:space-between;gap:12px}
.cover__brand{display:flex;align-items:center;gap:12px;color:#FFFFFF;text-decoration:none}
.cover__mark{width:46px;height:46px;border-radius:12px;background:#FFFFFF;display:flex;align-items:center;justify-content:center;flex:none}
.cover__mark img{width:27px;height:36px;display:block}
.cover__names{display:flex;flex-direction:column;line-height:1.15}
.cover__names strong{font-size:18px;font-weight:700}
.cover__names span{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.72)}

/* language menu: English, Magyar, Română (same links as every Gateway page) */
.cover-lang{position:relative}
.cover-lang summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;
  border:1px solid rgba(255,255,255,.22);border-radius:12px;background:rgba(16,19,58,.45);color:#FFFFFF;font-size:14px;font-weight:500}
.cover-lang summary::-webkit-details-marker{display:none}
.cover-lang summary:hover{border-color:#FFFFFF;background:#1B2063}
.cover-lang ul{position:absolute;right:0;top:calc(100% + 6px);min-width:180px;margin:0;padding:6px;list-style:none;
  background:#FFFFFF;border-radius:12px;box-shadow:0 8px 30px rgba(0,0,0,.35);z-index:5}
.cover-lang a{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 10px;border-radius:8px;color:#22263A;text-decoration:none;font-size:14px}
.cover-lang a:hover{background:#F0F2FA;text-decoration:underline}
.cover-lang a[aria-current]{font-weight:700}
.cover-lang a:focus-visible{outline-color:#2E37A4}
.cover-flag{width:20px;height:14px;border-radius:2px;flex:none;object-fit:cover;box-shadow:0 0 0 1px rgba(0,0,0,.08)}

/* the video: right side on wide screens, fading into the sky on the left and top */
.cover__video{position:absolute;z-index:1;top:76px;right:0;bottom:0;width:74%}
.cover__vid{display:block;width:100%;height:100%;object-fit:cover;object-position:70% 50%;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 34%),linear-gradient(180deg,transparent 0%,#000 12%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent 0%,#000 34%),linear-gradient(180deg,transparent 0%,#000 12%);
  mask-composite:intersect}

.cover__body{position:relative;z-index:2;flex:1;width:100%;max-width:1200px;margin:0 auto;padding:48px 24px 96px;
  display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:22px}
.cover__body > *{max-width:560px}
.cover__eyebrow{margin:0;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#FFC56E}
.cover__title{margin:0;font-size:clamp(42px,5.4vw,72px);line-height:1.02;font-weight:700;letter-spacing:-.025em;text-wrap:balance}
.cover__status{margin:0;font-size:16px;line-height:1.5;color:rgba(255,255,255,.85)}
.cover__form{margin:6px 0 0}
.cover__cta{display:inline-flex;align-items:center;justify-content:center;min-height:54px;min-width:160px;padding:0 36px;
  border:0;border-radius:999px;background:#FF9F1C;color:#1A1A1A;font:inherit;font-size:17px;font-weight:700}
.cover__cta:hover{background:#F08800;box-shadow:inset 0 0 0 2px #1A1A1A}
.cover__cta:active{transform:translateY(1px)}
.cover__note{margin:0;font-size:14px;line-height:1.5;color:rgba(255,255,255,.72)}

/* phones: video on top, text underneath */
@media (max-width:760px){
  .cover__video{position:relative;top:0;width:100%;height:380px}
  .cover__vid{object-position:100% 50%;
    -webkit-mask-image:linear-gradient(180deg,#000 74%,transparent 100%);mask-image:linear-gradient(180deg,#000 74%,transparent 100%)}
  .cover__body{flex:0 0 auto;justify-content:flex-start;padding:4px 20px 40px}
  .cover-lang__label{display:none}
}
@media (prefers-reduced-motion:reduce){
  .cover__cta:active{transform:none}
}
