:root {
  color-scheme: light;
  --ink: #142949;
  --body: #405575;
  --primary: #006fbf;
  --deep: #122d51;
  --paper: #f5f8fc;
  --line: #d8e4f1;
  --white: #fff;
  --logo-gold: #f1aa07;
  --logo-orange: #f95e28;
  --logo-green: #28a364;
  --brand-stripe: linear-gradient(90deg, var(--primary) 0 46%, var(--logo-gold) 46% 68%, var(--logo-orange) 68% 84%, var(--logo-green) 84%);
  --wrap: 1170px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.56; }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--primary); text-underline-offset: .18em; }
a:hover { color: #004b84; }
:focus-visible { outline: 3px solid #006fbf; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.038em; }
h1 { max-width: 700px; font-size: clamp(2.7rem, 5.8vw, 5rem); text-wrap: balance; }
h2 { font-size: clamp(1.95rem, 3.4vw, 3.05rem); }
h3 { font-size: 1.28rem; letter-spacing: -.02em; }
p { color: var(--body); }
h1 em { color: var(--primary); font-style: normal; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
.wrap { width: min(calc(100% - 3rem), var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; top: 8px; left: 8px; padding: 9px 12px; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { min-height: 75px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.brand { display: inline-flex; max-width: 175px; padding-block: 6px; }
.brand img { width: 175px; object-fit: contain; }
.header-row nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 23px; }
.header-row nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .91rem; }
.header-row nav a:hover { text-decoration: underline; }
.button { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .68rem 1rem; border-radius: 9px; border: 1px solid transparent; font-size: .93rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.button-primary { background: var(--primary); color: white; }
.button-primary:hover { background: #00578f; color: white; }
.button-secondary { border-color: #abc7e0; background: white; color: var(--ink); }
.button-secondary:hover { background: #e9f4fe; }
.button-light { background: #fff1c4; color: var(--deep); }
.button-light:hover { background: white; }
.contact-band :focus-visible { outline-color: var(--logo-gold); }
.header-sign-in { justify-self: end; }
.hero { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); gap: clamp(1.8rem, 5vw, 4.75rem); align-items: center; padding-block: clamp(3.4rem, 8vw, 7.7rem) clamp(3.15rem, 7vw, 6rem); }
.eyebrow { color: var(--primary); text-transform: uppercase; font-size: .78rem; font-weight: 780; letter-spacing: .11em; margin-bottom: .85rem; }
.hero-summary { max-width: 52ch; font-size: clamp(1.05rem, 1.75vw, 1.26rem); margin-top: 1.2rem; }
.actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.returning { font-size: .92rem; margin-top: 1.18rem; }
.returning a { font-weight: 680; }
.counter-scene { position: relative; overflow: hidden; background: #122d51; color: #f5faff; min-width: 0; padding: clamp(1.1rem, 4vw, 2.65rem); border-radius: 25px; box-shadow: 0 22px 45px -30px #0a315a85; background-image: radial-gradient(circle at 88% 8%, #1788cc85, transparent 45%), linear-gradient(145deg, #122b4c 20%, #08477f 100%); }
.counter-scene::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--brand-stripe); }
.counter-board { border-radius: 17px; background: #fff; color: var(--ink); padding: clamp(.82rem, 2.6vw, 1.35rem); box-shadow: 0 20px 36px #001f4845; }
.board-top, .board-operations > div { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; justify-content: space-between; }
.board-top p { font-size: .79rem; color: #415c7c; font-weight: 680; }
.board-top strong { line-height: 1.2; font-size: clamp(1.16rem, 2.25vw, 1.55rem); }
.board-top span { color: #18547c; background: #e9f5ff; border-radius: 6px; padding: .24rem .46rem; font-size: .65rem; }
.board-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .58rem; margin-block: .9rem .62rem; }
.board-metrics > div { padding: .73rem; background: #e8f4ff; border-radius: 9px; min-width: 0; }
.board-metrics > div + div { background: #e7f5ec; }
.board-metrics small, .board-metrics b { display: block; }
.board-metrics small { color: #355271; line-height: 1.3; }
.board-metrics b { font-size: clamp(1.1rem, 2.5vw, 1.62rem); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.board-operations > div { justify-content: start; border-bottom: 1px solid #e3ebf3; padding: .59rem 0; font-size: .77rem; }
.board-operations > div:last-child { border-bottom: 0; }
.board-operations span { margin-left: auto; color: #435976; }
.status { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.status.ready { background: var(--logo-green); }
.status.expiry { background: var(--logo-gold); }
.status.visit { background: var(--primary); }
.counter-scene figcaption { margin-top: .9rem; color: #e1f0ff; font-size: .83rem; }
.workflow-bar { border-block: 1px solid var(--line); background: #eaf3fc; }
.workflow-bar .wrap { padding-block: .95rem; display: flex; justify-content: space-between; gap: .6rem 1.25rem; flex-wrap: wrap; }
.workflow-bar span { color: #20496f; font-size: .88rem; font-weight: 700; }
.section { padding-block: clamp(2.65rem, 6.2vw, 5.1rem); scroll-margin-top: 1rem; }
.section-heading > p:not(.eyebrow) { margin-top: .7rem; }
.section-heading { max-width: 680px; margin-bottom: 1.6rem; }
.sector-grid { display: grid; grid-template-columns: repeat(3,minmax(0, 1fr)); gap: 1rem; }
.sector-card { display: flex; flex-direction: column; gap: .68rem; min-width: 0; padding: 1.4rem; border: 1px solid var(--line); border-top: 4px solid #006fbf; border-radius: 13px; background: #fff; }
.sector-card.pharmacy { border-top-color: var(--logo-gold); }
.sector-card.clinic { border-top-color: var(--logo-green); }
.sector-chip { width: fit-content; padding: .19rem .48rem; font-size: .75rem; color: #08477e; font-weight: 720; border-radius: 5px; background: #e7f3ff; }
.pharmacy .sector-chip { color: #744400; background: #fff3d3; }
.clinic .sector-chip { color: #1d6746; background: #e9f7ee; }
.sector-card h3 { font-size: 1.45rem; }
.sector-card p, .feature-grid p, .industry-grid p { font-size: .97rem; }
.tick-list { padding-left: 1.13rem; margin: .2rem 0 .4rem; font-size: .9rem; }
.tick-list li { margin-bottom: .3rem; }
.tick-list li::marker { color: #006fbf; }
.text-link { display: inline-block; width: fit-content; color: var(--primary); font-weight: 700; font-size: .92rem; }
.sector-card .text-link { margin-top: auto; padding-top: .35rem; }
.feature-band { background: #fff; border-block: 1px solid var(--line); }
.feature-grid, .industry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.3rem; }
.feature-grid article, .industry-grid article { min-width: 0; padding: 1.05rem 0 1.16rem; border-top: 1px solid var(--line); }
.feature-grid p, .industry-grid p { margin-top: .52rem; }
.restaurant-link { margin-top: .88rem; padding: .87rem 1rem; border-radius: 8px; background: #f0f6fc; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: 1.25rem; }
.faq-grid .text-link { margin-top: 1rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: .76rem 0; }
.faq-list summary { cursor: pointer; color: var(--ink); font-weight: 700; }
.faq-list p { padding: .58rem 0 .22rem 1.1rem; }
.contact-band { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: space-between; background: #122d51; color: #fff; padding: clamp(1.2rem, 4vw, 2.4rem); border-radius: 18px; border-inline-start: 5px solid var(--logo-orange); margin-bottom: clamp(2.65rem,6vw,5rem); }
.contact-band h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.contact-band p { color: #e2eeff; margin-top: .45rem; }
.site-footer { padding: 2.2rem 0 4.45rem; border-top: 1px solid var(--line); background: white; }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(3,minmax(0, 1fr)); gap: 1.1rem 2rem; }
.footer-grid .brand { margin-bottom: .35rem; }
.footer-grid p { font-size: .85rem; max-width: 29ch; margin-bottom: .4rem; }
.footer-grid nav { display: grid; align-content: start; gap: .33rem; font-size: .86rem; }
.footer-grid a { width: fit-content; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: .8rem; margin-top: 1.7rem; color: var(--body); font-size: .82rem; }
.industry-hero { padding-block: clamp(2.7rem, 8vw, 6rem) clamp(2.7rem, 6vw, 4.8rem); }
.industry-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.35rem); }
.breadcrumb { display: inline-block; font-size: .86rem; font-weight: 680; margin-bottom: .8rem; }
.industry-grid h2 { font-size: 1.55rem; }
.industry-start { padding-bottom: 2.3rem; }
.industry-start ol { padding-left: 1.2rem; }
.industry-start li { padding: .28rem .3rem; }
.industry-more { border-top: 1px solid var(--line); display: flex; gap: 1.2rem; flex-wrap: wrap; padding-block: 1.35rem 2.7rem; }
.chat-launch { position: fixed; z-index: 3; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); display: flex; gap: .62rem; align-items: center; text-decoration: none; background: var(--primary); color: white; border: 1px solid #157fcb; box-shadow: 0 10px 24px #123a6550; border-radius: 999px; padding: .72rem .98rem; font-size: .91rem; font-weight: 720; }
.chat-launch:hover { background: #00578f; color: white; }
.chat-mark { position: relative; display: inline-block; width: 1rem; height: .75rem; border: 1.6px solid currentColor; border-radius: 4px; }
.chat-mark::after { content: ""; position: absolute; bottom: -.24rem; left: .1rem; width: .32rem; height: .32rem; border-left: 1.6px solid; transform: skewY(-36deg); }
.chat-dialog { padding: 0; border: 1px solid #a9c6df; border-radius: 14px; width: min(438px, calc(100% - 1.5rem)); height: min(565px, calc(100% - 2rem)); box-shadow: 0 20px 65px #0c234450; color: var(--ink); overflow: hidden; }
.chat-dialog[open] { display: flex; flex-direction: column; }
.chat-dialog::backdrop { background: #10294788; }
.chat-dialog-header { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .75rem 1rem; background: #122d51; color: white; }
.chat-dialog-header h2 { font-size: 1.07rem; letter-spacing: -.02em; }
.icon-close { border: none; border-radius: 5px; background: transparent; color: white; min-width: 38px; min-height: 38px; font-size: 1.48rem; line-height: 1; }
.icon-close:hover, .icon-close:focus-visible { background: #265782; outline-color: #d9edff; }
.chat-dialog iframe { border: none; width: 100%; height: 100%; background: white; min-height: 0; }
@media (max-width: 860px) {
  .header-row { grid-template-columns: 1fr 1fr; gap: 0 .8rem; padding-top: .63rem; }
  .header-row nav { grid-row: 2; grid-column: 1 / -1; justify-content: start; border-top: 1px solid var(--line); padding-block: .57rem; margin-top: .55rem; }
  .hero { gap: 1.6rem; }
  .sector-card { padding: 1rem; }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 2rem); }
  .hero, .sector-grid, .faq-grid, .feature-grid, .industry-grid { grid-template-columns: 1fr; }
  .hero { padding-block: 2.65rem; }
  .hero .counter-scene { position: relative; overflow: hidden; max-width: 500px; }
  .faq-grid .section-heading { margin-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 370px) {
  .header-row nav { gap: 8px 13px; }
  .board-operations span { margin-left: 0; }
  .button { white-space: normal; }
}
