/* CIVITAS360: shared DUOVIA composition, with the green Civitas product accent. */
:root {--ink:#173a32;--muted:#586c65;--green:#0a7a68;--line:#dce5df}
.header::after {background:linear-gradient(90deg,#0a7a68,#c8aa74)}
.brand-group {flex-shrink:0}
.brand-endorsement {display:flex;align-items:center;gap:6px;margin-top:4px;font-size:8px;color:#626b70;text-decoration:none}
.brand-endorsement img {width:58px;height:auto}
.header nav a:is(:hover,:focus-visible,[aria-current]) {color:#0a7a68}
.header .button,.button,.home-page .button {background:linear-gradient(115deg,#178675,#125448);border-color:#0a7a68;box-shadow:0 8px 20px #12544822,inset 0 1px 0 #ffffff21}
.home-page .button:hover {box-shadow:0 12px 28px #12544835}
.hero {background:radial-gradient(ellipse at 88% 38%,#aad2c359,transparent 44%),radial-gradient(ellipse at 55% 100%,#e9d4ac55,transparent 50%),#f8f8f4}
.hero h1 {margin-bottom:16px}
.hero h1 span {color:#0a7a68;background:linear-gradient(115deg,#135241,#2b8a6d);background-clip:text;-webkit-background-clip:text}
.hero-subtitle {font-size:clamp(22px,2vw,30px);font-weight:600;letter-spacing:-.045em;color:#244b3c;margin-bottom:24px}
.hero .lead {color:#53685e}
.hero .eyebrow {font-size:9px;letter-spacing:.09em}
.hero-reassurance span {color:#0a7a68}
.product-preview {border-color:#6b9789;background:#10392e;box-shadow:0 32px 65px -20px #173e3055,0 0 0 8px #fff9,0 0 0 9px #c8b6a344}
.product-preview .film-heading,.product-preview figcaption {background:linear-gradient(105deg,#1c4e3f,#123b2f)}
.product-preview .film-heading {padding:17px 20px}
.product-preview .film-heading>span:last-child {color:#d0e4db;font-size:8px;letter-spacing:.03em;text-align:right}
.product-preview img {width:100%;height:auto}
.product-preview figcaption div>span {color:#d0e4db}
.hero-stage-strip {display:flex;justify-content:space-between;gap:12px;margin-top:26px;padding:0 4px}
.hero-stage-strip span {display:flex;align-items:center;gap:8px;font-size:11px;color:#48675a}
.hero-stage-strip b {display:grid;place-items:center;width:27px;height:27px;border:1px solid #c7dbd0;border-radius:8px;font-size:10px;font-weight:600;background:#ffffff80}
.hero-promise {margin-top:24px}
.problem .split p {font-size:14px;line-height:1.85}
.problem-tags {list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:20px 0 0}
.problem-tags li {padding:6px 10px;background:#f0f3f3;border:1px solid #dde5e5;border-radius:7px;font-size:11px;color:#526b5c}
.problem blockquote {background:linear-gradient(110deg,#163e30,#265b45);border-color:#4f7d65}
.problem>.text-link {display:inline-block;margin-top:24px;color:#0a7a68}
.panel:not(.warm) {background:linear-gradient(125deg,#183e30,#245441);border-color:#527c67}
.panel::after {background:linear-gradient(90deg,#2b8a6d,#d7b67a)}
.panel:not(.warm) li {color:#e2eee6}
.journey {margin-top:36px}
.phase-tabs {display:none}
.journey-ready .phase-tabs {display:flex;gap:10px;margin-bottom:18px;flex-wrap:wrap}
.phase-tabs button {flex:1 1 150px;display:flex;align-items:center;gap:12px;min-height:90px;text-align:left;padding:18px 16px;border:1px solid #d9dedc;border-radius:14px;background:#fffefa;color:#405e4f;cursor:pointer;font-size:12px;font-weight:600;line-height:1.5}
.phase-tabs button span {flex-shrink:0;font-size:13px;color:#a17a50}
.phase-tabs button:hover {border-color:#6d9b80;background:#f0f6f1}
.phase-tabs button[aria-selected="true"] {background:#184f3a;border-color:#184f3a;color:#fff;box-shadow:0 10px 24px #1b4b3622}
.phase-tabs button[aria-selected="true"] span {color:#e7c58b}
.phase-panel {padding:32px 36px;background:#fffdf8;border:1px solid #d9dedc;border-radius:18px;margin-top:18px}
.phase-panel[hidden] {display:none}
.phase-heading {display:flex;align-items:center;gap:16px;margin-bottom:25px}
.phase-heading .step-number,.phase-heading h3 {margin:0}
.phase-heading h3 {font-size:27px}
.phase-detail {display:flex;flex-wrap:wrap;gap:28px 50px}
.phase-detail>div {flex:1 1 260px}
.phase-detail h4 {font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#0a7a68}
.phase-detail p {font-size:14px;line-height:1.9;margin:0}
.plan ul {padding-left:17px;margin:0 0 28px;font-size:12px;line-height:1.8;color:#586c65}
.plan li {margin-bottom:8px}
.plan .button {gap:9px;white-space:normal;min-height:58px}
.featured {background:radial-gradient(ellipse at 100% 0,#509d7555,transparent 60%),linear-gradient(140deg,#214f37,#143c2b);border-color:#55856a}
.featured ul,.featured p {color:#dcecdf}
.pricing-note {font-size:12px;max-width:850px;margin-top:25px;line-height:1.8}
.audience-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:26px;margin-top:35px}
.audience-grid article {border-top:1px solid #cbb691;padding-top:22px}
.audience-index {font-size:11px;color:#997544}
.audience-grid h3 {font-size:21px;margin:15px 0;line-height:1.3}
.audience-grid p {font-size:13px;line-height:1.85;margin-bottom:0}
.screens img {aspect-ratio:16/9;object-fit:contain;background:#f5f6f7}
.screens figcaption span {font-size:12px}
.screenshot-link::after {background:#0a7a68;border-color:#608fa3;color:#fff}
.managed-service .steps {grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}
.managed-cta {display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap;padding-top:24px;border-top:1px solid #d9d5cc}
.managed-cta p {flex:1 1 270px;font-size:13px;max-width:450px;margin:0}
.managed-cta .button {font-size:13px}
.dark {background:radial-gradient(ellipse at 100% 0,#2b735055,transparent 55%),linear-gradient(125deg,#143827,#1f573a)}
.dark p,.dark .boundary {color:#cbdfd1}
.law-reference {display:inline-block;margin-top:22px;font-size:11px;color:#e3c58e}
.demo-section {background:#f7f3eb}
.demo-benefits {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:32px;margin:38px 0}
.demo-benefits h3 {font-size:23px;line-height:1.3}
.demo-benefits p {font-size:14px;line-height:1.85}
.faq details[open] {box-shadow:inset 3px 0 0 #0a7a68,0 12px 25px #12544809}
.faq summary::after {color:#0a7a68}
.faq details[open] summary::after {background:#0a7a68;border-color:#0a7a68;color:#fff}
.contact {background:radial-gradient(ellipse at 0 0,#378d6059,transparent 55%),linear-gradient(135deg,#21583c,#143c2b)}
.contact>div:first-child p,.contact>div:first-child>p:last-child {color:#d2e6d6}
.contact input:focus,.contact select:focus,.contact textarea:focus {border-color:#4d9470;box-shadow:0 0 0 4px #0a7a6812}
.mode-hint {color:#0a7a68;background:#edf5ef;padding:12px 14px;border-left:2px solid #6ba180;border-radius:0 8px 8px 0}
.button:disabled {cursor:wait;opacity:.65}
.hero .actions {flex-direction:column;align-items:flex-start;gap:10px}
.hero .actions .text-link {display:inline-flex;align-items:center;gap:12px}
.footer-links a:hover {color:#0a7a68;border-color:#0a7a68}
.help-entry {display:flex;flex-wrap:wrap;gap:48px;align-items:center;background:#f8f8f4}
.help-copy {flex:1 1 420px;min-width:0}
.help-copy h2 {font-size:clamp(28px,3vw,42px);line-height:1.22}
.help-copy>p:not(.eyebrow) {font-size:14px;line-height:1.9;max-width:570px}
.help-note {border-left:2px solid #b79a64;padding-left:18px;color:#0a7a68}
.help-picker {flex:1 1 330px;min-width:0;max-width:470px;padding:30px;background:#fff;border:1px solid #dce5df;border-radius:22px;box-shadow:0 18px 44px #173e300a}
.help-picker h3 {font-size:25px;line-height:1.3;margin:0 0 24px}
.help-picker label {display:block;font-size:12px;font-weight:600;margin:18px 0 8px}
.help-picker select {width:100%;font:inherit;font-size:13px;color:#173a32;background:#f8f8f4;border:1px solid #cbdace;border-radius:10px;padding:14px 10px;min-height:48px}
.help-picker select:focus-visible {outline:2px solid #0a7a68;outline-offset:3px}
.help-picker .button {margin-top:24px;width:100%;white-space:normal}
.help-picker .micro {margin:16px 0 0;line-height:1.7}
.help-options {min-width:0;margin:20px 0 0;padding:0;border:0}
.help-options legend {padding:0;margin-bottom:10px;font-size:13px;font-weight:600;color:#405e4f}
.help-picker .help-option {display:flex;align-items:flex-start;gap:10px;min-height:48px;padding:12px;margin:8px 0 0;border:1px solid #dce5df;border-radius:10px;background:#f8f8f4;font-size:14px;font-weight:400;line-height:1.6;cursor:pointer}
.help-option input {flex:0 0 18px;width:18px;height:18px;margin:3px 0 0;accent-color:#0a7a68}
.help-option span {min-width:0;overflow-wrap:anywhere}
.help-picker .help-option:has(input:checked) {background:#edf6ef;border-color:#4f9470;box-shadow:inset 3px 0 #0a7a68;color:#175239}
.help-option:focus-within {outline:2px solid #0a7a68;outline-offset:3px}
.header nav .mobile-help-link {display:none}
@media(max-width:760px) {
  .hero-subtitle {font-size:22px;line-height:1.4;margin-bottom:22px}
  .hero-stage-strip {flex-wrap:wrap;justify-content:flex-start;gap:10px 14px;margin-top:18px}
  .hero-stage-strip span {min-width:0}
  .hero-stage-strip b {flex-shrink:0}
  .hero .actions {align-items:stretch}
  .hero .actions .text-link {display:block;max-width:100%;line-height:1.7;overflow-wrap:break-word}
  .journey {margin-top:24px}
  .journey-ready .phase-tabs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .phase-tabs button {min-width:0;min-height:76px;padding:14px 12px;gap:8px;overflow-wrap:break-word}
  .phase-panel {padding:24px 20px;margin-top:16px}
  .phase-heading {align-items:flex-start;gap:12px;margin-bottom:20px}
  .phase-heading h3 {min-width:0;font-size:24px;line-height:1.3}
  .phase-heading .step-number {flex-shrink:0}
  .phase-detail {gap:22px}
  .phase-detail>div {min-width:0}
  .managed-cta {gap:18px}
  .managed-cta .button,.demo-section>.button {width:100%;font-size:14px;line-height:1.6}
  .contact input:not([type=checkbox]),.contact select,.contact textarea {padding-inline:10px}
  .contact .optional summary {overflow-wrap:break-word}
  .contact .notice {padding:16px;font-size:13px;line-height:1.7}
  .home-page h2 {line-height:1.22}
  .header .brand-group {min-width:0;flex:1 1 auto;max-width:128px}
  .header .brand-endorsement {flex-wrap:wrap;gap:3px 5px;font-size:7px;line-height:1.5}
  .header .brand-endorsement img {width:44px}
  .header.nav-ready .menu-toggle {color:#0a7a68;border-color:#cbddd0;background:#f2f7f3}
  .header.nav-ready nav {border-color:#d5e4d9;background:#fffefa;padding:10px}
  .header nav a[data-nav-target]:is(:hover,:focus-visible,[aria-current]) {background:#edf6ef;color:#0a7a68}
  .header nav .mobile-help-link {display:flex;grid-column:1/-1;background:#edf6ef;border:1px solid #d5e8db;border-radius:9px;color:#0a7a68}
  .help-entry {gap:26px;padding-block:42px;align-items:stretch}
  .help-copy,.help-picker {flex-basis:100%;max-width:none}
  .help-copy .eyebrow {font-size:10px;line-height:1.7;letter-spacing:.07em;margin-bottom:18px}
  .help-copy h2 {font-size:clamp(27px,7.5vw,32px);line-height:1.25;margin-bottom:20px}
  .help-copy>p:not(.eyebrow) {line-height:1.8}
  .help-note {padding-left:14px;margin-bottom:0}
  .help-picker {padding:24px 20px;border-radius:18px}
  .help-picker h3 {font-size:24px;line-height:1.3;margin-bottom:20px}
  .help-picker .button {font-size:14px;line-height:1.6;gap:10px;padding:14px 12px;margin-top:22px}
  .help-picker .micro {font-size:13px;line-height:1.75}
}
@media(max-width:360px) {
  .journey-ready .phase-tabs {grid-template-columns:minmax(0,1fr)}
  .phase-tabs button {min-height:52px}
  .header nav {grid-template-columns:minmax(0,1fr)}
  .header nav a {padding:10px 12px}
  .header .brand-group {max-width:112px}
  .help-picker {padding-inline:18px}
}
@media(prefers-reduced-motion:no-preference) {.phase-tabs button {transition:background .2s ease,border-color .2s ease,box-shadow .2s ease}}
