:root {
  --account-ink: #18332f;
  --account-paper: #fffdf8;
  --account-cream: #f8f5ec;
  --account-coral: #ff7058;
  --account-lime: #d7f06a;
  --account-sky: #96dfe7;
  --account-line: rgba(24,51,47,.2);
  --account-stamp: "Courier New", Courier, monospace;
}

body { min-height: 100vh; background: var(--account-cream); }
.account-ribbon { min-height: 30px; display: flex; justify-content: center; align-items: center; gap: 12px; padding: 6px 18px; color: white; background: var(--account-ink); font: 700 9px/1.3 var(--account-stamp); letter-spacing: .07em; text-transform: uppercase; }
.account-ribbon span + span { color: #b8c8c4; }
.account-ribbon span + span::before { content: "·"; margin-right: 12px; color: var(--account-lime); }
.account-header { width: min(1480px,calc(100% - 44px)); min-height: 88px; display: flex; justify-content: space-between; align-items: center; margin: 0 auto; }
.back-link { border-bottom: 1px solid currentColor; padding-bottom: 3px; color: #4f6963; font-size: 11px; font-weight: 750; }
.back-link:hover { color: #ca4130; }

.account-shell { width: min(100% - 44px,980px); display: grid; grid-template-areas: "card" "intro"; gap: 48px; align-items: start; margin: 8px auto 70px; }
.account-intro { grid-area: intro; max-width: none; padding: 0; }
.account-kicker { display: inline-block; margin-bottom: 18px; padding: 8px 12px; border: 1.5px solid var(--account-ink); border-radius: 9px 12px 8px 11px; background: var(--account-paper); font: 700 9px/1 var(--account-stamp); letter-spacing: .07em; transform: rotate(-1deg); }
.account-intro h1 { margin-bottom: 22px; color: var(--account-ink); font-size: clamp(48px,6vw,84px); line-height: .94; letter-spacing: -.072em; }
.account-intro h1 em { display: block; color: var(--account-coral); font-family: var(--account-stamp); font-size: .58em; font-style: normal; line-height: 1.05; letter-spacing: -.07em; }
.account-intro > p { max-width: 570px; margin-bottom: 29px; color: #506b65; font-size: 15px; line-height: 1.65; }
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.benefit-list article { min-height: 100px; display: grid; grid-template-columns: 41px 1fr; gap: 12px; align-items: start; padding: 16px; border: 1.5px solid var(--account-ink); border-radius: 14px 10px 16px 11px; background: var(--account-paper); }
.benefit-list article:nth-child(1) { box-shadow: 4px 5px 0 var(--account-lime); }
.benefit-list article:nth-child(2) { box-shadow: 4px 5px 0 var(--account-coral); }
.benefit-list article:nth-child(3) { box-shadow: 4px 5px 0 var(--account-sky); }
.benefit-list article:nth-child(4) { box-shadow: 4px 5px 0 #edd8c9; }
.benefit-list article > span { width: 41px; height: 41px; display: grid; place-items: center; border: 1px solid var(--account-ink); border-radius: 50%; background: var(--account-cream); font-weight: 900; }
.benefit-list strong, .benefit-list small { display: block; }
.benefit-list strong { margin: 2px 0 5px; font-size: 12px; }
.benefit-list small { color: #5b716c; font-size: 10px; line-height: 1.45; }
.account-safety-note { display: grid; grid-template-columns: 35px 1fr; gap: 12px; align-items: center; margin-top: 21px; padding: 13px 16px; border-left: 3px solid var(--account-coral); background: rgba(255,255,255,.45); }
.account-safety-note p { margin: 0; color: #4d6761; font-size: 10px; line-height: 1.5; }
.account-safety-note strong { color: var(--account-ink); }

.account-card { grid-area: card; position: relative; scroll-margin-top: 18px; padding: clamp(28px,4vw,52px); border: 2px solid var(--account-ink); border-radius: 25px 19px 29px 21px; background: var(--account-paper); box-shadow: 10px 12px 0 var(--account-sky); }
.account-card::before { content: ""; width: 80px; height: 18px; position: absolute; top: -10px; right: 70px; background: rgba(215,240,106,.75); transform: rotate(2deg); }
.account-card-topline { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 22px; font: 700 8px/1 var(--account-stamp); letter-spacing: .075em; }
.account-card-topline b { color: #5e746f; font-weight: 700; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 28px; padding: 5px; border: 1.5px solid var(--account-ink); border-radius: 28px; background: var(--account-cream); }
.auth-tabs button { min-height: 42px; border: 0; border-radius: 22px; background: transparent; font-size: 11px; font-weight: 800; }
.auth-tabs button[aria-selected="true"] { color: white; background: var(--account-ink); }
.auth-heading h2 { margin-bottom: 8px; font-size: clamp(36px,4vw,54px); line-height: .98; letter-spacing: -.063em; }
.auth-heading p { max-width: 610px; margin-bottom: 23px; color: #58706a; font-size: 12px; line-height: 1.55; }
#auth-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.auth-field { display: grid; gap: 7px; }
.auth-field > span:first-child { font-size: 10px; font-weight: 800; }
.auth-field input, .auth-field select { width: 100%; min-height: 52px; padding: 0 14px; border: 1.5px solid var(--account-ink); border-radius: 11px 8px 13px 9px; color: var(--account-ink); background: var(--account-cream); font-size: 12px; }
.auth-field input:focus, .auth-field select:focus { outline: 3px solid var(--account-sky); outline-offset: 2px; }
.password-wrap { position: relative; display: block; }
.password-wrap input { padding-right: 62px; }
.password-wrap button { position: absolute; top: 50%; right: 10px; border: 0; border-bottom: 1px solid currentColor; padding: 3px; background: transparent; font-size: 9px; font-weight: 800; transform: translateY(-50%); }
.forgot-password { justify-self: start; align-self: end; border: 0; border-bottom: 1px solid currentColor; padding: 3px 0; color: #49635d; background: transparent; font-size: 10px; font-weight: 800; }
.forgot-password:hover, .forgot-password:focus-visible { color: #ca4130; }
.forgot-password:focus-visible { outline: 3px solid var(--account-sky); outline-offset: 3px; }
.consent-field { grid-column: 1 / -1; display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; color: #536d67; font-size: 10px; line-height: 1.45; cursor: pointer; }
.consent-field input { width: 16px; height: 16px; margin: 0; accent-color: var(--account-ink); }
.auth-status { grid-column: 1 / -1; padding: 12px 14px; border: 1px solid #b43c2f; border-radius: 10px; color: #8d2b20; background: #fff0ed; font-size: 10px; font-weight: 700; line-height: 1.45; }
.auth-status.success { border-color: #537512; color: #39550a; background: #eff8ce; }
.auth-submit { grid-column: 1 / -1; min-height: 55px; margin-top: 4px; font-size: 12px; }
.auth-submit[disabled] { cursor: wait; opacity: .65; transform: none; }
.account-next { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--account-line); }
.account-next > span { display: block; margin-bottom: 11px; color: #61746f; font: 700 8px/1 var(--account-stamp); letter-spacing: .07em; }
.account-next ol { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.account-next li { display: flex; gap: 6px; align-items: center; color: #4f6963; font-size: 9px; font-weight: 700; }
.account-next b { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid var(--account-ink); border-radius: 50%; color: var(--account-ink); background: var(--account-lime); font: 700 7px/1 var(--account-stamp); }
.preview-link { display: inline-block; margin-top: 20px; border-bottom: 1px solid currentColor; padding-bottom: 3px; color: #596f6a; font-size: 9px; font-weight: 750; }
.preview-link:hover { color: #c94130; }
.confirmation-card { padding: 25px; border: 1.5px solid var(--account-ink); border-radius: 16px 12px 18px 13px; background: #eef8c7; text-align: center; }
.confirmation-mark { width: 55px; height: 55px; display: grid; place-items: center; margin: 0 auto 13px; border: 1.5px solid var(--account-ink); border-radius: 50%; background: var(--account-paper); font-size: 23px; }
.confirmation-card h3 { margin-bottom: 8px; font-size: 24px; }
.confirmation-card p { max-width: 470px; margin: 0 auto 18px; color: #526b65; font-size: 11px; line-height: 1.55; }
.confirmation-card .button { margin: 0 auto; }
.signed-in-card { display: grid; grid-template-columns: 45px 1fr; gap: 10px 13px; align-items: center; padding: 19px; border: 1.5px solid var(--account-ink); border-radius: 15px; background: #eef8c7; }
.signed-in-card > span { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid var(--account-ink); border-radius: 50%; background: var(--account-lime); font-weight: 900; }
.signed-in-card strong { font-size: 12px; }.signed-in-card p { margin: 4px 0 0; color: #58706a; font-size: 10px; line-height: 1.4; }
.signed-in-card .button { grid-column: 1 / -1; }
.signed-in-card > button { grid-column: 1 / -1; justify-self: center; border: 0; border-bottom: 1px solid currentColor; padding: 3px; background: transparent; font-size: 9px; font-weight: 750; }
[hidden] { display: none !important; }

@media (max-width: 1000px) {
  .account-shell { gap: 25px; }
  .account-intro { max-width: none; padding-bottom: 0; }
}

@media (max-width: 620px) {
  .account-ribbon span + span { display: none; }
  .account-header, .account-shell { width: min(100% - 24px,1480px); }
  .account-header { min-height: 74px; }.back-link { font-size: 9px; }
  .account-intro h1 { font-size: 48px; }.account-intro > p { font-size: 13px; }
  .benefit-list { grid-template-columns: 1fr; }.account-card { padding: 30px 17px; box-shadow: 6px 8px 0 var(--account-sky); }
  #auth-form { grid-template-columns: 1fr; }.auth-field, .consent-field, .auth-status, .auth-submit { grid-column: 1; }
  .account-next ol { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
