/* ============================================================
   Tap and scan stand landing pages. Loaded on top of site.css and home.css
   by /nfc-qr-appointment-booking/ and /patient-experience-feedback/.
   ============================================================ */
.st-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- hero: copy on one side, the stand film on the other ---- */
.st-hero { padding: clamp(28px, 4vw, 52px) 0 clamp(48px, 6vw, 84px); }
.st-hero-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: 16px clamp(24px, 4vw, 60px); align-items: center; }
.st-flip .st-hero-g { grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); }
.st-flip .st-copy { order: 2; }
.st-lock { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 22px; }
.st-lock img { width: auto; height: 44px; flex: none; filter: drop-shadow(0 4px 8px rgba(23,128,153,0.18)); }
.st-lock b { font-size: 38px; font-weight: 820; letter-spacing: -0.045em; line-height: 1; color: var(--navy); }
.st-lock b span { color: var(--teal); }
.st-lock small { flex-basis: 100%; font-size: 14.5px; font-weight: 650; color: var(--muted); letter-spacing: .01em; }
.st-hero h1 { font-size: clamp(36px, 4.5vw, 60px); font-weight: 820; letter-spacing: -0.05em; line-height: 1.07; color: var(--ink); }
.st-hero h1 span { color: var(--teal); }
.st-lede { margin: 20px 0 0; max-width: 46ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-soft); }
.st-hero .hp-cta { margin-top: 26px; }
.st-hero .hp-cta .btn { padding: 14px 26px; font-size: 16px; }

.st3d-fig { margin: 0; min-width: 0; }
.st3d { position: relative; width: 100%; max-width: 640px; margin: 0 auto; aspect-ratio: 1 / 1; }
/* the frame is the page colour on every side except the floor, and the phone leaves through the lower corner: soften those edges */
.st3d-poster, .st3d-film {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 95%, transparent 100%), linear-gradient(180deg, #000 0, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 95%, transparent 100%), linear-gradient(180deg, #000 0, #000 93%, transparent 100%);
  mask-composite: intersect;
}
.st3d-poster { object-fit: contain; }
.st3d-film { object-fit: contain; opacity: 0; pointer-events: none; transition: opacity .45s var(--ease); }
.st3d-film.on { opacity: 1; }
.st3d-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin-top: 4px; min-height: 44px; }
.st3d-off .st3d-bar { display: none; }
.st3d:not(.ready) + .st3d-bar { visibility: hidden; } /* no dead buttons before the film can run */
.st-seg { display: inline-flex; padding: 4px; background: #fff; border-radius: 999px; box-shadow: 0 0 0 1px var(--line), 0 14px 30px -22px rgba(8,32,54,0.5); }
.st-seg button { font: 700 14.5px/1 var(--f); color: var(--ink-soft); background: transparent; border: 0; border-radius: 999px; padding: 13px 22px; cursor: pointer; transition: background .25s, color .25s; }
.st-seg button:hover { color: var(--ink); }
.st-seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.st3d-btn { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: #fff; color: var(--ink); border: 0; border-radius: 50%; cursor: pointer; box-shadow: 0 0 0 1px var(--line); }
.st3d-btn:hover { box-shadow: 0 0 0 1px var(--ink); }
.st3d-cap { flex-basis: 100%; text-align: center; font-size: 14.5px; color: var(--ink-soft); min-height: 1.5em; }
@media (max-width: 960px) {
  .st-hero-g, .st-flip .st-hero-g { grid-template-columns: 1fr; }
  .st-flip .st-copy { order: 0; }
  .st3d { max-width: 560px; }
  .st-lede { max-width: 56ch; }
}
@media (max-width: 480px) { .st-lock img { height: 38px; } .st-lock b { font-size: 32px; } .st-hero .hp-cta .btn { padding: 13px 20px; font-size: 15px; } }

/* ---- section heads ---- */
.st-h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.14; color: var(--ink); }
.st-h2 span { color: var(--teal); }
.st-sub { margin: 14px 0 0; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; color: var(--ink-soft); max-width: 54ch; }
.st-sub a { color: var(--teal); font-weight: 650; }
.st-head { margin-bottom: clamp(30px, 4vw, 52px); }
.st-head.c { text-align: center; }
.st-head.c .st-sub { margin-left: auto; margin-right: auto; }

/* ---- tap and scan: two product close-ups ---- */
.st-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.st-way { background: var(--bg); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; }
.st-way img { order: 2; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-top: auto; }
.st-way div { padding: clamp(24px, 3vw, 32px) clamp(22px, 3vw, 32px) 0; }
.st-way h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.035em; }
.st-way p { margin: 8px 0 0; color: var(--ink-soft); font-size: 16.5px; line-height: 1.5; }
@media (max-width: 720px) { .st-ways { grid-template-columns: 1fr; } }

/* ---- interactive patient demo ---- */
.st-try { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 36px clamp(32px, 6vw, 88px); align-items: center; }
.st-try > :first-child { min-width: 0; }
.st-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 2px; max-width: 420px; }
.st-steps li { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: var(--muted); font-weight: 650; font-size: 16.5px; transition: color .3s; }
.st-steps i { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--muted); box-shadow: 0 0 0 1px var(--line-2); font-style: normal; font-size: 13px; font-weight: 800; transition: background .3s, color .3s, box-shadow .3s; }
.st-steps li.on { color: var(--ink); }
.st-steps li.on i { background: var(--teal-soft); color: var(--teal-deep); box-shadow: 0 0 0 1.5px var(--teal); }
.st-steps li.ok { color: var(--ink-soft); }
.st-steps li.ok i { background: var(--teal); color: #fff; box-shadow: none; }
.st-qr { display: inline-flex; align-items: center; gap: 16px; margin-top: 26px; padding: 12px 22px 12px 12px; background: #fff; border-radius: 18px; }
.st-qr svg { display: block; width: 96px; height: 96px; flex: none; }
.st-qr b { display: block; font-size: 15.5px; letter-spacing: -0.01em; }
.st-qr span { display: block; font-size: 14px; color: var(--ink-soft); max-width: 22ch; line-height: 1.35; }
@media (hover: none), (max-width: 960px) { .st-qr { display: none; } }

.dm { position: relative; width: 100%; max-width: 400px; height: 628px; margin: 0 auto; background: #fff; border-radius: 34px; overflow: hidden; box-shadow: 0 0 0 1px rgba(8,32,54,0.06), 0 40px 80px -46px rgba(8,32,54,0.5); display: flex; flex-direction: column; color: var(--ink); }
.dm-top { flex: none; display: flex; align-items: center; gap: 12px; padding: 20px 22px 16px; border-bottom: 1px solid var(--line); }
.dm-top svg { flex: none; }
.dm-top b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.dm-top span { display: block; font-size: 14px; color: var(--muted); line-height: 1.2; }
.dm-count { margin-left: auto; font-size: 13px; font-weight: 750; color: var(--teal-deep); background: var(--teal-soft); border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
.dm-body { position: relative; flex: 1; min-height: 0; }
.dm-sc { position: absolute; inset: 0; padding: 24px 22px 22px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateX(26px); transition: opacity .32s var(--ease), transform .32s var(--ease), visibility 0s .32s; overflow: hidden; }
.dm-sc.on { opacity: 1; visibility: visible; transform: none; transition: opacity .32s var(--ease), transform .32s var(--ease), visibility 0s; }
.dm-sc.out { transform: translateX(-26px); }
.dm-sc h3 { font-size: 30px; font-weight: 820; letter-spacing: -0.04em; line-height: 1.08; }
.dm-sc > p { margin: 7px 0 0; font-size: 15.5px; font-weight: 550; color: var(--muted); line-height: 1.35; }
.dm-list { display: grid; gap: 10px; margin-top: 20px; }
.dm-row { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; font-family: var(--f); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 14px 15px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.dm-row:hover { border-color: var(--teal); background: #fbfefe; }
.dm-row:active { transform: scale(.985); }
.dm-row b { display: block; font-size: 17.5px; font-weight: 780; letter-spacing: -0.02em; line-height: 1.2; }
.dm-row small { display: block; font-size: 14px; font-weight: 550; color: var(--muted); }
.dm-row .dm-dot { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--teal-soft); color: var(--teal-deep); }
.dm-row .dm-go { margin-left: auto; flex: none; color: var(--line-2); }
.dm-row .dm-when { margin-left: auto; flex: none; text-align: right; font-size: 15px; font-weight: 800; color: var(--teal-deep); letter-spacing: -0.02em; line-height: 1.2; }
.dm-row .dm-when small { color: var(--muted); font-size: 13px; }
.dm-sort { display: flex; margin-top: 16px; padding: 4px; background: var(--paper); border-radius: 999px; }
.dm-sort > * { flex: 1; padding: 8px 0; text-align: center; font-size: 14.5px; font-weight: 700; color: var(--muted); border-radius: 999px; }
.dm-sort > .on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(8,32,54,0.14); }
.dm-days { display: flex; gap: 8px; margin-top: 18px; }
.dm-days > * { flex: 1; padding: 9px 0; text-align: center; font-size: 13px; font-weight: 650; color: var(--muted); background: var(--paper); border-radius: 14px; line-height: 1.2; }
.dm-days > * b { display: block; font-size: 19px; font-weight: 820; color: var(--ink); letter-spacing: -0.02em; }
.dm-days > .on { background: var(--navy); color: #b9d2dd; }
.dm-days > .on b { color: #fff; }
.dm-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 18px; }
.dm-times button { font: 750 16px/1 var(--f); letter-spacing: -0.02em; padding: 16px 0; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.dm-times button:hover { border-color: var(--teal); background: var(--teal-soft); }
.dm-times button.gone { color: var(--line-2); background: #fbfcfd; text-decoration: line-through; pointer-events: none; }
.dm-field { display: block; margin-top: 16px; font-size: 14px; font-weight: 650; color: var(--muted); }
.dm-field span { display: block; margin-top: 5px; padding: 15px; font-size: 17px; font-weight: 650; color: var(--ink); border: 1.5px solid var(--line); border-radius: 14px; letter-spacing: -0.015em; }
.dm-fill { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.dm-cta { display: block; width: 100%; margin-top: auto; padding: 18px; font: 780 17.5px/1 var(--f); color: #fff; background: var(--navy); border: 0; border-radius: 18px; text-align: center; cursor: pointer; transition: background .2s, opacity .25s; }
.dm-cta:hover { background: var(--navy-2); }
.dm-cta[disabled] { opacity: .3; cursor: default; }
.dm-link { display: block; width: 100%; margin-top: 8px; padding: 12px; font: 720 15.5px/1 var(--f); color: var(--teal); background: none; border: 0; cursor: pointer; }
.dm-done { align-items: center; text-align: center; }
.dm-tick { width: 76px; height: 76px; display: grid; place-items: center; margin: 22px 0 0; border-radius: 50%; background: #14a37f; color: #fff; }
.dm-done h3 { margin-top: 18px; }
.dm-card { width: 100%; margin-top: 22px; padding: 6px 16px; border: 1.5px solid var(--line); border-radius: 18px; }
.dm-card div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 15px; border-bottom: 1px solid #eef3f5; }
.dm-card div:last-child { border: 0; }
.dm-card span { color: var(--muted); }
.dm-card b { font-weight: 760; letter-spacing: -0.015em; text-align: right; }
.dm-sent { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14.5px; font-weight: 750; color: var(--teal-deep); }

/* rating faces */
.dm-faces { display: grid; gap: 8px; margin-top: 18px; }
.dm-face { display: flex; align-items: center; gap: 14px; width: 100%; padding: 9px 15px; font: 760 17.5px/1.2 var(--f); letter-spacing: -0.02em; text-align: left; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 18px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease), color .2s; }
.dm-face svg { width: 40px; height: 40px; flex: none; color: var(--teal-deep); }
.dm-face:hover, .dm-face.on { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-deep); }
.dm-face:active { transform: scale(.985); }
.dm-face:hover svg, .dm-face.on svg { color: var(--teal-deep); }
.dm-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.dm-chips button { font: 720 16px/1 var(--f); letter-spacing: -0.015em; padding: 13px 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; transition: all .2s; }
.dm-chips button:hover { border-color: var(--teal); }
.dm-chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.dm-text { display: block; width: 100%; height: 118px; margin-top: 18px; padding: 14px; font: 550 16px/1.4 var(--f); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 16px; resize: none; }
.dm-text:focus { outline: 0; border-color: var(--teal); }
.dm-hint { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
@media (max-width: 960px) { .st-try { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .dm { height: 628px; border-radius: 28px; } .dm-sc { padding: 20px 16px 18px; } .dm-sc h3 { font-size: 27px; } .dm-face svg { width: 36px; height: 36px; } .dm-top { padding: 16px; } }

/* ---- flow track: what happens after the last tap ---- */
.st-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: t; }
.st-track li { position: relative; padding: 0 18px 0 0; }
.st-track li::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 3px; background: var(--line-2); }
.st-track li:first-child::before { background: linear-gradient(90deg, var(--teal), var(--line-2)); }
.st-track li:last-child::before { right: auto; width: 56px; }
.st-track .n { position: relative; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; background: #fff; color: var(--teal); box-shadow: 0 0 0 2px var(--line-2); }
.st-track li:first-child .n { background: var(--grad); color: #fff; box-shadow: none; }
.st-track h3 { margin-top: 18px; font-size: 19px; font-weight: 800; letter-spacing: -0.025em; }
.st-track p { margin: 6px 0 0; font-size: 15px; line-height: 1.42; color: var(--ink-soft); }
@media (max-width: 860px) {
  .st-track { grid-template-columns: 1fr; gap: 20px; }
  .st-track li { padding: 0 0 0 74px; min-height: 56px; }
  .st-track li::before { left: 27px; right: auto; top: 0; bottom: -20px; width: 3px; height: auto; }
  .st-track li:first-child::before { background: linear-gradient(180deg, var(--teal), var(--line-2)); }
  .st-track li:last-child::before { bottom: auto; width: 3px; height: 56px; }
  .st-track .n { position: absolute; left: 0; top: 0; }
  .st-track h3 { margin-top: 0; padding-top: 2px; }
}

/* ---- isometric floor plan with stand pins ---- */
.st-plan { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); gap: 28px clamp(28px, 4vw, 56px); align-items: center; }
.st-map { position: relative; }
.st-map svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 36px 40px rgba(8,32,54,0.13)); }
.pl-pin { position: absolute; width: 34px; height: 34px; margin: -46px 0 0 -17px; padding: 0; display: grid; place-items: center; font: 800 14.5px/1 var(--f); color: var(--teal-deep); background: #fff; border: 0; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); cursor: pointer; box-shadow: 0 0 0 1.5px var(--teal), 0 10px 18px -8px rgba(8,32,54,0.45); transition: background .2s, color .2s, box-shadow .2s; }
.pl-pin i { font-style: normal; transform: rotate(45deg); }
.pl-pin.on, .pl-pin:hover { background: var(--teal); color: #fff; box-shadow: 0 0 0 1.5px var(--teal), 0 0 0 7px rgba(38,169,204,0.22), 0 10px 18px -8px rgba(8,32,54,0.45); }
.pl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pl-item { width: 100%; display: grid; grid-template-columns: 30px 1fr; gap: 2px 12px; text-align: left; padding: 14px 16px; font-family: var(--f); color: var(--ink); background: transparent; border: 0; border-radius: 16px; cursor: pointer; transition: background .2s; }
.pl-item i { grid-row: 1 / span 2; width: 30px; height: 30px; display: grid; place-items: center; font-style: normal; font-size: 13.5px; font-weight: 800; color: var(--teal-deep); background: #fff; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--teal); transition: background .2s, color .2s; }
.pl-item b { font-size: 17.5px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.25; }
.pl-item span { font-size: 15px; line-height: 1.42; color: var(--ink-soft); }
.pl-item.on, .pl-item:hover { background: #fff; }
.pl-item.on i, .pl-item:hover i { background: var(--teal); color: #fff; }
@media (max-width: 900px) { .st-plan { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pl-pin { width: 28px; height: 28px; margin: -37px 0 0 -14px; font-size: 12.5px; } }

/* ---- exploded stand with numbered parts ---- */
.st-ana { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px clamp(28px, 5vw, 72px); align-items: center; }
.st-ana-v { position: relative; background: var(--navy); border-radius: var(--r-xl); overflow: hidden; }
.st-ana-v img { display: block; width: 100%; height: auto; }
.st-tag { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; display: grid; place-items: center; font-size: 13.5px; font-weight: 800; color: #fff; background: var(--teal); border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,255,255,0.22); }
.st-parts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.st-parts li { display: grid; grid-template-columns: 30px 1fr; gap: 2px 14px; }
.st-parts i { grid-row: 1 / span 2; width: 30px; height: 30px; display: grid; place-items: center; font-style: normal; font-size: 13.5px; font-weight: 800; color: #fff; background: var(--teal); border-radius: 50%; }
.st-parts b { font-size: 18px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.3; }
.st-parts span { font-size: 15.5px; line-height: 1.45; color: var(--ink-soft); }
@media (max-width: 900px) { .st-ana { grid-template-columns: 1fr; } }

/* ---- proof band (shares .res with the homepage) ---- */
.st-src { margin: 18px 0 0; font-size: 13px; color: #8fb0be; }
.st-page .res-n .v em { transform: none; }

/* ---- rollout: four days on a line ---- */
.st-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.st-days li { padding: 22px 22px 24px; background: #fff; border-radius: 20px; }
.st-days b { display: block; font-size: 14px; font-weight: 800; color: var(--teal); letter-spacing: -0.005em; }
.st-days h3 { margin-top: 8px; font-size: 18.5px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.22; }
.st-days p { margin: 6px 0 0; font-size: 15px; line-height: 1.42; color: var(--ink-soft); }
.st-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.st-tags li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: #fff; border-radius: 999px; font-size: 14.5px; font-weight: 650; color: var(--ink); }
.st-tags svg { flex: none; color: var(--teal); }
@media (max-width: 900px) { .st-days { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .st-days { grid-template-columns: 1fr; } }

/* ---- feedback timeline: the door against six weeks ---- */
.st-time { position: relative; padding: 64px 0 0; }
.st-bar { position: relative; height: 66px; border-radius: 18px; background: linear-gradient(90deg, var(--teal) 0%, #4fb6cf 9%, #a8dbe7 28%, #e4f2f6 58%, #f2f6f8 100%); }
.st-bar small { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); font-size: 16px; font-weight: 780; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
.st-bar small + small { left: auto; right: 22px; color: var(--muted); }
.st-mk { position: absolute; top: 0; }
.st-mk b { display: block; font-size: 16.5px; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); white-space: nowrap; line-height: 1.15; }
.st-mk span { display: block; font-size: 14px; color: var(--muted); white-space: nowrap; }
.st-mk.at0 { left: 0; }
.st-mk.at0 b { color: var(--teal); }
.st-band { position: absolute; left: 14%; right: 0; top: calc(100% + 14px); height: 10px; border-radius: 0 0 8px 8px; border: 2px solid var(--navy); border-top: 0; }
.st-band-l { display: flex; justify-content: space-between; margin: 34px 0 0 14%; font-size: 15px; font-weight: 750; color: var(--ink); }
.st-band-l span { color: var(--muted); font-weight: 600; }
.st-cite { margin: 22px 0 0; font-size: 14px; color: var(--muted); max-width: 86ch; }
.st-cite a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 620px) {
  .st-time { padding-top: 56px; }
  .st-bar { height: 54px; }
  .st-bar small { font-size: 14px; left: 14px; }
  .st-bar small + small { right: 14px; }
  .st-band-l { flex-direction: column; gap: 2px; }
}

/* ---- live tile beside the feedback demo ---- */
.st-live { margin-top: 26px; max-width: 440px; padding: 18px 20px; background: #fff; border-radius: 20px; }
.st-live h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.st-live h3 span { font-size: 13.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.st-live-n { display: flex; gap: 26px; margin-top: 10px; }
.st-live-n b { display: block; font-size: 32px; font-weight: 820; letter-spacing: -0.04em; line-height: 1; transition: color .3s; }
.st-live-n b.up { color: var(--teal); }
.st-live-n span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-soft); }
.st-live-b { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; align-items: end; height: 56px; margin-top: 14px; }
.st-live-b i { display: block; background: #bfe3ec; border-radius: 4px 4px 0 0; transition: height .55s var(--ease), background .3s; min-height: 4px; }
.st-live-b i.up { background: var(--teal); }
.st-live-l { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 6px; color: var(--muted); }
.st-live-l svg { display: block; width: 18px; height: 18px; margin: 0 auto; }

/* ---- analytics window: stands along the top are the site filter ---- */
.an-stands { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0 auto; max-width: 1040px; }
.an-st { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 2px 22px; font: 750 14.5px/1.15 var(--f); color: var(--ink-soft); background: none; border: 0; cursor: pointer; letter-spacing: -0.015em; transition: color .2s; }
.an-st img { display: block; width: auto; height: clamp(62px, 8vw, 104px); opacity: .62; transition: opacity .25s, transform .3s var(--ease); }
.an-st small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.an-st::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 2px; height: 16px; margin-left: -1px; background: var(--line-2); transition: background .2s, height .2s; }
.an-st:hover img { opacity: .9; }
.an-st[aria-pressed="true"] { color: var(--ink); }
.an-st[aria-pressed="true"] img { opacity: 1; transform: translateY(-3px); }
.an-st[aria-pressed="true"]::after { background: var(--teal); width: 3px; margin-left: -1.5px; }
.an { background: var(--paper); border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -56px rgba(8,32,54,0.6); }
.an-bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; background: #eef3f5; border-bottom: 1px solid var(--line-2); }
.an-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3dee3; }
.an-bar span { margin: 0 auto; padding: 4px 16px; font-size: 13.5px; color: var(--ink-soft); background: rgba(255,255,255,0.75); border-radius: 8px; }
.an-app { display: grid; grid-template-columns: 170px minmax(0, 1fr); }
.an-side { background: var(--navy); color: #cfe2ea; padding: 20px 12px; font-size: 15px; font-weight: 600; }
.an-side b { display: flex; align-items: center; gap: 8px; padding: 0 8px 18px; font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.an-side span { display: block; padding: 9px 12px; border-radius: 10px; }
.an-side span.on { background: rgba(255,255,255,0.1); color: #fff; }
.an-main { padding: clamp(16px, 2.4vw, 26px); min-width: 0; }
.an-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.an-t b { font-size: clamp(22px, 2.5vw, 28px); font-weight: 820; letter-spacing: -0.04em; }
.an-t span { font-size: 15px; font-weight: 600; color: var(--muted); }
.an-kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.an-kpi div { background: #fff; border-radius: 14px; padding: 14px 16px; }
.an-kpi b { display: block; font-size: clamp(23px, 2.5vw, 31px); font-weight: 820; letter-spacing: -0.045em; line-height: 1.05; }
.an-kpi span { display: block; margin-top: 3px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.25; }
.an-g { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 10px; margin-top: 10px; }
.an-card { background: #fff; border-radius: 14px; padding: 16px 18px; min-width: 0; }
.an-card h4 { font-size: 15.5px; font-weight: 800; letter-spacing: -0.02em; }
.an-card h4 small { font-size: 13.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.an-chart { position: relative; margin-top: 10px; }
.an-rate { position: relative; height: 128px; }
.an-rate svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.an-rate i { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--navy); }
.an-rate i.low { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; background: var(--navy); box-shadow: 0 0 0 2px #fff; }
.an-flag { position: absolute; transform: translate(-50%, 8px); font-size: 13px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.an-lab { display: flex; justify-content: space-between; margin: 12px 0 6px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.an-lab:first-child { margin-top: 0; }
.an-wait { position: relative; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; height: 118px; align-items: end; border-bottom: 1.5px solid var(--line); }
.an-wait i { display: block; background: #bfe3ec; border-radius: 4px 4px 0 0; min-height: 3px; transition: height .5s var(--ease), background .2s; }
.an-wait i.hi { background: var(--teal); }
.an-hrs { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; margin-top: 6px; text-align: center; font-size: 12.5px; color: var(--muted); }
.an-hit { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; }
.an-hit span { display: block; border-radius: 6px; }
.an-hit span:hover { background: rgba(10,39,64,0.05); }
.an-tip { position: absolute; z-index: 2; top: 2px; padding: 8px 12px; font-size: 13px; line-height: 1.3; color: #fff; background: var(--navy); border-radius: 10px; pointer-events: none; opacity: 0; transition: opacity .15s; white-space: nowrap; transform: translateX(-50%); }
.an-tip.on { opacity: 1; }
.an-tip b { display: block; font-weight: 800; }
.an-sites { display: grid; gap: 4px; margin-top: 8px; }
.an-site { display: grid; grid-template-columns: minmax(0, 1fr) 62px 30px; gap: 8px; align-items: center; width: 100%; padding: 7px 8px; margin: 0 -8px; font: 650 14.5px/1.2 var(--f); color: var(--ink); text-align: left; background: none; border: 0; border-radius: 9px; cursor: pointer; letter-spacing: -0.015em; }
.an-site:hover { background: var(--paper); }
.an-site.on { background: var(--teal-soft); font-weight: 800; }
.an-site u { display: block; height: 8px; background: var(--paper); border-radius: 4px; overflow: hidden; text-decoration: none; }
.an-site u i { display: block; height: 100%; background: var(--teal); border-radius: 4px; }
.an-site em { font-style: normal; text-align: right; font-weight: 800; }
.an-why { display: grid; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.an-why h4 { margin-bottom: 2px; }
.an-why div { display: grid; grid-template-columns: minmax(0, 1fr) 30px; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.an-why em { font-style: normal; text-align: right; font-weight: 750; color: var(--ink); }
@media (max-width: 960px) {
  .an-app { grid-template-columns: 1fr; }
  .an-side { display: none; }
  .an-g { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .an-kpi { grid-template-columns: 1fr 1fr; }
  .an-hrs span:nth-child(even) { visibility: hidden; }
  .an-st { font-size: 12.5px; }
  .an-st small { display: none; }
  .an-stands { gap: 2px; }
  .an-bar span { padding: 4px 10px; font-size: 12.5px; }
}

/* ---- doorway: render plus three short points ---- */
.st-door { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px clamp(28px, 5vw, 72px); align-items: center; }
.st-door img { display: block; width: 100%; height: auto; border-radius: var(--r-xl); background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.st-pts { display: grid; gap: 22px; margin-top: 26px; }
.st-pts h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.025em; }
.st-pts p { margin: 4px 0 0; font-size: 16px; line-height: 1.45; color: var(--ink-soft); }
@media (max-width: 900px) { .st-door { grid-template-columns: 1fr; } }

/* ---- privacy: what the stand collects against what it never asks ---- */
.st-priv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.st-priv > div { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-xl); }
.st-priv .yes { background: var(--teal-soft); }
.st-priv .no { background: var(--bg); }
.st-priv h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.st-priv ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 11px; }
.st-priv li { display: flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 650; letter-spacing: -0.015em; color: var(--ink); }
.st-priv li svg { flex: none; }
.st-priv .yes svg { color: var(--teal); }
.st-priv .no li { color: var(--ink-soft); }
.st-priv .no svg { color: var(--muted); }
@media (max-width: 620px) { .st-priv { grid-template-columns: 1fr; } }

/* ---- close ---- */
.st-close { padding: 0 0 clamp(64px, 8vw, 104px); }
.hp-white + .st-close { padding-top: clamp(64px, 8vw, 104px); background: #fff; }
.st-close .cta-card .btn { border-radius: 999px; }
.st-page .trusted { background: #fff; }

/* ---- touch screens: a tapped control doesn't stay in its hover colour ---- */
@media (hover: none) {
  .dm-row:hover, .dm-times button:hover { border-color: var(--line); background: #fff; }
  .dm-face:hover:not(.on) { border-color: var(--line); background: #fff; color: var(--ink); }
  .dm-chips button:hover:not([aria-pressed="true"]) { border-color: var(--line); }
}

/* ---- /demo/: the demos on their own, full screen on a phone, a phone-sized card on a desktop ---- */
.dm-page { background: var(--paper); }
.dm-page main:not(.dmh) { display: grid; place-items: center; min-height: 100vh; min-height: 100dvh; padding: 24px; }
.dm-full { max-width: 420px; height: 800px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.dm-note { flex: none; margin: 0; padding: 8px 16px; font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center; color: #fff; background: var(--navy); }
.dm-full .dm-sc { overflow-y: auto; overscroll-behavior: contain; }
.dm-full .dm-sc > * { flex-shrink: 0; }
.dm-full .dm-count { color: var(--teal-deep); }
.dm-days button, .dm-sort button { font-family: var(--f); border: 0; cursor: pointer; }
.dm-sort button { background: none; }
.dm-back { display: none; flex: none; place-items: center; width: 44px; height: 44px; margin: -5px; padding: 0; color: var(--ink); background: none; border: 0; border-radius: 12px; cursor: pointer; }
.dm-canback .dm-back { display: grid; }
.dm-canback .dm-top > svg { display: none; }
.dm-rev .dm-sc { transform: none; transition: opacity .2s, visibility 0s .2s; }
.dm-rev .dm-sc.on { transform: none; transition: opacity .2s, visibility 0s; }
.dm-rev .dm-sc.out { transform: none; }
@media (max-width: 519px) {
  .dm-page { background: #fff; }
  .dm-page main:not(.dmh) { display: block; min-height: 0; padding: 0; }
  .dm-full { max-width: none; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; box-shadow: none; }
}
/* a short phone, or a browser with its toolbars showing */
@media (max-height: 640px) {
  .dm-note { padding: 5px 16px; }
  .dm-full .dm-top { padding-top: 11px; padding-bottom: 10px; }
  .dm-full .dm-sc { padding-top: 16px; padding-bottom: 14px; }
  .dm-full .dm-list { margin-top: 14px; }
  .dm-full .dm-sort { margin-top: 12px; }
  .dm-full .dm-tick { width: 56px; height: 56px; margin-top: 4px; }
  .dm-full .dm-tick svg { width: 30px; height: 30px; }
  .dm-full.dm .dm-done h3 { margin-top: 12px; }
  .dm-full .dm-card { margin-top: 14px; }
  .dm-full .dm-card div { padding: 8px 0; }
  .dm-full .dm-sent { margin-top: 10px; }
  .dm-full .dm-link { margin-top: 2px; }
}

.dmh { max-width: 860px; margin: 0 auto; padding: clamp(32px, 8vw, 72px) 20px; }
.dmh img { display: block; height: 28px; width: auto; margin-left: -8px; }
.dmh h1 { margin: 32px 0 0; font-size: clamp(34px, 6vw, 52px); font-weight: 820; letter-spacing: -0.04em; line-height: 1.05; color: var(--navy); }
.dmh p { margin: 12px 0 0; font-size: 18px; color: var(--ink-soft); line-height: 1.4; }
.dmh-g { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.dmh-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: 28px; color: var(--ink); background: #fff; border-radius: var(--r-lg); box-shadow: 0 0 0 1px rgba(8,32,54,0.06); text-decoration: none; transition: box-shadow .2s; }
.dmh-card:hover { box-shadow: 0 0 0 2px var(--teal); }
.dmh-card > svg:first-child { display: block; width: 100%; max-width: 240px; height: auto; }
.dmh-card > svg:last-child { display: none; flex: none; margin-left: auto; color: var(--teal); }
.dmh-t b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; }
.dmh-t small { display: block; margin-top: 2px; font-size: 15.5px; font-weight: 550; color: var(--muted); }
.dmh-t u { display: block; margin-top: 10px; font-size: 14.5px; font-weight: 650; color: var(--teal); text-decoration: none; overflow-wrap: anywhere; }
/* a phone can't scan its own screen, so it gets two big links instead */
@media (hover: none), (max-width: 700px) {
  .dmh p span, .dmh-card > svg:first-child, .dmh-t u { display: none; }
  .dmh-g { grid-template-columns: 1fr; gap: 12px; }
  .dmh-card { flex-direction: row; text-align: left; padding: 22px; }
  .dmh-card > svg:last-child { display: block; }
}
