/* ==========================================================================
   TSW Smart STP — components
   ========================================================================== */

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 3000;
  padding: 0.6rem 1rem; background: var(--navy); color: var(--white);
  border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.4rem;
  font-size: var(--fs-sm); font-weight: 600; line-height: 1.2; letter-spacing: 0.005em;
  text-align: center; border: 1.5px solid transparent; border-radius: var(--r-sm);
  cursor: pointer; white-space: nowrap;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--blue-700); color: var(--white); box-shadow: 0 6px 16px -6px rgba(8, 126, 170, 0.6); }
.btn-secondary { background: transparent; color: var(--navy); border-color: rgba(16, 44, 70, 0.35); }
.btn-secondary:hover, .btn-secondary:focus-visible { border-color: var(--navy); background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover, .btn-light:focus-visible { background: var(--grey); color: var(--navy); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn-outline-light:hover, .btn-outline-light:focus-visible { border-color: var(--white); background: rgba(255, 255, 255, 0.08); color: var(--white); }
.btn-lg { min-height: 54px; padding: 0.9rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; color: var(--blue);
  text-decoration: underline; text-decoration-color: rgba(8, 126, 170, 0.35);
  text-underline-offset: 4px; text-decoration-thickness: 1.5px;
}
.text-link:hover { color: var(--blue-700); text-decoration-color: currentColor; }
.section--navy .text-link, .page-header .text-link { color: #7FD3EC; text-decoration-color: rgba(127, 211, 236, 0.4); }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -14px rgba(16, 44, 70, 0.35); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--space-5); }
.logo-link { display: flex; align-items: center; flex: none; }
.logo-img { height: 54px; width: auto; }

.main-nav { display: flex; align-items: center; gap: var(--space-5); }
.nav-list { display: flex; align-items: center; gap: 0.15rem; list-style: none; }
.nav-item { position: relative; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.6rem 0.8rem; border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink);
  background: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--navy); background: var(--grey); }
.nav-link.active, .nav-trigger.active { color: var(--blue); }
.nav-link.active::after, .nav-trigger.active::after {
  content: ''; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 2px; height: 2px; background: var(--blue); border-radius: 2px;
}
.nav-trigger svg { width: 16px; height: 16px; transition: transform var(--transition-fast); }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Solutions dropdown */
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: min(640px, 90vw); padding: var(--space-3);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.nav-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-item--menu.is-open .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-menu a {
  display: grid; grid-template-columns: 40px 1fr; gap: 0.15rem 0.85rem; align-items: start;
  padding: 0.85rem; border-radius: var(--r-sm); color: var(--ink);
}
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--grey); color: var(--ink); }
.nav-menu .menu-icon {
  grid-row: span 2; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: var(--r-sm); background: var(--blue-050); color: var(--blue);
}
.nav-menu .menu-icon svg { width: 22px; height: 22px; }
.nav-menu strong { font-size: var(--fs-sm); color: var(--navy); }
.nav-menu span.menu-desc { font-size: var(--fs-xs); line-height: 1.45; color: var(--muted); }
.nav-menu .menu-all {
  grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center;
  margin-top: 0.25rem; padding: 0.8rem 0.85rem; background: var(--grey);
  font-size: var(--fs-sm); font-weight: 600; color: var(--blue);
}
.nav-menu .menu-all:hover { background: var(--grey-200); color: var(--blue-700); }

.mobile-menu-toggle {
  display: none; width: 46px; height: 46px; place-items: center;
  background: none; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer;
}
.mobile-menu-icon, .mobile-menu-icon::before, .mobile-menu-icon::after {
  display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}
.mobile-menu-icon { position: relative; }
.mobile-menu-icon::before, .mobile-menu-icon::after { content: ''; position: absolute; left: 0; }
.mobile-menu-icon::before { top: -6px; }
.mobile-menu-icon::after { top: 6px; }

/* ---------- Home hero ---------- */
.hero, .page-header {
  background-color: var(--navy-950);
  background-image:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(8, 126, 170, 0.22), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}
.hero { position: relative; color: rgba(255, 255, 255, 0.82); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: center;
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(3rem, 2rem + 4vw, 5rem);
}
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 1.3rem + 3.9vw, 3.9rem); max-width: 14ch; }
.hero-intro { margin-top: var(--space-5); font-size: var(--fs-md); line-height: 1.55; color: rgba(255, 255, 255, 0.78); max-width: 46ch; }
.hero-kicker { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: var(--space-5); font-size: var(--fs-sm); font-weight: 500; color: #8FE0D7; }
.hero-kicker::before { content: ''; width: 28px; height: 2px; background: var(--teal); }
.hero .btn-row { margin-top: var(--space-6); }
.hero-visual { position: relative; }
.hero-schematic { width: 100%; height: auto; }
.hero-caption { margin-top: var(--space-3); font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.5); }

.capability-strip { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.capability-strip ul {
  list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
}
.capability-strip li {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1.35rem 1rem; font-size: var(--fs-sm); font-weight: 500; line-height: 1.35; color: rgba(255, 255, 255, 0.88);
}
.capability-strip li + li { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.capability-strip svg { flex: none; width: 24px; height: 24px; color: var(--teal); }

/* Animated flow on the hero schematic: the site's single ambient motion */
.flow-line { stroke-dasharray: 10 14; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }

/* ---------- Inner page header ---------- */
.page-header { position: relative; color: rgba(255, 255, 255, 0.8); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.page-header h1 { color: var(--white); max-width: 20ch; }
.page-header .lead, .page-header > .container > p {
  margin-top: var(--space-4); max-width: 58ch; font-size: var(--fs-md); line-height: 1.55; color: rgba(255, 255, 255, 0.76);
}
.page-header .btn-row { margin-top: var(--space-6); }
.page-header--split .container { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.page-header--split figure { margin: 0; }

.breadcrumb { margin-bottom: var(--space-5); font-size: var(--fs-xs); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; }
.breadcrumb li { color: rgba(255, 255, 255, 0.6); }
.breadcrumb li + li::before { content: '/'; margin-right: 0.4rem; color: rgba(255, 255, 255, 0.35); }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* Category label (articles, cards): small, sentence case */
.eyebrow { display: inline-block; margin-bottom: var(--space-3); font-size: var(--fs-sm); font-weight: 600; color: #8FE0D7; }
.article-meta { margin-top: var(--space-5); font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.6); }

/* ---------- Technical drawing frame ---------- */
.drawing { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-drawing); }
.drawing-sheet { padding: clamp(1rem, 0.5rem + 2vw, 2rem); }
.drawing-sheet.blueprint { border-bottom: 1px solid var(--line); }
.drawing-sheet svg { width: 100%; height: auto; }
.drawing figcaption, .drawing .drawing-title {
  display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap;
  padding: 0.7rem 1rem; font-size: var(--fs-xs); color: var(--muted); border-top: 1px solid var(--line);
}
.drawing figcaption strong { color: var(--navy); font-weight: 600; }
.drawing--dark { background: var(--navy-950); border-color: rgba(255, 255, 255, 0.12); }
.drawing--dark figcaption { color: rgba(255, 255, 255, 0.55); border-top-color: rgba(255, 255, 255, 0.12); }
.drawing--dark figcaption strong { color: var(--white); }

/* ---------- Media ---------- */
.media { position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--grey-200); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 16 / 10; }
.media--tall { aspect-ratio: 4 / 5; }
.media-note { margin-top: var(--space-2); font-size: var(--fs-xs); color: var(--muted); }

/* ---------- Lists ---------- */
.feature-list { list-style: none; display: grid; gap: 0.6rem; }
.feature-list li { position: relative; padding-left: 1.85rem; color: var(--ink); line-height: 1.55; }
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 0.2em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--teal-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230E7C72' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
.section--navy .feature-list li { color: rgba(255, 255, 255, 0.86); }
.section--navy .feature-list li::before { background-color: rgba(24, 166, 154, 0.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2363D2C6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E"); }

/* Icon + text items (capabilities, philosophy) — separated by rules, not boxed */
.icon-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.icon-items--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.icon-items--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.icon-item { padding: var(--space-6) var(--space-6) var(--space-6) 0; border-bottom: 1px solid var(--line); }
.icon-item:not(:nth-child(3n + 1)) { padding-left: var(--space-6); border-left: 1px solid var(--line); }
.icon-items--2 .icon-item:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
.icon-items--2 .icon-item:nth-child(2n) { padding-left: var(--space-6); border-left: 1px solid var(--line); }
.icon-items--4 .icon-item:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
.icon-items--4 .icon-item:not(:nth-child(4n + 1)) { padding-left: var(--space-6); border-left: 1px solid var(--line); }
.icon-item .icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: var(--space-4); border-radius: var(--r-sm); background: var(--blue-050); color: var(--blue); }
.icon-item .icon svg { width: 24px; height: 24px; }
.icon-item h3, .icon-item h4 { font-size: var(--fs-md); margin-bottom: var(--space-2); }
.icon-item p { font-size: var(--fs-sm); line-height: 1.6; }
.section--navy .icon-items, .section--navy .icon-item { border-color: rgba(255, 255, 255, 0.12); }
.section--navy .icon-item .icon { background: rgba(24, 166, 154, 0.16); color: #63D2C6; }

/* ---------- Process steps (true sequences only) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 21px; left: 22px; right: 22px; height: 2px; background: var(--line); }
.steps li { position: relative; padding-right: var(--space-4); counter-increment: step; }
.steps li::before {
  content: counter(step); position: relative; z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--space-4);
  border-radius: 50%; background: var(--white); border: 2px solid var(--blue); color: var(--blue);
  font-weight: 600; font-size: var(--fs-sm);
}
.steps li:last-child::before { background: var(--blue); color: var(--white); }
.steps h3, .steps h4 { font-size: var(--fs-base); margin-bottom: 0.35rem; }
.steps p { font-size: var(--fs-sm); line-height: 1.55; }
.section--grey .steps li::before, .section-alt .steps li::before { background: var(--grey); }
.section--grey .steps li:last-child::before { background: var(--blue); }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Solution cards (home / overview) ---------- */
.solution-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 0.8rem + 1.5vw, 2rem); }
.solution-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  color: var(--ink); transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}
.solution-card:hover, .solution-card:focus-within { border-color: rgba(8, 126, 170, 0.5); box-shadow: var(--shadow-md); color: var(--ink); }
.solution-card .solution-visual { aspect-ratio: 16 / 10; display: grid; place-items: center; border-bottom: 1px solid var(--line); padding: 1.25rem; }
.solution-card .solution-visual svg { width: 100%; height: 100%; }
.solution-card .solution-photo { aspect-ratio: 16 / 10; overflow: hidden; }
.solution-card .solution-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.solution-card:hover .solution-photo img { transform: scale(1.03); }
.solution-card .solution-body { display: flex; flex-direction: column; flex: 1; padding: var(--space-6); }
.solution-card h3 { font-size: var(--fs-lg); margin-bottom: var(--space-3); }
.solution-card h3 a { color: inherit; }
.solution-card h3 a::after { content: ''; position: absolute; inset: 0; }
.solution-card p { font-size: var(--fs-sm); margin-bottom: var(--space-5); }
.solution-card .feature-list { margin-bottom: var(--space-6); font-size: var(--fs-sm); }
.solution-card .card-cta { margin-top: auto; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 0.4rem; }
.solution-card .card-cta svg { width: 18px; height: 18px; transition: transform var(--transition-fast); }
.solution-card:hover .card-cta svg { transform: translateX(3px); }

/* ---------- Specs & comparison ---------- */
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.spec-list div { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.spec-list div:nth-child(odd) { padding-right: var(--space-4); }
.spec-list dt { font-size: var(--fs-xs); font-weight: 500; color: var(--muted); }
.spec-list dd { margin-top: 0.15rem; font-weight: 600; color: var(--navy); }
.spec-note { margin-top: var(--space-3); font-size: var(--fs-xs); color: var(--muted); }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: var(--fs-sm); line-height: 1.5; }
.compare-table th, .compare-table td { padding: 1rem 1.15rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--navy); color: var(--white); font-weight: 600; }
.compare-table thead th a { color: #9FDDF0; }
.compare-table tbody th { width: 22%; font-weight: 600; color: var(--navy); background: var(--grey); }
.compare-table tr:last-child > * { border-bottom: 0; }

/* Availability badges (technology page) */
.badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--standard { background: var(--teal-050); color: var(--teal-700); }
.badge--optional { background: var(--blue-050); color: var(--blue-700); }
.badge--project { background: #FFF4E5; color: #8A5300; }
.legend { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); margin-bottom: var(--space-5); font-size: var(--fs-sm); color: var(--muted); }
.legend > span { display: inline-flex; align-items: center; gap: 0.5rem; }

/* ---------- Industry tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.75rem, 0.5rem + 1vw, 1.25rem); }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r-md); overflow: hidden; color: var(--white); background: var(--navy); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 29, 47, 0) 35%, rgba(10, 29, 47, 0.88) 100%); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: var(--space-5); }
.tile h3 { color: var(--white); font-size: var(--fs-md); margin-bottom: 0.3rem; }
.tile p { color: rgba(255, 255, 255, 0.8); font-size: var(--fs-xs); line-height: 1.5; }
.tile:hover img { transform: scale(1.04); }
.tile:hover { color: var(--white); }

.industry-rows { display: grid; gap: clamp(3rem, 2rem + 3vw, 5rem); }
.industry-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.industry-row:nth-child(even) .media { order: 2; }
.industry-row .media { aspect-ratio: 4 / 3; }
.industry-row h2 { font-size: var(--fs-xl); margin-bottom: var(--space-3); }
.industry-row .considerations { margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.industry-row .considerations h3 { font-size: var(--fs-sm); color: var(--muted); font-weight: 600; margin-bottom: var(--space-3); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--space-4); }
.chip { display: inline-flex; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--blue-050); color: var(--blue-700); font-size: var(--fs-xs); font-weight: 600; }
a.chip:hover { background: var(--blue); color: var(--white); }

/* ---------- Cards (resources) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 0.8rem + 1.5vw, 2rem); }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; color: var(--ink); }
.card-img-wrapper { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--grey-200); }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card-content { display: flex; flex-direction: column; flex: 1; padding: var(--space-5) var(--space-5) var(--space-6); }
.card-eyebrow { margin-bottom: var(--space-2); font-size: var(--fs-xs); font-weight: 600; color: var(--teal-700); }
.card-title { font-size: var(--fs-md); line-height: 1.3; margin-bottom: var(--space-3); }
.card-desc { font-size: var(--fs-sm); line-height: 1.6; margin-bottom: var(--space-5); flex: 1; }
.card-link { margin-top: auto; font-size: var(--fs-sm); font-weight: 600; color: var(--blue); }
a.card:hover, .resource-card:hover { color: var(--ink); border-color: rgba(8, 126, 170, 0.45); box-shadow: var(--shadow-md); }
a.card:hover .card-img { transform: scale(1.03); }
a.card:hover .card-title { color: var(--blue-700); }
.resource-card[hidden] { display: none; }

.resource-featured { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; color: var(--ink); background: var(--white); margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.resource-featured:hover { color: var(--ink); box-shadow: var(--shadow-md); }
.resource-featured .card-img-wrapper { aspect-ratio: auto; min-height: 320px; }
.resource-featured .card-content { justify-content: center; padding: clamp(1.5rem, 1rem + 2vw, 3rem); }
.resource-featured .card-title { font-size: var(--fs-xl); }
.resource-featured .card-desc { flex: none; font-size: var(--fs-base); }
.resource-featured .card-label { display: inline-block; margin-bottom: var(--space-3); font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.filter-btn { padding: 0.55rem 1rem; min-height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: var(--fs-sm); font-weight: 500; cursor: pointer; transition: all var(--transition-fast); }
.filter-btn:hover { border-color: var(--navy); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filter-count { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--space-5); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(2rem, 1rem + 4vw, 4rem); color: rgba(255, 255, 255, 0.8); }
.cta-band .split { align-items: center; }
.cta-band h2 { color: var(--white); max-width: 18ch; }
.cta-band p { color: rgba(255, 255, 255, 0.76); margin-top: var(--space-4); max-width: 52ch; }
.cta-band .next-steps { list-style: none; counter-reset: ns; display: grid; gap: var(--space-4); }
.cta-band .next-steps li { counter-increment: ns; display: grid; grid-template-columns: 36px 1fr; gap: var(--space-4); align-items: start; color: rgba(255, 255, 255, 0.86); font-size: var(--fs-sm); }
.cta-band .next-steps li::before { content: counter(ns); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(99, 210, 198, 0.6); color: #63D2C6; font-weight: 600; }
.cta-band .next-steps strong { display: block; color: var(--white); }
.cta-band .btn-row { margin-top: var(--space-6); }

/* ---------- Callouts & notes ---------- */
.callout { margin: var(--space-6) 0; padding: var(--space-5) var(--space-6); background: var(--blue-050); border-left: 3px solid var(--blue); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.callout > :last-child { margin-bottom: 0; }
.callout p { color: var(--ink); }
.note { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: var(--space-5); }
.form-label { display: block; margin-bottom: 0.4rem; font-size: var(--fs-sm); font-weight: 600; color: var(--navy); }
.form-label .req, .req { color: var(--danger); }
.form-hint { display: block; margin-top: 0.35rem; font-size: var(--fs-xs); color: var(--muted); }
.form-control {
  width: 100%; min-height: 50px; padding: 0.75rem 0.95rem;
  font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  -webkit-appearance: none; appearance: none;
}
.form-control::placeholder { color: #8796A3; }
.form-control:hover { border-color: #B5C4CF; }
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(8, 126, 170, 0.15); }
select.form-control {
  padding-right: 2.75rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23102C46' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7.5l5 5 5-5'/%3E%3C/svg%3E") right 0.85rem center / 18px no-repeat;
}
textarea.form-control { min-height: 140px; resize: vertical; line-height: 1.55; }
.form-control.error { border-color: var(--danger); background-color: var(--danger-050); }
.error-msg { margin-top: 0.35rem; font-size: var(--fs-xs) !important; font-weight: 500; color: var(--danger) !important; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-5); }
.form-submit { width: 100%; }
.form-note, .privacy-notice { margin-top: var(--space-3); font-size: var(--fs-xs); color: var(--muted); text-align: center; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status-msg { margin-top: var(--space-4); padding: var(--space-4) var(--space-5); border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 500; }
.form-status-msg.is-success { background: var(--teal-050); color: #0B5E57; border: 1px solid rgba(24, 166, 154, 0.45); }
.form-status-msg.is-error { background: var(--danger-050); color: var(--danger); border: 1px solid rgba(180, 35, 24, 0.35); }

/* Sectioned form (Request a Quote) */
.form-section { border: 0; padding: 0; margin: 0 0 var(--space-7); counter-increment: fsec; }
.quote-form-sections { counter-reset: fsec; }
.form-section legend { display: flex; align-items: baseline; gap: 0.75rem; width: 100%; margin-bottom: var(--space-5); padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); font-size: var(--fs-md); font-weight: 600; color: var(--navy); }
.form-section legend::before { content: counter(fsec, decimal-leading-zero); font-size: var(--fs-sm); font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.form-section legend .opt { margin-left: auto; font-size: var(--fs-xs); font-weight: 500; color: var(--muted); }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-body { display: grid; grid-template-columns: 44px 1fr; gap: 0.15rem 0.85rem; height: 100%; padding: 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast); }
.choice-body .menu-icon { grid-row: span 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--grey); color: var(--navy); }
.choice-body .menu-icon svg { width: 24px; height: 24px; }
.choice-body strong { font-size: var(--fs-sm); color: var(--navy); }
.choice-body span:last-child { font-size: var(--fs-xs); color: var(--muted); line-height: 1.45; }
.choice:hover .choice-body { border-color: #B5C4CF; }
.choice input:checked + .choice-body { border-color: var(--blue); background: var(--blue-050); box-shadow: 0 0 0 1px var(--blue); }
.choice input:checked + .choice-body .menu-icon { background: var(--blue); color: var(--white); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--teal); outline-offset: 2px; }

/* Tabs (contact) */
.tabs { display: flex; gap: 0.25rem; padding: 0.3rem; margin-bottom: var(--space-6); background: var(--grey); border-radius: var(--r-sm); }
.form-tab { flex: 1; min-height: 46px; padding: 0.6rem 1rem; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-weight: 600; font-size: var(--fs-sm); cursor: pointer; transition: all var(--transition-fast); }
.form-tab:hover { color: var(--navy); }
.form-tab.active, .form-tab[aria-selected="true"] { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.form-panel[hidden] { display: none; }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); box-shadow: var(--shadow-sm); }
.aside-panel { background: var(--grey); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.contact-list { list-style: none; display: grid; gap: var(--space-5); }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: var(--space-4); align-items: start; }
.contact-list .menu-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--white); color: var(--blue); border: 1px solid var(--line); }
.contact-list .menu-icon svg { width: 20px; height: 20px; }
.contact-list h3 { font-size: var(--fs-sm); margin-bottom: 0.15rem; }
.contact-list p, .contact-list address { font-size: var(--fs-sm); font-style: normal; color: var(--muted); line-height: 1.55; }

/* ---------- SCADA demo (technology page) ---------- */
.scada-demo { background: var(--navy-950); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--r-md); overflow: hidden; color: rgba(255, 255, 255, 0.85); box-shadow: var(--shadow-lg); }
.scada-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-3); padding: 0.85rem 1.25rem; background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.scada-title { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500; color: #63D2C6; }
.scada-tabs { display: flex; gap: 0.25rem; }
.scada-tab { min-height: 38px; padding: 0.4rem 0.9rem; border-radius: 4px; border: 1px solid transparent; background: transparent; color: rgba(255, 255, 255, 0.6); font-size: var(--fs-xs); font-weight: 600; cursor: pointer; }
.scada-tab:hover { color: var(--white); }
.scada-tab.active { background: rgba(8, 126, 170, 0.25); border-color: rgba(8, 126, 170, 0.6); color: var(--white); }
.scada-content { padding: clamp(1rem, 0.6rem + 1.5vw, 1.75rem); }
.scada-panel { display: none; }
.scada-panel.active { display: block; }
.scada-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-4); gap: var(--space-3); }
.scada-panel h3 { color: var(--white); font-size: var(--fs-md); margin: 0; }
.scada-clock { font-family: var(--font-mono); color: #63D2C6; font-size: var(--fs-sm); }
.mock-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.mock-card { padding: var(--space-4); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--r-sm); font-size: var(--fs-xs); }
.mock-label { color: rgba(255, 255, 255, 0.6); }
.mock-value { margin: 0.35rem 0; font-family: var(--font-mono); font-size: 1.6rem; font-weight: 500; color: var(--white); line-height: 1.1; }
.mock-value .unit { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.mock-value--state { font-size: 1.15rem; }
.mock-status { display: inline-block; width: 8px; height: 8px; margin-right: 0.35rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(24, 166, 154, 0.25); }
.mock-status--idle { background: #8796A3; box-shadow: none; }
.mock-warn { color: #F5B547; }
.scada-log { width: 100%; border-collapse: collapse; font-size: var(--fs-xs); }
.scada-log th, .scada-log td { padding: 0.65rem 0.75rem; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.scada-log th { color: rgba(255, 255, 255, 0.55); font-weight: 600; }
.scada-log td:first-child { font-family: var(--font-mono); color: rgba(255, 255, 255, 0.7); }
.ok { color: #63D2C6; }
.scada-disclaimer { padding: 0.85rem 1.25rem; font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.5); border-top: 1px solid rgba(255, 255, 255, 0.08); }

/* ---------- Article pages ---------- */
.page-header--article .container { max-width: 900px; }
.page-header--article h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); max-width: 26ch; }
.article { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--section-y); }
.article-container { max-width: 900px; }
.article-featured { margin: 0 0 clamp(2rem, 1.5rem + 2vw, 3rem); }
.article-featured img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); }
.article-featured figcaption, .article-figure figcaption { margin-top: 0.7rem; font-size: var(--fs-xs); color: var(--muted); }
.article-body { max-width: var(--measure); font-size: var(--fs-base); line-height: 1.75; }
.article-body > :first-child { margin-top: 0; }
.article-body p, .article-body li { color: var(--ink); }
.article-body p { margin-bottom: 1.25rem; }
.article-body p + p { margin-top: 0; }
.article-body h2 { font-size: var(--fs-xl); margin: var(--space-8) 0 var(--space-4); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.article-body h3 { font-size: var(--fs-md); margin: var(--space-6) 0 var(--space-3); }
.article-body h4 { font-size: var(--fs-base); margin: var(--space-5) 0 var(--space-2); }
.article-body ul, .article-body ol { margin: 0 0 1.5rem; padding-left: 1.4rem; }
.article-body li { margin-bottom: 0.5rem; padding-left: 0.25rem; }
.article-body li::marker { color: var(--blue); }
.article-body a { color: var(--blue); text-decoration: underline; text-decoration-color: rgba(8, 126, 170, 0.35); text-underline-offset: 3px; }
.article-body a:hover { color: var(--blue-700); text-decoration-color: currentColor; }
.article-figure { margin: var(--space-6) 0 var(--space-7); }
.article-figure img { width: 100%; border-radius: var(--r-md); }
.table-wrap { margin: var(--space-6) 0 var(--space-7); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: var(--fs-sm); line-height: 1.5; }
.table-wrap th, .table-wrap td { padding: 0.8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--grey); color: var(--navy); font-weight: 600; }
.table-wrap tr:last-child td { border-bottom: 0; }

.cta-card { max-width: var(--measure); margin-top: var(--space-8); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); background: var(--grey); border-radius: var(--r-lg); border-top: 3px solid var(--blue); }
.cta-card h2 { font-size: var(--fs-xl); margin-bottom: var(--space-2); }
.cta-card > p { margin-bottom: var(--space-6); }

.related { margin-top: var(--space-8); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.72); padding-top: clamp(3.5rem, 2.5rem + 3vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: clamp(2rem, 1rem + 2vw, 3rem); padding-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.footer-brand .footer-logo { height: 54px; width: auto; padding: 6px 10px; background: var(--white); border-radius: var(--r-sm); margin-bottom: var(--space-5); }
.footer-tagline { font-size: var(--fs-sm); line-height: 1.6; color: rgba(255, 255, 255, 0.68); max-width: 34ch; }
.footer-brand .btn { margin-top: var(--space-5); }
.footer-col h2, .footer-col h4 { margin-bottom: var(--space-4); font-size: var(--fs-sm); font-weight: 600; color: var(--white); letter-spacing: 0; }
.footer-links { list-style: none; display: grid; gap: 0.6rem; }
.footer-links a { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.7); }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-contact li { font-size: var(--fs-sm); line-height: 1.55; color: rgba(255, 255, 255, 0.7); }
.footer-contact address { font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); padding-block: var(--space-5); border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.5); }
.footer-bottom p { color: inherit; margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }

/* ---------- Engineering diagrams (inline SVG) ---------- */
.dg { width: 100%; height: auto; overflow: visible; }
.dg text { font-family: var(--font-sans); font-size: 13px; font-weight: 500; fill: var(--navy); }
.dg .lbl-sm { font-size: 11.5px; fill: var(--muted); font-weight: 400; }
.dg .lbl-b { font-weight: 600; }
.dg .tag { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; fill: var(--navy); }
.dg .ln { fill: none; stroke: var(--navy); stroke-width: 1.5; }
.dg .ln-thin { fill: none; stroke: var(--navy); stroke-width: 1; }
.dg .tank { fill: var(--white); stroke: var(--navy); stroke-width: 1.5; }
.dg .fill-grey { fill: var(--grey-200); }
.dg .fill-soft { fill: var(--grey); }
.dg .water { fill: rgba(8, 126, 170, 0.14); }
.dg .water-line { fill: none; stroke: var(--blue); stroke-width: 1.25; }
.dg .clean { fill: rgba(24, 166, 154, 0.16); }
.dg .pipe { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.dg .pipe-clean { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.dg .pipe-sludge { fill: none; stroke: #8796A3; stroke-width: 2.5; stroke-dasharray: 6 5; stroke-linecap: round; }
.dg .sig { fill: none; stroke: var(--teal); stroke-width: 1.25; stroke-dasharray: 4 4; }
.dg .dim { fill: none; stroke: #8796A3; stroke-width: 1; }
.dg .bubble { fill: var(--white); stroke: var(--blue); stroke-width: 1; }
.dg .media { fill: var(--teal); opacity: 0.55; }
.dg .instr { fill: var(--white); stroke: var(--teal-700); stroke-width: 1.5; }
.dg .instr-t { font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; fill: var(--teal-700); }
.dg .num { fill: var(--navy); }
.dg .num-t { fill: var(--white); font-size: 11px; font-weight: 600; }
.dg .ground { fill: #E7E1D6; }
.dg .ground-hatch { stroke: #B9AE9C; stroke-width: 1; }
.dg .accent { fill: var(--blue); }
.dg .arrow { fill: var(--blue); }
.dg .arrow-clean { fill: var(--teal); }

/* Dark variant (hero, navy sections) */
.dg--dark text { fill: rgba(255, 255, 255, 0.88); }
.dg--dark .lbl-sm { fill: rgba(255, 255, 255, 0.55); }
.dg--dark .tag { fill: #8FE0D7; }
.dg--dark .ln, .dg--dark .ln-thin { stroke: rgba(255, 255, 255, 0.7); }
.dg--dark .tank { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.75); }
.dg--dark .fill-soft { fill: rgba(255, 255, 255, 0.06); }
.dg--dark .water { fill: rgba(8, 126, 170, 0.35); }
.dg--dark .water-line { stroke: #4FB8DE; }
.dg--dark .clean { fill: rgba(24, 166, 154, 0.35); }
.dg--dark .pipe { stroke: #2E9FCB; }
.dg--dark .bubble { fill: none; stroke: #9AD7EE; }
.dg--dark .instr { fill: var(--navy-950); stroke: #63D2C6; }
.dg--dark .instr-t { fill: #63D2C6; }
.dg--dark .sig { stroke: #63D2C6; opacity: 0.8; }
.dg--dark .num { fill: var(--teal); }
.dg--dark .num-t { fill: var(--navy-950); }
.dg--dark .pipe-sludge { stroke: rgba(255, 255, 255, 0.35); }
.dg .hmi { fill: var(--navy); }
.dg--dark .hmi { fill: rgba(255, 255, 255, 0.06); stroke: rgba(255, 255, 255, 0.3); stroke-width: 1; }
.dg .hmi-t { font-family: var(--font-mono); font-size: 10.5px; fill: #8FE0D7; }
.dg .hmi-v { font-family: var(--font-mono); font-size: 15px; font-weight: 500; fill: var(--white); }

/* Home dashboard panel (static, illustrative) */
.dash { padding: clamp(1rem, 0.6rem + 1.5vw, 1.5rem); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-4); }
.dash-live { display: inline-flex; align-items: center; font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.7); }
.dash .mock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dash-trend { margin: var(--space-3) 0; padding: var(--space-4); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--r-sm); font-size: var(--fs-xs); }
.dash-trend svg { width: 100%; height: 80px; margin-top: var(--space-2); }
.dash .scada-log { margin-top: var(--space-2); }
.dash-note { margin-top: var(--space-3); font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.5) !important; }
.solution-card .solution-visual .dg text { font-size: 15px; }

.solution-card .solution-visual .lbl-sm, .solution-card .solution-visual .num, .solution-card .solution-visual .num-t { display: none; }
.dg--reuse text { font-size: 16px; }
.dg--reuse .lbl-sm { font-size: 14px; }

/* ---------- Page-level helpers ---------- */
.h-sub { font-size: var(--fs-base); font-weight: 600; color: var(--navy); margin-top: var(--space-6); margin-bottom: var(--space-3); }
.stack > .h-sub:first-child, .aside-panel > .h-sub:first-child { margin-top: 0; }
.h-col { font-size: var(--fs-lg); }
.grid-gap-lg { gap: clamp(2rem, 1rem + 3vw, 4rem); }
.legend-list { list-style: none; counter-reset: lg; display: grid; gap: 0.7rem; }
.legend-list li { counter-increment: lg; display: grid; grid-template-columns: 28px 1fr; gap: 0.75rem; align-items: start; font-size: var(--fs-sm); color: var(--ink); line-height: 1.5; }
.legend-list li::before { content: counter(lg); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 0.75rem; font-weight: 600; }
.icon-items--apps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.icon-items--apps .icon-item { padding: var(--space-5) var(--space-5) var(--space-5) 0; }
.icon-items--apps .icon-item:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
.icon-items--apps .icon-item:not(:first-child) { padding-left: var(--space-5); border-left: 1px solid var(--line); }
.icon-items--apps h3 { font-size: var(--fs-base); line-height: 1.4; margin: 0; }
.icon-item-head { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--blue-050); color: var(--blue); }
.icon-item-head svg { width: 24px; height: 24px; }
.chips--nav { margin-top: 0; }
.chips--nav .chip { background: var(--white); border: 1px solid var(--line); color: var(--navy); padding: 0.45rem 0.9rem; font-size: var(--fs-sm); }
.chips--nav .chip:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chips .note { align-self: center; margin-right: 0.25rem; }
.next-steps-light { list-style: none; counter-reset: nl; display: grid; gap: var(--space-5); margin-top: var(--space-5); }
.next-steps-light li { counter-increment: nl; display: grid; grid-template-columns: 32px 1fr; column-gap: var(--space-4); font-size: var(--fs-sm); }
.next-steps-light li::before { content: counter(nl); grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--blue); color: var(--blue); font-weight: 600; }
.next-steps-light strong { color: var(--navy); }
.next-steps-light span { color: var(--muted); line-height: 1.5; }
.quote-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.capability-table td:last-child { width: 1%; white-space: nowrap; }
.capability-table tbody th { width: 34%; }
.aside-panel .callout { margin: 0; background: var(--white); }
.industry-row:nth-child(even) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }

/* Links on light-grey surfaces use the darker blue to keep 4.5:1 contrast */
.section--grey a:not(.btn):not(.chip):not(.tile), .section-alt a:not(.btn):not(.chip):not(.tile),
.aside-panel a:not(.btn), .cta-card a:not(.btn), .tabs + * .text-link { color: var(--blue-700); }
