/* AMORAE onboarding visual refresh — presentation only.
   Keep the existing form fields, step sequence, validation, API requests and email flow intact. */
:root{
  --amorae-card-ink:#171923;
  --amorae-card-muted:#586273;
  --amorae-card-line:#e7e0da;
  --amorae-card-paper:#fffdfa;
  --amorae-card-cream:#faf7f2;
  --amorae-card-berry:#a50935;
  --amorae-card-berry-dark:#87072b;
  --amorae-card-rose:#fff0f1;
}
.amorae-profile-setup-page,
.amorae-registration-page{
  background:var(--amorae-card-cream);
  color:var(--amorae-card-ink);
  -webkit-tap-highlight-color:transparent;
}
.amorae-profile-setup-page .onboarding-shell,
.amorae-registration-page .onboarding-shell{
  width:min(calc(100% - 28px),520px);
  margin-inline:auto;
  padding:max(12px,env(safe-area-inset-top)) 0 max(28px,env(safe-area-inset-bottom));
}
.amorae-profile-setup-page .amorae-profile-header,
.amorae-registration-page .registration-topbar{
  min-height:48px;
  margin:0 0 18px;
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 44px;
  align-items:center;
  border-bottom:1px solid #e9e2dc;
}
.amorae-profile-setup-page .amorae-profile-header .onboarding-brand,
.amorae-registration-page .registration-topbar .onboarding-brand{
  grid-column:2;
  justify-self:center;
  margin:0;
  color:#29232a;
  font-size:13px;
  font-weight:750;
  letter-spacing:.2em;
}
.amorae-profile-setup-page .amorae-profile-header>span{
  grid-column:1 / -1;
  justify-self:center;
  padding:0 0 12px;
  color:#8b5360;
  font-size:9px;
  font-weight:750;
  letter-spacing:.16em;
}
.amorae-registration-page .registration-topbar{grid-template-columns:44px minmax(0,1fr) 44px}
.amorae-registration-page .registration-back{
  grid-column:1;grid-row:1;
  display:flex;align-items:center;justify-content:flex-start;
  width:44px;min-width:44px;min-height:44px;
  color:#29232a;font-size:24px;text-decoration:none;
}
.amorae-registration-page .registration-back span{display:none}
.amorae-profile-setup-page .onboarding-card,
.amorae-registration-page .onboarding-card{
  box-sizing:border-box;
  padding:24px 20px 22px;
  border:1px solid var(--amorae-card-line);
  border-radius:22px;
  background:var(--amorae-card-paper);
  box-shadow:0 10px 28px rgba(40,25,26,.045);
}
.amorae-profile-setup-page .onboarding-progress{
  margin:0 0 30px;
}
.amorae-profile-setup-page .progress-track{
  height:6px;
  border-radius:999px;
  background:#e9e2dc;
  overflow:hidden;
}
.amorae-profile-setup-page .progress-track span{
  border-radius:999px;
  background:var(--amorae-card-berry);
}
.amorae-profile-setup-page .onboarding-step{
  animation:amorae-card-arrive .2s ease-out;
}
.amorae-profile-setup-page .onboarding-step h2,
.amorae-registration-page .registration-intro h1,
.amorae-registration-page .onboarding-card>h1,
.amorae-registration-page #authView .onboarding-step h2{
  color:var(--amorae-card-ink);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(29px,7.5vw,36px);
  font-weight:600;
  line-height:1.12;
  letter-spacing:-.035em;
  text-wrap:balance;
}
.amorae-profile-setup-page .onboarding-step h2{margin:0 0 10px}
.amorae-profile-setup-page .onboarding-step .step-copy,
.amorae-registration-page .registration-intro>p:not(.onboarding-eyebrow),
.amorae-registration-page #authView .onboarding-intro{
  margin:0 0 22px;
  color:var(--amorae-card-muted);
  font-size:14px;
  line-height:1.55;
}
.amorae-profile-setup-page .onboarding-step>label:not(.check-row):not(.upload-button),
.amorae-profile-setup-page .onboarding-step legend,
.amorae-profile-setup-page .onboarding-step .field-grid label,
.amorae-registration-page #registerForm>label,
.amorae-registration-page #authView .onboarding-step label{
  display:block;
  margin:18px 0 8px;
  color:#33313a;
  font-size:12px;
  font-weight:750;
  line-height:1.4;
  letter-spacing:.035em;
}
.amorae-profile-setup-page .onboarding-step :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea),
.amorae-registration-page #registerForm .registration-field input,
.amorae-registration-page #authView .onboarding-step input:not([type=checkbox]):not([type=radio]):not([type=file]){
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:52px;
  border:1px solid #ded8d2;
  border-radius:12px;
  background:#fff;
  color:var(--amorae-card-ink);
  font-family:inherit;
  font-size:16px;
  box-shadow:none;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.amorae-profile-setup-page .onboarding-step :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select){
  padding:0 14px;
}
.amorae-profile-setup-page .onboarding-step textarea{padding:13px 14px;line-height:1.5}
.amorae-profile-setup-page .onboarding-step :is(input,select,textarea):focus,
.amorae-registration-page #registerForm .registration-field input:focus,
.amorae-registration-page #authView .onboarding-step input:focus{
  border-color:var(--amorae-card-berry);
  outline:0;
  box-shadow:0 0 0 3px rgba(165,9,53,.11);
}
.amorae-profile-setup-page .onboarding-step input::placeholder,
.amorae-profile-setup-page .onboarding-step textarea::placeholder,
.amorae-registration-page #registerForm .registration-field input::placeholder{
  color:#8b8b92;opacity:1;
}
.amorae-profile-setup-page .onboarding-step .check-row{
  display:flex;align-items:flex-start;gap:11px;
  margin:14px 0;
  color:#454653;font-size:13px;line-height:1.5;
}
.amorae-profile-setup-page .onboarding-step .check-row input{
  flex:0 0 20px;width:20px;height:20px;margin:1px 0 0;
  accent-color:var(--amorae-card-berry);
}
.amorae-profile-setup-page .onboarding-step fieldset{
  border:0;margin:20px 0 0;padding:0;min-width:0;
}
.amorae-profile-setup-page .onboarding-step fieldset legend{margin:0 0 10px}
.amorae-profile-setup-page .onboarding-step[data-step="1"] fieldset .check-row,
.amorae-profile-setup-page .onboarding-step[data-step="3"] .availability-options .check-row{
  box-sizing:border-box;
  min-height:48px;
  padding:12px 13px;
  border:1px solid var(--amorae-card-line);
  border-radius:12px;
  background:#fff;
  align-items:center;
}
.amorae-profile-setup-page .onboarding-step[data-step="3"] .availability-options{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
}
.amorae-profile-setup-page .onboarding-step[data-step="3"] .availability-options legend{grid-column:1/-1}
.amorae-profile-setup-page .onboarding-step[data-step="3"] .availability-options .check-row{
  margin:0;padding:10px;gap:8px;font-size:12px;
}
.amorae-profile-setup-page .onboarding-step[data-step="3"] .availability-options input{
  flex:0 0 20px;width:20px;height:20px;margin:0;accent-color:var(--amorae-card-berry);
}
.amorae-profile-setup-page .onboarding-step[data-step="4"] .photo-guidance,
.amorae-profile-setup-page .onboarding-step[data-step="4"] .photo-status{
  color:var(--amorae-card-muted);font-size:12px;line-height:1.5;
}
.amorae-profile-setup-page .onboarding-step[data-step="4"] .upload-button{
  box-sizing:border-box;width:100%;min-height:54px;
  border:1px solid #edcbd3;border-radius:12px;
  background:var(--amorae-card-rose);color:var(--amorae-card-berry);
  font-size:14px;font-weight:750;
}
.amorae-profile-setup-page .onboarding-step[data-step="4"] .photo-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;
}
.amorae-profile-setup-page .onboarding-step[data-step="4"] .photo-item img{
  border:1px solid var(--amorae-card-line);border-radius:12px;
}
.amorae-profile-setup-page .onboarding-actions,
.amorae-registration-page .onboarding-actions{
  display:flex;gap:10px;margin-top:26px;
}
.amorae-profile-setup-page .onboarding-actions .primary-button,
.amorae-registration-page .onboarding-actions .primary-button,
.amorae-registration-page #authView .primary-button{
  box-sizing:border-box;min-height:54px;width:100%;
  border:1px solid var(--amorae-card-berry);
  border-radius:999px;background:var(--amorae-card-berry);
  color:#fff;font-family:inherit;font-size:15px;font-weight:750;
  letter-spacing:0;box-shadow:none;
}
.amorae-profile-setup-page .onboarding-actions .primary-button:active,
.amorae-registration-page .onboarding-actions .primary-button:active{
  background:var(--amorae-card-berry-dark);
}
.amorae-profile-setup-page .onboarding-actions .secondary-button{
  min-height:54px;border:1px solid var(--amorae-card-line);
  border-radius:12px;background:#fff;color:var(--amorae-card-ink);
  font-size:14px;font-weight:700;
}
.amorae-profile-setup-page .onboarding-exit,
.amorae-registration-page .onboarding-exit{
  color:#77717a;font-size:12px;line-height:1.6;
}
.amorae-profile-setup-page .onboarding-exit a,
.amorae-registration-page .onboarding-exit a{color:var(--amorae-card-berry);text-underline-offset:3px}
.amorae-registration-page .registration-intro{text-align:left;margin:0 0 22px}
.amorae-registration-page .registration-intro .onboarding-eyebrow{
  margin:0 0 10px;color:#8b5360;font-size:10px;font-weight:750;letter-spacing:.15em;
}
.amorae-registration-page .registration-intro h1{max-width:360px;margin:0}
.amorae-registration-page .registration-intro h1 em{color:var(--amorae-card-berry);font-style:normal}
.amorae-registration-page #registerForm{
  display:grid;gap:0;padding:20px 16px 16px;
  border:1px solid var(--amorae-card-line);border-radius:16px;
  background:#fff;box-shadow:0 8px 24px rgba(41,36,33,.035);
}
.amorae-registration-page #registerForm>label{margin:0 0 8px}
.amorae-registration-page #registerForm .registration-field{position:relative;margin:0 0 18px}
.amorae-registration-page #registerForm .registration-field input{height:54px;padding:0 48px 0 44px}
.amorae-registration-page #registerForm .registration-field-icon,
.amorae-registration-page #registerForm .registration-lock-icon{left:13px;color:#5e5254}
.amorae-registration-page #registerForm .registration-password-toggle{
  right:5px;width:44px;height:44px;min-height:44px;padding:0;
  border:0;border-radius:8px;background:transparent;color:#29232a;
}
.amorae-registration-page #registerForm .registration-password-toggle .password-eye{width:22px;height:22px;stroke-width:2.2}
.amorae-registration-page .registration-verification-note{margin:0;color:var(--amorae-card-muted);font-size:12px;line-height:1.5}
.amorae-registration-page #registerForm .onboarding-actions{margin-top:20px;padding:0;background:transparent}
.amorae-registration-page .registration-email-success{
  padding:22px 18px;border:1px solid var(--amorae-card-line);
  border-radius:18px;background:#fff;text-align:center;
}
.amorae-registration-page .registration-email-success h2{
  margin:0 0 18px;color:var(--amorae-card-ink);
  font:600 clamp(28px,7vw,34px)/1.12 Georgia,"Times New Roman",serif;
  letter-spacing:-.03em;
}
.amorae-registration-page .registration-email-panel{
  display:grid;justify-items:center;gap:10px;padding:18px 12px;
  border:1px solid #f0e5df;border-radius:14px;background:#fffaf7;
}
.amorae-registration-page .registration-envelope{width:min(190px,70%);height:auto}
.amorae-registration-page .registration-email-panel-title{
  margin:0;color:var(--amorae-card-berry);font-size:10px;font-weight:800;letter-spacing:.13em;
}
.amorae-registration-page .registration-email-panel-copy{
  margin:0;color:var(--amorae-card-muted);font-size:13px;line-height:1.55;
}
.amorae-registration-page .registration-email-success .onboarding-actions{margin-top:18px}
.amorae-registration-page #authView .onboarding-step{
  padding:20px 16px 16px;border:1px solid var(--amorae-card-line);
  border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(41,36,33,.035);
}
.amorae-registration-page #authView .onboarding-step h2{margin:0 0 10px;font-size:29px}
.amorae-registration-page #authView .onboarding-step label{margin:0 0 8px}
.amorae-registration-page #authView .onboarding-step input:not([type=checkbox]):not([type=radio]):not([type=file]){
  margin:0 0 18px;padding:0 13px;
}
.amorae-registration-page #authView .onboarding-step .primary-button{margin-top:6px}
@keyframes amorae-card-arrive{from{opacity:.82;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:601px){
  .amorae-profile-setup-page .onboarding-card,
  .amorae-registration-page .onboarding-card{padding:30px 28px}
}
@media(max-width:380px){
  .amorae-profile-setup-page .onboarding-shell,
  .amorae-registration-page .onboarding-shell{width:calc(100% - 20px)}
  .amorae-profile-setup-page .onboarding-card,
  .amorae-registration-page .onboarding-card{padding:20px 15px;border-radius:18px}
  .amorae-profile-setup-page .onboarding-step[data-step="3"] .availability-options{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .amorae-profile-setup-page .onboarding-step{animation:none}
}

/* Amorae single-question card sequence: presentation only; API payloads and account flow remain unchanged. */
.amorae-profile-setup-page .onboarding-card{position:relative;overflow:hidden;background:#fffefd;border:1px solid #e9dfd8;border-radius:24px;box-shadow:0 18px 52px rgba(45,28,30,.055)}
.amorae-profile-setup-page .onboarding-step[hidden]{display:none!important}
.amorae-profile-setup-page .onboarding-step h2{max-width:520px;margin:0 0 28px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(31px,5vw,43px);font-weight:500;line-height:1.12;letter-spacing:-.035em;color:#282321}
.amorae-profile-setup-page .onboarding-step>label:not(.check-row):not(.upload-button),.amorae-profile-setup-page .onboarding-step legend{margin-top:18px;color:#38312f;font-size:12px;font-weight:750;letter-spacing:.075em}
.amorae-profile-setup-page .onboarding-progress{margin:2px 0 30px}
.amorae-profile-setup-page .progress-track{height:4px;background:#eee7e1;border-radius:999px}
.amorae-profile-setup-page .progress-track span{background:#713746;border-radius:999px;transition:width .25s ease}
.amorae-profile-setup-page .onboarding-step input:not([type=checkbox]):not([type=radio]):not([type=file]),.amorae-profile-setup-page .onboarding-step select,.amorae-profile-setup-page .onboarding-step textarea{border:1px solid #ded4cc;border-radius:12px;background:#fff;color:#292421;box-shadow:inset 0 1px 1px rgba(40,30,25,.015)}
.amorae-profile-setup-page .onboarding-step input:focus-visible,.amorae-profile-setup-page .onboarding-step select:focus-visible,.amorae-profile-setup-page .onboarding-step textarea:focus-visible{outline:2px solid #8b5261;outline-offset:2px}
.amorae-profile-setup-page .onboarding-step .check-row{color:#4c4240;font-size:13px;line-height:1.5}
.amorae-profile-setup-page .onboarding-step .check-row input{accent-color:#713746}
.amorae-profile-setup-page .onboarding-actions{margin-top:30px;gap:12px}
.amorae-profile-setup-page .onboarding-actions .primary-button{min-height:54px;border:1px solid #713746;border-radius:12px;background:#713746;color:#fff;font-size:14px;font-weight:750;letter-spacing:.015em;box-shadow:0 5px 12px rgba(113,55,70,.12)}
.amorae-profile-setup-page .onboarding-actions .primary-button:hover{background:#5f2d3a}
.amorae-profile-setup-page .onboarding-actions .secondary-button{min-height:54px;border-radius:12px;border-color:#e3d9d1;background:#fff;color:#443a38}
.amorae-profile-setup-page .onboarding-step{animation:amorae-card-arrive .2s ease-out}
.amorae-profile-setup-page .onboarding-step[data-step="0"] h2{text-align:left}
.amorae-profile-setup-page .onboarding-step[data-step="0"]>label:not(.check-row){text-align:left}
.amorae-profile-setup-page .onboarding-step[data-step="0"] #displayName{margin-bottom:4px}
.amorae-profile-setup-page .onboarding-step[data-step="0"] .amorae-date-parts input{text-align:center}
.amorae-profile-setup-page .onboarding-step[data-step="1"] select{width:100%}
.amorae-profile-setup-page .onboarding-step[data-step="1"] fieldset{padding:0;margin-top:22px}
.amorae-profile-setup-page .onboarding-step[data-step="1"] fieldset .check-row{display:flex;align-items:center;min-height:44px;padding:7px 0;margin:0;border-bottom:1px solid #f0e9e4}
.amorae-profile-setup-page .onboarding-step[data-step="1"] .field-grid{margin-top:14px}
.amorae-profile-setup-page .onboarding-step[data-step="2"] h2,.amorae-profile-setup-page .onboarding-step[data-step="3"] h2,.amorae-profile-setup-page .onboarding-step[data-step="4"] h2{max-width:540px}
@media(max-width:600px){
 .amorae-profile-setup-page .onboarding-shell{width:100%;max-width:470px;padding:12px 14px 26px}
 .amorae-profile-setup-page .onboarding-card{padding:24px 20px;border-radius:20px}
 .amorae-profile-setup-page .onboarding-progress{margin:0 0 26px}
 .amorae-profile-setup-page .onboarding-step h2{font-size:clamp(29px,8vw,36px);margin-bottom:24px}
 .amorae-profile-setup-page .onboarding-step>label:not(.check-row):not(.upload-button),.amorae-profile-setup-page .onboarding-step legend{font-size:11px}
 .amorae-profile-setup-page .onboarding-actions{margin-top:26px}
 .amorae-profile-setup-page .onboarding-actions .primary-button,.amorae-profile-setup-page .onboarding-actions .secondary-button{min-height:52px}
}
@media(prefers-reduced-motion:reduce){.amorae-profile-setup-page .onboarding-step{animation:none}}


/* Unified account-entry card: visual bridge into the seven verified profile cards. */
.amorae-registration-page .registration-wizard-card{padding-top:clamp(22px,5vw,34px)}
.amorae-registration-page .registration-intro{max-width:440px;margin:0 auto 24px;text-align:center}
.amorae-registration-page .registration-intro .onboarding-eyebrow{margin-bottom:12px;color:#8b5360;font-size:10px;font-weight:750;letter-spacing:.17em}
.amorae-registration-page .registration-intro h1{margin:0;color:#29232a;font-family:inherit;font-size:clamp(29px,6vw,38px);font-weight:650;letter-spacing:-.045em;line-height:1.13}
.amorae-registration-page .registration-intro h1 em{color:#8b1e3f;font-family:Georgia,serif;font-weight:500}
.amorae-registration-page .registration-lead{max-width:365px;margin:13px auto 0;color:#6f6670;font-size:14px;line-height:1.65}
.amorae-registration-page .registration-progress{display:flex;align-items:center;gap:12px;margin:0 auto 26px;max-width:360px}
.amorae-registration-page .registration-progress-step{display:flex;align-items:center;gap:8px;color:#9a8d91;font-size:11px;font-weight:750;letter-spacing:.08em;white-space:nowrap}
.amorae-registration-page .registration-progress-step small{font-size:12px;font-weight:600;letter-spacing:0}
.amorae-registration-page .registration-progress-step.is-current{color:#8b1e3f}
.amorae-registration-page .registration-progress-line{height:1px;flex:1;background:#e6d9d8}
.amorae-registration-page .registration-section-title{margin:0 0 18px;color:#8b5360;font-size:10px;font-weight:750;letter-spacing:.14em}
.amorae-registration-page #registerForm label{display:block;margin:17px 0 8px;color:#40363c;font-size:11px;font-weight:750;letter-spacing:.055em}
.amorae-registration-page .registration-field{position:relative}
.amorae-registration-page .registration-field input{box-sizing:border-box;width:100%;min-height:54px;border:1px solid #ded4d1;border-radius:13px;background:#fffefa;color:#29232a;padding:0 48px;font:inherit;font-size:15px;outline:none;box-shadow:none;transition:border-color .18s ease,box-shadow .18s ease}
.amorae-registration-page .registration-field input:focus{border-color:#9a5267;box-shadow:0 0 0 3px rgba(139,30,63,.09)}
.amorae-registration-page .registration-verification-note{margin:16px 0;color:#786d73;font-size:12px;line-height:1.55}
.amorae-registration-page #registerSubmit{width:100%;min-height:54px;border-radius:13px;font-weight:700;letter-spacing:.01em}
.amorae-registration-page .registration-email-success h2{font-size:26px;letter-spacing:-.025em}
.amorae-registration-page .onboarding-exit{color:#756a70;font-size:12px}
@media(max-width:420px){
 .amorae-registration-page .onboarding-card{padding:22px 17px 20px;border-radius:19px}
 .amorae-registration-page .registration-intro{margin-bottom:21px}
 .amorae-registration-page .registration-lead{font-size:13px}
 .amorae-registration-page .registration-progress{margin-bottom:22px}
 .amorae-registration-page .registration-field input{min-height:52px}
}
