@font-face {
  font-family: "Signup Icons";
  src: url("/signup/vendor/signup-icons.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #1d1d1f;
  background: #f5f5f7;
  line-height: 1.5;
  --blue: #0071e3;
  --link: #0066cc;
  --muted: #606067;
  --line: #d2d2d7;
  --panel: #fff;
  --subtle: #f5f5f7;
  --blue-panel: #eef4ff;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }

header {
  background: #fff;
  border-bottom: 1px solid #e8e8ed;
  padding: 12px max(20px, calc((100% - 1080px) / 2));
  min-height: 64px;
}
.header-inner { display: flex; align-items: center; min-height: 39px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-weight: 700; text-decoration: none; }
.brand img { object-fit: contain; }
main {
  width: min(100% - 40px, 960px);
  margin: clamp(28px, 5vw, 68px) auto 48px;
  padding: clamp(24px, 5vw, 52px);
  background: var(--panel);
  border: 1px solid #e8e8ed;
  border-radius: 24px;
  box-shadow: 0 12px 38px rgba(29, 29, 31, .045);
}
h1, h2 { letter-spacing: -.032em; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; margin: 0; }
h2 { font-size: 21px; line-height: 1.2; margin: 0; }
p, dl { margin: 0; }
#intro { margin-top: 12px; color: var(--muted); max-width: 620px; font-size: 16px; }
#step { margin-top: 26px; }
#step, form { display: grid; gap: 14px; align-content: start; }
#step:empty { margin: 0; }
.signup-footer { border-top: 1px solid #e8e8ed; margin-top: 28px; padding-top: 16px; font-size: 14px; }
#demo { display: inline-block; margin-top: 14px; }
a { color: var(--link); text-underline-offset: .15em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
#title:focus { outline: none; }

.plan-options, .agent-options { display: grid; gap: 9px; padding: 0; border: 0; }
.clinic-form, .card-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.clinic-form > .signup-actions, .card-form > :not(label), .card-form > .consent { grid-column: 1 / -1; }
legend { font-size: 14px; font-weight: 650; margin-bottom: 9px; }
.plan-option, .agent-option {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid #e0e0e5;
  border-radius: 14px;
  background: var(--panel);
  cursor: pointer;
}
.plan-option:hover, .agent-option:hover { border-color: var(--blue); }
.plan-option:has(:checked), .agent-option:has(:checked) {
  border-color: var(--blue);
  background: #f5f9ff;
  box-shadow: inset 0 0 0 1px var(--blue);
}
.plan-option-price, .agent-option span:last-child { color: var(--muted); font-size: 14px; font-weight: 500; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--blue); margin: 0; width: 1rem; height: 1rem; flex: none; }
.field-note { color: var(--muted); font-size: 14px; margin-top: -6px; }

/* The public site's AI team section pairs a dark glass surface with a bright card. */
.signup-page {
  min-height: 100vh;
  color: #fff;
  background: radial-gradient(70% 64% at 52% 0%, #2c2a79, transparent 75%),
    linear-gradient(160deg, #141448 0%, #111538 60%, #0b112c 100%);
}
.signup-page .site-header {
  background: rgba(240, 242, 255, .86);
  backdrop-filter: blur(20px) saturate(160%);
  border-color: rgba(255, 255, 255, .25);
  color: #1d1d1f;
  padding-inline: max(20px, calc((100% - 1180px) / 2));
}
.signup-page .brand img { background: #fff; border-radius: 50%; object-fit: contain; padding: 3px; }
.signup-page .signup-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: start;
  width: min(1180px, 100% - 48px);
  gap: clamp(18px, 4vw, 52px);
  margin-block: clamp(24px, 6vw, 66px);
  padding: clamp(24px, 4vw, 36px);
  background: linear-gradient(150deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .038));
  border-color: rgba(255, 255, 255, .14);
  border-radius: 22px;
  box-shadow: none;
}
.signup-page .signup-shell-stacked {
  grid-template-columns: minmax(0, 1fr);
  max-width: 920px;
  row-gap: clamp(20px, 3vw, 30px);
}
.signup-page .signup-shell-loading {
  grid-template-columns: minmax(0, 1fr);
  max-width: 540px;
}
.signup-loading {
  display: grid;
  min-height: 104px;
  place-items: center;
}
.signup-spinner {
  width: 30px;
  aspect-ratio: 1;
  border: 3px solid #dbe8fb;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: signup-spin .8s linear infinite;
}
.signup-loading-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@keyframes signup-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .signup-spinner { animation: none; }
}
.signup-copy { min-width: 0; }
.signup-copy h1 { font-size: clamp(32px, 4vw, 52px); }
.signup-copy #intro { color: #c7d2e8; max-width: 32rem; line-height: 1.6; }
.signup-panel {
  min-width: 0;
  color: #1d1d1f;
  border-radius: 18px;
  padding: clamp(18px, 3vw, 26px);
  background: linear-gradient(155deg, #fff 0%, #fff 62%, #f7f9ff 100%);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 20px 44px rgba(7, 10, 29, .3), inset 0 1px 0 #fff;
}
.signup-panel #step { margin-top: 0; }
.signup-heading {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 18px);
}
#signup-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: clamp(38px, 6vw, 54px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  color: #fff;
  background: #1686c6;
  font: clamp(20px, 3vw, 28px)/1 "Signup Icons";
  font-feature-settings: "liga";
}
#signup-icon[data-stage="card"] { background: #7557d0; }
#signup-icon[data-stage="clinic"] { background: #c76b1d; }
#signup-icon[data-stage="verify"] { background: #087c76; }
#signup-icon[data-stage="sign"] { background: #c63773; }
#signup-icon[data-stage="invite"] { background: #218154; }
.signup-panel #error { margin: 0 0 14px; }
.signup-page .signup-footer {
  grid-column: 1 / -1;
  margin: 0;
  border-color: rgba(255, 255, 255, .14);
  color: #c7d2e8;
}
.signup-page .signup-footer a { color: #9fd6ff; }
.plan-details { max-width: 32rem; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); }
.review-breakdown { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 15px; align-items: baseline; margin-top: 12px; font-size: 14px; }
.review-breakdown dt { color: #c7d2e8; }
.review-breakdown dd { margin: 0; max-width: 11rem; text-align: right; font-weight: 600; }
.promotion-note { color: #c7d2e8; font-size: 14px; margin-top: 14px; }
.plan-details button { margin-top: 14px; }
.signup-copy button.back-to-plan, .plan-details button.secondary {
  color: #a8d9ff;
  background: transparent;
  border-color: transparent;
}
.plan-details button.secondary { border-color: rgba(255, 255, 255, .35); }
.signup-copy button.back-to-plan:hover:not(:disabled), .plan-details button.secondary:hover:not(:disabled) {
  color: #fff;
  background: rgba(255, 255, 255, .09);
}
.signup-copy button:focus-visible, .signup-footer a:focus-visible { outline-color: #a8d9ff; }
.review-prices { margin: 18px 0 20px; }
.review-prices dt { color: var(--muted); font-size: 14px; }
.review-prices dd { margin: 2px 0 0; font-size: 19px; letter-spacing: -.02em; font-weight: 650; }
.review-prices dd.first-price { font-size: clamp(30px, 4.5vw, 45px); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 16px; }
.review-prices dd + dt { border-top: 1px solid #dcdce1; padding-top: 14px; }
.review-summary button { width: 100%; }

label { display: block; font-weight: 625; }
input:not([type="checkbox"], [type="radio"]), select, textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: inherit;
  font: inherit;
}
.time-zone-field { position: relative; }
.time-zone-field select {
  appearance: none;
  height: 44px;
  padding-inline-end: 36px;
  font-weight: 400;
  font-size: 16px;
}
.time-zone-field select:invalid { color: var(--muted); }
.time-zone-field::after {
  content: "";
  position: absolute;
  right: 15px;
  bottom: 20px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}
input[type="number"] { max-width: 8rem; }
.consent { display: flex; gap: 10px; align-items: baseline; color: var(--muted); font-size: 14px; font-weight: 500; }
fieldset { min-width: 0; margin: 0; }
button, .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 17px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
button:hover:not(:disabled), .button:hover { background: #0066cc; }
:is(button, .button).secondary { background: #fff; color: var(--link); border-color: #d2d2d7; }
:is(button, .button).secondary:hover:not(:disabled) { color: var(--link); background: #f5f9ff; border-color: var(--blue); }
button:disabled { opacity: .55; cursor: not-allowed; }
.signup-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.signup-actions button { padding-inline: 12px; line-height: 1.25; }
.clinic-form .signup-actions { flex-wrap: nowrap; }
.clinic-form .signup-actions button { min-width: 0; }
.signup-actions button.quiet { border-color: transparent; background: transparent; }
.proof-options { display: grid; gap: 10px; }
.proof-method {
  --proof-ink: #1765a8;
  --proof-tint: #eef6ff;
  --proof-border: #cddff2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  margin: 0;
  border: 1px solid var(--proof-border);
  border-radius: 14px;
  padding: 9px 12px;
  background: var(--proof-tint);
  color: #1d1d1f;
  text-align: left;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
}
.proof-method[data-method="listed_sms"] { --proof-ink: #087c76; --proof-tint: #ebf8f5; --proof-border: #c4e4dd; }
.proof-method[data-method="listed_voice"] { --proof-ink: #6a48c1; --proof-tint: #f4efff; --proof-border: #dfd3f6; }
.proof-method[data-method="published_email"] { --proof-ink: #ad3568; --proof-tint: #fdf0f5; --proof-border: #f0d2e0; }
.proof-method[data-method="website_dns"] { --proof-ink: #9d510e; --proof-tint: #fff4e8; --proof-border: #efd8ba; }
button.proof-method:hover:not(:disabled) { background: var(--proof-tint); border-color: var(--proof-ink); }
.proof-method-icon {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--proof-ink);
  color: #fff;
  font: 20px/1 "Signup Icons";
  font-feature-settings: "liga";
  white-space: nowrap;
}
.proof-switch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.proof-switch button, .proof-switch button:hover:not(:disabled) {
  padding: 0;
  background: transparent;
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.proof-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
.proof-help .button { gap: 7px; padding-inline: 12px; }
.proof-help-icon { font: 18px/1 "Signup Icons"; font-feature-settings: "liga"; }
#step-navigation { margin: -6px 0 10px; }
button.back-to-plan {
  gap: 8px;
  min-height: 44px;
  padding: 0 10px 0 3px;
  color: var(--link);
  background: transparent;
  font-size: 14px;
}
button.back-to-plan:hover:not(:disabled) { color: #004c99; background: #f5f9ff; }
button.back-to-plan::before {
  content: "";
  width: 7px;
  height: 7px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
#error { margin-top: 16px; background: #fff1ed; color: #922b15; padding: 10px 12px; border-radius: 10px; }
code { overflow-wrap: anywhere; }
.agreement-review {
  display: grid;
  justify-items: center;
  gap: 22px;
}
.progress-list {
  display: grid;
  width: 100%;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.progress-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e3e7ef;
  border-radius: 14px;
  background: #f8f9fc;
}
.progress-row[data-tone="signing"] {
  border-color: #e8bdd5;
  background: #fdf1f7;
}
.progress-row-icon {
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #e9edf6;
  color: #526384;
  font: 20px/1 "Signup Icons";
  font-feature-settings: "liga";
  white-space: nowrap;
}
.progress-row[data-tone="signing"] .progress-row-icon { background: #ad3568; color: #fff; }
.progress-row-copy { display: grid; gap: 2px; line-height: 1.35; }
.progress-row-copy span { overflow-wrap: anywhere; color: var(--muted); font-size: 13px; }
.progress-row[data-tone="pending"] { background: #f1f6ff; border-color: #cddff7; }
.progress-row[data-tone="pending"] .progress-row-icon { background: #1765a8; color: #fff; }
.progress-row[data-tone="success"] { background: #f2faf6; border-color: #cee9db; }
.progress-row[data-tone="success"] .progress-row-icon { background: #218154; color: #fff; }
.progress-row[data-tone="attention"] { background: #fff9ef; border-color: #efddc2; }
.status-pill {
  justify-self: start;
  padding: 3px 8px;
  border-radius: 7px;
  background: #e9edf6;
  color: #465776;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.status-pill-signing { background: #f5dce9; color: #86224e; }
.status-pill-success { background: #e0f3e9; color: #12613c; }
.status-pill-pending { background: #e4efff; color: #184f94; }
.status-pill-attention { background: #fff0d9; color: #854610; }
#step > .status-pill { padding: 5px 11px; border-radius: 999px; }
#step > .status-pill + p { overflow-wrap: anywhere; }
.completion-note { color: var(--muted); }
@media (max-width: 480px) {
  .progress-row { grid-template-columns: auto minmax(0, 1fr); gap: 6px 10px; }
  .progress-row-icon { grid-row: span 2; align-self: start; width: 32px; font-size: 18px; }
  .progress-status { grid-column: 2; }
}
.agreement-document {
  max-height: 24rem;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: clamp(14px, 3vw, 24px);
  background: #f8f8fa;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.agreement-signature {
  display: block;
  width: 100%;
  height: 130px;
  outline: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: crosshair;
  touch-action: none;
}
iframe.card-field { display: block; width: calc(100% + 8px); margin-inline: -4px; height: 160px; border: 0; background: #fff; }
.card-form > label:not(.consent) { font-size: 14px; font-weight: 600; }
.card-form input:not([type="checkbox"]) { font-size: 16px; font-weight: 400; }
.card-form input:not([type="checkbox"]):focus-visible {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px #c9e3ff;
}

@media (max-width: 650px) {
  main { width: calc(100% - 28px); margin-top: 20px; border-radius: 18px; padding: 22px 18px; }
  .clinic-form, .card-form { grid-template-columns: minmax(0, 1fr); }
  .plan-option, .agent-option { gap: 5px 10px; }
  .plan-option-price { grid-column: 2 / -1; }
  .review-breakdown dd { max-width: 9rem; }
}

@media (max-width: 760px) {
  .signup-page .signup-shell { width: calc(100% - 28px); grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .plan-details { margin-top: 19px; padding-top: 15px; }
}
