@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600..800&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    --ink: #07161c;
    --ink-soft: #123039;
    --teal-900: #0a3d45;
    --teal-700: #0f6b73;
    --teal-500: #1aa6a8;
    --teal-300: #7ed4d2;
    --sand: #e8dcc8;
    --sand-soft: #f3eee5;
    --mist: #f5f9f8;
    --surface: #ffffff;
    --text: #12252c;
    --text-secondary: #3d5560;
    --text-muted: #6a7f88;
    --text-on-dark: rgba(255, 255, 255, 0.94);
    --text-on-dark-muted: rgba(255, 255, 255, 0.72);
    --border: rgba(15, 107, 115, 0.14);
    --border-strong: rgba(15, 107, 115, 0.26);
    --shadow-md: 0 18px 48px rgba(7, 22, 28, 0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --max-width: 1120px;
    --max-wide: 1280px;
    --header-h: 76px;
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Outfit", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text);
    background: var(--mist);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--teal-500); }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.12;
    letter-spacing: -0.02em;
    font-weight: 600;
    margin: 0;
}

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
.container { width: min(100% - 2rem, var(--max-width)); margin-inline: auto; }
.container-wide { width: min(100% - 2rem, var(--max-wide)); margin-inline: auto; }

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-700);
}
.eyebrow-on-dark { color: var(--teal-300); }
.section-header { text-align: left; max-width: 640px; margin: 0 0 2.5rem; }
.section-header.is-center { text-align: center; margin-inline: auto; }
.section-header h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-top: 0.65rem; }
.section-header p { margin: 0.85rem 0 0; color: var(--text-secondary); font-size: 1.06rem; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    padding: 0.85rem 1.55rem; border-radius: 999px; font-family: var(--font-body);
    font-weight: 600; font-size: 0.95rem; border: 1px solid transparent; cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.875rem; }
.btn-primary {
    background: var(--teal-700);
    color: white;
}
.btn-primary:hover { background: var(--teal-500); color: white; }
.btn-outline {
    background: transparent; color: var(--text); border-color: var(--border-strong);
}
.btn-outline:hover { background: var(--sand-soft); color: var(--ink); }
.btn-outline-light {
    background: rgba(255,255,255,0.08); color: white; border-color: rgba(255,255,255,0.35);
}
.btn-outline-light:hover { color: white; background: rgba(255,255,255,0.14); }
.btn-sand {
    background: var(--sand); color: var(--ink); font-weight: 700;
}
.btn-sand:hover { background: #f0e6d4; color: var(--ink); }
.btn-soft {
    background: rgba(255,255,255,0.92); color: var(--teal-900); border-color: transparent;
}
.btn-soft:hover { background: white; color: var(--teal-700); }

.site-header {
    position: sticky; top: 0; z-index: 50; min-height: var(--header-h); height: auto;
    overflow: visible;
    background: rgba(245, 249, 248, 0.82); backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
    background: rgba(255,255,255,0.94); border-bottom-color: var(--border);
    box-shadow: 0 6px 24px rgba(7,22,28,0.05);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 1.5rem; }
.brand img { height: 34px; width: auto; }
.nav-desktop { display: none; gap: 1.35rem; margin-left: auto; }
.nav-desktop a { color: var(--text-secondary); font-weight: 500; font-size: 0.95rem; white-space: nowrap; }
.nav-desktop a.active, .nav-desktop a:hover { color: var(--teal-700); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.nav-desktop + .nav-actions { margin-left: 0; }
.nav-toggle {
    min-height: 2.45rem;
}
.nav-mobile {
    display: none; flex-direction: column; gap: 0.35rem; padding: 0.75rem 1rem 1.25rem;
    background: white; border-bottom: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 0.65rem 0.4rem; color: var(--text); font-weight: 500; }
.nav-mobile-contact { margin-top: 0.5rem; text-align: center; }
@media (min-width: 960px) {
    .nav-desktop { display: flex; }
    .nav-toggle { display: none; }
    .nav-mobile { display: none !important; }
    .nav-actions { margin-left: 0; }
}
@media (min-width: 960px) and (max-width: 1179px) {
    .header-inner { gap: 1rem; }
    .nav-desktop { gap: 0.8rem; }
    .nav-desktop a { font-size: 0.88rem; }
}

/* —— Product hero —— */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--text-on-dark);
    background:
        radial-gradient(ellipse 70% 55% at 88% 18%, rgba(26,166,168,0.32), transparent 55%),
        radial-gradient(ellipse 45% 40% at 8% 85%, rgba(232,220,200,0.14), transparent 50%),
        linear-gradient(155deg, #06141a 0%, #0b2e36 45%, #0f4f56 100%);
}
.hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(circle at 30% 40%, rgba(126,212,210,0.12), transparent 28%),
        radial-gradient(circle at 70% 65%, rgba(26,166,168,0.1), transparent 30%);
    animation: softPulse 10s ease-in-out infinite;
}
@keyframes softPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}
.hero-media {
    position: absolute; inset: 0; z-index: 0;
    background:
        linear-gradient(105deg, rgba(6,20,26,0.92) 0%, rgba(6,20,26,0.78) 36%, rgba(6,20,26,0.2) 58%, transparent 72%),
        linear-gradient(180deg, transparent 60%, rgba(6,20,26,0.55) 100%),
        url('/images/hero-product.svg') right center / cover no-repeat;
}
.hero-inner {
    position: relative; z-index: 1; padding: 4.5rem 0 5rem; max-width: 36rem;
}
.hero-brand {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 8vw, 4.8rem);
    font-weight: 700; letter-spacing: -0.03em; color: white; margin: 0;
}
.hero-kicker {
    margin: 0.55rem 0 0; color: var(--teal-300); font-weight: 700; letter-spacing: 0.04em; font-size: 0.95rem;
}
.hero h1 {
    font-size: clamp(1.35rem, 2.8vw, 1.9rem); font-weight: 500; max-width: 22ch;
    color: var(--sand); margin: 0.85rem 0 0;
}
.hero-lead {
    max-width: 34rem; margin: 1rem 0 0; color: var(--text-on-dark-muted); font-size: 1.1rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }
.hero-note {
    margin: 1rem 0 0; font-size: 0.92rem; color: rgba(255,255,255,0.62);
}
@media (min-width: 960px) {
    .hero-inner { padding: 5.5rem 0 6rem; }
}

.section, .band { padding: 4.75rem 0; }
.section-cta { margin-top: 2rem; }
.band-muted, .trust-section { background: linear-gradient(180deg, var(--mist), var(--sand-soft)); }
.features-preview { background: var(--surface); }
.pricing-teaser { background: var(--mist); }
.testimonials-section { background: var(--sand-soft); }

.trust-grid, .feature-detail-grid {
    display: grid; gap: 1.75rem;
}
@media (min-width: 800px) {
    .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
    .feature-detail-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}
.trust-item h3, .feature-detail h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.trust-item p, .feature-detail p { margin: 0; color: var(--text-secondary); }

.feature-rows { display: grid; gap: 2rem; }
.feature-row {
    display: grid; gap: 1rem; padding: 1.75rem 0;
    border-top: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 800px) {
    .feature-row { grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start; }
}
.feature-copy h3 { font-size: 1.4rem; margin-bottom: 0.55rem; }
.feature-copy p { margin: 0; color: var(--text-secondary); }
.feature-points {
    margin: 0; padding-left: 1.1rem; color: var(--text-secondary);
}
.feature-points li { margin: 0.35rem 0; }

.ndis-band {
    background: linear-gradient(155deg, var(--ink), var(--teal-900));
    color: var(--text-on-dark);
}
.ndis-band-inner { max-width: 40rem; }
.ndis-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0.7rem 0 0; color: white; }
.ndis-band p { color: var(--text-on-dark-muted); margin: 1rem 0 1.5rem; }

.pricing-grid {
    display: grid; gap: 1.25rem;
}
@media (min-width: 720px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
}
@media (min-width: 1100px) {
    .pricing-grid { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
}
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem 1.45rem;
    display: flex; flex-direction: column; gap: 0.65rem;
    position: relative;
}
.pricing-card h3 { font-size: 1.35rem; }
.pricing-card .price {
    font-family: var(--font-display); margin: 0.2rem 0;
    color: var(--text); font-size: 1rem;
}
.pricing-card .price span {
    font-size: 2.35rem; font-weight: 700; letter-spacing: -0.02em;
}
.pricing-card .price small { font-size: 0.95rem; color: var(--text-muted); margin-left: 0.15rem; }
.pricing-blurb, .pricing-card > p { margin: 0; color: var(--text-secondary); }
.pricing-list {
    margin: 0.5rem 0 1rem; padding-left: 1.1rem; color: var(--text-secondary); flex: 1;
}
.pricing-list li { margin: 0.4rem 0; }
.pricing-card .btn { margin-top: auto; align-self: flex-start; }
.pricing-card--featured {
    background: linear-gradient(165deg, var(--teal-900), var(--teal-700));
    border-color: transparent; color: white;
    box-shadow: var(--shadow-md);
}
.pricing-card--featured .price,
.pricing-card--featured .pricing-blurb,
.pricing-card--featured p,
.pricing-card--featured li { color: rgba(255,255,255,0.88); }
.pricing-card--featured .price span { color: white; }
.pricing-card--featured .price small { color: rgba(255,255,255,0.7); }
.pricing-badge {
    position: absolute; top: 1rem; right: 1rem;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    background: var(--sand); color: var(--ink); padding: 0.3rem 0.65rem; border-radius: 999px;
}
.pricing-footnote {
    margin-top: 2rem; text-align: center; color: var(--text-secondary); font-size: 0.95rem;
}

.testimonials-grid {
    display: grid; gap: 1.25rem;
}
@media (min-width: 800px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
    margin: 0; padding: 1.5rem 1.35rem;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.testimonial p { margin: 0; color: var(--text-secondary); font-size: 1.02rem; }
.testimonial footer {
    margin-top: 1.1rem; display: grid; gap: 0.15rem;
}
.testimonial strong { font-family: var(--font-display); color: var(--text); }
.testimonial span { color: var(--text-muted); font-size: 0.9rem; }

.home-cta { padding-top: 0; }
.cta-panel {
    display: grid; gap: 1.5rem; align-items: center;
    padding: 2.25rem 1.75rem;
    border-radius: calc(var(--radius) + 4px);
    background: linear-gradient(145deg, var(--ink), var(--teal-900));
    color: var(--text-on-dark);
}
.cta-panel h2 { color: white; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-panel p { margin: 0.7rem 0 0; color: var(--text-on-dark-muted); max-width: 36rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 800px) {
    .cta-panel { grid-template-columns: 1.4fr auto; padding: 2.5rem; }
}

.page-hero {
    padding: 3.75rem 0 2.25rem;
    background:
        radial-gradient(ellipse 55% 80% at 90% 0%, rgba(126,212,210,0.28), transparent 55%),
        linear-gradient(180deg, #e7f3f3, var(--mist));
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.85rem); max-width: 18ch; }
.page-hero p { max-width: 40rem; color: var(--text-secondary); margin-top: 0.9rem; }
.content-page { padding: 1rem 0 4.75rem; }

.cta-band {
    margin-top: 3rem; padding: 1.75rem;
    border-radius: var(--radius);
    background: var(--sand-soft);
    display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.cta-band p { margin: 0; color: var(--text-secondary); max-width: 36rem; }

.feature-grid { display: grid; gap: 1.75rem; }
@media (min-width: 800px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-item {
    padding-top: 0.25rem;
}
.feature-item h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.feature-item p { margin: 0; color: var(--text-secondary); }

.prose { max-width: 720px; }
.prose h2 { font-size: 1.45rem; margin: 2rem 0 0.65rem; }
.prose h3 { font-size: 1.1rem; margin: 1.35rem 0 0.5rem; }
.prose p { color: var(--text-secondary); }
.prose ul { color: var(--text-secondary); }
.legal-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin: 1.15rem 0 0;
    font-weight: 700;
}
.legal-switch a.active { text-decoration: underline; text-underline-offset: 0.28rem; }
.legal-callout {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.15rem;
    margin: 1.25rem 0;
    background: var(--mist);
}
.legal-callout p:last-child,
.legal-callout ul:last-child { margin-bottom: 0; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.65rem; }

.steps { display: grid; gap: 1.5rem; counter-reset: step; margin-top: 0.5rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.step::before {
    counter-increment: step; content: counter(step);
    display: flex; align-items: center; justify-content: center;
    width: 2.25rem; height: 2.25rem; border-radius: 999px;
    background: var(--teal-700); color: white; font-weight: 700; font-size: 0.9rem;
    margin-bottom: 1rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.45rem; }
.step p { margin: 0; color: var(--text-secondary); }

.contact-form {
    display: grid; gap: 0.9rem; max-width: 560px;
    background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem;
}
.contact-form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.9rem; }
.contact-form input, .contact-form textarea, .contact-form select {
    border: 1px solid var(--border-strong); border-radius: 10px; padding: 0.75rem 0.85rem;
    font: inherit; background: var(--mist);
}
.contact-form textarea { min-height: 140px; resize: vertical; }

.itcms-calc {
    display: grid;
    gap: 1.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.4rem;
}
@media (min-width: 900px) {
    .itcms-calc { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}
.itcms-calc-fields { display: grid; gap: 1rem; }
.itcms-calc-fields label,
.itcms-calc-fields legend {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
}
.itcms-calc-fields fieldset { border: 0; margin: 0; padding: 0; }
.itcms-calc-fields input {
    font: inherit;
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    background: var(--mist);
    color: var(--text);
    width: 100%;
}
.itcms-calc-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.itcms-calc-tiers button {
    border: 1px solid var(--border-strong);
    background: var(--mist);
    border-radius: 10px;
    padding: 0.65rem 0.4rem;
    cursor: pointer;
    display: grid;
    gap: 0.15rem;
    font: inherit;
}
.itcms-calc-tiers button strong { font-size: 0.88rem; }
.itcms-calc-tiers button span { font-size: 0.78rem; color: var(--text-secondary); }
.itcms-calc-tiers button.is-active {
    border-color: var(--teal-700);
    background: var(--sand-soft);
}
.itcms-calc-result {
    background: var(--ink);
    color: var(--text-on-dark);
    border-radius: var(--radius);
    padding: 1.4rem 1.3rem;
}
.itcms-calc-kicker, .itcms-calc-hint {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--sand);
}
.itcms-calc-hint { color: var(--text-on-dark-muted); text-transform: none; letter-spacing: 0; }
.itcms-calc-compare {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}
@media (min-width: 560px) {
    .itcms-calc-compare { grid-template-columns: 1fr 1fr; }
}
.itcms-calc-total {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 0.95rem 1rem;
}
.itcms-calc-total .itcms-calc-amount {
    font-size: clamp(1.85rem, 3.6vw, 2.45rem);
}
.itcms-calc-total.is-cheaper .itcms-calc-kicker,
.itcms-calc-total.is-cheaper .itcms-calc-amount,
.itcms-calc-total.is-cheaper .itcms-calc-year {
    color: #4ade80;
}
.itcms-calc-split {
    margin: 0 0 1rem;
    color: white;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.itcms-calc-amount {
    margin: 0.35rem 0 0;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
    color: white;
}
.itcms-calc-amount small { font-size: 1rem; font-weight: 600; margin-left: 0.35rem; color: var(--text-on-dark-muted); }
.itcms-calc-year { margin: 0.55rem 0 1rem; color: var(--text-on-dark-muted); }
.itcms-calc-result ul {
    margin: 0 0 1.25rem;
    padding-left: 1.1rem;
    color: var(--text-on-dark-muted);
    display: grid;
    gap: 0.4rem;
}
.itcms-calc-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-status { margin: 0.85rem 0 0; font-weight: 600; }
.contact-status.is-success { color: var(--teal-700); }
.contact-status.is-error { color: #b91c1c; }
.contact-status:not([hidden]) { display: block; }

.faq-list { display: grid; gap: 0.75rem; max-width: 760px; margin: 0 auto; }
.faq-item {
    background: white; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.15rem;
}
.faq-item summary { cursor: pointer; font-weight: 600; font-family: var(--font-display); }
.faq-item p { margin: 0.7rem 0 0; color: var(--text-secondary); }

.site-footer {
    background: var(--ink); color: var(--text-on-dark-muted); padding: 3.5rem 0 1.5rem; margin-top: auto;
}
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { height: 32px; width: auto; margin-bottom: 1rem; }
.footer-tagline { color: var(--sand); font-family: var(--font-display); font-weight: 600; margin: 0 0 0.75rem; }
.footer-label {
    font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
    color: var(--teal-300); margin-bottom: 0.85rem;
}
.footer-links { display: grid; gap: 0.45rem; }
.footer-links a, .site-footer a { color: var(--text-on-dark); }
.footer-list { margin: 0; padding-left: 1.1rem; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
    margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.88rem;
}

/* Communications / Dialpad feature */
.comms-feature { background: linear-gradient(180deg, var(--surface), var(--mist)); }
.comms-feature-grid {
    display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 960px) {
    .comms-feature-grid { grid-template-columns: 1.05fr 1fr; gap: 3rem; }
}
.comms-feature-copy h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.45rem);
    margin: 0.7rem 0 0;
}
.comms-feature-copy > p {
    margin: 1rem 0 1.25rem;
    color: var(--text-secondary);
    max-width: 36rem;
}
.comms-feature-points {
    margin: 0; padding-left: 1.15rem; color: var(--text-secondary);
}
.comms-feature-points li { margin: 0.4rem 0; }
.comms-feature-stage { position: relative; }
.comms-hub {
    position: relative;
    padding: 1.35rem 1.25rem 1.5rem;
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 12% 0%, rgba(26, 166, 168, 0.18), transparent 42%),
        radial-gradient(circle at 90% 100%, rgba(15, 107, 115, 0.14), transparent 40%),
        linear-gradient(165deg, #fff, var(--sand-soft));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.comms-hub-case {
    display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.1rem;
}
.comms-avatar {
    width: 2.5rem; height: 2.5rem; border-radius: 999px;
    display: grid; place-items: center;
    background: var(--teal-500); color: #fff; font-weight: 700; font-size: 0.85rem;
}
.comms-hub-case strong { display: block; font-size: 0.95rem; color: var(--ink); }
.comms-hub-case small { color: var(--text-muted); font-size: 0.8rem; }
.comms-channels {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; margin-bottom: 1rem;
}
.comms-channel {
    position: relative;
    display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
    padding: 0.85rem 0.4rem; border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.88); border: 1px solid var(--border);
    font-size: 0.78rem; font-weight: 600; color: var(--ink-soft);
}
.comms-channel span {
    width: 0.45rem; height: 0.45rem; border-radius: 50%;
    background: currentColor; opacity: 0;
    animation: commsBlink 3.6s ease-in-out infinite;
}
.comms-channel.is-call { color: var(--teal-500); }
.comms-channel.is-email { color: var(--teal-700); }
.comms-channel.is-msg { color: #b45309; }
.comms-channel.is-call span { animation-delay: 0s; }
.comms-channel.is-email span { animation-delay: 1.2s; }
.comms-channel.is-msg span { animation-delay: 2.4s; }
.comms-flow { position: relative; height: 2.85rem; margin: 0.1rem 0 1rem; }
.comms-packet {
    position: absolute; left: 14%; top: 0.55rem;
    width: 0.85rem; height: 0.85rem; border-radius: 999px;
    opacity: 0; animation: commsTravel 3.6s ease-in-out infinite;
}
.comms-packet.is-call { background: var(--teal-500); animation-delay: 0s; }
.comms-packet.is-email { background: var(--teal-700); animation-delay: 1.2s; }
.comms-packet.is-msg { background: #b45309; animation-delay: 2.4s; }
.comms-targets { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.comms-target {
    padding: 0.85rem 0.9rem; border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.92); border: 1px solid var(--border);
}
.comms-target strong { display: block; font-size: 0.86rem; color: var(--ink); }
.comms-target small { color: var(--text-muted); font-size: 0.75rem; }
.comms-target.is-dialpad strong { color: var(--teal-700); }
.comms-toast {
    position: absolute; z-index: 2;
    display: grid; gap: 0.1rem;
    padding: 0.7rem 0.9rem; border-radius: 12px;
    background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-md);
    opacity: 0; animation: commsToast 3.6s ease-in-out infinite;
}
.comms-toast strong { font-size: 0.82rem; color: var(--ink); }
.comms-toast span { font-size: 0.72rem; color: var(--text-muted); }
.comms-toast.is-call-toast { top: 0.35rem; right: -0.35rem; }
.comms-toast.is-email-toast { bottom: 0.85rem; left: -0.25rem; animation-delay: 1.2s; }
@keyframes commsBlink {
    0%, 8%, 100% { opacity: 0; transform: scale(0.6); }
    12%, 28% { opacity: 1; transform: scale(1); }
    36% { opacity: 0; transform: scale(0.6); }
}
@keyframes commsTravel {
    0%, 8% { opacity: 0; transform: translate(0, 0) scale(0.85); }
    18% { opacity: 1; transform: translate(42%, 0.1rem) scale(1); }
    42% { opacity: 1; transform: translate(155%, 0.3rem) scale(1); }
    52%, 100% { opacity: 0; transform: translate(180%, 0.45rem) scale(0.9); }
}
@keyframes commsToast {
    0%, 10%, 55%, 100% { opacity: 0; transform: translateY(0.35rem); }
    18%, 42% { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .comms-channel span,
    .comms-packet,
    .comms-toast { animation: none !important; opacity: 1; transform: none; }
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
html:not(.js) .reveal { opacity: 1; transform: none; }

#blazor-error-ui {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    background: #a11; color: white; padding: 0.8rem 1rem;
}
#blazor-error-ui .reload { color: white; margin-left: 0.5rem; text-decoration: underline; }

/* —— User guide (/docs) —— */
.docs-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) {
    .docs-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 3rem; }
    .docs-nav { position: sticky; top: calc(var(--header-h) + 1.25rem); }
}
.docs-nav {
    display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem;
    padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
@media (min-width: 960px) { .docs-nav { flex-direction: column; flex-wrap: nowrap; } }
.docs-nav-label {
    width: 100%; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-muted); margin: 0.35rem 0 0.15rem;
}
.docs-nav-label:first-child { margin-top: 0; }
.docs-nav a {
    color: var(--text-secondary); font-weight: 500; font-size: 0.95rem;
    padding: 0.35rem 0.6rem; border-radius: var(--radius-sm);
}
.docs-nav a:hover { background: var(--mist); color: var(--teal-700); }
.docs-nav a.active { background: rgba(26,166,168,0.12); color: var(--teal-900); font-weight: 600; }
.docs-main { min-width: 0; }
.docs-lead { color: var(--text-secondary); margin: 0 0 1.5rem; max-width: 46rem; }
.docs-note { color: var(--text-muted); font-size: 0.92rem; }

.docs-card-grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .docs-card-grid { grid-template-columns: repeat(2, 1fr); } }
.docs-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    color: var(--text); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.docs-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-strong); color: var(--text); }
.docs-card img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--border); }
.docs-card-body { padding: 1.15rem 1.25rem 1.35rem; }
.docs-card-step { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-700); }
.docs-card h2 { font-size: 1.3rem; margin: 0.35rem 0 0.4rem; }
.docs-card p { margin: 0; color: var(--text-secondary); font-size: 0.98rem; }
.docs-card--compact h2 { font-size: 1.15rem; }
.docs-prose { margin-top: 2.5rem; max-width: 46rem; }

.docs-toc {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.5rem; margin: 0 0 2rem;
    font-size: 0.9rem;
}
.docs-toc span { font-weight: 700; color: var(--text-muted); margin-right: 0.25rem; }
.docs-toc a {
    padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--border);
    color: var(--text-secondary); font-weight: 500;
}
.docs-toc a:hover { border-color: var(--teal-500); color: var(--teal-700); }

.doc-step { padding: 0 0 2.5rem; margin: 0 0 2.5rem; border-bottom: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 1rem); }
.doc-step:last-of-type { border-bottom: 0; }
.doc-step h2 { display: flex; align-items: center; gap: 0.75rem; font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 0 0 1rem; }
.doc-step-num {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 2.1rem; height: 2.1rem; border-radius: 999px; background: var(--teal-700); color: white;
    font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; letter-spacing: 0;
}
.doc-step p, .doc-step li { color: var(--text-secondary); max-width: 46rem; }
.doc-step ol, .doc-step ul { padding-left: 1.25rem; margin: 0 0 1.25rem; }
.doc-step li { margin: 0.4rem 0; }
.doc-step li::marker { color: var(--teal-700); font-weight: 700; }

.doc-figure { margin: 1.25rem 0 1.75rem; }
.doc-figure-frame {
    display: block; overflow: hidden; border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong); background: white; box-shadow: 0 10px 30px rgba(7,22,28,0.08);
    transition: box-shadow .2s ease, transform .2s ease;
}
.doc-figure-frame:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.doc-figure-bar { display: flex; gap: 0.35rem; padding: 0.5rem 0.7rem; background: var(--sand-soft); border-bottom: 1px solid var(--border); }
.doc-figure-bar span { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: rgba(15,107,115,0.25); }
.doc-figure figcaption { margin-top: 0.6rem; font-size: 0.9rem; color: var(--text-muted); }
.doc-figure-pair { display: grid; gap: 0 1.25rem; }
@media (min-width: 800px) { .doc-figure-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.doc-callout {
    margin: 1.25rem 0 2rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm);
    background: rgba(126,212,210,0.18); border-left: 4px solid var(--teal-500); color: var(--text-secondary);
}
.doc-callout strong { color: var(--ink-soft); }
.doc-table-wrap { overflow-x: auto; margin: 0 0 1.25rem; }
.doc-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); font-size: 0.95rem; }
.doc-table th, .doc-table td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc-table th { background: var(--sand-soft); font-weight: 600; }
.doc-table td:first-child { font-weight: 600; }
.docs-pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 0.5rem; font-weight: 600; }

/* —— Product tour (/demo) —— */
.tour-section { padding-top: 0.5rem; }
.tour { outline: none; margin-bottom: 3rem; }
.tour-tabs { display: grid; gap: 0.75rem; margin-bottom: 1.25rem; }
@media (min-width: 700px) { .tour-tabs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tour-tabs { grid-template-columns: repeat(4, 1fr); } }
.tour-tab {
    display: flex; align-items: flex-start; gap: 0.75rem; text-align: left; cursor: pointer;
    padding: 0.85rem 1rem; border-radius: var(--radius-sm); font: inherit; color: var(--text);
    background: var(--surface); border: 1px solid var(--border);
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.tour-tab:hover { border-color: var(--border-strong); }
.tour-tab.is-active { border-color: var(--teal-500); background: rgba(126,212,210,0.14); box-shadow: 0 0 0 1px var(--teal-500) inset; }
.tour-tab-num {
    flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.8rem; height: 1.8rem;
    border-radius: 999px; background: var(--sand-soft); color: var(--teal-900); font-weight: 700; font-size: 0.85rem;
}
.tour-tab.is-active .tour-tab-num { background: var(--teal-700); color: white; }
.tour-tab-text { display: grid; gap: 0.1rem; }
.tour-tab-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.tour-tab-text small { color: var(--text-muted); font-size: 0.82rem; line-height: 1.35; }
@media (max-width: 699px) {
    .tour-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.25rem; }
    .tour-tab { flex: 0 0 auto; align-items: center; padding: 0.6rem 0.85rem; scroll-snap-align: start; }
    .tour-tab-text small { display: none; }
    .tour-panel { padding: 1.1rem; }
    .tour-text { min-height: 0; }
}

.tour-stage { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 1100px) { .tour-stage { grid-template-columns: minmax(0, 2.35fr) minmax(280px, 1fr); } }
.tour-screen {
    border-radius: var(--radius); overflow: hidden; background: var(--ink);
    box-shadow: 0 24px 60px rgba(7,22,28,0.22); border: 1px solid rgba(7,22,28,0.6);
}
.tour-chrome { display: flex; align-items: center; gap: 1rem; padding: 0.6rem 0.9rem; background: #0d2229; }
.tour-chrome-dots { display: flex; gap: 0.4rem; }
.tour-chrome-dots span { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: #ff5f57; }
.tour-chrome-dots span:nth-child(2) { background: #febc2e; }
.tour-chrome-dots span:nth-child(3) { background: #28c840; }
.tour-url {
    flex: 1; display: flex; align-items: center; gap: 0.45rem; min-width: 0;
    padding: 0.3rem 0.8rem; border-radius: 999px; background: rgba(255,255,255,0.08);
    color: var(--text-on-dark-muted); font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tour-viewport { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: white; }
.tour-camera {
    position: absolute; inset: 0; transform-origin: 0 0;
    transition: transform 1.1s cubic-bezier(.65, 0, .35, 1);
}
.tour-shot {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity .38s ease;
}
.tour-shot.is-active { opacity: 1; }
.tour-spot {
    position: absolute; border-radius: 10px; pointer-events: none;
    border: 2px solid var(--teal-500);
    box-shadow: 0 0 0 4px rgba(126,212,210,0.45), 0 0 0 200vmax rgba(7,22,28,0.22);
    opacity: 0; transition: opacity .35s ease;
}
.tour-spot.is-visible { opacity: 1; animation: tourPulse 1.8s ease-in-out infinite; }
@keyframes tourPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(126,212,210,0.45), 0 0 0 200vmax rgba(7,22,28,0.22); }
    50% { box-shadow: 0 0 0 9px rgba(126,212,210,0.2), 0 0 0 200vmax rgba(7,22,28,0.22); }
}
.tour-hotspot {
    position: absolute; border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: 10px;
}
.tour-hotspot:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }
.tour-cursor {
    position: absolute; z-index: 3; pointer-events: none; width: 26px; height: 26px;
    transform-origin: 0 0; transform: translate(-3px, -2px) scale(var(--tour-unscale, 1));
    filter: drop-shadow(0 3px 4px rgba(7,22,28,0.35));
    transition: left .95s cubic-bezier(.45, 0, .2, 1), top .95s cubic-bezier(.45, 0, .2, 1), transform 1.1s cubic-bezier(.65, 0, .35, 1);
}
.tour-cursor svg { display: block; transition: transform .15s ease; transform-origin: 4px 3px; }
.tour.is-clicking .tour-cursor svg { transform: scale(0.82); }
.tour-ripple {
    position: absolute; z-index: 2; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
    border: 3px solid var(--teal-500); opacity: 0; pointer-events: none;
}
.tour-ripple.is-active { animation: tourRipple .75s ease-out; }
@keyframes tourRipple {
    0% { opacity: 0.9; transform: scale(0.3); }
    100% { opacity: 0; transform: scale(1.6); }
}

.tour-panel {
    display: flex; flex-direction: column; gap: 0.9rem;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem;
}
.tour-count { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-700); }
.tour-panel h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.tour-text { margin: 0; color: var(--text-secondary); min-height: 5.2em; }
.tour-dots { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem; }
.tour-dots li { flex: 1 1 14px; max-width: 48px; }
.tour-dots button {
    display: block; width: 100%; height: 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer; overflow: hidden;
    background: rgba(15,107,115,0.16);
}
.tour-dots button span { display: block; height: 100%; width: 0; background: var(--teal-500); border-radius: inherit; }
.tour-dots button.is-done span { width: 100%; background: var(--teal-700); }
.tour-dots button.is-current.is-timing span { animation: tourFill linear forwards; animation-play-state: paused; }
.tour.is-playing .tour-dots button.is-current.is-timing span { animation-play-state: running; }
@keyframes tourFill { from { width: 0; } to { width: 100%; } }
.tour-dots button:focus-visible { outline: 2px solid var(--teal-700); outline-offset: 2px; }
.tour-controls { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tour-controls .btn:disabled { opacity: 0.45; cursor: default; transform: none; }
.btn-soft-teal { background: rgba(26,166,168,0.14); color: var(--teal-900); border-color: transparent; }
.btn-soft-teal:hover { background: rgba(26,166,168,0.24); color: var(--teal-900); }
.tour-icon-play { display: none; }
.tour [data-tour-play][aria-pressed="false"] .tour-icon-play { display: inline; }
.tour [data-tour-play][aria-pressed="false"] .tour-icon-pause { display: none; }
.tour-end { padding: 1rem; border-radius: var(--radius-sm); background: var(--sand-soft); }
.tour-end[hidden] { display: none; }
.tour-end p { margin: 0 0 0.75rem; color: var(--text-secondary); }
.tour-end-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tour-hint { margin: 0; font-size: 0.85rem; color: var(--text-muted); }
.tour-guide-link { font-weight: 600; }
.tour-noscript { padding: 1rem; background: var(--sand-soft); border-radius: var(--radius-sm); }
.tour-guides { margin-bottom: 0.5rem; }
@media (min-width: 1100px) { .tour-guides { grid-template-columns: repeat(4, 1fr); } }

@media (prefers-reduced-motion: reduce) {
    .tour-camera, .tour-cursor, .tour-shot, .tour-spot { transition: none; }
    .tour-spot.is-visible, .tour-ripple.is-active { animation: none; }
}

/* —— Brand: ecomap mark + Bricolage wordmark —— */
:root {
    --font-brand: "Bricolage Grotesque", var(--font-body);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; flex: none; }
.brand:hover { color: var(--ink); }
.brand .brand-mark { width: 36px; height: 36px; transition: transform .5s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-24deg); }
.brand-word { font-family: var(--font-brand); font-size: 1.45rem; font-weight: 750; letter-spacing: -0.035em; line-height: 1; }
.brand-on-dark, .brand-on-dark:hover { color: #fff; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand .brand img { margin-bottom: 0; }
@media (max-width: 400px) {
    .brand .brand-mark { width: 30px; height: 30px; }
    .brand-word { font-size: 1.2rem; }
}

/* —— Footer wordmark —— */
.footer-wordmark {
    margin: clamp(2.5rem, 5vw, 4rem) auto 0;
    font-family: var(--font-brand); font-weight: 800; letter-spacing: -0.06em; line-height: 0.78;
    font-size: clamp(4.5rem, 21vw, 19rem); color: #fff; opacity: 0.08;
    white-space: nowrap; overflow: hidden; user-select: none;
}

/* —— Home hero ecomap —— */
.hero-grid { display: grid; gap: 0 3rem; align-items: center; }
.hero-grid .hero-inner { padding-bottom: 1.5rem; }
@media (min-width: 1000px) {
    .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
    .hero-grid .hero-inner { padding-bottom: 6rem; }
}
.ecomap { position: relative; z-index: 1; margin: 0 0 3.5rem; }
@media (min-width: 1000px) { .ecomap { margin: 3rem 0; } }
@media (max-width: 999px) { .ecomap { width: 100%; max-width: 34rem; margin-inline: auto; } }
.ecomap-svg { width: 100%; height: auto; display: block; overflow: visible; touch-action: manipulation; }
.ecomap-tie {
    fill: none; stroke: var(--sand); stroke-linecap: round;
    stroke-dasharray: 1; stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.1s var(--ease-out), stroke .3s ease;
}
.ecomap-tie.is-strong { stroke-width: 7; }
.ecomap-tie.is-normal { stroke-width: 3.5; }
.ecomap-tie.is-pending { stroke-width: 3.5; stroke: rgba(255, 255, 255, 0.45); }
.ecomap.is-drawn .ecomap-tie { stroke-dashoffset: 0; }
.ecomap.is-drawn .ecomap-tie.is-pending { stroke-dasharray: 0.035 0.03; animation: tieWait 2.4s linear infinite; }
@keyframes tieWait { to { stroke-dashoffset: -0.13; } }
.ecomap-tie.is-lit { stroke: var(--teal-300); }
.ecomap-centre-ring { fill: none; stroke: var(--sand); stroke-width: 2; stroke-dasharray: 4 7; transform-origin: 320px 300px; animation: ringTurn 40s linear infinite; }
@keyframes ringTurn { to { transform: rotate(360deg); } }
.ecomap-centre-disc { fill: var(--sand); }
.ecomap-centre-name { fill: var(--ink); font: 700 24px/1 var(--font-brand); text-anchor: middle; letter-spacing: -0.02em; }
.ecomap-centre-role { fill: var(--ink-soft); font: 500 15px/1 var(--font-body); text-anchor: middle; }
.ecomap-node { cursor: pointer; outline: none; }
.ecomap-node-disc {
    stroke: #0b2e36; stroke-width: 5;
    transform-box: fill-box; transform-origin: center; transform: scale(0);
    transition: transform .6s var(--ease-out);
}
.ecomap.is-drawn .ecomap-node-disc { transform: scale(1); }
.ecomap-node-label { font: 650 17px/1 var(--font-brand); text-anchor: middle; pointer-events: none; opacity: 0; transition: opacity .4s ease .2s; fill: var(--ink); }
.ecomap.is-drawn .ecomap-node-label { opacity: 1; }
/* Site palette: teal for the coordinator, light teal for close supports, sand for agencies,
   outlined teal for supports still being waited on. */
.ecomap-node.is-ink .ecomap-node-disc { fill: var(--teal-500); }
.ecomap-node.is-green .ecomap-node-disc { fill: var(--teal-300); }
.ecomap-node.is-coral .ecomap-node-disc { fill: var(--sand); }
.ecomap-node.is-sun .ecomap-node-disc { fill: var(--teal-900); stroke: var(--teal-300); stroke-width: 3; }
.ecomap-node.is-sun .ecomap-node-label { fill: var(--sand); }
.ecomap-node:hover .ecomap-node-disc,
.ecomap-node.is-selected .ecomap-node-disc { stroke: var(--sand); stroke-width: 5; transform: scale(1.08); }
.ecomap-node:focus-visible .ecomap-node-disc { stroke: #fff; stroke-width: 6; transform: scale(1.08); }
.ecomap-pulse { fill: var(--sand); stroke: #0b2e36; stroke-width: 3; }
.ecomap-pulse.is-email { fill: var(--teal-300); }
.ecomap-pulse.is-sms { fill: var(--teal-500); }
.ecomap-readout {
    display: grid; gap: 0.2rem; margin: 0.5rem auto 0; max-width: 30rem; min-height: 5.4rem;
    padding: 0.9rem 1.15rem; border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.94); color: var(--ink); box-shadow: var(--shadow-md);
}
.ecomap-readout strong { font-family: var(--font-brand); font-size: 1.05rem; }
.ecomap-readout span { color: var(--text-secondary); font-size: 0.95rem; }
.ecomap-readout.is-updated { animation: readoutIn .35s var(--ease-out); }
@keyframes readoutIn { from { opacity: 0.2; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
    .ecomap-node-label { font-size: 22px; }
    .ecomap-centre-name { font-size: 25px; }
    .ecomap-centre-role { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .ecomap-tie { stroke-dashoffset: 0; transition: none; }
    .ecomap-node-disc { transform: scale(1); transition: none; }
    .ecomap-node-label { opacity: 1; transition: none; }
    .ecomap-centre-ring, .ecomap.is-drawn .ecomap-tie.is-pending { animation: none; }
}
