:root { color-scheme:light; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:#202728; background:#fff; font-synthesis:none; letter-spacing:0; --ink:#202728; --muted:#657273; --line:#e2e7e6; --ease:cubic-bezier(.22,1,.36,1); }
* { box-sizing:border-box; }
body { margin:0; }
button,input,a { -webkit-tap-highlight-color:transparent; }
button,input { font:inherit; }
button,a { touch-action:manipulation; }
a { color:inherit; text-decoration:none; }
button { cursor:pointer; }
button:disabled { opacity:.55; cursor:wait; }
button:focus-visible,a:focus-visible { outline:3px solid #268579; outline-offset:4px; }
[hidden] { display:none!important; }
svg { width:20px; height:20px; flex:none; stroke-width:1.6; }
.welcome-header { max-width:1440px; margin:auto; min-height:88px; padding:20px 48px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand { display:flex; align-items:center; gap:12px; font-size:23px; font-weight:650; }
.brand img { border-radius:8px; }
.brand > span { margin-left:24px; padding-left:24px; border-left:1px solid var(--line); font-size:12px; font-weight:400; color:var(--muted); }
.existing { display:flex; align-items:center; gap:10px; min-height:44px; font-size:13px; }
main { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); max-width:1440px; margin:auto; border-block:1px solid var(--line); }
.access { grid-column:2; grid-row:1; padding:72px 48px 48px; display:flex; justify-content:center; align-items:center; }
.access-inner { width:100%; max-width:360px; }
.eyebrow { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:12px; margin-bottom:28px; }
.eyebrow span { width:6px; height:6px; background:#39877a; border-radius:50%; }
h1 { font-size:30px; line-height:1.22; margin:0 0 14px; font-weight:600; text-wrap:balance; }
#access-intro { color:var(--muted); font-size:14px; line-height:1.65; margin:0 0 28px; min-height:46px; }
.auth-tabs { display:grid; grid-template-columns:1fr 1fr; position:relative; border-bottom:1px solid var(--line); margin-bottom:28px; }
.auth-tabs::after { content:""; position:absolute; bottom:-1px; left:0; height:2px; width:50%; background:var(--ink); transform:translateX(0); }
.auth-tabs:has([data-mode=register][aria-pressed=true])::after { transform:translateX(100%); }
.auth-tabs:has([data-mode=login][aria-pressed=false]):has([data-mode=register][aria-pressed=false])::after { opacity:0; }
.auth-tabs button { border:0; background:none; color:var(--muted); font-size:14px; min-height:44px; padding:0 4px 12px; }
.auth-tabs button[aria-pressed=true] { color:var(--ink); font-weight:600; }
label { display:block; font-size:12px; font-weight:550; margin-bottom:20px; }
input { width:100%; min-height:52px; margin-top:9px; padding:12px 14px; border:1px solid #d7dddc; border-radius:6px; font-size:16px; background:#fcfdfc; color:var(--ink); outline:none; }
input::placeholder { color:#8b9594; }
input:focus { border-color:#39877a; box-shadow:0 0 0 3px #e7f1ee; background:white; }
.password-control { display:block; position:relative; }
#password-field { margin-bottom:20px; }
#password-field > label { margin-bottom:0; }
.password-control input { padding-right:50px; }
.password-control button { position:absolute; right:3px; top:13px; width:44px; height:44px; display:grid; place-items:center; border:0; background:none; color:var(--muted); }
.text-action { padding:0; background:none; border:0; color:#356a60; min-height:36px; font-size:13px; }
#forgot-password { display:block; margin:-10px 0 18px auto; }
#password-hint { margin:8px 0 0; font-size:12px; line-height:1.5; color:var(--muted); }
.submit { width:100%; min-height:52px; border:1px solid var(--ink); border-radius:6px; display:flex; justify-content:space-between; align-items:center; padding:12px 18px; gap:12px; color:white; background:var(--ink); font-weight:550; font-size:14px; }
.submit:hover { background:#354641; }
.submit:active { transform:translateY(1px); }
.legacy-access { display:block; text-align:center; color:var(--muted); font-size:12px; margin-top:20px; padding:12px 0; }
.legacy-access:hover,.text-action:hover,.existing:hover { color:#247a69; }
.legacy-access.submit { display:flex; justify-content:center; color:white; margin-top:0; font-size:14px; }
#access-error { color:#a33d4b; font-size:13px; line-height:1.5; margin:0 0 16px; }
#service-status { font-size:11px; color:#777365; line-height:1.6; border-left:2px solid #ddd7bd; padding-left:12px; margin:24px 0 0; }
.mail-symbol { display:grid; place-items:center; width:48px; height:48px; border-radius:50%; background:#e6f2ed; color:#237464; }
#access-success h2 { font-size:22px; margin-top:20px; }
#success-text { font-size:14px; line-height:1.7; color:var(--muted); overflow-wrap:anywhere; }
.product { grid-column:1; grid-row:1; background:#f2f4f3; border-right:1px solid var(--line); padding:40px 48px 18px; overflow:hidden; }
.product-heading { max-width:420px; margin:auto; }
.product-tag { font-size:10px; color:#68756f; font-weight:550; }
.product-heading h2 { margin:16px 0 12px; font-size:32px; line-height:1.25; font-weight:550; text-wrap:balance; }
.product-heading p { color:var(--muted); line-height:1.6; font-size:14px; margin:0; }
.product-stage { display:flex; align-items:center; gap:36px; max-width:420px; margin:28px auto 20px; }
figure { margin:0; width:250px; flex:none; }
figure img { display:block; width:100%; height:auto; border:1px solid #dfe5e2; border-radius:8px; box-shadow:0 18px 36px -22px #253d3440; }
figcaption { text-align:center; font-size:10px; color:var(--muted); margin-top:12px; }
.flow { display:flex; flex-direction:column; align-items:center; flex:1; min-width:58px; padding-bottom:24px; }
.flow-step { display:flex; flex-direction:column; align-items:center; gap:9px; font-size:11px; color:#657273; }
.flow-icon { width:48px; height:48px; border-radius:50%; display:grid; place-items:center; }
.flow-income .flow-icon { background:var(--brand-pink-tint); color:var(--brand-pink-ink); }
.flow-account .flow-icon { background:var(--brand-blue-tint); color:var(--brand-blue-ink); }
.flow-expense .flow-icon { background:var(--brand-purple-tint); color:var(--brand-purple-ink); }
.flow-track { width:1px; height:46px; background:#9aada1; margin:12px 0; transform-origin:top; }
.product-bottom { display:flex; align-items:center; justify-content:space-between; max-width:420px; margin:auto; min-height:36px; font-size:11px; color:var(--muted); border-top:1px solid #dce3df; padding-top:8px; }
#replay-motion { width:44px; height:44px; border:0; background:transparent; color:#526d60; display:grid; place-items:center; }
#replay-motion svg { width:16px; height:16px; }
footer { max-width:1440px; margin:auto; padding:22px 48px; display:flex; justify-content:space-between; gap:20px; font-size:11px; color:var(--muted); }
@media(min-width:1400px) { .access { padding-block:100px; } .product { padding-top:56px; } }
@media(max-width:1050px) { .product { padding-inline:28px; } .product-stage { gap:20px; } figure { width:230px; } .access { padding:48px 32px; } }
@media(max-width:760px) {
  .welcome-header { padding:12px 24px; min-height:72px; }
  .brand > span { display:none; }
  main { display:flex; flex-direction:column; }
  .access { padding:36px 26px 32px; }
  .eyebrow { margin-bottom:22px; }
  h1 { font-size:28px; }
  #access-intro { margin-bottom:20px; }
  .product { border-right:0; border-top:1px solid var(--line); padding:32px 26px 20px; }
  .product-heading h2 { font-size:28px; }
  .product-stage { justify-content:center; gap:32px; }
  .flow { flex:0; }
  figure { width:236px; max-width:calc(100% - 82px); }
  footer { padding:22px 24px; }
}
@media(max-width:360px) { .welcome-header { padding-inline:20px; } .access,.product { padding-inline:20px; } h1,.product-heading h2 { font-size:26px; } .product-stage { gap:22px; } }
@media(prefers-reduced-motion:no-preference) {
  button,a,input { transition:background .2s,color .2s,border-color .2s,box-shadow .2s; }
  .auth-tabs::after { transition:transform .4s var(--ease),opacity .2s; }
  .submit svg { transition:transform .3s var(--ease); }
  .submit:hover svg { transform:translateX(4px); }
}
