:root {
  --ink: #13202f;
  --muted: #617083;
  --line: #dce4ed;
  --paper: #ffffff;
  --wash: #f3f6f8;
  --blue: #1464d9;
  --blue-dark: #0f3d7a;
  --green: #0f8a65;
  --amber: #b86100;
  --red: #b42318;
  --shadow: 0 18px 55px rgba(22, 39, 58, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 228, 237, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1400px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 2px solid var(--blue);
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 13px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #304155;
  font-size: 13px;
}

.site-nav a:hover {
  color: var(--blue);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
}

.language-switcher button {
  min-width: 34px;
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #304155;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 8px 10px;
  border-radius: 6px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: white;
  border-radius: 7px;
  font-weight: 700;
  cursor: pointer;
}

.button.secondary {
  background: white;
  color: var(--blue);
}

.button.dark {
  background: var(--ink);
  border-color: var(--ink);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: 58px 0 44px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 47%, rgba(244, 248, 251, 0.66) 100%),
    radial-gradient(circle at 80% 18%, rgba(20, 100, 217, 0.16), transparent 34%),
    linear-gradient(135deg, #f7fafc, #eaf1f7);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.18;
}

.lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: #3a4a5c;
  font-size: 18px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 700px;
}

.proof-strip span {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.76);
  color: #2b3c51;
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  min-height: 500px;
  position: relative;
  display: grid;
  place-items: center;
}

.network-scene {
  width: min(540px, 100%);
  aspect-ratio: 1.05;
  position: relative;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.92), rgba(236,243,250,0.86)),
    linear-gradient(45deg, rgba(20,100,217,0.05), rgba(15,138,101,0.08));
  border: 1px solid rgba(214, 224, 235, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.world-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(19, 32, 47, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 32, 47, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
}

.router-render {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 245px;
  height: 180px;
  transform: translate(-50%, -44%);
  border-radius: 20px 20px 12px 12px;
  background: linear-gradient(155deg, #182537, #2f4058 62%, #0d1826);
  box-shadow: 0 30px 55px rgba(15, 30, 47, 0.32);
}

.router-render::before,
.router-render::after {
  content: "";
  position: absolute;
  top: -92px;
  width: 12px;
  height: 112px;
  background: #1e3148;
  border-radius: 12px;
  transform-origin: bottom center;
}

.router-render::before {
  left: 38px;
  transform: rotate(-17deg);
}

.router-render::after {
  right: 38px;
  transform: rotate(17deg);
}

.router-face {
  position: absolute;
  inset: 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
}

.router-face b {
  position: absolute;
  left: 22px;
  top: 22px;
  color: white;
  font-size: 17px;
}

.router-lights {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: flex;
  gap: 8px;
}

.router-lights i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #28d28c;
  box-shadow: 0 0 12px rgba(40, 210, 140, 0.8);
}

.route-card {
  position: absolute;
  width: 172px;
  min-height: 94px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(22, 39, 58, 0.12);
  font-size: 13px;
}

.route-card strong {
  display: block;
  font-size: 16px;
}

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

.route-card.eu {
  right: 22px;
  top: 40px;
}

.route-card.sea {
  left: 22px;
  bottom: 34px;
}

.route-card.us {
  right: 42px;
  bottom: 38px;
}

.section {
  padding: 82px 0;
  border-bottom: 1px solid var(--line);
}

.section.compact {
  padding: 34px 0;
}

.section.alt {
  background: var(--wash);
}

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

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: start;
}

.workflow {
  display: grid;
  gap: 10px;
}

.quick-buybar {
  position: sticky;
  top: 72px;
  z-index: 18;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 26, 39, 0.96);
  color: white;
  backdrop-filter: blur(12px);
}

.quick-buybar-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.quick-buybar-inner span {
  color: #c9d5e2;
  flex: 1;
}

.quick-buybar .button {
  min-height: 38px;
}

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

.path-card {
  min-height: 210px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.path-card span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--blue);
  font-weight: 900;
}

.path-card p {
  color: var(--muted);
}

.path-card a {
  color: var(--blue);
  font-weight: 900;
}

.workflow article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.workflow strong {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--blue);
}

.workflow h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.workflow p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.finder-panel,
.rfq-panel,
.payment-panel,
.policy-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 38px rgba(22, 39, 58, 0.07);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #2f4055;
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfd9e4;
  border-radius: 7px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.finder-result {
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: #f4f8fc;
  border: 1px solid #dce7f2;
}

.finder-products {
  display: grid;
  gap: 8px;
}

.finder-products button {
  text-align: left;
  border: 1px solid #c9d7e6;
  background: white;
  border-radius: 7px;
  padding: 10px 12px;
  cursor: pointer;
}

.finder-products span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

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

.product-card {
  display: grid;
  grid-template-columns: minmax(250px, 0.44fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.product-visual {
  position: relative;
  width: 100%;
  min-height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(20,100,217,0.08), rgba(15,138,101,0.1)),
    #eef4f8;
}

.product-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}

.role-ribbon {
  position: absolute;
  left: 12px;
  top: 12px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(16, 26, 39, 0.86);
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.device-body {
  width: 106px;
  height: 132px;
  border-radius: 15px;
  background: linear-gradient(155deg, #13202f, #2d4055);
  box-shadow: 0 22px 28px rgba(19, 32, 47, 0.24);
  position: relative;
}

.device-body::before {
  content: "ND";
  position: absolute;
  top: 20px;
  left: 18px;
  color: white;
  font-weight: 800;
}

.signal-bars {
  position: absolute;
  right: 18px;
  top: 20px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.signal-bars i {
  display: block;
  width: 4px;
  background: #29d391;
  border-radius: 4px;
}

.signal-bars i:nth-child(1) { height: 8px; }
.signal-bars i:nth-child(2) { height: 14px; }
.signal-bars i:nth-child(3) { height: 21px; }

.port-row {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  gap: 7px;
}

.port-row i {
  width: 13px;
  height: 8px;
  border-radius: 3px;
  background: rgba(255,255,255,0.55);
}

.product-copy {
  padding: 20px;
}

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

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

.badge-row span,
.version-row span,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #edf5ff;
  color: #174b8f;
  font-size: 12px;
  font-weight: 800;
}

.version-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 2px;
}

.version-row span {
  background: #fff5e8;
  color: #784000;
}

.mini-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.mini-specs div {
  padding: 9px;
  border-radius: 7px;
  background: #f5f7fa;
}

.mini-specs dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-specs dd {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 800;
}

details {
  margin-bottom: 12px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

.text-link {
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: 0;
  font-weight: 800;
  cursor: pointer;
}

.media-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 12px;
}

.media-links a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.media-gallery {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.media-gallery a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

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

.square-gallery a {
  aspect-ratio: 1;
}

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

.detail-gallery a {
  aspect-ratio: 970 / 600;
}

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

.version-card,
.secondary-card,
.vsim-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.version-card,
.secondary-card {
  min-height: 260px;
  padding: 20px;
}

.version-card h3,
.secondary-card h3 {
  font-size: 20px;
}

.version-card p,
.secondary-card p {
  color: var(--muted);
}

.secondary-card strong {
  display: block;
  color: #784000;
}

.model-list {
  color: var(--ink) !important;
  font-weight: 900;
}

.vsim-box {
  min-height: 260px;
  display: grid;
  gap: 18px;
  align-content: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(20, 100, 217, 0.08), rgba(15, 138, 101, 0.1)),
    white;
}

.vsim-box h3 {
  font-size: 29px;
}

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

.market-card,
.trust-card {
  min-height: 178px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.market-card strong,
.trust-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.market-card p,
.trust-card p {
  color: var(--muted);
  margin-bottom: 0;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  color: #34475c;
  background: #f5f8fb;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

.compatibility-item {
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  overflow: hidden;
}

.compatibility-item summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 18px;
  color: var(--ink);
}

.compatibility-item summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.compatibility-item div {
  padding: 0 18px 18px;
}

.compatibility-item p {
  margin: 6px 0 0;
  color: var(--muted);
}

.policy-panel h3 {
  font-size: 19px;
}

.policy-panel p {
  color: var(--muted);
}

.risk-list {
  padding-left: 18px;
  color: var(--muted);
}

.rfq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(380px, 1fr);
  gap: 28px;
}

.payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1fr);
  gap: 28px;
}

.payment-guardrails {
  display: grid;
  gap: 12px;
}

.payment-guardrails article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f9fc;
}

.payment-guardrails p {
  margin-bottom: 0;
  color: var(--muted);
}

.rfq-note {
  display: grid;
  gap: 12px;
}

.rfq-note article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f9fc;
}

.support-rules {
  display: grid;
  gap: 12px;
}

.support-rules article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.support-rules strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.support-rules p {
  margin-bottom: 0;
  color: var(--muted);
}

.form-status {
  min-height: 28px;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: var(--red);
}

.site-footer {
  padding: 34px 0;
  background: #101a27;
  color: #d9e3ef;
}

.status-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--wash);
}

.status-card {
  width: min(680px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.product-page .site-header {
  position: sticky;
}

.detail-hero {
  padding: 76px 0 54px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98), rgba(244,248,251,0.78)),
    #f6f9fc;
}

.detail-hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.88fr);
  gap: 42px;
  align-items: center;
}

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

.detail-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
  background: #f7fbff;
}

.detail-visual figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 12px;
}

.spec-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 38px rgba(22, 39, 58, 0.07);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
}

.spec-grid div {
  padding: 12px;
  border-radius: 7px;
  background: #f5f7fa;
}

.spec-grid dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.spec-grid dd {
  margin: 3px 0 0;
  font-weight: 900;
}

.detail-list {
  padding-left: 20px;
  color: var(--muted);
}

.asset-note {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #e6c68f;
  border-radius: 7px;
  background: #fff8eb;
  color: #784000;
  font-weight: 800;
}

.ai-chat {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: min(390px, calc(100vw - 36px));
}

.ai-chat-toggle {
  margin-left: auto;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(20, 100, 217, 0.28);
  border-radius: 8px;
  background: var(--ink);
  color: white;
  padding: 8px 14px 8px 8px;
  box-shadow: 0 18px 45px rgba(19, 32, 47, 0.22);
  cursor: pointer;
}

.ai-chat-toggle span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  font-weight: 900;
}

.ai-chat-toggle strong {
  font-size: 14px;
}

.ai-chat.open .ai-chat-toggle {
  display: none;
}

.ai-chat-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 22px 60px rgba(19, 32, 47, 0.2);
}

.ai-chat-head {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: #101a27;
  color: white;
}

.ai-chat-head small {
  display: block;
  margin-top: 2px;
  color: #aebdca;
  font-size: 12px;
}

.ai-chat-head button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: transparent;
  color: white;
  padding: 6px 8px;
  cursor: pointer;
}

.ai-chat-log {
  max-height: 320px;
  min-height: 240px;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  background: #f5f8fb;
}

.chat-message {
  width: fit-content;
  max-width: 88%;
  padding: 10px 12px;
  border: 1px solid #dce7f2;
  border-radius: 8px;
  background: white;
  color: #26384c;
  font-size: 14px;
}

.chat-message.user {
  justify-self: end;
  background: #eaf2ff;
  border-color: #c8dcfb;
}

.chat-message.handoff {
  border-color: #f2d69a;
  background: #fff7e8;
}

.chat-message.error {
  color: var(--red);
}

.chat-meta {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.chat-inline-cta {
  display: block;
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 900;
  padding: 0;
  cursor: pointer;
}

.ai-chat-form {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.chat-context,
.chat-input-row {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 8px;
}

.ai-chat-form input,
.ai-chat-form select {
  min-height: 40px;
  border: 1px solid #cfd9e4;
  border-radius: 7px;
  padding: 8px 10px;
  background: white;
  color: var(--ink);
}

.chat-input-row {
  grid-template-columns: 1fr 68px;
}

.chat-input-row button,
.chat-rfq-link {
  min-height: 40px;
  border: 1px solid var(--blue);
  border-radius: 7px;
  background: var(--blue);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.chat-rfq-link {
  background: white;
  color: var(--blue);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #aebdca;
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero-inner,
  .detail-hero-inner,
  .split,
  .payment-layout,
  .rfq-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
  }

  .product-grid,
  .market-grid,
  .trust-grid,
  .path-grid,
  .policy-grid,
  .version-grid,
  .secondary-grid,
  .square-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

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

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

  h1 {
    font-size: 44px;
  }

  .proof-strip,
  .form-grid,
  .product-grid,
  .market-grid,
  .trust-grid,
  .path-grid,
  .policy-grid,
  .version-grid,
  .secondary-grid,
  .square-gallery,
  .detail-gallery,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .quick-buybar {
    top: 64px;
  }

  .quick-buybar-inner {
    align-items: stretch;
    flex-direction: column;
    padding: 12px 0;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: 430px;
  }

  .product-visual img {
    min-height: 0;
    width: 100%;
    height: 430px;
  }

  .mini-specs {
    grid-template-columns: 1fr;
  }

  .route-card {
    width: 150px;
  }

  .network-scene {
    aspect-ratio: 0.9;
  }

  .ai-chat {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .ai-chat-log {
    max-height: 280px;
  }
}
