:root {
  --bg: #091013;
  --bg-2: #0e191c;
  --panel: rgba(255, 255, 255, 0.072);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.14);
  --text: #eef7f5;
  --muted: #aabbb7;
  --dim: #6f8580;
  --teal: #32d0bd;
  --amber: #d8a14d;
  --blue: #4e8cff;
  --danger: #ff806e;
  --page-grid-x: rgba(255, 255, 255, 0.035);
  --page-grid-y: rgba(255, 255, 255, 0.026);
  --header-bg: rgba(7, 13, 15, 0.72);
  --header-border: rgba(255, 255, 255, 0.08);
  --nav-text: rgba(238, 247, 245, 0.84);
  --mobile-nav-bg: rgba(7, 13, 15, 0.96);
  --mobile-nav-border: rgba(255, 255, 255, 0.12);
  --theme-toggle-bg: rgba(255, 255, 255, 0.06);
  --theme-toggle-line: rgba(255, 255, 255, 0.12);
  --theme-choice-text: rgba(238, 247, 245, 0.8);
  --theme-active-bg: rgba(255, 255, 255, 0.96);
  --theme-active-text: #132120;
  --theme-active-shadow: 0 10px 24px rgba(0, 0, 0, 0.22), 0 1px 0 rgba(255, 255, 255, 0.72) inset;
  --modal-backdrop: rgba(3, 7, 8, 0.72);
  --modal-bg: #0d181b;
  --modal-text: #eef7f5;
  --modal-border: rgba(255, 255, 255, 0.16);
  --modal-panel-bg: rgba(255, 255, 255, 0.07);
  --modal-panel-border: rgba(255, 255, 255, 0.12);
  --modal-list-text: rgba(238, 247, 245, 0.8);
  --footer-bg: #05090a;
  --footer-border: rgba(255, 255, 255, 0.08);
  --radius: 8px;
  --header-h: 74px;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f7fbfa;
  --bg-2: #edf5f3;
  --panel: rgba(19, 33, 32, 0.065);
  --panel-strong: rgba(19, 33, 32, 0.1);
  --line: rgba(19, 33, 32, 0.16);
  --text: #132120;
  --muted: #556964;
  --dim: #72857f;
  --page-grid-x: rgba(19, 33, 32, 0.04);
  --page-grid-y: rgba(19, 33, 32, 0.03);
  --header-bg: rgba(248, 251, 250, 0.88);
  --header-border: rgba(19, 33, 32, 0.1);
  --nav-text: rgba(19, 33, 32, 0.78);
  --mobile-nav-bg: rgba(248, 251, 250, 0.97);
  --mobile-nav-border: rgba(19, 33, 32, 0.12);
  --theme-toggle-bg: rgba(19, 33, 32, 0.055);
  --theme-toggle-line: rgba(19, 33, 32, 0.12);
  --theme-choice-text: rgba(19, 33, 32, 0.72);
  --theme-active-bg: #ffffff;
  --theme-active-text: #132120;
  --theme-active-shadow: 0 10px 24px rgba(39, 54, 60, 0.14), 0 1px 0 rgba(255, 255, 255, 0.92) inset;
  --modal-backdrop: rgba(16, 28, 27, 0.34);
  --modal-bg: #fbfdfc;
  --modal-text: #132120;
  --modal-border: rgba(19, 33, 32, 0.12);
  --modal-panel-bg: rgba(19, 33, 32, 0.055);
  --modal-panel-border: rgba(19, 33, 32, 0.1);
  --modal-list-text: rgba(19, 33, 32, 0.78);
  --footer-bg: #edf5f3;
  --footer-border: rgba(19, 33, 32, 0.1);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, var(--page-grid-x) 1px, transparent 1px),
    linear-gradient(180deg, var(--page-grid-y) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.42), transparent 68%);
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 0 clamp(18px, 4vw, 56px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(18px);
}

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

.brand-icon {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
}

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

.brand strong {
  overflow: hidden;
  max-width: 260px;
  font-size: 15px;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.1vw, 28px);
  color: var(--nav-text);
  font-size: 14px;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  white-space: nowrap;
}

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

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

.theme-switcher {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.theme-options {
  display: grid;
  grid-template-columns: repeat(3, 40px);
  gap: 3px;
  padding: 3px;
  background: var(--theme-toggle-bg);
  border: 1px solid var(--theme-toggle-line);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(255, 255, 255, 0.08) inset, 0 12px 34px rgba(0, 0, 0, 0.12);
}

.theme-choice {
  display: inline-grid;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 34px;
  padding: 0;
  color: var(--theme-choice-text);
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 999px;
  line-height: 1;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.theme-choice svg {
  width: 17px;
  height: 17px;
}

.theme-choice svg:not([fill="none"]) {
  fill: currentColor;
}

.theme-choice:hover,
.theme-choice:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.theme-choice.is-active,
.theme-choice[aria-checked="true"] {
  color: var(--theme-active-text);
  background: var(--theme-active-bg);
  box-shadow: var(--theme-active-shadow);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.mobile-category-menu {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  color: #eef7f5;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("./hero-product-matrix.jpg");
  background-position: center right;
  background-size: cover;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 13, 15, 0.96) 0%, rgba(7, 13, 15, 0.84) 34%, rgba(7, 13, 15, 0.36) 76%),
    linear-gradient(180deg, rgba(7, 13, 15, 0.15), rgba(7, 13, 15, 0.88));
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 760px;
  padding: calc(var(--header-h) + 56px) clamp(20px, 6vw, 88px) 108px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1080px;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 120px;
  font-weight: 820;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 610px;
  margin: 26px 0 0;
  color: rgba(238, 247, 245, 0.84);
  font-size: 22px;
  line-height: 1.55;
}

.hero-slogan {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--teal);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 720;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #07100f;
  background: var(--teal);
}

.button-ghost {
  color: #eef7f5;
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line);
}

.hero-proof {
  position: absolute;
  right: clamp(20px, 5vw, 68px);
  bottom: 24px;
  left: clamp(20px, 5vw, 68px);
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 660px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-proof div {
  padding: 20px 22px 0 0;
}

.hero-proof strong {
  display: block;
  font-size: 44px;
  line-height: 1;
}

.hero-proof span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  position: relative;
  padding: clamp(74px, 9vw, 128px) 0;
  background: #f4f8f7;
  color: #132120;
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    var(--bg-2);
  color: var(--text);
}

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

.two-column,
.split-section,
.section-heading-row {
  display: grid;
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
}

.two-column {
  grid-template-columns: 0.9fr 1.1fr;
}

.split-section {
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  margin-bottom: clamp(34px, 6vw, 76px);
}

.split-section.reverse {
  grid-template-columns: minmax(420px, 1fr) minmax(0, 0.72fr);
}

.split-section.reverse .section-copy-block {
  order: 2;
}

.split-section.reverse .section-visual {
  order: 1;
}

.section h2 {
  max-width: 820px;
  margin: 0;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.section-copy,
.section-copy-block p,
.about-copy p,
.contact-panel p,
.final-cta p {
  color: currentColor;
  font-size: 19px;
  line-height: 1.78;
  opacity: 0.78;
}

.section-copy {
  margin: 0;
}

.wide-copy {
  max-width: 840px;
  margin-top: 22px;
}

.section-copy-block p {
  margin: 22px 0 0;
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.capability-list span {
  padding: 8px 10px;
  color: rgba(238, 247, 245, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
}

.section-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.section:not(.section-dark) .section-visual {
  background: #182326;
  border-color: rgba(19, 33, 32, 0.12);
  box-shadow: 0 22px 80px rgba(16, 32, 33, 0.18);
}

.section-visual img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 420ms ease;
}

.section-visual:hover img {
  transform: scale(1.035);
}

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

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

.product-card {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.section:not(.section-dark) .product-card {
  background: #ffffff;
  border-color: rgba(19, 33, 32, 0.1);
  box-shadow: 0 20px 60px rgba(16, 32, 33, 0.08);
}

.product-card-inner {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
}

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #101b1f;
}

.product-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.status {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 8px;
  color: #06100f;
  background: var(--teal);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
}

.status.status-dev {
  background: var(--amber);
}

.status.status-plan {
  color: var(--text);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.product-body {
  padding: 20px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--dim);
  font-size: 12px;
}

.section-dark .product-meta {
  color: var(--muted);
}

.product-card h3 {
  margin: 0;
  color: currentColor;
  font-size: 22px;
  font-weight: 780;
  line-height: 1.22;
}

.product-card p {
  margin: 12px 0 0;
  color: currentColor;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.74;
}

.product-delivery {
  margin-top: 18px;
  padding-top: 16px;
  color: var(--amber) !important;
  font-weight: 720;
  border-top: 1px solid rgba(128, 148, 145, 0.24);
  font-size: 13px;
  opacity: 1 !important;
}

.about-section {
  background:
    linear-gradient(135deg, rgba(50, 208, 189, 0.1), transparent 42%),
    var(--bg);
  color: var(--text);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: start;
}

.about-copy p {
  margin: 0;
}

.about-copy p + p {
  margin-top: 18px;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.about-metrics div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.about-metrics strong,
.about-metrics span {
  display: block;
}

.about-metrics strong {
  color: var(--teal);
  font-size: 22px;
  font-weight: 820;
  line-height: 1.2;
}

.about-metrics span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 20px 20px;
}

.small-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  color: currentColor;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(128, 148, 145, 0.32);
  border-radius: var(--radius);
  line-height: 1;
  text-align: center;
}

.small-action[disabled] {
  cursor: not-allowed;
  opacity: 0.56;
}

.small-action.primary-link {
  color: #06100f;
  background: var(--teal);
  border-color: var(--teal);
}

.service-section {
  background:
    linear-gradient(135deg, rgba(50, 208, 189, 0.08), transparent 38%),
    #f4f8f7;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(216, 161, 77, 0.13), transparent 36%),
    var(--bg-2);
  color: var(--text);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.contact-panel h2 {
  font-size: 52px;
}

.contact-panel p {
  max-width: 820px;
  margin: 18px 0 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.service-grid article {
  padding: 26px;
  background: #ffffff;
  border: 1px solid rgba(19, 33, 32, 0.1);
  border-radius: var(--radius);
}

.service-grid span {
  color: var(--amber);
  font-weight: 820;
}

.service-grid h3 {
  margin: 24px 0 10px;
  font-size: 22px;
}

.service-grid p {
  margin: 0;
  color: rgba(19, 33, 32, 0.68);
  line-height: 1.7;
}

.section-heading-row {
  grid-template-columns: 1fr auto;
  margin-bottom: 30px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.tab-button {
  min-height: 38px;
  padding: 0 12px;
  color: var(--muted);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.tab-button.is-active {
  color: #06100f;
  background: var(--teal);
  border-color: var(--teal);
}

.final-cta {
  padding: clamp(78px, 9vw, 130px) 0;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(50, 208, 189, 0.12), transparent 48%),
    var(--bg);
}

.final-cta .section-inner {
  max-width: 820px;
}

.final-cta h2 {
  margin: 0;
  font-size: 58px;
  line-height: 1.06;
}

.final-cta p {
  margin: 20px auto 28px;
  max-width: 620px;
}

.site-footer {
  padding: 28px 0;
  color: var(--muted);
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}

:root[data-theme="light"] .product-card,
:root[data-theme="light"] .contact-panel,
:root[data-theme="light"] .about-metrics div {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(19, 33, 32, 0.12);
  box-shadow: 0 18px 54px rgba(16, 32, 33, 0.08);
}

:root[data-theme="light"] .capability-list span,
:root[data-theme="light"] .tab-button {
  color: rgba(19, 33, 32, 0.76);
  background: rgba(19, 33, 32, 0.055);
  border-color: rgba(19, 33, 32, 0.12);
}

:root[data-theme="light"] .mobile-nav-group > summary {
  color: rgba(19, 33, 32, 0.84);
}

:root[data-theme="light"] .button-ghost {
  border-color: rgba(255, 255, 255, 0.24);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  padding: 12px 14px;
  color: #06100f;
  pointer-events: none;
  background: var(--teal);
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.modal-open {
  overflow: hidden;
}

.purchase-modal[hidden] {
  display: none;
}

.purchase-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
}

.purchase-backdrop {
  position: absolute;
  inset: 0;
  background: var(--modal-backdrop);
  backdrop-filter: blur(10px);
}

.purchase-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 30px;
  color: var(--modal-text);
  background: var(--modal-bg);
  border: 1px solid var(--modal-border);
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--modal-text);
  cursor: pointer;
  background: var(--modal-panel-bg);
  border: 1px solid var(--modal-panel-border);
  border-radius: var(--radius);
  font-size: 24px;
  line-height: 1;
}

.purchase-dialog h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.1;
}

.modal-product {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.modal-price,
.modal-contact {
  display: grid;
  gap: 7px;
  margin-top: 22px;
  padding: 18px;
  background: var(--modal-panel-bg);
  border: 1px solid var(--modal-panel-border);
  border-radius: var(--radius);
}

.modal-price span,
.modal-contact span {
  color: var(--muted);
  font-size: 13px;
}

.modal-price strong {
  color: var(--teal);
  font-size: 34px;
}

.modal-contact strong {
  color: var(--amber);
  font-size: 24px;
}

.modal-services {
  margin-top: 22px;
}

.modal-services h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.modal-services ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--modal-list-text);
  line-height: 1.7;
}

.purchase-dialog .button {
  width: 100%;
  margin-top: 22px;
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.05) translate3d(-1.4%, 0.8%, 0);
  }
}

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

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--mobile-nav-bg);
    border: 1px solid var(--mobile-nav-border);
    border-radius: var(--radius);
    max-height: calc(100svh - var(--header-h) - 18px);
    overflow-y: auto;
  }

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

  .site-nav a {
    padding: 14px 12px;
  }

  .desktop-category-link {
    display: none;
  }

  .mobile-category-menu {
    display: grid;
    gap: 2px;
    padding: 6px 2px 2px;
  }

  .mobile-category-menu summary {
    min-height: 42px;
    padding: 10px 12px;
    color: var(--text);
    cursor: pointer;
    list-style-position: inside;
    border-radius: var(--radius);
  }

  .mobile-nav-group {
    border-radius: var(--radius);
  }

  .mobile-nav-group > summary {
    color: var(--nav-text);
    font-weight: 700;
  }

  .mobile-nav-products {
    display: grid;
    gap: 2px;
    padding: 0 8px 8px 22px;
  }

  .mobile-nav-products a {
    padding: 9px 10px;
    color: var(--muted);
    font-size: 13px;
    border-radius: var(--radius);
  }

  .mobile-nav-products a:hover,
  .mobile-nav-products a:focus-visible {
    color: var(--text);
    background: var(--theme-toggle-bg);
  }

  .theme-switcher {
    align-items: center;
    flex-direction: row;
    padding: 12px 10px 4px;
  }

  .theme-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .theme-choice {
    width: 100%;
  }
}

@media (max-width: 1040px) {
  .product-grid,
  .compact-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .split-section.reverse,
  .two-column,
  .section-heading-row,
  .about-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .split-section.reverse .section-copy-block,
  .split-section.reverse .section-visual {
    order: initial;
  }

  .section-heading-row {
    align-items: start;
  }

  .tabs {
    justify-content: flex-start;
  }
}

@media (min-width: 1200px) {
  .hero h1 {
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 66px;
  }

  .site-header {
    padding: 0 16px;
  }

  .brand strong {
    max-width: 180px;
    font-size: 13px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--mobile-nav-bg);
    border: 1px solid var(--mobile-nav-border);
    border-radius: var(--radius);
    max-height: calc(100svh - var(--header-h) - 18px);
    overflow-y: auto;
  }

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

  .site-nav a {
    padding: 14px 12px;
  }

  .desktop-category-link {
    display: none;
  }

  .mobile-category-menu {
    display: grid;
    gap: 2px;
    padding: 6px 2px 2px;
  }

  .mobile-category-menu summary {
    min-height: 42px;
    padding: 10px 12px;
    color: var(--text);
    cursor: pointer;
    list-style-position: inside;
    border-radius: var(--radius);
  }

  .mobile-nav-group {
    border-radius: var(--radius);
  }

  .mobile-nav-group > summary {
    color: var(--nav-text);
    font-weight: 700;
  }

  .mobile-nav-products {
    display: grid;
    gap: 2px;
    padding: 0 8px 8px 22px;
  }

  .mobile-nav-products a {
    padding: 9px 10px;
    color: var(--muted);
    font-size: 13px;
    border-radius: var(--radius);
  }

  .mobile-nav-products a:hover,
  .mobile-nav-products a:focus-visible {
    color: var(--text);
    background: var(--theme-toggle-bg);
  }

  .hero {
    min-height: 88svh;
  }

  .hero-media {
    background-position: 68% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 13, 15, 0.96), rgba(7, 13, 15, 0.7)),
      linear-gradient(180deg, rgba(7, 13, 15, 0.1), rgba(7, 13, 15, 0.9));
  }

  .hero-content {
    padding: calc(var(--header-h) + 44px) 20px 144px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 52px;
    line-height: 1;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-slogan {
    font-size: 15px;
  }

  .hero-proof strong {
    font-size: 30px;
  }

  .hero-proof {
    grid-template-columns: repeat(3, 1fr);
    bottom: 20px;
  }

  .hero-proof div {
    padding: 16px 8px 0 0;
  }

  .section-inner {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 66px 0;
  }

  .section h2,
  .final-cta h2,
  .contact-panel h2 {
    font-size: 38px;
  }

  .section-copy,
  .section-copy-block p,
  .final-cta p {
    font-size: 16px;
  }

  .product-grid,
  .compact-grid,
  .service-grid,
  .about-metrics {
    grid-template-columns: 1fr;
  }

  .product-card h3 {
    font-size: 20px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
