@font-face{font-family:Cairo;src:url('/assets/cairo-variable.ttf') format('truetype');font-style:normal;font-weight:200 1000;font-display:swap}
@font-face{font-family:Jakarta;src:url('/assets/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap}
:root{--font-arabic:Cairo,Tahoma,Arial,sans-serif;--font-latin:Jakarta,system-ui,-apple-system,Arial,sans-serif;font-family:var(--font-arabic);color:#122e34;--petrol:#075260;--deep:#073c47;--ink:#152e33;--muted:#718187;--line:#e1ebe9;--light:#f5f9f8;--safe-bottom:env(safe-area-inset-bottom,0px)}
html[lang=en]{font-family:var(--font-latin)}
html.font-fallback{--font-arabic:Tahoma,Arial,sans-serif;--font-latin:system-ui,-apple-system,Arial,sans-serif}
html.ui-boot .surface,html.ui-boot .visual-bottom{visibility:hidden}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:auto;overflow-x:clip;touch-action:pan-y}
body{margin:0;min-width:0;min-height:100vh;min-height:100svh;background:#fff}
[hidden]{display:none!important}
button,input{font:inherit}
button,a,input{touch-action:pan-y}
input{font-size:16px}
button{cursor:pointer;-webkit-tap-highlight-color:transparent}
button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #63afb3;outline-offset:3px}
.experience{min-height:100vh;min-height:100svh;display:grid;grid-template-columns:minmax(0,53%) minmax(0,47%);direction:ltr}
.visual{position:relative;min-height:100vh;min-height:100svh;overflow:clip;background:#446b65;isolation:isolate}
.visual-photo,.visual-photo img{position:absolute;inset:0;width:100%;height:100%;display:block}
.visual-photo img{object-fit:cover;object-position:45% center;pointer-events:none;user-select:none;-webkit-user-drag:none}
.visual-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,39,45,.08) 0%,transparent 42%,rgba(1,39,44,.12) 65%,rgba(0,38,47,.78) 100%);pointer-events:none}
.visual-bottom{position:absolute;inset-inline:0;bottom:0;z-index:2;padding:42px clamp(32px,5vw,90px) clamp(50px,7vh,95px);direction:rtl;color:#fff;text-shadow:0 1px 14px #123a4760}
.visual-bottom h2{font-size:clamp(30px,3.3vw,54px);line-height:1.3;letter-spacing:-.02em;font-weight:800;margin:0 0 12px;max-width:640px}
.surface{position:relative;display:flex;flex-direction:column;min-width:0;min-height:100vh;min-height:100svh;background:#fff;direction:rtl}
.surface-body{width:100%;flex:1;display:flex;align-items:center;justify-content:center;padding:15px clamp(28px,5vw,88px) 30px;min-width:0}
.screen{width:min(100%,440px);min-width:0}
.screen-intro{margin-bottom:32px}
.overline{display:block;color:#477a7e;font-size:12px;font-weight:800;margin:0 0 13px;letter-spacing:.04em}
.screen h1{font-size:clamp(32px,3.2vw,49px);font-weight:800;line-height:1.24;letter-spacing:-.027em;color:var(--ink);margin:0}
.support{font-size:15px;line-height:1.9;color:var(--muted);margin:15px 0 0;max-width:420px}
.actions{display:flex;flex-direction:column;gap:13px}
.btn{border-radius:15px;border:1px solid transparent;width:100%;min-height:55px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:15px;font-weight:750;padding:12px 18px;transition:background .17s,box-shadow .17s;line-height:1.45}
.btn-primary{background:var(--petrol);color:#fff;box-shadow:0 10px 20px #08475020}
.btn-primary:hover{background:var(--deep)}
.btn-secondary{background:#fff;color:var(--petrol);border-color:#c8ddda}
.btn-secondary:hover,.btn-outline:hover{background:var(--light)}
.btn-outline{background:#fff;color:#243f45;border-color:#dae6e4}
.btn-quiet{color:var(--petrol);background:#f2f8f6;border:0;min-height:51px}
.btn-quiet:hover{background:#eaf4f1}
.button-arrow{width:18px;height:18px;transform:scaleX(-1);position:absolute;inset-inline-end:23px}
.btn-primary:has(.button-arrow){position:relative}
.below-actions{font-size:13px;text-align:center;color:#849294;margin:18px 0 0}
.inline-action,.browse-link{background:none;border:0;color:var(--petrol);font-weight:750;min-height:40px;padding:4px;font-size:13px}
.inline-action:hover,.browse-link:hover{text-decoration:underline}
.surface-footer{padding:20px clamp(25px,5vw,88px) calc(29px + var(--safe-bottom));display:flex;align-items:center;justify-content:space-between;gap:13px 18px;flex-wrap:wrap}
.legal-links{display:flex;gap:8px 17px;flex-wrap:wrap;align-items:center}
.footer-legal-group,.footer-tools{display:contents}
.legal-links a{color:#78888b;font-size:11.5px;text-decoration:none;white-space:nowrap}
.legal-links a:hover{color:var(--petrol);text-decoration:underline}
.footer-mark{display:flex;align-items:center;gap:10px;color:#a2b1b2;font-family:var(--font-latin);font-size:9px;font-weight:750;letter-spacing:.045em;white-space:nowrap}
.footer-separator{width:1px;height:12px;background:#d9e5e3}
.subtle-group{color:#b7c2c3;font-weight:650;font-size:9px;letter-spacing:.08em}
.back{position:absolute;top:24px;inset-inline-start:clamp(28px,5vw,88px);z-index:3;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;color:#075260;background:transparent;border:1px solid #a9c1c5;border-radius:50%;padding:0;margin:0;vertical-align:middle}
.back:hover{background:rgba(7,82,96,.06)}
.back:active{background:rgba(7,82,96,.12)}
.back svg{width:21px;height:21px;flex:none}
html[dir=rtl] .back svg{transform:scaleX(-1)}
.screen-intro.compact{margin-bottom:24px}
.screen-intro.compact h1{font-size:clamp(28px,2.8vw,39px)}
.screen-intro.compact .support{margin-top:8px;font-size:13.5px;line-height:1.7}
.field-label{display:block;font-size:12px;font-weight:750;color:#3c5c63;margin:0 0 9px}
.phone-field{width:100%;min-width:0;height:52px;border:1px solid #d5e3e0;border-radius:12px;display:flex;align-items:center;gap:13px;padding:0 17px;margin-bottom:12px;color:#354c51}
.phone-field span:first-child{font-weight:700;font-size:15px}
.phone-field .divider{height:22px;width:1px;background:#d9e5e3}
.phone-field input{border:0;outline:0;width:0;min-width:0;flex:1 1 0;font-size:16px;background:transparent;text-align:start}
.phone-field input::placeholder{color:#a8b6b8}
.separator{display:flex;gap:13px;align-items:center;margin:16px 0;color:#94a2a3;font-size:11px}
.separator:before,.separator:after{content:"";height:1px;flex:1;background:#e2ebe9}
.social svg{flex:none}
.passkey-icon{height:21px;width:21px}
.passkey-mobile-label{display:none}
.browse-link{display:block;margin:7px auto 0}
html[lang=en] .visual-bottom{direction:ltr}
html[lang=en] .surface{direction:ltr}
html[lang=en] .screen h1{letter-spacing:-.045em;line-height:1.18}
html[lang=en] .overline{letter-spacing:.12em}
html[lang=en] .support{line-height:1.7}
html[lang=en] .button-arrow{transform:none}
html[lang=en] .back svg{transform:none}
html[dir=rtl] .legal-close svg{transform:none}

/* Permanent desktop download card. */
.download-desktop-slot{position:relative;width:320px;max-width:100%;margin:16px 0 0;padding:0;text-shadow:none}
.app-download{position:relative;height:56px;min-height:56px;flex-shrink:0}
.download-promo-shell{display:grid;align-items:center;width:100%;height:56px;padding-inline:3px;border:1px solid rgba(255,255,255,.2);border-radius:16px;background:rgba(10,61,68,.65);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.app-download-trigger{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;gap:5px;width:100%;height:54px;padding:0 12px;margin:0;border:0;border-radius:15px;background:transparent;color:#fff;text-align:start}
.download-phone{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;justify-self:center;background:rgba(255,255,255,.13);color:#fff}
.download-phone svg{width:21px;height:21px}
.download-label{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;line-height:1.25;text-align:center}
.download-label strong{font-size:14px;font-weight:650;color:#fff}
.download-platforms{font-size:11px;font-weight:500;color:#fff;unicode-bidi:isolate}
.download-action-circle{display:grid;place-items:center;justify-self:center;width:30px;height:30px;border-radius:50%;background:#fff;border:1px solid #fff;color:#0a3d44}
.download-action-circle .download-arrow{width:16px;height:16px;stroke-width:2;transform:none}
.download-arrow{width:18px;height:18px;flex:none}
html[dir=rtl] .app-store-choice .download-arrow{transform:scaleX(-1)}
.download-promo-shell button:focus-visible{outline-offset:-3px}

.download-dialog{position:fixed;inset:0;width:min(420px,calc(100% - 40px));max-width:none;max-height:calc(100svh - 40px);margin:auto;padding:0;overflow:auto;overscroll-behavior:contain;border:0;border-radius:24px;background:#fff;color:#15363c;box-shadow:0 16px 60px #002a3530;direction:inherit}
.download-dialog::backdrop{background:rgba(4,24,29,.48)}
.download-sheet{padding:26px}
.download-grip{display:none}
.download-sheet-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.download-sheet-header h2{font-size:22px;line-height:1.35;letter-spacing:-.025em;margin:0;font-weight:800}
html[lang=ar] .download-sheet-header h2{letter-spacing:0}
.download-close{display:grid;place-items:center;flex:none;min-width:44px;min-height:44px;border:0;background:#f4f7f6;border-radius:50%;color:#365458}
.download-close:hover{background:#e9f1ef}
.download-close svg{width:20px;height:20px}
.download-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.download-stores{display:grid;gap:10px}
.app-store-choice{display:flex;align-items:center;gap:14px;width:100%;min-height:65px;padding:12px 15px;border:1px solid #edf2f1;border-radius:14px;background:#f5f7f6;color:#15363c;text-align:start}
.app-store-choice:hover{background:#eaf2f0;border-color:#d8e7e3}
.download-store-mark{display:grid;place-items:center;width:30px;height:30px;flex:none;color:#17363c}
.download-store-mark svg{width:25px;height:25px}
.download-store-name{flex:1;font:700 15px/1.4 var(--font-latin);text-align:start}
html.download-modal-open{overflow:hidden}
/* Lock only a welcome screen whose complete contents fit the visible viewport. */
html.welcome-fit{overflow:hidden;overscroll-behavior:none}
html.welcome-fit body{overscroll-behavior:none}
/* Mobile web: keep the root eligible for the browser's own pull-to-refresh.
   A fitting page has no scroll distance even with overflow-y:auto. */
@media (max-width:819px) and (pointer:coarse){
 html.welcome-fit{overflow-y:auto;overscroll-behavior-y:auto}
 html.welcome-fit body{overscroll-behavior-y:auto}
}
.download-dialog{touch-action:pan-y}

/* Responsive layout: the document is the only page scroller. */
.desktop-brand{display:none}
.footer-download{display:none}
.footer-lang{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:24px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#78888b;font-size:11.5px;font-weight:400;line-height:1.4;text-decoration:none}
.footer-lang svg{width:13px;height:13px;flex:none}
.footer-lang:hover{color:var(--petrol);text-decoration:underline}
#signin .screen-intro.compact .support{margin:0}
#signin .screen-intro.compact{margin-bottom:18px}
@media (min-width:820px){
 html{scrollbar-gutter:stable}
 .experience{align-items:start}
 .visual{position:sticky;top:0;align-self:start;height:100vh;height:100svh;min-height:0;max-height:100svh}
 .visual-photo,.visual-photo img{height:100%;min-height:0;max-height:100%}
 .surface-body{flex-direction:column;gap:24px}
 .desktop-brand{display:flex;flex-direction:column;align-items:center;align-self:center;flex:none;margin:0;gap:0}
 .desktop-brand img{display:block;width:59px;height:auto;max-height:105px;object-fit:contain}
 .desktop-brand-country{display:block;text-align:center;min-width:72px;margin:12px 0 0;padding:9px 0 0;border-top:1px solid rgba(11,77,92,.28);color:#0B4D5C;font-size:15px;font-weight:700;letter-spacing:.045em;line-height:1.35}
 .visual-bottom{padding-bottom:max(16px,calc(clamp(50px,7vh,95px) - 72px))}
 #welcome .screen-intro{display:none}
 html.auth-view .desktop-brand,html.legal-view .desktop-brand{display:none}
 html.auth-view .surface-body,html.legal-view .surface-body{gap:0}
 html.auth-view .auth-screen .screen-intro.compact,#signin .screen-intro.compact,#legal .screen-intro.compact{margin-bottom:24px}
 html.auth-view .auth-screen .screen-intro.compact .support,#signin .screen-intro.compact .support,#legal .screen-intro.compact .support{margin-top:8px}
 html:not(.welcome-view) .surface-body{padding-top:84px}
}
@media (min-width:820px) and (max-width:1100px){
 .experience{grid-template-columns:minmax(0,50%) minmax(0,50%)}
 .surface-body,.surface-footer{padding-inline:38px}
}
@media (min-width:820px) and (max-height:740px){
 .surface-body,.surface-footer{padding-block:15px}
 .screen-intro{margin-bottom:18px}
}
@media (min-width:820px) and (max-height:600px){
 .surface-body{gap:16px}
 .desktop-brand img{max-height:76px;width:auto}
 .desktop-brand-country{margin-top:6px;padding-top:5px}
}

@media (max-width:819px){
 html{background:#063e47}
 body{background:#063e47;color:#fff}
 .experience{
  position:relative;display:block;min-height:100vh;min-height:100svh;
  background:#063e47;isolation:isolate;
 }
 .visual{
  position:fixed;inset:0;width:100%;height:100vh;height:100lvh;
  min-height:0;max-height:none;overflow:clip;z-index:0;
  background:#123f42;pointer-events:none;
 }
 .visual-photo,.visual-photo img{width:100%;height:100%;inset:0;position:absolute}
 .visual-photo img{object-fit:cover;object-position:50% 37%}
 .visual-shade{
  background:
   linear-gradient(180deg,
    rgba(2,33,39,.47) 0%,rgba(2,33,39,.08) 17%,
    rgba(3,40,46,.02) 34%,rgba(2,39,46,.34) 51%,
    rgba(2,37,45,.76) 70%,rgba(1,35,43,.96) 100%);
 }

 .visual-bottom{display:none}
 .surface{
  min-height:100vh;min-height:100svh;
  position:relative;z-index:2;display:flex;flex-direction:column;
  width:100%;margin:0;overflow:visible;background:transparent;
  border-radius:0;box-shadow:none;color:#fff;
 }

 .surface-body{
  flex:1 0 auto;display:flex;align-items:flex-end;justify-content:center;
  width:100%;min-height:0;
  padding:calc(20px + env(safe-area-inset-top,0px)) 29px 8px;
  background:transparent;
 }
 .screen{width:min(100%,520px);margin:0 auto}
 .screen-intro{margin:0 0 24px}
 .overline{
  display:block;color:#c3e5df;letter-spacing:.11em;
  font-size:11.5px;font-weight:800;margin-bottom:11px;
  text-shadow:0 1px 8px rgba(2,30,34,.3);
 }
 .screen h1{
  color:#fff;font-size:clamp(34px,8.7vw,48px);
  line-height:1.19;letter-spacing:-.032em;
  font-weight:800;text-shadow:0 2px 17px rgba(0,24,28,.28);
 }
 .support{
  color:rgba(255,255,255,.88);margin:12px 0 0;
  font-size:clamp(13px,3.45vw,15px);line-height:1.72;
  max-width:440px;text-shadow:0 1px 10px rgba(0,30,35,.24);
 }
 .actions{display:flex;flex-direction:column;gap:10px}
 .btn{
  min-height:54px;border-radius:13px;font-size:14px;
  font-weight:760;box-shadow:none;
 }
 .btn-primary{
  background:#fff;color:#064b56;
  box-shadow:0 9px 26px rgba(0,17,26,.16);
 }
 .btn-primary:hover{background:#e9f5f2;color:#064b56}
 .btn-secondary{
  background:rgba(255,255,255,.10);
  color:#fff;border:1px solid rgba(255,255,255,.65);
  -webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);
 }
 .btn-secondary:hover{background:rgba(255,255,255,.19)}
 .button-arrow{color:#075260}
 .below-actions{color:rgba(255,255,255,.78);margin:8px 0 0}
 .inline-action,.browse-link{color:#fff}
 .surface-footer{
  flex:0 0 auto;display:flex;flex-direction:column;
  justify-content:center;align-items:center;gap:8px;
  padding:20px 18px calc(17px + env(safe-area-inset-bottom,0px));
  background:transparent;
 }
 .legal-links{justify-content:center;gap:9px 19px}
 .legal-links a{
  color:rgba(255,255,255,.83);
  font-size:11px;line-height:1.4;
 }
 .legal-links a:hover{color:#fff}
 .footer-mark{color:rgba(255,255,255,.57);font-size:9px}
 .footer-separator{background:rgba(255,255,255,.35)}
 .subtle-group{color:rgba(255,255,255,.56);font-size:8.5px}
 .back{top:calc(16px + env(safe-area-inset-top,0px));inset-inline-start:max(23px,env(safe-area-inset-left,0px));color:#fff;background:rgba(7,62,72,.62);border-color:rgba(255,255,255,.65)}
 html[dir=rtl] .back{inset-inline-start:max(23px,env(safe-area-inset-right,0px))}
 html:not(.welcome-view) .surface-body{padding-top:calc(76px + env(safe-area-inset-top,0px))}
 .back:hover,.back:active{background:rgba(255,255,255,.10)}
 .screen-intro.compact{margin-bottom:21px}
 .screen-intro.compact h1{font-size:clamp(27px,6.4vw,34px)}
 .screen-intro.compact .support{font-size:13.2px;color:rgba(255,255,255,.85)}
 /* Descriptions belong to the retained desktop layouts only. */
 .desktop-auth-description{display:none}
 #signin-title,#signup-title{font-size:clamp(32px,8.1vw,42px)}
 html[lang=en] #signin-title{text-transform:capitalize}
 .field-label{color:rgba(255,255,255,.92);font-size:12px}
 .phone-field{
  background:rgba(255,255,255,.97);
  color:#21474f;border-color:rgba(255,255,255,.9);
 }
 .phone-field input{color:#183a43}

 .separator{color:rgba(255,255,255,.83)}
 .separator:before,.separator:after{background:rgba(255,255,255,.33)}
 .btn-outline.social{background:#fff;color:#284952;border-color:#fff}

 .browse-link{margin-top:5px;color:#fff}

 html[lang=en] .screen h1{font-size:clamp(32px,8.1vw,45px);line-height:1.15}
}
@media (max-width:390px){

 .surface-body{padding-inline:23px}
 .screen h1{font-size:32px}
 .overline{margin-bottom:7px}
 .surface-footer{padding-inline:15px}
}
@media (max-width:819px) and (max-height:710px){
 .surface-body{padding-top:calc(20px + env(safe-area-inset-top,0px))}
 .screen-intro{margin-bottom:15px}
 .screen-intro.compact{margin-bottom:13px}
 .overline{margin-bottom:7px}
 .screen h1{font-size:clamp(30px,7vw,38px)}
 .support{margin-top:7px}
 .surface-footer{padding-top:10px}
}
/* Phone landscape and compact browser windows may scroll naturally; no clipped controls. */
@media (max-width:819px) and (orientation:landscape){
 .surface-body{padding-top:calc(20px + env(safe-area-inset-top,0px))}
 .surface-footer{padding-bottom:12px}
}

@media (max-width:819px){
 .footer-lang,.footer-download{display:inline-flex;align-items:center;justify-content:center;gap:5px;margin:0;border:0;background:transparent;white-space:nowrap}
 .legal-links a,.footer-lang,.footer-download{min-width:44px;min-height:44px;padding:0 6px;color:rgba(255,255,255,.94);font-size:12px;font-weight:500;line-height:1.4;display:inline-flex;align-items:center;justify-content:center}
 .legal-links{display:flex;flex-direction:column;align-items:center;gap:0;width:100%}
 .footer-legal-group,.footer-tools{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 8px;width:100%}
 .footer-tools{gap:4px 16px}
 .footer-lang:hover,.footer-download:hover{color:#fff;text-decoration:underline}
 .footer-download{gap:4px}
 .footer-download svg{width:13px;height:13px;flex:none}
 .download-dialog{inset:auto 0 0;width:100%;max-height:calc(100svh - env(safe-area-inset-top,0px) - 12px);margin:0;border-radius:26px 26px 0 0;box-shadow:none}
 .download-sheet{padding:12px 24px calc(24px + env(safe-area-inset-bottom,0px))}
 .download-grip{display:block;width:34px;height:4px;margin:0 auto 18px;border-radius:9px;background:#d7dfde}
 .download-sheet-header{margin-bottom:18px}
 .download-sheet-header h2{font-size:21px}
}

/* Owner-approved mobile-only logo removal and welcome composition. */
@media (max-width:819px){
 html.welcome-view .surface-body{padding-top:calc(20px + env(safe-area-inset-top,0px));padding-bottom:8px}
 #welcome #welcome-overline{
  margin:0 0 9px;text-align:start;color:#c3e5df;font-size:clamp(11px,3vw,13px);
  font-weight:750;line-height:1.5;letter-spacing:.075em;
  text-shadow:0 1px 8px rgba(0,25,32,.85),0 2px 16px rgba(0,25,32,.5)
 }
 html[lang=ar] #welcome #welcome-overline{letter-spacing:0}
 #welcome .screen-intro{margin:0 0 20px}
 html #welcome #welcome-title{font-size:clamp(30px,8.1vw,43px);line-height:1.2;letter-spacing:-.025em;text-align:start;text-wrap:balance;max-width:13em}
 html[lang=ar] #welcome #welcome-title{letter-spacing:0}
 #welcome .actions{gap:4px}
}
@media (max-width:819px) and (max-height:710px){
 html.welcome-view .surface-body{padding-top:calc(12px + env(safe-area-inset-top,0px))}
 #welcome #welcome-overline{margin-bottom:6px;font-size:11px}
 #welcome .screen-intro{margin-bottom:14px}
 html #welcome #welcome-title{font-size:clamp(26px,7.3vw,34px)}

}


/* Shared welcome account actions: compact links, identical geometry across viewports. */
 #welcome .welcome-account-actions{--account-link-color:var(--petrol);--account-divider:rgba(7,82,96,.26);display:flex;align-items:center;justify-content:center;width:100%;gap:24px;flex-wrap:wrap}
 #welcome .welcome-account-actions .below-actions{margin:0;position:relative;padding:0}
 #welcome .welcome-account-actions .below-actions::before{content:"";position:absolute;inset-inline-start:-12px;top:50%;transform:translateY(-50%);height:16px;width:1px;background:var(--account-divider)}
 #welcome .welcome-account-actions button{width:auto;min-height:44px;padding:4px 8px;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;color:var(--account-link-color);font-size:13px;font-weight:750;line-height:1.45}
 #welcome .welcome-account-actions button:hover{background:transparent;color:var(--account-link-color);text-decoration:underline}
@media (max-width:819px){
 #welcome .welcome-account-actions{--account-link-color:#fff;--account-divider:rgba(255,255,255,.35)}
}

/* Owner-approved customer authentication visual-only flow. */
.auth-screen .screen-intro.compact{margin-bottom:22px}
.auth-methods{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.auth-methods .auth-method{position:relative;min-height:54px;background:#fff;color:#15363c;border-color:#d5e3e0;font-weight:650}
.auth-method svg{flex:none;width:21px;height:21px}
.auth-method:hover{background:#f4f8f7;border-color:#bfd5d3}
.auth-methods .inline-action{justify-self:center;line-height:1.4;min-height:36px}
.conditional-passkey{display:grid;gap:4px}
.method-hint{margin:0;font-size:11px;line-height:1.45;color:#718187;text-align:center}
.auth-switch{margin:4px 0 0;text-align:center;font-size:13px;line-height:1.5;color:#718187}
.auth-switch .inline-action{min-height:32px}
.auth-methods .separator{margin:4px 0}
.auth-methods .field-label{margin:0}
.auth-phone-field{margin:0;padding:0 10px;gap:9px;height:55px}
.country-trigger{flex:none;display:inline-flex;gap:7px;align-items:center;justify-content:center;height:44px;padding:0 5px;background:transparent;color:#15363c;border:0;border-radius:8px}
.country-trigger svg{width:15px;height:15px;flex:none}
.auth-phone-field input{font-weight:500}
.otp-target{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#15363c}
.otp-target b{font-size:15px;font-weight:650}
.otp-target .inline-action{margin-inline-start:auto}
.otp-boxes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;max-width:340px;width:100%;margin:0 auto}
.otp-boxes span{height:54px;display:grid;place-items:center;border:1px solid #d5e3e0;border-radius:12px;color:#9ca8ac;background:#fff;font-size:22px}
.otp-boxes span:first-child{border-color:var(--petrol)}
.country-dialog .download-sheet{display:flex;flex-direction:column;gap:10px}
.country-dialog .download-sheet-header{margin-bottom:0}
.country-dialog input{width:100%;min-height:44px;border:1px solid #d5e3e0;border-radius:10px;padding:8px 12px;font:inherit;font-size:16px;color:#15363c;background:#fff}
.country-list{max-height:none;min-height:100px;overflow:visible;display:flex;flex-direction:column;gap:3px}
.country-option{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:44px;text-align:start;padding:9px 12px;border:1px solid transparent;border-radius:9px;color:#15363c;background:#fff;font-size:13px}
.country-option b{flex:none;font-weight:600}
.country-option:hover,.country-option[aria-pressed=true]{background:#edf5f4;border-color:#d5e3e0}
@media(prefers-reduced-motion:no-preference){.auth-screen:not([hidden]){animation:auth-enter .18s ease-out}@keyframes auth-enter{from{opacity:0}to{opacity:1}}}
@media(max-width:819px){
 .auth-screen .screen-intro.compact{margin-bottom:18px}
 .auth-methods{gap:10px}
 .auth-methods .auth-method{min-height:50px;background:rgba(7,62,72,.86);color:#fff;border-color:rgba(255,255,255,.65)}
 .auth-methods .auth-method:hover{background:rgba(19,77,86,.95);color:#fff}
 .passkey-desktop-label{display:none}
 .passkey-mobile-label{display:inline}
 .auth-switch,.auth-screen .method-hint{color:rgba(255,255,255,.84)}
 .otp-target{color:#fff}
 .otp-boxes span{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.45);color:#fff}
 .otp-boxes span:first-child{border-color:#fff}
 .country-dialog .method-hint{color:#718187}
 .country-dialog{max-height:calc(100svh - env(safe-area-inset-top,0px) - 12px)}
}


/* Welcome account actions retain clear separation from the lower footer. */
@media (max-width:819px){
 html.welcome-view .surface-footer{padding-top:clamp(24px,4vh,32px);padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
}
@media (max-width:819px) and (max-height:480px){
 html.welcome-view .surface-footer{padding-top:12px;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}
}
@media (prefers-reduced-motion:no-preference){.download-dialog[open]{animation:download-fade .16s ease-out}@keyframes download-fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){.btn{transition:none}}

/* Mobile-only cinematic typography; text settles once, no photo or control animation. */
@media (max-width:819px) and (prefers-reduced-motion:no-preference){
 html.ui-ready.welcome-view #welcome #welcome-overline{animation:welcome-type-reveal .55s cubic-bezier(.22,.8,.25,1) both}
 html.ui-ready.welcome-view #welcome #welcome-title{animation:welcome-type-reveal .85s cubic-bezier(.22,.8,.25,1) .16s both}
 @keyframes welcome-type-reveal{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
}

/* A single restrained highlight on initial welcome paint; no geometry change. */
#welcome .btn-primary{--cta-shine-color:rgba(255,255,255,.22);overflow:clip}
@media (max-width:819px){#welcome .btn-primary{--cta-shine-color:rgba(7,82,96,.13)}}
@media (prefers-reduced-motion:no-preference){
 html.ui-ready #welcome .btn-primary.cta-intro-shine::after{
  content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  background:linear-gradient(110deg,transparent 28%,var(--cta-shine-color) 50%,transparent 72%);
  animation:cta-shine .85s ease-in-out .55s 1 both;
 }
 @keyframes cta-shine{from{transform:translateX(-115%)}to{transform:translateX(115%)}}
}

/* Long, accessible policy text within the existing responsive legal route. */
.legal-document{min-width:0;background:#fff;color:#244750;border:1px solid #e0e8e6;border-radius:16px;padding:clamp(16px,2.5vw,26px);margin:0 0 22px;line-height:1.85;overflow-wrap:anywhere;text-align:start}
.legal-document[hidden]{display:none}
.legal-clause+ .legal-clause{border-top:1px solid #e0e8e6;margin-top:18px;padding-top:18px}
.legal-clause h2{font-size:16px;line-height:1.55;font-weight:750;margin:0 0 8px;color:#244750}
.legal-clause p{font-size:14px;line-height:1.85;margin:0 0 9px;color:#244750}
.legal-clause p:last-child{margin-bottom:0}
.legal-clause a{color:#12665d;text-decoration:underline;text-underline-offset:3px}
.legal-clause a:focus-visible{outline:2px solid #12665d;outline-offset:3px}

/* Mobile legal reading layout: separate stable artwork and chrome from the single reading scroller.
   The root is locked only while the legal reader owns scroll; desktop keeps document flow. */
@media (max-width:819px){
 html.legal-reader-mode,html.legal-reader-mode body{height:100%;overflow:hidden;overscroll-behavior:none}
 html.legal-reader-mode .experience{position:fixed;inset:0;height:100svh;min-height:0;overflow:clip}
 html.legal-reader-mode .surface{height:100%;min-height:0;overflow:clip}
 html.legal-reader-mode .surface-body{flex:1 1 0;min-height:0;align-items:stretch;justify-content:center;padding-top:calc(76px + env(safe-area-inset-top,0px));padding-bottom:0}
 html.legal-reader-mode #legal{display:flex;flex-direction:column;min-height:0;min-width:0}
 html.legal-reader-mode #legal .screen-intro{flex:none;margin:0 0 12px}
 html.legal-reader-mode .legal-reader{flex:1 1 0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;touch-action:pan-y;border-radius:16px;background:#fff;scrollbar-width:thin;scroll-padding-block:12px}
 html.legal-reader-mode .legal-document{margin:0;border:0;border-radius:0}
 html.legal-reader-mode .surface-footer{flex:none;padding-top:6px}
}
/* Very short mobile windows retain a usable reader by compacting only the legal chrome. */
@media (max-width:819px) and (max-height:350px){
 html.legal-reader-mode .surface-body{padding-top:calc(64px + env(safe-area-inset-top,0px))}
 html.legal-reader-mode #legal .screen-intro{margin-bottom:6px}
 html.legal-reader-mode #legal h1{font-size:24px}
 html.legal-reader-mode .surface-footer{padding-block:0;gap:0}
 html.legal-reader-mode .footer-mark{display:none}
}

/* Extreme landscape/zoom: the surface becomes the sole scroller, still isolated from the fixed artwork. */
@media (max-width:819px) and (max-height:300px){
 html.legal-reader-compact .surface{overflow:auto;overscroll-behavior-y:contain;touch-action:pan-y}
 html.legal-reader-compact .surface-body{flex:0 0 auto}
 html.legal-reader-compact .legal-reader{flex:0 0 auto;overflow:visible}
}

/* Compact, unboxed acknowledgement. Registration methods retain their normal appearance. */
.signup-consent{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:start;padding:0 2px;text-align:start;color:#244750}
.signup-consent input{width:18px;height:18px;margin:1px 0 0;accent-color:var(--petrol);cursor:pointer}
.signup-consent-copy{font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.signup-consent-copy label{cursor:pointer}
.signup-consent-copy a{color:#075260;font-weight:700;text-decoration:none}
.signup-consent-copy a:focus-visible{outline:2px solid currentColor;outline-offset:2px;border-radius:2px}
.signup-consent-error{margin:4px 0 0;font-size:11.5px;line-height:1.5;color:#a52020}
.signup-consent input[aria-invalid=true]{outline:2px solid #b83b3b;outline-offset:2px}
@media(max-width:819px){
 .signup-consent{color:#fff}
 .signup-consent-copy{font-size:11.5px;text-shadow:0 1px 3px #032e35}
 .signup-consent-copy a{color:#9edbd1}
 .signup-consent input{accent-color:#fff}
 .signup-consent-error{color:#ffd6d2}
 .signup-consent input[aria-invalid=true]{outline-color:#ffb2ae}
}
