:root {
  --ink: #15243a;
  --ink-soft: #465467;
  --muted: #6e756f;
  --paper: #f3ede3;
  --panel: #fffdf9;
  --line: rgba(21, 36, 58, 0.16);
  --line-strong: rgba(21, 36, 58, 0.28);
  --blue: #315f9b;
  --blue-dark: #234a7d;
  --blue-pale: #e6edf5;
  --green: #315f51;
  --green-pale: #e4eee8;
  --coral: #e7795d;
  --gold: #efbd56;
  --display: "Avenir Next", "Trebuchet MS", ui-rounded, system-ui, sans-serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input {
  color: inherit;
  font: inherit;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  color: var(--ink);
  background: #f7dba3;
}

.site-header,
footer {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.security-note {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

main {
  width: min(1220px, calc(100% - 48px));
  display: grid;
  align-items: center;
  margin-inline: auto;
  padding-block: 64px 78px;
}

.signin-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.72fr);
  align-items: center;
  gap: clamp(62px, 8vw, 126px);
}

.signin-story {
  position: relative;
  isolation: isolate;
}

.signin-story::after {
  position: absolute;
  z-index: -1;
  right: 4%;
  bottom: -56px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(21, 36, 58, 0.12);
  border-radius: 50%;
  box-shadow:
    -52px 0 0 -1px var(--paper),
    -52px 0 0 0 rgba(21, 36, 58, 0.1),
    -104px 0 0 -1px var(--paper),
    -104px 0 0 0 rgba(21, 36, 58, 0.08);
  content: "";
}

.destination-line {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line-strong);
  padding: 0 0 9px;
  color: var(--ink-soft);
  font-size: 10px;
}

.destination-line strong {
  color: var(--ink);
  font-weight: 850;
}

.destination-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 11px 0 0 var(--gold), 22px 0 0 #9eb8a5;
  margin-right: 22px;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
.signin-panel h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 850;
  letter-spacing: -0.058em;
}

h1 {
  max-width: 740px;
  font-size: clamp(53px, 6vw, 82px);
  line-height: 0.96;
}

.lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.lede strong {
  color: var(--ink);
}

.signin-trust-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 38px 0 0;
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.signin-trust-list li {
  min-height: 80px;
  display: grid;
  grid-template-columns: 21px 1fr;
  align-items: center;
  gap: 7px;
  border-right: 1px solid var(--line);
  padding: 13px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 750;
  line-height: 1.45;
}

.signin-trust-list li:first-child {
  padding-left: 0;
}

.signin-trust-list li:last-child {
  border-right: 0;
}

.signin-trust-list li span {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-pale);
  font-size: 9px;
  font-weight: 900;
}

.signin-panel {
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: clamp(28px, 3.4vw, 44px);
  background: var(--panel);
  box-shadow: 0 22px 58px rgba(21, 36, 58, 0.08);
}

.signin-panel h2 {
  max-width: 430px;
  font-size: clamp(31px, 3.3vw, 43px);
  line-height: 1.04;
}

.panel-lede {
  margin: 14px 0 27px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.email-form {
  display: grid;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 850;
}

.email-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid #bbc3bd;
  border-radius: 11px;
  background: #fff;
}

input[type="email"] {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  border: 1px solid #bbc3bd;
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
  font-size: 12px;
  outline: none;
}

.email-action input[type="email"] {
  border: 0;
  border-radius: 0;
}

input[type="email"]:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(49, 95, 155, 0.13);
}

.email-action:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(49, 95, 155, 0.13);
}

.email-action input[type="email"]:focus {
  box-shadow: none;
}

button,
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: #fff;
  background: var(--blue);
}

.email-action .button-primary {
  min-width: 136px;
  min-height: 42px;
  align-self: center;
  margin-right: 4px;
  border-radius: 8px;
  font-size: 10px;
}

.button-primary:hover {
  background: var(--blue-dark);
}

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 11px;
  margin: 24px 0 18px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.divider::before,
.divider::after {
  height: 1px;
  background: var(--line);
  content: "";
}

.provider-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.button-provider {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  justify-content: start;
  gap: 9px;
  border: 1px solid var(--line);
  padding: 0 11px;
  color: var(--ink);
  background: #fff;
  font-size: 9px;
  text-align: left;
}

.button-provider:hover {
  border-color: var(--line-strong);
  background: #faf8f3;
}

.provider-mark {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef1f3;
  font-size: 10px;
  font-weight: 900;
}

.provider-google .provider-mark {
  color: #3e66c4;
  background: #eef2fb;
}

.provider-linkedin .provider-mark {
  color: #fff;
  background: #0a66c2;
  font-size: 9px;
}

.provider-facebook .provider-mark {
  color: #fff;
  background: #1877f2;
}

.provider-x .provider-mark {
  color: #fff;
  background: #111;
}

.fine-print {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.signin-fine-print {
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}

.notice {
  margin: 0 0 20px;
  border-left: 3px solid var(--green);
  padding: 12px 14px;
  color: #2b4d40;
  background: var(--green-pale);
  font-size: 11px;
  line-height: 1.55;
}

.notice-error {
  border-left-color: var(--coral);
  color: #813c2c;
  background: #fff0ec;
}

.field-validation-error {
  display: block;
  margin-top: 7px;
  color: #943f2d;
  font-size: 10px;
  font-weight: 750;
}

.auth-shell {
  width: min(100%, 560px);
  justify-self: center;
}

.auth-shell h1 {
  font-size: clamp(48px, 6vw, 70px);
}

.auth-shell > .card {
  margin-top: 30px;
}

.auth-shell-compact {
  width: min(100%, 680px);
}

.auth-shell-compact .destination-line {
  margin-bottom: 34px;
}

.card {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 29px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(21, 36, 58, 0.06);
}

.card form > .button-primary,
.card form > .button-provider,
.card > .button {
  width: 100%;
}

.card form > .button-primary {
  margin-top: 12px;
}

.account-completion-card .fine-print {
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}

.account-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.avatar {
  width: 46px;
  height: 46px;
  display: grid;
  flex: none;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-pale);
  font-weight: 850;
}

.account-row strong,
.account-row span {
  display: block;
}

.account-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.mail-illustration {
  width: 70px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--gold);
}

.mail-illustration span {
  width: 33px;
  height: 33px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-13px) rotate(45deg);
}

.dev-link {
  display: block;
  margin-top: 12px;
  overflow-wrap: anywhere;
  color: var(--blue);
  font-size: 10px;
  line-height: 1.5;
}

footer {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

footer a {
  color: var(--ink-soft);
  font-weight: 800;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  main {
    padding-block: 52px 68px;
  }

  .signin-stage {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1fr);
    gap: 44px;
  }

  .signin-story h1 {
    font-size: clamp(48px, 6.4vw, 65px);
  }

  .signin-trust-list {
    grid-template-columns: 1fr;
  }

  .signin-trust-list li,
  .signin-trust-list li:first-child {
    min-height: 44px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-inline: 0;
  }

  .signin-trust-list li:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .site-header,
  footer,
  main {
    width: min(100% - 32px, 1220px);
  }

  .signin-stage {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .signin-story::after {
    display: none;
  }

  .signin-trust-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .signin-trust-list li,
  .signin-trust-list li:first-child {
    min-height: 74px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    padding: 12px;
  }

  .signin-trust-list li:first-child {
    padding-left: 0;
  }

  .signin-trust-list li:last-child {
    border-right: 0;
  }

  .signin-panel {
    padding: 28px;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 68px;
  }

  .security-note {
    display: none;
  }

  main {
    align-items: start;
    padding-block: 40px 56px;
  }

  .destination-line {
    margin-bottom: 30px;
  }

  .signin-story h1,
  .auth-shell h1 {
    font-size: clamp(44px, 13.5vw, 58px);
  }

  .signin-story .lede {
    font-size: 14px;
  }

  .signin-trust-list {
    grid-template-columns: 1fr;
  }

  .signin-trust-list li,
  .signin-trust-list li:first-child {
    min-height: 43px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-inline: 0;
  }

  .signin-trust-list li:last-child {
    border-bottom: 0;
  }

  .signin-panel,
  .card {
    padding: 23px 20px;
  }

  .email-action {
    grid-template-columns: 1fr;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .email-action input[type="email"] {
    border: 1px solid #bbc3bd;
    border-radius: 10px;
  }

  .email-action .button-primary {
    width: 100%;
    min-height: 48px;
    margin: 9px 0 0;
  }

  .email-action:focus-within {
    box-shadow: none;
  }

  .provider-grid {
    grid-template-columns: 1fr;
  }

  footer {
    min-height: 82px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding-block: 18px;
  }
}

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