:root {
  --bg: #f8f7f3;
  --paper: #ffffff;
  --ink: #1c2423;
  --muted: #66716e;
  --line: #dfe3dc;
  --soft: #eef3ec;
  --soft-2: #f1eee7;
  --accent: #126b5c;
  --accent-dark: #0d4d43;
  --accent-2: #c57b2c;
  --shadow: 0 18px 50px rgba(32, 45, 42, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(18, 107, 92, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(18, 107, 92, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(28, 36, 35, 0.08);
  background: rgba(248, 247, 243, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--accent);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #35403d;
  font-size: 16px;
}

.site-nav a,
.link-button {
  position: relative;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 7px 1px;
}

.site-nav a::after,
.link-button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.link-button:hover::after {
  transform: scaleX(1);
}

.link-button,
.text-action,
.nav-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  font-size: 24px;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.74fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-top: 42px;
  padding-bottom: 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
}

h3 {
  font-size: 20px;
}

.hero-text {
  max-width: 690px;
  color: #48524f;
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions,
.modal-card .primary-button {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.primary-button,
.secondary-button,
.small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
}

.primary-button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  padding: 0 18px;
  box-shadow: 0 12px 28px rgba(18, 107, 92, 0.22);
}

.primary-button:hover {
  background: var(--accent-dark);
}

.secondary-button,
.small-button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 0 18px;
}

.secondary-button:hover,
.small-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f4f6f0);
  box-shadow: var(--shadow);
  padding: 18px;
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
}

.panel-topline strong {
  color: var(--ink);
}

.hero-projects {
  display: grid;
  gap: 12px;
  max-height: 640px;
  overflow: auto;
  padding-right: 4px;
}

.mini-project {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  padding: 14px;
  text-align: left;
  transition: border-color 180ms ease, transform 180ms ease;
}

.mini-project:hover {
  border-color: rgba(18, 107, 92, 0.42);
  transform: translateX(2px);
}

.mini-project span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.mini-project strong {
  display: block;
  margin-top: 6px;
  line-height: 1.45;
}

.mini-project p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border: 1px solid rgba(18, 107, 92, 0.18);
  border-radius: var(--radius);
  background: #e9f2ed;
  padding: 28px 32px;
}

.trust-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
}

.trust-strip span {
  color: #4c5b57;
  font-size: 17px;
  line-height: 1.7;
}

.split-entry,
.service-grid,
.gallery-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.entry-card,
.service-grid article,
.about-section,
.delivery-section,
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(28, 36, 35, 0.06);
}

.entry-card {
  min-height: 260px;
  padding: 28px;
}

.entry-index {
  color: var(--accent-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 700;
}

.entry-card p,
.section-heading p,
.service-grid p,
.about-section p,
.faq-grid p,
.muted {
  color: var(--muted);
  line-height: 1.8;
}

.entry-card a,
.text-action {
  display: inline-flex;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 800;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.filters {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.advisor-section {
  width: 100%;
  border-top: 1px solid rgba(28, 36, 35, 0.08);
  border-bottom: 1px solid rgba(28, 36, 35, 0.08);
  background:
    linear-gradient(90deg, rgba(21, 53, 48, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(21, 53, 48, 0.045) 1px, transparent 1px),
    #eef3ec;
  background-size: 24px 24px;
  padding-right: max(16px, calc((100% - 1180px) / 2));
  padding-left: max(16px, calc((100% - 1180px) / 2));
}

.advisor-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
}

.advisor-controls,
.advisor-results {
  border: 1px solid rgba(21, 53, 48, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(28, 36, 35, 0.06);
}

.advisor-controls {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 22px;
}

.advisor-group {
  display: grid;
  gap: 10px;
}

.advisor-group > span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

.segmented-control {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.advisor-option {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfbf8;
  color: #34403d;
  cursor: pointer;
  font-weight: 800;
  padding: 0 12px;
}

.advisor-option.active {
  border-color: #153530;
  background: #153530;
  color: #fff;
}

.advisor-results {
  padding: 18px;
}

.advisor-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.advisor-summary strong {
  color: var(--accent-dark);
  font-size: 18px;
}

.advisor-recommendations {
  display: grid;
  gap: 12px;
}

.advisor-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 116px;
  gap: 14px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
}

.advisor-rank {
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #153530;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.advisor-card-main span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.advisor-card-main h3 {
  margin: 7px 0 7px;
  font-size: 19px;
  line-height: 1.35;
}

.advisor-card-main p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.advisor-module-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.advisor-module-row small {
  border: 1px solid rgba(18, 107, 92, 0.18);
  border-radius: 999px;
  background: var(--soft);
  color: #4d5b57;
  font-weight: 800;
  padding: 5px 8px;
}

.advisor-card-actions {
  display: grid;
  align-content: center;
  gap: 8px;
}

.advisor-card-actions button {
  min-height: 38px;
  border-radius: var(--radius);
  cursor: pointer;
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.search-box input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 0 16px;
  outline: none;
}

.search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(18, 107, 92, 0.11);
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: #34403d;
  cursor: pointer;
  padding: 0 13px;
}

.filter-button.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.project-count {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.project-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.project-collapse-toolbar {
  position: sticky;
  top: 84px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--accent-dark);
  border-radius: 6px;
  background: rgba(18, 107, 92, 0.97);
  box-shadow: 0 10px 28px rgba(18, 74, 64, 0.2);
  padding: 10px 12px 10px 16px;
  backdrop-filter: blur(12px);
}

.project-collapse-toolbar[hidden] {
  display: none;
}

.project-collapse-toolbar span {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.project-collapse-toolbar .secondary-button {
  min-height: 38px;
  border-color: #fff;
  background: #fff;
  color: var(--accent-dark);
  padding-right: 14px;
  padding-left: 14px;
}

.project-collapse-toolbar .secondary-button:hover {
  border-color: #e6f3ef;
  background: #e6f3ef;
}

.expand-button {
  min-height: 52px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  padding: 0 28px;
  box-shadow: 0 14px 32px rgba(18, 107, 92, 0.2);
}

.expand-button:hover {
  background: var(--accent-dark);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(28, 36, 35, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  border-color: rgba(18, 107, 92, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.project-visual,
.detail-visual,
.placeholder-art {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(18, 107, 92, 0.15), rgba(197, 123, 44, 0.12)),
    #f3f5ef;
}

.project-visual {
  aspect-ratio: 16 / 9;
}

.project-cover {
  display: grid;
  gap: 12px;
  min-height: 270px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 18%, rgba(197, 123, 44, 0.12), transparent 34%),
    linear-gradient(135deg, #fffaf1, #edf4ee 62%, #e2ede7);
  padding: 0;
}

.cover-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  background: #153530;
  color: #f8f7f3;
  font-size: 12px;
  font-weight: 900;
  padding: 0 16px;
}

.cover-top strong {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 4px 8px;
}

.cover-title {
  display: -webkit-box;
  min-height: 50px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.25;
  padding: 0 18px;
}

.cover-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  padding: 0 18px;
}

.cover-flow div {
  min-width: 0;
  min-height: 74px;
  border: 1px solid rgba(21, 53, 48, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(21, 53, 48, 0.08);
  padding: 9px;
}

.cover-flow small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.cover-flow b {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--accent-dark);
  font-size: 13px;
  line-height: 1.35;
}

.cover-flow i {
  color: var(--accent);
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.cover-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 0 18px;
}

.cover-features span {
  overflow: hidden;
  border: 1px solid rgba(21, 53, 48, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: #485653;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cover-footer {
  align-self: end;
  border-top: 1px solid rgba(21, 53, 48, 0.1);
  background: rgba(255, 255, 255, 0.62);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  padding: 10px 18px;
}

.project-visual::before,
.detail-visual::before,
.placeholder-art::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(18, 107, 92, 0.22);
  border-radius: var(--radius);
  content: "";
}

.project-visual::after,
.detail-visual::after,
.placeholder-art::after {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: rgba(18, 107, 92, 0.62);
  content: "STM32";
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
}

.project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.project-card h3 {
  margin: 12px 0 10px;
  line-height: 1.45;
}

.project-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 16px;
}

.tag-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: #4d5b57;
  font-size: 12px;
  padding: 5px 8px;
}

.project-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.project-actions button {
  flex: 1;
  min-height: 38px;
  border-radius: var(--radius);
  cursor: pointer;
}

.detail-button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}

.consult-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.process-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 18px;
}

.process-grid span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.process-grid strong {
  display: block;
  margin-bottom: 8px;
}

.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid article {
  padding: 22px;
}

.delivery-list,
.delivery-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.delivery-section {
  padding: 42px 46px;
}

.delivery-section .section-heading {
  margin-bottom: 26px;
}

.delivery-section .muted {
  margin-top: 20px;
  margin-bottom: 0;
}

.delivery-list span {
  border: 1px solid rgba(18, 107, 92, 0.2);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--accent-dark);
  font-weight: 800;
  padding: 10px 14px;
}

.delivery-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.delivery-cards article {
  display: grid;
  align-content: start;
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f6f8f4);
  padding: 24px 28px;
}

.delivery-cards .delivery-index {
  margin-bottom: 28px;
  color: var(--accent-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
}

.delivery-cards strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 18px;
}

.delivery-cards span {
  display: block;
  color: var(--muted);
  line-height: 1.75;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0 18px;
  scroll-snap-type: x mandatory;
}

.case-track {
  display: grid;
  grid-auto-columns: minmax(310px, 380px);
  grid-auto-flow: column;
  gap: 18px;
}

.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(28, 36, 35, 0.08);
  scroll-snap-align: start;
}

.case-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(21, 53, 48, 0.08), rgba(197, 123, 44, 0.08)),
    #f4f6f0;
}

.case-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.case-image.missing::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  content: "案例图片待放";
  font-weight: 900;
}

.case-body {
  min-height: 124px;
  padding: 18px;
}

.case-body span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.case-body h3 {
  margin: 10px 0 0;
  font-size: 19px;
  line-height: 1.45;
}

.placeholder-art {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.placeholder-art.alt {
  background:
    linear-gradient(135deg, rgba(197, 123, 44, 0.13), rgba(18, 107, 92, 0.12)),
    #f2f0e9;
}

.about-section {
  padding: 34px;
}

.about-section p {
  max-width: 920px;
  margin-bottom: 16px;
}

.about-section p:last-child {
  margin-bottom: 0;
}

.faq-grid details {
  padding: 18px 20px;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-grid p {
  margin: 12px 0 0;
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  min-height: 58px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  padding: 0 24px;
  box-shadow: 0 20px 46px rgba(18, 107, 92, 0.3);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

#contactModal {
  z-index: 80;
}

.modal.active {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 22, 20, 0.48);
}

.modal-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(480px, calc(100% - 28px));
  max-height: min(780px, calc(100vh - 28px));
  overflow: auto;
  transform: translate(-50%, -50%);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
  padding: 24px;
}

.project-modal-card {
  width: min(1120px, calc(100% - 28px));
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  font-size: 22px;
}

.wechat-qr-image {
  display: block;
  width: min(320px, 100%);
  height: auto;
  margin: 12px auto 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.wechat-id {
  margin: 0;
  text-align: center;
}

.wechat-contact-note {
  margin: 8px 0 0;
  text-align: center;
}

textarea {
  width: 100%;
  min-height: 150px;
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfbf8;
  color: var(--ink);
  line-height: 1.7;
  padding: 12px;
  resize: vertical;
}

.modal-faq {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  padding-top: 14px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
}

.detail-visual {
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.detail-diagram {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(21, 53, 48, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 18%, rgba(197, 123, 44, 0.13), transparent 32%),
    linear-gradient(90deg, rgba(21, 53, 48, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(21, 53, 48, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, #fffaf1, #edf4ee 62%, #e3eee8);
  background-size: auto, 20px 20px, 20px 20px, auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.diagram-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  background: #153530;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  padding: 0 18px;
}

.diagram-header strong {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 5px 10px;
}

.diagram-title {
  padding: 0 22px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.22;
}

.diagram-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 0 22px;
}

.diagram-flow div {
  min-width: 0;
  min-height: 112px;
  border: 1px solid rgba(21, 53, 48, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(21, 53, 48, 0.09);
  padding: 16px;
}

.diagram-flow small {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.diagram-flow b {
  display: block;
  color: var(--accent-dark);
  font-size: 18px;
  line-height: 1.35;
}

.diagram-flow em {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.diagram-flow i {
  color: var(--accent);
  font-style: normal;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.diagram-core {
  border-color: rgba(18, 107, 92, 0.32) !important;
  background: #ffffff !important;
}

.diagram-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0 22px;
}

.diagram-feature-grid span {
  overflow: hidden;
  border: 1px solid rgba(21, 53, 48, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: #485653;
  font-size: 13px;
  font-weight: 900;
  padding: 9px 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.diagram-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  border-top: 1px solid rgba(21, 53, 48, 0.1);
  background: rgba(255, 255, 255, 0.68);
  padding: 14px 22px;
}

.diagram-footer span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.detail-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.detail-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.detail-status span {
  border: 1px solid rgba(18, 107, 92, 0.22);
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 9px;
}

.detail-section {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.detail-section h3 {
  margin-bottom: 10px;
}

.detail-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.module-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.module-list span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfbf8;
  color: #44504d;
  padding: 8px 10px;
}

.image-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.image-slot {
  display: grid;
  place-items: center;
  min-height: 86px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #f7f8f4;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.toast {
  position: fixed;
  bottom: 82px;
  left: 50%;
  z-index: 90;
  transform: translateX(-50%);
  border-radius: var(--radius);
  background: #1c2423;
  color: #fff;
  padding: 10px 14px;
  box-shadow: var(--shadow);
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  padding: 30px 0 42px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
    padding: 14px 18px;
  }

  .site-nav.open {
    display: flex;
  }

  .hero,
  .advisor-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .process-grid,
  .service-grid,
  .delivery-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 66px;
    padding: 10px 16px;
  }

  .site-nav {
    top: 66px;
  }

  .section {
    width: min(100% - 24px, 1180px);
    padding: 52px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  h1 {
    font-size: 42px;
  }

  .trust-strip {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 24px, 1180px);
  }

  .split-entry,
  .project-grid,
  .process-grid,
  .service-grid,
  .delivery-cards,
  .gallery-grid,
  .faq-grid,
  .image-slots {
    grid-template-columns: 1fr;
  }

  .project-actions {
    flex-direction: column;
  }

  .advisor-summary,
  .advisor-card {
    grid-template-columns: 1fr;
  }

  .advisor-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .advisor-rank {
    min-height: 42px;
  }

  .diagram-flow {
    grid-template-columns: 1fr;
  }

  .diagram-flow i {
    transform: rotate(90deg);
  }

  .diagram-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
  }
}

/* Multi-page navigation and the topic assistant surface. */
.site-nav > .is-active,
.nav-more-menu .is-active {
  color: var(--accent);
  font-weight: 900;
}

.nav-more {
  position: relative;
}

.nav-more summary {
  cursor: pointer;
  list-style: none;
  padding: 7px 0;
}

.nav-more summary::-webkit-details-marker {
  display: none;
}

.nav-more-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 132px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 8px;
}

.nav-more-menu a {
  padding: 9px 10px;
  white-space: nowrap;
}

.page-section {
  min-height: calc(100vh - 150px);
}

.page-section > .section-heading h1 {
  max-width: 760px;
}

.page-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.service-number {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 700;
}

.page-note {
  margin-top: 20px;
}

.assistant-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 90px;
}

.assistant-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 0 30px;
}

.assistant-intro {
  max-width: 760px;
}

.assistant-intro h1 {
  margin-bottom: 16px;
  font-size: clamp(38px, 5vw, 64px);
}

.assistant-intro > p:last-child {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.assistant-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 8px;
  min-width: 330px;
}

.assistant-metrics span {
  display: grid;
  align-content: center;
  min-height: 74px;
  border-left: 2px solid var(--accent-2);
  background: rgba(255, 255, 255, 0.56);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  padding: 10px 12px;
}

.assistant-metrics strong {
  color: var(--ink);
  font-size: 24px;
}

.assistant-input-panel,
.assistant-block,
.assistant-contact-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(28, 36, 35, 0.06);
}

.assistant-input-panel {
  padding: 24px;
}

.assistant-input-panel > label {
  display: block;
  margin-bottom: 9px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
}

.assistant-input-panel textarea {
  min-height: 122px;
  margin: 0;
  background: #fbfbf8;
}

.assistant-config {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 190px;
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.assistant-config-group {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 14px 18px;
}

.assistant-config-group + .assistant-config-group {
  border-left: 1px solid var(--line);
}

.assistant-config-group > span,
.assistant-config-group legend {
  display: block;
  margin-bottom: 9px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.sensor-count-field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cfd7d4;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  padding: 0 34px 0 11px;
}

.assistant-check-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  min-height: 42px;
  align-items: center;
}

.assistant-check-options label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #3e4a47;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.assistant-check-options input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent);
}

.assistant-segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.assistant-segmented label {
  position: relative;
  cursor: pointer;
}

.assistant-segmented input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.assistant-segmented span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid #cfd7d4;
  background: #fff;
  color: #4a5552;
  font-size: 13px;
  font-weight: 800;
}

.assistant-segmented label:first-child span {
  border-radius: 6px 0 0 6px;
}

.assistant-segmented label:last-child span {
  margin-left: -1px;
  border-radius: 0 6px 6px 0;
}

.assistant-segmented input:checked + span {
  position: relative;
  z-index: 1;
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.assistant-segmented input:focus-visible + span {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.assistant-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.assistant-status {
  color: var(--muted);
  font-size: 13px;
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.quick-prompts button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8f8f4;
  color: #48524f;
  cursor: pointer;
  font-size: 13px;
  padding: 0 12px;
}

.quick-prompts button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.assistant-results {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.assistant-sidebar {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 92px;
}

.assistant-stat {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 14px 2px;
}

.assistant-stat strong {
  color: var(--accent);
  font-size: 34px;
  line-height: 1;
}

.assistant-stat span {
  color: var(--muted);
  font-size: 13px;
}

.assistant-need-panel {
  padding: 12px 2px 2px;
}

.assistant-need-panel h2 {
  margin-bottom: 12px;
  font-size: 17px;
}

.need-tags,
.recommendation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.need-tags span,
.recommendation-tags span {
  border: 1px solid rgba(18, 107, 92, 0.18);
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 8px;
}

.empty-chip {
  border-color: var(--line) !important;
  background: #f6f7f3 !important;
  color: var(--muted) !important;
}

.assistant-contact-note {
  padding: 16px;
}

.assistant-contact-note strong {
  display: block;
  color: var(--accent-dark);
  line-height: 1.4;
}

.assistant-contact-note p {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.assistant-contact-qr {
  display: block;
  width: 100%;
  height: auto;
  margin: 12px 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.assistant-contact-note .assistant-wechat-id {
  margin: 0;
  color: var(--ink);
  text-align: center;
}

.assistant-content {
  display: grid;
  gap: 18px;
}

.assistant-block {
  padding: 18px;
}

.assistant-block-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 13px;
}

.assistant-block-title h2 {
  margin: 0;
  font-size: 21px;
}

.assistant-block-title span {
  color: var(--muted);
  font-size: 12px;
}

.recommendations {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.assistant-recommendation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 15px;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.assistant-recommendation:hover {
  border-color: rgba(18, 107, 92, 0.4);
  box-shadow: 0 12px 28px rgba(28, 36, 35, 0.08);
  transform: translateY(-2px);
}

.recommendation-meta {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.assistant-recommendation h3 {
  margin: 7px 0 7px;
  font-size: 18px;
  line-height: 1.4;
}

.assistant-recommendation p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.recommendation-side {
  display: grid;
  align-content: center;
  gap: 7px;
  text-align: center;
}

.recommendation-side strong {
  color: var(--accent-2);
  font-size: 22px;
}

.recommendation-side a {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.assistant-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(150px, 0.75fr) 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.assistant-diagram > i {
  color: var(--accent);
  font-style: normal;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.assistant-node {
  display: grid;
  align-content: center;
  min-height: 118px;
  border: 1px solid rgba(21, 53, 48, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fffaf1, #edf4ee);
  padding: 15px;
}

.assistant-node.controller {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.assistant-node small {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.assistant-node.controller small,
.assistant-node.controller span {
  color: rgba(255, 255, 255, 0.78);
}

.assistant-node strong {
  color: var(--accent-dark);
  font-size: 17px;
  line-height: 1.35;
}

.assistant-node.controller strong {
  color: #fff;
}

.assistant-node span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.solution-report {
  margin-top: 14px;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.report-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfbf8;
  padding: 14px;
}

.report-grid article.report-wide {
  grid-column: 1 / -1;
}

.report-grid h3 {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 16px;
}

.report-grid p,
.report-grid ul {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.report-grid ul {
  padding-left: 18px;
}

@media (max-width: 820px) {
  .assistant-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .assistant-metrics {
    width: 100%;
    min-width: 0;
  }

  .assistant-results {
    grid-template-columns: 1fr;
  }

  .assistant-config {
    grid-template-columns: minmax(160px, 0.7fr) minmax(0, 1.3fr);
  }

  .mobile-app-field {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line) !important;
    border-left: 0 !important;
  }

  .assistant-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assistant-need-panel,
  .assistant-contact-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .site-nav {
    gap: 10px;
  }

  .nav-more-menu {
    position: static;
    box-shadow: none;
    margin-top: 4px;
  }

  .assistant-shell {
    width: min(100% - 24px, 1240px);
    padding-top: 28px;
  }

  .assistant-intro h1 {
    font-size: 42px;
  }

  .assistant-input-panel,
  .assistant-block {
    padding: 16px;
  }

  .assistant-config {
    grid-template-columns: 1fr;
  }

  .assistant-config-group + .assistant-config-group,
  .mobile-app-field {
    grid-column: auto;
    border-top: 1px solid var(--line) !important;
    border-left: 0 !important;
  }

  .assistant-config-group {
    padding-right: 0;
    padding-left: 0;
  }

  .assistant-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .assistant-metrics span {
    min-height: 66px;
    font-size: 11px;
    padding: 8px;
  }

  .assistant-metrics strong {
    font-size: 20px;
  }

  .assistant-sidebar,
  .assistant-recommendation,
  .assistant-diagram,
  .report-grid {
    grid-template-columns: 1fr;
  }

  .assistant-diagram > i {
    transform: rotate(90deg);
  }

  .recommendation-side {
    grid-template-columns: auto auto auto;
    align-items: center;
    text-align: left;
  }

  .page-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Refined assistant: sensor-first recommendations and Visio-style architecture. */
.assistant-hero {
  display: block;
}

.assistant-intro {
  max-width: none;
}

.assistant-intro h1 {
  max-width: none;
  font-size: 52px;
  white-space: nowrap;
}

.assistant-intro > p:last-child {
  max-width: 820px;
}

.assistant-metrics {
  width: min(520px, 100%);
  margin-top: 24px;
}

.sensor-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) minmax(170px, 0.38fr);
  gap: 15px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.sensor-card:hover {
  border-color: rgba(18, 107, 92, 0.4);
  box-shadow: 0 12px 28px rgba(28, 36, 35, 0.08);
  transform: translateY(-2px);
}

.sensor-index {
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--accent-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
}

.sensor-card-main {
  min-width: 0;
}

.sensor-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.sensor-card-head span + span::before {
  margin-right: 10px;
  color: var(--line);
  content: "/";
}

.sensor-card h3 {
  margin: 7px 0 6px;
  font-size: 18px;
  line-height: 1.35;
}

.sensor-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.sensor-purpose {
  display: grid;
  align-content: center;
  border-left: 1px solid var(--line);
  padding-left: 15px;
}

.sensor-purpose small {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
}

.sensor-purpose strong {
  color: #35403d;
  font-size: 13px;
  line-height: 1.5;
}

.assistant-diagram {
  display: block;
  margin-top: 14px;
}

.diagram-canvas {
  display: grid;
  grid-template-columns: minmax(205px, 1fr) minmax(190px, 0.72fr) minmax(205px, 1fr);
  gap: 54px;
  align-items: stretch;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid #dbe2e5;
  border-radius: 6px;
  background: #fff;
  padding: 30px 36px;
}

.diagram-canvas.has-mobile-app {
  grid-template-columns: minmax(190px, 0.9fr) minmax(180px, 0.68fr) minmax(380px, 1.45fr);
  gap: 46px;
  padding-right: 28px;
  padding-left: 28px;
}

.diagram-bank {
  display: grid;
  align-content: center;
  gap: 18px;
}

.diagram-output-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0;
}

.diagram-output-row.has-app {
  grid-template-columns: minmax(0, 1fr) 38px minmax(118px, 0.82fr);
}

.diagram-output-row.has-app .diagram-module-output::before {
  left: -56px;
}

.diagram-app-connector {
  position: relative;
  display: block;
  height: 2px;
  background: #5d6b70;
}

.diagram-app-connector::after {
  position: absolute;
  top: -5px;
  right: -1px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #5d6b70;
  content: "";
}

.diagram-app-node {
  display: grid;
  place-items: center;
  min-height: 68px;
  border: 2px solid #8fa0a7;
  border-radius: 4px;
  background: #fff;
  color: #26343a;
  padding: 10px 8px;
  text-align: center;
}

.diagram-app-node strong {
  font-size: 14px;
  line-height: 1.35;
}

.diagram-app-node span {
  margin-top: 4px;
  color: #66767c;
  font-size: 11px;
  font-weight: 700;
}

.diagram-module {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 68px;
  border: 2px solid #8fa0a7;
  border-radius: 4px;
  background: #fff;
  color: #26343a;
  padding: 10px 12px;
  text-align: center;
}

.diagram-module strong {
  font-size: 14px;
  line-height: 1.35;
}

.diagram-module span {
  margin-top: 4px;
  color: #66767c;
  font-size: 11px;
  font-weight: 700;
}

.diagram-module::after,
.diagram-module::before {
  position: absolute;
  top: calc(50% - 1px);
  content: "";
}

.diagram-module-input::after {
  right: -56px;
  width: 54px;
  height: 2px;
  background: #5d6b70;
}

.diagram-module-input::before {
  right: -58px;
  z-index: 1;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #5d6b70;
  transform: translateY(-5px);
}

.diagram-module-output::before {
  left: -56px;
  width: 54px;
  height: 2px;
  background: #5d6b70;
}

.diagram-module-output::after {
  left: -9px;
  z-index: 1;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #5d6b70;
  transform: translateY(-5px);
}

.diagram-controller {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 100%;
  border: 2px solid #507f90;
  border-radius: 4px;
  background: #fff;
  color: #17272d;
  padding: 20px 14px;
  text-align: center;
}

.diagram-controller strong {
  font-size: 20px;
  line-height: 1.25;
}

.diagram-controller b {
  margin-bottom: 10px;
  font-size: 18px;
}

.diagram-controller span {
  color: #64747a;
  font-size: 12px;
  line-height: 1.35;
}

.analysis-overview {
  border-left: 3px solid var(--accent);
  background: #f7faf8;
  padding: 18px 20px;
}

.analysis-overview > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.analysis-overview h3 {
  margin: 6px 0 8px;
  font-size: 20px;
  line-height: 1.4;
}

.analysis-overview p,
.analysis-section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.analysis-section {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.analysis-section-title {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
}

.analysis-section-title > span {
  color: var(--accent-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
}

.analysis-section-title h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.module-analysis-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.module-analysis-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.58fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.module-analysis-name {
  border-right: 1px solid var(--line);
  padding-right: 16px;
}

.module-analysis-name span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.module-analysis-name h4 {
  margin: 5px 0 5px;
  font-size: 15px;
  line-height: 1.4;
}

.module-analysis-name small {
  color: var(--muted);
  font-size: 11px;
}

.module-analysis-row > div > strong {
  display: block;
  margin-bottom: 5px;
  color: #33413e;
  font-size: 12px;
}

.module-analysis-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.output-analysis-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.output-analysis-list li {
  border-left: 2px solid #8fa0a7;
  background: #fafbfa;
  padding: 12px 14px;
}

.output-analysis-list strong,
.output-analysis-list span {
  display: block;
}

.output-analysis-list strong {
  margin-bottom: 5px;
  font-size: 14px;
}

.output-analysis-list span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.program-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  counter-reset: flow-step;
  list-style: none;
}

.program-flow li {
  position: relative;
  min-width: 0;
  border-top: 2px solid #8fa0a7;
  padding: 20px 12px 0 0;
}

.program-flow li::before {
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.program-flow strong,
.program-flow span {
  display: block;
}

.program-flow strong {
  margin-bottom: 6px;
  font-size: 13px;
}

.program-flow span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.feature-analysis-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.feature-analysis-grid span {
  border: 1px solid var(--line);
  background: #fafbfa;
  color: #44524f;
  font-size: 12px;
  font-weight: 800;
  padding: 10px;
}

@media (max-width: 980px) {
  .assistant-intro h1 {
    font-size: 44px;
  }

  .diagram-canvas {
    grid-template-columns: minmax(170px, 1fr) minmax(160px, 0.75fr) minmax(170px, 1fr);
    gap: 40px;
    padding: 24px;
  }

  .diagram-canvas.has-mobile-app {
    grid-template-columns: minmax(150px, 0.82fr) minmax(150px, 0.65fr) minmax(320px, 1.45fr);
    gap: 34px;
    padding: 22px;
  }

  .diagram-module-input::after,
  .diagram-module-output::before {
    width: 40px;
  }

  .diagram-module-input::after {
    right: -42px;
  }

  .diagram-module-input::before {
    right: -44px;
  }

  .diagram-module-output::before {
    left: -42px;
  }

  .program-flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .program-flow li {
    border-top: 0;
    border-left: 2px solid #8fa0a7;
    padding: 0 0 0 18px;
  }

  .program-flow li::before {
    top: 4px;
    left: -6px;
  }
}

@media (max-width: 680px) {
  .assistant-intro h1 {
    font-size: 25px;
    white-space: nowrap;
  }

  .sensor-card,
  .module-analysis-row {
    grid-template-columns: 1fr;
  }

  .sensor-index {
    min-height: 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sensor-purpose,
  .module-analysis-name {
    border-top: 1px solid var(--line);
    border-right: 0;
    border-left: 0;
    padding-top: 12px;
    padding-right: 0;
    padding-left: 0;
  }

  .diagram-canvas {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    padding: 18px;
  }

  .diagram-canvas.has-mobile-app {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .diagram-controller {
    min-height: 180px;
  }

  .diagram-output-row.has-app {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .diagram-output-row.has-app .diagram-module-output::before {
    display: none;
  }

  .diagram-app-connector {
    display: block;
    width: 34px;
    height: 2px;
    margin: 5px auto;
    transform: rotate(90deg);
  }

  .diagram-app-node {
    min-height: 56px;
  }

  .diagram-module::before,
  .diagram-module::after {
    display: none;
  }

  .output-analysis-list,
  .feature-analysis-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .assistant-intro h1 {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sensor-card {
    transition: none;
  }
}

/* Project library detail view. */
.project-detail-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 4px 2px 2px;
}

.project-detail-header > div {
  min-width: 0;
  max-width: 820px;
}

.project-detail-header h2 {
  margin: 7px 0 12px;
  font-size: 34px;
  line-height: 1.28;
}

.project-detail-header .muted {
  margin-bottom: 0;
}

.project-detail-header > .primary-button {
  flex: 0 0 auto;
  margin-bottom: 2px;
}

.project-architecture-section {
  margin-top: 26px;
}

.project-detail-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.project-detail-section-title h3 {
  margin: 0;
}

.project-detail-section-title span {
  color: var(--muted);
  font-size: 12px;
}

.project-detail-diagram {
  grid-template-columns: minmax(210px, 1fr) minmax(210px, 0.72fr) minmax(210px, 1fr);
  min-height: 470px;
}

.project-detail-diagram .diagram-bank {
  gap: 16px;
}

.project-detail-diagram .diagram-module {
  min-height: 68px;
}

.project-detail-diagram .diagram-module strong {
  overflow-wrap: anywhere;
  letter-spacing: 0;
}

@media (max-width: 680px) {
  .project-collapse-toolbar {
    top: 76px;
  }

  .project-detail-header {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .project-detail-header h2 {
    font-size: 25px;
  }

  .project-detail-header > .primary-button {
    width: 100%;
  }

  .project-detail-section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .project-detail-diagram {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

/* Case gallery: an editorial hardware portfolio built around real prototype photography. */
.case-gallery-page {
  background:
    linear-gradient(rgba(18, 107, 92, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 107, 92, 0.035) 1px, transparent 1px),
    #f7f8f4;
  background-size: 28px 28px;
}

.case-gallery-main {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0 90px;
}

.case-gallery-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 54px;
  align-items: end;
  padding: 20px 0 34px;
}

.case-gallery-intro > div:first-child {
  max-width: 760px;
}

.case-gallery-intro h1 {
  margin: 4px 0 12px;
  font-size: 52px;
  line-height: 1.08;
}

.case-gallery-intro > div:first-child > p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.case-gallery-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  min-width: 430px;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-gallery-metrics div {
  padding: 15px 14px;
}

.case-gallery-metrics div + div {
  border-left: 1px solid var(--line);
}

.case-gallery-metrics dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.case-gallery-metrics dd {
  margin: 5px 0 0;
  color: var(--accent-dark);
  font-size: 22px;
  font-weight: 900;
}

.case-gallery-metrics div:last-child dd {
  font-size: 13px;
  line-height: 1.5;
}

.case-jump-nav {
  position: sticky;
  top: 70px;
  z-index: 18;
  display: grid;
  grid-template-columns: repeat(10, minmax(96px, 1fr));
  overflow-x: auto;
  border: 1px solid #0e4f45;
  border-radius: 6px;
  background: rgba(15, 82, 71, 0.97);
  box-shadow: 0 12px 28px rgba(21, 53, 48, 0.16);
  scrollbar-width: thin;
}

.case-jump-nav a {
  display: grid;
  min-width: 96px;
  min-height: 62px;
  align-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 9px 11px;
  text-decoration: none;
}

.case-jump-nav a:last-child {
  border-right: 0;
}

.case-jump-nav a:hover,
.case-jump-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.case-jump-nav span {
  color: #b9ddd5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
}

.case-jump-nav strong {
  margin-top: 3px;
  font-size: 12px;
  white-space: nowrap;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.case-study {
  scroll-margin-top: 154px;
  overflow: hidden;
  border: 1px solid #d5deda;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(21, 53, 48, 0.08);
}

.case-photo-button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid #d5deda;
  border-radius: 0;
  background: #edf1ed;
  cursor: zoom-in;
  padding: 0;
}

.case-photo-button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: transform 260ms ease;
}

.case-photo-button:hover img {
  transform: scale(1.015);
}

.case-photo-button > span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  background: rgba(15, 50, 44, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 11px;
}

.case-study-content {
  padding: 25px 26px 28px;
}

.case-study-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.case-study-meta span {
  font-family: Georgia, "Times New Roman", serif;
}

.case-study-meta strong {
  border-left: 2px solid var(--accent-2);
  color: #45534f;
  padding-left: 8px;
}

.case-study h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.35;
}

.case-study-summary {
  min-height: 78px;
  margin: 14px 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.case-study-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(170px, 0.88fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.case-study-detail h3 {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
}

.case-study-detail ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-study-detail li {
  position: relative;
  color: #46534f;
  font-size: 13px;
  line-height: 1.55;
  padding-left: 15px;
}

.case-study-detail li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--accent-2);
  content: "";
}

.case-module-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.case-module-list span {
  border: 1px solid #d5dfdb;
  border-radius: 4px;
  background: #f6f9f7;
  color: #40504c;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 7px;
}

.case-study-featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
}

.case-study-featured .case-photo-button {
  height: 100%;
  min-height: 560px;
  aspect-ratio: auto;
  border-right: 1px solid #d5deda;
  border-bottom: 0;
}

.case-study-featured .case-study-content {
  display: grid;
  align-content: center;
  padding: 38px;
}

.case-study-featured h2 {
  font-size: 34px;
}

.case-study-featured .case-study-summary {
  min-height: 0;
  font-size: 15px;
}

.case-study-featured .case-study-detail {
  grid-template-columns: 1fr;
}

.case-photo-modal {
  width: min(1280px, calc(100% - 36px));
  max-width: none;
  max-height: calc(100vh - 36px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: #15211f;
  color: #fff;
  padding: 0;
}

.case-photo-modal::backdrop {
  background: rgba(6, 15, 13, 0.82);
}

.case-photo-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 10px 14px 10px 20px;
}

.case-photo-modal-header h2 {
  margin: 0;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-photo-modal-header button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 24px;
}

.case-photo-modal > img {
  width: 100%;
  height: calc(100vh - 96px);
  display: block;
  background: #111a18;
  object-fit: contain;
}

@media (max-width: 980px) {
  .case-gallery-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-gallery-metrics {
    width: 100%;
    min-width: 0;
  }

  .case-study-featured {
    grid-template-columns: 1fr;
  }

  .case-study-featured .case-photo-button {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-right: 0;
    border-bottom: 1px solid #d5deda;
  }

  .case-study-featured .case-study-content {
    padding: 28px;
  }

  .case-study-featured .case-study-detail {
    grid-template-columns: minmax(0, 1.12fr) minmax(170px, 0.88fr);
  }
}

@media (max-width: 760px) {
  .case-gallery-main {
    width: min(100% - 28px, 620px);
    padding-top: 26px;
  }

  .case-gallery-intro h1 {
    font-size: 38px;
  }

  .case-gallery-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-gallery-metrics div {
    min-width: 0;
    padding: 12px 8px;
  }

  .case-gallery-metrics dd {
    font-size: 18px;
  }

  .case-gallery-metrics div:last-child dd {
    font-size: 11px;
  }

  .case-jump-nav {
    top: 62px;
  }

  .case-study-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case-study-featured {
    grid-column: auto;
  }

  .case-study-featured h2,
  .case-study h2 {
    font-size: 23px;
  }

  .case-study-featured .case-study-content,
  .case-study-content {
    padding: 22px 20px 24px;
  }

  .case-study-featured .case-study-detail,
  .case-study-detail {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .case-study-summary {
    min-height: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  .case-photo-button img {
    transition: none;
  }
}

/* Custom-service workbench. */
.service-page {
  background: #f7f8f4;
}

.service-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.service-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(18, 107, 92, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 107, 92, 0.04) 1px, transparent 1px),
    #f7f8f4;
  background-size: 28px 28px;
}

.service-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(420px, 0.75fr);
  gap: 72px;
  align-items: end;
  min-height: 570px;
  padding: 72px 0 62px;
}

.service-hero-copy {
  max-width: 770px;
}

.service-hero-copy h1 {
  margin-bottom: 22px;
  font-size: 64px;
  line-height: 1.12;
}

.service-hero-copy > p:not(.eyebrow) {
  max-width: 700px;
  margin-bottom: 28px;
  color: #4e5b57;
  font-size: 18px;
  line-height: 1.85;
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-facts {
  display: grid;
  margin: 0;
  border-top: 1px solid #cfd8d4;
  border-bottom: 1px solid #cfd8d4;
}

.service-facts div {
  display: grid;
  grid-template-columns: 116px 92px minmax(0, 1fr);
  align-items: center;
  min-height: 96px;
  border-bottom: 1px solid #dce2df;
}

.service-facts div:last-child {
  border-bottom: 0;
}

.service-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.service-facts dd {
  margin: 0;
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 700;
}

.service-facts span {
  color: #4c5955;
  font-size: 12px;
  line-height: 1.5;
}

.service-band {
  border-bottom: 1px solid var(--line);
  padding: 76px 0;
}

.service-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 28px;
}

.service-section-heading h2,
.service-delivery-layout h2 {
  margin: 0;
  font-size: 38px;
}

.service-section-heading > p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.service-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--accent-dark);
  border-radius: 6px 6px 0 0;
  background: var(--accent-dark);
}

.service-tabs button {
  display: grid;
  align-content: center;
  min-height: 76px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 12px 18px;
  text-align: left;
}

.service-tabs button:last-child {
  border-right: 0;
}

.service-tabs button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.service-tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--accent-dark);
}

.service-tabs button span,
.service-tabs button strong {
  display: block;
}

.service-tabs button span {
  margin-bottom: 4px;
  color: #9fcac1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
}

.service-tabs button[aria-selected="true"] span {
  color: var(--accent-2);
}

.service-tabs button strong {
  font-size: 15px;
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1.12fr) minmax(190px, 0.8fr) minmax(190px, 0.8fr) minmax(210px, 0.8fr);
  min-height: 310px;
  border: 1px solid #cfd9d5;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  background: #fff;
}

.service-panel > div {
  padding: 30px;
}

.service-panel > div + div {
  border-left: 1px solid var(--line);
}

.service-panel-intro {
  display: grid;
  align-content: center;
}

.service-panel-intro > span,
.service-panel-result > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.service-panel-intro h3 {
  margin: 10px 0 14px;
  font-size: 28px;
  line-height: 1.35;
}

.service-panel-intro p,
.service-panel-result p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.service-panel-list > strong {
  display: block;
  margin-bottom: 16px;
  color: var(--accent-dark);
  font-size: 13px;
}

.service-panel-list ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-panel-list li {
  position: relative;
  color: #45534f;
  font-size: 13px;
  line-height: 1.55;
  padding-left: 15px;
}

.service-panel-list li::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--accent-2);
  content: "";
}

.service-panel-result {
  display: grid;
  align-content: center;
  background: #f5f8f6;
}

.service-panel-result p {
  margin: 12px 0 18px;
}

.service-panel-result a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.service-capability-section {
  background: #f0f4f1;
}

.service-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #cfd8d4;
  border-bottom: 1px solid #cfd8d4;
}

.service-capability-grid section {
  min-height: 224px;
  border-right: 1px solid #cfd8d4;
  padding: 26px 24px;
}

.service-capability-grid section:last-child {
  border-right: 0;
}

.service-capability-grid span {
  color: var(--accent-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 700;
}

.service-capability-grid h3 {
  margin: 28px 0 12px;
  font-size: 21px;
}

.service-capability-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.service-process-section {
  background: #fff;
}

.service-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-process li {
  position: relative;
  min-width: 0;
  border-top: 2px solid #9eaca7;
  padding: 26px 28px 0 0;
}

.service-process li::before {
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  content: "";
}

.service-process span,
.service-process strong {
  display: block;
}

.service-process span {
  color: var(--accent-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
}

.service-process strong {
  margin: 8px 0;
  font-size: 17px;
}

.service-process p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.service-delivery-section {
  background: #163f38;
  color: #fff;
}

.service-delivery-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  gap: 64px;
  align-items: center;
}

.service-delivery-layout > div:first-child > p:not(.eyebrow) {
  color: #c3d4cf;
  font-size: 13px;
  line-height: 1.75;
}

.service-delivery-layout .eyebrow,
.service-delivery-layout .text-action {
  color: #efb36e;
}

.service-delivery-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.service-delivery-list span {
  min-height: 62px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: #edf5f2;
  font-size: 13px;
  font-weight: 700;
  padding: 20px;
}

.service-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-proof-grid a {
  overflow: hidden;
  border: 1px solid #d4dcd8;
  border-radius: 6px;
  background: #fff;
}

.service-proof-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  border-bottom: 1px solid #d4dcd8;
  object-fit: cover;
  transition: transform 220ms ease;
}

.service-proof-grid a:hover img {
  transform: scale(1.018);
}

.service-proof-grid span,
.service-proof-grid strong {
  display: block;
  margin-right: 18px;
  margin-left: 18px;
}

.service-proof-grid span {
  margin-top: 16px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.service-proof-grid strong {
  margin-top: 6px;
  margin-bottom: 19px;
  font-size: 16px;
  line-height: 1.5;
}

.service-band.service-request-section {
  background: #edf3ef;
}

.service-request-form {
  overflow: hidden;
  border: 1px solid #ccd7d2;
  border-radius: 6px;
  background: #fff;
}

.service-request-form > label,
.service-request-form > fieldset {
  display: block;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 22px 24px;
}

.service-request-form label > span,
.service-request-form legend {
  display: block;
  margin-bottom: 9px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.service-topic-field textarea {
  min-height: 106px;
  margin: 0;
}

.service-check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.service-check-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid #d6deda;
  border-radius: 4px;
  cursor: pointer;
  padding: 9px 12px;
}

.service-check-grid input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--accent);
}

.service-check-grid label > span {
  margin: 0;
  color: #3f4d49;
  font-size: 13px;
}

.service-request-options {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.service-request-options > fieldset,
.service-request-options > label {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 22px 24px;
}

.service-request-options > * + * {
  border-left: 1px solid var(--line);
}

.service-segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-segmented label {
  position: relative;
  cursor: pointer;
}

.service-segmented input {
  position: absolute;
  opacity: 0;
}

.service-segmented span {
  display: grid;
  place-items: center;
  min-height: 42px;
  margin: 0;
  border: 1px solid #ccd6d2;
  background: #fff;
  color: #4c5955;
  font-size: 12px;
  font-weight: 800;
}

.service-segmented label:first-child span {
  border-radius: 4px 0 0 4px;
}

.service-segmented label:last-child span {
  margin-left: -1px;
  border-radius: 0 4px 4px 0;
}

.service-segmented input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.service-request-options select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #ccd6d2;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
}

.service-request-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
}

.service-request-actions span {
  color: var(--muted);
  font-size: 12px;
}

.service-request-result {
  margin-top: 16px;
  border: 1px solid #b9cbc4;
  border-radius: 6px;
  background: #fff;
  padding: 22px;
}

.service-request-result[hidden] {
  display: none;
}

.service-request-result > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-request-result > div > span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

.service-request-result pre {
  margin: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #3e4b48;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  line-height: 1.8;
  padding: 16px 0;
  white-space: pre-wrap;
}

@media (max-width: 1050px) {
  .service-hero-inner {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 42px;
  }

  .service-hero-copy h1 {
    font-size: 52px;
  }

  .service-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-panel > div:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-panel > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  .service-hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: 0;
    padding: 58px 0;
  }

  .service-tabs {
    grid-template-columns: repeat(5, minmax(126px, 1fr));
    overflow-x: auto;
  }

  .service-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-capability-grid section:nth-child(2) {
    border-right: 0;
  }

  .service-capability-grid section:nth-child(-n + 2) {
    border-bottom: 1px solid #cfd8d4;
  }

  .service-process {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-process li {
    border-top: 0;
    border-left: 2px solid #9eaca7;
    padding: 0 0 18px 22px;
  }

  .service-process li::before {
    top: 2px;
    left: -7px;
  }

  .service-delivery-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .service-shell {
    width: min(100% - 28px, 560px);
  }

  .service-hero-inner {
    padding: 42px 0;
  }

  .service-hero-copy h1 {
    font-size: 38px;
  }

  .service-hero-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .service-facts div {
    grid-template-columns: 90px 72px minmax(0, 1fr);
  }

  .service-band {
    padding: 54px 0;
  }

  .service-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .service-section-heading h2,
  .service-delivery-layout h2 {
    font-size: 30px;
  }

  .service-panel {
    grid-template-columns: 1fr;
  }

  .service-panel > div {
    padding: 23px 20px;
  }

  .service-panel > div + div,
  .service-panel > div:nth-child(3),
  .service-panel > div:nth-child(4) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-panel-intro h3 {
    font-size: 23px;
  }

  .service-capability-grid {
    grid-template-columns: 1fr;
  }

  .service-capability-grid section,
  .service-capability-grid section:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #cfd8d4;
  }

  .service-capability-grid section:last-child {
    border-bottom: 0;
  }

  .service-delivery-list {
    grid-template-columns: 1fr;
  }

  .service-check-grid,
  .service-request-options {
    grid-template-columns: 1fr;
  }

  .service-request-options > * + * {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-request-form > label,
  .service-request-form > fieldset,
  .service-request-options > fieldset,
  .service-request-options > label {
    padding: 18px;
  }

  .service-request-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .service-request-result > div {
    align-items: stretch;
    flex-direction: column;
  }

}

@media (prefers-reduced-motion: reduce) {
  .service-proof-grid img {
    transition: none;
  }
}
