.person-register {
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--iris-navy);
  background: #f8f7f3;
}

.person-register::before { display: none; }

.register-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 64px, 1240px);
  height: 80px;
  margin: 0 auto;
}

.person-brand,
.register-login { display: inline-flex; align-items: center; }

.person-brand {
  gap: 13px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.person-brand svg {
  width: 30px;
  height: 30px;
  color: var(--iris-olive-dark);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.4;
}

.register-login {
  gap: 13px;
  color: var(--iris-olive-dark);
  font-size: 12px;
  font-weight: 500;
}

.register-login span,
.register-footnote a span { font-size: 18px; line-height: 1; }

.register-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(400px, 0.85fr);
  gap: clamp(56px, 7vw, 106px);
  align-items: center;
  width: min(100% - 96px, 1110px);
  min-height: calc(100svh - 80px);
  margin: 0 auto;
  padding: 18px 0 48px;
}

.register-intro {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 44px 0 128px;
}

.intro-copy { position: relative; z-index: 1; }

.intro-copy h1 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(54px, 5.6vw, 76px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.intro-copy h1 span { color: var(--iris-olive-dark); }

.intro-copy > p {
  max-width: 540px;
  margin: 26px 0 0;
  color: #728293;
  font-size: 16px;
  line-height: 1.55;
}

.person-benefits {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
}

.person-benefits article {
  min-width: 0;
  padding: 0 25px;
  border-left: 1px solid rgba(12, 33, 57, 0.13);
}

.person-benefits article:first-child { padding-left: 0; border-left: 0; }

.person-benefits svg {
  width: 25px;
  height: 25px;
  margin-bottom: 16px;
  color: var(--iris-olive-dark);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.person-benefits strong,
.person-benefits p { display: block; margin: 0; }

.person-benefits strong { font-size: 12px; font-weight: 600; line-height: 1.4; }
.person-benefits p { margin-top: 8px; color: #788797; font-size: 11px; line-height: 1.55; }

.car-outline {
  position: absolute;
  right: 3%;
  bottom: -48px;
  width: min(940px, 155%);
  color: rgba(12, 33, 57, 0.18);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
  pointer-events: none;
}

.register-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  justify-self: end;
  padding: 34px 48px 30px;
  background: #fff;
  border: 1px solid rgba(12, 33, 57, 0.1);
  border-radius: 15px;
  box-shadow: 0 22px 54px rgba(12, 33, 57, 0.07);
}

.register-card-heading > p {
  margin: 0 0 9px;
  color: var(--iris-olive-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.register-card-heading h2 { margin: 0 0 18px; font-size: 27px; font-weight: 500; letter-spacing: -0.035em; }
.register-field + .register-field { margin-top: 11px; }
.register-field label { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 500; }

.register-field input {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  color: var(--iris-navy);
  background: #fff;
  border: 1px solid rgba(12, 33, 57, 0.16);
  border-radius: 7px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.register-field input::placeholder { color: #91a0ad; }
.register-field input:focus { border-color: var(--iris-olive-dark); box-shadow: 0 0 0 3px rgba(125, 134, 75, 0.12); }
.register-field input[aria-invalid="true"] { border-color: var(--iris-danger); }
.register-password { position: relative; }
.register-password input { padding-right: 46px; }

.register-password button {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  width: 30px;
  height: 30px;
  padding: 6px;
  color: #7b8996;
  cursor: pointer;
  background: transparent;
  border: 0;
  transform: translateY(-50%);
}

.register-password button:hover,
.register-password button:focus-visible { color: var(--iris-olive-dark); }
.register-password svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.register-message {
  margin: 14px 0 0;
  padding: 10px 12px;
  color: #893434;
  background: rgba(181, 73, 73, 0.07);
  border-left: 2px solid var(--iris-danger);
  font-size: 11px;
  line-height: 1.45;
}

.register-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 45px;
  margin-top: 15px;
  padding: 0 18px;
  color: #fff;
  cursor: pointer;
  background: var(--iris-navy-deep);
  border: 0;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  transition: background 150ms ease, transform 150ms ease;
}

.register-submit:hover,
.register-submit:focus-visible { background: var(--iris-navy); }
.register-submit:active { transform: translateY(1px); }
.register-submit:disabled { cursor: wait; opacity: 0.64; }

.register-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 13px;
  align-items: center;
  margin: 20px 0 18px;
  color: #8b9aa6;
}

.register-divider::before,
.register-divider::after { height: 1px; content: ""; background: rgba(12, 33, 57, 0.12); }
.register-divider span { font-size: 10px; transform: rotate(45deg); }
.register-footnote strong { font-size: 12px; font-weight: 600; }
.register-footnote p { margin: 7px 0 13px; color: #7b8a97; font-size: 11px; line-height: 1.55; }

.register-footnote a {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  color: var(--iris-olive-dark);
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .register-header { width: min(100% - 40px, 680px); }
  .register-layout { grid-template-columns: 1fr; gap: 34px; width: min(100% - 40px, 680px); padding-top: 24px; }
  .register-intro { align-self: auto; padding: 22px 0 0; }
  .intro-copy h1 { font-size: clamp(50px, 11vw, 72px); }
  .person-benefits { margin-top: 40px; }
  .car-outline { display: none; }
  .register-card { max-width: 560px; justify-self: start; }
}

@media (max-width: 620px) {
  .register-header { width: calc(100% - 32px); height: 68px; }
  .person-brand { gap: 9px; font-size: 11px; }
  .person-brand svg { width: 25px; height: 25px; }
  .register-login { font-size: 0; }
  .register-login span { font-size: 23px; }
  .register-layout { width: calc(100% - 32px); min-height: auto; padding: 12px 0 34px; }
  .register-intro { padding-top: 10px; }
  .intro-copy h1 { font-size: clamp(43px, 13vw, 60px); }
  .intro-copy > p { margin-top: 18px; font-size: 14px; }
  .person-benefits { display: none; }
  .register-card { max-width: none; padding: 31px 23px 28px; border-radius: 13px; }
  .register-card-heading h2 { margin-bottom: 23px; font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .register-field input,
  .register-submit { transition: none; }
}
