/* POS Spark website. Layout: white pages with navy bands (hero, how-it-fits, contact), brand blue/green from the app icons. */
:root {
  --navy: #0A1A33;
  --navy-2: #13284A;
  --blue: #168BFF;
  --blue-ink: #0B6FD6;
  --green: #22D86B;
  --green-ink: #10893F;
  --ink: #0F1E36;
  --muted: #52617A;
  --line: #DCE4EF;
  --wash: #F2F6FB;
  --paper: #FFFFFF;
  --on-navy: #E8EEF7;
  --on-navy-muted: #9FB0C8;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1120px;
  --radius: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--navy); }

h1, h2, h3 { line-height: 1.15; text-wrap: balance; margin: 0; color: inherit; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--blue-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-ink); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { display: grid; gap: 14px; margin-bottom: 48px; max-width: 760px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--navy); }
.btn-primary:hover { background: #3BE57F; }
.btn-ghost { border-color: rgba(232, 238, 247, .35); color: var(--on-navy); }
.btn-ghost:hover { border-color: var(--on-navy); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-ink); }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--navy); color: var(--on-navy);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-navy); text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
.brand-word { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1; }
.brand-word b { color: var(--blue); font-weight: 800; }
.brand-word i { color: var(--green); font-style: normal; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--on-navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: #fff; }
.nav .btn { padding: 10px 18px; font-size: .92rem; color: var(--navy); }
@media (max-width: 820px) { .nav > a:not(.btn) { display: none; } .nav { gap: 14px; } }

/* Hero */
.hero { background: var(--navy); color: var(--on-navy); padding-block: clamp(56px, 8vw, 96px) clamp(64px, 9vw, 110px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .lede { color: var(--on-navy-muted); margin-top: 22px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; padding: 0; list-style: none; font-size: .92rem; color: var(--on-navy-muted); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--green); transform: rotate(45deg); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* Hero visual: kiosk screen + queue ticket */
.stage { position: relative; display: grid; justify-items: center; }
.kiosk {
  width: min(100%, 360px); aspect-ratio: 9 / 14; max-width: 100%;
  background: #fff; color: var(--ink); border-radius: 22px; padding: 22px;
  border: 10px solid #1E3558; box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px;
}
.kiosk-top { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--muted); font-weight: 600; }
.kiosk-top .brand-word { font-size: .95rem; color: var(--ink); }
.kiosk h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.scan-box {
  border: 2px dashed #B9C8DC; border-radius: 16px; display: grid; place-items: center; gap: 10px; padding: 14px;
  background: var(--wash); position: relative; overflow: hidden;
}
.scan-box .qr { width: 44%; max-width: 128px; aspect-ratio: 1; }
.scan-box small { color: var(--muted); font-weight: 600; font-size: .78rem; text-align: center; }
.scan-line { position: absolute; left: 8%; right: 8%; height: 3px; background: var(--green); box-shadow: 0 0 14px var(--green); top: 30%; animation: scan 2.8s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 22%; } 50% { top: 72%; } }
.kiosk-langs { display: flex; flex-wrap: wrap; gap: 6px; }
.kiosk-langs span { font-size: .72rem; font-weight: 700; padding: 5px 9px; border-radius: 999px; background: var(--wash); color: var(--muted); }
.kiosk-langs span.on { background: var(--navy); color: #fff; }

.ticket {
  position: absolute; right: -24px; bottom: -36px; width: 230px; max-width: 70%;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35); font-size: .82rem; display: grid; gap: 6px;
}
.ticket-head { display: flex; justify-content: space-between; font-weight: 700; color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.ticket-row { display: flex; justify-content: space-between; gap: 10px; font-variant-numeric: tabular-nums; }
.ticket-row strong { font-weight: 700; }
.pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.pill-green { background: #DDF8E8; color: var(--green-ink); }
.pill-blue { background: #E0EFFF; color: var(--blue-ink); }
.pill-grey { background: var(--wash); color: var(--muted); }
@media (max-width: 520px) { .ticket { position: relative; right: auto; bottom: auto; margin-top: -40px; max-width: 86%; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 3px solid var(--line); }
.steps li::before { counter-increment: step; content: counter(step); font: 800 2.4rem/1 var(--font); color: var(--blue); }
.steps li:nth-child(4) { border-top-color: var(--green); }
.steps p { color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Products */
.products { background: var(--wash); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.product {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 12px; min-width: 0;
}
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-icon { width: 52px; height: 52px; border-radius: 13px; background: var(--navy); display: grid; place-items: center; flex: none; }
.app-icon svg { width: 30px; height: 30px; }
.product p { color: var(--muted); font-size: .97rem; }
.product ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .92rem; }
.product li { display: flex; gap: 8px; }
.product li::before { content: "✓"; color: var(--green-ink); font-weight: 800; }

/* How it fits */
.fits { background: var(--navy); color: var(--on-navy); }
.fits .eyebrow { color: var(--green); }
.fits h2 { color: #fff; }
.fits .lede { color: var(--on-navy-muted); }
.map { overflow-x: auto; }
.map-grid { display: grid; grid-template-columns: repeat(3, minmax(220px, 1fr)); gap: 18px; min-width: 700px; }
.zone { border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; align-content: start; }
.zone-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-muted); }
.zone.cloud { border-style: dashed; }
.node { background: var(--navy-2); border-radius: 10px; padding: 12px 14px; display: grid; gap: 2px; }
.node strong { color: #fff; font-size: .98rem; }
.node span { color: var(--on-navy-muted); font-size: .86rem; }
.node.hub { background: var(--blue); }
.node.hub span { color: #E3F0FF; }
.fits-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.fits-notes h3 { color: #fff; margin-bottom: 6px; }
.fits-notes p { color: var(--on-navy-muted); font-size: .96rem; }
@media (max-width: 820px) { .fits-notes { grid-template-columns: minmax(0, 1fr); } }

/* Pricing */
.price-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 14px; align-content: start; position: relative; min-width: 0; }
.price-card.featured { border: 2px solid var(--blue); }
.badge { position: absolute; top: -13px; right: 24px; background: var(--blue); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price-label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.price { font-size: 2.9rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-sub { color: var(--muted); font-size: .95rem; }
.price-card hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }
.price-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.price-card li { display: flex; gap: 8px; }
.price-card li::before { content: "✓"; color: var(--green-ink); font-weight: 800; }
@media (max-width: 760px) { .price-options { grid-template-columns: minmax(0, 1fr); } }

.price-block { margin-top: 48px; display: grid; gap: 16px; }
.price-block h3 { font-size: 1.3rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--wash); font-weight: 700; }
td.num, th.num { text-align: right; white-space: nowrap; }
td small { display: block; color: var(--muted); }
tr.best td { background: #F1F8FF; }
.save { color: var(--green-ink); font-weight: 700; }

.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.offer { background: var(--wash); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 6px; }
.offer p { color: var(--muted); font-size: .96rem; }
@media (max-width: 760px) { .offers { grid-template-columns: minmax(0, 1fr); } }
.fine { color: var(--muted); font-size: .85rem; margin-top: 22px; max-width: 80ch; }

/* Contact */
.contact { background: var(--navy); color: var(--on-navy); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.contact h2 { color: #fff; }
.contact .eyebrow { color: var(--green); }
.contact .lede { color: var(--on-navy-muted); margin-top: 16px; }
.direct { display: grid; gap: 14px; margin-top: 30px; }
.direct-row { display: grid; gap: 2px; }
.direct-row span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy-muted); font-weight: 700; }
.direct-row a, .direct-row strong { color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; user-select: all; }
form.demo { background: #fff; color: var(--ink); border-radius: 18px; padding: 30px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { font-weight: 700; font-size: .9rem; }
input, select, textarea {
  font: 500 1rem/1.4 var(--font); color: var(--ink); background: #fff;
  border: 1.5px solid #C6D3E4; border-radius: 10px; padding: 11px 13px; width: 100%;
}
textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-done { background: #DDF8E8; color: var(--green-ink); border-radius: 10px; padding: 12px 14px; font-weight: 600; font-size: .95rem; }
@media (max-width: 900px) { .contact .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .field-row { grid-template-columns: minmax(0, 1fr); } form.demo { padding: 22px; } }

/* Footer */
.site-footer { background: #071326; color: var(--on-navy-muted); padding-block: 40px; font-size: .88rem; }
.site-footer .wrap { display: grid; gap: 18px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-links a { color: var(--on-navy); text-decoration: none; font-weight: 600; }
.site-footer p { max-width: 90ch; }

/* Privacy page */
.doc-hero { background: var(--navy); color: #fff; padding-block: 56px 48px; }
.doc-hero p { color: var(--on-navy-muted); margin-top: 12px; }
.doc { padding-block: 56px 96px; }
.doc .wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); display: grid; gap: 8px; font-size: .9rem; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--blue-ink); }
.prose { max-width: 72ch; display: grid; gap: 16px; }
.prose h2 { font-size: 1.45rem; margin-top: 28px; scroll-margin-top: 90px; }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.prose .callout { background: var(--wash); border-radius: 12px; padding: 18px 20px; }
@media (max-width: 860px) { .doc .wrap { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } }

.more { font-weight: 700; text-decoration: none; font-size: .95rem; margin-top: 4px; }
.more:hover { text-decoration: underline; }

/* Product pages */
.p-hero { background: var(--navy); color: var(--on-navy); padding-block: clamp(48px, 7vw, 84px); }
.p-hero .wrap { display: grid; gap: 18px; }
.p-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 20ch; }
.p-hero .lede { color: var(--on-navy-muted); }
.p-hero .crumbs { font-size: .9rem; color: var(--on-navy-muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.p-hero .crumbs a { color: var(--on-navy); text-decoration: none; font-weight: 600; }
.p-hero-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.p-hero .app-icon { width: 60px; height: 60px; border: 1px solid rgba(255,255,255,.14); }
.examples { padding-block: clamp(48px, 7vw, 80px) 0; }
.example-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.example-grid.two { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .example-grid.two { grid-template-columns: minmax(0, 1fr); } }
figure { margin: 0; display: grid; gap: 10px; min-width: 0; }
figcaption { font-size: .9rem; color: var(--muted); }
.shot { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 44px rgba(10, 26, 51, .14); display: block; width: 100%; height: auto; max-width: 100%; background: #fff; }
.shot.phone { max-width: 320px; justify-self: center; border-radius: 26px; border: 8px solid #1E3558; }
.example-tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 34px; }
.feature-grid div { display: grid; gap: 6px; align-content: start; padding-top: 16px; border-top: 2px solid var(--line); }
.feature-grid p { color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } }
.p-price { background: var(--wash); }
.p-price .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .p-price .wrap { grid-template-columns: minmax(0, 1fr); } }
.p-price .table-wrap { background: #fff; }
.p-price ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.p-price li { display: flex; gap: 8px; }
.p-price li::before { content: "✓"; color: var(--green-ink); font-weight: 800; }
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; text-decoration: none; font-weight: 600; color: var(--ink); font-size: .93rem; }
.related a:hover { border-color: var(--blue); color: var(--blue-ink); }
.nav-products { position: relative; }

/* Mock screens (examples drawn in HTML) */
.mock { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 44px rgba(10, 26, 51, .14); background: #fff; overflow: hidden; font-size: .9rem; min-width: 0; }
.mock-bar { background: var(--navy); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; font-weight: 700; font-size: .85rem; flex-wrap: wrap; }
.mock-bar .tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.mock-bar .tabs span { padding: 5px 10px; border-radius: 8px; color: var(--on-navy-muted); font-weight: 600; }
.mock-bar .tabs span.on { background: rgba(255,255,255,.12); color: #fff; }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mock-scroll { overflow-x: auto; }
.mock table { font-size: .88rem; min-width: 560px; }
.mock th, .mock td { padding: 10px 12px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 4px; }
.tile b { font-size: 1.7rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tile span { color: var(--muted); font-size: .82rem; }
@media (max-width: 520px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
.bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: end; height: 150px; padding-top: 10px; border-bottom: 1px solid var(--line); }
.bars div { background: var(--blue); border-radius: 6px 6px 0 0; position: relative; }
.bars div:last-child { background: var(--green); }
.bars div span { position: absolute; top: -20px; left: 0; right: 0; text-align: center; font-size: .74rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar-labels { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; text-align: center; font-size: .78rem; color: var(--muted); }
.kiosk-mock { max-width: 420px; justify-self: center; border: 10px solid #1E3558; border-radius: 22px; padding: 22px; display: grid; gap: 14px; background: #F4F8FD; }
.kiosk-mock h3 { font-size: 1.5rem; font-weight: 800; }
.k-big { background: var(--blue); color: #fff; border-radius: 16px; padding: 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.k-big b { font-size: 1.15rem; }
.k-big small { display: block; opacity: .85; font-size: .78rem; }
.k-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.k-tiles div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 2px; }
.k-tiles b { font-size: .92rem; }
.k-tiles small { color: var(--muted); font-size: .74rem; }
.k-foot { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted); gap: 8px; flex-wrap: wrap; }
.docket { max-width: 300px; justify-self: center; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 44px rgba(10,26,51,.14); padding: 22px 20px; font-family: var(--mono); font-size: .82rem; display: grid; gap: 8px; text-align: center; border-radius: 4px; }
.docket .num { font-size: 2.6rem; font-weight: 800; font-family: var(--font); letter-spacing: -0.02em; }
.docket hr { border: 0; border-top: 1px dashed #9AA8BC; width: 100%; margin: 4px 0; }
.docket .row { display: flex; justify-content: space-between; text-align: left; }
.phone-mock { max-width: 300px; justify-self: center; border: 9px solid #1E3558; border-radius: 34px; background: #F4F8FD; padding: 18px 14px; display: grid; gap: 12px; }
.phone-mock .ph-head { font-weight: 800; font-size: 1.15rem; }
.ph-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px; }
.ph-card small { color: var(--muted); font-size: .76rem; }
.ph-card.blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.ph-card.blue small { color: #E3F0FF; }
.ph-barcode { height: 34px; background: repeating-linear-gradient(90deg, #0A1A33 0 2px, #fff 2px 4px, #0A1A33 4px 5px, #fff 5px 8px); border-radius: 4px; }
.status-list { display: grid; gap: 8px; }
.status-list div { display: flex; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; align-items: center; flex-wrap: wrap; }
.example-note { font-size: .82rem; color: var(--muted); }

/* ---------- Animated examples ---------- */
.stack { display: grid; }
.stack > .scr { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; display: grid; gap: 14px; align-content: start; }
.stack > .scr.on { opacity: 1; visibility: visible; }
.tap { outline: 3px solid var(--green); outline-offset: 2px; transform: scale(.98); transition: transform .2s; }
.k-scan { border: 2px dashed #B9C8DC; border-radius: 16px; background: #fff; display: grid; place-items: center; gap: 10px; padding: 18px; position: relative; overflow: hidden; }
.k-scan .qr { width: 110px; height: 110px; }
.k-row { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }
.k-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.k-choice span { border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 12px; text-align: center; font-weight: 700; font-size: .9rem; }
.k-done { background: #DDF8E8; color: var(--green-ink); border-radius: 16px; padding: 18px; display: grid; gap: 4px; text-align: center; }
.k-done b { font-size: 2.4rem; color: var(--ink); line-height: 1.1; }
.kiosk-pair { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; }
@media (max-width: 760px) { .kiosk-pair { grid-template-columns: minmax(0, 1fr); } }
.docket { transition: transform .6s ease, opacity .6s ease; }
.docket.out { transform: translateY(14px); opacity: .25; }

/* TV */
.tv { background: #05080F; border: 12px solid #1B1F27; border-radius: 16px; aspect-ratio: 16 / 9; max-width: 100%; display: grid; grid-template-columns: 64% 36%; overflow: hidden; position: relative; box-shadow: 0 24px 50px rgba(10,26,51,.25); container-type: inline-size; }
.tv-cat { display: grid; place-items: center; padding: 4%; perspective: 1600px; position: relative; }
.book { position: relative; width: 100%; aspect-ratio: 1.42; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.page { background: #FBF9F4; padding: 6% 6%; display: grid; grid-template-rows: auto auto 1fr; gap: 4%; overflow: hidden; min-width: 0; }
.page.left { border-right: 1px solid #DDD6C8; }
.page h4 { margin: 0; font-size: 2.1cqw; color: #1A2433; }
.page small { font-size: 1cqw; color: #8A93A1; letter-spacing: .1em; text-transform: uppercase; }
.page .items { display: grid; grid-template-columns: 1fr 1fr; gap: 5%; }
.page .item { border-radius: 6px; padding: 8% 8% 6%; display: grid; align-content: end; gap: 2px; position: relative; min-height: 0; }
.page .item i { font-style: normal; font-size: .95cqw; color: #3A4350; }
.page .item b { font-size: 1.5cqw; color: #121A26; }
.page .item em { position: absolute; top: 6%; right: 6%; font-style: normal; background: #E5323B; color: #fff; font-size: .8cqw; font-weight: 800; padding: 1px 5px; border-radius: 999px; }
.leaf { position: absolute; top: 0; bottom: 0; left: 50%; width: 50%; transform-origin: left center; transform-style: preserve-3d; transition: transform 1.1s cubic-bezier(.4,.1,.2,1); }
.leaf .page { position: absolute; inset: 0; backface-visibility: hidden; }
.leaf .page.back { transform: rotateY(180deg); }
.leaf.turn { transform: rotateY(-180deg); }
.tv-q { background: #0B1220; color: #fff; padding: 7% 7%; display: grid; align-content: start; gap: 4cqw; font-size: 1.5cqw; }
.tv-q .lbl { font-size: 1.05cqw; letter-spacing: .14em; text-transform: uppercase; color: #8A97AD; font-weight: 700; }
.tv-now { background: #13203A; border-radius: 1cqw; padding: 1.6cqw 2cqw; display: grid; gap: .3cqw; transition: background .4s; }
.tv-now b { font-size: 3.4cqw; line-height: 1.1; }
.tv-now span { color: var(--green); font-weight: 700; font-size: 1.4cqw; }
.tv-now.fresh { background: #1E4D2F; }
.tv-list { display: grid; gap: 1cqw; }
.tv-list div { display: flex; align-items: center; gap: 1.2cqw; font-weight: 700; font-size: 2cqw; border-bottom: 1px solid #1C2840; padding-bottom: 1cqw; transition: opacity .4s, transform .4s; }
.tv-list div span { margin-left: auto; color: #8A97AD; font-weight: 500; font-size: 1.5cqw; }
.tv-list div i { font-style: normal; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: var(--blue); display: grid; place-items: center; font-size: 1.4cqw; }
.tv-call { position: absolute; inset: 0 36% 0 0; display: grid; place-items: center; background: rgba(5,8,15,.55); opacity: 0; transition: opacity .4s; pointer-events: none; }
.tv-call div { background: var(--green); color: #05230F; border-radius: 2cqw; padding: 3cqw 5cqw; text-align: center; transform: scale(.9); transition: transform .4s; }
.tv-call small { font-size: 1.4cqw; font-weight: 800; letter-spacing: .14em; }
.tv-call b { display: block; font-size: 7cqw; line-height: 1.05; }
.tv-call span { font-size: 2.2cqw; font-weight: 700; }
.tv.calling .tv-call { opacity: 1; }
.tv.calling .tv-call div { transform: scale(1); }

/* Console baskets */
.basket { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.basket-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; background: var(--wash); flex-wrap: wrap; }
.basket-head b { font-size: 1rem; }
.basket-head small { color: var(--muted); display: block; font-size: .8rem; }
.script { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px 10px 30px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.script span small { color: var(--muted); display: block; font-size: .78rem; }
.dbtn { font: 700 .82rem/1 var(--font); border-radius: 8px; padding: 8px 12px; border: 0; background: var(--blue); color: #fff; transition: background .3s; white-space: nowrap; }
.dbtn.sent { background: #DDF8E8; color: var(--green-ink); }
.toast { display: flex; justify-content: space-between; gap: 10px; align-items: center; background: var(--navy); color: #fff; border-radius: 10px; padding: 10px 14px; font-size: .86rem; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; flex-wrap: wrap; }
.toast.show { opacity: 1; transform: none; }
.toast u { color: var(--green); text-decoration: none; font-weight: 700; }
.progress { height: 6px; border-radius: 3px; background: #E3EAF3; overflow: hidden; width: 120px; }
.progress div { height: 100%; background: var(--green); width: 0; transition: width .5s; }

/* Fob */
.fob-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 28px; align-items: center; }
@media (max-width: 760px) { .fob-stage { grid-template-columns: minmax(0, 1fr); } }
.reader { justify-self: center; width: 200px; height: 200px; border-radius: 28px; background: var(--navy); position: relative; display: grid; place-items: center; }
.reader::after { content: "Tap here"; position: absolute; bottom: 14px; color: var(--on-navy-muted); font-size: .8rem; font-weight: 700; }
.ring { position: absolute; width: 70px; height: 70px; border-radius: 50%; border: 3px solid var(--green); opacity: 0; }
.reader.ping .ring { animation: ping 1s ease-out; }
.reader.ping .ring.r2 { animation-delay: .25s; }
@keyframes ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
.fob { width: 74px; height: 92px; position: absolute; transition: transform .7s cubic-bezier(.3,.2,.2,1); transform: translate(70px, 80px) rotate(14deg); }
.reader.ping .fob, .fob.near { transform: translate(0, 0) rotate(0); }

/* Phones (patient app + bookings) */
.phones { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; align-items: flex-start; }
.phone { width: 300px; max-width: 100%; border: 9px solid #111827; border-radius: 40px; background: #F2F7FA; overflow: hidden; position: relative; box-shadow: 0 24px 50px rgba(10,26,51,.2); font-size: 14px; color: #16202A; aspect-ratio: 390 / 820; display: flex; flex-direction: column; }
.phone-in { flex: 1; display: flex; flex-direction: column; gap: 11px; padding: 34px 15px 10px; min-height: 0; overflow: hidden; }
.ph-top { display: flex; justify-content: space-between; align-items: center; }
.ph-logo { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; }
.ph-logo svg { width: 24px; height: 24px; }
.ph-bell { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.ph-h { font-size: 19px; font-weight: 800; letter-spacing: -.3px; margin: 0; }
.ph-cardx { border-radius: 18px; background: var(--navy); color: #fff; padding: 12px; display: grid; gap: 9px; box-shadow: 0 10px 22px rgba(10,26,51,.25); }
.ph-cardx .row { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.ph-cardx .badge2 { background: var(--green); color: var(--navy); font-weight: 800; padding: 3px 8px; border-radius: 999px; font-size: 11px; }
.barcode { background: #fff; border-radius: 10px; padding: 10px 10px 6px; display: grid; justify-items: center; gap: 4px; color: #16202A; font-size: 11px; letter-spacing: 2px; font-weight: 600; }
.barcode i { display: block; width: 100%; height: 42px; background: repeating-linear-gradient(90deg, #16202A 0 3px, transparent 3px 5px, #16202A 5px 6px, transparent 6px 9px, #16202A 9px 11px, transparent 11px 12px, #16202A 12px 13px, transparent 13px 17px); }
.ph-two { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.ph-tile { background: #fff; border-radius: 14px; padding: 10px; display: grid; gap: 2px; }
.ph-tile small { font-size: 10px; font-weight: 700; color: #55616C; text-transform: uppercase; letter-spacing: .6px; }
.ph-tile b { font-size: 21px; font-weight: 800; color: var(--blue-ink); font-variant-numeric: tabular-nums; }
.ph-tile.g { background: var(--green); }
.ph-tile.g b, .ph-tile.g small { color: var(--navy); }
.ph-bar { height: 5px; border-radius: 3px; background: #E3EDF3; overflow: hidden; } .ph-bar div { height: 100%; width: 62%; background: var(--blue); }
.ph-cta { display: flex; align-items: center; gap: 10px; border-radius: 14px; background: var(--blue); color: #fff; padding: 11px 13px; }
.ph-cta b { display: block; font-size: 15px; } .ph-cta small { font-size: 11px; opacity: .9; }
.ph-cta.alt { background: #fff; color: #16202A; border: 1px solid #DCE6EC; }
.ph-nav { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid #DCE6EC; padding: 7px 4px 16px; font-size: 9.5px; font-weight: 600; color: #55616C; text-align: center; }
.ph-nav span { display: grid; justify-items: center; gap: 2px; } .ph-nav span.on { color: var(--blue-ink); font-weight: 800; }
.ph-nav svg { width: 19px; height: 19px; }
.ph-step { background: #fff; border-radius: 14px; padding: 12px; display: grid; gap: 6px; }
.ph-steps { display: grid; gap: 8px; }
.ph-steps div { display: flex; gap: 10px; align-items: center; font-weight: 600; color: #8A96A3; transition: color .3s; }
.ph-steps div i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #C9D4DE; display: grid; place-items: center; font-style: normal; font-size: 12px; transition: all .3s; flex: none; }
.ph-steps div.done { color: #16202A; } .ph-steps div.done i { background: var(--green); border-color: var(--green); color: var(--navy); }
.ph-big { text-align: center; display: grid; gap: 6px; padding: 10px 0; }
.ph-big b { font-size: 22px; }
.wallet-btns { display: grid; gap: 8px; justify-items: center; }
.wallet-btns img { height: 40px; width: auto; transition: transform .2s; }
.wallet-btns img.tap { outline: 3px solid var(--green); border-radius: 12px; }
.pass { position: absolute; left: 10px; right: 10px; bottom: -70%; background: #fff; border-radius: 16px; box-shadow: 0 -10px 30px rgba(0,0,0,.25); padding: 14px; display: grid; gap: 8px; transition: bottom .7s cubic-bezier(.3,.2,.2,1); }
.pass.up { bottom: 12px; }
.pass .pass-top { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.pass .pass-top svg { width: 22px; height: 22px; }
.pass small { font-size: 10px; color: var(--blue-ink); font-weight: 700; letter-spacing: .5px; }
.pass .qr2 { width: 96px; height: 96px; justify-self: center; }

.owner-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; }
@media (max-width: 760px) { .owner-split { grid-template-columns: minmax(0, 1fr); } .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.dept { display: flex; height: 22px; border-radius: 6px; overflow: hidden; background: var(--wash); }
.dept div { height: 100%; transition: width .8s cubic-bezier(.3,.2,.2,1); }
.dept-key { display: grid; gap: 6px; font-size: .84rem; color: var(--muted); }
.dept-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }

/* Products dropdown */
.dd { position: relative; }
.dd summary { list-style: none; cursor: pointer; color: var(--on-navy); font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: 6px; padding: 6px 0; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary span { font-size: .75rem; transition: transform .2s; }
.dd[open] summary span { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); width: min(640px, calc(100vw - 32px)); background: #fff; border-radius: 14px; box-shadow: 0 24px 50px rgba(10,26,51,.3); padding: 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; z-index: 40; }
.dd-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.dd-menu a:hover, .dd-menu a:focus-visible { background: var(--wash); }
.dd-menu b { font-size: .95rem; }
.dd-menu small { color: var(--muted); font-size: .8rem; }
.dd-menu a:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; }
@media (max-width: 820px) { .dd { position: static; } .dd-menu { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 64px); left: 16px; right: 16px; width: auto; transform: none; grid-template-columns: minmax(0, 1fr); max-height: calc(100vh - 90px); overflow-y: auto; } }

.brand-word, .btn, .dd summary { white-space: nowrap; }
@media (max-width: 420px) { .nav .btn { padding: 9px 13px; font-size: .85rem; } .brand-word { font-size: 1.1rem; } }

.dd-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--navy); display: grid; place-items: center; flex: none; }
.dd-ic svg { width: 22px; height: 22px; }
.dd-tx { display: grid; gap: 2px; min-width: 0; }

/* Soft motion: fade-ins on scroll, hover lifts, menu fade. All off with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  .rv.in { opacity: 1; transform: none; }
  .product, .price-card, .offer, .related a, .zone .node, .feature-grid > div, .tile { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .7s ease; }
  .product:hover, .price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(10, 26, 51, .1); }
  .zone .node:hover { transform: translateX(3px); }
  .dd[open] .dd-menu { animation: ddIn .22s ease-out; }
  @keyframes ddIn { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
  .hero h1, .hero .lede, .hero-ctas, .hero-facts, .stage, .p-hero .crumbs, .p-hero-row, .p-hero h1, .p-hero .lede, .p-hero .hero-ctas, .doc-hero h1, .doc-hero p { animation: heroIn .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero .lede, .p-hero h1 { animation-delay: .08s; } .hero-ctas, .p-hero .lede { animation-delay: .16s; } .hero-facts, .p-hero .hero-ctas { animation-delay: .24s; } .stage { animation-delay: .2s; }
  @keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .btn-primary:hover, .btn-blue:hover { box-shadow: 0 8px 20px rgba(34, 216, 107, .25); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 820px) {
  .dd[open] .dd-menu { animation-name: ddInM; }
  @keyframes ddInM { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}
