/* Page composition, using the shared Stead tokens. */
@layer layout {
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; color: var(--text); background: var(--workspace-canvas); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: inherit; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 3; padding: 8px 12px; color: var(--white); background: var(--brand); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.container { width: min(1040px, calc(100% - 48px)); margin: 0 auto; }
.site-header { height: 96px; display: flex; align-items: center; justify-content: space-between; }
.step-count { margin: 0; color: var(--text-muted); font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.step-count span { color: var(--brand); }
.account-header-actions { display: flex; align-items: center; gap: 18px; }.account-header-actions form { margin: 0; }.account-header-actions a, .account-header-actions button { color: var(--text-muted); border: 0; border-bottom: 1px solid currentColor; padding: 0 0 1px; background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }

.signup-shell { min-height: calc(100vh - 190px); display: grid; grid-template-columns: .89fr 1fr; align-items: center; gap: 112px; padding: 56px 0 68px; }
.signup-shell--compact { min-height: calc(100vh - 190px); }
.signup-intro { padding-bottom: 28px; }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.055em; line-height: 1.02; }
h1 { max-width: 440px; margin-bottom: 20px; font-size: clamp(52px, 5.4vw, 72px); }
h1 span { color: var(--brand); }
.signup-intro > p:not(.eyebrow) { max-width: 405px; margin-bottom: 42px; color: var(--text-muted); font-size: 17px; line-height: 1.6; }

.address-card { max-width: 390px; padding: 22px 24px 23px; color: #f7f5ed; background: var(--brand); box-shadow: 9px 10px 0 rgb(105 59 165 / .12), 0 18px 28px rgb(105 59 165 / .10); transform: rotate(-1.5deg); }
.address-card-label { margin-bottom: 29px; color: var(--brand-ring); font: 500 9px/1 var(--mono); letter-spacing: .13em; }
.address-card strong { display: block; margin-bottom: 23px; font: 600 clamp(26px, 3vw, 35px)/.94 var(--serif); letter-spacing: -.06em; overflow-wrap: anywhere; }
.address-card em { color: var(--accent-sand); font-style: normal; }
.address-card p { margin: 0; color: var(--text-on-brand-muted); font: 400 10px/1.3 var(--mono); letter-spacing: .03em; }
.address-card p + p { margin-top: 8px; }
.address-card p span { margin-right: 4px; color: var(--accent-sand); font-weight: 700; }
.address-card--empty { background: #3048b6; }
.address-card--empty strong { color: #f7f5ed; }

.signup-panel { position: relative; z-index: 1; padding: 38px 40px 30px; background: var(--surface); box-shadow: 0 18px 35px rgb(105 59 165 / .11); }
.account-surface .signup-panel h2 { font-size: var(--text-3xl); line-height: 1.2; font-weight: 500; }
.panel-heading { margin-bottom: 30px; }
.panel-heading h2 { margin-bottom: 7px; font-size: 35px; }
.panel-heading p { margin: 0; color: var(--text-muted); font-size: 14px; }
.panel-heading p + p { margin-top: 7px; }
form { display: grid; gap: 19px; }
.field-group label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.continue-button span { font-size: 19px; line-height: 1; }
.terms { margin: 18px 0 0; color: var(--text-muted); font-size: 11px; line-height: 1.5; text-align: center; }
.terms a, .sign-in a { color: var(--text); font-weight: 700; }
.sign-in { margin: 26px 0 0; padding-top: 23px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 13px; text-align: center; }
.signup-panel--message { padding-block: 46px 40px; }
.message-mark { display: grid; width: 40px; height: 40px; margin-bottom: 26px; place-items: center; color: var(--text); border-radius: 50%; background: var(--accent-sand); font: 700 20px/1 var(--sans); }
.message-mark--error { color: var(--danger); background: #f7cbc5; }
.message-note { margin: 26px 0 0; color: var(--text-muted); font-size: 12px; line-height: 1.55; }
.message-action { margin-top: 29px; }
.concierge-shell { gap: 80px; }.concierge-shell .signup-intro > p:not(.eyebrow) { margin-bottom: 26px; }.concierge-includes { display: grid; gap: 9px; max-width: 420px; margin: 0; padding: 0; color: var(--text-muted); list-style: none; font-size: 13px; }.concierge-includes span { display: inline-grid; width: 20px; height: 20px; margin-right: 7px; place-items: center; border-radius: 50%; color: var(--text); background: var(--accent-sand); font-size: 11px; font-weight: 700; }.concierge-booking { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 17px; align-items: center; margin: -4px 0 24px; padding: 18px; background: var(--workspace-context); box-shadow: inset 3px 0 var(--accent-sand); }.concierge-booking-mark { display: grid; width: 58px; height: 58px; place-items: center; align-content: center; border-radius: 50%; color: var(--white); background: var(--brand); }.concierge-booking-mark strong { font: 600 22px/.9 var(--serif); letter-spacing: -.04em; }.concierge-booking-mark span { margin-top: 4px; font: 500 7px/1 var(--mono); letter-spacing: .12em; }.concierge-booking h3 { margin: 0 0 4px; font: 600 20px/1.08 var(--serif); letter-spacing: -.04em; }.concierge-booking p { margin: 0; color: var(--text-muted); font-size: 11px; line-height: 1.45; }.concierge-booking-steps { display: grid; gap: 13px; margin: 0 0 25px; padding: 0; list-style: none; }.concierge-booking-steps li { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 11px; align-items: start; }.concierge-booking-steps li > span { display: grid; width: 25px; height: 25px; place-items: center; color: var(--brand); border-radius: 50%; background: rgb(105 59 165 / .1); font: 600 10px/1 var(--mono); }.concierge-booking-steps strong, .concierge-booking-steps small { display: block; }.concierge-booking-steps strong { margin-bottom: 2px; font-size: 12px; }.concierge-booking-steps small { color: var(--text-muted); font-size: 11px; line-height: 1.4; }.concierge-booking-action { text-decoration: none; }

/* Developer pages carry long reference copy and forms, so the shell starts at
   the top of the page instead of centering a short intro in the viewport, and
   the intro, header, and panel give back their display padding. */
.develop-shell { align-items: start; gap: 76px; padding: 20px 0 56px; }
.develop-shell .signup-intro { padding-bottom: 0; }
.develop-shell .eyebrow { margin-bottom: 10px; }
.develop-shell .signup-intro h1 { margin-bottom: 12px; font-size: clamp(34px, 3.4vw, 46px); }
.develop-shell .signup-intro > p:not(.eyebrow) { margin-bottom: 14px; font-size: 15px; line-height: 1.55; }
.develop-shell .signup-panel { padding: 28px 32px 26px; }
.develop-account-header { height: 64px; }

.site-footer { display: flex; justify-content: space-between; padding: 22px 0 28px; color: var(--text-muted); font-size: 11px; }
.site-footer p { margin: 0; }
.signup-referral-invite { display: grid; gap: 4px; max-width: 500px; margin: 0 0 25px; padding: 15px 18px; border-left: 3px solid var(--brand); background: #edf1ff; }.signup-referral-invite strong { font: 600 18px/1.15 var(--serif); letter-spacing: -.03em; }.signup-referral-invite span { color: var(--text-muted); font-size: 13px; line-height: 1.45; }

@media (max-width: 760px) {
  .signup-shell { grid-template-columns: 1fr; gap: 42px; padding-top: 35px; }
  .signup-intro { padding-bottom: 0; }
  .signup-intro > p:not(.eyebrow) { margin-bottom: 31px; }
  .address-card { max-width: 440px; }
  .signup-panel { max-width: 540px; }
  .signup-shell--compact { min-height: auto; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 32px, 1040px); }
  .site-header { height: 77px; }
  .step-count { font-size: 10px; }
  .signup-shell { min-height: auto; gap: 37px; padding: 37px 0 55px; }
  h1 { font-size: 50px; }
  .signup-intro > p:not(.eyebrow) { font-size: 16px; }
  .address-card { padding: 20px; }
  .address-card-label { margin-bottom: 22px; }
  .address-card strong { margin-bottom: 19px; font-size: 29px; }
  .signup-panel { padding: 29px 21px 25px; }
  .develop-shell .signup-panel { padding: 24px 21px 22px; }
  .develop-account-header { height: 58px; }
  .panel-heading { margin-bottom: 25px; }
  .panel-heading h2 { font-size: 31px; }
  .site-footer { gap: 8px; flex-direction: column; }
  .concierge-header-actions .step-count { display: none; }
  .concierge-booking { grid-template-columns: 48px minmax(0, 1fr); padding: 16px; }
  .concierge-booking-mark { width: 48px; height: 48px; }
}
}

@layer pages {
  .account-surface .signup-shell--message { display: flex; align-items: center; max-width: 640px; }
  .signup-shell--message > .signup-intro { display: none; }
  .account-surface .signup-shell--message .signup-panel { width: 100%; max-width: none; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .signup-shell--message h1 { max-width: none; font-size: clamp(40px, 6vw, 64px); font-weight: 500; }
  .account-message-copy { max-width: 52ch; color: var(--text-muted); font-size: 17px; line-height: 1.6; }
  .signup-shell--message .message-note { margin-top: 20px; font-size: 14px; }
  .signup-shell--message .message-action { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; font-size: 14px; }
}

/* A single, focused recovery step, separate from the two-column signup flow. */
@layer pages {
  .account-recovery-surface .site-header { background: transparent; }
  .account-surface .signup-shell--recovery {
    display: flex;
    justify-content: center;
    min-height: calc(100svh - 190px);
    padding-block: var(--space-7) var(--space-8);
  }
  .signup-shell--recovery > .signup-intro { display: none; }
  .signup-shell--recovery .signup-panel {
    width: 100%;
    max-width: 480px;
    padding: clamp(24px, 5vw, 40px);
  }
  .signup-shell--recovery .eyebrow { margin-bottom: var(--space-4); }
  .recovery-heading { margin-bottom: var(--space-6); }
  .recovery-heading h1 {
    margin-bottom: var(--space-4);
    font-size: clamp(34px, 4vw, 40px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -.04em;
  }
  .recovery-heading p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: var(--text-ui);
    line-height: 1.6;
  }
  .recovery-return { margin: var(--space-6) 0 0; text-align: center; }
  .recovery-return a { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; }
  @media (max-width: 520px) {
    .account-surface .signup-shell--recovery { min-height: auto; padding-block: var(--space-6) var(--space-8); }
  }
}
