@font-face {
  font-family: "Inter Variable";
  src: url("/brand/fonts/inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  font-family: "Inter Variable", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #10162d;
  background: #f6f7fb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --muted: #626b7e;
  --line: #dce1eb;
  --violet: #6230ed;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: #5426cd; text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid #875bff;
  outline-offset: 4px;
}
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10; padding: 12px 18px; border-radius: 6px; background: white; }
.skip-link:focus { top: 16px; }
.auth-shell { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(360px, 43%) minmax(0, 1fr); }
.brand-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px clamp(30px, 4.5vw, 76px) 30px;
  position: relative;
  overflow: hidden;
  color: white;
  background: radial-gradient(ellipse at 3% 96%, #16486066, transparent 50%), radial-gradient(ellipse at 90% 12%, #5431ae4d, transparent 58%), #0b1128;
}
.brand { display: inline-flex; align-items: center; align-self: flex-start; gap: 11px; color: white; font-size: 22px; font-weight: 580; letter-spacing: -1px; }
.brand:hover { text-decoration: none; }
.brand img { width: 43px; height: 43px; object-fit: contain; }
.brand-vector { font-weight: 350; }
.brand-story { margin-top: 75px; margin-bottom: 36px; }
.brand-eyebrow, .eyebrow { font-size: 10px; font-weight: 650; letter-spacing: 1.65px; line-height: 1.6; }
.brand-eyebrow { display: flex; align-items: center; gap: 9px; color: #b9c5dd; }
.brand-dot { width: 6px; height: 6px; border-radius: 50%; background: #00d1b2; }
.brand-story h2 { margin: 23px 0 24px; font-size: clamp(45px, 4.5vw, 69px); font-weight: 520; line-height: 1.08; letter-spacing: -3px; }
.brand-story h2 span { color: #a58aff; }
.brand-story > p { color: #b3bfd4; font-size: 14px; line-height: 1.85; }
.brand-footer { display: flex; align-items: center; gap: 12px; color: #a6b3c8; font-size: 10px; }
.brand-footer-line { display: block; width: 24px; height: 1px; background: #46516b; }
.vector-art { height: 110px; margin-top: 58px; position: relative; opacity: .95; max-width: 330px; }
.vector-line { position: absolute; bottom: 24px; left: 5px; height: 1px; transform-origin: left center; }
.vector-line-one { width: 91%; background: linear-gradient(90deg, #00b2ff44, #00b2ff); transform: rotate(-11deg); }
.vector-line-two { width: 77%; background: linear-gradient(90deg, #6a38ff55, #ad92ff); transform: rotate(-25deg); }
.vector-line-three { width: 98%; background: linear-gradient(90deg, #00d1b244, #00d1b2); }
.vector-origin { position: absolute; left: 1px; bottom: 20px; width: 9px; height: 9px; background: #dee5ff; border-radius: 50%; }
.vector-point { position: absolute; right: 7px; bottom: 20px; width: 9px; height: 9px; border-top: 1px solid #00d1b2; border-right: 1px solid #00d1b2; transform: rotate(45deg); }
.vector-label { position: absolute; left: 6px; bottom: 0; font-size: 8px; letter-spacing: 1.8px; color: #8a9ab6; }
.form-panel { padding: 68px clamp(24px, 5vw, 96px) 26px; display: flex; flex-direction: column; background: radial-gradient(ellipse at 100% 0, #ece7ff5c, transparent 52%), #fafbfe; }
.auth-card { width: 100%; max-width: 425px; margin: auto; padding: 35px 0 45px; }
.auth-card:focus { outline: none; }
.auth-heading { margin-bottom: 30px; }
.eyebrow { color: #6c46cf; margin: 0 0 14px; }
h1 { font-size: clamp(28px, 2.5vw, 37px); margin: 0 0 12px; font-weight: 610; letter-spacing: -1.35px; line-height: 1.18; }
.intro { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.auth-form { display: flex; flex-direction: column; gap: 19px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label { font-size: 12px; font-weight: 620; color: #2b3347; }
.field input { width: 100%; height: 48px; border: 1px solid #d4dbe7; border-radius: 7px; padding: 0 13px; background: white; color: #11172d; font-size: 15px; transition: border-color 140ms; }
.field input:hover { border-color: #9facc5; }
.field input:focus { border-color: #7a52e5; }
.field-hint { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 0; }
.password-field { position: relative; }
.password-field input { padding-right: 67px; }
.password-toggle { position: absolute; right: 3px; top: 4px; height: 40px; min-width: 57px; padding: 0 10px; border: 0; border-radius: 4px; background: transparent; color: #5c477f; font-size: 11px; font-weight: 600; cursor: pointer; }
.password-toggle:hover { background: #f4efff; }
.form-options { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 1px 0 4px; font-size: 11px; }
.checkbox { display: inline-flex; align-items: center; gap: 8px; color: #4c566b; cursor: pointer; min-height: 28px; }
.checkbox input { margin: 0; width: 16px; height: 16px; accent-color: var(--violet); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; min-height: 47px; padding: 11px 17px; border-radius: 7px; font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: none; }
.button:disabled, input:disabled { opacity: .55; cursor: not-allowed; }
.button-primary { width: 100%; color: white; background: var(--violet); box-shadow: 0 5px 15px #5426cd19; }
.button-primary span { margin-left: auto; font-size: 18px; font-weight: 400; line-height: 1; }
.button-primary:hover:not(:disabled) { background: #5223d3; }
.auth-alternate { border-top: 1px solid #e4e7ef; margin: 26px 0 0; padding-top: 24px; font-size: 12px; text-align: center; color: var(--muted); line-height: 1.8; }
.auth-alternate a { font-weight: 580; }
.auth-help { text-align: center; font-size: 11px; margin: 16px 0 0; }
.auth-help a { color: #626b7e; }
.form-note { color: var(--muted); font-size: 11px; line-height: 1.7; margin: 0; }
.auth-form > .button-primary + .form-note { text-align: center; margin-top: -5px; }
.form-footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; font-size: 10px; color: #71798a; margin-top: auto; padding-top: 12px; }
.footer-mark { font-size: 18px; color: #7758ca; }
.footer-dot { color: #9ca5b6; }
.notice { font-size: 12px; line-height: 1.7; border: 1px solid #dedfe8; padding: 13px 15px; border-radius: 7px; margin: 0 0 23px; overflow-wrap: anywhere; background: #f4f2fb; }
.notice-error { background: #fff2f2; border-color: #ecc8c8; color: #93292d; }
.notice-success { background: #edfaf6; border-color: #b8e0d5; color: #17634f; }
.notice:focus { outline: 2px solid currentColor; outline-offset: 3px; }
.invite-address { margin-bottom: 24px; padding: 14px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.invite-address span { display: block; font-size: 10px; margin-bottom: 5px; color: var(--muted); }
.invite-address strong { font-size: 13px; font-weight: 550; overflow-wrap: anywhere; }
.email-next { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; row-gap: 18px; margin: 28px 0; }
.step-number { display: flex; align-items: center; justify-content: center; height: 27px; width: 27px; font-size: 11px; border-radius: 50%; background: #eae3ff; color: #5426cd; }
.email-next p { font-size: 12px; line-height: 1.7; margin: 3px 0 0; color: #4a5367; }
.account-page .auth-shell { grid-template-columns: 285px minmax(0, 1fr); }
.account-page .brand-panel { padding: 36px 28px; }
.account-page .brand { gap: 7px; font-size: 18px; }
.account-page .brand img { width: 36px; height: 36px; }
.account-page .brand-story h2 { font-size: 43px; letter-spacing: -2px; }
.account-page .brand-story { margin-top: 90px; margin-bottom: auto; }
.account-page .brand-story > p { font-size: 12px; }
.account-page .brand-eyebrow { font-size: 8px; letter-spacing: 1px; }
.account-page .brand-footer { flex-wrap: wrap; }
.account-page .form-panel { padding-top: 35px; }
.account-page .auth-card { max-width: 770px; margin-top: 0; }
.account-nav { width: 100%; max-width: 770px; margin: 0 auto; font-size: 11px; }
.account-nav a { color: var(--muted); }
.account-section { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 24px; margin-top: 20px; }
.section-heading { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 24px; }
.section-icon { display: inline-flex; justify-content: center; align-items: center; width: 32px; height: 32px; flex-shrink: 0; border: 1px solid #e8e0fc; border-radius: 7px; color: #7552c8; background: #f7f4ff; font-size: 10px; }
.section-heading h2 { margin: 0 0 6px; font-size: 15px; font-weight: 620; letter-spacing: -.3px; }
.section-heading p { margin: 0; font-size: 11px; color: var(--muted); line-height: 1.7; }
.profile-details { margin: 0; }
.profile-details > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); padding: 12px 0; border-bottom: 1px solid #eef0f5; }
.profile-details > div:last-child { padding-bottom: 0; border-bottom: 0; }
.profile-details dt { font-size: 11px; color: var(--muted); }
.profile-details dd { margin: 0; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.status-badge { display: inline-block; padding: 3px 7px; border-radius: 4px; color: #196850; background: #e5f6ee; font-size: 9px; font-weight: 600; white-space: nowrap; }
.profile-details .status-badge, .verify-profile { margin-left: 10px; }
.verify-profile { font-size: 11px; }
.profile-edit { margin-top: 20px; font-size: 12px; }
.profile-edit summary { cursor: pointer; color: #5426cd; width: fit-content; line-height: 1.8; }
.profile-edit .auth-form { margin-top: 20px; }
.account-password-form { max-width: 460px; }
.account-password-form .button-primary { width: fit-content; min-width: 170px; }
.session-list { list-style: none; padding: 0; margin: 0; }
.session { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid #eef0f5; }
.session:first-child { padding-top: 0; }
.session:last-child { border-bottom: 0; }
.session-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.session h3, .signout-all h3 { font-size: 12px; font-weight: 580; margin: 0; }
.session p, .signout-all p { font-size: 10px; color: var(--muted); line-height: 1.7; margin: 7px 0 0; }
.session-details { min-width: 0; }
.session details { font-size: 10px; margin-top: 8px; color: var(--muted); }
.session summary { cursor: pointer; width: fit-content; line-height: 1.8; }
.session details dl { margin: 10px 0 0; }
.session details dl > div { display: flex; gap: 10px; line-height: 1.8; }
.session details dt { min-width: 52px; }
.session details dd { margin: 0; overflow-wrap: anywhere; }
.button-quiet { min-height: 36px; font-size: 10px; border-color: var(--line); background: white; white-space: nowrap; }
.button-quiet:hover, .button-secondary:hover { background: #f4f2fa; }
.button-secondary { background: white; border-color: #d6d0e5; color: #5426cd; min-height: 40px; font-size: 11px; }
.session-actions { margin-top: 12px; }
.signout-all { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 24px; }
.button-danger { background: #fff6f5; border-color: #eccdc8; color: #a3372c; font-size: 10px; min-height: 40px; white-space: nowrap; }
.button-danger:hover { background: #ffeae7; }

@media (min-width: 1500px) {
  .auth-shell { grid-template-columns: minmax(450px, 43%) minmax(0, 1fr); }
  .brand-story { max-width: 440px; }
}

@media (max-width: 980px) {
  .auth-shell { grid-template-columns: minmax(300px, 39%) minmax(0, 1fr); }
  .brand-panel { padding-left: 30px; padding-right: 26px; }
  .brand-story h2 { font-size: 49px; letter-spacing: -2px; }
  .brand { font-size: 18px; gap: 7px; }
  .brand img { width: 35px; height: 35px; }
  .brand-eyebrow { font-size: 8px; letter-spacing: 1px; }
  .brand-footer { font-size: 9px; gap: 7px; }
  .form-panel { padding-left: 32px; padding-right: 32px; }
  .account-page .auth-shell { grid-template-columns: 225px minmax(0, 1fr); }
  .account-page .brand-panel { padding-left: 18px; padding-right: 18px; }
  .account-page .brand { font-size: 16px; }
  .account-page .brand img { width: 29px; height: 29px; }
  .account-page .form-panel { padding-left: 24px; padding-right: 24px; }
  .account-section { padding: 20px; }
  .signout-all { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (max-width: 700px) {
  .auth-shell, .account-page .auth-shell { grid-template-columns: 1fr; }
  .brand-panel, .account-page .brand-panel { padding: 22px 26px; }
  .brand, .account-page .brand { font-size: 19px; }
  .brand img, .account-page .brand img { width: 34px; height: 34px; }
  .brand-story, .brand-footer { display: none; }
  .form-panel, .account-page .form-panel { min-height: calc(100dvh - 78px); padding: 27px 26px 22px; }
  .auth-card { margin-top: 0; padding-top: 27px; padding-bottom: 38px; }
  h1 { font-size: 31px; }
  .auth-heading { margin-bottom: 27px; }
  .form-options { font-size: 11px; }
  .field input { font-size: 16px; }
  .account-page .auth-card { padding-top: 30px; }
  .account-section { padding: 20px 17px; }
  .profile-details > div { grid-template-columns: 78px minmax(0, 1fr); }
  .profile-details .status-badge, .verify-profile { margin-left: 0; margin-top: 7px; width: fit-content; display: block; }
  .session { gap: 10px; }
  .session p { max-width: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
