:root {
  --ink: #151716;
  --muted: #626864;
  --line: #dcded9;
  --paper: #f8f8f5;
  --white: #ffffff;
  --graphite: #242625;
  --teal: #0c6b5b;
  --teal-dark: #07483e;
  --amber: #d88a1d;
  --blue: #345995;
  --danger: #a43b35;
  --shadow: 0 18px 48px rgba(21, 23, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  min-height: 72px;
  height: 72px;
  max-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(220, 222, 217, 0.85);
  background: rgba(248, 248, 245, 0.94);
  backdrop-filter: blur(16px);
}

.brand,
.header-actions,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  flex: 0 0 92px !important;
  width: 92px !important;
  min-width: 92px !important;
  max-width: 92px !important;
  min-height: 38px;
  height: 38px;
  max-height: 38px;
  overflow: hidden;
  gap: 0;
  font-weight: 800;
  line-height: 0;
}

.brand-logo-frame {
  display: block !important;
  flex: 0 0 92px !important;
  width: 92px !important;
  min-width: 92px !important;
  max-width: 92px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  overflow: hidden !important;
  contain: size layout paint;
}

.brand-logo {
  display: block !important;
  flex: none !important;
  width: 92px !important;
  min-width: 92px !important;
  max-width: 92px !important;
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  object-fit: contain;
  transform: translateY(-6px);
  mix-blend-mode: multiply;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--graphite);
  font-size: 0.8rem;
  letter-spacing: 0;
}

.brand-text {
  white-space: nowrap;
}

.nav {
  gap: clamp(12px, 1.4vw, 20px);
  color: var(--muted);
  font-size: 0.9rem;
}

.nav a:hover,
.nav a.active {
  color: var(--teal);
}

.nav a.active {
  font-weight: 800;
}

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.language-switcher select {
  min-height: 30px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.translate-plugin-host {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

body > .skiptranslate,
.goog-te-banner-frame,
.goog-te-menu-frame,
.goog-logo-link,
.goog-te-gadget span {
  display: none !important;
}

body {
  top: 0 !important;
}

.header-actions {
  gap: 12px;
}

.admin-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-weight: 800;
}

.cart-button,
.menu-button,
.button {
  border: 0;
  cursor: pointer;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.cart-count {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  min-height: calc(88vh - 72px);
  align-items: center;
  gap: 36px;
  padding: 42px clamp(22px, 5vw, 72px) 28px;
  background: var(--white);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

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

.button.secondary {
  border: 1px solid var(--line);
  background: var(--white);
}

.button.ghost {
  border: 1px solid var(--line);
  background: transparent;
}

.button.full {
  width: 100%;
}

.hero-stats {
  margin: 24px 0 0;
}

.hero-stats div {
  min-width: 128px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.hero-stats dt {
  margin: 0;
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-media {
  display: grid;
  gap: 22px;
}

.context-visual {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef3ef;
  box-shadow: var(--shadow);
}

.context-visual img {
  width: 100%;
  aspect-ratio: 1.78;
  object-fit: cover;
}

.network-visual {
  position: relative;
  min-height: 340px;
  background: #111514;
}

.network-visual img {
  height: 100%;
  min-height: 340px;
  filter: saturate(1.12) contrast(1.04);
}

.network-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(12, 107, 91, 0.2), transparent 48%),
    linear-gradient(0deg, rgba(21, 23, 22, 0.42), transparent 45%);
  pointer-events: none;
}

.network-visual figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  padding: 6px 9px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(21, 23, 22, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
}

.network-visual figcaption a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-product-image {
  width: 100%;
  height: min(calc(42vh + 100px), 530px);
  border-radius: 8px;
  background: #eceeeb;
  box-shadow: var(--shadow);
  object-fit: contain;
  object-position: center;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--graphite);
  color: var(--white);
}

.trust-strip span {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  font-weight: 700;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 36px;
  padding: 64px clamp(20px, 5vw, 72px);
}

.gallery-main,
.purchase-panel,
.feature-card,
.market-card,
.video-frame,
.quote-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.gallery-main {
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.thumb {
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.thumb.active {
  border-color: var(--teal);
}

.thumb img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.purchase-panel {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(21, 23, 22, 0.08);
}

.purchase-panel h2 {
  font-size: 2rem;
  line-height: 1.05;
}

.price {
  margin: 18px 0 4px;
  font-size: 2.2rem;
  font-weight: 900;
}

.price small {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.rating,
.purchase-notes,
.muted-copy,
.market-card p,
.feature-card p,
.section-heading p,
.demo-copy p,
.quote-section p,
.faq-list p,
.spec-list dd,
.tab-panel p,
.tab-panel li,
.drawer-note {
  color: var(--muted);
}

.rating {
  margin: 0 0 24px;
}

.option-group,
.color-row,
.quantity-row {
  margin-top: 22px;
}

.option-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
}

.option-card + .option-card {
  margin-top: 10px;
}

.option-card.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.option-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.option-card strong,
.option-card small {
  display: block;
}

.option-card small {
  color: var(--muted);
}

.color-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.color-row .option-title {
  width: 100%;
}

.swatch-list {
  display: inline-flex;
  gap: 10px;
}

.swatch {
  width: 34px;
  height: 34px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f2020 0 50%, #f2f2ed 50% 100%);
  cursor: pointer;
}

.swatch.dark {
  background: linear-gradient(135deg, #1f2020 0 50%, #101111 50% 100%);
}

.swatch.active {
  border-color: var(--teal);
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.stepper {
  display: grid;
  grid-template-columns: 42px 60px 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.stepper button {
  border: 0;
  background: var(--paper);
  cursor: pointer;
  font-weight: 900;
}

.stepper input {
  width: 100%;
  min-height: 42px;
  border: 0;
  text-align: center;
}

.purchase-panel .button {
  margin-top: 18px;
}

.purchase-notes {
  padding-left: 18px;
  margin: 18px 0 0;
  font-size: 0.92rem;
}

.feature-band,
.applications-section,
.content-feed-section,
.news-detail,
.page-directory,
.comparison-section,
.faq-section {
  padding: 76px clamp(20px, 5vw, 72px);
}

.feature-band {
  background: var(--graphite);
  color: var(--white);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 760px;
}

.section-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  gap: 38px;
  align-items: start;
  margin-bottom: 34px;
}

.section-intro-grid .section-heading {
  margin-bottom: 0;
}

.section-intro-grid .page-context {
  align-self: stretch;
}

.feature-intro {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.72fr);
}

.feature-intro .section-heading {
  max-width: none;
}

.section-heading p {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.feature-band .section-heading p,
.feature-band .feature-card p {
  color: rgba(255, 255, 255, 0.72);
}

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

.feature-card {
  min-height: 240px;
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.feature-number {
  color: var(--amber);
  font-weight: 900;
}

.feature-card h3 {
  margin-top: 42px;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 34px;
  align-items: center;
  padding: 76px clamp(20px, 5vw, 72px);
  background: var(--white);
}

.demo-copy {
  max-width: 520px;
}

.video-frame {
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow);
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tab {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.tab.active {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
}

.tab-panel {
  display: none;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 28px;
  align-items: center;
}

.tab-panel.active {
  display: grid;
}

.tab-panel img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.tab-panel h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.tab-panel ul {
  padding-left: 20px;
}

.market-section {
  padding: 76px clamp(20px, 5vw, 72px);
  background: #edf2f0;
}

.content-feed-section {
  background: #f5f7f3;
}

.content-feed-section.blog-feed {
  background: var(--white);
}

.feed-heading {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.feed-heading > div {
  max-width: 900px;
}

.feed-heading .button {
  flex: 0 0 auto;
}

.curated-heading {
  margin-top: 28px;
}

.curated-articles {
  margin-bottom: 36px;
}

.article-meta {
  padding: 12px;
  border: 1px solid rgba(12, 107, 91, 0.16);
  border-radius: 8px;
  background: rgba(12, 107, 91, 0.05);
  font-size: 0.86rem;
}

.article-meta strong {
  color: var(--ink);
}

.feed-status {
  min-height: 24px;
  margin: -14px 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.feed-status.error {
  color: var(--danger);
}

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

.feed-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feed-card-image {
  overflow: hidden;
  margin: -22px -22px 4px;
  border-bottom: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  background: #e9eeea;
}

.feed-card-image img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
}

.blog-feed .feed-card {
  background: #f8f8f5;
}

.feed-card span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feed-card h3 {
  font-size: 1.15rem;
}

.feed-card p {
  margin: 0;
  color: var(--muted);
}

.feed-link {
  margin-top: auto;
  color: var(--teal);
  font-weight: 900;
}

.loading-card,
.empty-card {
  border-style: dashed;
}

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

.market-card {
  padding: 22px;
}

.market-price {
  display: inline-flex;
  margin: 16px 0 8px;
  padding: 5px 9px;
  border-radius: 6px;
  background: #e5efe9;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 900;
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.comparison-table [role="row"] {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1.1fr;
  border-top: 1px solid var(--line);
}

.comparison-table [role="row"]:first-child {
  border-top: 0;
}

.comparison-table span {
  padding: 18px;
  border-left: 1px solid var(--line);
}

.comparison-table span:first-child {
  border-left: 0;
  font-weight: 800;
}

.comparison-table .table-head {
  color: var(--white);
  background: var(--graphite);
  font-weight: 900;
}

.spec-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 40px;
  align-items: center;
  padding: 76px clamp(20px, 5vw, 72px);
  background: var(--white);
}

.spec-media img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.spec-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.spec-list dt {
  font-weight: 900;
}

.spec-list dd {
  margin: 0;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: start;
  padding: 76px clamp(20px, 5vw, 72px);
  background: #f1f0ea;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 22px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.quote-form input,
.quote-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--white);
}

.quote-form .button,
.form-status {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

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

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  justify-content: flex-end;
  background: rgba(21, 23, 22, 0.38);
}

.cart-drawer.open {
  display: flex;
}

.drawer-panel {
  width: min(440px, 100%);
  min-height: 100%;
  padding: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.drawer-head,
.drawer-item,
.drawer-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.drawer-head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  font-size: 1.6rem;
}

.drawer-head button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-size: 1.4rem;
}

.drawer-items {
  display: grid;
  gap: 12px;
  min-height: 180px;
  padding: 18px 0;
}

.drawer-item {
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.drawer-item strong,
.drawer-item small {
  display: block;
}

.drawer-item small {
  color: var(--muted);
}

.drawer-item button {
  border: 0;
  background: transparent;
  color: var(--danger);
  cursor: pointer;
  font-weight: 900;
}

.drawer-total {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 1.2rem;
}

.drawer-note {
  font-size: 0.9rem;
  text-align: center;
}

.checkout-form {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.checkout-form input,
.checkout-form select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  background: var(--white);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  max-width: min(360px, calc(100vw - 40px));
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--graphite);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .nav {
    position: fixed;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 13px;
  }

  .menu-button {
    display: block;
  }

  .hero-section,
  .product-section,
  .section-intro-grid,
  .demo-section,
  .spec-section,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-product-image {
    height: auto;
    aspect-ratio: auto;
  }

  .context-visual img {
    height: auto;
    aspect-ratio: 1.32;
  }

  .purchase-panel {
    position: static;
  }

  .feature-grid,
  .feed-grid,
  .market-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feed-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.admin-body {
  background: #f2f3ef;
  overflow-x: hidden;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(240px, 2fr) minmax(0, 8fr);
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--white);
}

.admin-brand {
  margin-bottom: 4px;
}

.admin-tabs {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 8px;
  overflow-y: auto;
  padding-right: 4px;
}

.admin-tab {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 850;
  text-align: left;
}

.admin-tab.active,
.admin-tab:hover {
  border-color: var(--line);
  background: var(--paper);
  color: var(--teal);
}

.admin-tab.child {
  min-height: 38px;
  margin-left: 12px;
  padding-left: 18px;
  font-size: 0.92rem;
}

.admin-menu-group {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.admin-menu-label,
.admin-menu-empty {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-main {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  padding: clamp(24px, 2.5vw, 40px);
}

.admin-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-topbar h1 {
  max-width: none;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.admin-status {
  min-height: 28px;
  margin: 0 0 14px;
  color: var(--teal);
  font-weight: 900;
}

.admin-session {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.admin-session span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-weight: 850;
}

.admin-panel {
  display: none;
  min-width: 0;
}

.admin-panel.active {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.metric-card,
.admin-card,
.admin-note {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.metric-card {
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 20px;
}

.metric-card strong {
  font-size: 2rem;
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  font-weight: 800;
}

.admin-card,
.admin-note {
  padding: 22px;
}

.content-manager {
  display: grid;
  gap: 16px;
}

.content-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.content-toolbar input {
  width: min(520px, 100%);
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--white);
}

.content-toolbar span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
  white-space: nowrap;
}

.article-table {
  min-width: 1180px;
}

.article-thumb {
  width: 104px;
  aspect-ratio: 1.45;
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
  background: var(--paper);
}

.article-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 5px;
  padding: 0 9px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
}

.article-status.published {
  background: #0b806c;
}

.article-status.draft {
  background: #7a8792;
}

.admin-card h2,
.admin-note h2 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.admin-card h3 {
  margin: 20px 0 12px;
}

.admin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-card-head h2 {
  margin-bottom: 6px;
}

.menu-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.menu-toolbar-main,
.menu-toolbar-side,
.menu-row-actions,
.modal-window-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu-tool,
.mini-button,
.menu-icon-button {
  min-height: 30px;
  border: 0;
  border-radius: 4px;
  padding: 0 10px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
}

.menu-tool.blue,
.mini-button.blue {
  background: #1688c9;
}

.menu-tool.green,
.mini-button.green {
  background: #12b394;
}

.menu-tool.cyan {
  background: #18bfd0;
}

.menu-tool.light {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.mini-button.red {
  background: #f45a6a;
}

.menu-icon-button {
  min-width: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.menu-search-row {
  margin-bottom: 12px;
}

.menu-search-row input,
.menu-editor-form input,
.menu-editor-form select {
  width: 100%;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 10px;
  background: var(--white);
}

.admin-help,
.admin-note p {
  color: var(--muted);
}

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

.admin-form h2,
.admin-form .wide,
.admin-form button {
  grid-column: 1 / -1;
}

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

.compact-form h2 {
  grid-column: 1 / -1;
}

.compact-form button {
  grid-column: auto;
}

.admin-form label,
.admin-card label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
}

.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-table input,
.admin-table select,
.admin-card input[type="file"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--white);
}

.admin-card input[type="file"] {
  padding: 10px;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.admin-table td small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.menu-table-wrap {
  border: 1px solid var(--line);
}

.menu-tree-table {
  min-width: 1120px;
}

.menu-tree-table th {
  background: #edf3f8;
  color: #526271;
  font-size: 0.86rem;
  text-transform: none;
}

.menu-tree-table th:first-child,
.menu-tree-table td:first-child {
  width: 44px;
  text-align: center;
}

.menu-tree-row.selected {
  background: #f7fbff;
}

.menu-name-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: calc(12px + var(--level) * 22px) !important;
}

.tree-expander {
  width: 16px;
  height: 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.tree-expander::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 5px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid #526271;
  transform: rotate(90deg);
}

.tree-expander.collapsed::before {
  transform: rotate(0deg);
}

.tree-spacer {
  width: 16px;
  height: 16px;
}

.menu-node-icon {
  width: 14px;
  height: 14px;
  position: relative;
  flex: 0 0 14px;
}

.menu-node-icon.directory::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 4px;
  width: 12px;
  height: 8px;
  border-radius: 2px;
  background: #5a6570;
}

.menu-node-icon.directory::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 6px;
  height: 4px;
  border-radius: 2px 2px 0 0;
  background: #5a6570;
}

.menu-node-icon.leaf::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5a6570;
}

.menu-sort-input {
  width: 60px !important;
  min-height: 32px !important;
  text-align: center;
}

.menu-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 5px;
  padding: 0 8px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
}

.menu-badge.green {
  background: #10b394;
}

.menu-badge.blue {
  background: #1688c9;
}

.menu-badge.gray {
  background: #8492a0;
}

.editable-table input[type="checkbox"] {
  width: 20px;
  min-height: 20px;
  accent-color: var(--teal);
}

.check-list {
  display: grid;
  gap: 7px;
}

.check-list.compact {
  min-width: 190px;
  max-height: 220px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.check-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 750;
}

.check-list input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  min-height: 18px;
  accent-color: var(--teal);
}

.relation-table {
  min-width: 1320px;
}

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

.relation-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.relation-card h3 {
  margin: 0;
}

.relation-card p {
  margin: 0;
  color: var(--muted);
}

.permission-group {
  display: grid;
  gap: 8px;
}

.permission-group strong {
  color: var(--teal);
  font-size: 0.88rem;
}

.table-link {
  min-height: 36px;
  padding: 0 12px;
}

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

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.36);
}

.admin-modal-panel {
  width: min(800px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  border: 1px solid #cfd6dc;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.article-modal-panel {
  width: min(980px, calc(100vw - 32px));
}

.article-editor-form {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 16px;
  padding: 26px 32px;
  overflow-y: auto;
}

.article-editor-form .article-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
}

.article-editor-form .article-field-wide,
.article-editor-form datalist {
  grid-column: 1 / -1;
}

.article-editor-form input,
.article-editor-form select,
.article-editor-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 11px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.article-editor-form textarea {
  resize: vertical;
  line-height: 1.55;
}

.admin-modal-panel form {
  min-height: min(700px, calc(100vh - 44px));
  display: flex;
  flex-direction: column;
}

.admin-modal-head {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #f7f7f7;
}

.admin-modal-head h2 {
  font-size: 0.95rem;
}

.modal-window-actions button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
}

.menu-editor-form {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 30px 98px 24px;
  overflow-y: auto;
}

.menu-form-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.menu-form-row > label:first-child {
  justify-self: end;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.menu-form-row.required > label:first-child::before {
  content: "* ";
  color: #e5484d;
}

.menu-form-row small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.menu-parent-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
}

.menu-parent-picker select {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.menu-parent-picker button {
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 4px 4px 0;
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
}

.radio-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.radio-line label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.radio-line input {
  width: 18px;
  min-height: 18px;
  accent-color: #1688c9;
}

.menu-form-row.split {
  grid-template-columns: 112px minmax(0, 1fr) 112px minmax(0, 1fr);
}

.admin-modal-actions {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 10px 22px;
  border-top: 1px solid #cfd6dc;
  background: #eef3f8;
}

.login-body {
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(12, 107, 91, 0.14), transparent 36%), var(--paper);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-panel {
  width: min(460px, 100%);
  display: grid;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.login-panel h1 {
  max-width: none;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
}

.login-copy {
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 16px;
}

.login-form label {
  display: grid;
  gap: 8px;
  font-weight: 850;
}

.login-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--white);
}

@media (max-width: 980px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    overflow: visible;
  }

  .admin-tabs {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .admin-tabs,
  .admin-metrics,
  .admin-form,
  .compact-form,
  .relation-grid {
    grid-template-columns: 1fr;
  }

  .admin-card-head {
    display: grid;
  }

  .content-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .article-editor-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .menu-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .menu-toolbar-main,
  .menu-toolbar-side {
    flex-wrap: wrap;
  }

  .menu-editor-form {
    padding: 24px;
  }

  .menu-form-row,
  .menu-form-row.split {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .menu-form-row > label:first-child {
    justify-self: start;
  }

  .compact-form button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 0 16px;
  }

  .brand-text {
    max-width: 140px;
    white-space: normal;
    line-height: 1.05;
  }

  .cart-button {
    padding: 0 10px;
  }

  .language-switcher {
    padding: 0 7px;
  }

  .language-switcher > span:first-child {
    display: none;
  }

  .language-switcher select {
    max-width: 108px;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.35rem, 11vw, 2.9rem);
  }

  h2 {
    font-size: clamp(1.9rem, 12vw, 3rem);
  }

  .hero-section,
  .product-section,
  .feature-band,
  .demo-section,
  .applications-section,
  .content-feed-section,
  .news-detail,
  .page-directory,
  .market-section,
  .comparison-section,
  .spec-section,
  .quote-section,
  .faq-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-section {
    gap: 20px;
    padding-top: 24px;
  }

  .hero-media {
    order: -1;
  }

  .hero-product-image {
    aspect-ratio: auto;
    object-fit: contain;
  }

  .context-visual img {
    aspect-ratio: 1.55;
  }

  .context-visual img {
    object-fit: cover;
  }

  .gallery-thumbs,
  .feature-grid,
  .feed-grid,
  .market-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

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

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-table [role="row"] {
    min-width: 720px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.page-title {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.news-feed {
  background: var(--white);
}

.news-card {
  min-height: 430px;
}

.news-card h3 a:hover,
.news-detail .article-meta a:hover {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-detail {
  display: grid;
  gap: 24px;
  background: var(--white);
}

.news-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.82fr);
  gap: 38px;
  align-items: start;
}

.news-detail-hero .context-visual img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.news-detail-hero figcaption {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.news-detail-body {
  max-width: 900px;
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.news-detail-body p {
  margin: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(12, 107, 91, 0.18);
  border-radius: 6px;
  background: rgba(12, 107, 91, 0.07);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.back-link {
  justify-self: start;
}

.source-button {
  justify-self: start;
}

@media (max-width: 1020px) {
  .news-detail-hero {
    grid-template-columns: 1fr;
  }

  .page-title {
    max-width: 16ch;
  }
}

@media (max-width: 680px) {
  .page-title {
    max-width: none;
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .news-card {
    min-height: auto;
  }
}


.latest-content-banner {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.latest-banner-title {
  max-width: 16ch;
  font-size: clamp(2.2rem, 4.4vw, 4.3rem);
}

.latest-banner-title a {
  color: inherit;
  text-decoration: none;
}

.latest-banner-title a:hover {
  color: var(--teal);
}

.latest-content-summary {
  max-width: 720px;
  font-size: 1.08rem;
}

.latest-content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
}

.latest-content-link {
  margin-top: 22px;
}

.latest-content-image {
  align-self: stretch;
}

.latest-content-image img {
  height: 100%;
  min-height: 380px;
  aspect-ratio: 1.38;
  object-fit: cover;
}

.latest-content-image figcaption {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

@media (max-width: 1020px) {
  .latest-content-image img {
    height: auto;
    min-height: 0;
  }
}


.site-footer {
  padding: 48px clamp(20px, 5vw, 72px) 24px;
  color: #f7f8f5;
  background: #171a19;
}

.site-footer-main,
.site-footer-bottom {
  width: 100%;
  max-width: 1600px;
  margin-right: auto;
  margin-left: auto;
}

.site-footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(300px, 0.9fr) minmax(180px, 0.55fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.footer-brand-link,
.footer-logo-frame {
  display: block;
  width: 92px;
  height: 38px;
  overflow: hidden;
}

.footer-logo {
  display: block;
  width: 92px;
  min-width: 92px;
  max-width: 92px;
  height: 50px;
  min-height: 50px;
  max-height: 50px;
  object-fit: contain;
  transform: translateY(-6px);
  filter: invert(1);
  mix-blend-mode: screen;
}

.footer-brand p {
  max-width: 430px;
  margin: 18px 0 0;
  color: rgba(247, 248, 245, 0.68);
}

.footer-label {
  margin: 0 0 16px;
  color: #e4a13e;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 10px 24px;
}

.footer-nav a,
.site-footer-bottom a {
  color: rgba(247, 248, 245, 0.76);
}

.footer-nav a:hover,
.footer-nav a.active,
.site-footer-bottom a:hover {
  color: #ffffff;
}

.footer-nav a.active {
  font-weight: 800;
}

.footer-focus p:not(.footer-label) {
  margin: 0 0 8px;
  color: rgba(247, 248, 245, 0.68);
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(247, 248, 245, 0.56);
  font-size: 0.84rem;
}

.site-footer-bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 36px 16px 20px;
  }

  .site-footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

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

  .site-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* R9 Google Ads landing page */
.header-contact-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

.header-contact-link:hover {
  background: var(--teal-dark);
}

.ad-hero {
  min-height: calc(100svh - 148px);
}

.ad-hero .hero-copy {
  max-width: 760px;
}

.ad-hero h1 {
  max-width: 14ch;
}

.hero-contact-line {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-contact-line a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.hero-proof-strip span {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-proof-strip span:first-child {
  border-left: 0;
}

.landing-spec-section {
  align-items: start;
  background: var(--white);
}

.landing-spec-section .spec-copy > p:not(.eyebrow):not(.spec-note) {
  color: var(--muted);
}

.spec-download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.spec-note,
.spec-source,
.form-privacy {
  color: var(--muted);
  font-size: 0.84rem;
}

.compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.landing-use-section,
.technical-specs-section {
  padding: 76px clamp(20px, 5vw, 72px);
}

.landing-use-section {
  background: #eef2ef;
}

.landing-benefits .feature-card {
  min-height: 230px;
  color: var(--ink);
  background: var(--white);
}

.landing-benefits .feature-card h3 {
  margin-top: 34px;
}

.landing-benefits .feature-card p {
  color: var(--muted);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 42px;
  align-items: center;
  padding: 64px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: #124f45;
}

.contact-band h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.contact-band > div > p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-band .eyebrow {
  color: #f1b45b;
}

.contact-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.contact-option,
.direct-contact-list a {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-option span,
.direct-contact-list span,
.footer-contact span {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-option strong,
.direct-contact-list strong,
.footer-contact strong {
  overflow-wrap: anywhere;
  font-size: 0.96rem;
}

.technical-specs-section {
  background: var(--white);
}

.specs-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.spec-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th:last-child,
.spec-table td:last-child {
  border-right: 0;
}

.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  color: var(--white);
  background: var(--graphite);
  font-size: 0.84rem;
}

.spec-table td:first-child {
  width: 170px;
  color: var(--teal-dark);
  background: #eef3ef;
  font-weight: 900;
}

.spec-table td:nth-child(2) {
  width: 260px;
  font-weight: 800;
}

.spec-source {
  margin: 14px 0 0;
}

.quote-contact-copy h2,
.quote-contact-copy .page-title {
  max-width: 13ch;
}

.direct-contact-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.direct-contact-list a {
  border-color: var(--line);
  background: var(--white);
}

.direct-contact-list a:hover {
  border-color: var(--teal);
}

.spec-download-link {
  display: inline-block;
  margin-top: 20px;
}

.form-privacy {
  grid-column: 1 / -1;
  margin: -8px 0 0;
}

.contact-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: grid;
  width: min(300px, calc(100vw - 36px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: var(--graphite);
  box-shadow: 0 16px 38px rgba(21, 23, 22, 0.24);
}

.contact-dock-link {
  display: grid;
  min-height: 58px;
  align-content: center;
  gap: 2px;
  padding: 10px 14px;
  color: var(--white);
}

.contact-dock-link + .contact-dock-link {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-dock-link.whatsapp {
  background: var(--teal);
}

.contact-dock-link span {
  font-size: 0.76rem;
  font-weight: 900;
}

.contact-dock-link strong {
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
}

.public-site .toast {
  bottom: 160px;
}

.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-contact a {
  display: grid;
  gap: 2px;
  color: rgba(247, 248, 245, 0.76);
}

.footer-contact a:hover {
  color: var(--white);
}

@media (max-width: 1020px) {
  .contact-band {
    grid-template-columns: 1fr;
  }

  .specs-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .header-contact-link {
    display: none;
  }

  .ad-hero h1 {
    max-width: 12ch;
  }

  .hero-proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-proof-strip span:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-proof-strip span:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .landing-use-section,
  .technical-specs-section,
  .contact-band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .spec-download-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .compact-actions .button {
    width: 100%;
  }

  .contact-dock {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
  }

  .contact-dock-link + .contact-dock-link {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }

  .contact-dock-link strong {
    display: none;
  }

  .public-site {
    padding-bottom: 58px;
  }

  .public-site .toast {
    bottom: 72px;
  }
}


/* R9 visible lead form */
.lead-capture-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(440px, 1.18fr);
  gap: 42px;
  align-items: start;
  scroll-margin-top: 82px;
  padding: 68px clamp(20px, 5vw, 72px);
  background: #edf2f0;
}

.lead-capture-copy {
  max-width: 650px;
}

.lead-capture-copy h2 {
  max-width: 13ch;
}

.lead-capture-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.lead-checklist {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.lead-checklist li {
  position: relative;
  padding-left: 24px;
  font-weight: 750;
}

.lead-checklist li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 10px;
  height: 10px;
  border: 3px solid var(--teal);
  border-radius: 50%;
}

.lead-direct a {
  color: var(--teal);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-lead-form {
  box-shadow: 0 12px 30px rgba(21, 23, 22, 0.08);
}

.quote-form textarea {
  width: 100%;
  min-height: 108px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--white);
  font: inherit;
}

.quote-form label.wide {
  grid-column: 1 / -1;
}

@media (max-width: 1020px) {
  .lead-capture-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .lead-capture-section {
    padding: 54px 16px;
  }

  .lead-capture-copy h2 {
    max-width: none;
  }
}


/* Google Ads compliance pages */
body[data-page="privacy"] .contact-dock,
body[data-page="support"] .contact-dock {
  display: none;
}

.form-privacy a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-hero,
.legal-content-section {
  padding: 76px clamp(20px, 5vw, 72px);
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: clamp(44px, 7vw, 112px);
  align-items: start;
  background: var(--white);
}

.legal-hero-copy {
  max-width: 820px;
}

.legal-hero-copy > p:not(.eyebrow),
.legal-identity p,
.legal-identity address {
  color: var(--muted);
}

.legal-effective {
  margin-top: 28px;
}

.legal-identity {
  padding: 6px 0 6px clamp(24px, 4vw, 56px);
  border-left: 3px solid var(--teal);
}

.legal-identity h2 {
  max-width: 22ch;
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
}

.legal-identity address {
  max-width: 42ch;
  margin: 18px 0;
  font-style: normal;
}

.legal-identity a,
.legal-copy a {
  color: var(--teal-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.legal-content-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
  background: #eef2ef;
}

.legal-toc {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 9px;
  align-self: start;
}

.legal-toc .eyebrow {
  margin-bottom: 10px;
}

.legal-toc a {
  padding: 7px 0;
  border-bottom: 1px solid rgba(21, 23, 22, 0.14);
  color: var(--muted);
  font-weight: 750;
}

.legal-toc a:hover {
  color: var(--teal-dark);
}

.legal-copy {
  max-width: 920px;
}

.legal-copy section {
  scroll-margin-top: 120px;
  margin-bottom: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(21, 23, 22, 0.14);
}

.legal-copy section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
}

.legal-copy h3 {
  margin: 24px 0 8px;
  font-size: 1.08rem;
}

.legal-copy p {
  max-width: 78ch;
  color: #505753;
}

.legal-copy code {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  font-size: 0.9em;
}

@media (max-width: 900px) {
  .legal-hero,
  .legal-content-section {
    grid-template-columns: 1fr;
  }

  .legal-identity {
    padding-left: 24px;
  }

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

  .legal-toc .eyebrow {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .legal-hero,
  .legal-content-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }
}


/* Uploaded EGO R9 wearer hero */
.hero-product-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: min(calc(42vh + 100px), 530px);
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #243336;
  box-shadow: var(--shadow);
}

.hero-product-frame::before {
  position: absolute;
  z-index: -2;
  inset: -28px;
  content: "";
  background: url("/assets/images/ego-r9-industrial-wearer.jpg") center 38% / cover no-repeat;
  filter: blur(18px);
  opacity: 0.58;
  transform: scale(1.08);
}

.hero-product-frame::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(15, 27, 30, 0.34);
}

.hero-product-frame .hero-product-image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1020px) {
  .hero-product-frame {
    height: clamp(500px, 68vh, 640px);
  }
}

@media (max-width: 680px) {
  .hero-product-frame {
    height: min(72vh, 560px);
    min-height: 440px;
  }
}


/* Responsive desktop-tablet and mobile hero sources */
.hero-product-frame {
  height: auto;
  aspect-ratio: 1439 / 654;
}

.hero-product-frame::before {
  background-image: url("/assets/images/ego-r9-wearer-triptych.jpg");
  background-position: center;
}

.hero-product-picture {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 1020px) {
  .hero-product-frame {
    height: auto;
    aspect-ratio: 1439 / 654;
  }
}

@media (max-width: 680px) {
  .hero-product-frame {
    height: min(72vh, 560px);
    min-height: 440px;
    aspect-ratio: auto;
  }

  .hero-product-frame::before {
    background-image: url("/assets/images/ego-r9-industrial-wearer.jpg");
    background-position: center 38%;
  }
}
