/* Account screens share the marketing fonts, with all form styles scoped here. */
.auth-site {
  --a-paper: var(--brand-canvas);
  --a-green: var(--brand-primary);
  --a-ink: var(--brand-ink);
  --a-muted: var(--brand-muted);
  --a-line: var(--brand-border);
  margin: 0;
  background: var(--a-paper);
  color: var(--a-ink);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.auth-site *, .auth-site *::before, .auth-site *::after { box-sizing: border-box; }
.auth-site h1, .auth-site h2, .auth-site p { margin: 0; }
.auth-site a { color: inherit; text-decoration: none; }
.auth-site input, .auth-site select, .auth-site button { font: inherit; }
.auth-site :focus-visible { outline: 3px solid #a64d37; outline-offset: 4px; }
.auth-site .hidden { display: none; }
.auth-site main { flex: 1; }
.auth-site .a-skip { position: absolute; top: -100px; left: 20px; z-index: 20; padding: 12px 20px; background: var(--a-green); color: var(--a-paper); border-radius: 5px; }
.auth-site .a-skip:focus { top: 12px; }
.auth-site .a-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1280px, calc(100% - 96px)); margin: auto; min-height: 104px; }
.auth-site .a-brand { font-size: 31px; font-weight: 600; letter-spacing: -1.6px; line-height: 1; }
.auth-site .a-brand span { color: #a64d37; }
.auth-site .a-header nav { display: flex; align-items: center; gap: 22px; font-size: 12px; }
.auth-site .a-header nav > span { color: var(--a-muted); }
.auth-site .a-nav-link { padding: 9px 19px; border: 1px solid var(--a-line); border-radius: 5px; font-weight: 600; transition: background .2s; }
.auth-site .a-nav-link:hover { background: #e9eddf; }
.auth-site .a-frame { width: min(1280px, calc(100% - 96px)); margin: 10px auto 30px; display: grid; grid-template-columns: 1fr 1fr; min-height: min(700px, calc(100svh - 210px)); }
.auth-site .a-story { position: relative; overflow: hidden; min-height: 650px; border-radius: 12px; background: #234b3e; color: #faf9ef; }
.auth-site .a-story-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }
.auth-site .a-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,35,26,.74), rgba(16,35,26,.13) 65%, rgba(16,35,26,.65)); }
.auth-site .a-story-copy { position: relative; z-index: 1; padding: 46px; }
.auth-site .a-eyebrow { font-size: 9px; line-height: 1.8; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--a-muted); }
.auth-site .a-story .a-eyebrow { color: #f0f1e4; font-size: 8px; }
.auth-site .a-story h2 { font-family: var(--brand-display); font-size: clamp(38px, 4vw, 57px); font-weight: 400; line-height: 1.08; letter-spacing: -1.5px; margin-top: 23px; }
.auth-site .a-story h2 em { color: #e1e8c9; font-weight: 400; }
.auth-site .a-story-copy > p:last-child { margin-top: 24px; line-height: 1.9; font-size: 12px; color: #f0f1e4; }
.auth-site .a-story-caption { position: absolute; z-index: 1; bottom: 33px; left: 46px; right: 25px; font-size: 10px; letter-spacing: .2px; }
.auth-site .a-form-panel { display: grid; align-items: center; padding: 48px 36px 48px 70px; min-width: 0; }
.auth-site .a-form-content { width: 100%; max-width: 400px; margin-inline: auto; }
.auth-site h1 { font-family: var(--brand-display); font-size: clamp(36px, 3.6vw, 49px); font-weight: 400; line-height: 1.1; letter-spacing: -1.2px; margin-top: 15px; overflow-wrap: anywhere; }
.auth-site h1 em { color: #63764f; font-weight: 400; }
.auth-site .page-subtitle { margin-top: 18px; color: var(--a-muted); font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.auth-site .page-subtitle strong { color: var(--a-ink); font-weight: 600; }
.auth-site .a-form { display: grid; gap: 22px; margin-top: 30px; }
.auth-site .form-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; color: var(--a-ink); }
.auth-site .form-input { display: block; width: 100%; min-width: 0; min-height: 49px; border: 1px solid #cbd0c2; border-radius: 6px; background: #fffef9; color: var(--a-ink); padding: 12px 14px; line-height: 1.5; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.auth-site .form-input::placeholder { color: #727869; opacity: 1; }
.auth-site .form-input:hover { border-color: #919e84; }
.auth-site .form-input:focus { outline: 2px solid var(--a-green); outline-offset: 2px; border-color: var(--a-green); }
.auth-site select.form-input { padding-right: 28px; text-overflow: ellipsis; }
.auth-site .a-label-row { display: flex; gap: 16px; justify-content: space-between; align-items: baseline; }
.auth-site .a-label-row a { font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.auth-site .a-submit { cursor: pointer; width: 100%; min-height: 50px; padding: 13px 18px; color: #f8f7f2; background: var(--a-green); border: 1px solid var(--a-green); border-radius: 6px; font-size: 13px; font-weight: 600; white-space: normal; transition: background .15s; }
.auth-site .a-submit:hover { background: #17382d; }
.auth-site .a-submit:disabled { opacity: .65; cursor: wait; }
.auth-site .a-form-footer { border-top: 1px solid var(--a-line); margin-top: 30px; padding-top: 23px; font-size: 12px; }
.auth-site .a-form-footer p { color: var(--a-muted); margin-bottom: 7px; }
.auth-site .a-form-footer a { display: inline-block; padding-block: 4px; font-weight: 600; }
.auth-site .a-form-footer a:hover, .auth-site .a-back:hover, .auth-site .a-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.auth-site .a-back { display: inline-block; margin-bottom: 30px; padding-block: 6px; font-size: 12px; }
.auth-site .a-fine-print { color: var(--a-muted); font-size: 11px; line-height: 1.8; margin-top: 18px; }
.auth-site .a-footer { width: min(1280px, calc(100% - 96px)); margin: 0 auto; padding: 22px 0 26px; display: flex; gap: 20px; align-items: center; justify-content: space-between; font-size: 10px; color: var(--a-muted); }
.auth-site .a-status-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; background: #e5ebda; color: var(--a-green); font-size: 21px; margin-bottom: 23px; }
.auth-site .a-info-panel { padding: 18px 20px; background: #e9eddf; border-radius: 7px; margin-top: 24px; font-size: 12px; }
.auth-site .a-info-panel h2 { font-size: 12px; font-weight: 600; }
.auth-site .a-info-panel ul { padding-left: 17px; margin: 10px 0 0; color: #53614a; }
.auth-site .a-info-panel li + li { margin-top: 5px; }
.auth-site .a-resend-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; }
.auth-site .a-resend-form .a-submit { font-size: 12px; min-height: 49px; }
.auth-site .a-footer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.auth-site .a-signup { width: min(1120px, calc(100% - 96px)); display: grid; grid-template-columns: .85fr 1.15fr; gap: 85px; margin: 42px auto 62px; align-items: start; }
.auth-site .a-signup-story { padding-top: 27px; position: sticky; top: 40px; }
.auth-site .a-signup-story h1 { font-size: clamp(42px, 4.5vw, 60px); margin-top: 25px; }
.auth-site .a-signup-story .page-subtitle { max-width: 345px; }
.auth-site .a-signup-steps { margin: 39px 0 0; padding: 0; list-style: none; max-width: 340px; }
.auth-site .a-signup-step { display: grid; grid-template-columns: 28px 1fr; gap: 17px; padding: 21px 0; border-top: 1px solid var(--a-line); }
.auth-site .a-step-number { font-family: var(--brand-display); font-size: 21px; color: #63764f; line-height: 1.3; }
.auth-site .a-step-title { display: block; font-weight: 600; font-size: 12px; }
.auth-site .a-step-description { display: block; font-size: 11px; color: var(--a-muted); line-height: 1.8; margin-top: 5px; }
.auth-site .a-signup-card { border: 1px solid var(--a-line); border-radius: 12px; background: #fffef9; min-width: 0; }
.auth-site .a-signup-card-header { padding: 29px 30px 24px; border-bottom: 1px solid var(--a-line); display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.auth-site .a-card-title { font-family: var(--brand-display); font-weight: 400; font-size: 26px; line-height: 1.2; margin-top: 8px; letter-spacing: -.5px; }
.auth-site .a-tag { background: #e9eddf; border-radius: 4px; padding: 5px 8px; white-space: nowrap; font-size: 9px; color: #53614a; }
.auth-site .a-signup-form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 27px 30px 30px; margin: 0; gap: 20px 18px; }
.auth-site .a-full-width, .auth-site .a-signup-form > .error-summary { grid-column: 1 / -1; }
.auth-site .a-consent { display: flex; align-items: flex-start; gap: 11px; padding: 15px; border: 1px solid var(--a-line); border-radius: 6px; background: #f5f6ee; cursor: pointer; }
.auth-site .a-checkbox { accent-color: var(--a-green); width: 18px; height: 18px; flex: 0 0 18px; margin: 2px 0 0; }
.auth-site .a-consent-copy { font-size: 11px; line-height: 1.8; }
.auth-site .a-muted { color: var(--a-muted); }
.auth-site .error-summary { background: #fbede6; border: 1px solid #d8b9ab; border-radius: 6px; padding: 17px 20px; color: #873e28; font-size: 12px; }
.auth-site .error-summary h2 { font: inherit; font-weight: 600; }
.auth-site .error-summary ul { padding-left: 18px; margin: 8px 0 0; }
.auth-site .field_with_errors { display: contents; }
.auth-site .field_with_errors .form-input { border-color: #a64d37; }
.auth-site #flash { width: min(1120px, calc(100% - 96px)); margin: 0 auto; }
.auth-site .flash-message { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; border: 1px solid #cbd5bf; background: #e9eddf; border-radius: 6px; margin: 10px 0; font-size: 13px; }
.auth-site .flash-message--alert { background: #fbede6; border-color: #d8b9ab; color: #873e28; }
.auth-site .flash-dismiss { cursor: pointer; flex-shrink: 0; width: 32px; height: 32px; color: inherit; background: transparent; border: 0; border-radius: 4px; font-size: 22px; }
@media (max-width: 1100px) {
  .auth-site .a-header, .auth-site .a-frame, .auth-site .a-footer { width: calc(100% - 64px); }
  .auth-site .a-form-panel { padding: 40px 10px 40px 45px; }
  .auth-site .a-story-copy { padding: 35px; }
  .auth-site .a-story-caption { left: 35px; }
  .auth-site .a-signup { gap: 40px; width: calc(100% - 64px); }
  .auth-site .a-signup-card-header, .auth-site .a-signup-form { padding-inline: 24px; }
}
@media (max-width: 800px) {
  .auth-site .a-frame { grid-template-columns: 1fr; max-width: 500px; min-height: auto; margin-block: 24px 40px; }
  .auth-site .a-story { display: none; }
  .auth-site .a-form-panel { padding: 35px 10px; }
  .auth-site h1 { font-size: 43px; }
  .auth-site .a-signup { grid-template-columns: 1fr; max-width: 580px; margin-top: 15px; gap: 32px; }
  .auth-site .a-signup-story { position: static; padding-top: 15px; }
  .auth-site .a-signup-story h1 { font-size: 47px; }
  .auth-site .a-signup-story h1 br { display: none; }
  .auth-site .a-signup-story h1 em::before { content: " "; }
  .auth-site .a-signup-story .page-subtitle { max-width: none; }
  .auth-site .a-signup-steps { display: none; }
}
@media (max-width: 520px) {
  .auth-site .a-header { width: calc(100% - 40px); min-height: 86px; }
  .auth-site .a-brand { font-size: 28px; }
  .auth-site .a-header nav > span { display: none; }
  .auth-site .a-nav-link { padding: 9px 16px; }
  .auth-site .a-frame, .auth-site .a-signup { width: calc(100% - 40px); }
  .auth-site .a-frame { margin-block: 12px 32px; }
  .auth-site .a-form-panel { padding: 24px 0; }
  .auth-site .a-form-content { max-width: none; }
  .auth-site h1 { font-size: 41px; }
  .auth-site .page-subtitle { font-size: 13px; }
  .auth-site .form-input { font-size: 16px; }
  .auth-site .a-form { gap: 20px; }
  .auth-site .a-footer { width: calc(100% - 40px); padding-block: 20px; border-top: 1px solid var(--a-line); flex-wrap: wrap; font-size: 9px; gap: 10px 20px; }
  .auth-site .a-footer > span:nth-child(2) { display: none; }
  .auth-site .a-eyebrow { font-size: 8px; letter-spacing: 1.2px; }
  .auth-site .a-signup { margin-top: 10px; margin-bottom: 35px; }
  .auth-site .a-signup-story h1 { font-size: 43px; margin-top: 17px; }
  .auth-site .a-signup-form { grid-template-columns: 1fr; padding: 22px 20px; }
  .auth-site .a-signup-card-header { padding: 23px 20px; }
  .auth-site .a-card-title { font-size: 25px; }
  .auth-site .a-tag { font-size: 8px; }
  .auth-site .a-resend-form { grid-template-columns: 1fr; }
  .auth-site #flash { width: calc(100% - 40px); }
  .auth-site .flash-message { font-size: 12px; padding: 12px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-site *, .auth-site *::before, .auth-site *::after { transition: none !important; }
}
