* { box-sizing: border-box; }
:root { color-scheme: light; font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; --ink:#172239; --accent:#5559c9; --link:#444bc5; }
body { margin:0; background:#416da2; }
button, input, select { font:inherit; }
button, select { cursor:pointer; }
button { border:0; background:none; color:inherit; }
button:focus-visible, select:focus-visible, a:focus-visible, input:focus-visible { outline:3px solid #3539a1; outline-offset:3px; }
[hidden] { display:none !important; }
.landscape { min-height:100svh; position:relative; isolation:isolate; padding:9.4vh 5.05vw 6vh 5.5vw; }
.scenery { display:block; position:absolute; inset:0; z-index:-1; background:#416da2; filter:saturate(1.25); pointer-events:none; }
.scenery img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.scenery::after { content:""; position:absolute; inset:0;
  background:radial-gradient(ellipse 60% 93% at 4% 4%,rgba(22,68,127,.91) 0%,rgba(19,77,144,.75) 40%,rgba(29,98,163,.38) 70%,transparent 100%); }
.brand { font:700 clamp(24px,2.05vw,40px)/1.1 Arial,sans-serif; letter-spacing:.09em; color:#fff; }
.login-languages { position:absolute; top:24px; right:5vw; display:flex; gap:8px; color:white; }
.login-languages button { min-height:40px; padding:6px 10px; border-radius:4px; }
.login-languages button[aria-pressed="true"] { background:#ffffff24; }
#name-row { margin-bottom:4cqw; }
.layout { display:grid; grid-template-columns:minmax(0,1fr) clamp(400px,30.86vw,590px); gap:3vw; align-items:start; margin-top:calc(15.22vh - clamp(24px,2.05vw,40px) * 1.1); }
.intro { color:#fff; text-shadow:0 1px 3px #163d6226; }
h1 { font:500 clamp(52px,4.38vw,86px)/1.16 Verdana,"Segoe UI",sans-serif; letter-spacing:-.004em; width:fit-content; transform:scaleX(1.075); transform-origin:left; margin:-.08em 0 0; }
.benefits { display:grid; gap:clamp(18px,1.7vw,34px); list-style:none; padding:0 0 0 .75vw; margin:clamp(30px,3vw,60px) 0 0; }
.benefits li { display:flex; align-items:center; gap:clamp(18px,1.8vw,36px); font-size:clamp(19px,1.63vw,32px); line-height:1.35; font-weight:400; }
.benefits svg { width:clamp(28px,2.4vw,48px); flex:none; fill:none; stroke:currentColor; stroke-width:2.9; stroke-linecap:round; stroke-linejoin:round; }
.folder { position:relative; isolation:isolate; container-type:inline-size; color:var(--ink); width:100%; }
.paper { position:absolute; inset:0; width:100%; height:100%; z-index:-1; pointer-events:none; overflow:visible; filter:drop-shadow(0 5px 9px #22263335); }
.flap { transition:opacity 300ms ease-in-out; }
.password-flap, [data-mode="password"] .sms-flap { opacity:0; }
[data-mode="password"] .password-flap { opacity:1; }
.tabs { display:grid; grid-template-columns:1fr 1fr; position:relative; height:14.75cqw; align-items:start; }
.tabs button { font-weight:600; font-size:clamp(15px,4.4cqw,26px); color:#52586b; height:13.8cqw; min-height:44px; margin-top:2.4cqw; transition:margin-top 300ms ease,color 230ms ease; border-radius:24px 24px 8px 8px; }
.tabs button[aria-selected="true"] { color:#10152c; margin-top:0; }
.tabs button:focus-visible { outline-offset:-5px; }
.phone-notice { position:fixed; top:max(12px,env(safe-area-inset-top)); left:50%; transform:translateX(-50%); z-index:2; max-width:calc(100% - 32px); width:max-content; margin:0; pointer-events:none; }
.phone-notice:not(:empty) { padding:10px 18px; background:#fffefd; color:#70374a; border-radius:10px; box-shadow:0 3px 16px #17223930; }
#send[aria-disabled="true"] { color:#71788a; cursor:not-allowed; }
#flow { position:relative; padding:5.9cqw 7.9cqw 8.8cqw; }
.label { display:block; color:#073d42; font-size:clamp(17px,4.07cqw,24px); font-weight:650; line-height:1.28; }
.field { display:flex; align-items:center; margin-top:2.05cqw; height:11.15cqw; min-height:46px; background:#fffefd; border:1.5px solid #c9cfdb; border-radius:clamp(8px,1.9cqw,12px); }
.field:has(input:focus,select:focus) { border-color:#6468bd; box-shadow:0 0 0 2px #6264c824; }
.field input { width:0; flex:1; min-width:0; height:100%; padding:0 4.6cqw; border:0; color:var(--ink); background:transparent; border-radius:inherit; font-size:clamp(16px,3.85cqw,22px); }
.field input:focus { outline:0; }
::placeholder { color:#747b90; opacity:1; }
.dial { display:flex; align-items:center; position:relative; height:50%; flex:none; border-right:1.5px solid #c9cfdb; }
.dial select { appearance:none; background:none; border:0; color:inherit; font-size:clamp(16px,4cqw,24px); padding:0 9cqw 0 4.6cqw; }
.dial svg { position:absolute; width:2.7cqw; right:4.2cqw; fill:none; stroke:currentColor; stroke-width:1.8; pointer-events:none; }
.second { margin-top:5.6cqw; display:grid; }
.second [role="tabpanel"] { grid-area:1 / 1; min-width:0; }
.second [inert] { pointer-events:none; }
.suffix { flex:none; height:100%; position:relative; color:var(--link); padding:0 4.3cqw 0 6cqw; font-size:clamp(15px,3.8cqw,22px); }
.suffix::before { content:""; position:absolute; left:0; top:25%; height:50%; border-left:1.5px solid #c9cfdb; }
.password-label { display:flex; justify-content:space-between; align-items:baseline; gap:6px; }
#forgot { font-size:clamp(13px,2.8cqw,16px); color:var(--link); }
.eye svg { width:22px; height:22px; vertical-align:middle; fill:none; stroke:currentColor; stroke-width:1.6; }
.agreement { display:flex; align-items:flex-start; gap:3.4cqw; margin:5.55cqw 0 0; line-height:1.34; font-size:clamp(15px,3.9cqw,23px); }
.agreement input { appearance:none; flex:none; width:4.5cqw; height:4.5cqw; min-width:18px; min-height:18px; margin:.22em 0 0; border:2px solid #bdc4d2; border-radius:4px; background:white; cursor:pointer; }
.agreement input:checked { background:var(--accent); border-color:var(--accent); }
.agreement input:checked::after { content:""; display:block; width:24%; height:52%; border:solid white; border-width:0 2px 2px 0; transform:translate(105%,17%) rotate(45deg); }
.agreement a,.policy { color:var(--link); text-decoration:none; }
.policy { display:inline; padding:0; line-height:inherit; }
#forgot:hover { text-decoration:underline; }
.agreement a:hover,.policy:hover,#send[aria-disabled="false"]:hover { color:#3037a1; }
.submit { display:block; width:100%; min-height:45px; height:11.65cqw; margin-top:5.95cqw; border-radius:clamp(8px,2.1cqw,14px); background:var(--accent); color:white; font-weight:600; font-size:clamp(18px,4.45cqw,26px); transition:background-color .18s; }
.submit:hover { background:#494db5; }
button:disabled { cursor:wait; opacity:.72; }
.status { margin:10px 0 0; min-height:4.2em; color:#6d3543; font-size:clamp(13px,2.9cqw,16px); line-height:1.4; }
#identity { container-type:inline-size; }
#identity header { display:flex; justify-content:space-between; align-items:center; gap:12px; }
#identity h2 { font-size:20px; }
#identity-close { min-width:44px; min-height:44px; font-size:26px; }
#identity .field input { font-size:16px; }
dialog { border:none; border-radius:18px; padding:28px; width:min(360px,calc(100% - 42px)); color:var(--ink); box-shadow:0 15px 50px #16243c40; }
dialog::backdrop { background:#12254469; }
.policy-reader { padding:0; width:min(490px,calc(100% - 36px)); max-height:min(560px,80dvh); overflow:hidden; background:#fffefd; }
.policy-reader[open] { display:flex; flex-direction:column; }
body:has(.policy-reader[open]) { overflow:hidden; }
.policy-reader header { padding:14px 16px 14px 24px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid #dedee8; }
.policy-reader header button { width:44px; height:44px; color:var(--link); font-size:28px; border-radius:50%; line-height:1; }
.policy-reader header button:hover { background:#f1f1f8; }
.policy-reader article { padding:6px 24px 24px; overflow:auto; overscroll-behavior:contain; scrollbar-gutter:stable; font-size:16px; line-height:1.55; }
.policy-reader article:focus-visible { outline:2px solid var(--accent); outline-offset:-3px; }
.policy-reader article h3 { margin:22px 0 6px; font-size:17px; color:#123b44; }
.policy-reader article p { margin:10px 0; }
dialog h2 { font-size:21px; margin:0; } dialog p { color:#535b6d; }
#identity { width:min(400px,calc(100% - 40px)); padding:clamp(22px,4vw,32px); background:#fffefd; }
#identity h2 { font-size:24px; font-weight:650; line-height:1.2; letter-spacing:-.025em; }
#identity-help { margin:8px 0 24px; max-width:34ch; font-size:15px; line-height:1.5; }
#identity label { display:block; margin-bottom:7px; color:var(--ink); font-size:14px; font-weight:600; }
#identity input { width:100%; height:46px; padding:0 12px; border:1px solid #abb2c1; border-radius:8px; font-size:16px; color:var(--ink); }
#identity input:focus { outline:2px solid var(--accent); outline-offset:-2px; }
#name-feedback { margin:8px 0 0; min-height:2.8em; font-size:14px; line-height:1.4; }
#name[aria-invalid="true"] + #name-feedback { color:#783647; }
#identity .actions { margin-top:12px; }
.actions { display:flex; justify-content:flex-end; align-items:center; gap:8px; margin-top:24px; }
.actions button { padding:0 16px; height:44px; border-radius:8px; font-size:15px; }
.actions #cancel { color:#495369; }
.actions #cancel:hover { background:#f1f1f6; }
.actions .submit { width:auto; min-height:44px; margin:0; }
@media (max-width:999px) {
  .landscape { padding:32px max(20px,5vw) 48px; }
  .scenery img { object-position:56% center; }
  .layout { grid-template-columns:minmax(0,1fr); gap:30px; margin:36px auto 0; max-width:530px; }
  .brand { font-size:24px; max-width:530px; margin:auto; }
  h1 { font-size:clamp(38px,6vw,54px); transform:none; }
  .benefits { gap:8px; padding:0; margin-top:20px; }
  .benefits li { font-size:16px; gap:13px; } .benefits svg { width:23px; }
  #flow { padding:5.9cqw max(22px,6.5cqw) 8.8cqw; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { transition:none !important; animation:none !important; }
}
