:root {
  --ink: #071729;
  --ink-soft: #43516a;
  --muted: #718096;
  --line: #d9e2ee;
  --green: #08b98e;
  --green-2: #16d7a8;
  --dark: #03111f;
  --panel: #ffffff;
  --shadow: 0 24px 80px rgba(7, 23, 41, .14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 99% 8%, rgba(20, 209, 174, .18), transparent 28%),
    linear-gradient(90deg, #f6f9fc, #fff);
  line-height: 1.5;
}

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

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(520px, 50vw) minmax(520px, 1fr);
  overflow: hidden;
}

.auth-side {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  border-radius: 0 18px 18px 0;
  background: var(--dark);
  color: #fff;
}

.auth-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.auth-side-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 15%, rgba(14, 158, 180, .16), transparent 32%),
    linear-gradient(180deg, rgba(3, 17, 31, .78) 0%, rgba(3, 17, 31, .56) 46%, rgba(3, 17, 31, .1) 100%),
    linear-gradient(90deg, rgba(3, 17, 31, .8), rgba(3, 17, 31, .18));
}

.auth-side-content {
  position: relative;
  z-index: 1;
  min-height: 100%;
  padding: 44px 58px 58px;
}







.auth-message {
  max-width: 520px;
  margin-top: 74px;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0 0 26px;
  padding: 0 18px;
  border: 1px solid rgba(18, 224, 173, .64);
  border-radius: 999px;
  color: var(--green-2);
  background: rgba(8, 198, 147, .07);
  font-weight: 800;
}

.auth-message h1 {
  margin: 0;
  font-size: clamp(42px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.auth-message h1 span {
  color: var(--green-2);
}

.auth-message > p:not(.auth-eyebrow) {
  max-width: 420px;
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, .86);
  font-size: 19px;
  line-height: 1.55;
}

.auth-message > p strong {
  color: var(--green-2);
}

.auth-benefits {
  display: grid;
  gap: 24px;
}

.auth-benefits div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
}

.auth-benefits i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(18, 224, 173, .58);
  border-radius: 50%;
  color: var(--green-2);
  background: rgba(8, 198, 147, .09);
  font-size: 24px;
  font-style: normal;
}

.auth-benefits strong {
  display: block;
  font-size: 16px;
}

.auth-benefits small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.floating-card {
  position: absolute;
  z-index: 2;
  width: 205px;
  min-height: 105px;
  padding: 16px;
  border: 1px solid rgba(143, 195, 232, .32);
  border-radius: var(--radius);
  background: rgba(6, 28, 49, .72);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .25);
  backdrop-filter: blur(12px);
}

.floating-card small {
  display: block;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
}

.floating-card strong {
  display: block;
  margin-top: 6px;
  font-size: 26px;
  line-height: 1.1;
}

.floating-card span {
  color: var(--green-2);
  font-size: 13px;
  font-weight: 700;
}

.floating-card svg {
  width: 100%;
  height: 42px;
  margin-top: 4px;
}

.floating-card path {
  fill: none;
  stroke: var(--green-2);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.price-card {
  right: 42px;
  top: 34.5%;
}

.opportunity-card {
  right: 40px;
  top: 53%;
}

.yield-card {
  right: 24px;
  top: 62%;
}

.bars {
  height: 40px;
  display: flex;
  align-items: end;
  gap: 10px;
  margin-top: 12px;
}

.bars i {
  width: 13px;
  background: linear-gradient(180deg, var(--green-2), rgba(8, 198, 147, .18));
  border-radius: 2px 2px 0 0;
}

.bars i:nth-child(1) { height: 8px; }
.bars i:nth-child(2) { height: 14px; }
.bars i:nth-child(3) { height: 20px; }
.bars i:nth-child(4) { height: 27px; }
.bars i:nth-child(5) { height: 33px; }
.bars i:nth-child(6) { height: 40px; }

.yield-card path {
  stroke: #9b4cf3;
}

.social-proof {
  position: absolute;
  left: 58px;
  right: 58px;
  bottom: 58px;
  min-height: 110px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid rgba(143, 195, 232, .16);
  border-radius: var(--radius);
  background: rgba(4, 18, 31, .54);
  backdrop-filter: blur(14px);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack span,
.avatar-stack b {
  width: 48px;
  height: 48px;
  margin-right: -12px;
  border: 3px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  background: linear-gradient(135deg, #f7c6a1, #80594f);
}

.avatar-stack span:nth-child(2) {
  background: linear-gradient(135deg, #d1e4fb, #3c506a);
}

.avatar-stack span:nth-child(3) {
  background: linear-gradient(135deg, #e1a681, #704341);
}

.avatar-stack b {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--green-2), #079276);
  font-size: 15px;
}

.stars {
  color: #ffbf27;
  font-size: 20px;
}

.social-proof p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: 15px;
  line-height: 1.45;
}

.auth-main {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 48px min(7vw, 92px) 34px;
}

.auth-switch {
  justify-self: end;
  color: var(--ink);
  font-size: 16px;
}

.auth-switch a {
  margin-left: 12px;
  color: #008e73;
  font-weight: 800;
}

.auth-card {
  align-self: center;
  width: min(640px, 100%);
  margin: 36px auto 28px;
  padding: 52px;
  border: 1px solid #e4ebf3;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

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

.register-page {
  grid-template-columns: minmax(440px, 42vw) minmax(680px, 1fr);
  overflow: visible;
}

.register-page .floating-card {
  display: none;
}

.register-page .auth-message {
  margin-top: 58px;
}

.auth-card.register-card {
  width: min(900px, 100%);
  align-self: start;
  margin: 20px auto 18px;
  padding: 32px 40px 34px;
}

.register-main {
  min-height: 100vh;
  padding: 28px min(5vw, 72px) 28px;
}

.register-card .auth-card-header {
  margin-bottom: 16px;
}

.register-card .form-icon {
  width: 56px;
  height: 56px;
  font-size: 28px;
}

.register-card h2 {
  font-size: 36px;
}

.register-card .auth-card-header p {
  margin-top: 6px;
  font-size: 16px;
}

.register-card .field {
  margin-bottom: 0;
}

.register-card .input-shell {
  min-height: 48px;
}

.register-card .field label {
  font-size: 14px;
}

.register-card .password-rules {
  gap: 8px 18px;
}

.register-card .divider {
  margin: 12px 0;
}

.register-card .secure-note {
  grid-template-columns: 38px 1fr;
  margin-top: 12px;
  padding: 12px 14px;
}

.register-card .secure-note i {
  width: 36px;
  height: 36px;
}

.register-card .submit-button {
  min-height: 50px;
  font-size: 18px;
}

.register-section {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid #e7edf5;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 14px;
}

.section-heading strong {
  color: var(--ink);
  font-size: 16px;
}

.section-heading span {
  color: #67758b;
  font-size: 13px;
  text-align: right;
}

.account-type-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}
.account-type-switch label { cursor: pointer; }
.account-type-switch input { position: absolute; opacity: 0; pointer-events: none; }
.account-type-switch span {
  min-height: 72px;
  display: grid;
  align-content: center;
  padding: 13px 16px;
  border: 1px solid #dce5ee;
  border-radius: 8px;
  color: #102136;
  font-weight: 800;
  transition: .18s ease;
}
.account-type-switch small {
  display: block;
  margin-top: 4px;
  color: #6b7d91;
  font-size: 12px;
  font-weight: 500;
}
.account-type-switch input:checked + span {
  border-color: #08b78d;
  background: rgba(8,183,141,.07);
  box-shadow: 0 0 0 2px rgba(8,183,141,.1);
}
@media (max-width: 760px) {
  .account-type-switch { grid-template-columns: 1fr; }
}

.register-card .social-buttons button {
  min-height: 46px;
}

.auth-card-header {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 34px;
}

.form-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--green);
  background: rgba(8, 198, 147, .12);
  font-size: 32px;
}

.auth-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: 0;
}

.auth-card-header p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.4;
}

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

.field {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.field.span-2 {
  grid-column: 1 / -1;
}

.field label,
.checkbox-row {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.input-shell {
  min-height: 58px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid #cfd9e6;
  border-radius: 7px;
  background: #fff;
}

.input-shell:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(8, 198, 147, .1);
}

.input-shell input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 17px;
}

.input-shell select {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 16px;
}

.phone-control {
  position: relative;
  min-height: 48px;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) 18px;
  align-items: stretch;
  border: 1px solid #cfd9e6;
  border-radius: 7px;
  background: #fff;
}

.phone-control:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(8, 198, 147, .1);
}

.field.has-error .phone-control {
  border-color: #df4c59;
  box-shadow: 0 0 0 3px rgba(223,76,89,.1);
}

.phone-prefix-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-right: 1px solid #e0e7ef;
  border-radius: 6px 0 0 6px;
  color: var(--ink);
  background: #f4f8fc;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.phone-number-shell {
  position: relative;
  display: grid;
  align-content: center;
  padding: 13px 12px 5px;
}

.phone-floating-label {
  position: absolute;
  top: 5px;
  left: 12px;
  color: #7d8ba0;
  font-size: 11px;
  line-height: 1;
}

.phone-number-shell input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 17px;
}

.phone-dropdown {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  width: min(360px, 100vw - 36px);
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(7, 23, 41, .18);
}

.phone-search {
  min-height: 44px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid #e7edf5;
  color: #66758c;
}

.phone-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  font: inherit;
}

.phone-options {
  max-height: 245px;
  overflow: auto;
  padding-top: 8px;
}

.phone-options button {
  width: 100%;
  min-height: 42px;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: center;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.phone-options button:hover,
.phone-options button:focus {
  background: #f2f7fb;
  outline: 0;
}

.phone-options strong {
  font-weight: 600;
}

.password-toggle {
  border: 0;
  min-width: 66px;
  padding: 6px 8px;
  border-radius: 6px;
  color: #008e73;
  background: rgba(8, 198, 147, .08);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.field-state { min-width: 16px; text-align: right; color: var(--green); font-weight: 900; }
.field.is-valid .field-state::after { content: "\2713"; }
.field.has-error .input-shell { border-color: #df4c59; box-shadow: 0 0 0 3px rgba(223,76,89,.1); }
.field-error { display: block; min-height: 16px; margin-top: 2px; color: #cf3142; font-size: 12px; line-height: 1.3; }
.field-error:empty { display: none; }
.terms-error { margin: -5px 0 9px 30px; }
.checkbox-row.has-error { color: #b32939; }
.password-rules span { transition: color .16s ease; }
.password-rules span.pass { color: #087c61; }
.password-rules span.pass i { color: #fff; background: var(--green); }
.account-type-switch { border: 0; padding: 0; }
.account-type-switch legend { margin-bottom: 8px; color: var(--ink); font-size: 14px; font-weight: 700; }
.account-type-switch strong { display: block; }
.field label em {
  color: #75859a;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}
.company-field[hidden] {
  display: none !important;
}

.input-shell input::placeholder {
  color: #8390a5;
}

.input-icon,
.tail-icon {
  color: #5d6b82;
  font-size: 21px;
}

.tail-icon {
  text-align: right;
}

.form-options {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 0 0 24px;
}

.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #59667d;
  font-weight: 500;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
}

.forgot-link,
.legal-link {
  color: #008e73;
  font-weight: 800;
}

.submit-button {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, #12d798, #009273);
  font-size: 19px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 15px 34px rgba(8, 198, 147, .24);
}

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 30px 0;
  color: #68758a;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: #e0e7ef;
}

.social-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.social-buttons button {
  min-height: 56px;
  border: 1px solid #d5dee9;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.social-buttons i {
  margin-right: 9px;
  font-style: normal;
  font-weight: 900;
}

.password-rules {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  margin: -4px 0 4px;
}

.password-rules span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
}

.password-rules i {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border: 2px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.select-shell {
  grid-template-columns: 30px minmax(0, 1fr) auto;
}

.secure-note {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(8, 198, 147, .08);
  color: var(--ink-soft);
}

.secure-note i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--green);
  background: rgba(8, 198, 147, .12);
  font-style: normal;
  font-size: 24px;
}

.secure-note strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.secure-note p {
  margin: 2px 0 0;
}

.auth-legal {
  max-width: 560px;
  justify-self: center;
  margin: 0;
  color: #69768c;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .auth-page {
    grid-template-columns: 1fr;
  }

  .register-page {
    grid-template-columns: 1fr;
  }

  .register-page .auth-side {
    min-height: 430px;
  }

  .register-page .auth-message {
    margin-top: 34px;
  }

  .register-page .auth-message h1 {
    max-width: 680px;
    font-size: 42px;
  }

  .register-page .auth-message > p:not(.auth-eyebrow) {
    max-width: 620px;
    margin-bottom: 0;
  }

  .register-page .auth-benefits,
  .register-page .social-proof {
    display: none;
  }

  .auth-side {
    min-height: 720px;
    border-radius: 0 0 18px 18px;
  }

  .auth-main {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .auth-side-content {
    padding: 30px 24px;
  }

  .auth-message {
    margin-top: 48px;
  }

  .auth-message h1 {
    font-size: 42px;
  }

  .floating-card {
    display: none;
  }

  .social-proof {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .auth-main {
    padding: 28px 18px;
  }

  .auth-switch {
    justify-self: start;
  }

  .auth-card {
    padding: 30px 20px;
  }

  .auth-card.register-card {
    padding: 26px 18px;
  }

  .auth-card-header,
  .form-grid,
  .social-buttons,
  .password-rules {
    grid-template-columns: 1fr;
  }

  .form-options {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .section-heading span {
    text-align: left;
  }
}

.auth-form-error {
  margin: 0 0 18px;
  padding: 11px 13px;
  color: #9e2534;
  background: #fff1f3;
  border: 1px solid #ffcbd2;
  border-radius: 6px;
  font-size: 14px;
}

.auth-form-error {
  margin: 0 0 18px;
  padding: 11px 13px;
  color: #9e2534;
  background: #fff1f3;
  border: 1px solid #ffcbd2;
  border-radius: 6px;
  font-size: 14px;
}
