:root {
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #172033;
  background: #f5f7f8;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  background: #f5f7f8;
}

button,
input {
  font: inherit;
}

.auth-shell {
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 46%) minmax(420px, 54%);
}

.product-view {
  min-width: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  overflow: auto;
  padding: 42px;
  border-right: 1px solid #dde4e7;
  background: #eef2f3;
}

.product-intro {
  width: min(100%, 680px);
  margin: 0 auto;
}

.product-kicker {
  margin: 0 0 8px;
  color: #187d70;
  font-size: 12px;
  font-weight: 800;
}

.product-intro h2 {
  margin: 0;
  color: #172033;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: 0;
}

.product-intro > p:last-child {
  margin: 10px 0 0;
  color: #66758a;
  font-size: 14px;
  line-height: 1.6;
}

.image-comparison {
  width: min(100%, 680px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.comparison-panel {
  min-width: 0;
  margin: 0;
}

.comparison-frame {
  aspect-ratio: 1;
  display: block;
  overflow: hidden;
  border: 1px solid #d7e1e4;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(23, 32, 51, .1);
}

.comparison-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.comparison-panel figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 9px;
}

.comparison-panel figcaption strong {
  color: #243348;
  font-size: 13px;
}

.comparison-panel figcaption span {
  color: #66758a;
  font-size: 11px;
}

.comparison-arrow {
  display: grid;
  place-items: center;
  color: #187d70;
  font-size: 23px;
  font-weight: 850;
}

.feature-list {
  width: min(100%, 680px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.feature-list li {
  min-width: 0;
  padding-top: 12px;
  border-top: 2px solid #b9d8d1;
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  color: #243348;
  font-size: 13px;
}

.feature-list span {
  margin-top: 4px;
  color: #66758a;
  font-size: 11px;
  line-height: 1.45;
}

.auth-panel {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: #fff;
}

.auth-form {
  width: min(100%, 420px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 54px;
  color: #263449;
  font-size: 15px;
  font-weight: 750;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  grid-template-columns: repeat(2, 10px);
  grid-template-rows: repeat(2, 10px);
  place-content: center;
  gap: 2px;
  border: 1px solid #c7ddd8;
  border-radius: 6px;
  background: #f1f8f6;
}

.brand-mark i {
  border-radius: 2px;
  background: #187d70;
}

.brand-mark i:nth-child(2) {
  background: #e2b448;
}

.brand-mark i:nth-child(3) {
  background: #5c82bc;
}

.brand-mark i:nth-child(4) {
  background: #d66565;
}

.eyebrow {
  margin: 0 0 10px;
  color: #187d70;
  font-size: 13px;
  font-weight: 800;
}

h1 {
  margin: 0;
  color: #172033;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: 0;
}

.supporting-copy {
  margin: 12px 0 36px;
  color: #66758a;
  font-size: 14px;
  line-height: 1.6;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #33445b;
  font-size: 13px;
  font-weight: 750;
}

input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #cfd9de;
  border-radius: 6px;
  outline: none;
  color: #172033;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
}

input:focus {
  border-color: #187d70;
  box-shadow: 0 0 0 3px rgba(24, 125, 112, .12);
}

input[aria-invalid="true"] {
  border-color: #c8414b;
}

.auth-error {
  min-height: 20px;
  margin: 8px 0 12px;
  color: #b8323d;
  font-size: 13px;
  line-height: 20px;
}

#captcha-wrap {
  margin: 2px 0 14px;
}

.captcha-card {
  --altcha-border-color: #b7d8d1;
  --altcha-border-radius: 10px;
  --altcha-color-base: #fff;
  --altcha-color-base-content: #263449;
  --altcha-color-neutral: #b8c9ce;
  --altcha-color-primary: #187d70;
  --altcha-color-success: #187d70;
  --altcha-color-success-content: #fff;
  --altcha-checkbox-border-color: #87afa8;
  --altcha-checkbox-border-radius: 5px;
  --altcha-checkbox-size: 21px;
  --altcha-max-width: 100%;
  --altcha-padding: 12px 14px;
  padding: 14px;
  border: 1px solid #c6e0db;
  border-radius: 10px;
  background: linear-gradient(135deg, #f0f9f7, #fbfdfd 72%);
}

.captcha-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.captcha-shield {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #187d70;
  font-size: 15px;
  font-weight: 900;
}

.captcha-heading strong,
.captcha-heading span {
  display: block;
}

.captcha-heading strong {
  color: #173e3a;
  font-size: 13px;
  line-height: 1.3;
}

.captcha-heading div span {
  margin-top: 2px;
  color: #69817d;
  font-size: 12px;
  line-height: 1.4;
}

.captcha-card .altcha-main {
  box-shadow: none;
}

.captcha-card .altcha-footer {
  display: none;
}

button {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 1px solid #126b60;
  border-radius: 6px;
  color: #fff;
  background: #187d70;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: background .16s ease, border-color .16s ease;
}

button:hover:not(:disabled) {
  border-color: #0e5c53;
  background: #126b60;
}

button:disabled {
  cursor: wait;
  opacity: .68;
}

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .product-view {
    min-height: 0;
    gap: 14px;
    padding: 24px 22px;
    border-right: 0;
    border-bottom: 1px solid #dde4e7;
  }

  .product-intro h2 {
    font-size: 22px;
  }

  .product-intro > p:last-child,
  .comparison-panel figcaption span {
    display: none;
  }

  .image-comparison {
    grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
    gap: 5px;
  }

  .comparison-panel figcaption {
    padding-top: 6px;
  }

  .comparison-panel figcaption strong {
    font-size: 11px;
  }

  .comparison-arrow {
    font-size: 17px;
  }

  .feature-list {
    gap: 10px;
  }

  .feature-list li {
    padding-top: 8px;
  }

  .feature-list span {
    display: none;
  }

  .auth-panel {
    align-items: flex-start;
    padding: 32px 22px 44px;
  }

  .brand-lockup {
    margin-bottom: 34px;
  }

  h1 {
    font-size: 27px;
  }

  .supporting-copy {
    margin-bottom: 28px;
  }
}
