:root {
  color-scheme: dark;
  --bg: #080d12;
  --panel: #101a21;
  --panel-2: #0d171e;
  --line: rgba(167, 205, 214, 0.17);
  --text: #e9f2ef;
  --muted: #9aaeb1;
  --lime: #bcf364;
  --cyan: #70dce6;
  --orange: #ffb77a;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: clip; color: var(--text); background: var(--bg); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
[hidden] { display: none !important; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.27;
  background-image: linear-gradient(rgba(155, 203, 205, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(155, 203, 205, .08) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.ambient { position: absolute; pointer-events: none; z-index: -1; border-radius: 50%; filter: blur(78px); opacity: .19; }
.ambient-a { top: -260px; left: 50%; width: min(600px, 100vw); height: 600px; transform: translateX(-50%); background: #53c8c5; }
.ambient-b { top: 540px; right: 60%; width: 530px; height: 530px; background: #a6d44c; opacity: .09; }
.page-shell { max-width: 1540px; margin: auto; padding: 0 clamp(20px, 4.3vw, 76px); }

.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 94px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 13px; font-weight: 900; font-size: 24px; letter-spacing: -.055em; white-space: nowrap; }
.brand > span:last-child > span, .site-footer > span:first-child > span { color: var(--lime); }
.brand small { font-size: 10px; letter-spacing: .05em; color: var(--muted); margin-left: 3px; }
.brand-mark { width: 31px; height: 31px; position: relative; border: 2px solid var(--lime); border-radius: 4px; transform: rotate(-8deg); }
.brand-mark span { position: absolute; background: var(--lime); }
.brand-mark span:nth-child(1) { width: 13px; height: 2px; top: 8px; left: 7px; }
.brand-mark span:nth-child(2) { width: 2px; height: 13px; top: 8px; left: 7px; }
.brand-mark span:nth-child(3) { width: 11px; height: 2px; bottom: 8px; right: 5px; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 38px); font-size: 13px; color: #c0cccd; }
.site-nav > a:hover { color: var(--lime); }
.theme-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: var(--text); cursor: pointer; font-size: 12px; }
.theme-toggle:hover { border-color: var(--lime); color: var(--lime); }
.theme-toggle span:first-child { font-size: 17px; line-height: 1; }
.design-picker { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 12px; color: var(--muted); }
.design-picker select { padding: 8px 9px; border: 1px solid var(--line); border-radius: 5px; background: var(--panel); color: var(--text); font: 600 12px "Segoe UI", Arial, sans-serif; cursor: pointer; }
.design-picker select:hover { border-color: var(--lime); }
.design-picker select:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.nav-contact { border: 1px solid rgba(188,243,100,.52); padding: 12px 16px; border-radius: 5px; color: var(--lime) !important; }
.nav-contact span { margin-left: 13px; }

.hero { padding: clamp(58px, 8vw, 118px) 0 54px; }
.eyebrow, .section-kicker, .widget-topline, .column-head, .widget-foot, .hero-aside-top, .hero-aside-bottom, .stage-number, .panel-label, .hero-aside, .case-index { font-family: Consolas, "Cascadia Code", monospace; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.eyebrow-line { width: 21px; height: 1px; background: var(--lime); }
.eyebrow-index { margin-left: auto; color: #71888d; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: clamp(30px, 5vw, 84px); align-items: end; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 35px 0 28px; font-size: clamp(46px, 6.4vw, 101px); line-height: .99; letter-spacing: -.072em; font-weight: 760; }
h1 em, .principle-layout h2 em { font-style: normal; color: var(--lime); }
.hero-lead { max-width: 620px; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.57; color: #b3c6c6; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 48px; margin-top: 18px; padding: 15px 18px; min-width: 235px; color: #08120b; background: var(--lime); font-size: 13px; font-weight: 800; border-radius: 5px; transition: transform .2s ease, background .2s ease; }
.primary-link:hover { transform: translateY(-3px); background: #d0fb86; }
.primary-link span { font-size: 20px; font-weight: 400; }
.hero-aside { position: relative; min-height: 245px; padding: 20px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; color: #839da1; font-size: 10px; letter-spacing: .14em; line-height: 1.7; }
.hero-aside-top { z-index: 1; }
.hero-aside-bottom { z-index: 1; text-align: right; }
.hero-aside-orbit { position: absolute; inset: 22px; border: 1px dashed rgba(112,220,230,.27); border-radius: 50%; transform: rotate(-18deg); }
.hero-aside-orbit::before, .hero-aside-orbit::after { content: ""; position: absolute; inset: 18%; border: 1px solid rgba(112,220,230,.14); border-radius: 50%; }
.hero-aside-orbit::after { inset: 37%; border-color: rgba(188,243,100,.32); }
.hero-aside-orbit i { position: absolute; display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 18px var(--lime); }
.hero-aside-orbit i:nth-child(1) { top: 12%; left: 12%; }
.hero-aside-orbit i:nth-child(2) { top: 77%; left: 68%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.hero-aside-orbit i:nth-child(3) { top: 44%; left: 73%; width: 5px; height: 5px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.hero-secondary { margin-top: 18px; color: var(--lime); font-size: 13px; font-weight: 700; }
.hero-secondary:hover { text-decoration: underline; text-underline-offset: 4px; }
.offer-paths { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 6px 0 80px; }
.offer-paths > a { display: flex; flex-direction: column; align-items: flex-start; min-height: 230px; padding: 31px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); transition: transform .2s ease, border-color .2s ease; }
.offer-paths > a:hover { transform: translateY(-3px); border-color: var(--lime); }
.offer-paths h2 { max-width: 450px; margin: 18px 0 10px; font-size: clamp(25px,2.5vw,36px); line-height: 1.15; letter-spacing: -.04em; }
.offer-paths p { max-width: 500px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.offer-paths strong { margin-top: auto; color: var(--lime); font-size: 13px; }

.lab-section { margin: 26px 0 0; scroll-margin-top: 24px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 27px; }
.section-kicker { font-size: 11px; letter-spacing: .19em; color: var(--lime); font-weight: 700; }
.section-kicker span { color: #597177; }
.section-head h2 { margin: 14px 0 8px; font-size: clamp(30px, 3.1vw, 48px); letter-spacing: -.055em; }
.section-head h2 span { color: var(--cyan); }
.section-head p { max-width: 710px; margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.quiet-button { flex: none; background: transparent; border: 1px solid var(--line); color: #b9cdcf; padding: 12px 14px; border-radius: 4px; font-size: 12px; cursor: pointer; }
.quiet-button:hover { border-color: var(--lime); color: var(--lime); }
.quiet-button span { margin-left: 14px; font-size: 17px; line-height: 0; }
.widget-content { position: relative; background: linear-gradient(145deg, rgba(18,35,41,.96), rgba(9,18,24,.98)); border: 1px solid rgba(147,198,198,.23); border-radius: 10px; overflow: hidden; box-shadow: 0 27px 90px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.045); }
.widget-content::before { content: ""; position: absolute; pointer-events: none; right: -160px; bottom: -280px; width: 480px; height: 480px; background: rgba(113,235,218,.08); border-radius: 50%; filter: blur(78px); }
.widget-topline, .widget-foot { display: flex; justify-content: space-between; gap: 20px; padding: 18px 25px; color: #759299; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.widget-topline { border-bottom: 1px solid var(--line); }
.widget-foot { border-top: 1px solid var(--line); }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 11px; background: var(--lime); box-shadow: 0 0 14px var(--lime); vertical-align: 1px; animation: breathe 2.8s ease-in-out infinite; }
.stage-rail { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 10px; padding: 25px 24px 23px; border-bottom: 1px solid var(--line); }
.stage-rail::before { content: ""; position: absolute; height: 1px; top: 59px; left: 10%; right: 10%; background: linear-gradient(90deg, transparent, rgba(188,243,100,.34), rgba(112,220,230,.35), transparent); pointer-events: none; }
.stage-tab { position: relative; display: flex; align-items: center; min-width: 0; gap: 12px; border: 1px solid transparent; background: transparent; color: #99adb1; padding: 10px 8px; text-align: left; min-height: 70px; cursor: pointer; border-radius: 5px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.stage-tab:hover { color: var(--text); background: rgba(255,255,255,.035); }
.stage-tab[aria-selected="true"] { color: var(--text); background: rgba(188,243,100,.065); border-color: rgba(188,243,100,.24); transform: translateY(-2px); }
.stage-symbol { position: relative; z-index: 1; display: grid; place-items: center; flex: 0 0 43px; height: 43px; font-size: 24px; font-weight: 300; border-radius: 5px; color: var(--cyan); background: #10232a; border: 1px solid rgba(112,220,230,.33); }
.stage-tab[aria-selected="true"] .stage-symbol { color: #0c1a10; background: var(--lime); border-color: var(--lime); box-shadow: 0 0 25px rgba(188,243,100,.21); }
.stage-tab-text { display: flex; flex-direction: column; min-width: 0; gap: 4px; white-space: nowrap; }
.stage-tab-text .short-label { display: none; }
.stage-tab-text small { color: #66878b; font: 10px Consolas, monospace; letter-spacing: .13em; }
.stage-tab[aria-selected="true"] .stage-tab-text small { color: var(--lime); }
.stage-tab-text strong { font-size: 13px; letter-spacing: -.01em; }
.widget-body { display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr); min-height: 310px; }
.stage-panel { padding: clamp(24px, 3vw, 46px); border-right: 1px solid var(--line); }
.panel-label { color: var(--lime); font-size: 11px; letter-spacing: .13em; }
.stage-number { display: block; margin: 28px 0 10px; color: rgba(188,243,100,.22); font-size: 42px; font-weight: 800; letter-spacing: -.05em; }
.stage-panel h3 { max-width: 410px; margin: 0 0 18px; font-size: clamp(25px, 2.4vw, 38px); line-height: 1.1; letter-spacing: -.045em; }
.stage-panel p { max-width: 430px; color: #a8bdc0; line-height: 1.65; font-size: 14px; }
.chip-label { display: block; margin-top: 28px; margin-bottom: 11px; font: 10px Consolas, monospace; letter-spacing: .14em; color: #74939a; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { padding: 7px 9px; border: 1px solid rgba(112,220,230,.24); border-radius: 3px; color: #a5d8d7; background: rgba(112,220,230,.055); font-size: 11px; }
.chip.technology { color: #d4d6b6; border-color: rgba(188,243,100,.2); background: rgba(188,243,100,.055); }
.examples-column { padding: 25px clamp(18px, 2.6vw, 37px) 30px; }
.column-head { display: flex; justify-content: space-between; padding-bottom: 15px; margin-bottom: 10px; border-bottom: 1px solid var(--line); color: #75949a; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.column-head span:last-child { color: var(--lime); }
.example-list { display: grid; gap: 3px; }
.example-card { display: grid; grid-template-columns: 44px minmax(0,1fr) 24px; gap: 8px; align-items: start; padding: 17px 3px; border-bottom: 1px solid rgba(167,205,214,.11); }
.case-index { padding-top: 4px; font-size: 11px; color: #638087; }
.example-card h4 { margin: 0 0 5px; font-size: 15px; letter-spacing: -.01em; font-weight: 700; }
.example-card p { margin: 0; color: #92a9ad; font-size: 12px; line-height: 1.5; }
.case-arrow { color: var(--cyan); font-size: 21px; text-align: right; }
.widget-collapsed { display: flex; align-items: center; gap: 16px; padding: 22px 25px; background: #101a21; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 13px; }
.collapsed-icon { color: var(--lime); font-size: 24px; }
.widget-collapsed button { margin-left: auto; border: 0; color: var(--lime); background: transparent; cursor: pointer; font-weight: 700; white-space: nowrap; }
.widget-error { color: #ffbe9b; padding: 16px; border: 1px solid rgba(255,183,122,.4); }

.principle-section { display: grid; grid-template-columns: .34fr 1fr; gap: 30px; margin-top: clamp(95px, 11vw, 165px); padding: 46px 0 110px; border-top: 1px solid var(--line); }
.principle-section .section-kicker { padding-top: 12px; }
.principle-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 35px; align-items: end; }
.principle-layout h2 { font-size: clamp(30px, 3.2vw, 49px); line-height: 1.15; letter-spacing: -.05em; margin-bottom: 0; }
.principle-layout p { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 0; }
.site-footer { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); color: #668187; font: 10px Consolas, monospace; letter-spacing: .13em; }
.site-footer > span:first-child { font-family: "Segoe UI", Arial, sans-serif; font-weight: 900; font-size: 16px; letter-spacing: -.04em; color: var(--text); }

@keyframes breathe { 50% { opacity: .48; box-shadow: 0 0 4px var(--lime); } }

@media (max-width: 1080px) {
  .stage-tab { flex-direction: column; align-items: flex-start; gap: 7px; }
  .stage-rail::before { top: 58px; }
  .principle-section { grid-template-columns: 1fr; }
}
@media (max-width: 770px) {
  .site-header { min-height: 73px; }
  .site-nav a:not(.nav-contact) { display: none; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-aside { display: none; }
  .hero { padding-top: 65px; }
  .section-head { align-items: start; flex-direction: column; gap: 17px; }
  .widget-body { grid-template-columns: 1fr; }
  .stage-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .stage-rail { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(112px, 1fr); overflow-x: auto; gap: 2px; padding-inline: 10px; }
  .stage-tab { align-items: center; text-align: center; padding: 9px 3px; }
  .stage-tab-text strong { font-size: 11px; }
  .stage-tab-text small { display: none; }
  .stage-symbol { flex-basis: 39px; height: 39px; font-size: 21px; }
  .stage-rail::before { top: 47px; }
  .principle-layout { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .page-shell { padding-inline: 17px; }
  .brand { font-size: 20px; }
  .brand-mark { width: 26px; height: 26px; }
  .site-nav { font-size: 11px; }
  .nav-contact { padding: 9px; }
  .nav-contact span { display: none; }
  .eyebrow-index { display: none; }
  h1 { font-size: clamp(43px, 11.3vw, 59px); }
  .hero-lead { font-size: 15px; }
  .section-head h2 { font-size: 29px; }
  .stage-tab-text strong { font-size: 10px; }
  .stage-tab-text .full-label { display: none; }
  .stage-tab-text .short-label { display: inline; }
  .stage-symbol { flex-basis: 34px; height: 34px; font-size: 18px; }
  .stage-rail::before { top: 44px; }
  .widget-topline, .widget-foot { padding-inline: 14px; font-size: 9px; }
  .widget-topline span:last-child, .widget-foot span:last-child { display: none; }
  .widget-collapsed { align-items: flex-start; flex-wrap: wrap; }
  .widget-collapsed button { margin-left: 40px; }
  .site-footer span:last-child { text-align: right; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Shared public-site components */
.site-nav a[aria-current="page"] { color: var(--lime); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 30px; color: #82999c; font-size: 12px; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb span:last-child { color: #bed2d0; }
.accent { color: var(--lime); }
.home-references, .related-section, .catalog-section { padding: 110px 0 30px; }
.home-reference-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 12px 0 26px; }
.home-reference-head h2, .related-section h2 { margin: 0; font-size: clamp(34px, 4vw, 58px); line-height: 1.1; letter-spacing: -.055em; }
.home-reference-head a { flex: none; color: var(--lime); font-size: 13px; font-weight: 700; }
.reference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.reference-card { display: flex; min-height: 282px; flex-direction: column; padding: clamp(22px, 2.7vw, 38px); border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(145deg, #132229, #0d171e); transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.reference-card:hover { border-color: rgba(188,243,100,.56); transform: translateY(-4px); background: linear-gradient(145deg, #172a2e, #101c22); }
.reference-card-top, .reference-card-bottom { font: 10px Consolas, monospace; letter-spacing: .11em; text-transform: uppercase; color: #7b9a9f; }
.reference-card-top { display: flex; justify-content: space-between; gap: 14px; color: var(--lime); }
.project-status-badge { display: inline-flex; align-items: center; align-self: flex-start; margin-top: 18px; padding: 7px 11px; border: 1px solid rgba(188,243,100,.5); border-radius: 999px; background: rgba(188,243,100,.09); color: var(--lime); font: 700 10px Consolas, "Cascadia Code", monospace; letter-spacing: .12em; line-height: 1; text-transform: uppercase; }
.article-hero > .project-status-badge { margin-top: 28px; }
html[data-theme="light"] .project-status-badge { border-color: rgba(71,118,0,.45); background: rgba(101,150,13,.1); color: #426900; }
.reference-card-top span:last-child { font: 22px "Segoe UI", sans-serif; line-height: .65; }
.reference-card h3 { margin: 36px 0 10px; font-size: clamp(23px, 2.2vw, 32px); letter-spacing: -.04em; line-height: 1.12; }
.reference-card p { color: #a1b6b7; line-height: 1.6; font-size: 13px; }
.reference-card-bottom { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); }
.listing-hero { padding: clamp(70px, 9vw, 135px) 0 65px; max-width: 880px; }
.listing-hero h1 { margin: 25px 0 20px; }
.listing-hero h1 em { color: var(--lime); font-style: normal; }
.listing-hero p { max-width: 690px; color: #acc0c0; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.6; }
.filter-section { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; padding: 25px; margin-bottom: 22px; background: #101a21; border: 1px solid var(--line); border-radius: 7px; }
.filter-section label { flex: 1 1 195px; display: grid; gap: 8px; color: #87a3a8; font: 11px Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.filter-section select { width: 100%; padding: 13px; color: var(--text); background: #0b151b; border: 1px solid rgba(167,205,214,.28); border-radius: 4px; font: 13px "Segoe UI", sans-serif; }
.filter-section select:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
#filterCount { min-width: 90px; padding: 12px 0 3px; color: var(--lime); font: 12px Consolas, monospace; text-align: right; }
.listing-grid { padding-bottom: 110px; }
.filter-empty { padding: 25px 0 100px; color: #aec3c3; }
.article-hero { max-width: 1020px; padding: clamp(70px, 8vw, 125px) 0 72px; }
.article-hero h1 { max-width: 980px; margin: 28px 0 22px; font-size: clamp(45px, 6vw, 88px); }
.article-hero > p { max-width: 740px; color: #bed1cd; font-size: clamp(17px, 1.9vw, 23px); line-height: 1.5; }
.content-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.content-chip { padding: 8px 11px; border: 1px solid rgba(112,220,230,.28); border-radius: 3px; background: rgba(112,220,230,.045); color: #aedbd9; font-size: 11px; }
a.content-chip:hover { color: var(--lime); border-color: var(--lime); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: clamp(45px, 6vw, 100px); border-top: 1px solid var(--line); }
.article-main { min-width: 0; }
.article-section { padding: 55px 0 60px; border-bottom: 1px solid var(--line); }
.article-section h2 { margin: 18px 0 20px; font-size: clamp(30px, 3.2vw, 47px); letter-spacing: -.045em; }
.article-section h3 { margin: 35px 0 14px; font-size: 19px; }
.article-section p { max-width: 760px; color: #afc1c0; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.75; }
.challenge-list { display: grid; gap: 10px; padding-left: 22px; color: #b2c8c6; line-height: 1.7; }
.challenge-list li::marker { color: var(--lime); }
.process-list { list-style: none; display: grid; gap: 10px; padding: 0; margin: 20px 0 0; }
.process-list li { display: flex; gap: 18px; align-items: center; padding: 17px; background: #101c23; border: 1px solid var(--line); border-radius: 4px; }
.process-list li span { color: var(--lime); font: 12px Consolas, monospace; }
.process-list li strong { font-size: 15px; font-weight: 600; }
.process-list li.process-step-detail { display: block; padding: 0; }
.process-step-detail details { width: 100%; }
.process-step-detail summary { display: flex; gap: 18px; align-items: center; padding: 17px; cursor: pointer; list-style: none; }
.process-step-detail summary::-webkit-details-marker { display: none; }
.process-step-detail summary:hover strong, .process-step-detail details[open] summary strong { color: var(--lime); }
.process-step-detail summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.process-step-detail .process-expand { margin-left: auto; font-size: 22px; line-height: 1; }
.process-step-detail details[open] .process-expand { transform: rotate(45deg); }
.process-step-detail p { margin: 0; padding: 0 22px 22px 50px; font-size: 14px; }
.article-section > p + p { margin-top: 18px; }
.capability-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 28px; }
.capability-card { padding: 23px; border: 1px solid var(--line); border-radius: 5px; background: var(--panel); }
.capability-card > span { color: var(--lime); font: 11px Consolas,monospace; }
.capability-card h3 { margin: 14px 0 8px; font-size: 19px; line-height: 1.25; }
.capability-card p { margin: 0; font-size: 13px; line-height: 1.65; color: var(--muted); }
.article-aside { padding-top: 48px; }
.aside-panel { position: sticky; top: 25px; padding: 25px; background: #101b22; border: 1px solid var(--line); border-radius: 6px; }
.skill-list { list-style: none; padding: 0; margin: 13px 0 35px; }
.skill-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.skill-list a { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 700; }
.skill-list a:hover { color: var(--lime); }
.skill-list a span { color: var(--lime); }
.skill-list p { margin: 6px 0 0; color: #89a5a8; font-size: 11px; line-height: 1.55; }
.aside-panel .content-chips { margin-top: 16px; }
.estimate-box { margin: 50px 0; padding: 30px; border: 1px solid rgba(188,243,100,.26); border-radius: 6px; background: rgba(188,243,100,.055); }
.estimate-box h2 { margin: 12px 0; font-size: clamp(39px, 4vw, 61px); letter-spacing: -.05em; color: var(--lime); }
.estimate-box h2 small { font-size: 17px; letter-spacing: 0; color: var(--text); }
.estimate-box p { max-width: 660px; margin: 0; color: #a8bbb4; font-size: 12px; line-height: 1.6; }
.reference-cta { display: flex; justify-content: space-between; align-items: center; gap: 35px; margin: 70px 0 40px; padding: clamp(27px,4vw,50px); border: 1px solid rgba(188,243,100,.37); border-radius: 8px; background: linear-gradient(125deg,rgba(188,243,100,.09),rgba(112,220,230,.035)); }
.reference-cta h2 { margin: 14px 0 10px; font-size: clamp(29px,3vw,43px); letter-spacing: -.05em; }
.reference-cta p { max-width: 550px; margin: 0; color: var(--muted); line-height: 1.65; }
.reference-cta .primary-link { flex: none; margin-top: 0; }
.related-section { margin: 40px 0 120px; border-top: 1px solid var(--line); }
.related-section h2 { margin: 14px 0 30px; }
.catalog-section { border-top: 1px solid var(--line); }
.catalog-section h2 { margin: 20px 0 25px; font-size: clamp(30px, 3.2vw, 45px); letter-spacing: -.045em; }
.skill-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 30px; }
.skill-card { padding: 27px; background: #101b22; border: 1px solid var(--line); border-radius: 6px; }
.skill-card h2 { margin: 20px 0 12px; font-size: 25px; }
.skill-card p { color: #a2b9ba; line-height: 1.6; font-size: 13px; }
.skill-count { color: var(--lime); font: 10px Consolas, monospace; letter-spacing: .12em; }
.skill-references { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.skill-references a { display: flex; justify-content: space-between; gap: 10px; color: #c4d6d1; font-size: 12px; }
.skill-references a:hover { color: var(--lime); }
.technology-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 25px 0 110px; }
.technology-card { display: flex; justify-content: space-between; gap: 10px; padding: 20px; background: #101b22; border: 1px solid var(--line); border-radius: 4px; }
.technology-card:hover { border-color: var(--lime); }
.technology-card strong { font-size: 13px; }
.technology-card span { color: #91adae; font: 10px Consolas,monospace; white-space: nowrap; }
.technology-section { padding-top: 42px; }
.technology-section .technology-grid { margin-bottom: 0; }
.technology-preview { position: relative; }
.technology-section.is-ready:not(.is-expanded) .technology-preview::after {
  content: ""; position: absolute; inset: auto 0 0; height: 72px;
  background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none;
}
.technology-section.is-ready:not(.is-expanded) .technology-card:nth-child(n+13) { display: none; }
.technology-more { display: none; }
.technology-section.is-ready .technology-more {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  position: relative; margin-top: 14px; padding: 12px 17px;
  border: 1px solid var(--line); border-radius: 4px; background: var(--panel);
  color: var(--text); cursor: pointer; font-size: 13px; font-weight: 700;
}
.technology-more:hover { border-color: var(--lime); color: var(--lime); }
.technology-more span { color: var(--lime); font-size: 18px; line-height: 1; }
@media (max-width: 850px) {
  .technology-section.is-ready:not(.is-expanded) .technology-card:nth-child(n+9) { display: none; }
}
@media (max-width: 650px) {
  .technology-section { padding-top: 30px; }
  .technology-section.is-ready:not(.is-expanded) .technology-card:nth-child(n+5) { display: none; }
}
.empty-examples { color: #91aeb1; line-height: 1.7; font-size: 13px; }
.example-card:hover h4 { color: var(--lime); }
.widget-all { display: inline-block; margin-top: 13px; padding: 11px 3px; color: var(--lime); font-size: 12px; font-weight: 700; }
.widget-all:hover { text-decoration: underline; }
.contact-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(40px, 7vw, 120px); padding: 40px 0 140px; border-top: 1px solid var(--line); }
.contact-intro h2 { font-size: clamp(31px, 3.2vw, 48px); line-height: 1.1; letter-spacing: -.05em; }
.contact-intro p { color: #a1b8b9; line-height: 1.7; }
.contact-side-line { margin-top: 55px; color: var(--lime); font: 10px Consolas,monospace; letter-spacing: .15em; }
.contact-form { display: grid; gap: 23px; }
.contact-form label { display: grid; gap: 9px; color: #c4d6d1; font-size: 13px; font-weight: 600; }
.contact-form label > span:first-child:not(.form-consent span) { color: var(--lime); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form input:not([type="checkbox"]), .contact-form textarea, .contact-form select { width: 100%; padding: 15px; color: var(--text); background: #0e1a20; border: 1px solid rgba(167,205,214,.25); border-radius: 4px; font: 15px "Segoe UI",sans-serif; }
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible, .contact-form select:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.offer-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; padding-bottom: 90px; }
.offer-card { display: flex; flex-direction: column; min-height: 275px; padding: 28px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); scroll-margin-top: 24px; }
.offer-number { color: var(--lime); font: 11px Consolas,monospace; }
.offer-card h2 { margin: 20px 0 10px; font-size: clamp(22px,2.1vw,30px); line-height: 1.2; letter-spacing: -.035em; }
.offer-card p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.offer-links { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line); }
.offer-links a { color: var(--lime); font-size: 12px; font-weight: 700; }
.offer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.offers-close { margin-bottom: 120px; padding: 45px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.offers-close h2 { margin: 15px 0 10px; font-size: clamp(28px,3vw,42px); letter-spacing: -.04em; }
.offers-close p { max-width: 700px; color: var(--muted); line-height: 1.7; }
.about-intro, .about-company { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(30px,6vw,100px); padding: 70px 0; border-top: 1px solid var(--line); }
.about-intro h2, .about-company h2, .about-expertise h2, .about-process h2, .about-billing h2 { margin: 16px 0 25px; font-size: clamp(29px,3.4vw,49px); line-height: 1.08; letter-spacing: -.05em; }
.about-intro p, .about-company p { max-width: 690px; color: var(--muted); line-height: 1.75; font-size: 16px; }
.about-expertise, .about-process, .about-billing { padding: 75px 0; border-top: 1px solid var(--line); }
.about-expertise-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.about-expertise-card { min-height: 215px; padding: 27px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.about-expertise-card > span, .about-process li > span { color: var(--lime); font: 12px Consolas,monospace; }
.about-expertise-card h3 { margin: 25px 0 10px; font-size: 22px; letter-spacing: -.035em; }
.about-expertise-card p, .about-process p { color: var(--muted); line-height: 1.65; font-size: 14px; }
.about-process ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.about-process li { display: flex; gap: 22px; min-height: 145px; padding: 27px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.about-process h3 { margin: 0 0 8px; font-size: 21px; }
.about-turnover { align-self: center; padding: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.about-turnover strong { display: block; color: var(--lime); font-size: clamp(45px,5vw,78px); line-height: 1; letter-spacing: -.06em; }
.about-turnover strong span { font-size: .48em; letter-spacing: -.04em; }
.about-turnover p { margin: 16px 0 0; font-size: 13px; }
.about-billing-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.about-billing-grid > div { padding: 30px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); }
.about-billing-grid h3 { margin: 0 0 22px; font-size: 22px; }
.about-billing-grid address { margin-bottom: 25px; color: var(--text); font-style: normal; line-height: 1.75; }
.about-billing-grid dl { display: grid; gap: 13px; margin: 0; }
.about-billing-grid dl > div { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 15px; border-top: 1px solid var(--line); padding-top: 13px; }
.about-billing-grid dt { color: var(--muted); }
.about-billing-grid dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-form .form-consent { display: flex; align-items: start; gap: 11px; color: #a9bdba; font-size: 12px; line-height: 1.5; font-weight: 400; }
.form-consent input { width: 18px; height: 18px; flex: none; margin: 1px 0; accent-color: var(--lime); }
.honey-field { position: absolute; left: -9999px; opacity: 0; }
.form-bottom { display: flex; gap: 22px; align-items: center; }
.form-bottom .primary-link { border: 0; margin: 0; cursor: pointer; }
.form-bottom p { color: #7e999e; font-size: 11px; line-height: 1.5; }
.form-status { min-height: 26px; margin: 0; color: #a9c3c0; font-size: 13px; }
.form-status.success { color: var(--lime); }
.form-status.error { color: #ffb794; }

@media (max-width: 850px) {
  .about-intro, .about-company { grid-template-columns: 1fr; }
  .about-expertise-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-grid { grid-template-columns: 1fr; }
  .article-aside { padding-top: 0; }
  .aside-panel { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .technology-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .about-expertise-grid, .about-process ol, .about-billing-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .site-header { flex-wrap: wrap; gap: 0; padding-top: 14px; padding-bottom: 12px; }
  .site-nav { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
  .site-nav a:not(.nav-contact) { display: inline; }
  .reference-grid, .skill-grid, .technology-grid { grid-template-columns: 1fr; }
  .home-reference-head { align-items: start; flex-direction: column; }
  .home-references, .catalog-section { padding-top: 75px; }
  .reference-card { min-height: 245px; }
  .listing-hero { padding-bottom: 35px; }
  .article-hero { padding-bottom: 45px; }
  .article-section { padding: 42px 0; }
  .form-row { grid-template-columns: 1fr; }
  .form-bottom { flex-direction: column; align-items: flex-start; }
  .site-footer { flex-wrap: wrap; padding: 18px 0; }
  .about-intro, .about-company, .about-expertise, .about-process, .about-billing { padding: 48px 0; }
  .about-expertise-card { min-height: auto; }
  .about-billing-grid dl > div { grid-template-columns: 95px minmax(0,1fr); }
}

/* Light is the default; the original dark palette remains available via the switch. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f9f6;
  --panel: #ffffff;
  --panel-2: #f0f5f2;
  --line: rgba(30, 68, 68, .2);
  --text: #172b30;
  --muted: #536b70;
  --lime: #477600;
  --cyan: #006e7d;
  --orange: #a75518;
}
html[data-theme="light"] body::before { opacity: .48; background-image: linear-gradient(rgba(55, 100, 95, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(55, 100, 95, .08) 1px, transparent 1px); }
html[data-theme="light"] .ambient-a { opacity: .08; }
html[data-theme="light"] .ambient-b { opacity: .1; }
html[data-theme="light"] .site-nav, html[data-theme="light"] .hero-lead, html[data-theme="light"] .listing-hero p, html[data-theme="light"] .article-hero > p { color: #425d62; }
html[data-theme="light"] .nav-contact { border-color: rgba(71,118,0,.5); }
html[data-theme="light"] .primary-link { color: white; }
html[data-theme="light"] .primary-link:hover { background: #355b00; }
html[data-theme="light"] .hero-aside, html[data-theme="light"] .eyebrow-index, html[data-theme="light"] .section-kicker span, html[data-theme="light"] .site-footer, html[data-theme="light"] .breadcrumb, html[data-theme="light"] .breadcrumb span:last-child { color: #60777b; }
html[data-theme="light"] .quiet-button { color: #385458; }
html[data-theme="light"] .widget-content { background: linear-gradient(145deg, #ffffff, #f1f7f3); border-color: var(--line); box-shadow: 0 22px 60px rgba(23,52,48,.09); }
html[data-theme="light"] .widget-content::before { background: rgba(0,130,120,.06); }
html[data-theme="light"] .widget-topline, html[data-theme="light"] .widget-foot, html[data-theme="light"] .column-head, html[data-theme="light"] .chip-label, html[data-theme="light"] .panel-label, html[data-theme="light"] .case-index { color: #567276; }
html[data-theme="light"] .stage-tab { color: #526b70; }
html[data-theme="light"] .stage-tab:hover { background: rgba(13,100,92,.06); }
html[data-theme="light"] .stage-tab[aria-selected="true"] { background: rgba(71,118,0,.1); border-color: rgba(71,118,0,.3); }
html[data-theme="light"] .stage-symbol { background: #e8f3f2; border-color: rgba(0,110,125,.3); }
html[data-theme="light"] .stage-tab[aria-selected="true"] .stage-symbol { color: white; }
html[data-theme="light"] .stage-tab-text small, html[data-theme="light"] .stage-panel p, html[data-theme="light"] .example-card p { color: #526e71; }
html[data-theme="light"] .stage-number { color: rgba(71,118,0,.35); }
html[data-theme="light"] .chip, html[data-theme="light"] .content-chip { color: #005c68; background: rgba(0,110,125,.06); border-color: rgba(0,110,125,.25); }
html[data-theme="light"] .chip.technology { color: #456500; background: rgba(71,118,0,.06); border-color: rgba(71,118,0,.25); }
html[data-theme="light"] .widget-collapsed, html[data-theme="light"] .filter-section, html[data-theme="light"] .process-list li, html[data-theme="light"] .aside-panel, html[data-theme="light"] .skill-card, html[data-theme="light"] .technology-card { background: #fff; }
html[data-theme="light"] .reference-card { background: linear-gradient(145deg, #ffffff, #f1f6f3); }
html[data-theme="light"] .reference-card:hover { background: linear-gradient(145deg, #f5faf4, #eaf4ed); border-color: rgba(71,118,0,.5); }
html[data-theme="light"] .reference-card p, html[data-theme="light"] .article-section p, html[data-theme="light"] .skill-card p, html[data-theme="light"] .contact-intro p { color: #485f62; }
html[data-theme="light"] .reference-card-bottom, html[data-theme="light"] .filter-section label, html[data-theme="light"] .skill-list p, html[data-theme="light"] .technology-card span, html[data-theme="light"] .empty-examples { color: #5a7375; }
html[data-theme="light"] .filter-section select, html[data-theme="light"] .contact-form input:not([type="checkbox"]), html[data-theme="light"] .contact-form textarea, html[data-theme="light"] .contact-form select { background: #fff; border-color: var(--line); }
html[data-theme="light"] .offer-paths > a, html[data-theme="light"] .offer-card, html[data-theme="light"] .offers-close { background: #fff; }
html[data-theme="light"] .offer-paths p, html[data-theme="light"] .offer-card p, html[data-theme="light"] .offers-close p, html[data-theme="light"] .reference-cta p { color: #485f62; }
html[data-theme="light"] .reference-cta { background: linear-gradient(125deg,rgba(101,150,13,.1),rgba(0,110,125,.035)); border-color: rgba(71,118,0,.3); }
html[data-theme="light"] .challenge-list, html[data-theme="light"] .skill-references a, html[data-theme="light"] .contact-form label, html[data-theme="light"] .contact-form .form-consent { color: #405a5d; }
html[data-theme="light"] .estimate-box { background: rgba(71,118,0,.055); border-color: rgba(71,118,0,.25); }
html[data-theme="light"] .estimate-box p, html[data-theme="light"] .form-bottom p, html[data-theme="light"] .form-status { color: #526b70; }
html[data-theme="light"] .form-status.error, html[data-theme="light"] .widget-error { color: #9b3b16; }
@media (max-width: 500px) { .theme-toggle-label { display: none; } }
@media (max-width: 500px) { .design-picker { font-size: 0; gap: 0; } }
@media (max-width: 770px) { .offer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .reference-cta { align-items: flex-start; flex-direction: column; } }
@media (max-width: 500px) { .offer-paths, .offer-grid { grid-template-columns: 1fr; } .offer-paths { margin-bottom: 60px; } .offers-close { padding: 27px; } }
