/* Platform overview: make the product story legible before the directory. */
.hero .site-services div:first-child {
  border-color: #a9c6ec;
  background: #f2f7ff;
}

.flow-evidence {
  height: 116px;
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid #dce6f2;
  border-radius: 9px;
  background: #fff;
  color: #17263d;
  font-size: 11px;
}

.flow-evidence strong,
.flow-evidence b { font-weight: 750; }
.flow-evidence small { color: #52647b; font-size: 10px; }
.flow-evidence-service { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 12px; padding: 10px; }
.flow-evidence-service img { width: 76px; height: 94px; border-radius: 5px; object-fit: cover; }
.flow-evidence-service b,
.flow-evidence-service small { display: block; line-height: 1.4; }
.flow-evidence-service small { margin-top: 6px; }
.flow-evidence-slots,
.flow-evidence-record,
.flow-evidence-report { padding: 13px; }
.flow-evidence-slots strong,
.flow-evidence-record strong,
.flow-evidence-report strong { display: block; font-size: 12px; }
.flow-evidence-slots > div { display: flex; gap: 6px; margin: 13px 0 9px; }
.flow-evidence-slots b { flex: 1; padding: 8px 3px; border: 1px solid #dce6f2; border-radius: 5px; text-align: center; font-size: 10px; }
.flow-evidence-slots b.chosen { border-color: #1355b2; background: #1355b2; color: #fff; }
.flow-evidence-record > span { display: flex; justify-content: space-between; gap: 5px; margin-top: 11px; padding-top: 7px; border-top: 1px solid #e8edf4; color: #52647b; }
.flow-evidence-record > span b { color: #17263d; text-align: right; }
.flow-evidence-report > span { display: block; margin-top: 9px; color: #52647b; }
.flow-evidence-report > div { display: flex; gap: 6px; margin-top: 13px; }
.flow-evidence-report > div b { padding: 6px 7px; border-radius: 4px; background: #e9f1fd; color: #0d3f88; font-size: 10px; }
.flow-evidence-report > div b:last-child { background: #1355b2; color: #fff; }

.ui-tile img { display: block; width: 38px; height: 38px; margin-bottom: 10px; border-radius: 6px; object-fit: cover; }
.stock-demo { margin-top: 8px; border-top: 1px solid #e8edf4; }
.stock-demo > div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #e8edf4; color: #52647b; font-size: 11px; }
.stock-demo strong { color: #17263d; }
.stock-demo small { display: block; margin-top: 8px; color: #1355b2; font-size: 10px; font-weight: 750; }

.module-foot { margin-top: auto; padding-top: 17px; border-top: 1px solid #e4eaf2; color: #0d3f88; font-size: 12px; font-weight: 760; }

@media (min-width: 1001px) {
  .hero { padding: 54px 0 66px; }
  .hero-grid { grid-template-columns: 0.94fr 1.06fr; gap: 42px; }
  .hero h1 { max-width: 560px; font-size: clamp(48px, 4.25vw, 60px); line-height: 1.04; }
  .hero-stage { min-height: 475px; }
  .site-frame { width: 91%; }
  .ops-frame { right: -8px; width: 61%; min-height: 244px; padding: 17px; border-color: #cfddec; box-shadow: 0 22px 48px rgba(23, 38, 61, .15); }
  .ops-head strong { font-size: 12px; }
  .ops-columns { grid-template-columns: 45px 1fr; gap: 10px; }
  .ops-main > strong { font-size: 12px; }
  .ops-row, .ops-row b { font-size: 10px; }
  .stage-labels { bottom: -24px; font-size: 11px; font-weight: 700; color: #43536a; }

  .workflow { padding: 65px 0 75px; }
  .workflow .section-head { margin-bottom: 30px; }
  .flow-step { min-height: 337px; padding: 25px 22px 22px; }
  .flow-step h3 { margin: 15px 0 8px; }
  .flow-step p { min-height: 75px; font-size: 13px; line-height: 1.55; }
  .workflow-caption { margin-top: 16px; font-size: 11px; }

  .questions { padding: 76px 0; }
  .questions .section-head { margin-bottom: 31px; }
  .question-panel { min-height: 284px; padding: 31px 45px; gap: 36px; }
  .question-copy h3 { font-size: clamp(28px, 2.75vw, 35px); }
  .question-copy p { font-size: 14px; line-height: 1.6; }
  .ui-window { max-width: 500px; min-height: 217px; }
  .ui-window-head strong { font-size: 12px; }
  .ui-window-head span, .ui-window-body > small { font-size: 10px; }
  .ui-tile { min-height: 128px; }
  .ui-tile strong { font-size: 12px; }
  .ui-tile span, .ui-row, .ui-row strong, .ui-record, .ui-record small { font-size: 10px; }

  .directory { padding: 78px 0 86px; }
  .directory-head { margin-bottom: 29px; }
  .module-grid { gap: 14px; }
  .module-card, .module-card:nth-child(4n+2), .module-card:nth-child(4n+3) { min-height: 228px; padding: 24px 22px 20px; background: #fff; }
  .module-card { border-color: #d9e3ef; box-shadow: 0 5px 15px rgba(23, 38, 61, .035); }
  .module-card::before { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #1355b2; content: ""; }
  .module-card:nth-child(2)::before, .module-card:nth-child(5)::before { background: #c92e73; }
  .module-card h3 { margin: 18px 0 10px; font-size: 20px; }
  .module-card p { min-height: 0; margin-bottom: 15px; font-size: 13px; line-height: 1.48; }
  .module-card:focus-visible { outline: 3px solid #c92e73; outline-offset: 3px; }

  .language { padding: 77px 0; }
  .language-toolbar strong { font-size: 12px; }
  .lang-tab { padding: 9px 12px; font-size: 11px; }
  .language-panel p { font-size: 12px; }
  .language-note { font-size: 12px; }
  .business { padding: 72px 0; }
  .closing.has-cta-art .cta-art-surface { min-height: 300px; }
  .closing.has-cta-art .cta-illustration { bottom: -72px; width: min(45%, 540px); height: 435px; }
}

/* The capability section is a product explorer, not a grid of repeated cards. */
.module-explorer { display: grid; grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr); gap: 28px; align-items: stretch; }
.module-list { display: flex; flex-direction: column; border-top: 1px solid #dbe5f0; }
.module-link { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 18px 11px 20px; border-bottom: 1px solid #dbe5f0; border-left: 3px solid transparent; transition: background .16s, border-color .16s, color .16s; }
.module-link:hover, .module-link.is-active, .module-link:focus-visible { border-left-color: #1355b2; background: #f0f5fd; }
.module-link:focus-visible { outline: 3px solid #c92e73; outline-offset: -3px; }
.module-link-copy { display: grid; gap: 4px; min-width: 0; }
.module-link-copy strong { font-size: 16px; line-height: 1.24; letter-spacing: -.035em; }
.module-link-copy small { color: #60718a; font-size: 11px; line-height: 1.32; }
.module-link-arrow { flex: none; color: #1355b2; font-size: 21px; line-height: 1; transform: translateX(0); transition: transform .16s; }
.module-link:hover .module-link-arrow, .module-link:focus-visible .module-link-arrow { transform: translate(2px, -2px); }
.module-showcase { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #d7e3f2; border-radius: 16px; background: #edf4fd; }
.showcase-top { min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 25px; border-bottom: 1px solid #d7e3f2; background: #e8f1fd; }
.showcase-top > div { display: grid; gap: 6px; }
.showcase-top span { color: #0d3f88; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.showcase-top strong { font-size: 19px; letter-spacing: -.04em; }
.showcase-top > span { flex: none; color: #52647b; font-size: 11px; }
.showcase-canvas { flex: 1; display: grid; place-items: center; padding: 28px 26px; }
.showcase-preview { width: 100%; }
.showcase-preview[hidden] { display: none; }
.preview-window { width: 100%; min-height: 390px; overflow: hidden; border: 1px solid #d9e4f0; border-radius: 10px; background: #fff; box-shadow: 0 18px 34px rgba(23,38,61,.09); }
.preview-window-bar { min-height: 49px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 17px; border-bottom: 1px solid #e8edf4; font-size: 11px; }
.preview-window-bar span:first-child { color: #17263d; font-size: 15px; font-weight: 800; letter-spacing: -.04em; }
.preview-window-bar span:nth-child(2) { color: #60718a; }
.preview-window-bar b, .preview-store-hero b { padding: 8px 11px; border-radius: 5px; background: #1355b2; color: #fff; font-size: 10px; }
.preview-store-intro { padding: 24px 23px 16px; }
.preview-store-intro small, .preview-report small { display: block; margin-bottom: 8px; color: #0d3f88; font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.preview-store-intro strong { display: block; font-size: 24px; line-height: 1.08; letter-spacing: -.05em; }
.preview-store-intro p { margin: 8px 0 0; color: #60718a; font-size: 11px; }
.preview-store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; padding: 0 23px 23px; }
.preview-store-item { overflow: hidden; border: 1px solid #e0e8f1; border-radius: 7px; }
.preview-store-item img { display: block; width: 100%; height: 126px; object-fit: cover; }
.preview-store-item > div { display: grid; gap: 5px; padding: 10px 12px 12px; }
.preview-store-item strong { font-size: 12px; }
.preview-store-item span { color: #60718a; font-size: 10px; }
.preview-store-item b { margin-top: 4px; color: #0d3f88; font-size: 10px; }
.preview-app-head { min-height: 91px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 20px 24px; border-bottom: 1px solid #e5ebf3; }
.preview-app-head > div { display: grid; gap: 7px; }
.preview-app-head small, .preview-record-profile small, .preview-package > span { color: #1355b2; font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.preview-app-head strong { font-size: 23px; line-height: 1.1; letter-spacing: -.05em; }
.preview-app-head > b { padding: 7px 10px; border-radius: 5px; background: #eaf2fc; color: #0d3f88; font-size: 10px; white-space: nowrap; }
.preview-calendar { padding: 23px 24px; }
.preview-calendar-days { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin-bottom: 21px; }
.preview-calendar-days span { padding: 12px 5px; border: 1px solid #e0e8f1; border-radius: 6px; color: #60718a; font-size: 10px; font-weight: 700; text-align: center; }
.preview-calendar-days .selected { border-color: #1355b2; background: #eaf2fc; color: #0d3f88; }
.preview-appointment { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 12px; min-height: 56px; padding: 10px 12px; border-top: 1px solid #e8edf4; }
.preview-appointment:first-of-type { border-top: 0; }
.preview-appointment time { color: #1355b2; font-size: 12px; font-weight: 800; }
.preview-appointment strong, .preview-pos-item strong { display: block; font-size: 12px; }
.preview-appointment small, .preview-pos-item small { display: block; margin-top: 4px; color: #718198; font-size: 10px; }
.preview-appointment > b { padding: 6px 8px; border-radius: 4px; background: #eaf2fc; color: #0d3f88; font-size: 10px; }
.preview-record-profile { display: flex; align-items: center; gap: 17px; margin: 24px; padding: 18px; border-radius: 8px; background: #f6f9fd; }
.preview-pet-avatar { width: 67px; height: 67px; display: grid; place-items: center; border-radius: 50%; background: #fbe7ef; color: #c92e73; font-size: 28px; font-weight: 800; }
.preview-record-profile strong, .preview-record-profile span { display: block; }
.preview-record-profile strong { margin: 4px 0; font-size: 22px; }
.preview-record-profile span { color: #60718a; font-size: 11px; }
.preview-record-lines { margin: 0 24px 22px; }
.preview-record-lines > div { display: flex; justify-content: space-between; gap: 10px; padding: 13px 1px; border-bottom: 1px solid #e8edf4; color: #60718a; font-size: 11px; }
.preview-record-lines b { color: #17263d; font-size: 11px; text-align: right; }
.preview-pos-item { display: flex; align-items: center; gap: 15px; margin: 24px; padding: 13px; border: 1px solid #e0e8f1; border-radius: 8px; }
.preview-pos-item img { width: 61px; height: 61px; border-radius: 5px; object-fit: cover; }
.preview-pos-item > div { flex: 1; }
.preview-pos-item > b { color: #0d3f88; font-size: 11px; }
.preview-action-line { margin: 2px 24px 20px; color: #0d3f88; font-size: 11px; font-weight: 750; }
.preview-package { margin: 24px; padding: 25px; border-radius: 10px; background: #f7f9fc; }
.preview-package > strong { display: block; max-width: 390px; margin: 11px 0; font-size: 27px; line-height: 1.1; letter-spacing: -.05em; }
.preview-package p { max-width: 380px; margin: 0 0 21px; color: #60718a; font-size: 12px; line-height: 1.5; }
.preview-package > div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #e1e8f1; color: #60718a; font-size: 11px; }
.preview-package > div b { color: #17263d; }
.preview-invoice { margin: 24px; padding: 22px 25px; border: 1px solid #e0e8f1; border-radius: 8px; }
.preview-invoice > div { display: flex; justify-content: space-between; gap: 15px; padding: 14px 0; border-bottom: 1px solid #e8edf4; color: #60718a; font-size: 11px; }
.preview-invoice strong { color: #17263d; font-size: 12px; text-align: right; }
.preview-invoice .preview-invoice-total { margin-top: 14px; padding: 17px 0 0; border-top: 2px solid #17263d; border-bottom: 0; }
.preview-invoice-total b { color: #0d3f88; font-size: 12px; }
.preview-report { display: grid; grid-template-columns: .9fr 1fr; gap: 22px; padding: 24px; }
.preview-report img { width: 100%; height: 244px; border-radius: 7px; object-fit: cover; }
.preview-report > div { align-self: center; }
.preview-report strong { display: block; font-size: 27px; line-height: 1.08; letter-spacing: -.05em; }
.preview-report p { margin: 12px 0 18px; color: #60718a; font-size: 11px; line-height: 1.55; }
.preview-report > div > div { display: flex; flex-wrap: wrap; gap: 7px; }
.preview-report > div > div > * { padding: 8px; border-radius: 4px; background: #eaf2fc; color: #0d3f88; font-size: 10px; }
.preview-report > div > div b { background: #1355b2; color: #fff; }
.preview-chat { padding: 26px 24px; }
.preview-chat-user { width: fit-content; max-width: 80%; margin-left: auto; padding: 14px 17px; border-radius: 12px 12px 3px 12px; background: #eaf2fc; color: #17263d; font-size: 12px; }
.preview-chat-answer { max-width: 88%; margin-top: 19px; padding: 17px; border: 1px solid #dfe8f2; border-radius: 3px 12px 12px 12px; }
.preview-chat-answer strong { color: #0d3f88; font-size: 12px; }
.preview-chat-answer p { margin: 10px 0 13px; color: #43536a; font-size: 12px; line-height: 1.5; }
.preview-chat-answer span { color: #718198; font-size: 10px; }
.preview-chat-input { display: flex; justify-content: space-between; align-items: center; margin-top: 25px; padding: 11px 13px; border: 1px solid #dfe8f2; border-radius: 7px; color: #718198; font-size: 11px; }
.preview-chat-input b { color: #1355b2; font-size: 15px; }
.showcase-note { margin: 0; padding: 0 26px 22px; color: #718198; font-size: 10px; }

/* Two columns give the business photos room to show the kind of work. */
.business-grid { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 32px; }
.business-link { min-height: 146px; display: grid; grid-template-columns: 144px minmax(0, 1fr) 18px; align-items: center; gap: 18px; padding: 16px 2px; transition: background .16s; }
.business-link:hover { background: rgba(255,255,255,.62); }
.business-link:focus-visible { outline: 3px solid #c92e73; outline-offset: -3px; }
.business-link img { display: block; width: 144px; height: 112px; border-radius: 7px; object-fit: cover; }
.business-link-copy { min-width: 0; display: grid; gap: 6px; }
.business-link-copy strong { color: #17263d; font-size: 16px; line-height: 1.28; letter-spacing: -.02em; }
.business-link-copy small { color: #60718a; font-size: 12px; font-weight: 450; line-height: 1.4; }
.business-link:hover .business-link-copy strong { color: #0d3f88; }
.business-link .business-link-arrow { color: #1355b2; font-size: 19px; transition: transform .16s; }
.business-link:hover .business-link-arrow { transform: translateX(3px); }

@media (max-width: 1000px) {
  .module-explorer { grid-template-columns: 1fr; }
  .module-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .module-link { border-right: 1px solid #dbe5f0; }
}
@media (max-width: 600px) {
  .module-list { grid-template-columns: 1fr; }
  .module-showcase { display: none; }
  .module-link-copy strong { font-size: 15px; }
  .business-grid { grid-template-columns: 1fr; }
  .business-link { grid-template-columns: 90px minmax(0,1fr) 18px; gap: 12px; }
  .business-link img { width: 90px; height: 74px; }
}
@media (max-width: 460px) {
  .hero-stage { display: block; min-height: 0; padding: 20px 0 0; }
  .site-frame { width: 96%; }
  .ops-frame {
    position: relative;
    right: auto;
    bottom: auto;
    width: 90%;
    min-height: 0;
    margin: -20px 0 0 auto;
    padding: 13px;
  }
  .ops-head strong { font-size: 11px; }
  .ops-head span { font-size: 8px; }
  .ops-columns { grid-template-columns: 42px 1fr; gap: 9px; }
  .ops-main > strong { font-size: 11px; }
  .ops-row, .ops-row b { font-size: 9px; }
  .stage-labels { position: relative; right: auto; bottom: auto; margin-top: 10px; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  .module-link, .module-link-arrow, .business-link, .business-link .business-link-arrow { transition: none; }
}
