/* TrainMedi Operational Dashboard — product landing page */
.dod-page {
  /* Aliased to the shared TrainMedi design tokens (css/style.css) so this
     page follows the site palette/typography instead of its own brand. */
  --dod-navy: #061926;
  --dod-navy-mid: var(--ink-soft);
  --dod-teal: var(--teal);
  --dod-teal-light: var(--brand-teal);
  --dod-mint: #123846;
  --dod-amber: var(--accent);
  --dod-off-white: var(--paper);
  --dod-line: var(--line);
  --dod-muted: var(--ink-soft);
  --dod-shadow: var(--shadow);
  color: var(--ink);
  background: var(--paper);
}

.dod-page .wrap { max-width: 1200px; }
.dod-page section + section { border-top: 1px solid var(--dod-line); }
.dod-page h3 { line-height: 1.25; }
.dod-page .eyebrow { color: var(--dod-teal); letter-spacing: .15em; margin: 0 0 18px; }
.dod-page .section-lede { font-size: 1.06rem; line-height: 1.75; color: var(--dod-muted); }
.dod-page a:focus-visible, .dod-page button:focus-visible, .dod-page summary:focus-visible { outline: 3px solid var(--dod-amber); outline-offset: 4px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; background: var(--paper-raised); color: var(--dod-navy); border-radius: 5px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.dod-header { background: var(--paper) !important; backdrop-filter: blur(12px); }
.dod-header .nav-row { padding: 16px 24px; }
.dod-header .nav-cta { background: var(--dod-navy); color: #fff !important; padding: 9px 17px; border: 0; border-radius: 999px; }
.dod-header .nav-cta:hover { background: var(--dod-teal); }

.dod-hero { padding: 88px 0 72px; overflow: hidden; background: radial-gradient(circle at 85% 5%, rgba(23, 184, 166, .12), transparent 31%), var(--dod-off-white); }
.hero-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(480px, 1.14fr); gap: 65px; align-items: center; }
.edition { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 20px; font-size: .82rem; font-weight: 750; color: var(--dod-navy-mid); }
.edition span { padding: 5px 9px; background: var(--dod-mint); border-radius: 4px; color: var(--dod-teal); }
.dod-page h1 { max-width: 14ch; }
.hero-copy .lede { max-width: 57ch; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 22px; padding: 28px 0 0; margin: 0; list-style: none; color: var(--dod-muted); font-size: .79rem; }
.trust-list li { position: relative; padding-left: 17px; }
.trust-list li::before { content: ""; position: absolute; left: 0; top: .48em; width: 7px; height: 7px; border: 2px solid var(--dod-teal); border-radius: 50%; }

.product-visual { position: relative; min-width: 0; padding-top: 26px; }
.ruisa-badge { position: absolute; top: 0; right: 22px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 9px 13px; background: var(--dod-navy); color: white; border-radius: 5px; box-shadow: 0 8px 24px rgba(8,35,50,.2); font-size: .68rem; font-weight: 700; letter-spacing: .03em; }
.signal-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dod-teal-light); box-shadow: 0 0 0 4px rgba(99,212,200,.13); }
.dashboard { background: var(--paper-raised); border: 1px solid var(--dod-line); border-radius: 13px; padding: 20px; box-shadow: var(--dod-shadow); transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.dashboard-topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--dod-line); padding-bottom: 16px; margin-bottom: 15px; }
.dashboard-topbar > div { display: grid; gap: 3px; }
.dashboard-topbar strong { font-size: .85rem; }
.tiny-brand { color: var(--dod-teal); font-size: .57rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.live-pill { display: flex; align-items: center; gap: 6px; color: var(--dod-teal); background: var(--dod-mint); padding: 5px 9px; border-radius: 99px; font-size: .62rem; font-weight: 700; }
.live-pill span { width: 5px; height: 5px; background: var(--dod-teal); border-radius: 50%; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.metric-card { display: flex; flex-direction: column; min-width: 0; padding: 12px; background: #f7faf9; border: 1px solid #e4ecea; border-radius: 7px; font-style: normal; }
.metric-card > span { color: var(--dod-muted); font-size: .59rem; }
.metric-card strong { font-size: 1.3rem; line-height: 1.4; }
.metric-card strong small { color: var(--dod-muted); font-size: .58em; }
.metric-card em { color: var(--dod-teal); font-size: .55rem; font-style: normal; font-weight: 700; white-space: nowrap; }
.metric-card.warning { border-top: 2px solid var(--dod-amber); }
.metric-card.warning em { color: #9a6610; }
.dashboard-body { display: grid; grid-template-columns: 1fr 128px; gap: 12px; margin-top: 12px; }
.unit-table { border: 1px solid #e4ecea; border-radius: 7px; overflow: hidden; }
.table-head, .unit-row { display: grid; grid-template-columns: 1fr 1fr 58px; align-items: center; gap: 7px; padding: 9px 10px; }
.table-head { background: #f3f7f6; color: var(--dod-muted); font-size: .52rem; text-transform: uppercase; letter-spacing: .07em; }
.unit-row { font-size: .59rem; border-top: 1px solid #e8efed; }
.unit-row > span { display: grid; grid-template-columns: 1fr auto; gap: 5px; align-items: center; color: var(--dod-muted); white-space: nowrap; }
.unit-row i { position: relative; display: block; height: 4px; background: #dce8e5; border-radius: 3px; overflow: hidden; }
.unit-row i::after { content: ""; position: absolute; inset: 0; width: var(--fill); background: var(--dod-teal); border-radius: inherit; }
.status { justify-self: end; padding: 3px 6px; border-radius: 3px; font-size: .5rem; font-style: normal; font-weight: 800; }
.stable { color: #11766e; background: #e0f5f0; }.watch { color: #8a5b0c; background: #fff1d6; }.act { color: #a24848; background: #fae6e6; }
.coherence-card { display: grid; justify-items: center; align-content: start; gap: 10px; padding: 12px 8px; border: 1px solid #e4ecea; border-radius: 7px; background: #f9fbfa; text-align: center; }
.coherence-card > span { color: var(--dod-muted); font-size: .56rem; }
.score-ring { display: flex; align-items: baseline; justify-content: center; width: 70px; height: 70px; padding-top: 18px; border-radius: 50%; background: radial-gradient(closest-side, #fff 78%, transparent 80% 99%), conic-gradient(var(--dod-teal) 78%, #dce8e5 0); }
.score-ring strong { font-size: 1.15rem; }.score-ring small { font-size: .45rem; }
.coherence-card p { margin: 0; font-size: .55rem; color: var(--dod-muted); }.coherence-card b { color: var(--dod-teal); }
.fiction-note { margin: 11px 5px 0; text-align: right; color: var(--dod-muted); font-size: .62rem; }

.split-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: end; }
.split-heading .section-lede { margin-bottom: 13px; }
.connection-map { display: grid; grid-template-columns: minmax(0, 1.35fr) 70px minmax(270px, .65fr); align-items: center; margin-top: 55px; }
.fragments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.fragments article { position: relative; display: grid; gap: 10px; min-height: 150px; padding: 20px; background: var(--paper-raised); border: 1px solid var(--dod-line); border-radius: 8px; box-shadow: 0 5px 18px rgba(8,35,50,.04); }
.fragments article::after { content: ""; position: absolute; top: 50%; right: -14px; width: 14px; border-top: 1px dashed #8ab9b3; }
.fragments span, .mini-label { color: var(--dod-teal); font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.fragments strong { font-size: .92rem; }.fragments small { align-self: end; color: var(--dod-muted); font-size: .7rem; }
.connection-arrow { height: 1px; border-top: 1px dashed #8ab9b3; position: relative; }.connection-arrow span { position: absolute; right: 0; top: -17px; color: var(--dod-teal); font-size: 1.4rem; }
.unified-card { background: var(--dod-navy); color: white; padding: 28px; border-radius: 8px; box-shadow: 0 14px 38px rgba(8,35,50,.15); }
.unified-card .mini-label { color: var(--dod-teal-light); }.unified-card p { font-size: 1.05rem; line-height: 1.7; margin: 17px 0 0; }

.capabilities { background: var(--paper-raised); }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; border-top: 1px solid var(--dod-line); border-left: 1px solid var(--dod-line); }
.capability-card { min-height: 245px; padding: 29px; border-right: 1px solid var(--dod-line); border-bottom: 1px solid var(--dod-line); }
.cap-number { color: var(--dod-teal); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.capability-card h3 { margin: 44px 0 10px; font-size: 1.12rem; }.capability-card p { margin: 0; color: var(--dod-muted); font-size: .92rem; }

.local-section { background: var(--dod-navy); color: #fff; }
.local-section .eyebrow { color: var(--dod-teal-light); }.local-section .section-lede { color: #b8c8cd; }
.local-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; align-items: center; }
.local-points { display: grid; gap: 18px; margin-top: 38px; }
.local-points article { display: grid; grid-template-columns: 38px 1fr; gap: 12px; }.local-points article > span { color: var(--dod-teal-light); font-size: .7rem; font-weight: 800; }
.local-points h3 { margin: 0 0 4px; font-size: .98rem; }.local-points p { margin: 0; color: #a9bec4; font-size: .87rem; }
.network-panel { padding: 42px; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; background: rgba(255,255,255,.035); }
.server-node { width: 190px; margin: 0 auto; padding: 20px; display: grid; justify-items: center; background: var(--paper-raised); color: var(--dod-navy); border-radius: 7px; box-shadow: 0 15px 35px rgba(0,0,0,.15); }
.server-node svg { width: 28px; fill: none; stroke: var(--dod-teal); stroke-width: 1.5; margin-bottom: 8px; }.server-node span { font-size: .68rem; color: var(--dod-muted); }.server-node strong { font-size: .88rem; }
.network-line { width: 66.66%; height: 34px; margin: 0 auto; border-left: 1px solid rgba(99,212,200,.7); border-right: 1px solid rgba(99,212,200,.7); border-bottom: 1px solid rgba(99,212,200,.7); }
.network-views { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.network-views div { padding: 13px 6px; display: grid; text-align: center; background: rgba(255,255,255,.08); border-radius: 5px; }.network-views span { font-size: .75rem; font-weight: 700; }.network-views small { color: #a9bec4; font-size: .62rem; }
.local-note { margin: 30px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: #bdcbd0; font-size: .76rem; line-height: 1.7; }

.evidence-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10%; align-items: center; }
.evidence-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.evidence-stats article { min-height: 220px; padding: 25px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--dod-line); }
.evidence-stats strong { font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1; letter-spacing: -.05em; color: var(--dod-teal); }.evidence-stats span { margin-top: 15px; font-size: .86rem; line-height: 1.45; }.evidence-stats small { margin-top: 10px; color: var(--dod-muted); font-size: .63rem; line-height: 1.45; }

.ruisa-section { background: var(--dod-mint); }.ruisa-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: center; }
.doctrine { font-size: 1.13rem; font-weight: 750; color: var(--dod-teal); }
.ruisa-elements { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.ruisa-elements li { display: grid; justify-items: center; gap: 10px; position: relative; }.ruisa-elements li:not(:last-child)::after { content: ""; position: absolute; top: 25px; left: calc(50% + 25px); width: calc(100% - 50px); border-top: 1px solid rgba(21,149,143,.35); }
.ruisa-elements span { width: 50px; height: 50px; display: grid; place-items: center; color: #fff; background: var(--dod-teal); border-radius: 50%; font-weight: 800; }.ruisa-elements strong { font-size: .68rem; }

.implementation-section { background: var(--paper-raised); }
.steps { list-style: none; padding: 0; margin: 55px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: steps; }
.steps li { position: relative; padding: 0 29px 0 0; }.steps li:not(:last-child)::after { content: ""; position: absolute; top: 11px; left: 42px; right: 14px; border-top: 1px solid var(--dod-line); }
.steps span { display: block; color: var(--dod-teal); font-size: .65rem; font-weight: 800; letter-spacing: .1em; }.steps h3 { margin: 30px 0 8px; }.steps p { margin: 0; color: var(--dod-muted); font-size: .87rem; }

.pricing-section { background: var(--paper); }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 48px; }
.price-card { display: flex; flex-direction: column; padding: 38px; border: 1px solid var(--dod-line); border-radius: 10px; background: var(--paper-raised); box-shadow: 0 8px 30px rgba(8,35,50,.05); }
.licence-card { border-top: 4px solid var(--dod-teal); }.price-label { align-self: flex-start; padding: 5px 9px; background: var(--dod-mint); color: var(--dod-teal); border-radius: 4px; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.price-card h3 { font-size: 1.35rem; margin: 20px 0 5px; }.price-card > p { color: var(--dod-muted); margin: 0; }.price { margin: 28px 0 7px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.05em; font-weight: 800; }.price small { font-size: .36em; letter-spacing: .02em; }.price em { display: block; margin-top: 9px; font-size: .23em; color: var(--dod-muted); letter-spacing: 0; font-style: normal; font-weight: 500; }
.price-card .credit { min-height: 46px; font-size: .78rem; }.price-card ul { list-style: none; padding: 24px 0; margin: 24px 0; border-top: 1px solid var(--dod-line); display: grid; gap: 11px; }.price-card li { padding-left: 20px; position: relative; color: var(--dod-muted); font-size: .86rem; }.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--dod-teal); font-weight: 800; }.price-card .btn { align-self: flex-start; margin-top: auto; }
.pricing-note { max-width: 90ch; margin: 25px auto 0; text-align: center; color: var(--dod-muted); font-size: .72rem; }

.faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 10%; }.faq-list { border-top: 1px solid var(--dod-line); }
.faq-list details { border-bottom: 1px solid var(--dod-line); }.faq-list summary { position: relative; cursor: pointer; list-style: none; padding: 24px 42px 24px 0; font-weight: 700; }.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary::after { content: "+"; position: absolute; right: 5px; top: 20px; color: var(--dod-teal); font-size: 1.35rem; font-weight: 400; }.faq-list details[open] summary::after { content: "−"; }.faq-list details p { color: var(--dod-muted); padding: 0 45px 24px 0; margin: 0; }

.final-cta { background: var(--dod-navy); color: #fff; text-align: center; }.final-cta-inner { display: grid; justify-items: center; }.final-cta .eyebrow { color: var(--dod-teal-light); }.final-cta h2 { max-width: 17ch; }.final-cta p { color: #b8c8cd; }.btn-light { margin-top: 15px; background: #fff; color: var(--dod-navy); }.btn-light:hover { background: var(--dod-mint); text-decoration: none; }.final-cta small { margin-top: 15px; color: #9fb3ba; }

.dod-footer { background: #061b26; color: #aabcc2 !important; border: 0 !important; }.dod-footer .footer-row { display: grid; grid-template-columns: 1fr auto; }.dod-footer .footer-row > div:first-child { display: grid; }.dod-footer strong { color: #fff; }.dod-footer .footer-links a { color: #c5d3d7; }.dod-footer p { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); margin: 6px 0 0; font-size: .76rem; }

@media (max-width: 980px) {
  .hero-layout, .local-layout, .evidence-layout, .ruisa-layout { grid-template-columns: 1fr; gap: 55px; }
  .hero-copy { max-width: 720px; }.product-visual { max-width: 720px; margin: 0 auto; width: 100%; }
  .split-heading { grid-template-columns: 1fr; gap: 10px; }.connection-map { grid-template-columns: 1fr; gap: 24px; }.connection-arrow { width: 1px; height: 35px; border-left: 1px dashed #8ab9b3; border-top: 0; margin: 0 auto; }.connection-arrow span { transform: rotate(90deg); right: -9px; top: 9px; }
  .fragments article::after { display: none; }.capability-grid { grid-template-columns: repeat(2, 1fr); }
  .evidence-stats article { min-height: 175px; }.faq-layout { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 720px) {
  .dod-page section { padding: 76px 0; }.dod-header nav.site-nav { background: var(--dod-off-white); }.dod-header .nav-cta { margin-top: 8px; text-align: center; }
  .dod-hero { padding-top: 62px !important; }.dod-page h1 { font-size: clamp(2.75rem, 14vw, 4rem); }.hero-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }.product-visual { padding-top: 34px; }.dashboard { transform: none; padding: 12px; }.metric-grid { grid-template-columns: repeat(2, 1fr); }.dashboard-body { grid-template-columns: 1fr; }.coherence-card { grid-template-columns: auto auto 1fr; align-items: center; justify-items: start; }.coherence-card p { text-align: left; }.unit-row, .table-head { grid-template-columns: 1fr .9fr 52px; }
  .fragments { grid-template-columns: 1fr; }.fragments article { min-height: 120px; }.capability-grid { grid-template-columns: 1fr; }.capability-card { min-height: 215px; }.network-panel { padding: 27px 17px; }.network-views { gap: 5px; }.network-views div { padding: 12px 3px; }
  .evidence-stats { grid-template-columns: 1fr; }.evidence-stats article { min-height: auto; padding: 24px 0; border-left: 0; border-top: 1px solid var(--dod-line); }
  .ruisa-elements { grid-template-columns: 1fr; gap: 10px; }.ruisa-elements li { grid-template-columns: 50px 1fr; justify-items: start; align-items: center; }.ruisa-elements li:not(:last-child)::after { left: 25px; top: 50px; height: 10px; width: 1px; border-top: 0; border-left: 1px solid rgba(21,149,143,.35); }
  .steps { grid-template-columns: 1fr; gap: 28px; }.steps li { display: grid; grid-template-columns: 40px 1fr; padding: 0; }.steps li:not(:last-child)::after { top: 24px; bottom: -28px; left: 10px; right: auto; border-left: 1px solid var(--dod-line); border-top: 0; }.steps h3 { margin: 0 0 8px; }
  .pricing-grid { grid-template-columns: 1fr; }.price-card { padding: 28px 23px; }.dod-footer .footer-row { grid-template-columns: 1fr; }.dod-footer p { grid-column: auto; }.footer-links { flex-wrap: wrap; }
}

@media (max-width: 390px) {
  .dod-page .wrap { padding-left: 18px; padding-right: 18px; }.dod-header .nav-row { padding-left: 18px; padding-right: 18px; }.dashboard-topbar { align-items: flex-start; }.live-pill { white-space: nowrap; }.unit-row { font-size: .54rem; }.network-views span { font-size: .64rem; }.network-views small { font-size: .54rem; }
}

@media (prefers-reduced-motion: reduce) {
  .dod-page *, .dod-page *::before, .dod-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Persistent dark-navy product theme */
.metric-card,
.table-head,
.coherence-card { background: #102f3d; border-color: var(--dod-line); }
.unit-table,
.unit-row { border-color: var(--dod-line); }
.unit-row i { background: #244957; }
.score-ring { background: radial-gradient(closest-side, var(--paper-raised) 78%, transparent 80% 99%), conic-gradient(var(--dod-teal) 78%, #244957 0); }
.server-node { color: var(--ink); }
.btn-light { background: var(--dod-teal); color: #061926; }
.btn-light:hover { background: var(--dod-teal-light); color: #061926; }


/* Keep customer-facing supporting text readable across devices. */
.trust-list { font-size: .85rem; }
.local-note { font-size: .82rem; }
.evidence-stats small { font-size: .75rem; }
.price-card .credit { font-size: .85rem; }
.pricing-note { font-size: .8rem; }
