:root { color-scheme: light; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #12234c; background: #fff; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, .section-tile:has(input:focus-visible) { outline: 3px solid #14b8a6; outline-offset: 3px; }
.login-skip { position: fixed; left: 16px; top: -80px; z-index: 20; padding: 10px 14px; border-radius: 5px; background: #fff; color: #12234c; }
.login-skip:focus { top: 16px; }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(460px, 1.08fr) minmax(420px, .92fr); }
.login-story { position: relative; min-height: 100vh; overflow: hidden; display: flex; flex-direction: column; padding: clamp(34px, 5vw, 68px); color: #fff; background: #12234c; isolation: isolate; }
.login-story::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.17) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom right, #000, transparent 75%); }
.login-story::after { content: ""; position: absolute; z-index: -1; width: 54%; aspect-ratio: 1; right: -13%; bottom: -18%; border: 1px solid rgba(94,234,212,.25); border-radius: 50%; box-shadow: 0 0 0 80px rgba(20,184,166,.04), 0 0 0 160px rgba(20,184,166,.025); }
.login-brand { display: inline-flex; width: fit-content; }
.login-brand img { display: block; object-fit: contain; }
.login-brand-light img { width: 126px; height: 34px; object-position: left center; }
.login-brand-dark { display: none; margin-bottom: 42px; }
.login-brand-dark img { width: 112px; height: auto; }
.login-story-copy { width: min(650px, 100%); margin-block: auto; padding-block: 60px; }
.login-eyebrow { margin: 0; display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 700; letter-spacing: .14em; line-height: 1.5; color: #9bd8d0; }
.login-eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #2dd4bf; box-shadow: 0 0 0 4px rgba(45,212,191,.12); }
.login-story h1 { max-width: 620px; margin: 22px 0; font-size: clamp(42px, 5vw, 70px); line-height: 1.04; letter-spacing: -.05em; font-weight: 620; }
.login-story-copy > p:last-of-type { max-width: 530px; margin: 0; font-size: clamp(16px, 1.7vw, 20px); line-height: 1.65; color: #cbd5e1; }
.login-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 42px; }
.login-products article { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 15px; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; background: rgba(255,255,255,.07); backdrop-filter: blur(6px); }
.login-products img { flex: 0 0 38px; width: 38px; height: 38px; object-fit: contain; }
.login-products strong, .login-products span { display: block; }
.login-products strong { font-size: 12px; font-weight: 650; }
.login-products span { margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; color: #aebbd0; }
.login-story-footer { margin: 0; font-size: 11px; letter-spacing: .08em; color: #94a3b8; }
.login-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(1px); }
.login-orb-one { width: 240px; height: 240px; left: 9%; top: 20%; background: radial-gradient(circle, rgba(13,148,136,.16), transparent 67%); }
.login-orb-two { width: 180px; height: 180px; right: 10%; top: 8%; background: radial-gradient(circle, rgba(253,221,0,.08), transparent 70%); }
.login-panel { min-height: 100vh; display: flex; align-items: center; padding: 44px clamp(32px, 6vw, 88px); background: #fff; }
.login-panel-inner { width: min(440px, 100%); margin-inline: auto; }
.login-heading { margin-bottom: 30px; }
.login-heading .login-eyebrow { color: #0f766e; }
.login-heading h2 { margin: 14px 0 8px; color: #12234c; font-size: 36px; line-height: 1.15; letter-spacing: -.035em; font-weight: 650; }
.login-heading > p:last-child { margin: 0; color: #64748b; font-size: 14px; line-height: 1.6; }
.login-alert, .login-success { margin-bottom: 18px; padding: 12px 14px; border-radius: 6px; font-size: 13px; line-height: 1.5; }
.login-alert { color: #991b1b; background: #fef2f2; border: 1px solid #fecaca; }
.login-success { color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0; }
.login-form { display: grid; gap: 17px; }
.product-picker { margin: 0 0 2px; padding: 0; border: 0; }
.product-picker legend { width: 100%; margin-bottom: 9px; color: #334155; font-size: 12px; font-weight: 650; }
.product-picker legend span { float: right; color: #94a3b8; font-size: 10px; font-weight: 500; }
.product-picker-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.section-tile { position: relative; min-height: 76px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border: 1px solid #dce3ea; border-radius: 7px; background: #fff; cursor: pointer; transition: border-color .18s, background-color .18s, transform .18s; }
.section-tile input { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.section-tile img { width: 30px; height: 30px; object-fit: contain; filter: grayscale(.5); opacity: .65; transition: filter .18s, opacity .18s; }
.section-tile > span { color: #64748b; font-size: 10px; font-weight: 650; letter-spacing: .03em; }
.section-tile:hover { transform: translateY(-1px); border-color: #94a3b8; background: #f8fafc; }
.section-tile:has(input:checked) { border-color: rgb(var(--accent-rgb)); background: rgba(var(--accent-rgb), .07); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .25); }
.section-tile:has(input:checked) img { filter: none; opacity: 1; }
.section-tile:has(input:checked) > span { color: rgb(var(--accent-rgb)); }
.login-field { display: grid; gap: 7px; color: #334155; font-size: 12px; font-weight: 650; }
.login-field input { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid #cbd5e1; border-radius: 6px; background: #fff; color: #0f172a; font: inherit; font-size: 14px; font-weight: 400; outline: none; transition: border-color .18s, box-shadow .18s; }
.login-field input::placeholder { color: #94a3b8; }
.login-field input:focus { border-color: #0f766e; box-shadow: 0 0 0 3px rgba(15,118,110,.11); }
.login-submit, .login-sso { width: 100%; min-height: 49px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; font-size: 14px; font-weight: 650; cursor: pointer; }
.login-submit { margin-top: 3px; padding: 12px 20px; border: 0; background: #12234c; color: #fff; transition: background-color .18s, transform .18s; }
.login-submit:hover { background: #203962; transform: translateY(-1px); }
.login-sso { border: 1px solid #cbd5e1; background: #fff; color: #334155; }
.login-sso:hover { background: #f8fafc; }
.login-sso svg { width: 19px; height: 19px; }
.login-divider { position: relative; text-align: center; color: #94a3b8; font-size: 10px; }
.login-divider::before { content: ""; position: absolute; top: 50%; inset-inline: 0; height: 1px; background: #e2e8f0; }
.login-divider span { position: relative; padding: 0 10px; background: #fff; }
.login-signup { margin: 26px 0 0; text-align: center; color: #64748b; font-size: 13px; }
.login-signup a { color: #0f766e; font-weight: 650; }
.login-signup a:hover { text-decoration: underline; }
.login-legal { margin: 18px auto 0; max-width: 340px; text-align: center; color: #94a3b8; font-size: 10px; line-height: 1.6; }
@media (max-width: 920px) {
  .login-layout { grid-template-columns: 1fr; }
  .login-story { display: none; }
  .login-panel { min-height: 100vh; padding: 36px 24px; background: linear-gradient(180deg, #f7fafb 0, #fff 30%); }
  .login-panel-inner { max-width: 430px; }
  .login-brand-dark { display: inline-flex; }
}
@media (max-width: 440px) {
  .login-panel { padding: 27px 18px; align-items: flex-start; }
  .login-brand-dark { margin-bottom: 34px; }
  .login-heading h2 { font-size: 31px; }
  .section-tile { min-height: 70px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
