/* Account and legal pages: Wolo teal, contact-form underlines and subtle glass. */
.account-body {
  font-family: "Rubik", Arial, sans-serif;
}

.account-page, .legal-page {
  --account-ink: #2b555b;
  --account-muted: #536e73;
  --account-accent: #2c797b;
  min-height: calc(100vh - 60px);
  padding: clamp(32px, 6vw, 76px) 24px;
  background: radial-gradient(ellipse at 12% 22%, #ccece8 0, transparent 48%), radial-gradient(ellipse at 88% 85%, #dfedea 0, transparent 45%), #f3f6f5;
  color: var(--account-ink);
  font-family: "Rubik", Arial, sans-serif;
}

.account-page :is(h1,h2,input,button), .legal-page :is(h1,h2) {
  font-family: inherit;
}

.account-shell {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid #fff;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 24px 70px rgba(35,78,82,.09);
  overflow: hidden;
}

@supports (backdrop-filter: blur(18px)) {
  .account-shell, .legal-article {
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(18px);
  }

}

.account-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(150deg, rgba(194,231,226,.65), rgba(226,240,237,.35));
  border-right: 1px solid rgba(255,255,255,.9);
}

.account-wordmark {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .14em;
  color: #346a70;
}

.account-wordmark span {
  font-weight: 300;
  letter-spacing: .04em;
}

.account-eyebrow {
  margin: 44px 0 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.account-intro h2 {
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -.03em;
  margin: 0 0 22px;
  color: var(--account-ink);
}

.account-intro p {
  font-size: 14px;
  line-height: 1.8;
}

.account-intro-note {
  margin-top: auto;
  padding-top: 36px;
  font-size: 12px;
  color: var(--account-muted);
}

.account-intro-note p {
  font-size: 12px;
  margin: 8px 0 0;
}

.account-steps {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  counter-reset: registration;
}

.account-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.65;
}

.account-steps li::before {
  counter-increment: registration;
  content: counter(registration, decimal-leading-zero);
  color: #39777b;
  font-size: 11px;
  padding-top: 3px;
  border-top: 1px solid #7eb5b3;
}

.account-steps strong {
  display: block;
  font-weight: 500;
}

.account-content {
  padding: clamp(28px, 4vw, 48px);
  min-width: 0;
}

.account-content h1 {
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -.025em;
  color: var(--account-ink);
  margin: 0 0 12px;
}

.account-description {
  color: var(--account-muted);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}

.account-field {
  min-width: 0;
  margin-bottom: 19px;
}

.account-wide {
  grid-column: 1 / -1;
}

.account-page .form-contact {
  height: 59px;
  margin: 0;
}

.account-page .form-contact input {
  height: 59px;
  padding: 22px 0 6px;
  border-bottom: 1px solid #9cb6b7;
  color: var(--account-ink);
  background: transparent;
  font-size: 15px;
  font-weight: 400;
  border-radius: 0;
}

.account-page .form-contact label {
  left: 0;
  bottom: 0;
  font-weight: 400;
}

.account-page .label-content-contact {
  padding: 0;
  top: 23px;
  left: 0;
  font-size: 14px;
  transition: transform .2s, color .2s, font-size .2s;
}

.account-page .form-contact input:focus + .label-contact .label-content-contact, .account-page .form-contact input:not(:placeholder-shown) + .label-contact .label-content-contact, .account-page .form-contact input[type=date] + .label-contact .label-content-contact {
  transform: translateY(-22px);
  font-size: 11px;
  left: 0;
  color: #386c71;
}

.account-page .form-contact label::after {
  bottom: 0;
  left: 0;
  height: 2px;
  border: 0;
  width: 100%;
  background: #3b9998;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.account-page .form-contact input:focus + .label-contact::after {
  width: 100%;
  margin: 0;
  padding: 0;
  transform: scaleX(1);
}

.account-page .form-contact input[aria-invalid=true] {
  border-bottom-color: #b34242;
}

.account-page .form-contact input[aria-invalid=true] + .label-contact::after {
  background: #b34242;
}

.account-page input:-webkit-autofill {
  -webkit-text-fill-color: #2b555b;
  box-shadow: 0 0 0 100px #f0f7f5 inset;
}

.account-help {
  display: block;
  font-size: 11px;
  line-height: 1.65;
  color: var(--account-muted);
  margin-top: 8px;
}

.account-error {
  color: #a12e39;
  font-size: 12px;
  line-height: 1.6;
  display: block;
  margin-top: 8px;
}

.account-password input {
  padding-right: 64px !important;
}

.account-password-toggle {
  position: absolute;
  right: 0;
  bottom: 9px;
  border: 0;
  border-radius: 4px;
  padding: 5px 8px;
  background: transparent;
  color: #356d72;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.account-page .account-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #356d72;
  border-radius: 8px;
  background: #356d72;
  color: white;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
}

.account-button:hover {
  background: #28585e;
  box-shadow: 0 5px 16px #356d7220;
}

.account-page a, .legal-page a {
  color: #256c70;
  text-underline-offset: 5px;
  text-decoration: underline;
  text-decoration-color: #9ac7c5;
  text-decoration-thickness: 1px;
}

.account-page a:hover, .legal-page a:hover {
  text-decoration-color: currentColor;
}

.account-page :is(a,button,input):focus-visible, .legal-page a:focus-visible {
  outline: 2px solid #256c70;
  outline-offset: 4px;
}

.account-page input:not([type=checkbox]):focus-visible {
  outline: none;
}

.account-support {
  text-align: right;
  font-size: 12px;
  margin: 0 0 26px;
}

.account-switch {
  border-top: 1px solid #d2e0de;
  padding-top: 22px;
  margin-top: 26px;
  font-size: 12px;
  line-height: 1.9;
}

.account-switch p {
  margin-bottom: 4px;
}

.account-notice {
  padding: 14px 16px;
  background: #e6f2ef;
  border-left: 3px solid #589894;
  border-radius: 0 6px 6px 0;
  font-size: 12px;
  line-height: 1.8;
  margin: 0 0 24px;
}

.account-alert {
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  background: #fff0ef;
  color: #94343c;
  font-size: 13px;
  line-height: 1.7;
}

.account-alert ul {
  padding-left: 20px;
  margin: 8px 0 0;
}

.account-alert a {
  color: inherit;
}

.account-success {
  background: #e2f2e9;
  color: #285e49;
}

.account-success h2 {
  font-size: 22px;
  font-weight: 400;
  color: inherit;
}

.account-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 11px;
  margin: 6px 0 22px;
  font-size: 12px;
  line-height: 1.85;
}

.account-check input {
  width: 17px;
  height: 17px;
  margin: 4px 0 0;
  accent-color: #356d72;
}

.account-policy {
  font-size: 11px;
  line-height: 1.8;
  color: var(--account-muted);
  margin-bottom: 20px;
}

.account-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  max-width: 1000px;
  margin: 24px auto 0;
  font-size: 11px;
  color: #536e73;
}

.legal-article {
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 64px);
  border-radius: 20px;
  border: 1px solid white;
  background: rgba(255,255,255,.85);
  box-shadow: 0 20px 60px #234e5210;
}

.legal-article h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  color: var(--account-ink);
  margin: 28px 0 12px;
}

.legal-article h2 {
  font-size: 19px;
  font-weight: 500;
  color: var(--account-ink);
  margin: 32px 0 12px;
}

.legal-article p, .legal-article li {
  font-size: 14px;
  line-height: 1.9;
}

.legal-article ul {
  padding-left: 22px;
}

.legal-article .legal-meta {
  font-size: 12px;
  color: #536e73;
  margin-bottom: 28px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 0;
  font-size: 12px;
}

@media (max-width: 760px) {
  .account-page, .legal-page {
    padding: 28px 16px;
  }

  .account-shell {
    grid-template-columns: 1fr;
    max-width: 560px;
    border-radius: 18px;
  }

  .account-intro {
    border-right: 0;
    border-bottom: 1px solid white;
    padding: 28px;
  }

  .account-eyebrow {
    margin-top: 26px;
  }

  .account-intro h2 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .account-intro p {
    margin-bottom: 0;
  }

  .account-intro-note, .account-steps {
    display: none;
  }

  .account-content {
    padding: 28px;
  }

}

@media (max-width: 420px) {
  .account-grid {
    grid-template-columns: 1fr;
  }

  .account-content, .account-intro {
    padding: 24px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .account-page *, .account-page *::after, .legal-page * {
    transition: none !important;
    animation: none !important;
  }

}
