/* Sub-pages (customer stories, integrations). Loaded after luha.css, which build.py
   copies from the homepage's <style> block, so every token and component matches the homepage. */

/* Page hero: same grid and glow as the homepage hero, shorter */
.page-hero { position: relative; overflow: clip; padding-block: clamp(28px, 5vw, 56px) clamp(56px, 8vw, 96px); }
.page-hero .hero-in { align-items: center; }
.page-hero.solo .hero-in { grid-template-columns: minmax(0, 1fr); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.04em; line-height: 1.04; margin-top: 18px; }
.page-hero .lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); margin-top: 20px; max-width: 36rem; }
.page-hero.solo .lead { max-width: 42rem; }
.page-hero .ticks { margin-top: 24px; gap: 10px; }
.page-hero .ticks li { font-size: 15.5px; }
.page-hero .ticks .i { color: var(--accent); }
.page-hero .stage { padding: 34px 0 0 44px; }
@media (max-width: 560px) { .page-hero .stage { padding: 30px 0 0; } }

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; padding: 10px 0; }
.crumbs a:hover { color: var(--accent-hover); }
.crumbs span[aria-hidden] { color: var(--soft-blue-grey); }
.crumbs [aria-current] { color: var(--fg); font-weight: 500; }

/* Stretched link: the whole card is clickable */
.stretch { text-decoration: none; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.stretch:focus-visible { outline: none; }
.card:has(.stretch:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent-hover); white-space: nowrap; }
.more .i { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .more .i { transform: translateX(3px); }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
.stat { padding: 26px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.stat b { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--c, var(--accent)); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 12px; font-size: 15px; color: var(--fg); font-weight: 500; line-height: 1.4; }
.stat small { display: block; margin-top: 4px; font: 400 12.5px/1.4 var(--mono); color: var(--muted); }
.stats > .stat:nth-child(1) { --c: var(--accent); }
.stats > .stat:nth-child(2) { --c: var(--violet); }
.stats > .stat:nth-child(3) { --c: var(--ok); }
.stats > .stat:nth-child(4) { --c: var(--coral); }
.fine { margin-top: 14px; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: minmax(0, 1fr); } }

/* Customer story cards */
.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stories.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.story { padding: 12px 12px 22px; }
.story-media { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--navy); }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.story:hover .story-media img { transform: scale(1.04); }
.story-play { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font-size: 12.5px; font-weight: 600; color: var(--fg); box-shadow: var(--shadow-sm); }
.story-play i { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.story-play svg { width: 10px; height: 10px; fill: currentColor; margin-left: 1px; }
.story-body { display: flex; flex-direction: column; gap: 12px; padding: 18px 10px 0; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font: 500 11.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-hover); }
.tags span + span { background: var(--bg-tint); color: var(--muted); border: 1px solid var(--line); padding-block: 5px; }
.story h3 { font-size: 1.22rem; letter-spacing: -0.02em; line-height: 1.2; }
.story-q { color: var(--muted); font-size: 15px; line-height: 1.55; }
.story-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; }
.story-foot img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.who { min-width: 0; line-height: 1.35; }
.who b { display: block; font-size: 14px; font-weight: 600; }
.who small { display: block; font-size: 13px; color: var(--muted); }
.story-foot .more { margin-left: auto; }
@media (max-width: 1000px) { .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .stories, .stories.two { grid-template-columns: minmax(0, 1fr); } }

/* Case study */
.cs-hero .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.cs-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); }
.cs-person { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.cs-person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); box-shadow: 0 2px 8px rgba(14, 34, 51, 0.18); }
.player { box-shadow: var(--shadow-lg); border: 1px solid rgba(14, 34, 51, 0.08); }
.player-note { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.94); font-size: 13px; color: var(--fg); }
@media (max-width: 1000px) { .cs-hero .hero-in { grid-template-columns: minmax(0, 1fr); } .cs-hero .player { max-width: 720px; } }

/* Case study story: chapters on the left, facts alongside */
.cs-story { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.cs-body { display: grid; gap: clamp(36px, 5vw, 56px); min-width: 0; }
.cs-story > .facts { position: sticky; top: 96px; }
.cs-story > .facts .btn { width: 100%; justify-content: center; margin-top: 20px; }
.cs-ch h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.025em; text-wrap: balance; }
.cs-ch p { color: var(--muted); font-size: 1.06rem; line-height: 1.7; margin-top: 14px; max-width: 44rem; text-wrap: pretty; }
.cs-n { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-hover); margin: 0 0 10px; }
.cs-chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cs-chips li { font-size: 13.5px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--accent-tint); color: var(--fg); }
.cs-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; counter-reset: st; }
.cs-steps li { counter-increment: st; position: relative; padding: 18px 20px 18px 64px; border-radius: var(--r-lg, 16px); background: var(--bg-tint); border: 1px solid var(--line); }
.cs-steps li::before { content: counter(st); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 600 14px/1 var(--mono); color: #fff; background: var(--accent); }
.cs-steps li:nth-child(4n+2)::before { background: var(--violet); }
.cs-steps li:nth-child(4n+3)::before { background: var(--ok); }
.cs-steps li:nth-child(4n+4)::before { background: var(--coral); }
.cs-steps b { font-size: 1.04rem; letter-spacing: -0.01em; }
.cs-steps li p { margin-top: 4px; font-size: 15.5px; line-height: 1.6; }
.cs-q { margin: 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); }
.cs-q p { margin: 0; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.45; letter-spacing: -0.015em; font-weight: 500; color: var(--fg); text-wrap: pretty; }
.cs-q footer { margin-top: 10px; font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .cs-story { grid-template-columns: minmax(0, 1fr); } .cs-story > .facts { position: static; order: -1; } }
@media (max-width: 480px) { .cs-steps li { padding: 16px 16px 16px 56px; } .cs-steps li::before { left: 14px; } }
.pull { margin: 0; padding: clamp(26px, 4vw, 44px); border-radius: var(--r-xl); background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.pull::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px 220px at 90% 0%, rgba(28, 129, 162, 0.35), transparent 70%); }
.pull > * { position: relative; }
.pull blockquote { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35; letter-spacing: -0.02em; font-weight: 500; text-wrap: pretty; }
.pull blockquote mark { background: linear-gradient(transparent 60%, rgba(124, 198, 217, 0.4) 60%); color: inherit; padding: 0 2px; }
.pull figcaption { display: flex; align-items: center; gap: 12px; }
.pull figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.pull .who small { color: var(--on-navy-muted); }
.facts { padding: 26px; border-radius: var(--r-xl); background: var(--bg-tint); border: 1px solid var(--line); }
.facts h2 { font-size: 1.15rem; letter-spacing: -0.02em; }
.facts dl { margin: 18px 0 0; display: grid; }
.facts dl > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.facts dt { font: 500 12px/1.5 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-size: 15px; font-weight: 500; min-width: 0; }
.facts dd a { color: var(--accent-hover); text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 420px) { .facts dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.prose { display: grid; gap: clamp(32px, 5vw, 48px); max-width: 48rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose p { color: var(--muted); font-size: 1.06rem; margin-top: 14px; }
.ba { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
.ba th, .ba td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ba th { font: 500 12px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }

/* Feature cards (automations, integration uses) */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat { padding: 24px 24px 26px; gap: 12px; }
.feat .card-k { gap: 12px; }
.feat h3 { font-size: 1.12rem; }
.feat > p { font-size: 15px; }
.feats > .card:nth-child(5n+1) { --c: var(--accent); --ct: var(--accent-tint); }
.feats > .card:nth-child(5n+2) { --c: var(--violet); --ct: var(--violet-tint); }
.feats > .card:nth-child(5n+3) { --c: var(--ok); --ct: var(--ok-tint); }
.feats > .card:nth-child(5n+4) { --c: var(--coral); --ct: var(--coral-tint); }
.feats > .card:nth-child(5n+5) { --c: var(--warn); --ct: var(--warn-tint); }
.feats > .card:hover { border-color: var(--c); }
@media (max-width: 1000px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .feats { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Integrations hub ---------- */
.constellation { position: relative; width: min(100%, 470px); aspect-ratio: 1; margin-inline: auto; }
.constellation svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cl-ring { fill: none; stroke: var(--soft-blue-grey); stroke-dasharray: 3 7; transform-origin: 200px 200px; animation: spin 70s linear infinite; }
.cl-ring.r2 { animation-direction: reverse; animation-duration: 50s; }
.cl-edge { stroke: var(--warm-grey); stroke-width: 2; }
.cl-flow { stroke-width: 4; stroke-linecap: round; stroke-dasharray: 12 140; animation: clflow 2.6s linear infinite; }
@keyframes clflow { from { stroke-dashoffset: 152; } to { stroke-dashoffset: 0; } }
.cl-hub { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 30%; aspect-ratio: 1; border-radius: 28px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow-lg), 0 0 0 10px rgba(28, 129, 162, 0.08); }
.cl-hub img { width: 64%; height: auto; }
.cl-node { position: absolute; translate: -50% -50%; width: 27%; min-height: 58px; padding: 10px 12px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; place-items: center; animation: bob 6s ease-in-out infinite; transition: box-shadow .2s; }
.cl-node::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid var(--p1); opacity: 0; transition: opacity .2s; }
.cl-node:hover::after, .cl-node:focus-visible::after { opacity: 1; }
.cl-node:hover { box-shadow: var(--shadow-lg); }
.cl-node img { width: auto; height: auto; max-width: 100%; max-height: 22px; }
@media (max-width: 1000px) { .page-hero .constellation { width: min(100%, 440px); } }
@media (max-width: 420px) { .cl-node { min-height: 46px; padding: 8px; border-radius: 12px; } .cl-node img { max-height: 16px; } .cl-hub { border-radius: 20px; } }

.pmsx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pmsx { padding: 0; }
.pmsx-top { position: relative; height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 22px; background: linear-gradient(135deg, var(--ptint), var(--bg) 85%); border-bottom: 3px solid var(--p1); }
.pmsx-top img { height: 30px; width: auto; max-width: 58%; }
.pmsx-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; }
.pmsx h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.pmsx p { color: var(--muted); font-size: 15px; }
.pmsx .ticks { margin-top: 2px; }
.pmsx .ticks .i { color: var(--p1); }
.pmsx .more { margin-top: auto; padding-top: 8px; }
.pmsx:hover { border-color: var(--p1); }
.pmsx.ask { --p1: var(--accent); --ptint: var(--accent-tint); }
.pmsx.ask .pmsx-top > .i { width: 30px; height: 30px; color: var(--accent); }
.pmsx.ask { grid-column: 1 / -1; flex-direction: row; }
.pmsx.ask .pmsx-top { height: auto; flex: 0 0 140px; justify-content: center; border-bottom: 0; border-right: 3px solid var(--p1); }
.pmsx.ask .pmsx-body { justify-content: center; }
.pmsx.ask .pmsx-body p { max-width: 46rem; }
.pmsx.ask .more { padding-top: 0; }
@media (max-width: 600px) { .pmsx.ask { flex-direction: column; } .pmsx.ask .pmsx-top { flex-basis: 84px; border-right: 0; border-bottom: 3px solid var(--p1); } }
@media (max-width: 1000px) { .pmsx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pmsx-grid { grid-template-columns: minmax(0, 1fr); } }

.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.promise { padding: 28px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); }
.pr-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(28, 129, 162, 0.28); color: var(--accent-light); }
.promise h3 { font-size: 1.22rem; margin-top: 20px; letter-spacing: -0.02em; }
.promise p { color: var(--on-navy-muted); margin-top: 8px; font-size: 15px; }
@media (max-width: 860px) { .promises { grid-template-columns: minmax(0, 1fr); } }

/* ---------- PMS pages: each themed with that system's own colours ---------- */
.pms-hero .orb-a { background: radial-gradient(circle, var(--p1), transparent 65%); opacity: .32; }
.pms-hero .orb-b { background: radial-gradient(circle, var(--p2), transparent 65%); opacity: .2; }
.pms-grad { background: linear-gradient(100deg, var(--pink) 0%, var(--p1) 45%, var(--p2) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 9s ease-in-out infinite; }
.pms-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg); }
.pms-eyebrow img { height: 16px; width: auto; }
.pms-hero h1 { margin-top: 20px; }
.mk-stage { min-width: 0; position: relative; }
.mk-cap { margin-top: 12px; text-align: center; font: 400 12px/1.4 var(--mono); color: var(--muted); }
.hero-cream { background: var(--ptint); }
.hero-cream .hero-grid { opacity: .45; }
.hero-dark { background: radial-gradient(ellipse 80% 90% at 75% 20%, #2620c9 0%, var(--pink) 50%, #08045a 100%); color: #fff; }
.hero-dark .hero-grid { opacity: .08; }
.hero-dark .lead { color: #d0cff5; }
.hero-dark .crumbs, .hero-dark .crumbs a { color: #bebdf0; }
.hero-dark .crumbs [aria-current] { color: #fff; }
.hero-dark .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.32); }
.hero-dark .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.6); }
.hero-dark .pms-grad { background-image: linear-gradient(100deg, var(--p3) 0%, #fff 45%, var(--p2) 100%); }
.hero-dark .mk-cap { color: #bebdf0; }
.hero-dark .pms-eyebrow { border-color: transparent; }

/* Automation cards */
.autos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.auto { padding: 24px; gap: 10px; }
.autos > .auto:nth-child(3n+1) { --c: var(--p1); --cf: #fff; }
.autos > .auto:nth-child(3n+2) { --c: var(--p2); --cf: #fff; }
.autos > .auto:nth-child(3n) { --c: var(--p3); --cf: #fff; }
.pms-splose .autos > .auto:nth-child(3n) { --cf: #1d3b12; }
.pms-halaxy .autos > .auto:nth-child(3n) { --cf: #0e0793; }
.pms-halaxy .autos > .auto:nth-child(3n+1) { --c: var(--pink); }
.pms-nookal .autos > .auto:nth-child(3n+2) { --c: var(--p2); }
.auto-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--c); color: var(--cf); box-shadow: 0 10px 20px -12px var(--c); }
.auto h3 { font-size: 1.15rem; letter-spacing: -0.02em; margin-top: 8px; }
.auto p { color: var(--muted); font-size: 15px; }
.auto .uses { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-strong); font: 400 12px/1.6 var(--mono); }
.uses span { display: inline-block; margin-right: 8px; padding: 2px 7px; border-radius: 6px; background: var(--ptint); color: var(--fg); font-weight: 500; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.autos > .auto:hover { border-color: var(--c); }
@media (max-width: 1000px) { .autos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .autos { grid-template-columns: minmax(0, 1fr); } }

/* How Luha connects */
.connect { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.spec { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-top { display: flex; align-items: center; gap: 14px; padding: 22px 26px; background: var(--ptint); border-bottom: 3px solid var(--p1); }
.spec-top img { height: 24px; width: auto; max-width: 38%; }
.spec-top .wire { flex: 1; }
.spec-top .wire::after { background: linear-gradient(90deg, transparent, var(--p1), transparent); }
.spec h2 { font-size: 1.35rem; letter-spacing: -0.02em; padding: 22px 26px 0; }
.spec dl { margin: 12px 26px 22px; display: grid; }
.spec dl > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.spec dt { font: 500 12px/1.5 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.spec dd { margin: 0; font-size: 15px; min-width: 0; }
.rw { display: grid; gap: 16px; }
.rw-block { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px 24px; }
.rw-block h3 { display: flex; align-items: center; gap: 10px; font-size: 1.06rem; letter-spacing: -0.015em; }
.rw-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.rw-dot.r { background: var(--p1); }
.rw-dot.w { background: var(--ok); }
.rw-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rw-list li { font-size: 13.5px; font-weight: 500; padding: 7px 12px; border-radius: 999px; background: var(--bg-tint); border: 1px solid var(--line); }
.rw-note { font-size: 13.5px; color: var(--muted); padding-inline: 4px; }
@media (max-width: 900px) { .connect { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .spec dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } .spec-top, .spec h2 { padding-inline: 18px; } .spec dl { margin-inline: 18px; } }
.others { margin-top: clamp(40px, 6vw, 64px); }
.others-h { margin-bottom: 14px; font: 500 12px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.chip-links a[style] { border-bottom: 3px solid var(--p1); }
.tm { margin-top: 28px; font-size: 12.5px; color: var(--muted); max-width: 52rem; }

/* ---------- Mock-ups (sample data, styled after each PMS) ---------- */
.mk { position: relative; font-family: var(--pfont, var(--font)); background: #fff; color: #1d2330; border-radius: 18px; border: 1px solid rgba(14, 34, 51, 0.08); box-shadow: var(--shadow-lg); overflow: hidden; letter-spacing: 0; }
.mk-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 3px solid var(--p1); background: #fff; }
.mk-bar img { height: 18px; width: auto; }
.mk-title { font-weight: 700; font-size: 14px; }
.mk-sub { margin-left: auto; font-size: 12.5px; color: #6b7280; }
.mk .i { width: 13px; height: 13px; stroke-width: 2.4; }
.mk-toast { position: absolute; z-index: 4; left: 50%; bottom: 14px; translate: -50% 0; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 8px 13px; border-radius: 999px; background: var(--fg); color: #fff; font-size: 12px; font-weight: 600; box-shadow: var(--shadow-lg); }

/* Cliniko-style appointment book */
.ck-book { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) minmax(0, 1fr); gap: 8px; height: 310px; padding: 12px 14px 16px; background: #f5f9fa; }
.ck-gutter { display: flex; flex-direction: column; justify-content: space-between; padding: 34px 0 40px; font-size: 11px; font-weight: 600; color: #8597a1; }
.ck-col { position: relative; background: #fff; border: 1px solid #e0e9ed; border-radius: 10px; }
.ck-h { display: block; padding: 8px 10px; font-size: 12px; font-weight: 700; border-bottom: 1px solid #e0e9ed; }
.ck-appt { position: absolute; left: 6px; right: 6px; overflow: hidden; padding: 6px 8px; border-radius: 7px; border-left: 4px solid; font-size: 11px; line-height: 1.3; }
.ck-appt b { display: block; font-size: 12px; }
.ck-appt small { display: block; font-size: 11px; opacity: .85; }
.c-a { background: #d8eef4; border-color: var(--p1); color: #004f66; }
.c-b { background: #eee5ee; border-color: var(--p3); color: var(--p3); }
.c-c { background: #e4f3e9; border-color: #2e9d5b; color: #1b5c36; }
.c-x { background: #fbe3e9; border-color: var(--p2); color: #8e1d3b; }
.c-x b { text-decoration: line-through; }
.c-n { background: #d8eef4; border-color: var(--p1); color: #004f66; box-shadow: inset 0 0 0 2px rgba(0, 127, 163, 0.3); }
.ck-tag { position: absolute; right: 5px; bottom: 5px; display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 999px; background: #fff; color: #1d7a46; font-size: 10px; font-weight: 700; }
.ck-tag .i { width: 10px; height: 10px; }
.ck-sms { position: absolute; z-index: 3; right: 20px; top: 50px; max-width: 46%; padding: 8px 11px; border-radius: 14px 14px 4px 14px; background: var(--accent); color: #fff; font-size: 11.5px; line-height: 1.35; box-shadow: var(--shadow-sm); }

/* Nookal-style diary and waiting list */
.nk-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 12px; padding: 14px; background: #f3f9fc; }
.nk-diary { display: grid; gap: 8px; align-content: start; }
.nk-row { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 8px; align-items: center; }
.nk-row.nk-stack > .nk-b { grid-area: 1 / 2; }
.nk-t { font-size: 11.5px; font-weight: 700; color: #7b8a96; }
.nk-b { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 46px; padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px solid #d9e8f0; border-left: 4px solid var(--p1); font-size: 12.5px; font-weight: 700; color: #183447; }
.nk-b em { font-style: normal; font-weight: 900; color: var(--p1); }
.nk-x { background: #fff3f1; border-left-color: #e05a47; color: #a3392b; }
.nk-ok { background: #e6f7f3; border-left-color: var(--p3); color: #0e6a5b; }
.nk-full { background: #e1f4fa; }
.nk-full em { color: var(--p2); }
.nk-wait { display: grid; gap: 8px; align-content: start; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid #d9e8f0; }
.nk-wh { font-size: 11.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--p2); }
.nk-card { display: grid; padding: 8px 10px; border-radius: 8px; background: #f3f9fc; font-size: 12.5px; }
.nk-card small { font-size: 11.5px; color: #6b7c88; }
.nk-card.nk-stack > b { grid-area: 1 / 1; }
.nk-card.nk-stack > small { grid-area: 2 / 1; }
.nk-chip { grid-area: 3 / 1; justify-self: start; display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 4px 8px; border-radius: 999px; background: var(--p1); color: #fff; font-size: 11px; font-weight: 700; }
.nk-chip.done { background: var(--p3); }
@media (max-width: 480px) { .nk-grid { grid-template-columns: minmax(0, 1fr); } .nk-wait .nk-card:nth-child(n+3) { display: none; } }

/* coreplus-style client journey */
.mk-coreplus .mk-bar { background: linear-gradient(90deg, #fff1e6, #fff); }
.cp-body { display: grid; gap: 16px; padding: 18px 16px; }
.cp-client { display: flex; align-items: center; gap: 12px; }
.cp-av { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--p1); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 0 0 4px #ffe4d0; }
.cp-client b { display: block; font-size: 14px; }
.cp-client small { font-size: 12px; color: #6b7280; }
.cp-pipe { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.cp-pipe::before { content: ""; position: absolute; left: 8%; right: 8%; top: 11px; height: 2px; background: #f1e7df; }
.cp-step { position: relative; display: grid; justify-items: center; gap: 7px; text-align: center; font-size: 10.5px; font-weight: 500; line-height: 1.25; color: #4a5464; }
.cp-step i { width: 22px; height: 22px; border-radius: 50%; background: var(--c, var(--p1)); box-shadow: 0 0 0 4px #fff; transition: background-color .4s; }
.cp-step:nth-child(2), .cp-step:nth-child(5) { --c: var(--p3); }
.cp-step:nth-child(4) { --c: var(--p2); }
.seq .cp-step[data-s]:not(.show) { opacity: .4; transform: none; }
.seq .cp-step:not(.show) i { background: #e9e3de; }
.cp-log { display: grid; gap: 6px; }
.cp-log p { display: flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 12px; background: #fbfaf9; border: 1px solid #f0ece9; font-size: 12.5px; }
.cp-log i { width: 8px; height: 8px; flex: none; border-radius: 50%; }
@media (max-width: 420px) { .cp-step { font-size: 9.5px; } .cp-pipe { gap: 2px; } }
.d1 { background: var(--p1); } .d2 { background: var(--p2); } .d3 { background: var(--p3); }

/* Halaxy-style galaxy */
.mk-halaxy { height: 370px; border-radius: 24px; background: radial-gradient(circle at 50% 50%, #2a25cc 0%, #0e0793 45%, #070350 100%); border-color: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: 0 40px 80px -36px rgba(4, 2, 50, 0.8); }
.hx-stars { position: absolute; inset: 0; opacity: .85; animation: twinkle 3.5s ease-in-out infinite alternate;
  background-image: radial-gradient(1.6px 1.6px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 28% 78%, #fff, transparent), radial-gradient(1.4px 1.4px at 44% 12%, #ecbcfa, transparent), radial-gradient(1px 1px at 63% 88%, #fff, transparent), radial-gradient(1.8px 1.8px at 82% 30%, #fff, transparent), radial-gradient(1px 1px at 90% 70%, #ecbcfa, transparent), radial-gradient(1.2px 1.2px at 6% 60%, #fff, transparent), radial-gradient(1px 1px at 52% 52%, #fff, transparent), radial-gradient(1.3px 1.3px at 72% 8%, #fff, transparent), radial-gradient(1px 1px at 36% 42%, #fff, transparent); }
@keyframes twinkle { to { opacity: .4; } }
.hx-orbit { position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; border: 1px dashed rgba(236, 188, 250, 0.38); animation: spin 26s linear infinite; }
.o1 { width: 196px; height: 196px; }
.o2 { width: 316px; height: 316px; animation-duration: 44s; animation-direction: reverse; }
.pl { position: absolute; border-radius: 50%; }
.p1 { width: 14px; height: 14px; top: -7px; left: calc(50% - 7px); background: var(--p2); box-shadow: 0 0 16px var(--p2); }
.p2 { width: 12px; height: 12px; bottom: 12%; left: 5%; background: var(--p3); box-shadow: 0 0 14px var(--p3); }
.p3 { width: 18px; height: 18px; top: 12%; right: 4%; background: var(--p1); box-shadow: 0 0 18px var(--p1); }
.hx-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 118px; height: 118px; border-radius: 50%; background: #fff; display: grid; place-content: center; justify-items: center; gap: 4px; box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.08), 0 0 60px rgba(46, 82, 255, 0.65); }
.hx-core img { height: 20px; width: auto; }
.hx-core small { font-size: 11px; font-weight: 600; color: #0e0793; }
.hx-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; max-width: 210px; padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.97); color: #0e0793; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.55); font-size: 12px; line-height: 1.3; }
.hx-card b { display: block; font-size: 12.5px; }
.hx-card small { font-size: 11px; color: #5a58a8; }
.hx-card > i { width: 10px; height: 10px; flex: none; border-radius: 50%; }
.b1 { background: var(--p1); } .b2 { background: var(--p2); } .b3 { background: #b56bd6; }
.k1 { left: 5%; top: 7%; } .k2 { right: 5%; top: 21%; } .k3 { left: 5%; bottom: 17%; } .k4 { right: 5%; bottom: 6%; }
@media (max-width: 480px) { .mk-halaxy { height: 350px; } .hx-card { max-width: 47%; padding: 8px 10px; gap: 8px; } .o2 { width: 250px; height: 250px; } .o1 { width: 170px; height: 170px; } .hx-core { width: 100px; height: 100px; } }

/* Splose-style case and waitlist */
.mk-splose { background: #fffef7; border-radius: 26px; border-color: #e4e3c4; }
.mk-splose .mk-bar { background: #fffef7; border-bottom: 1px solid #ecebd0; }
.sp-body { display: grid; gap: 12px; padding: 16px; }
.sp-case { display: grid; gap: 10px; padding: 16px; border-radius: 20px; background: #fff; border: 1px solid #ecebd0; }
.sp-top { display: flex; align-items: center; gap: 8px; }
.sp-top b { font-size: 14.5px; color: var(--p1); }
.sp-pill { padding: 4px 9px; border-radius: 999px; background: var(--p2); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.sp-meter { position: relative; height: 12px; border-radius: 999px; background: #eef0d4; overflow: hidden; }
.sp-meter i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 999px; background: var(--p1); transform-origin: left; }
.m0 { width: 62%; }
.m1 { width: 84%; background: linear-gradient(90deg, var(--p1) 70%, #c98a1b); }
.seq .sp-meter .m1[data-s]:not(.show) { opacity: 1; transform: scaleX(.738); }
.sp-stack { display: grid; }
.sp-nums > span { grid-area: 1 / 1; font-size: 12.5px; font-weight: 600; color: #3a4a3e; background: #fff; }
.sp-alert { justify-self: start; padding: 6px 11px; border-radius: 999px; background: var(--p3); color: #1d3b12; font-size: 11.5px; font-weight: 700; }
.sp-wait { padding: 14px 16px; border-radius: 20px; background: var(--p1); color: #fff; }
.sp-wh { margin-bottom: 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--p3); }
.sp-row { gap: 8px; }
.sp-row > span:first-child { grid-area: 1 / 1; }
.sp-row b { display: block; font-size: 13.5px; }
.sp-row small { font-size: 11.5px; color: #cfe3d6; }
.sp-chip { grid-area: 2 / 1; justify-self: start; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--p1); font-size: 11.5px; font-weight: 700; }
.sp-chip.done { background: var(--p3); color: #1d3b12; }

/* Other integrations */
.chip-links { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; font-size: 14.5px; font-weight: 550; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.chip-links a:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.chip-links img { height: 18px; width: auto; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 52rem; }
.faq details { border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--warm-grey); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; min-height: 60px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.02rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { flex: none; color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: -2px; border-radius: var(--r-md); }
.faq .a { padding: 0 20px 20px; color: var(--muted); font-size: 15.5px; max-width: 44rem; }
.faq .a a { color: var(--accent-hover); font-weight: 550; text-underline-offset: 3px; }

/* Tinted section, CTA band */
.tint { background: var(--bg-tint); border-block: 1px solid var(--line); }
.cta-band .sec-head { margin-bottom: 0; }
.cta-band .cta-row { margin-top: 32px; }
.dark .btn-ghost { background: transparent; color: var(--on-navy); border-color: rgba(255, 255, 255, 0.22); }
.dark .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); }
.dark .h2 { color: #fff; }

.nav-links a[aria-current="page"] { color: var(--fg); background: var(--bg-tint); }
@media (max-width: 560px) { .page-hero .cta-row .btn, .cta-band .cta-row .btn { flex: 1 1 100%; } }

/* ---------- Customer stories: tags, signature automation, other builds ---------- */
.built { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.built li { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-hover); }
.built li:nth-child(2) { background: var(--violet-tint); color: var(--violet); }
.built li:nth-child(3) { background: var(--ok-tint); color: var(--ok); }

.cs-feats { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); margin-top: 16px; }
@media (max-width: 1000px) { .cs-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cs-feats { grid-template-columns: minmax(0, 1fr); } }
.services .fine { margin-top: 20px; }

.spot { padding: clamp(18px, 3vw, 36px); border-radius: var(--r-xl); background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.spot::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px 300px at 0% 0%, rgba(28, 129, 162, 0.35), transparent 70%), radial-gradient(420px 260px at 100% 100%, rgba(91, 75, 196, 0.28), transparent 70%); }
.spot > * { position: relative; min-width: 0; }
.spot .mk-cap { color: var(--on-navy-muted); }
.spot-tabs { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(20px, 3vw, 32px); padding-bottom: clamp(16px, 2.4vw, 24px); border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.spot-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05); color: var(--on-navy-muted); font: 600 13.5px/1.2 var(--font); text-align: left; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.spot-tab .i { width: 15px; height: 15px; flex: none; }
.spot-tab:hover { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.spot-tab[aria-selected="true"] { background: #fff; border-color: #fff; color: var(--navy); }
.spot-tab[aria-selected="true"] .i { color: var(--accent); }
.spot-tab:focus-visible { outline: 2px solid #7cc6d9; outline-offset: 2px; }
.spot-panel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; min-height: 360px; }
.spot-panel:not(.on) { display: none; }
.spot-panel.on { animation: spot-in .45s var(--ease); }
@keyframes spot-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .spot-panel.on { animation: none; } }
.spot-k { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: #7cc6d9; }
.spot-k .i { width: 15px; height: 15px; }
.spot-copy h3 { margin-top: 14px; font-size: clamp(1.45rem, 2.6vw, 2rem); letter-spacing: -0.025em; line-height: 1.15; color: #fff; text-wrap: balance; }
.spot-copy p { margin-top: 14px; color: var(--on-navy-muted); font-size: 1.02rem; line-height: 1.65; }
@media (max-width: 960px) { .spot-panel { grid-template-columns: minmax(0, 1fr); min-height: 0; } .spot-copy { order: -1; } }
@media (max-width: 760px) {
  .spot-tabs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: calc(-1 * clamp(18px, 3vw, 36px)); padding-inline: clamp(18px, 3vw, 36px); }
  .spot-tabs::-webkit-scrollbar { display: none; }
  .spot-tab { flex: none; scroll-snap-align: start; }
}

.obs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.ob { padding: 22px 22px 24px; gap: 0; }
.ob-top { display: flex; align-items: center; gap: 10px; }
.ob-top .ic { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--ct, var(--sky)); color: var(--c, var(--brand)); display: grid; place-items: center; }
.ob-top .ic .i { width: 18px; height: 18px; }
.ob-top h3 { font-size: 1.06rem; letter-spacing: -0.015em; }
.ob-pms { margin-left: auto; display: inline-flex; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); }
.ob-pms img { height: 14px; width: auto; }
.ob ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.ob li { display: flex; gap: 9px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.ob li .i { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--c, var(--accent)); stroke-width: 2.4; }
.obs > .card:nth-child(5n+1) { --c: var(--accent); --ct: var(--accent-tint); }
.obs > .card:nth-child(5n+2) { --c: var(--violet); --ct: var(--violet-tint); }
.obs > .card:nth-child(5n+3) { --c: var(--ok); --ct: var(--ok-tint); }
.obs > .card:nth-child(5n+4) { --c: var(--coral); --ct: var(--coral-tint); }
.obs > .card:nth-child(5n+5) { --c: var(--warn); --ct: var(--warn-tint); }
@media (max-width: 1000px) { .obs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .obs { grid-template-columns: minmax(0, 1fr); } }

/* Story mock-ups */
.sx { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px; align-items: start; font-size: 13px; color: #1d2330; text-align: left; }
.sx-col { display: grid; gap: 12px; min-width: 0; }
.sx-win { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); min-width: 0; }
.sx-bar { display: flex; align-items: baseline; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #e6eaef; }
.sx-bar b { font-size: 13px; }
.sx-bar span { margin-left: auto; font-size: 11.5px; color: #6b7280; white-space: nowrap; }
.sx-phone { background: #fff; border-radius: 22px; padding: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); min-width: 0; }
.sx-ph-h { display: flex; align-items: center; gap: 8px; padding: 2px 4px 10px; border-bottom: 1px solid #eef1f5; }
.sx-ph-h > i { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 700 11px/1 var(--font); font-style: normal; }
.sx-ph-h b { font-size: 12.5px; }
.sx-ph-h small { display: block; font-size: 11px; color: #6b7280; }
.sx-thread { display: grid; gap: 7px; padding: 10px 2px 2px; }
.sx-b { margin: 0; max-width: 90%; padding: 8px 11px; border-radius: 14px; font-size: 12.3px; line-height: 1.45; }
.sx-b.them { justify-self: start; background: #eef1f5; border-bottom-left-radius: 4px; }
.sx-b.me { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.sx-ai { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 6px; background: var(--violet); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .04em; vertical-align: 1px; }
.sx-pill { display: inline-flex; align-items: center; gap: 5px; margin: 0 14px 14px; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.sx-pill.ok { background: var(--ok-tint); color: var(--ok); }
.sx-pill.info { background: var(--accent-tint); color: var(--accent-hover); }
.sx .i { width: 13px; height: 13px; stroke-width: 2.6; }
.sx-stack { display: grid; }
.sx-stack > * { grid-area: 1 / 1; }
/* Evolve: treatment note */
.sx-soap { padding: 12px 14px 10px; display: grid; gap: 4px; }
.sx-soap p { margin: 0; font-size: 12.3px; color: #374151; }
.sx-soap em { font-style: normal; font-weight: 700; color: var(--accent); display: inline-block; width: 18px; }
.sx-checks { list-style: none; padding: 4px 0 0 18px; margin: 0; display: grid; gap: 6px; }
.sx-checks li { display: flex; align-items: center; gap: 8px; font-size: 12.3px; font-weight: 600; }
.sx-box { width: 16px; height: 16px; flex: none; border: 1.5px solid #9aa5b1; border-radius: 4px; display: grid; place-items: center; color: var(--accent); font-style: normal; }
.sx-box span { display: grid; }
.sx-vid { display: flex; align-items: center; gap: 10px; justify-self: start; max-width: 90%; padding: 8px 12px 8px 8px; border-radius: 12px; background: #0e2233; color: #fff; text-decoration: none; }
.sx-vid i { width: 32px; height: 32px; flex: none; border-radius: 8px; background: var(--coral); display: grid; place-items: center; }
.sx-vid svg { width: 12px; height: 12px; fill: #fff; }
.sx-vid b { display: block; font-size: 12px; }
.sx-vid small { font-size: 11px; color: #b7c4d1; }
/* Be Podiatry: diary + report */
.sx-diary { padding: 12px 14px; display: grid; gap: 6px; }
.sx-sick { padding: 6px 10px; border-radius: 6px; background: var(--coral-tint); color: var(--coral); border-left: 3px solid var(--coral); font-weight: 700; font-size: 12px; }
.sx-slot { display: flex; gap: 10px; align-items: baseline; padding: 7px 10px; border-radius: 6px; background: var(--accent-tint); border-left: 3px solid var(--accent); }
.sx-slot span { font: 500 11px/1 var(--mono); color: #6b7280; width: 34px; }
.sx-slot b { font-size: 12.3px; }
.sx-mail { padding: 10px 14px 12px; }
.sx-mail p { margin: 0; font-size: 12px; padding: 2px 0; color: #374151; }
.sx-mail p:first-child { margin-bottom: 4px; }
/* Monty: visits + review */
.sx-visits { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 8px; }
.sx-visits li { display: flex; align-items: center; gap: 10px; }
.sx-visits i { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }
.sx-visits b { display: block; font-size: 12.5px; }
.sx-visits small { font-size: 11px; color: #6b7280; }
.sx-stars { justify-self: start; display: grid; gap: 2px; padding: 8px 11px; border-radius: 12px; border: 1px solid #eef1f5; }
.sx-stars span { color: #f5a623; font-size: 17px; letter-spacing: 2px; }
.sx-stars small { font-size: 11.5px; color: #6b7280; font-style: italic; }
/* Active Foot: appointment */
.sx-appt { display: grid; padding: 12px 14px; }
.sx-ap { grid-area: 1 / 1; padding: 9px 11px; border-radius: 8px; background: var(--accent-tint); border-left: 3px solid var(--accent); }
.sx-ap b { display: block; font-size: 13px; }
.sx-ap small { font-size: 11.5px; color: #4b5563; }
.sx-ap.x { background: var(--coral-tint); border-color: var(--coral); }
.sx-ap.x b { text-decoration: line-through; }
.sx-ap.ok { background: var(--ok-tint); border-color: var(--ok); }
/* Fix My Muscles: recall */
.sx-recall { margin: 0; padding: 12px 14px 0; display: grid; gap: 6px; }
.sx-recall > div { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 8px; align-items: baseline; }
.sx-recall dt { font: 500 10.5px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: #6b7280; }
.sx-recall dd { margin: 0; font-size: 13px; font-weight: 700; }
.sx-recall dd .sx-stack > * { background: #fff; }
.sx-notes { margin: 10px 14px 14px; padding-top: 8px; border-top: 1px solid #e6eaef; }
.sx-notes p { margin: 0; padding: 3px 0; font-size: 11.8px; color: #4b5563; }
.sx-notes .sx-nh { font: 500 10.5px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: #6b7280; }
.seq .sx-notes p[data-s]:not(.show) { display: none; }
.sx-feed { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 9px; }
.sx-feed li { display: flex; align-items: center; gap: 8px; font-size: 12.3px; }
.sx-feed i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent); }
.sx-feed i.f2 { background: var(--ok); }
.sx-feed i.f3 { background: var(--coral); }
/* Doveston: live availability + call */
.sx-avail { padding: 12px 14px; display: grid; gap: 10px; }
.sx-pr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sx-pr b { font-size: 12.5px; }
.sx-pr small { font-size: 11px; color: #6b7280; margin-right: auto; }
.sx-pr > b + small { flex-basis: 100%; margin-top: -4px; }
.sx-sl { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent-hover); font-size: 11.5px; font-weight: 600; background: #fff; }
.sx-sl.sx-stack { padding: 0; border: 0; }
.sx-sl.sx-stack > span { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--accent); background: #fff; text-align: center; }
.sx-sl.sx-stack > .bk { background: var(--ok); border-color: var(--ok); color: #fff; }
.sx-dov .sx-pill { margin-top: 0; }
.sx-call .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(19, 138, 91, 0.5); animation: sxpulse 1.6s infinite; }
@keyframes sxpulse { 70% { box-shadow: 0 0 0 8px rgba(19, 138, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(19, 138, 91, 0); } }
@media (prefers-reduced-motion: reduce) { .sx-call .pulse { animation: none; } }
@media (max-width: 560px) { .sx { grid-template-columns: minmax(0, 1fr); } }

/* ---------- PracSuite: sky hero, recall-to-booking mock ---------- */
.hero-sky { background: linear-gradient(180deg, var(--ptint) 0%, #fff 90%); }
.hero-sky .hero-grid { opacity: .5; }
.mk-pracsuite { border-radius: 14px; border-color: #d6eefa; }
.mk-pracsuite .mk-bar { border-bottom: 1px solid #d6eefa; background: linear-gradient(90deg, var(--ptint), #fff); }
.mk-pracsuite .mk-title { color: var(--pink); }
.ps-body { display: grid; gap: 12px; padding: 16px; }
.ps-recall { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; border: 1px solid #d6eefa; }
.ps-av { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--p1); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.ps-recall b { display: block; font-size: 13.5px; color: var(--pink); }
.ps-recall small { font-size: 11.5px; color: #5b6785; }
.ps-st { margin-left: auto; }
.ps-stack { display: grid; }
.ps-stack > * { grid-area: 1 / 1; }
.ps-st > span { padding: 4px 10px; border-radius: 999px; background: #fff3d6; color: #8a5a00; font-size: 11.5px; font-weight: 700; text-align: center; }
.ps-st > .ok { background: #e2f5ec; color: #138a5b; }
.ps-flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.ps-slot > span { padding: 12px; border-radius: 12px; background: var(--ptint); border: 1px dashed var(--p2); }
.ps-slot small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--p1); }
.ps-slot b { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 13px; color: var(--pink); }
.ps-slot .held { background: #fff7e0; border: 1px solid #f0c66b; }
.ps-slot .held small { color: #8a5a00; }
.ps-slot .done { background: #e2f5ec; border: 1px solid #9fd8bd; }
.ps-slot .done small, .ps-slot .done .i { color: #138a5b; }
.ps-sms { display: grid; gap: 6px; }
.ps-sms p { margin: 0; padding: 8px 10px; border-radius: 12px; font-size: 12px; line-height: 1.45; }
.ps-sms .out { background: #eef1f5; border-bottom-left-radius: 4px; }
.ps-sms .in { justify-self: end; background: var(--p1); color: #fff; font-weight: 700; border-bottom-right-radius: 4px; }
.ps-task { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--pink); color: #fff; }
.ps-task i { width: 12px; height: 12px; flex: none; border-radius: 3px; border: 2px solid var(--p2); }
.ps-task b { display: block; font-size: 12.5px; }
.ps-task small { font-size: 11.5px; color: #b9c6dd; }
@media (max-width: 420px) { .ps-flow { grid-template-columns: minmax(0, 1fr); } }

/* Shared parts of the per-automation illustrations */
.sx.one { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; width: 100%; }
.sx-rows { list-style: none; margin: 0; padding: 10px 14px 12px; display: grid; gap: 8px; }
.sx-rows li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: #f6f8fa; }
.sx-rows li > span:first-child { min-width: 0; }
.sx-rows b { display: block; font-size: 12.5px; }
.sx-rows small { display: block; font-size: 11px; color: #6b7280; }
.sx-tag, .sx-val { margin-left: auto; flex: none; max-width: 62%; padding: 4px 9px; border-radius: 999px; font: 600 11px/1.3 var(--font); font-style: normal; text-align: center; }
.sx-val { background: #fff; border: 1px solid #e6eaef; color: #1d2330; }
.sx-tag.ok { background: var(--ok-tint); color: var(--ok); }
.sx-tag.bad { background: var(--coral-tint); color: var(--coral); }
.sx-tag.warn { background: #fff3d6; color: #8a5a00; }
.sx-tag.info { background: var(--accent-tint); color: var(--accent-hover); }
.sx-tag.dim { background: #eef1f5; color: #6b7280; }
.sx-st { margin-left: auto; display: grid; flex: none; max-width: 62%; }
.sx-st > * { grid-area: 1 / 1; margin-left: 0; max-width: none; }
.sx-bars { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 11px; }
.sx-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: 12px; }
.sx-bars li > b { font-size: 12.5px; }
.sx-bars .bar { grid-column: 1 / -1; position: relative; height: 8px; border-radius: 999px; background: #eef1f5; overflow: hidden; }
.sx-bars .bar i { position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; transform-origin: left; transition: transform .9s var(--ease); background: var(--accent); }
.sx-bars .bar .c2 { background: var(--violet); }
.sx-bars .bar .c3 { background: var(--ok); }
.sx-bars .bar .c4 { background: var(--coral); }
.seq .sx-bars li[data-s]:not(.show) .bar i { transform: scaleX(0); }
.sx-div { margin: 2px 0; text-align: center; font: 500 10.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: #9aa5b1; }
.sx-text { padding: 12px 14px; }
.sx-text p { margin: 0; font-size: 12.5px; line-height: 1.6; color: #374151; }
.sx-hash { display: inline-block; padding: 1px 6px; border-radius: 5px; background: var(--violet-tint); color: var(--violet); font-weight: 700; }
.sx-pnotes { margin-top: 12px; }
.sx-pnotes .sx-hot { padding: 6px 8px; border-radius: 6px; background: var(--coral-tint); color: var(--coral); font-weight: 600; }
.sx-col > .sx-pill { justify-self: start; margin: 0; }
.sx-report .sx-mail p:first-child b { color: #1d2330; }
