/*
 * Cassiopeia RMM: Regional Medical Management's one-page layout (Chris Rondon, Nov 2026) on top of
 * Cassiopeia, in a light, high-contrast palette (every text colour is 7:1 or better). Header, menu and footer restyle Cassiopeia's own markup; the page
 * sections live in the home article inside <div class="rmm">, the form is Convert Forms.
 */

:root {
  /* Text colours vs white: ink 15.5:1, muted 8:1, green 8:1 */
  --bg: #FFFFFF; --panel: #F4F7F5; --ink: #1A2721; --muted: #44544C; --line: #D3DED7;
  --accent: #50C878;          /* decoration only (bars, dots), never text */
  --accent-ink: #0A5C39;      /* green for text, links and buttons */
  --accent-bright: #B5EFCB;   /* pale mint behind dark text */
  --dark: #07271D;            /* the dark globe/medallion, and text on mint */
  --radius: 10px;
  --field-line: #6E8178;      /* form field borders: 4.1:1 on white (WCAG 1.4.11 needs 3:1) */
  --rmm-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rmm-head: Georgia, "Times New Roman", serif;

  --cassiopeia-color-primary: #0A5C39;
  --cassiopeia-color-link: #0A5C39;
  --cassiopeia-color-hover: #07271D;
  --cassiopeia-font-family-body: var(--rmm-font);
  --cassiopeia-font-family-headings: var(--rmm-head);
  --body-bg: #FFFFFF; --body-bg-rgb: 255, 255, 255;
  --body-color: #1A2721; --body-color-rgb: 26, 39, 33;
  --link-color: #0A5C39; --link-color-rgb: 10, 92, 57;
  --link-hover-color: #07271D; --link-hover-color-rgb: 7, 39, 29;
  --heading-color: inherit;
  --emphasis-color-rgb: 26, 39, 33;
  --cassiopeia-scroll-margin-top: 65px; /* sections already have 4.5rem top padding to clear the sticky header */
  color-scheme: light;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body.site {
  background: var(--bg); color: var(--ink);
  font-family: var(--rmm-font); font-size: 1.0625rem; line-height: 1.65;
}
body.site h1, body.site h2, body.site h3, body.site h4 { font-family: var(--rmm-head); color: var(--ink); }

/* ---------- Buttons (used in the header menu, the page and the footer) ---------- */
.rmm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.3rem; border-radius: 6px; font-weight: 700; text-decoration: none !important;
  border: 1px solid transparent; cursor: pointer; font-size: .93rem; line-height: 1; white-space: nowrap;
  font-family: var(--rmm-font);
}
.rmm-btn-primary { background: var(--accent-ink); color: #fff !important; }
.rmm-btn-primary:hover, .rmm-btn-primary:focus { background: var(--dark); color: #fff !important; }
.rmm-btn-accent { background: var(--accent-ink); color: #fff !important; }
.rmm-btn-accent:hover, .rmm-btn-accent:focus { background: var(--dark); color: #fff !important; }
.rmm-btn-outline { background: #fff; border-color: var(--accent-ink); color: var(--accent-ink) !important; }
.rmm-btn-outline:hover, .rmm-btn-outline:focus { background: var(--panel); color: var(--dark) !important; }

/* ---------- Header: logo left, menu + phone button right, sticky ---------- */
.container-header {
  z-index: 40;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem max(4vw, calc((100% - 1120px) / 2));
  background-color: color-mix(in srgb, #fff 95%, transparent);
  background-image: none; box-shadow: 0 2px 10px rgba(7, 39, 29, .06);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.container-header.position-sticky { position: sticky !important; top: 0; }
.container-header > .grid-child { width: auto; max-width: none; margin: 0; padding: 0; }
.container-header .navbar-brand { margin: 0; padding: 0; font-size: 1rem; }
.container-header .brand-logo { display: block; }
.container-header .brand-logo img {
  display: block; height: 72px; width: auto; max-width: 340px;
  padding: 5px 10px; border: 1px solid transparent; border-radius: 8px;
}
@media (max-width: 1060px) { .container-header .brand-logo img { height: 60px; } }
@media (max-width: 560px) { .container-header .brand-logo img { height: 52px; padding: 4px 6px; } }

.container-header .container-nav { padding: 0; flex-wrap: nowrap; }
.container-header nav, .container-header .navbar { margin: 0; padding: 0; }
.container-header .mod-menu { color: var(--ink); }
.container-header .metismenu.mod-menu .metismenu-item { padding: 0; font-size: 1rem; line-height: 1.4; }
.container-header .mod-menu > li > a { font-weight: 600; color: var(--ink); text-decoration: none; }
.container-header .mod-menu > li > a:not(.rmm-btn):hover,
.container-header .mod-menu > li > a:not(.rmm-btn):focus { color: var(--accent-ink); text-decoration: none; }
.container-header .metismenu > li > a::after { display: none !important; }
.container-header .metismenu.mod-menu .metismenu-item > a { overflow: visible; }

@media (min-width: 992px) {
  .container-header .mod-menu { gap: 1.7rem; align-items: center; }
}

/* Phone: collapsible menu, same look as the original design */
@media (max-width: 991.98px) {
  .container-header .navbar { position: static; }
  .container-header .navbar-toggler {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; padding: 0; font-size: 1.15rem;
    background: var(--panel); border: 1px solid var(--line); border-radius: 8px; color: var(--ink);
  }
  .container-header .navbar-toggler:focus { box-shadow: 0 0 0 3px var(--accent-ink); }
  .container-header .navbar-collapse {
    position: absolute; top: 100%; left: 4vw; right: 4vw; margin-top: .3rem;
    background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
    padding: .9rem; box-shadow: 0 16px 40px rgba(7, 39, 29, .15);
  }
  .container-header .navbar-collapse.show { display: block; }
  .container-header .mod-menu { display: flex; flex-direction: column; align-items: stretch; }
  .container-header .metismenu.mod-menu .metismenu-item { padding: .55rem .3rem; }
  .container-header .metismenu.mod-menu .metismenu-item > a.rmm-btn { width: 100%; padding: .9rem 1.3rem; }
}

/* ---------- Page area: the home article runs full width; the article sets its own widths ---------- */
.rmm-home .site-grid { display: block; }
.rmm-home .site-grid > .container-component { padding: 0; margin: 0; }
.rmm-home .container-component > * { margin-top: 0 !important; }
.rmm-home .com-content-article { margin: 0; }
.rmm-home .container-footer.footer { margin-top: 0; }

/* ---------- The one-page design (scoped to the article) ---------- */
.rmm a { color: inherit; }
.rmm img { max-width: 100%; display: block; }
.rmm p { margin-top: 0; }
.rmm .rmm-wrap { width: min(1120px, 92vw); margin: 0 auto; }

/* Hero */
.rmm .hero { padding: 4.2rem 0 0; }
.rmm .hero-label { display: flex; align-items: center; gap: .6rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0; }
.rmm .hero-label i { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; display: inline-block; box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-bright) 18%, transparent); }
.rmm .hero h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); line-height: .98; letter-spacing: -.035em; font-weight: 700; margin: 1.1rem 0 1rem; max-width: 13em; }
.rmm .hero h1 em { font-style: normal; color: var(--accent-ink); }
.rmm .hero .hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 36rem; margin: 0 0 1.6rem; }
.rmm .hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.rmm .stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 2.6rem 0 0; }
.rmm .stats div { padding: 1.1rem 1.2rem 1.1rem 0; }
.rmm .stats div + div { border-left: 1px solid var(--line); padding-left: 1.2rem; }
.rmm .stats strong { display: block; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1; }
.rmm .stats span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 600px) { .rmm .stats { grid-template-columns: 1fr; } .rmm .stats div + div { border-left: none; border-top: 1px solid var(--line); padding-left: 0; } }
.rmm .hero-figure { margin: 2.2rem 0 0; }
.rmm .hero-caption { display: flex; justify-content: space-between; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: .8rem .1rem 0; }

/* Hero: the R globe connecting to practices */
.rmm .globe-stage { position: relative; height: 460px; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; background: radial-gradient(ellipse 72% 92% at 50% 42%, #DDEFE4 0%, #F1F7F3 55%, #FFFFFF 100%); }
.rmm .globe-stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(10, 92, 57, .14) 1px, transparent 1.4px); background-size: 26px 26px; opacity: .55; pointer-events: none; }
.rmm .globe-links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.rmm .globe-links line { stroke: var(--accent-ink); stroke-width: 1.4; stroke-dasharray: 5 9; opacity: .55; animation: globeDash 1.1s linear infinite; }
.rmm .globe-links circle { fill: var(--accent-ink); }
@keyframes globeDash { to { stroke-dashoffset: -14; } }
.rmm .globe-center { position: absolute; left: 50%; top: 50%; width: 264px; height: 264px; transform: translate(-50%, -54%); z-index: 2; }
.rmm .orbit-ring { position: absolute; inset: 0; border: 1px dashed color-mix(in srgb, var(--accent-ink) 45%, transparent); border-radius: 50%; animation: globeSpin 46s linear infinite; }
.rmm .orbit-ring::before, .rmm .orbit-ring::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent); }
.rmm .orbit-ring::before { top: 12px; left: 50%; }
.rmm .orbit-ring::after { bottom: 22px; right: 18px; }
.rmm .orbit-ring-outer { position: absolute; inset: -44px; border: 1px solid color-mix(in srgb, var(--accent-ink) 18%, transparent); border-radius: 50%; animation: globeSpinRev 64s linear infinite; }
@keyframes globeSpin { to { transform: rotate(360deg); } }
@keyframes globeSpinRev { to { transform: rotate(-360deg); } }
.rmm .globe-sphere { position: absolute; inset: 20px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 34% 28%, #2E332F 0%, #141816 55%, #060908 100%); border: 2px solid #EFF8F1; box-shadow: 0 0 0 6px rgba(0, 0, 0, .22), 0 0 52px color-mix(in srgb, var(--accent) 34%, transparent), inset 0 0 42px rgba(0, 0, 0, .65); }
.rmm .globe-surface { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 21px, rgba(80, 200, 120, .20) 21px 22px), repeating-linear-gradient(0deg, transparent 0 27px, rgba(80, 200, 120, .13) 27px 28px); background-size: 220% 100%, 100% 100%; animation: globePan 13s linear infinite; opacity: .9; }
@keyframes globePan { to { background-position: 220% 0, 0 0; } }
.rmm .globe-wire { position: absolute; inset: 0; width: 100%; height: 100%; animation: globeSpin 20s linear infinite; transform-origin: 50% 50%; }
.rmm .globe-wire ellipse, .rmm .globe-wire line { fill: none; stroke: var(--accent-bright); stroke-width: 1; opacity: .42; }
.rmm .globe-sphere .globe-r { position: relative; z-index: 2; display: block; flex: none; width: 178px; height: auto; border: 0; border-radius: 0; }
.rmm .globe-shine { position: absolute; inset: 0; z-index: 3; border-radius: 50%; background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .20), transparent 42%); pointer-events: none; }
.rmm .globe-hub-label { position: absolute; left: 50%; top: calc(50% + 122px); transform: translateX(-50%); z-index: 3; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--dark); background: var(--accent-bright); border-radius: 999px; padding: .42rem .8rem; white-space: nowrap; }
.rmm .practice-node { position: absolute; z-index: 3; display: flex; align-items: center; gap: .6rem; max-width: 248px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem .9rem .5rem .5rem; box-shadow: 0 6px 18px rgba(7, 39, 29, .10); }
.rmm .node-dot { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--accent-ink); color: #fff; display: grid; place-items: center; font-size: 1.05rem; font-weight: 700; line-height: 1; animation: nodePulse 2.6s ease-in-out infinite; }
@keyframes nodePulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 38%, transparent); } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 0%, transparent); } }
.rmm .practice-node strong { display: block; font-size: .88rem; line-height: 1.15; letter-spacing: -.01em; }
.rmm .practice-node small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.rmm .node-tl { left: 3.5%; top: 9%; }
.rmm .node-tr { right: 3.5%; top: 9%; }
.rmm .node-bl { left: 3.5%; bottom: 9%; }
.rmm .node-br { right: 3.5%; bottom: 9%; }
/* Phone: the four practice bubbles become equal cards (two above the globe, two below) with readable text */
@media (max-width: 700px) {
  .rmm .globe-stage {
    height: auto; display: grid; gap: .6rem; padding: .75rem;
    grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 250px 1fr;
    grid-template-areas: "tl tr" "globe globe" "bl br";
  }
  .rmm .globe-center { width: 180px; height: 180px; transform: translate(-50%, -58%); }
  .rmm .globe-sphere { inset: 14px; }
  .rmm .globe-sphere .globe-r { width: 122px; }
  .rmm .globe-hub-label { top: calc(50% + 74px); font-size: .7rem; padding: .38rem .75rem; }
  .rmm .practice-node {
    position: relative; inset: auto; max-width: none; z-index: 3;
    flex-direction: column; justify-content: flex-start; text-align: center; gap: .35rem;
    padding: .7rem .55rem; border-radius: 14px;
  }
  .rmm .node-tl { grid-area: tl; } .rmm .node-tr { grid-area: tr; }
  .rmm .node-bl { grid-area: bl; } .rmm .node-br { grid-area: br; }
  .rmm .practice-node .node-dot { width: 26px; height: 26px; font-size: .95rem; }
  .rmm .practice-node strong { font-size: .95rem; line-height: 1.2; }
  .rmm .practice-node small { font-size: .8rem; }
}

/* Values strip */
.rmm .values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; padding: 2.2rem 0 0; }
.rmm .values div { border-top: 2px solid var(--accent); padding-top: .8rem; }
.rmm .values b { display: block; font-size: 1.08rem; letter-spacing: -.01em; }
.rmm .values p { margin: .3rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
@media (max-width: 860px) { .rmm .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .rmm .values { grid-template-columns: 1fr; } }

/* Sections */
.rmm section { padding: 4.5rem 0; }
.rmm section:nth-of-type(even) { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rmm .values { padding-bottom: 0; }
.rmm .section-head { display: flex; gap: 2rem; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; margin-bottom: 2.2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.rmm .section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.05; letter-spacing: -.025em; margin: .6rem 0 0; max-width: 15em; font-weight: 700; }
.rmm .section-head p { color: var(--muted); margin: 0; max-width: 26rem; padding-top: .9rem; }
.rmm .kicker { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--accent-ink); }

/* Services: numbered rows */
.rmm .service { border-top: 1px solid var(--line); padding: 1.9rem 0; display: grid; grid-template-columns: 110px 1fr 1.15fr; gap: 1.6rem; }
.rmm .service:last-child { border-bottom: 1px solid var(--line); }
.rmm .service-num { font-size: .88rem; color: var(--accent-ink); font-weight: 600; padding-top: .3rem; }
.rmm .service h3 { margin: 0; font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.15; }
.rmm .service h3 span { display: block; font-family: var(--rmm-font); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-top: .45rem; }
.rmm .service p { margin: 0 0 1rem; color: var(--muted); font-size: 1.05rem; }
.rmm .service ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1.2rem; }
.rmm .service li { font-size: 1rem; padding-left: 1.1rem; position: relative; line-height: 1.45; }
.rmm .service li::before { content: "+"; position: absolute; left: 0; color: var(--accent-ink); font-weight: 700; }
@media (max-width: 900px) { .rmm .service { grid-template-columns: 64px 1fr; } .rmm .service > div:last-child { grid-column: 2; } .rmm .service ul { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .rmm .service { grid-template-columns: 1fr; } .rmm .service > div:last-child { grid-column: 1; } .rmm .service-num { padding-top: 0; } }

/* Process */
.rmm .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 860px) { .rmm .steps { grid-template-columns: 1fr; } }
.rmm .step { border-top: 2px solid var(--accent); padding-top: 1rem; }
.rmm .step b.num { color: var(--accent-ink); font-size: .85rem; font-weight: 600; }
.rmm .step h3 { margin: .5rem 0 .4rem; font-size: 1.15rem; letter-spacing: -.01em; }
.rmm .step p { margin: 0; color: var(--muted); font-size: 1.05rem; }

/* About */
.rmm .about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.6rem; align-items: start; }
@media (max-width: 900px) { .rmm .about-grid { grid-template-columns: 1fr; } }

/* About: a client connecting through the RMM hub */
.rmm .hub-stage { position: relative; height: 440px; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; background: radial-gradient(ellipse 82% 72% at 50% 48%, #DDEFE4 0%, #F1F7F3 55%, #FFFFFF 100%); }
.rmm .hub-stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(10, 92, 57, .14) 1px, transparent 1.4px); background-size: 26px 26px; opacity: .55; pointer-events: none; }
.rmm .hub-links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.rmm .hub-links line { stroke: var(--accent-ink); stroke-width: 1.4; stroke-dasharray: 5 9; opacity: .55; animation: globeDash 1.1s linear infinite; }
.rmm .hub-links circle { fill: var(--accent-ink); }
.rmm .hub-center { position: absolute; left: 50%; top: 50%; width: 172px; height: 172px; transform: translate(-50%, -54%); z-index: 2; }
.rmm .hub-ring { position: absolute; inset: 0; border: 1px dashed color-mix(in srgb, var(--accent-ink) 45%, transparent); border-radius: 50%; animation: globeSpin 38s linear infinite; }
.rmm .hub-ring::before, .rmm .hub-ring::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent); }
.rmm .hub-ring::before { top: 10px; left: 50%; }
.rmm .hub-ring::after { bottom: 18px; right: 14px; }
.rmm .hub-medallion { position: absolute; inset: 14px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 34% 28%, #2E332F 0%, #141816 55%, #060908 100%); border: 2px solid #EFF8F1; box-shadow: 0 0 0 6px rgba(0, 0, 0, .22), 0 0 46px color-mix(in srgb, var(--accent) 34%, transparent), inset 0 0 36px rgba(0, 0, 0, .65); }
.rmm .hub-medallion .hub-r { display: block; flex: none; width: 120px; height: auto; border: 0; border-radius: 0; }
.rmm .hub-shine { position: absolute; inset: 14px; z-index: 3; border-radius: 50%; background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .20), transparent 42%); pointer-events: none; }
.rmm .hub-label { position: absolute; left: 50%; top: calc(50% + 82px); transform: translateX(-50%); z-index: 3; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--dark); background: var(--accent-bright); border-radius: 999px; padding: .4rem .75rem; white-space: nowrap; }
.rmm .hub-node { position: absolute; z-index: 3; display: flex; align-items: center; gap: .55rem; max-width: 236px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .85rem .45rem .45rem; box-shadow: 0 6px 18px rgba(7, 39, 29, .10); }
.rmm .hub-node .node-dot { width: 28px; height: 28px; font-size: 1rem; }
.rmm .hub-node strong { display: block; font-size: .86rem; line-height: 1.15; letter-spacing: -.01em; }
.rmm .hub-node small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.rmm .hub-node-client { left: 50%; top: 4.5%; transform: translateX(-50%); }
.rmm .hub-flow { position: absolute; z-index: 3; font-size: .75rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; color: var(--accent-ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .32rem .6rem; white-space: nowrap; }
.rmm .hub-flow-l { left: 4%; top: 43%; }
.rmm .hub-flow-r { right: 4%; top: 43%; }
.rmm .hub-flow-c { left: 50%; top: calc(50% + 114px); transform: translateX(-50%); }
@media (max-width: 700px) {
  .rmm .hub-stage { height: 420px; }
  .rmm .hub-center { width: 148px; height: 148px; }
  .rmm .hub-medallion { inset: 12px; }
  .rmm .hub-medallion .hub-r { width: 104px; }
  .rmm .hub-shine { inset: 12px; }
  .rmm .hub-label { top: calc(50% + 70px); font-size: .68rem; }
  .rmm .hub-node { max-width: 47%; padding: .4rem .6rem .4rem .4rem; gap: .4rem; }
  .rmm .hub-node .node-dot { width: 23px; height: 23px; font-size: .88rem; }
  .rmm .hub-node strong { font-size: .9rem; }
  .rmm .hub-node small { display: none; }
  .rmm .hub-node-client { max-width: 64%; }
  .rmm .hub-flow { display: none; }
  .rmm .hub-flow-c { display: block; top: calc(50% + 100px); }
}
.rmm .about-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1.08; letter-spacing: -.025em; margin: .6rem 0 .8rem; font-weight: 700; }
.rmm .about-copy p { color: var(--muted); }
.rmm .founder { display: flex; gap: .9rem; align-items: center; border-top: 1px solid var(--line); padding: .9rem 0; }
.rmm .founder:last-child { border-bottom: 1px solid var(--line); }
.rmm .founder-badge { width: 44px; height: 44px; background: var(--accent-ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; border-radius: 50%; flex-shrink: 0; }
.rmm .founder strong { display: block; font-size: .98rem; }
.rmm .founder span { font-size: .98rem; color: var(--muted); }

/* Who we serve */
.rmm .serve-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.rmm .serve-grid div { background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.3rem 1.3rem 1.4rem; }
.rmm .serve-grid h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.rmm .serve-grid p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 640px) { .rmm .serve-grid { grid-template-columns: 1fr; } }

/* FAQ */
.rmm .faq-list { max-width: 840px; }
.rmm details { border-top: 1px solid var(--line); padding: 1.15rem 0; }
.rmm details:last-child { border-bottom: 1px solid var(--line); }
.rmm summary { cursor: pointer; font-weight: 700; font-size: 1.12rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.rmm summary::-webkit-details-marker { display: none; }
.rmm summary::after { content: "+"; font-size: 1.35rem; font-weight: 400; color: var(--accent-ink); flex-shrink: 0; }
.rmm details[open] summary::after { content: "\2212"; }
.rmm details p { color: var(--muted); margin: .7rem 0 0; max-width: 46rem; }

/* Contact */
.rmm .contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 2.4rem; align-items: start; }
@media (max-width: 900px) { .rmm .contact-grid { grid-template-columns: 1fr; } }
.rmm .contact-photo { margin: 0 0 1.2rem; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.rmm .contact-photo img { width: 100%; height: auto; aspect-ratio: 13 / 7; object-fit: cover; }
.rmm .contact-photo figcaption { padding: .6rem .85rem; font-size: .9rem; color: var(--muted); }
.rmm .info-row { display: flex; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.rmm .info-row:first-of-type { border-top: none; }
.rmm .info-row strong { min-width: 92px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: .25rem; }
.rmm .info-row a { font-weight: 700; color: var(--accent-ink); text-decoration: none; }
.rmm .form-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.6rem; box-shadow: 0 8px 24px rgba(7, 39, 29, .08); }
.rmm .form-card h3 { margin: 0 0 .35rem; font-size: 1.3rem; letter-spacing: -.02em; }
.rmm .form-card > p { color: var(--muted); margin: 0 0 .6rem; font-size: .95rem; }
.rmm .form-note { font-size: .9rem; color: var(--muted); margin: .85rem 0 0; }
.rmm .form-note a { color: var(--accent-ink); font-weight: 700; }

/* Convert Forms inside the card, matched to the design */
.rmm .form-card .convertforms { --font: var(--rmm-font); font-family: var(--rmm-font); background: transparent !important; max-width: none !important; width: 100% !important; padding: 0 !important; }
.rmm .form-card .convertforms .cf-form-wrap, .rmm .form-card .convertforms .cf-content-wrap { padding: 0 !important; background: transparent !important; }
.rmm .form-card .convertforms .cf-fields { margin: 0 -.5rem; }
.rmm .form-card .convertforms .cf-control-group { padding: 0 .5rem; margin: 0; }
.rmm .form-card .convertforms .cf-label,
.rmm .form-card .convertforms label.cf-label { display: block; font-family: var(--rmm-font); font-weight: 700; font-size: .88rem; color: var(--ink) !important; margin: .95rem 0 .35rem; padding: 0; }
.rmm .form-card .convertforms .cf-required-label { color: var(--accent-ink); }
.rmm .form-card .convertforms .cf-input {
  width: 100%; padding: .82rem .95rem !important; border-radius: 6px !important;
  border: 1px solid var(--field-line) !important; background: var(--bg) !important; color: var(--ink) !important;
  font-family: var(--rmm-font) !important; font-size: 1rem !important; line-height: 1.4; box-shadow: none !important;
}
.rmm .form-card .convertforms .cf-input::placeholder { color: #66766E; }
.rmm .form-card .convertforms .cf-input:focus { outline: 2px solid var(--accent-ink) !important; outline-offset: 1px; border-color: transparent !important; }
.rmm .form-card .convertforms textarea.cf-input { min-height: 108px; resize: vertical; }
.rmm .form-card .convertforms select.cf-input { padding-right: 2.4rem !important; text-overflow: ellipsis; }
.rmm .form-card .convertforms .cf-btn {
  width: 100%; margin-top: 1.1rem; padding: 1rem !important; border-radius: 6px !important; border: 0 !important;
  background: var(--accent-ink) !important; color: #fff !important; font-family: var(--rmm-font) !important;
  font-weight: 700 !important; font-size: .95rem !important; line-height: 1; cursor: pointer;
}
.rmm .form-card .convertforms .cf-btn:hover { background: var(--dark) !important; }
/* Success / error box: Convert Forms' own bright green is only 3.4:1 with white text */
.rmm .form-card .convertforms .cf-response {
  margin: 1rem 0 0; padding: 1rem 1.1rem; text-align: left; font-size: .98rem; line-height: 1.55;
  border-radius: 8px; color: var(--ink);
}
.rmm .form-card .convertforms .cf-response p { margin: 0 0 .5rem; }
.rmm .form-card .convertforms .cf-response p:last-child { margin-bottom: 0; }
.rmm .form-card .convertforms .cf-response a { color: var(--accent-ink); font-weight: 700; }
.rmm .form-card .convertforms.cf-success .cf-response { background: #E6F4EB; border: 1px solid var(--accent-ink); }
.rmm .form-card .convertforms.cf-error .cf-response { background: #FDECEC; border: 1px solid #B42318; }
.rmm .form-card altcha-widget {
  --altcha-color-base: var(--bg); --altcha-color-border: var(--field-line); --altcha-color-text: var(--ink);
  --altcha-color-border-focus: var(--accent-ink); --altcha-color-error-text: #B42318;
  --altcha-border-radius: 6px; --altcha-max-width: 100%;
}
@media (max-width: 560px) {
  .rmm .form-card .convertforms .cf-one-half { width: 100% !important; flex-basis: 100% !important; }
}

/* ---------- Footer ---------- */
.container-footer.footer {
  margin-top: 4.5rem; color: var(--ink);
  background: var(--panel); background-image: none; border-top: 1px solid var(--line);
}
.container-footer.footer > .grid-child { display: block; width: min(1120px, 92vw); max-width: none; padding: 2rem 0 1.8rem; }
.container-footer.footer a:not(.btn):hover { color: var(--accent-ink); }
.rmm-footer .footer-top { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: flex-start; }
.rmm-footer .footer-top p { margin: .4rem 0 0; color: var(--muted); font-size: 1rem; max-width: 28rem; }
.rmm-footer .footer-logo { display: block; height: 64px; width: auto; max-width: 320px; padding: 5px 10px; border: 1px solid transparent; border-radius: 8px; }
.rmm-footer .footer-links { display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: 1rem; font-weight: 600; }
.rmm-footer .footer-links a { text-decoration: none; color: var(--ink); }
.rmm-footer .footer-links a:hover { color: var(--accent-ink); }
.rmm-footer .copyright { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Wide screens: white page column, dark green filler left and right (Tim, 10 Nov 2026) ---------- */
@media (min-width: 1320px) {
  body.site { background: var(--dark); }
  body.site .container-header, body.site .site-grid, body.site .container-footer {
    width: 1280px; max-width: 1280px; margin-left: auto; margin-right: auto;
  }
  body.site .site-grid { background: var(--bg); }
  body.site .container-header { padding-left: 80px; padding-right: 80px; background-color: #fff; }
  body.site .container-footer.footer { margin-top: 0; }
  body.site .container-footer.footer > .grid-child { width: 1120px; }
}

/* ---------- Accessibility ---------- */
/* Visible keyboard focus everywhere on the dark background */
body.site a:focus-visible, body.site button:focus-visible, body.site summary:focus-visible,
body.site .rmm-btn:focus-visible, body.site [tabindex]:focus-visible {
  outline: 3px solid var(--accent-ink) !important; outline-offset: 3px; box-shadow: none;
}
/* Pause control for the moving diagrams (WCAG 2.2.2); user.js adds the button */
.rmm.rmm-paused *, .rmm.rmm-paused *::before, .rmm.rmm-paused *::after { animation-play-state: paused !important; }
.rmm .rmm-motion {
  font-family: var(--rmm-font); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700;
  color: var(--ink); background: #fff; border: 1px solid var(--field-line); border-radius: 999px;
  padding: .45rem .9rem; min-height: 32px; cursor: pointer;
}
.rmm .rmm-motion:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
@media (prefers-reduced-motion: reduce) { .rmm .rmm-motion { display: none; } }
