/* TaskPerfect 2026 Design System: Navy & Checkmark-Green brand palette, alternating white/mist bands on Bootstrap 5.3 */
:root {
  --cp-bg: #ffffff;
  --cp-band: #f1f5f9;
  --cp-surface: #ffffff;
  --cp-ink: #122038;
  --cp-muted: #51627a;
  --cp-line: #d8e1ec;
  --cp-navy: #0e3a6e;
  --cp-deep: #0a1e3c;
  --cp-plus: #66a944;
  --cp-green: #3c7b1d;
  --cp-btn: #3c7b1d;
  --cp-btn-hover: #2f6316;
  --cp-btn-ink: #ffffff;
  --cp-new: #9a5b00;
  --cp-new-bg: #fff1d6;
  --cp-chip: #e7eef7;
  --cp-logo-plate: transparent;
  --cp-hero-ink: #f2f6fb;
  --cp-cta: #0e3a6e;
  --cp-hero-muted: #b8c7dc;
  --cp-shadow: 0 1px 2px rgba(10, 30, 60, .06), 0 12px 32px -12px rgba(10, 30, 60, .22);
  --font-display: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-hero: clamp(2.1rem, 1.35rem + 2.55vw, 3.2rem);
  --fs-h2: clamp(1.62rem, 1.18rem + 1.45vw, 2.3rem);
  --fs-h3: 1.2rem;
  --fs-body: 1.0625rem;
  --fs-small: .92rem;
  --radius: .65rem;

  --bs-body-bg: var(--cp-bg);
  --bs-body-color: var(--cp-ink);
  --bs-emphasis-color: var(--cp-ink);
  --bs-secondary-color: var(--cp-muted);
  --bs-border-color: var(--cp-line);
  --bs-link-color: var(--cp-green);
  --bs-link-hover-color: var(--cp-btn-hover);
  --bs-link-color-rgb: 60, 123, 29;
  --bs-link-hover-color-rgb: 47, 99, 22;
  --bs-body-font-family: var(--font-body);
  --bs-body-font-size: var(--fs-body);
  --bs-body-line-height: 1.62;
  --bs-tertiary-bg: var(--cp-band);
  --bs-focus-ring-color: rgba(102, 169, 68, .45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cp-bg: #091325;
    --cp-band: #0e1c33;
    --cp-surface: #12223d;
    --cp-ink: #e7eef8;
    --cp-muted: #a3b3ca;
    --cp-line: #23375a;
    --cp-navy: #bad0f2;
    --cp-deep: #060f1e;
    --cp-plus: #81c65d;
    --cp-green: #90d36d;
    --cp-btn: #79c053;
    --cp-btn-hover: #8fd16c;
    --cp-btn-ink: #06101f;
    --cp-new: #ffc56b;
    --cp-new-bg: #3a2a0c;
    --cp-chip: #1b2d4b;
    --cp-logo-plate: #f4f7fc;
    --cp-shadow: 0 1px 2px rgba(0, 0, 0, .32), 0 14px 36px -14px rgba(0, 0, 0, .72);
    --bs-link-color-rgb: 144, 211, 109;
    --bs-link-hover-color-rgb: 162, 222, 130;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --cp-bg: #091325;
  --cp-band: #0e1c33;
  --cp-surface: #12223d;
  --cp-ink: #e7eef8;
  --cp-muted: #a3b3ca;
  --cp-line: #23375a;
  --cp-navy: #bad0f2;
  --cp-deep: #060f1e;
  --cp-plus: #81c65d;
  --cp-green: #90d36d;
  --cp-btn: #79c053;
  --cp-btn-hover: #8fd16c;
  --cp-btn-ink: #06101f;
  --cp-new: #ffc56b;
  --cp-new-bg: #3a2a0c;
  --cp-chip: #1b2d4b;
  --cp-logo-plate: #f4f7fc;
  --cp-shadow: 0 1px 2px rgba(0, 0, 0, .32), 0 14px 36px -14px rgba(0, 0, 0, .72);
  --bs-link-color-rgb: 144, 211, 109;
  --bs-link-hover-color-rgb: 162, 222, 130;
  color-scheme: dark;
}

body { background: var(--cp-bg); color: var(--cp-ink); font-family: var(--font-body); font-size: var(--fs-body); }
h1, h2, h3, .display-face { font-family: var(--font-display); color: var(--cp-navy); text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { text-wrap: pretty; }
.lead-copy { color: var(--cp-muted); font-size: 1.15rem; max-width: 64ch; }
.eyebrow { font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cp-green); }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--cp-plus); outline-offset: 2px; }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 2000; background: var(--cp-btn); color: var(--cp-btn-ink); padding: .5rem .9rem; border-radius: .4rem; }
.skip-link:focus { top: 1rem; }
.ic { width: 1.35em; height: 1.35em; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.band { background: var(--cp-band); }
section { padding-block: clamp(3.4rem, 2.4rem + 3vw, 5.75rem); }

/* Preview notice */
.proto-note { background: var(--cp-new-bg); color: var(--cp-new); font-size: .85rem; border-bottom: 1px dashed currentColor; }
.proto-note strong { font-weight: 700; }

/* Buttons */
.btn-cp { --bs-btn-bg: var(--cp-btn); --bs-btn-border-color: var(--cp-btn); --bs-btn-color: var(--cp-btn-ink);
  --bs-btn-hover-bg: var(--cp-btn-hover); --bs-btn-hover-border-color: var(--cp-btn-hover); --bs-btn-hover-color: var(--cp-btn-ink);
  --bs-btn-active-bg: var(--cp-btn-hover); --bs-btn-active-color: var(--cp-btn-ink); --bs-btn-font-weight: 700; --bs-btn-padding-x: 1.25rem; --bs-btn-padding-y: .7rem; font-family: var(--font-display); }
.btn-ghost { --bs-btn-color: var(--cp-navy); --bs-btn-border-color: var(--cp-line); --bs-btn-hover-bg: var(--cp-band); --bs-btn-hover-color: var(--cp-navy); --bs-btn-hover-border-color: var(--cp-line); --bs-btn-font-weight: 700; --bs-btn-padding-x: 1.1rem; --bs-btn-padding-y: .7rem; font-family: var(--font-display); }
.btn-on-dark { --bs-btn-color: var(--cp-hero-ink); --bs-btn-border-color: rgba(242, 246, 251, .35); --bs-btn-hover-bg: rgba(242, 246, 251, .1); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: rgba(242, 246, 251, .6); --bs-btn-font-weight: 700; --bs-btn-padding-x: 1.1rem; --bs-btn-padding-y: .7rem; font-family: var(--font-display); }

/* Navbar */
.site-header { top: env(safe-area-inset-top, 0px); }
.site-nav { background: var(--cp-bg); border-bottom: 1px solid var(--cp-line); }
.site-nav .navbar-brand img { height: 42px; width: auto; }
.site-nav .navbar-brand { border-radius: .45rem; padding: .18rem .4rem; margin-left: -.4rem; background: var(--cp-logo-plate); }
.vert-pill { display: inline-flex; align-items: center; padding: .2rem .65rem; border-radius: 2rem; background: var(--cp-chip); color: var(--cp-navy); border: 1px solid var(--cp-line); font-family: var(--font-display); font-size: .78rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.vert-pill:hover, .vert-pill:focus { border-color: var(--cp-plus); color: var(--cp-green); }
.site-nav .nav-link { font-family: var(--font-display); font-weight: 600; color: var(--cp-ink); font-size: .96rem; }
.site-nav .nav-link:hover, .site-nav .nav-link:focus { color: var(--cp-green); }
.site-nav .navbar-toggler { border-color: var(--cp-line); color: var(--cp-ink); }
.navbar-toggler-icon { background-image: none; display: grid; place-items: center; }
.mega { --bs-dropdown-bg: var(--cp-surface); --bs-dropdown-border-color: var(--cp-line); --bs-dropdown-link-color: var(--cp-ink); --bs-dropdown-link-hover-bg: var(--cp-band); --bs-dropdown-link-hover-color: var(--cp-ink); box-shadow: var(--cp-shadow); padding: .75rem; }
@media (min-width: 992px) { .mega { width: min(680px, 92vw); } .mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; } }
.mega-item { display: flex; gap: .75rem; align-items: flex-start; padding: .6rem .7rem; border-radius: .45rem; text-decoration: none; color: var(--cp-ink); }
.mega-item:hover, .mega-item:focus { background: var(--cp-band); color: var(--cp-ink); }
.mega-item .ic { color: var(--cp-plus); margin-top: .15rem; }
.mega-item strong { display: block; font-family: var(--font-display); font-size: .95rem; }
.mega-item span { display: block; color: var(--cp-muted); font-size: .84rem; line-height: 1.35; }
.mega-new { border-top: 1px solid var(--cp-line); margin-top: .35rem; padding-top: .8rem; }
.mega-new strong { color: var(--cp-green); }
.theme-btn { border: 1px solid var(--cp-line); background: transparent; color: var(--cp-ink); border-radius: 2rem; padding: .35rem .7rem; font-size: .85rem; display: inline-flex; gap: .35rem; align-items: center; }

/* Hero & Page Hero */
.hero { background-color: var(--cp-deep);
  background-image:
    radial-gradient(60rem 30rem at 85% -10%, rgba(102, 169, 68, .28), transparent 60%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(0, 85, 150, .42), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M16 22l4 4 8-8' fill='none' stroke='white' stroke-opacity='.06' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color: var(--cp-hero-ink); padding-block: clamp(3rem, 2rem + 4vw, 5.4rem) clamp(3.4rem, 2.4rem + 4vw, 5.8rem); overflow: hidden; }
.hero h1 { color: #fff; font-size: var(--fs-hero); font-weight: 800; line-height: 1.06; letter-spacing: -.022em; }
.hero h1 .plus { color: #9fd87c; }
.hero .eyebrow { color: #9fd87c; }
.hero p.sub { color: var(--cp-hero-muted); font-size: 1.18rem; max-width: 38rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--cp-hero-muted); font-size: .95rem; padding: 0; list-style: none; }
.hero-facts li { display: inline-flex; gap: .4rem; align-items: center; }
.hero-facts .ic { color: #9fd87c; width: 1.1em; height: 1.1em; }

.page-hero { background-color: var(--cp-deep);
  background-image:
    radial-gradient(50rem 24rem at 90% -20%, rgba(102, 169, 68, .24), transparent 60%),
    radial-gradient(36rem 22rem at -10% 115%, rgba(0, 85, 150, .35), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M16 22l4 4 8-8' fill='none' stroke='white' stroke-opacity='.06' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color: var(--cp-hero-ink); padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.2rem); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.85rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.page-hero .eyebrow { color: #9fd87c; }
.page-hero p.sub { color: var(--cp-hero-muted); font-size: 1.14rem; max-width: 45rem; }
.page-hero .hero-facts { margin-top: 1.25rem; }
.crumbs { font-size: .85rem; margin-bottom: 1rem; color: var(--cp-hero-muted); }
.crumbs a { color: var(--cp-hero-muted); text-decoration: none; }
.crumbs a:hover, .crumbs a:focus { color: #fff; text-decoration: underline; }
.crumbs .sep { opacity: .6; margin-inline: .35rem; }

/* Illustrative Case Workspace Window */
.app-window { background: #f7f9fc; color: #122038; border-radius: .85rem; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1); overflow: hidden; font-size: .82rem; position: relative; }
.app-chrome { display: flex; align-items: center; gap: .4rem; background: #e6ebf2; padding: .5rem .75rem; }
.app-chrome i { width: .6rem; height: .6rem; border-radius: 50%; background: #c3ccd9; display: inline-block; }
.app-chrome .url { margin-left: .5rem; background: #fff; border-radius: 1rem; padding: .1rem .75rem; color: #5a6a82; font-size: .75rem; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-body { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) minmax(0, 13.5rem); min-height: 19rem; }
.app-rail { background: #0e3a6e; display: flex; flex-direction: column; align-items: center; gap: .9rem; padding-top: .9rem; color: #9db5d8; }
.app-rail .ic { width: 1.1rem; height: 1.1rem; }
.app-rail .on { color: #fff; }
.app-main { padding: .8rem .9rem; min-width: 0; }
.app-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.app-h strong { font-family: var(--font-display); font-size: .92rem; color: #0e3a6e; }
.app-pill { background: #e3ebf6; color: #0e3a6e; border-radius: 1rem; padding: .05rem .55rem; font-size: .72rem; font-weight: 600; }
.app-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.app-table th { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: #6a7a92; font-weight: 600; padding: .3rem .35rem; border-bottom: 1px solid #dbe2ec; text-align: left; }
.app-table td { padding: .42rem .35rem; border-bottom: 1px solid #e7ecf3; white-space: nowrap; }
.app-table tr.sel td { background: #e9f0fa; }
.age { border-radius: .3rem; padding: .02rem .42rem; font-size: .7rem; font-weight: 700; }
.age-a { background: #e1f2d5; color: #2b5e11; }
.age-b { background: #fdf0cf; color: #7a5200; }
.age-c { background: #dceafb; color: #0e3a6e; }
.app-card { border-left: 1px solid #dbe2ec; padding: .8rem; background: #fff; display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.app-card .who { font-family: var(--font-display); font-weight: 700; color: #0e3a6e; font-size: .9rem; }
.app-card .meta { color: #6a7a92; font-size: .72rem; }
.app-card .bal { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: #122038; }
.app-btn { background: #0e3a6e; color: #fff; border-radius: .35rem; padding: .32rem .5rem; font-weight: 700; font-size: .74rem; text-align: center; }
.app-ai { background: #f1f5fc; border: 1px solid #d4dfef; border-radius: .45rem; padding: .45rem .5rem; font-size: .72rem; color: #263959; }
.app-ai b { color: #0e3a6e; display: flex; align-items: center; gap: .3rem; }
.app-ai .ic { width: .95rem; height: .95rem; color: #3c7b1d; }
.app-toast { position: absolute; right: 1rem; bottom: 1rem; background: #fff; color: #122038; border-radius: .6rem; padding: .55rem .8rem; box-shadow: 0 12px 30px -8px rgba(10, 30, 60, .45); display: flex; gap: .55rem; align-items: center; font-size: .8rem; max-width: 17.5rem; }
.app-toast .ok { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #3c7b1d; color: #fff; display: grid; place-items: center; flex: none; }
.app-toast .ok .ic { width: 1rem; height: 1rem; }
@media (max-width: 991.98px) { .app-body { grid-template-columns: minmax(0, 1fr); } .app-rail, .app-card { display: none; } .app-toast { position: static; margin: 0 .9rem .9rem; } }
@media (max-width: 575.98px) { .app-table .hide-sm { display: none; } }

/* Audience / Switcher strip */
.who-strip { border-bottom: 1px solid var(--cp-line); padding-block: 1.15rem; }
.who-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; justify-content: center; color: var(--cp-muted); font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.who-strip li { display: inline-flex; gap: .45rem; align-items: center; }
.who-strip .ic { color: var(--cp-plus); }

.vert-bar { background: var(--cp-band); border-bottom: 1px solid var(--cp-line); padding-block: .65rem; font-size: .88rem; }
.vert-bar .pill-switch { display: inline-flex; align-items: center; padding: .2rem .65rem; border-radius: 2rem; border: 1px solid var(--cp-line); background: var(--cp-surface); color: var(--cp-ink); text-decoration: none; font-weight: 600; font-size: .82rem; }
.vert-bar .pill-switch:hover, .vert-bar .pill-switch:focus { border-color: var(--cp-plus); color: var(--cp-green); }
.vert-bar .pill-switch.is-active { background: var(--cp-navy); border-color: var(--cp-navy); color: var(--cp-bg); }

/* Cards & Feature Grids */
.sol { display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.4rem; border: 1px solid var(--cp-line); border-radius: var(--radius); background: var(--cp-surface); text-decoration: none; color: var(--cp-ink); transition: border-color .15s, transform .15s; }
.sol:hover, .sol:focus { border-color: var(--cp-plus); transform: translateY(-2px); color: var(--cp-ink); }
.sol.is-static:hover { border-color: var(--cp-line); transform: none; }
.sol .ic-wrap { width: 2.6rem; height: 2.6rem; border-radius: .55rem; background: var(--cp-chip); display: grid; place-items: center; color: var(--cp-green); }
.sol h3 { margin: .35rem 0 0; font-size: 1.1rem; }
.sol p { color: var(--cp-muted); margin: 0; font-size: .97rem; }
.sol ul { margin: 0; padding-left: 1.1rem; color: var(--cp-muted); font-size: .95rem; }
.sol ul li + li { margin-top: .15rem; }
.sol .go { margin-top: auto; padding-top: .35rem; font-family: var(--font-display); font-weight: 700; color: var(--cp-green); font-size: .92rem; }

.checks { list-style: none; padding: 0; margin: 1rem 0 1.25rem; display: grid; gap: .55rem; }
.checks li { display: flex; gap: .55rem; align-items: flex-start; }
.checks .ic { color: var(--cp-plus); width: 1.15em; height: 1.15em; margin-top: .25rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.pill-list li { background: var(--cp-chip); border-radius: 1rem; padding: .18rem .75rem; font-size: .88rem; font-weight: 600; }
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
@media (min-width: 992px) { .cards-3.by-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card-lite { background: var(--cp-surface); border: 1px solid var(--cp-line); border-radius: var(--radius); padding: 1.3rem; min-width: 0; }
.cards-3 > .card-lite, .card-lite:only-child { height: 100%; }
.card-lite h3 { font-size: 1.06rem; margin: 0 0 .4rem; }
.card-lite p { color: var(--cp-muted); margin: 0; font-size: .97rem; }
.card-lite .ic { color: var(--cp-plus); width: 1.6rem; height: 1.6rem; margin-bottom: .5rem; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3rem; min-height: 2.2rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--cp-navy); color: var(--cp-bg); font-family: var(--font-display); font-weight: 800; display: grid; place-items: center; }
.steps strong { display: block; font-family: var(--font-display); color: var(--cp-navy); }

/* Media, Diagrams & Screenshots */
figure.media { margin: 0; min-width: 0; }
figure.media figcaption { color: var(--cp-muted); font-size: .9rem; margin-top: .6rem; }
.diagram-frame { background: #ffffff; border: 1px solid var(--cp-line); border-radius: .85rem; padding: clamp(.85rem, .6rem + 1vw, 1.5rem); box-shadow: var(--cp-shadow); }
.diagram-frame img { display: block; max-width: 100%; height: auto; margin-inline: auto; border-radius: .4rem; }
.shot-img { display: block; width: 100%; height: auto; object-fit: cover; object-position: top; background: var(--cp-surface); border: 1px solid var(--cp-line); border-radius: .8rem; box-shadow: var(--cp-shadow); transition: border-color .15s, box-shadow .15s; }
.shot-shot { aspect-ratio: 16 / 10; }
.shot-wide { aspect-ratio: 16 / 9; }
.shot-phone { aspect-ratio: 9 / 17; max-width: 16rem; margin-inline: auto; border: 8px solid var(--cp-ink); border-radius: 1.8rem; }
.video-frame { display: block; width: 100%; aspect-ratio: 16 / 9; background: #0d2346; border-radius: .8rem; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); object-fit: cover; }

/* Click-to-enlarge trigger & top-right expand badge */
.shot-zoom { position: relative; display: block; cursor: zoom-in; text-decoration: none; border-radius: .8rem; }
.shot-zoom-diagram { border-radius: .85rem; transition: border-color .15s, box-shadow .15s; }
.shot-zoom-phone { max-width: 16rem; margin-inline: auto; border-radius: 1.8rem; }
.shot-zoom-phone .shot-phone { max-width: none; margin-inline: 0; }
.shot-zoom:not(.shot-zoom-phone):hover .shot-img,
.shot-zoom:not(.shot-zoom-phone):focus-visible .shot-img,
.shot-zoom-diagram:hover,
.shot-zoom-diagram:focus-visible { border-color: var(--cp-plus); }
.shot-zoom-phone:hover .shot-phone,
.shot-zoom-phone:focus-visible .shot-phone { box-shadow: 0 0 0 2px var(--cp-plus), var(--cp-shadow); }
.shot-expand { position: absolute; top: .65rem; right: .65rem; z-index: 2; width: 2.15rem; height: 2.15rem; border-radius: .5rem;
  display: grid; place-items: center; background: rgba(10, 30, 60, .82); color: #ffffff;
  border: 1px solid rgba(255, 255, 255, .28); box-shadow: 0 4px 12px rgba(0, 0, 0, .28); backdrop-filter: blur(4px);
  transition: background-color .15s, border-color .15s, transform .15s; pointer-events: none; }
.shot-zoom-phone .shot-expand { top: .85rem; right: .85rem; width: 1.95rem; height: 1.95rem; }
.shot-expand .ic { width: 1.05rem; height: 1.05rem; stroke-width: 2; }
.shot-zoom:hover .shot-expand,
.shot-zoom:focus-visible .shot-expand { background: #3c7b1d; color: #ffffff; border-color: rgba(255, 255, 255, .55); transform: scale(1.06); }

/* Full-size screenshot & diagram lightbox (<dialog>) */
html.lb-open { overflow: hidden; }
dialog.shot-lightbox { padding: 0; border: 0; margin: 0; width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; background: transparent; color: #f2f6fb; overflow: hidden; }
dialog.shot-lightbox::backdrop { background: rgba(6, 15, 30, .9); backdrop-filter: blur(5px); }
dialog.shot-lightbox[open] { display: flex; flex-direction: column; }
.lb-shell { display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding: .65rem clamp(.75rem, 2vw, 1.5rem);
  background: rgba(6, 15, 30, .88); border-bottom: 1px solid rgba(255, 255, 255, .14); flex: none; z-index: 3; }
.lb-meta { display: flex; align-items: center; gap: .65rem; min-width: 0; flex: 1; }
.lb-count { font-family: var(--font-display); font-size: .8rem; font-weight: 700; padding: .15rem .55rem; border-radius: 1rem; background: rgba(255, 255, 255, .14); color: #fff; white-space: nowrap; flex: none; }
.lb-count[hidden], .lb-nav[hidden] { display: none !important; }
.lb-caption { font-size: .92rem; color: #dbe5f3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-actions { display: flex; align-items: center; gap: .45rem; flex: none; }
.lb-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .75rem; border-radius: .45rem;
  border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .08); color: #f2f6fb;
  font-family: var(--font-display); font-size: .84rem; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s; }
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .48); color: #fff; }
.lb-btn[aria-pressed="true"] { background: #3c7b1d; border-color: #9fd87c; color: #fff; }
.lb-btn .ic { width: 1.1rem; height: 1.1rem; }
.lb-close { padding-inline: .55rem; }
.lb-body { position: relative; flex: 1; min-height: 0; display: flex; overflow: hidden; }
.lb-stage { flex: 1; min-width: 0; min-height: 0; display: flex; overflow: auto; padding: clamp(.65rem, 1.8vw, 1.5rem); }
.lb-img { display: block; margin: auto; width: auto; height: auto; max-width: min(92vw, 1520px); max-height: calc(100vh - 5.5rem); max-height: calc(100dvh - 5.5rem);
  border-radius: .55rem; box-shadow: 0 24px 64px rgba(0, 0, 0, .65); background: #fff; cursor: zoom-out; user-select: none; -webkit-user-drag: none; }
.lb-img.is-diagram { padding: clamp(.75rem, 1.5vw, 1.4rem); background: #ffffff; }
.lb-img.is-phone { border-radius: 1.35rem; }
.lb-stage.is-zoomed .lb-img { flex: none; max-width: none; max-height: none; cursor: grab; }
.lb-stage.is-zoomed.is-dragging .lb-img { cursor: grabbing; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(6, 15, 30, .8); color: #fff; display: grid; place-items: center;
  cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); backdrop-filter: blur(4px); transition: background-color .15s, border-color .15s, transform .15s; }
.lb-prev { left: clamp(.5rem, 1.5vw, 1.25rem); }
.lb-next { right: clamp(.5rem, 1.5vw, 1.25rem); }
.lb-nav:hover, .lb-nav:focus-visible { background: #3c7b1d; border-color: #9fd87c; transform: translateY(-50%) scale(1.06); }
@media (max-width: 575.98px) {
  .lb-bar { padding-inline: .65rem; gap: .5rem; }
  .lb-caption { font-size: .82rem; }
  .lb-btn { padding: .38rem .58rem; font-size: .8rem; }
  .lb-nav { width: 2.35rem; height: 2.35rem; }
}

.soon { position: relative; width: 100%; max-width: 100%; border: 1.5px dashed var(--cp-line); border-radius: .8rem; overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--cp-band) 0 14px, var(--cp-surface) 14px 28px);
  display: grid; place-items: center; text-align: center; color: var(--cp-muted); }
.soon-shot { aspect-ratio: 16 / 10; }
.soon-wide { aspect-ratio: 16 / 9; }
.soon-phone { aspect-ratio: 9 / 17; max-width: 16rem; margin-inline: auto; border-radius: 1.8rem; border: 8px solid var(--cp-ink); }
.soon-video { aspect-ratio: 16 / 9; background: radial-gradient(28rem 16rem at 70% 20%, rgba(102, 169, 68, .22), transparent 60%), #0d2346; border: 1px solid rgba(159, 216, 124, .3); }
.soon-body { position: relative; z-index: 1; display: grid; justify-items: center; gap: .3rem; padding: .9rem 1.2rem; margin: 1.5rem 1rem;
  background: var(--cp-surface); border: 1px solid var(--cp-line); border-radius: .6rem; box-shadow: var(--cp-shadow); max-width: 22rem; }
.soon-body .ic { width: 1.9rem; height: 1.9rem; color: var(--cp-plus); }
.soon-body strong { font-family: var(--font-display); color: var(--cp-navy); font-size: 1rem; }
.soon-body span { font-size: .88rem; line-height: 1.35; }

.feature-row + .feature-row { margin-top: clamp(3rem, 2rem + 3vw, 4.75rem); }
.feature-row h2 { font-size: clamp(1.38rem, 1.1rem + 1vw, 1.88rem); }
.fine { font-size: .88rem; color: var(--cp-muted); }

/* IT & Architecture Panels */
.aud { border-radius: .9rem; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); height: 100%; }
.aud-exec { background: var(--cp-surface); border: 1px solid var(--cp-line); }
.aud-it { background: var(--cp-deep); color: var(--cp-hero-ink); }
.aud-it h2, .aud-it h3, .aud-it .eyebrow { color: #fff; }
.aud-it h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); }
.aud-it .eyebrow { color: #9fd87c; }
.spec { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: .55rem 1rem; margin: 1rem 0 1.25rem; font-size: .95rem; }
.spec dt { color: #9fb4d2; font-weight: 600; }
.spec dd { margin: 0; color: var(--cp-hero-ink); }
.aud-it a { color: #9fd87c; font-weight: 700; }
.it-links { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
@media (max-width: 575.98px) { .spec { grid-template-columns: minmax(0, 1fr); gap: .15rem; } .spec dd { margin-bottom: .6rem; } }

/* Comparison Table (Why TaskPerfect) */
.cmp-wrap { border: 1px solid var(--cp-line); border-radius: .85rem; overflow: hidden; background: var(--cp-surface); box-shadow: var(--cp-shadow); }
.cmp-table { width: 100%; border-collapse: collapse; margin: 0; }
.cmp-table th, .cmp-table td { padding: 1rem 1.15rem; border-bottom: 1px solid var(--cp-line); vertical-align: top; }
.cmp-table thead th { background: var(--cp-deep); color: #fff; font-family: var(--font-display); font-size: .98rem; border-bottom: 0; }
.cmp-table thead th.col-tp { background: #164987; color: #fff; }
.cmp-table tbody tr:last-child td, .cmp-table tbody tr:last-child th { border-bottom: 0; }
.cmp-table tbody th { font-family: var(--font-display); color: var(--cp-navy); width: 18%; background: var(--cp-band); }
.cmp-table td.col-tp { background: rgba(102, 169, 68, .07); font-weight: 500; }

/* Pricing, Testimonials, Team, Blog */
.price-card { background: var(--cp-surface); border: 1px solid var(--cp-line); border-radius: 1rem; box-shadow: var(--cp-shadow); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); height: 100%; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--cp-plus); }
.price-card .amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); color: var(--cp-navy); line-height: 1; font-variant-numeric: tabular-nums; }
.price-card .amount sup { font-size: .45em; vertical-align: .9em; margin-right: .1em; }
.price-card .per { color: var(--cp-muted); font-size: 1rem; }
.price-card hr { border-color: var(--cp-line); opacity: 1; }
.free-banner { background: var(--cp-new-bg); color: var(--cp-new); border-radius: var(--radius); padding: .9rem 1.1rem; display: flex; gap: .7rem; align-items: flex-start; }
.free-banner .ic { flex: none; margin-top: .15rem; }
.free-banner strong { font-family: var(--font-display); }

/* New in 12, Architecture & Callout Notes */
.new-card { height: 100%; padding: 1.35rem; border-radius: var(--radius); background: var(--cp-surface); border: 1px solid var(--cp-line); display: flex; flex-direction: column; gap: .5rem; }
.new-card .badge-new { align-self: flex-start; background: var(--cp-new-bg); color: var(--cp-new); font-weight: 700; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; border-radius: .3rem; padding: .12rem .45rem; }
.new-card h3 { font-size: 1.08rem; margin: 0; }
.new-card p { color: var(--cp-muted); margin: 0; font-size: .98rem; }

.spec-light dt { color: var(--cp-muted); }
.spec-light dd { color: var(--cp-ink); }

.arch { display: grid; gap: .6rem; }
.arch-label { font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cp-muted); margin: .5rem 0 0; }
.arch-tier { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .6rem; }
.arch-box { min-width: 0; padding: .8rem .95rem; border: 1px solid var(--cp-line); border-radius: var(--radius); background: var(--cp-surface); }
.arch-box strong { display: block; font-family: var(--font-display); font-size: .98rem; color: var(--cp-navy); }
.arch-box span { display: block; color: var(--cp-muted); font-size: .88rem; line-height: 1.4; }
.arch-box.core { background: var(--cp-navy); border-color: var(--cp-navy); }
.arch-box.core strong, .arch-box.core span { color: var(--cp-bg); }
.arch-box.core span { opacity: .88; }
.arch-flow { display: grid; place-items: center; color: var(--cp-plus); }
.arch-flow .ic { transform: rotate(90deg); }

.note-box { border: 1px solid var(--cp-line); border-radius: var(--radius); background: var(--cp-surface); padding: 1.1rem 1.25rem; }
.note-box > :last-child { margin-bottom: 0; }
.note-box h3 { font-size: 1.06rem; margin: 0 0 .4rem; }

.tst { height: 100%; margin: 0; padding: 1.5rem; border-radius: var(--radius); background: var(--cp-band); display: flex; flex-direction: column; gap: 1rem; }
.tst.on-band { background: var(--cp-surface); border: 1px solid var(--cp-line); }
.tst blockquote { margin: 0; }
.tst blockquote p { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; color: var(--cp-navy); line-height: 1.45; margin: 0; }
.tst figcaption { margin-top: auto; border-top: 1px solid var(--cp-line); padding-top: .8rem; font-size: .95rem; }
.tst figcaption strong { display: block; color: var(--cp-ink); }
.tst figcaption span { color: var(--cp-muted); }

.team-card { background: var(--cp-surface); border: 1px solid var(--cp-line); border-radius: var(--radius); padding: 1.25rem; text-align: center; height: 100%; }
.team-card img { width: 7.5rem; height: 7.5rem; border-radius: 50%; object-fit: cover; margin-bottom: .85rem; border: 3px solid var(--cp-chip); }
.team-card h3 { font-size: 1.08rem; margin-bottom: .2rem; }
.team-card p { color: var(--cp-muted); margin: 0; font-size: .95rem; }

.blog-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--cp-line); border-radius: var(--radius); background: var(--cp-surface); padding: 1.5rem; text-decoration: none; color: var(--cp-ink); transition: border-color .15s, transform .15s; }
.blog-card:hover, .blog-card:focus { border-color: var(--cp-plus); transform: translateY(-2px); color: var(--cp-ink); }
.blog-card h2, .blog-card h3 { font-size: 1.2rem; margin: .45rem 0 .6rem; color: var(--cp-navy); }
.blog-card p { color: var(--cp-muted); font-size: .98rem; margin-bottom: 1rem; }
.blog-meta { margin-top: auto; display: flex; align-items: center; gap: .65rem; font-size: .88rem; color: var(--cp-muted); padding-top: .85rem; border-top: 1px solid var(--cp-line); }
.avatar-badge { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--cp-navy); color: var(--cp-bg); font-family: var(--font-display); font-weight: 800; font-size: .82rem; display: grid; place-items: center; flex: none; }

.post-body h2 { font-size: clamp(1.28rem, 1.1rem + .65vw, 1.62rem); margin-top: 2.25rem; margin-bottom: .75rem; }
.post-body h3 { font-size: 1.15rem; margin-top: 1.6rem; }
.post-body ul, .post-body ol { display: grid; gap: .45rem; margin-bottom: 1.25rem; }

/* Forms, Contact, Resources & FAQ */
.way { display: flex; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--cp-line); border-radius: var(--radius); background: var(--cp-surface); text-decoration: none; color: var(--cp-ink); align-items: flex-start; }
.way:hover, .way:focus { border-color: var(--cp-plus); color: var(--cp-ink); }
.way .ic-wrap { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--cp-chip); color: var(--cp-green); display: grid; place-items: center; flex: none; }
.way strong { font-family: var(--font-display); display: block; }
.way span { color: var(--cp-muted); font-size: .95rem; }

.form-card { background: var(--cp-surface); border: 1px solid var(--cp-line); border-radius: .9rem; padding: clamp(1.25rem, 1rem + 1vw, 2rem); box-shadow: var(--cp-shadow); }
.form-card .form-label { font-weight: 600; font-size: .92rem; margin-bottom: .25rem; }
.form-control, .form-select { background-color: var(--cp-bg); color: var(--cp-ink); border-color: var(--cp-line); }
.form-control:focus, .form-select:focus { background-color: var(--cp-bg); color: var(--cp-ink); border-color: var(--cp-plus); box-shadow: 0 0 0 .2rem rgba(102, 169, 68, .25); }
.form-text { color: var(--cp-muted); }
.proto-result { background: var(--cp-new-bg); color: var(--cp-new); border-radius: .5rem; padding: .6rem .8rem; font-size: .92rem; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-list .ic { color: var(--cp-plus); width: 1.5rem; height: 1.5rem; margin-top: .15rem; }
.contact-list strong { display: block; font-family: var(--font-display); color: var(--cp-navy); }
.contact-list span, .contact-list address { color: var(--cp-muted); font-style: normal; margin: 0; }

.res { height: 100%; border-top: 3px solid var(--cp-plus); background: var(--cp-surface); padding: 1.2rem 1.25rem; border-radius: 0 0 var(--radius) var(--radius); border-inline: 1px solid var(--cp-line); border-bottom: 1px solid var(--cp-line); }
.res .tag { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cp-muted); }
.res h3 { font-size: 1.05rem; margin: .4rem 0 .4rem; }
.res p { color: var(--cp-muted); font-size: .95rem; margin: 0; }

.accordion { --bs-accordion-bg: var(--cp-surface); --bs-accordion-color: var(--cp-ink); --bs-accordion-border-color: var(--cp-line); --bs-accordion-btn-color: var(--cp-ink); --bs-accordion-active-bg: var(--cp-band); --bs-accordion-active-color: var(--cp-ink); --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(102, 169, 68, .3); }
.accordion-button { font-family: var(--font-display); font-weight: 600; }
.accordion-button::after { filter: grayscale(1); }

.release-group + .release-group { margin-top: 2.5rem; }
.release-group h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); display: flex; gap: .6rem; align-items: center; }
.release-group h2 .ic { color: var(--cp-plus); }
.release-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: .9rem; }
.release-list li { background: var(--cp-surface); border: 1px solid var(--cp-line); border-radius: var(--radius); padding: 1rem 1.1rem; min-width: 0; }
.release-list strong { display: block; font-family: var(--font-display); color: var(--cp-navy); margin-bottom: .2rem; }
.release-list span { color: var(--cp-muted); font-size: .96rem; }
.tag-win { display: inline-block; margin-left: .35rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cp-muted); border: 1px solid var(--cp-line); border-radius: .3rem; padding: 0 .35rem; vertical-align: .15em; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 .1rem; border-left: 2px solid var(--cp-line); display: grid; gap: 1.1rem; }
.timeline li { position: relative; padding-left: 1.4rem; }
.timeline li::before { content: ""; position: absolute; left: -.5rem; top: .35rem; width: .85rem; height: .85rem; border-radius: 50%; background: var(--cp-plus); border: 2px solid var(--cp-bg); }
.timeline .yr { display: block; font-family: var(--font-display); font-weight: 800; color: var(--cp-navy); }
.timeline span + span { color: var(--cp-muted); }

/* CTA + Footer */
.cta-band { background: var(--cp-cta); color: var(--cp-hero-ink); }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--cp-hero-ink); opacity: .88; }
.site-footer { background: var(--cp-deep); color: #b7c4d8; font-size: .95rem; padding-block: 3.5rem 2rem; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer a { color: #d6e0ee; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus { color: #9fd87c; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer .legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; }
.site-footer address { font-style: normal; }
.select-all { user-select: all; }

.m-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: var(--cp-surface); border-top: 1px solid var(--cp-line); padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom, 0px)); display: flex; gap: .6rem; box-shadow: 0 -8px 24px -12px rgba(10, 30, 60, .35); }
.m-cta .btn { flex: 1; }
@media (min-width: 768px) { .m-cta { display: none; } }
@media (max-width: 767.98px) { body { padding-bottom: 4.5rem; } }

[id] { scroll-margin-top: 5.5rem; }
@media (max-width: 991.98px) { .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; } .site-nav .navbar-collapse { max-height: calc(100vh - 5rem); max-height: calc(100dvh - 5rem); overflow-y: auto; } }
@media (max-width: 575.98px) { .container { padding-inline: 1.25rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; }
