:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --canvas: #f9f9f9;
  --surface: #fff;
  --ink: #242424;
  --muted: #626262;
  --line: rgba(0, 0, 0, .1);
}
* { box-sizing: border-box; }
html { min-width: 280px; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid #242424; outline-offset: 4px; }
.skip-link {
  position: absolute;
  z-index: 20;
  top: -80px;
  left: 24px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #242424;
  color: #fff;
}
.skip-link:focus { top: 20px; }
.topbar {
  position: relative;
  z-index: 2;
  margin: 12px 16px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  min-height: 62px;
  margin: 0 auto;
}
.identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand {
  white-space: nowrap;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.04em;
}
.product {
  padding-left: 14px;
  border-left: 1px solid rgba(0, 0, 0, .15);
  color: #656565;
  font-size: 13px;
  line-height: 20px;
}
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: #505050;
  font-size: 13px;
  font-weight: 500;
}
.topbar-link:hover, .text-action:hover, .back-link:hover,
.site-footer a:hover, .account-side-card a:hover { color: #111; text-decoration: underline; text-underline-offset: 4px; }
.page {
  flex: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.eyebrow, .overview-label, .trust-label, .side-label {
  margin: 0 0 22px;
  color: #666;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
h1, h2, p { overflow-wrap: break-word; }
h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(40px, 4.2vw, 56px);
  font-weight: 600;
  letter-spacing: -.048em;
  line-height: 1.08;
  text-wrap: balance;
}
.lede {
  max-width: 50ch;
  margin: 22px 0 0;
  color: #575757;
  font-size: 17px;
  line-height: 1.6;
}
.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .8fr);
  align-items: center;
  gap: clamp(56px, 9vw, 150px);
  min-height: max(620px, calc(100svh - 170px));
  padding: 64px 0 84px;
}
.home-copy { min-width: 0; }
.home-actions, .auth-actions, .account-card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}
.primary-action, .secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(26, 26, 26, .92);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), 0 6px 20px rgba(0, 0, 0, .08);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s ease, box-shadow .18s ease;
}
.primary-action:hover { background: #3a3a3a; }
.primary-action:focus-visible { outline-color: #242424; outline-offset: 4px; }
.primary-action[disabled] { opacity: .48; box-shadow: none; cursor: not-allowed; }
.text-action, .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #555;
  font-size: 14px;
  font-weight: 500;
}
.account-overview {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #fff, #f3f3f3);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .035);
}
.overview-label { margin-bottom: 26px; }
.overview-symbol, .trust-mark {
  position: relative;
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: #242424;
}
.overview-symbol span, .trust-mark span {
  position: absolute;
  background: #f9f9f9;
}
.overview-symbol span:first-child {
  top: 13px;left: 26px;width: 12px;height: 12px;border-radius: 50%;
}
.overview-symbol span:last-child {
  top: 30px;left: 17px;width: 30px;height: 19px;border-radius: 15px 15px 3px 3px;
}
.account-overview h2 {
  max-width: 18ch;
  margin: 38px 0 0;
  font-size: clamp(25px, 2.6vw, 34px);
  font-weight: 550;
  letter-spacing: -.038em;
  line-height: 1.14;
}
.account-overview > p:not(.overview-label) {
  max-width: 32ch;
  margin: 16px 0 0;
  color: #5e5e5e;
  font-size: 14px;
  line-height: 1.6;
}
.overview-steps { margin-top: 44px; }
.overview-steps div {
  display: flex;
  align-items: baseline;
  gap: 22px;
  min-height: 45px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.overview-steps span { color: #626262; font-size: 11px; }
.overview-steps strong { font-size: 13px; font-weight: 550; }
.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  min-height: 540px;
  max-width: 960px;
  margin: clamp(64px, 10vh, 110px) auto 100px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 56px rgba(0, 0, 0, .045);
}
.auth-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(38px, 5.2vw, 70px);
}
.auth-card h1 { font-size: clamp(40px, 4.5vw, 56px); }
.auth-card .lede { max-width: 30ch; }
.auth-actions { display: block; margin-top: 36px; }
.auth-actions .primary-action { max-width: 100%; }
.helper {
  max-width: 36ch;
  margin: 14px 0 0;
  color: #6b6b6b;
  font-size: 12px;
  line-height: 1.55;
}
.back-link { margin-top: 34px; }
.trust-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(36px, 4.5vw, 60px);
  background: radial-gradient(circle at 88% 0%, #353535 0, #222 48%, #1b1b1b 100%);
  color: #f9f9f9;
}
.trust-label { color: #bdbdbd; }
.trust-mark {
  width: 56px;
  height: 56px;
  border: 1px solid #777;
  background: rgba(255, 255, 255, .08);
}
.trust-mark span:first-child {
  top: 12px;left: 18px;width: 18px;height: 17px;
  border: 2px solid #f9f9f9;border-bottom: 0;border-radius: 9px 9px 0 0;background: transparent;
}
.trust-mark span:last-child {
  top: 27px;left: 15px;width: 26px;height: 18px;border-radius: 3px;
}
.trust-panel h2 {
  margin: auto 0 0;
  padding-top: 56px;
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 550;
  letter-spacing: -.04em;
  line-height: 1.14;
}
.trust-panel > p:not(.trust-label) {
  max-width: 32ch;
  margin: 18px 0 36px;
  color: #d2d2d2;
  font-size: 14px;
  line-height: 1.65;
}
.trust-note {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: 13px;
}
.trust-note span:first-child { min-width: 20px; color: #aaa; font-size: 11px; }
.account-shell { padding: 34px 0 110px; }
.account-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.account-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #5b5b5b;
  font-size: 13px;
  font-weight: 500;
}
.account-nav a[aria-current="page"] {
  border-color: var(--line);
  background: #fff;
  color: #242424;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .025);
}
.account-nav a:hover { background: #fff; color: #242424; }
.account-nav .nav-signout { margin-left: auto; }
.account-heading { padding: 76px 0 52px; }
.account-heading h1 { font-size: clamp(40px, 4.6vw, 56px); }
.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 16px;
}
.account-main-card, .account-side-card {
  min-width: 0;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 20px;
  background: #f3f3f3;
  color: #444;
  font-size: 12px;
  font-weight: 550;
}
.status-pill span { width: 6px; height: 6px; border-radius: 50%; background: #444; }
.account-main-card h2 {
  max-width: 24ch;
  margin: 44px 0 0;
  font-size: clamp(25px, 2.7vw, 36px);
  font-weight: 550;
  letter-spacing: -.04em;
  line-height: 1.17;
}
.account-main-card > p, .account-side-card > p:not(.side-label) {
  max-width: 56ch;
  margin: 16px 0 0;
  color: #626262;
  font-size: 14px;
  line-height: 1.65;
}
.account-card-actions { gap: 10px; margin-top: 32px; }
.secondary-action {
  min-height: 44px;
  border-color: rgba(0, 0, 0, .13);
  background: rgba(249, 249, 249, .76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 3px 12px rgba(0, 0, 0, .025);
  color: #242424;
  font-weight: 500;
}
.secondary-action:hover { background: #ededed; }
.side-label { margin-bottom: 38px; }
.account-side-card strong { display: block; max-width: 18ch; font-size: 19px; font-weight: 550; letter-spacing: -.025em; line-height: 1.3; }
.account-side-card a { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; margin-top: 26px; color: #444; font-size: 13px; font-weight: 550; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 30px;
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  padding: 16px 0;
  color: #666;
  font-size: 12px;
}
.footer-inner > span { color: #303030; font-weight: 600; }
.footer-product { color: #626262; font-weight: 400; }
.environment-badge {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #626262;
  font-size: 11px;
  font-weight: 500;
  text-transform: capitalize;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 20px; }
@media (max-width: 860px) {
  .home-layout { grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr); gap: 36px; }
  .login-layout { grid-template-columns: minmax(0, 1fr) minmax(250px, .8fr); }
  .account-grid { grid-template-columns: minmax(0, 1fr) minmax(240px, .7fr); }
}
@media (max-width: 700px) {
  .topbar { margin: 8px 8px 0; }
  .topbar-inner, .page, .footer-inner { width: calc(100% - 36px); }
  .topbar-inner { min-height: 56px; }
  .home-layout { grid-template-columns: 1fr; min-height: 0; gap: 44px; padding: 76px 0 72px; }
  .home-copy h1 { max-width: 18ch; }
  .account-overview { max-width: none; }
  .login-layout { grid-template-columns: 1fr; min-height: 0; margin: 52px 0 72px; }
  .auth-card { padding: 42px 30px 46px; }
  .trust-panel { min-height: 300px; padding: 32px 30px; }
  .trust-panel h2 { padding-top: 42px; }
  .trust-panel > p:not(.trust-label) { margin-bottom: 24px; }
  .account-shell { padding: 24px 0 76px; }
  .account-heading { padding: 64px 0 40px; }
  .account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .topbar-link { display: none; }
  .brand { font-size: 16px; }
  .product { font-size: 12px; }
  h1 { font-size: 40px; }
  .lede { font-size: 16px; }
  .auth-card { padding: 40px 24px; }
  .auth-card h1 { font-size: 42px; }
  .auth-actions .primary-action { width: 100%; }
  .trust-panel { padding: 30px 24px; }
  .account-overview { padding: 28px; }
  .account-nav .nav-signout { margin-left: 0; }
  .footer-inner { align-items: flex-start; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar { background: #fff; }
  .primary-action { background: #242424; }
  .secondary-action { background: #f9f9f9; }
}
@media (prefers-reduced-transparency: reduce) {
  .topbar { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .primary-action { background: #242424; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .secondary-action { background: #f9f9f9; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .primary-action, .secondary-action { transition: none; }
}
@media (forced-colors: active) {
  .topbar, .account-overview, .login-layout, .account-main-card, .account-side-card,
  .primary-action, .secondary-action, .account-nav a[aria-current="page"] {
    border: 1px solid ButtonText;
    background: ButtonFace;
    color: ButtonText;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .trust-panel { background: Canvas; color: CanvasText; border-top: 1px solid CanvasText; }
  .trust-panel > p:not(.trust-label), .trust-label, .trust-note span:first-child { color: CanvasText; }
  .status-pill span { background: CanvasText; }
}
