:root {
  color-scheme: dark;
  --access-bg: #020608;
  --access-panel: rgba(6, 14, 18, 0.9);
  --access-panel-solid: #081116;
  --access-panel-raised: #0d1a20;
  --access-line: rgba(179, 222, 230, 0.25);
  --access-line-strong: rgba(179, 222, 230, 0.42);
  --access-line-soft: rgba(179, 222, 230, 0.13);
  --access-text: #f7fbfc;
  --access-muted: #c2d0d5;
  --access-faint: #91a4ac;
  --access-cyan: #68e8f5;
  --access-green: #68e0ad;
  --access-amber: #ffd06f;
  --access-red: #ff8188;
  --access-blue: #83b3ff;
  --access-lime: #d9fa70;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  min-width: 0;
  min-height: 100%;
  background: var(--access-bg);
}

body {
  width: 100%;
  min-width: 0;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--access-bg);
  color: var(--access-text);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

:is(a, button, input, summary):focus-visible {
  outline: 3px solid var(--access-cyan);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-170%);
  border-radius: 5px;
  background: var(--access-text);
  color: #041014;
  font-size: 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.access-backdrop,
.access-scrim {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
}

.access-backdrop {
  object-fit: cover;
  object-position: center center;
}

.access-scrim {
  background: rgba(1, 5, 7, 0.42);
}

.access-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(28px, 4vw);
  border-bottom: 1px solid var(--access-line-soft);
  background: rgba(2, 7, 9, 0.84);
  backdrop-filter: blur(24px) saturate(125%);
}

.access-brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
}

.access-brand > span:last-child {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.access-brand strong {
  color: var(--access-text);
  font-size: 20px;
  font-weight: 900;
}

.access-brand small {
  color: var(--access-muted);
  font-size: 12px;
  font-weight: 800;
}

.brand-glyph {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
}

.brand-glyph img {
  display: block;
  width: 100%;
  height: 100%;
}

.access-header nav,
.access-footer nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.access-header nav a {
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 6px;
  color: var(--access-muted);
  font-size: 14px;
  font-weight: 700;
}

.access-header nav a:first-child {
  border: 1px solid var(--access-line);
  background: rgba(8, 18, 23, 0.7);
  color: var(--access-text);
}

.access-header nav a:hover {
  border-color: var(--access-line-strong);
  background: var(--access-panel-raised);
  color: var(--access-text);
}

.access-main {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100svh;
  align-content: center;
  justify-items: start;
  gap: 18px;
  padding: 104px max(28px, 7vw) 108px;
}

.access-console {
  width: min(560px, 100%);
  scroll-margin-top: 88px;
  overflow: hidden;
  border: 1px solid var(--access-line-strong);
  border-radius: 8px;
  background: var(--access-panel);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.68), 0 0 0 1px rgba(255, 255, 255, 0.025) inset;
  backdrop-filter: blur(30px) saturate(130%);
}

.access-console-head {
  padding: 30px 32px 24px;
  border-bottom: 1px solid var(--access-line-soft);
}

.access-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--access-cyan);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.access-kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--access-green);
  box-shadow: 0 0 0 4px rgba(104, 224, 173, 0.14), 0 0 20px rgba(104, 224, 173, 0.45);
}

.access-console-head h1 {
  margin: 10px 0 7px;
  color: var(--access-text);
  font-size: 40px;
  font-weight: 820;
  line-height: 1.08;
}

.access-console-head p {
  margin: 0;
  color: var(--access-muted);
  font-size: 17px;
  line-height: 1.5;
}

.site-alert {
  margin: 16px 26px 0;
  padding: 12px 14px;
  border: 1px solid var(--access-line);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.site-alert.success {
  border-color: rgba(104, 224, 173, 0.46);
  background: rgba(16, 72, 52, 0.55);
  color: #c3f7df;
}

.site-alert.warning {
  border-color: rgba(255, 208, 111, 0.48);
  background: rgba(80, 56, 10, 0.62);
  color: #ffe8b5;
}

.signin-form {
  padding: 24px 32px 26px;
}

.access-page [hidden] {
  display: none !important;
}

.auth-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0 24px;
  border-bottom: 1px solid var(--access-line);
}

.auth-mode a {
  display: grid;
  min-height: 52px;
  place-items: center;
  border-bottom: 3px solid transparent;
  color: var(--access-muted);
  font-size: 15px;
  font-weight: 750;
}

.auth-mode a[aria-current="page"] {
  border-bottom-color: var(--access-cyan);
  color: var(--access-text);
}

.auth-mode a:hover {
  background: var(--access-panel-raised);
  color: var(--access-text);
}

.access-console[data-mode="create"] .access-console-head h1 {
  font-size: 32px;
  line-height: 1.2;
}

.access-console[data-mode="create"] .account-create {
  border-top: 0;
  background: transparent;
}

.access-console[data-mode="create"] .account-create > summary > b::before {
  content: none;
}

.access-console[data-mode="create"] .create-account-form {
  padding-top: 22px;
}

.access-console[data-mode="create"] .create-account-form header {
  padding-top: 0;
  border-top: 0;
}

.access-console[data-mode="create"] .create-account-form header > span,
.access-console[data-mode="create"] .create-account-form h2 {
  display: none;
}

.passwordless-form,
.password-fallback form,
.create-account-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

label > span,
.create-account-form header > span {
  color: var(--access-muted);
  font-size: 14px;
  font-weight: 700;
}

input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 15px;
  border: 1px solid var(--access-line-strong);
  border-radius: 7px;
  background: rgba(2, 8, 11, 0.9);
  color: var(--access-text);
  font-size: 17px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.035) inset;
}

input::placeholder {
  color: #8fa1a8;
  opacity: 1;
}

input:hover {
  border-color: rgba(179, 222, 230, 0.62);
}

input:focus {
  border-color: var(--access-cyan);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(104, 232, 245, 0.15);
}

button {
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid #baf5fb;
  border-radius: 7px;
  background: var(--access-cyan);
  color: #041115;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(25, 170, 184, 0.2);
}

button:hover {
  border-color: #e2fcff;
  background: #a5f3fb;
}

.auth-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 19px 0;
  color: var(--access-faint);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.auth-route::before,
.auth-route::after {
  height: 1px;
  background: var(--access-line-soft);
  content: "";
}

.phone-signin {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  min-height: 62px;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border: 1px solid var(--access-line);
  border-radius: 7px;
  background: rgba(13, 27, 34, 0.82);
}

.phone-signin:hover {
  border-color: var(--access-cyan);
  background: var(--access-panel-raised);
}

.phone-signin > i {
  position: relative;
  display: block;
  width: 19px;
  height: 29px;
  justify-self: center;
  border: 2px solid var(--access-cyan);
  border-radius: 5px;
}

.phone-signin > i::after {
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 4px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--access-cyan);
  content: "";
}

.phone-signin > span {
  display: grid;
  gap: 2px;
}

.phone-signin strong {
  color: var(--access-text);
  font-size: 14px;
}

.phone-signin small {
  color: var(--access-muted);
  font-size: 12px;
}

.phone-signin b {
  color: var(--access-cyan);
  font-size: 26px;
  font-weight: 400;
}

details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

.password-fallback {
  margin-top: 20px;
  border-top: 1px solid var(--access-line-soft);
  padding-top: 17px;
}

.password-fallback > summary,
.optional-password > summary {
  color: var(--access-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.password-fallback > summary:hover,
.optional-password > summary:hover {
  color: var(--access-text);
}

.password-fallback[open] > summary,
.optional-password[open] > summary {
  margin-bottom: 14px;
  color: var(--access-cyan);
}

.form-assist {
  justify-self: start;
  color: var(--access-cyan);
  font-size: 13px;
  font-weight: 700;
}

.form-assist:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-create {
  border-top: 1px solid var(--access-line-soft);
  background: rgba(4, 11, 15, 0.72);
}

.account-create > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 82px;
  align-items: center;
  gap: 16px;
  padding: 15px 32px;
  cursor: pointer;
}

.account-create > summary:hover {
  background: rgba(13, 27, 34, 0.7);
}

.account-create > summary > span {
  display: grid;
  gap: 3px;
}

.account-create > summary strong {
  color: var(--access-text);
  font-size: 15px;
}

.account-create > summary small {
  color: var(--access-muted);
  font-size: 12px;
  line-height: 1.4;
}

.account-create > summary > b {
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid var(--access-line-strong);
  border-radius: 6px;
  color: var(--access-cyan);
  font-size: 13px;
  white-space: nowrap;
}

.account-create[open] > summary > b {
  color: var(--access-muted);
}

.account-create[open] > summary > b::before {
  content: "Close ";
}

.create-account-form {
  padding: 0 32px 28px;
  scroll-margin-top: 88px;
}

.create-account-form header {
  padding-top: 5px;
  border-top: 1px solid var(--access-line-soft);
}

.create-account-form header > span {
  display: block;
  margin-top: 20px;
  color: var(--access-green);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.create-account-form h2 {
  margin: 6px 0 5px;
  color: var(--access-text);
  font-size: 25px;
  line-height: 1.2;
}

.create-account-form header p {
  margin: 0;
  color: var(--access-muted);
  font-size: 14px;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.optional-password {
  padding: 12px 13px;
  border: 1px solid var(--access-line-soft);
  border-radius: 7px;
  background: rgba(8, 17, 22, 0.78);
}

.optional-password > summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.optional-password > summary span {
  color: var(--access-faint);
  font-size: 12px;
}

.terms-check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.terms-check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--access-cyan);
}

.terms-check span {
  color: var(--access-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.terms-check a {
  color: var(--access-cyan);
}

.access-assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--access-line-soft);
  background: rgba(2, 9, 12, 0.75);
}

.access-assurance span {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 9px;
  border-right: 1px solid var(--access-line-soft);
  color: var(--access-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.access-assurance span:last-child {
  border-right: 0;
}

.access-assurance i {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--access-green);
}

.product-rail {
  display: grid;
  width: min(680px, 100%);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--access-line);
  border-radius: 8px;
  background: rgba(3, 10, 13, 0.86);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(24px) saturate(120%);
}

.product-rail > span {
  --product-color: var(--access-muted);
  display: grid;
  grid-template-columns: auto minmax(0, auto);
  grid-template-rows: auto auto;
  min-width: 0;
  min-height: 62px;
  align-content: center;
  justify-content: center;
  column-gap: 7px;
  padding: 9px 8px;
  border-right: 1px solid var(--access-line-soft);
}

.product-rail > span:last-child {
  border-right: 0;
}

.product-rail i {
  grid-row: 1 / 3;
  align-self: center;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--product-color);
  box-shadow: 0 0 12px color-mix(in srgb, var(--product-color) 55%, transparent);
}

.product-rail strong {
  color: var(--product-color);
  font-size: 12px;
  font-weight: 900;
}

.product-rail small {
  overflow: hidden;
  color: var(--access-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-rail .volume { --product-color: var(--access-lime); }
.product-rail .news { --product-color: #ffbd4a; }
.product-rail .ipo { --product-color: var(--access-blue); }
.product-rail .long { --product-color: var(--access-green); }
.product-rail .short { --product-color: var(--access-red); }
.product-rail .crypto { --product-color: var(--access-cyan); }

.membership-disclosure {
  width: min(680px, 100%);
  margin-top: 6px;
  padding: 22px 0 0;
  border-top: 1px solid #52656d;
  background: #071015;
  color: #d2dfe4;
  font-size: 14px;
  line-height: 1.65;
}
.membership-disclosure h2 { margin: 0 0 12px; color: #f4f8fa; font-size: 18px; }
.membership-disclosure p { margin: 0 0 14px; }
.membership-disclosure address { font-style: normal; overflow-wrap: anywhere; }
.membership-disclosure address strong { color: #f4f8fa; font-weight: 650; }
.membership-disclosure a { color: #8ed9eb; text-decoration: underline; text-underline-offset: 3px; }
.disclosure-prices { margin: 0 0 14px; }
.disclosure-prices > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding: 9px 0; border-bottom: 1px solid #2b3f48; }
.disclosure-prices dt { color: #f4f8fa; font-weight: 650; }
.disclosure-prices dd { margin: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .membership-disclosure { margin-top: 24px; } }

.access-footer {
  position: fixed;
  z-index: 10;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  min-height: 48px;
  align-items: center;
  gap: 20px;
  padding: 0 max(28px, 4vw);
  border-top: 1px solid var(--access-line-soft);
  background: rgba(2, 7, 9, 0.84);
  color: var(--access-faint);
  backdrop-filter: blur(24px) saturate(125%);
  font-size: 12px;
}

.access-footer nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 7px;
  color: var(--access-muted);
}

.access-footer nav a:hover {
  color: var(--access-text);
}

@media (max-width: 900px) {
  .access-scrim {
    background: rgba(1, 5, 7, 0.58);
  }

  .access-main {
    justify-items: center;
  }
}

@media (max-width: 700px) {
  .access-backdrop {
    object-position: 63% center;
  }

  .access-scrim {
    background: rgba(1, 5, 7, 0.7);
  }

  .access-header {
    height: 64px;
    padding: 0 14px;
    gap: 12px;
  }

  .access-brand {
    gap: 10px;
  }

  .brand-glyph {
    width: 36px;
    height: 36px;
  }

  .access-brand strong {
    font-size: 18px;
  }

  .access-header nav a {
    min-height: 44px;
    padding: 10px;
    font-size: 13px;
  }

  .access-header nav a:first-child {
    display: none;
  }

  .access-main {
    display: block;
    min-height: 100svh;
    padding: 80px 12px 104px;
  }

  .access-console {
    width: 100%;
  }

  .access-console-head,
  .signin-form,
  .account-create > summary,
  .create-account-form {
    padding-right: 21px;
    padding-left: 21px;
  }

  .access-console-head {
    padding-top: 25px;
    padding-bottom: 20px;
  }

  .access-console-head h1 {
    font-size: 34px;
  }

  .access-console-head p {
    font-size: 16px;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-rail {
    width: 100%;
    margin-top: 12px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .product-rail > span {
    grid-template-columns: auto;
    grid-template-rows: auto;
    min-height: 52px;
    gap: 2px;
    padding: 8px 3px;
    text-align: center;
  }

  .product-rail i,
  .product-rail small {
    display: none;
  }

  .product-rail strong {
    font-size: 12px;
  }

  .access-footer {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    min-height: 76px;
    gap: 8px;
    padding: 9px 14px;
    font-size: 12px;
  }

  .access-footer > span {
    display: block;
  }

  .access-footer nav a {
    min-height: 44px;
  }

  .access-footer nav {
    flex-wrap: wrap;
    gap: 4px 12px;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .access-brand small {
    display: none;
  }

  .access-header nav {
    gap: 2px;
  }

  .access-header nav a {
    padding-inline: 8px;
  }

  .access-console-head h1 {
    font-size: 31px;
  }

  .access-console-head p {
    font-size: 15px;
  }

  .account-create > summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .account-create > summary > b {
    justify-self: start;
  }

  .access-assurance span {
    padding: 7px 5px;
    font-size: 12px;
  }

  .access-assurance i {
    display: none;
  }

  .product-rail strong {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
