/* ==========================================================================
   GXT Electronics Technology Co.,Ltd — Design System
   Minimal · Confident · Engineering-grade
   ========================================================================== */

:root {
  /* Ink & surface */
  --ink-900: #0b0f14;
  --ink-800: #141a21;
  --ink-700: #232b35;
  --ink-500: #4b5563;
  --ink-400: #6b7684;
  --ink-300: #9aa4b1;
  --line: #e4e8ed;
  --line-soft: #eef1f4;
  --surface: #ffffff;
  --surface-alt: #f7f9fb;
  --surface-sunken: #f1f4f7;

  /* Brand accent — precision instrument copper */
  --accent: #b8712f;
  --accent-soft: #f4ebe2;
  --accent-ink: #8a5420;

  /* Signal teal — secondary accent for data / RF readouts */
  --signal: #0f7a72;
  --signal-soft: #e4f2f0;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  --shadow-xs: 0 1px 2px rgba(11, 15, 20, 0.05);
  --shadow-sm: 0 2px 8px rgba(11, 15, 20, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 15, 20, 0.09);
  --shadow-lg: 0 24px 60px rgba(11, 15, 20, 0.14);

  --maxw: 1200px;
  --gutter: 28px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------- reset -- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--ink-900);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.022em;
}

h1 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.7vw, 2.35rem); }
h3 { font-size: clamp(1.12rem, 0.98rem + 0.6vw, 1.4rem); }
h4 { font-size: 1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--accent-soft); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ------------------------------------------------------------ utilities -- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(64px, 8vw, 108px) 0; }
.section--tight { padding: clamp(48px, 6vw, 76px) 0; }
.section--alt { background: var(--surface-alt); }
.section--sunken { background: var(--surface-sunken); }
.section--dark {
  background: var(--ink-900);
  color: #b6c0cd;
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}
.section--dark .eyebrow { color: #d9a05e; }
.section--dark .eyebrow::before { background: #d9a05e; }

.lede {
  font-size: 1.06rem;
  color: var(--ink-500);
  max-width: 62ch;
}
.section--dark .lede { color: #98a4b3; }

.head-center { text-align: center; }
.head-center .lede { margin-inline: auto; }
.head-center .eyebrow::before { display: none; }
.head-center .eyebrow { justify-content: center; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }
.head-center { margin-inline: auto; }

.mono { font-family: var(--font-mono); }
.muted { color: var(--ink-400); }
.tiny { font-size: 0.82rem; }
.center { text-align: center; }

.hr {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* -------------------------------------------------------------- button -- */
.btn {
  --btn-bg: var(--ink-900);
  --btn-fg: #fff;
  --btn-bd: var(--ink-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  min-height: 46px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-xs); }
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
  box-shadow: none;
}

.btn--accent { --btn-bg: var(--accent); --btn-bd: var(--accent); --btn-fg: #fff; }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-900);
  --btn-bd: var(--line);
}
.btn--ghost:hover { --btn-bd: var(--ink-900); }
.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink-900);
  --btn-bd: #fff;
}
.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.28);
}
.btn--outline-light:hover { --btn-bd: #fff; }
.btn--sm { padding: 9px 18px; min-height: 38px; font-size: 0.85rem; }
.btn--block { width: 100%; }

.btn__arrow { transition: transform 0.22s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* -------------------------------------------------------------- header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.24s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand__mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name {
  font-size: 1rem;
  font-weight: 800;
  color: #0000FF;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.site-header .brand__mark {
  width: 40px;
  height: 40px;
}
.site-header .brand__name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.site-header .brand__sub {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  margin-top: 2px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
}
.nav__link {
  position: relative;
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-500);
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
}
.nav__link:hover { color: var(--ink-900); background: var(--surface-sunken); }
.nav__link.is-active { color: var(--ink-900); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.nav__actions { display: flex; align-items: center; gap: 10px; }

/* account chip */
.acct {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.acct:hover { border-color: var(--ink-300); box-shadow: var(--shadow-xs); }
.acct__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 700;
}
.acct__name {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-800);
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink-900);
  position: relative;
  transition: background 0.2s var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: var(--ink-900);
  transition: transform 0.24s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle.is-open span { background: transparent; }
.nav__toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------- hero ----- */
.hero {
  position: relative;
  padding: clamp(72px, 9vw, 118px) 0 clamp(64px, 8vw, 100px);
  background:
    radial-gradient(900px 420px at 88% -6%, rgba(184, 113, 47, 0.10), transparent 62%),
    radial-gradient(700px 380px at 4% 8%, rgba(15, 122, 114, 0.07), transparent 60%),
    var(--surface);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(11, 15, 20, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 15, 20, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 50% 30%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 78%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(40px, 6vw, 78px);
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent {
  color: var(--accent);
  background: linear-gradient(180deg, transparent 66%, var(--accent-soft) 66%);
}
.hero__lead { font-size: 1.1rem; color: var(--ink-500); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }

.hero__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 34px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.spec__val {
  font-family: var(--font-mono);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.spec__lab {
  font-size: 0.76rem;
  color: var(--ink-400);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

/* hero visual */
.hero__visual { position: relative; }
.hero__card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, var(--surface-alt));
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.hero__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.dot-row { display: flex; gap: 5px; }
.dot-row i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--line);
  display: block;
}
.dot-row i:first-child { background: #e3b2a0; }
.dot-row i:nth-child(2) { background: #ecd9a8; }
.dot-row i:nth-child(3) { background: #b5d9c0; }

.hero__chart { width: 100%; height: auto; display: block; }

.hero__rows { margin-top: 16px; display: grid; gap: 8px; }
.hero__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  font-size: 0.8rem;
}
.hero__row span:last-child {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-500);
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 100px;
  background: var(--signal-soft);
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* trust strip */
.trust {
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-alt);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}
.trust__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust__k {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-900);
}
.trust__l {
  font-size: 0.76rem;
  color: var(--ink-400);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* -------------------------------------------------------------- cards --- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease),
    border-color 0.24s var(--ease);
}
.card--link:hover {
  transform: translateY(-3px);
  border-color: var(--ink-300);
  box-shadow: var(--shadow-md);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-500); font-size: 0.94rem; }

.card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.card__icon--signal { background: var(--signal-soft); color: var(--signal); }

.card__idx {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-300);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.card__link {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-ink);
}
.card__link svg { transition: transform 0.22s var(--ease); }
.card:hover .card__link svg { transform: translateX(3px); }

/* product tile */
.prod {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease),
    border-color 0.24s var(--ease);
}
.prod:hover {
  transform: translateY(-3px);
  border-color: var(--ink-300);
  box-shadow: var(--shadow-md);
}
.prod__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.prod__cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 10px;
}
.prod__band {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-400);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

/* filter chips */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-500);
  transition: all 0.18s var(--ease);
}
.chip:hover { border-color: var(--ink-300); color: var(--ink-900); }
.chip.is-active {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #fff;
}

/* --------------------------------------------------------------- split -- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5.5vw, 76px);
  align-items: center;
}
.split--reverse > *:first-child { order: 2; }

.figure {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-alt);
  overflow: hidden;
}
.figure__art { display: block; width: 100%; height: auto; }

.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 0.95rem;
  color: var(--ink-700);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--signal-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f7a72' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 10px 10px no-repeat;
}

/* ------------------------------------------------------------ process --- */
.steps { counter-reset: s; display: grid; gap: 0; }
.step {
  counter-increment: s;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before {
  content: "0" counter(s);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  padding-top: 2px;
}
.step h3 { margin-bottom: 6px; font-size: 1.1rem; }
.step p { color: var(--ink-500); font-size: 0.94rem; margin: 0; }

/* -------------------------------------------------------------- stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { padding: 34px 26px; background: var(--ink-900); }
.stat__v {
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.3rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat__l {
  margin-top: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #7c8896;
}

/* --------------------------------------------------------------- form --- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field__label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-800);
  letter-spacing: 0.01em;
}
.field__label .req { color: var(--accent); }
.field__hint { font-size: 0.76rem; color: var(--ink-400); }

.input,
.select,
.textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink-900);
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
  appearance: none;
}
.input::placeholder,
.textarea::placeholder { color: var(--ink-300); }
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 113, 47, 0.13);
}
.textarea { min-height: 132px; resize: vertical; line-height: 1.65; }

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%236b7684' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.field--error .input,
.field--error .select,
.field--error .textarea { border-color: #c2452f; }
.field__err {
  font-size: 0.76rem;
  color: #c2452f;
  display: none;
}
.field--error .field__err { display: block; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* password field */
.pw { position: relative; }
.pw .input { padding-right: 46px; }
.pw__toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-400);
}
.pw__toggle:hover { background: var(--surface-sunken); color: var(--ink-800); }

/* checkbox */
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--ink-500); }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); flex-shrink: 0; }

/* dropzone */
.drop {
  display: grid;
  gap: 6px;
  padding: 26px 20px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.drop:hover, .drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.drop__icon { color: var(--ink-300); margin-inline: auto; }
.drop.is-over .drop__icon { color: var(--accent); }
.drop__t { font-size: 0.9rem; font-weight: 500; color: var(--ink-800); }
.drop__h { font-size: 0.78rem; color: var(--ink-400); }

.files { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.files li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  font-size: 0.85rem;
}
.files .f-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files .f-size { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-400); }
.files .f-x {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 0; border-radius: var(--radius-sm);
  background: transparent; color: var(--ink-400);
}
.files .f-x:hover { background: #fbeceb; color: #c2452f; }

/* -------------------------------------------------------------- notice -- */
.notice {
  display: none;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.55;
  border: 1px solid transparent;
}
.notice.is-on { display: flex; }
.notice--ok { background: var(--signal-soft); border-color: #bfe0dc; color: #0b5f58; }
.notice--err { background: #fbeceb; border-color: #f0cdc7; color: #a33a26; }
.notice--info { background: var(--surface-sunken); border-color: var(--line); color: var(--ink-600, var(--ink-500)); }
.notice svg { flex-shrink: 0; margin-top: 1px; }

/* ------------------------------------------------------- auth layout ---- */
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}
.auth__aside {
  position: relative;
  padding: clamp(40px, 5vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(700px 400px at 20% 100%, rgba(184, 113, 47, 0.22), transparent 60%),
    radial-gradient(600px 380px at 90% 0%, rgba(15, 122, 114, 0.24), transparent 62%),
    var(--ink-900);
  color: #a7b1be;
  overflow: hidden;
}
.auth__aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at 40% 50%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 40% 50%, #000, transparent 76%);
  pointer-events: none;
}
.auth__aside > * { position: relative; z-index: 1; }
.auth__aside h2 {
  color: #fff;
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem);
  max-width: 15ch;
}
.auth__aside p { max-width: 42ch; font-size: 0.96rem; }
.auth__list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 11px;
  font-size: 0.92rem;
}
.auth__list li { display: flex; align-items: center; gap: 10px; }
.auth__list svg { color: #d9a05e; flex-shrink: 0; }
.auth__foot {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7684;
}

.auth__main {
  display: grid;
  place-items: center;
  padding: clamp(36px, 5vw, 64px) var(--gutter);
}
.auth__box { width: 100%; max-width: 412px; }
.auth__title { margin-bottom: 6px; font-size: 1.75rem; }
.auth__sub { color: var(--ink-500); font-size: 0.94rem; margin-bottom: 28px; }

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 3px;
  margin-bottom: 26px;
  background: var(--surface-sunken);
  border-radius: var(--radius-sm);
}
.tab {
  padding: 9px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-500);
  transition: all 0.18s var(--ease);
}
.tab.is-active {
  background: var(--surface);
  color: var(--ink-900);
  box-shadow: var(--shadow-xs);
}

.auth__switch { margin-top: 22px; text-align: center; font-size: 0.88rem; color: var(--ink-500); }
.link {
  color: var(--accent-ink);
  font-weight: 500;
  border-bottom: 1px solid rgba(138, 84, 32, 0.32);
}
.link:hover { border-bottom-color: var(--accent-ink); }

.auth__back {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-size: 0.85rem;
}

/* ------------------------------------------------------------ account --- */
.acct-page { padding: clamp(48px, 6vw, 80px) 0; background: var(--surface-alt); min-height: 74vh; }
.acct-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}
.acct-head h1 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); margin-bottom: 6px; }
.acct-head p { color: var(--ink-500); font-size: 0.94rem; margin: 0; }

.acct-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-soft);
}
.panel__title { font-size: 0.98rem; font-weight: 600; color: var(--ink-900); margin: 0; }
.panel__body { padding: 22px; }

.profile-card { text-align: center; }
.profile-card__avatar {
  width: 74px;
  height: 74px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 1.5rem;
  font-weight: 700;
}
.profile-card__name { font-size: 1.1rem; font-weight: 600; color: var(--ink-900); margin-bottom: 3px; }
.profile-card__mail { font-size: 0.84rem; color: var(--ink-400); word-break: break-all; }

.kv { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 0; text-align: left; }
.kv li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 0.85rem;
}
.kv b { color: var(--ink-400); font-weight: 400; }
.kv span { color: var(--ink-800); font-weight: 500; text-align: right; word-break: break-all; }

.requests { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.request {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: var(--surface-alt);
}
.request__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.request__id { font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-400); }
.request__cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.request__msg { font-size: 0.9rem; color: var(--ink-500); margin: 0 0 10px; white-space: pre-wrap; }
.request__files { display: flex; flex-wrap: wrap; gap: 7px; }
.request__file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--ink-500);
}
.request__file b { font-weight: 500; color: var(--ink-700); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 500;
}
.badge--new { background: var(--signal-soft); color: var(--signal); }
.badge--rev { background: #fdf0dc; color: #8a5a12; }

.empty { text-align: center; padding: 48px 20px; color: var(--ink-400); }
.empty svg { color: var(--line); margin: 0 auto 14px; }
.empty p { font-size: 0.9rem; margin-bottom: 16px; }

/* ------------------------------------------------------------- contact -- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.info-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: 1px solid var(--line); }
.info-list__ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.info-list__lab {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 3px;
}
.info-list__val { font-size: 0.95rem; color: var(--ink-800); font-weight: 500; }
.info-list__val a:hover { color: var(--accent-ink); }
.info-list__note { font-size: 0.8rem; color: var(--ink-400); }

.branch {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.branch__card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.branch__city {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 9px;
}
.branch__card address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-500);
  line-height: 1.65;
}

/* --------------------------------------------------------------- faq ---- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-900);
  transition: color 0.18s var(--ease);
}
.faq__q:hover { color: var(--accent-ink); }
.faq__ico { flex-shrink: 0; color: var(--ink-300); transition: transform 0.26s var(--ease), color 0.18s var(--ease); }
.faq__q[aria-expanded="true"] .faq__ico { transform: rotate(45deg); color: var(--accent); }
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s var(--ease);
}
.faq__a-inner { padding: 0 0 22px; color: var(--ink-500); font-size: 0.94rem; max-width: 76ch; }
/* Native <details> FAQ used on dynamically rendered product pages */
details.faq__item > summary.faq__q { cursor: pointer; list-style: none; }
details.faq__item > summary.faq__q::-webkit-details-marker { display: none; }
details.faq__item[open] > .faq__a { max-height: none; }
details.faq__item .faq__a p { padding: 0 0 22px; color: var(--ink-500); font-size: 0.94rem; max-width: 76ch; }

/* ----------------------------------------------------------------- cta -- */
.cta {
  position: relative;
  padding: clamp(52px, 6.5vw, 86px) 0;
  background: var(--ink-900);
  color: #b6c0cd;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(620px 340px at 88% 50%, rgba(184, 113, 47, 0.2), transparent 62%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta h2 { color: #fff; margin-bottom: 8px; max-width: 20ch; }
.cta p { margin: 0; max-width: 48ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* -------------------------------------------------------------- footer -- */
.site-footer {
  padding: clamp(48px, 6vw, 72px) 0 28px;
  background: var(--ink-900);
  color: #8d98a5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__brand .brand__name { color: #0000FF; }
.footer__brand .brand__sub { color: #6b7684; }
.footer__blurb { margin-top: 16px; font-size: 0.89rem; max-width: 34ch; }
.footer__col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col a { font-size: 0.89rem; transition: color 0.16s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  font-size: 0.8rem;
  color: #6b7684;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }

.badge-iso {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #a7b1be;
}

/* --------------------------------------------------------------- toast -- */
.toasts {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: grid;
  gap: 10px;
  max-width: min(360px, calc(100vw - 40px));
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: var(--ink-900);
  color: #dde3ea;
  font-size: 0.87rem;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.28s var(--ease);
}
.toast--ok { border-left: 3px solid var(--signal); }
.toast--err { border-left: 3px solid #d0573f; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------- product catalogue -- */
.psection + .psection { margin-top: clamp(52px, 6vw, 80px); }

.pcard__side-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  margin-bottom: 34px;
  border-bottom: 2px solid var(--ink-900);
}
.pcard__side-title { margin: 0 0 6px; font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.9rem); }
.pcard__side-note { margin: 0; max-width: 56ch; font-size: 0.92rem; color: var(--ink-500); }

.pcard__range {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink-900);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.pcard__range-l {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8d98a5;
}
.psection--passive .pcard__range { background: var(--accent); }
.psection--passive .pcard__range-l { color: rgba(255, 255, 255, 0.75); }
.psection--active .pcard__range { background: var(--signal); }

.pgroup { margin-bottom: 38px; }
.pgroup__title {
  margin: 0 0 14px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-400);
}

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

/* product card: metrics -> datasheet -> RFQ */
.pcard {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.pcard:hover { border-color: var(--ink-300); box-shadow: var(--shadow-sm); }

.pcard__top { margin-bottom: 14px; }
.pcard__top h4 { margin: 0 0 4px; font-size: 1rem; font-weight: 600; color: var(--ink-900); }
.pcard__tech {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--accent-ink);
}

.pcard__metrics {
  display: grid;
  gap: 7px;
  padding: 12px 0 14px;
  margin-bottom: 14px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.pcard__m { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pcard__mv {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.pcard__ml {
  font-size: 0.72rem;
  color: var(--ink-400);
  text-align: right;
  white-space: nowrap;
}

.pcard__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}
.pcard__actions .btn { flex: 1; padding-inline: 10px; font-size: 0.8rem; }

/* --------------------------------------------------- category card wall -- */
.catband { margin-bottom: clamp(44px, 5vw, 64px); }
.catband__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--ink-900);
}
.catband__head h2 { margin: 0; font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem); }
.catband__range {
  font-family: var(--font-mono);
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-900);
}

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

.cat {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.cat:hover {
  transform: translateY(-3px);
  border-color: var(--ink-300);
  box-shadow: var(--shadow-md);
}
.cat:hover .cat__img img { transform: scale(1.03); }

.cat__img { position: relative; background: var(--surface-alt); overflow: hidden; }
.cat__img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s var(--ease);
}
.cat__side {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.cat.is-active .cat__side { background: var(--signal-soft); color: var(--signal); }

/* Downloadable-document count badge on the product card */
.cat__docs {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 100px;
  background: var(--ink-900);
  color: #dfe6ec;
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
}

.cat__docs svg { opacity: .85; }

.cat__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.cat__name { margin: 0 0 5px; font-size: 1.06rem; font-weight: 600; }
.cat__tech {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ink-400);
  margin-bottom: 14px;
}
.cat__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.cat__range {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-900);
}
.cat__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--accent-ink);
}
.cat__go svg { transition: transform .22s var(--ease); }
.cat:hover .cat__go svg { transform: translateX(3px); }

/* ------------------------------------------------------- breadcrumb ------ */
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-size: .84rem;
  color: var(--ink-400);
}
.crumbs a { transition: color .16s var(--ease); }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs svg { color: var(--ink-300); }
.crumbs span { color: var(--ink-800); font-weight: 500; }

.crumbback {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .84rem;
  border-bottom: 0;
  white-space: nowrap;
}

/* ------------------------------------------------------ product detail ---- */
.pdetail {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.pdetail--compact { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); }

.pdetail__img {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-alt);
  overflow: hidden;
}
.pdetail__img img { width: 100%; height: auto; display: block; }

.pdetail__head h1 { margin-bottom: 12px; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); }
.pdetail__head .lede { margin-top: 14px; }

.pdetail__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.tag--range { background: var(--ink-900); color: #fff; font-size: .74rem; padding: 4px 12px; }
.tag--tech {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-500);
  font-size: .68rem;
  font-weight: 500;
  padding: 4px 11px;
}

.pdetail__switch {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.pdetail__switch .btn { flex: 1; min-width: 220px; }
.pdetail__cta-standard { --btn-bg: var(--ink-800); --btn-bd: var(--ink-800); }
.pdetail__cta-standard:hover { --btn-bg: var(--ink-700); --btn-bd: var(--ink-700); }
.btn--lg { min-height: 52px; padding: 14px 26px; font-size: .95rem; }

/* standard table */
.tablewrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.ptable {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
  white-space: nowrap;
}
.ptable thead th {
  position: sticky;
  top: 0;
  padding: 13px 15px;
  background: var(--ink-900);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
  line-height: 1.3;
  vertical-align: bottom;
}
.ptable tbody tr { border-top: 1px solid var(--line-soft); }
.ptable tbody tr:nth-child(even) { background: var(--surface-alt); }
.ptable tbody th,
.ptable tbody td {
  padding: 12px 15px;
  text-align: center;
  font-weight: 400;
  color: var(--ink-500);
}
.ptable tbody th { text-align: left; color: var(--ink-900); font-weight: 600; font-family: var(--font-mono); font-size: .82rem; }
.ptable tbody tr:hover { background: var(--accent-soft); }
.subtable-title {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink-900);
  margin: 28px 0 12px;
  letter-spacing: .01em;
}
.subtable-title:first-child { margin-top: 4px; }

/* enquiry form */
.enq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px;
  margin-bottom: 20px;
}
.enq__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.enq__head h2 { margin: 0; font-size: 1.2rem; }

/* 15-minute promise bar */
.fastbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: var(--radius);
  background: var(--signal-soft);
  color: #0b5f58;
  font-size: .89rem;
  line-height: 1.55;
}
.fastbar svg { flex-shrink: 0; }
.fastbar strong { font-weight: 600; }
.fastbar--lead { margin-top: 26px; }

/* quick links to product forms (contact page) */
.quicklinks { margin-top: 26px; }
.quicklinks__l {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-400);
}
.quicklinks__row { display: flex; flex-wrap: wrap; gap: 8px; }
.qlink {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface);
  font-size: .84rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: all .18s var(--ease);
}
.qlink:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
}

/* locations list (contact sidebar) */
.loc { padding: 14px 0; border-top: 1px solid var(--line-soft); }
.loc:first-child { border-top: 0; padding-top: 0; }
.loc__c {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 4px;
}
.loc__a { font-style: normal; font-size: 0.88rem; color: var(--ink-500); line-height: 1.6; }

/* ------------------------------------------------------------ utilities -- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
}
.skip-link:focus { left: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------- responsive --- */
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 560px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catgrid__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdetail, .pdetail--compact { grid-template-columns: 1fr; }
  .pdetail__img, .pdetail__img--sm { max-width: 440px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split--reverse > *:first-child { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .acct-grid { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth__aside { display: none; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed;
    inset: 72px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px var(--gutter) 26px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.24s var(--ease);
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 13px 12px; font-size: 1rem; }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: var(--surface-sunken); }
  .nav__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
  }
  .nav__actions .btn { width: 100%; }
  .acct { justify-content: center; }
}

@media (max-width: 760px) {
  .grid--3, .grid--2, .row-2 { grid-template-columns: 1fr; }
  .pgrid, .catgrid__inner { grid-template-columns: 1fr; }
  .hero__specs { gap: 20px 26px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .enq { padding: 22px; }
  .pdetail__switch .btn { min-width: 0; }
}

@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Product documents — downloadable material attached to a family
   ========================================================================== */
.doclist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.docrow {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 16px;
  background: var(--surface);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.docrow:hover {
  border-color: #d3d9e0;
  box-shadow: var(--shadow-xs);
}

.docrow__ext {
  flex: 0 0 auto;
  min-width: 42px;
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  color: var(--ink-500);
  font-family: var(--font-mono);
}

.docrow__info {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 1px;
}

.docrow__name {
  font-size: 14px;
  font-weight: 550;
  color: var(--ink-900);
  word-break: break-word;
}

.docrow__file {
  font-size: 11.5px;
  color: var(--ink-400);
  font-family: var(--font-mono);
  word-break: break-all;
}

.docrow__dl {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

@media (max-width: 560px) {
  .docrow { flex-wrap: wrap; }
  .docrow__dl { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Region guard
   ========================================================================== */

/* Pending: hide the real page until the geo verdict arrives, so a blocked
   visitor never sees a flash of the content. */
html.gxt-geo-pending body { visibility: hidden; }

/* The root element also needs the dark surface — otherwise the area below
   the notice (page taller than the notice) stays white. */
html.gxt-geo--blocked {
  height: 100%;
  background: #0b0f14;
}

body.gxt-geo--blocked {
  min-height: 100vh;
  background:
    radial-gradient(1100px 520px at 50% -10%, #1a222c 0%, #0b0f14 62%);
  color: #e9edf1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
}

/* Fixed overlay — guarantees the notice fills the viewport regardless of
   what the original page left behind. */
.gxt-geo {
  position: fixed;
  inset: 0;
  z-index: 99998;
  overflow-y: auto;
  width: 100%;
  padding: 40px 24px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(1100px 520px at 50% -10%, #1a222c 0%, #0b0f14 62%);
}

.gxt-geo__card {
  max-width: 560px;
  width: 100%;
  text-align: center;
  padding: 46px 40px 38px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.028);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.gxt-geo__mark {
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.gxt-geo__eyebrow {
  margin: 0 0 12px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a97a6;
  font-weight: 500;
}

.gxt-geo__title {
  margin: 0 0 18px;
  font-size: clamp(24px, 4.2vw, 32px);
  line-height: 1.22;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: #f4f7f9;
}

.gxt-geo__body {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.72;
  color: #b7c1cc;
}

.gxt-geo__body--dim { color: #8a97a6; font-size: 14px; }

.gxt-geo__acts {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gxt-geo__btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--accent);
  color: #0b0f14;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.gxt-geo__btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.gxt-geo__btn:focus-visible { outline: 2px solid #6b7684; outline-offset: 3px; }

.gxt-geo__foot {
  margin: 30px 0 0;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7684;
}

@media print {
  .site-header, .site-footer, .cta, .toasts { display: none !important; }
  body { color: #000; }
}

/* -------------------------------------------- products page (compact) --- */
/* top description: move up and take less vertical space */
.products-head {
  padding-top: clamp(30px, 4vw, 52px);
  padding-bottom: 16px;
}
.products-head .section-head {
  margin-bottom: 16px;
}
.products-head .lede {
  font-size: .98rem;
  line-height: 1.5;
}
/* product grid: sit higher on the page */
.products-grid {
  padding-top: 6px;
}

/* ------------------------------------- home / about / contact (compact) --- */
.page-home .hero {
  padding-top: clamp(40px, 4.4vw, 64px);
  padding-bottom: clamp(40px, 4.4vw, 64px);
}
.page-home .hero h1 { margin-bottom: 18px; }
.page-home .hero__cta { margin-top: 26px; }
.page-home .hero__specs { margin-top: 30px; padding-top: 20px; }
.page-home .section { padding: clamp(46px, 5vw, 76px) 0; }
.page-home .section-head { margin-bottom: clamp(28px, 3vw, 42px); }

.page-about .section,
.page-contact .section {
  padding-top: clamp(38px, 4.4vw, 60px);
  padding-bottom: clamp(38px, 4.4vw, 60px);
}
.page-about .section-head,
.page-contact .section-head { margin-bottom: clamp(24px, 2.8vw, 36px); }
.page-about main > .section:first-child .section-head { margin-bottom: 0; }

/* ---------------------------------------- CMS-managed page content ----- */
.prose { max-width: 820px; color: var(--ink-900, #17202a); line-height: 1.75; }
.prose h2, .prose h3 { margin: 1.8em 0 .6em; line-height: 1.25; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.prose h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose a { color: var(--accent, #0f7a72); text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .94rem; }
.prose th, .prose td { border: 1px solid var(--line, #d9e0e6); padding: 9px 11px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft, #f5f8fa); }
.prose img { max-width: 100%; height: auto; }