/* Professional landing page. Keep these styles separate from other public pages. */
.professionals-page {
  --pro-ink: #061b3f;
  --pro-blue: #1769ff;
  --pro-muted: #4c6281;
  background: #f5f9ff;
  color: var(--pro-ink);
}
.professionals-page .section { padding-top: 64px; padding-bottom: 64px; }
.professionals-page .site-main { padding-top: 38px; }
.professionals-page .pro-hero { padding-top: 32px; padding-bottom: 42px; }
.professionals-page .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; }
.professionals-page .hero-copy { gap: 24px; }
.professionals-page .hero-copy h1 { max-width: 18ch; margin: 0; font-size: clamp(36px, 4vw, 55px); line-height: 1.13; letter-spacing: -.045em; }
.professionals-page .lead { color: var(--pro-muted); font-size: 17px; line-height: 1.8; }
.professionals-page .eyebrow { color: #285d9c; font-size: 11px; letter-spacing: .1em; }
.professionals-page h2 { margin: 12px 0 16px; max-width: 24ch; font-size: clamp(28px, 3vw, 38px); line-height: 1.22; letter-spacing: -.035em; }
.professionals-page h3 { font-size: 18px; letter-spacing: -.02em; line-height: 1.4; margin: 0 0 12px; }
.professionals-page p { line-height: 1.8; }
.professionals-page .button-primary { background: var(--pro-blue); font-size: 13px; padding: 15px 20px; }
.professionals-page .button-primary:hover { background: #0e52cf; }
.professionals-page .button-secondary { font-size: 13px; padding: 15px 20px; }
.professionals-page :is(a, button, summary, select):focus-visible { outline: 3px solid #1769ff; outline-offset: 5px; }
.professionals-page [id] { scroll-margin-top: 130px; }
.pro-reassurance { display: flex; flex-wrap: wrap; gap: 12px 18px; padding: 0; margin: 0; list-style: none; color: var(--pro-muted); font-size: 11px; font-weight: 600; }
.pro-reassurance li { display: flex; align-items: center; gap: 7px; }
.pro-reassurance li::before, .pro-status-dot { content: ""; display: inline-block; width: 6px; height: 6px; background: #168b73; border-radius: 50%; flex-shrink: 0; }
.pro-text-link { color: var(--pro-muted); font-size: 12px; text-underline-offset: 4px; }
.pro-app-figure { margin: 0; padding: 24px 22px 20px; min-width: 0; border: 1px solid #dce8f7; border-radius: 32px; background: radial-gradient(ellipse at 100% 0, #c5f2e9 0, transparent 70%), linear-gradient(130deg, #dceaff, #edf5ff); }
.pro-screen-heading { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 20px; color: #224564; font-size: 12px; font-weight: 700; text-align: center; }
.pro-screen-link { display: block; width: min(100%, 264px); margin: 0 auto; padding: 0; border: 5px solid #173354; border-radius: 28px; background: #173354; box-shadow: 0 20px 36px -18px #17345b66; overflow: hidden; cursor: zoom-in; }
.pro-screen-link img { display: block; width: 100%; height: auto; border-radius: 22px; }
.pro-app-figure figcaption { display: grid; gap: 6px; font-size: 10px; line-height: 1.6; color: #4e6380; text-align: center; margin-top: 18px; }
.pro-enlarge { justify-self: center; padding: 4px 8px; border: 0; background: none; color: #285d9c; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: zoom-in; }
html.pro-image-viewer-open { overflow: hidden; scrollbar-gutter: stable; }
.pro-image-viewer { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 16px; border: 0; background: transparent; cursor: zoom-out; }
.pro-image-viewer[open] { display: grid; place-items: center; }
.pro-image-viewer::backdrop { background: rgb(3 12 29 / 90%); }
.pro-image-viewer > img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); border-radius: 12px; }
.pro-image-viewer-close { position: absolute; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff66; border-radius: 50%; color: #fff; background: #102542; font: 30px/1 sans-serif; cursor: pointer; }
.professionals-page .pro-image-viewer-close:focus-visible { outline-color: #fff; }
.pro-hero-note { margin: 40px 0 0; padding: 16px 20px; border-left: 3px solid #a9c9ed; background: #edf3fb; color: var(--pro-muted); font-size: 12px; }
.pro-section-heading { max-width: 700px; margin-bottom: 34px; }
.pro-section-heading > p { margin-bottom: 0; color: var(--pro-muted); font-size: 15px; }
.pro-flow {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
  gap: 28px clamp(26px, 5vw, 76px);
}
.pro-flow .pro-section-heading { grid-column: 1 / -1; max-width: 68ch; margin: 0; }
.pro-flow .pro-section-heading h2 { max-width: 28ch; margin: 10px 0; }
.pro-steps { list-style: none; padding: 0; margin: 0; }
.pro-steps li { position: relative; padding: 0 0 24px 52px; }
.pro-steps li:last-child { padding-bottom: 0; }
.pro-steps li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 34px; bottom: 0; width: 2px; background: #bbd7e3; }
.pro-step-number { position: absolute; inset: 0 auto auto 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #163e66; color: white; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pro-steps h3 { padding-top: 5px; margin: 0 0 5px; }
.pro-steps p, .pro-reading p, .pro-everyday p { margin: 0; font-size: 14px; color: var(--pro-muted); }
.pro-flow :is(.pro-steps, .pro-reading) p { line-height: 1.6; }
.pro-reading { border: 1px solid #c9dedf; border-radius: 20px; overflow: hidden; background: white; }
.pro-reading > div { padding: clamp(18px, 2.4vw, 30px); }
.pro-reading > div:first-child { background: #e3f3ef; border-bottom: 1px solid #c9dedf; }
.pro-reading > div:last-child { background: #fff4f3; }
.pro-reading h3 { margin: 0 0 8px; font-size: 17px; }
.pro-reading > div:first-child h3 { color: #10574e; }
.pro-discussion { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; background: var(--pro-ink); color: #fff; padding: 48px; border-radius: 28px; }
.pro-discussion .eyebrow { color: #8ee1ce; }
.pro-discussion h2 { color: #fff; font-size: 32px; }
.pro-discussion p { color: #c4d2e5; font-size: 14px; margin-bottom: 0; }
.pro-discussion-action { text-align: center; }
.pro-discussion-action .button-primary { color: var(--pro-ink); background: #b5f0e2; box-shadow: none; }
.pro-discussion-action .button-primary:hover { background: #d2f7ee; }
.pro-discussion :is(a, button):focus-visible { outline-color: #b5f0e2; }
.professionals-page .pro-contact-note { font-size: 11px; line-height: 1.6; margin: 12px 0 0; }
.pro-email { display: inline-block; color: #e7f2ff; margin-top: 14px; font-size: 12px; text-underline-offset: 4px; }
.pro-everyday .pro-section-heading { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 36px; max-width: none; }
.pro-everyday .pro-section-heading h2 { margin-bottom: 0; }
.pro-everyday .pro-section-heading p { max-width: 46ch; }
.pro-everyday-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.pro-example { display: flex; flex-direction: column; margin: 0; border: 1px solid #d5e2ef; border-radius: 22px; background: white; }
.pro-example-stock { --preview-bg: #dce9ff; --preview-light: #ecf4ff; --preview-position: 14%; }
.pro-example-expiry { --preview-bg: #ccece6; --preview-light: #e9f7f2; --preview-position: 28%; }
.pro-example-reminder { --preview-bg: #e3def6; --preview-light: #f4f0fc; --preview-position: 87%; }
.pro-example-preview { display: grid; place-items: center; width: 100%; padding: clamp(16px, 2.2vw, 32px) clamp(12px, 1.6vw, 24px); border: 0; border-radius: 21px 21px 0 0; background: linear-gradient(150deg, var(--preview-light), var(--preview-bg)); cursor: zoom-in; }
.pro-example-preview img { display: block; width: 100%; aspect-ratio: 1.85; height: auto; object-fit: cover; object-position: center var(--preview-position); border: 1px solid #ffffffb3; border-radius: 12px; box-shadow: 0 8px 18px -9px #17345b55; }
.pro-example figcaption { display: flex; flex-direction: column; flex: 1; padding: clamp(16px, 1.8vw, 25px); }
.pro-example h3 { margin-bottom: 7px; }
.pro-example p { line-height: 1.6; }
.pro-example-caption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 10px; margin-top: auto; padding-top: 18px; }
.pro-example-caption small { font-size: 10px; color: var(--pro-muted); }
.pro-example-caption .pro-enlarge { padding: 4px 0; font-size: 12px; }
.pro-faq .faq-items { max-width: 900px; }
.pro-faq summary { font-size: 14px; }
.pro-faq .faq-item p { color: var(--pro-muted); font-size: 14px; }
.pro-kit { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(24px, 3vw, 40px); background: #edf4fd; border-radius: 28px; }
.pro-kit-art { position: relative; isolation: isolate; width: 100%; max-width: 430px; justify-self: center; aspect-ratio: 1.27; border-radius: 18px; background: linear-gradient(145deg, #e2f1ed, #c3ddd8); }
.pro-kit-art img { position: absolute; display: block; height: auto; }
.pro-kit-poster { width: 44%; top: 9%; left: 13%; transform: rotate(-7deg); box-shadow: 0 10px 18px -7px #17334460; }
.pro-kit-flyer { width: 31%; top: 35%; right: 12%; transform: rotate(9deg); outline: 1px solid #ece9df; box-shadow: 1px 2px #fff, 2px 4px #cdd5d2, 3px 6px #f7f5eb, 4px 9px 13px #17334446; }
.pro-kit p { font-size: 14px; color: var(--pro-muted); }
.pro-kit .button-secondary { margin-top: 10px; }
.professionals-page .site-footer { margin-top: 48px; }

@media (max-width: 1000px) {
  .professionals-page .hero-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .pro-app-figure { padding: 24px 14px 16px; }
  .pro-discussion { gap: 28px; padding: 32px; }
}
@media (max-width: 760px) {
  .professionals-page .section { padding: 40px 22px; }
  .professionals-page .site-main { padding-top: 16px; }
  .professionals-page .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .professionals-page .hero-copy h1 { max-width: 21ch; font-size: clamp(34px, 7vw, 48px); }
  .professionals-page .lead { font-size: 16px; }
  .pro-app-figure { width: 100%; max-width: 480px; justify-self: center; }
  .pro-flow { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pro-steps li { padding-left: 46px; }
  .pro-discussion { grid-template-columns: 1fr; padding: 30px 24px; gap: 24px; }
  .pro-discussion h2 { font-size: 28px; }
  .pro-discussion-action { text-align: left; }
  .pro-everyday .pro-section-heading { grid-template-columns: 1fr; gap: 12px; margin-bottom: 20px; }
  .pro-everyday-grid { grid-template-columns: 1fr; }
  .pro-example-preview img { max-width: 360px; }
  .pro-kit { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .pro-kit-art { max-width: 360px; }
  .professionals-page .site-footer { padding-bottom: 130px; }
  .professionals-page .mobile-install-bar-copy { flex: 1 1 0; }
  .professionals-page .mobile-install-bar-copy strong { font-size: 12px; }
  .professionals-page .mobile-install-bar-copy span { font-size: 10px; margin-top: 3px; color: var(--pro-muted); }
  .professionals-page .mobile-install-bar .button-primary { flex: 0 1 auto; min-width: 0; padding: 12px 16px; min-height: 46px; font-size: 12px; }
}
@media (max-width: 420px) {
  .professionals-page .site-header-inner { gap: 8px; padding: 8px 10px; }
  .professionals-page .brand { gap: 6px; font-size: 16px; }
  .professionals-page .brand-mark { width: 42px; height: 42px; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .professionals-page { scroll-behavior: auto; }
  .professionals-page .button-primary, .professionals-page .button-secondary { transition: none; }
}
