/* ===== US Digestive Health Open Access screening form + Superscript pricing moment (scoped under .pm) ===== */
/* Skinned to their live intake form (app.wovenxhealth.com, linked from usdigestivehealth.com "Schedule Now"):
   Lexend, navy #070C55 8px-radius CTAs, cream page #FCF9F5, slate-300 field borders, slate-400 focus ring */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600&display=swap');
:root {
  --ms-font: Lexend, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ms-gray-bg: #FFFFFF;
  --ms-page: #FCF9F5;
  --ms-border-dark: #CAD5E2;
  --ms-border-light: #E5E7EB;
  --ms-text-900: #171717;
  --ms-heading: #0F172B;
  --ms-text-500: #62748E;
  --ms-text-desc: #45556C;
  --ms-magenta: #070C55;
  --ms-magenta-hover: #050940;
  --ms-red: #3E93CC;
  --ms-ring: #90A1B9;
}

.pm { display: flex; justify-content: center; width: 100%; }
.pm .card { width: 100%; max-width: 420px; background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,20,55,.12), 0 25px 60px rgba(0,20,55,.16), 0 1px 2px rgba(0,0,0,0.06); overflow: hidden; }

.pm .browser-bar { height: 30px; background: #E7E9EE; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-bottom: 1px solid #D8DBE2; }
.pm .browser-bar .dots { position: static; top: auto; left: auto; z-index: auto; transform: none; display: flex; flex-direction: row; gap: 6px; }
.pm .browser-bar .dots span { width: 8px; height: 8px; border-radius: 50%; background: #C7CBD3; }
.pm .browser-bar .url { flex: 1; background: #F5F6F8; border-radius: 5px; padding: 3px 10px; font-size: 10px; color: #8A8F99; font-family: ui-monospace, Menlo, monospace; text-align: center; }

.pm .ms-section { padding: 12px 18px 12px; font-family: var(--ms-font); background: var(--ms-page); }
.pm .divider { border-bottom: 1px solid var(--ms-border-light); margin: 8px 0; }
.pm .ms-h { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ms-heading); padding: 2px 0; }
.pm .ms-desc { font-size: 9.5px; line-height: 13px; font-weight: 400; color: var(--ms-text-desc); padding-bottom: 4px; }

.pm .field-group { margin: 0 0 8px; }
.pm .field-group label { display: block; font-size: 10.5px; font-weight: 500; color: var(--ms-text-900); margin-bottom: 4px; }
.pm .field-group label .req { color: var(--ms-red); }

.pm .field { position: relative; background: var(--ms-gray-bg); height: 32px; border: 1px solid var(--ms-border-dark); border-radius: 7px; margin: 0; display: flex; align-items: center; padding: 0 28px 0 10px; transition: border-color .15s ease, box-shadow .15s ease; }
.pm .field.typing { box-shadow: 0 0 0 1.5px #fff, 0 0 0 3px var(--ms-ring); }
.pm .field .value { font-size: 11.5px; color: var(--ms-text-900); width: 100%; min-height: 14px; white-space: nowrap; overflow: hidden; }
.pm .field .value .caret { display: inline-block; width: 2px; height: 11px; background: var(--ms-magenta); margin-left: 1px; vertical-align: -2px; animation: pmBlink .9s steps(1) infinite; }
@keyframes pmBlink { 50% { opacity: 0; } }
.pm .chevron { position: absolute; top: 50%; right: 8px; width: 13px; height: 13px; margin-top: -6.5px; color: var(--ms-border-dark); transition: opacity .25s ease, transform .25s ease; }
.pm .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pm .field.filled .chevron { opacity: 0; transform: scale(.5); }
.pm .field .checkmark { position: absolute; right: 7px; top: 50%; margin-top: -7px; width: 14px; height: 14px; opacity: 0; transform: scale(.5); transition: opacity .25s ease, transform .25s ease; }
.pm .field .checkmark.show { opacity: 1; transform: scale(1); }

.pm .ss-section { background: #fff; padding: 12px 18px 14px; position: relative; border-top: 2px solid var(--ms-border-light); }
.pm .ss-top { display: flex; align-items: center; justify-content: space-between; }
.pm .ss-brand { display: flex; align-items: center; gap: 6px; color: var(--ms-text-500); font-family: var(--ms-font); font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pm .ss-brand .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ms-red); }
.pm .ss-brand .logo { height: 12px; width: 68px; color: var(--ms-text-500); position: relative; top: 1px; }
.pm .ss-status { font-size: 9.5px; font-weight: 500; color: var(--ms-text-500); background: var(--ms-gray-bg); border: 1px solid var(--ms-border-light); border-radius: 100px; padding: 4px 9px; display: flex; align-items: center; gap: 5px; transition: color .3s; }
.pm .ss-status .pip { width: 5px; height: 5px; border-radius: 50%; background: var(--ms-text-500); transition: background .3s; }
.pm .ss-status.connected { color: var(--ms-magenta); }
.pm .ss-status.connected .pip { background: var(--ms-magenta); }

.pm .ss-body { margin-top: 10px; }
.pm .ss-service { font-family: var(--ms-font); font-size: 15px; line-height: 19px; font-weight: 600; color: var(--ms-magenta); margin: 0 0 4px; }
.pm .ss-sub { font-family: var(--ms-font); font-size: 10.5px; line-height: 14.5px; font-weight: 400; color: var(--ms-text-desc); margin: 0 0 12px; max-width: 420px; }

.pm .ss-price-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; min-height: 42px; }
.pm .ss-price-col p { margin: 0; font-family: var(--ms-font); }
.pm .ss-price-value { font-size: 22px; font-weight: 700; color: var(--ms-text-900); line-height: 1.1; font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; display: inline-block; }
.pm .ss-price-label { font-size: 11px; font-weight: 400; color: var(--ms-text-500); margin-top: 2px; }
.pm .ss-price-sub { font-size: 9.5px; color: var(--ms-text-500); margin-top: 3px; opacity: 0; transition: opacity .4s ease; }
.pm .ss-price-sub.show { opacity: 1; }

.pm .ss-switch { width: 40px; height: 24px; border-radius: 999px; background: #D3D3D3; position: relative; transition: background .3s; cursor: default; flex-shrink: 0; }
.pm .ss-switch .knob { width: 16px; height: 16px; border-radius: 50%; background: #fff; position: absolute; top: 4px; left: 4px; box-shadow: 0 0 4px rgba(0,0,0,.25); transition: transform .3s; }
.pm .ss-switch.on { background: var(--ms-magenta); }
.pm .ss-switch.on .knob { transform: translateX(16px); }

.pm .ss-cta { position: relative; height: 42px; }
.pm .ss-cta-layer { position: absolute; inset: 0; border-radius: 7px; border: none; font-family: var(--ms-font); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; font-weight: 500; opacity: 0; transition: opacity .4s ease, transform .4s ease, background-color .15s ease; transform: translateY(4px); }
.pm .ss-cta[data-state="idle"] .ss-idle,
.pm .ss-cta[data-state="calc"] .ss-calc,
.pm .ss-cta[data-state="resolved"] .ss-book { opacity: 1; transform: translateY(0); }

.pm .ss-idle { background: var(--ms-magenta); color: #fff; cursor: default; }
.pm .ss-calc { color: var(--ms-text-900); font-weight: 600; background: linear-gradient(120deg, #DCE3EC 0%, #F3F6F9 30%, #DCE3EC 55%, #F3F6F9 80%, #DCE3EC 100%); background-size: 250% 100%; animation: pmShimmer 1.8s linear infinite; border: 1px solid var(--ms-border-light); }
@keyframes pmShimmer { 0% { background-position: 0% 0%; } 100% { background-position: -250% 0%; } }
.pm .ss-book { background: var(--ms-magenta); color: #fff; cursor: default; }

.pm .ss-view { display: block; text-align: center; font-family: var(--ms-font); font-size: 10.5px; font-weight: 500; color: var(--ms-magenta); text-decoration: none; padding-top: 7px; cursor: default; }

.pm .ms-brandrow { display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.pm .ms-brandrow img { height: 20px; width: auto; display: block; mix-blend-mode: multiply; }
.pm .ms-brandrow span { font-size: 9px; color: var(--ms-text-500); }

/* USDH form stepper: 6 steps, steps 1-5 complete, step 6 current */
.pm .ms-steps { list-style: none; margin: 0 0 6px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.pm .ms-steps li { position: relative; display: flex; justify-content: center; }
.pm .ms-steps li:not(:last-child)::after { content: ""; position: absolute; top: 50%; left: 50%; width: 100%; height: 1.5px; margin-top: -.75px; background: var(--ms-magenta); }
.pm .ms-steps i { position: relative; z-index: 1; width: 13px; height: 13px; border-radius: 50%; box-sizing: border-box; background: var(--ms-magenta); border: 1.5px solid var(--ms-magenta); }
.pm .ms-steps li.cur i { background: #fff; }
.pm .ms-steps li.cur i::after { content: ""; position: absolute; inset: 2.5px; border-radius: 50%; background: var(--ms-magenta); }
.pm .ms-steplbl { text-align: right; font-size: 9px; font-weight: 500; color: var(--ms-magenta); margin: 0 0 8px; }
.pm .ss-price-sub b { color: var(--ms-text-900); font-weight: 600; }
