:root {
  --ink: #0a1733;
  --muted: #5c667a;
  --line: #dce3ee;
  --paper: #ffffff;
  --soft: #f3f6fb;
  --blue: #123f98;
  --blue-2: #0a62c9;
  --red: #d81124;
  --silver: #eef2f7;
  --shadow: 0 18px 60px rgba(10, 23, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

main section[id] {
  scroll-margin-top: 118px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) auto minmax(250px, auto);
  align-items: center;
  gap: 28px;
  min-height: 104px;
  padding: 18px clamp(20px, 4vw, 70px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 227, 238, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand img,
.admin-brand img {
  width: 252px;
  height: 82px;
  object-fit: contain;
  object-position: left center;
}

.brand span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.brand strong {
  font-size: 18px;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 18px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  font-weight: 700;
  font-size: 15px;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a:hover::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 3px;
  background: var(--red);
  content: "";
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.hotline {
  color: var(--blue);
  font-weight: 800;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: white;
  background: var(--red);
  box-shadow: 0 12px 30px rgba(216, 17, 36, 0.28);
}

.btn-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost-dark {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.btn-light {
  color: var(--blue);
  background: white;
}

.btn-large {
  min-width: 156px;
  min-height: 54px;
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: white;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 13, 30, 0.92) 0%, rgba(4, 13, 30, 0.68) 38%, rgba(4, 13, 30, 0.18) 72%),
    linear-gradient(180deg, rgba(4, 13, 30, 0.16), rgba(4, 13, 30, 0.48));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(640px, calc(100% - 40px));
  padding: 118px 0 64px clamp(20px, 6vw, 92px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  margin: 28px 0 0;
  max-width: 580px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.8;
}

.preserve-format {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 7px 13px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  color: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.trust-row b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(216, 17, 36, 0.95);
  color: white;
  font-size: 11px;
}

.trust-row em {
  font-style: normal;
  font-size: 14px;
  font-weight: 800;
}

.panel-head,
.metrics,
.contact-section,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-head b {
  color: #68f0b4;
}

.order-meta {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  margin-top: 18px;
}

.order-meta div,
.order-status div {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.order-meta small,
.order-status span,
.route-stop small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.order-meta strong {
  display: block;
  margin-top: 5px;
  color: white;
  font-size: 14px;
}

.shipment-map {
  position: relative;
  min-height: 182px;
  margin: 20px 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 70, 146, 0.5), rgba(7, 26, 59, 0.35)),
    rgba(255, 255, 255, 0.06);
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
}

.map-road {
  position: absolute;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), #4ea4ff, rgba(255, 255, 255, 0.34));
  transform-origin: left center;
}

.road-a {
  top: 72px;
  left: 62px;
  width: 220px;
  transform: rotate(-8deg);
}

.road-b {
  top: 99px;
  left: 248px;
  width: 168px;
  transform: rotate(13deg);
}

.map-stop {
  position: absolute;
  display: grid;
  gap: 3px;
  min-width: 96px;
  color: white;
}

.map-stop i {
  width: 18px;
  height: 18px;
  margin-bottom: 4px;
  border: 3px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.map-stop.done i,
.map-stop.active i {
  border-color: white;
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(216, 17, 36, 0.16);
}

.map-stop strong {
  font-size: 15px;
}

.map-stop span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.map-stop.pickup {
  top: 38px;
  left: 26px;
}

.map-stop.trunk {
  top: 20px;
  left: 190px;
}

.map-stop.delivery {
  top: 86px;
  right: 78px;
}

.map-stop.sign {
  right: 18px;
  bottom: 18px;
}

.order-status {
  display: grid;
  grid-template-columns: 1fr 0.72fr 0.72fr;
  gap: 10px;
}

.order-status strong {
  display: block;
  margin-top: 5px;
  color: white;
  font-size: 16px;
}

.order-status .ok {
  color: #68f0b4;
}

.metrics {
  gap: 20px;
  padding: 34px clamp(20px, 6vw, 92px);
  background: white;
  box-shadow: 0 12px 36px rgba(10, 23, 51, 0.08);
}

.metrics div {
  flex: 1;
  display: grid;
  gap: 6px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  color: var(--blue);
  font-size: clamp(28px, 3vw, 42px);
}

.metrics span,
.section-head p,
.service-card p,
.timeline span,
.split p,
.proof-list span,
.contact-section p {
  color: var(--muted);
  line-height: 1.75;
}

.section {
  padding: 86px clamp(20px, 6vw, 92px);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section h2,
.contact-section h2,
.admin-topbar h1 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 18px;
}

.service-card {
  min-height: 270px;
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.service-card:hover {
  border-color: rgba(18, 63, 152, 0.35);
  box-shadow: var(--shadow);
}

.service-card span {
  color: var(--red);
  font-weight: 900;
}

.service-card h3 {
  margin: 30px 0 12px;
  font-size: 24px;
}

.route-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  margin-top: 24px;
  padding: 32px;
  border: 1px solid rgba(111, 174, 255, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(rgba(111, 174, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 174, 255, 0.07) 1px, transparent 1px),
    #071b3d;
  background-size: 44px 44px;
  box-shadow: 0 24px 54px rgba(5, 24, 57, 0.16);
}

.route-panel h3 {
  margin: 6px 0 0;
  color: white;
  font-size: 28px;
}

.route-panel .eyebrow {
  color: #ff5d70;
}

.route-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.route-title-row h3 {
  margin: 0;
}

.route-more-btn {
  min-height: 34px;
  padding: 0 12px;
  width: fit-content;
  color: white;
  border-color: transparent;
  background: var(--red);
  box-shadow: 0 12px 30px rgba(216, 17, 36, 0.24);
  font-size: 12px;
  white-space: nowrap;
}

.route-panel p {
  margin: 10px 0 0;
  color: #b9c9e3;
  line-height: 1.7;
}

.route-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.route-page-grid {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.routes-page-section {
  min-height: 100vh;
  color: white;
  background:
    linear-gradient(rgba(111, 174, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 174, 255, 0.07) 1px, transparent 1px),
    #071b3d;
  background-size: 44px 44px;
}

.routes-page-section .section-head {
  max-width: 900px;
}

.routes-page-section .section-head > p:last-child {
  color: #b9c9e3;
  font-size: 17px;
}

.routes-page-section .eyebrow {
  color: #ff5d70;
}

.routes-page-section .page-title-row h1 {
  color: white;
}

.routes-page-section .route-page-grid {
  gap: 16px;
}

.routes-page-section .route-card {
  min-height: 180px;
  border-color: rgba(143, 196, 255, 0.24);
  background: rgba(18, 52, 101, 0.8);
  box-shadow: inset 0 3px 0 #3f8cff;
}

.routes-page-section .route-card:hover {
  border-color: rgba(143, 196, 255, 0.52);
  background: rgba(24, 67, 126, 0.92);
}

.routes-page-section .route-card strong {
  color: white;
}

.routes-page-section .route-card span {
  color: #b9c9e3;
}

.routes-page-section .route-card a {
  color: #8fc4ff;
}

.route-card {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.route-panel .route-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(143, 196, 255, 0.24);
  background: rgba(18, 52, 101, 0.78);
  box-shadow: inset 0 3px 0 #3f8cff;
}

.route-panel .route-card:hover {
  border-color: rgba(143, 196, 255, 0.52);
  background: rgba(24, 67, 126, 0.9);
}

.route-card strong {
  color: var(--blue);
  font-size: 20px;
}

.route-panel .route-card strong {
  color: white;
}

.route-card span {
  color: var(--muted);
  line-height: 1.65;
}

.route-panel .route-card span {
  color: #b9c9e3;
}

.route-panel .route-card a {
  color: #8fc4ff;
}

.route-card a,
.service-link,
.knowledge-card a {
  color: var(--blue);
  font-weight: 900;
}

.service-link,
.knowledge-card > a {
  display: none;
}

.expand-toggle {
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(143, 196, 255, 0.34);
  border-radius: 8px;
  background: rgba(143, 196, 255, 0.12);
  color: #8fc4ff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.expand-toggle:hover {
  border-color: rgba(143, 196, 255, 0.72);
  background: rgba(143, 196, 255, 0.2);
}

.expand-content {
  display: none;
}

.expand-content.is-open {
  display: block;
}

.about-entity-grid .expand-toggle {
  margin-top: 2px;
}

.faq-item {
  display: grid;
  gap: 10px;
}

.band {
  background: var(--soft);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.timeline div {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 22px 18px;
  border-radius: 8px;
  background: white;
  text-align: center;
}

.timeline b {
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  line-height: 36px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: 48px;
}

.split.reverse {
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1fr);
}

.api-board {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 48px rgba(10, 23, 51, 0.08);
}

.api-board {
  display: grid;
  gap: 14px;
  background: #071a3b;
}

.api-board div,
.endpoint-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.api-board span,
.endpoint-list span {
  min-width: 62px;
  padding: 6px 9px;
  border-radius: 6px;
  background: var(--red);
  color: white;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.api-board code {
  color: #dce9ff;
  white-space: normal;
}

.tech-about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1fr);
  gap: 46px;
  margin: 0;
  padding: 92px clamp(20px, 6vw, 92px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(18, 98, 201, 0.3), transparent 32%),
    linear-gradient(135deg, #06142d 0%, #0b2b61 58%, #07162f 100%);
  color: white;
}

.tech-about::before {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
}

.tech-copy,
.tech-console {
  position: relative;
  z-index: 1;
}

.tech-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.16;
}

.about-summary {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  grid-column: 1 / -1;
  gap: 34px;
  align-items: start;
}

.about-summary p:not(.eyebrow) {
  margin-top: 4px;
}

.about-summary-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  max-width: 100%;
}

.about-more-btn {
  margin-top: 20px;
  align-self: center;
}

.about-detail-section {
  min-height: 100vh;
}

.about-detail-copy {
  grid-column: 1 / -1;
}

.about-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.about-detail-grid {
  margin-top: 34px;
}

.tech-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.9;
}

.about-entity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.about-entity-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(132, 184, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.about-entity-grid span {
  color: #7db5ff;
  font-size: 13px;
  font-weight: 900;
}

.about-entity-grid strong {
  color: white;
  line-height: 1.45;
}

.about-entity-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.65;
}

.tech-console {
  grid-column: 1 / -1;
  align-self: start;
  padding: 28px;
  border: 1px solid rgba(132, 184, 255, 0.3);
  border-radius: 8px;
  background: rgba(5, 21, 48, 0.72);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.console-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
}

.console-top b {
  color: #6ff0b7;
  font-size: 13px;
}

.signal-grid {
  display: grid;
  gap: 12px;
}

.signal-card {
  display: grid;
  grid-template-columns: 42px 120px 1fr;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.signal-card.active {
  border-color: rgba(92, 163, 255, 0.34);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(92, 163, 255, 0.12);
}

.signal-card small {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--red);
  color: white;
  font-weight: 900;
}

.signal-card strong {
  color: white;
  font-size: 18px;
}

.signal-card span {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

.console-route {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.console-route i {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), #54a8ff);
}

.console-route span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  text-align: center;
}

.cases-section {
  position: relative;
  margin: 0;
  padding: 84px clamp(20px, 6vw, 92px);
  overflow: hidden;
  background: #f4f7fb;
}

.cases-section::before {
  position: absolute;
  inset: 0;
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(18, 63, 152, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 63, 152, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
}

.cases-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
  margin: 0 auto;
}

.cases-home-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.55fr);
  gap: clamp(20px, 4vw, 52px);
  align-items: start;
}

.cases-home-layout .cases-head {
  justify-items: stretch;
  margin: 0;
  padding-top: 8px;
  text-align: left;
}

.cases-home-layout .cases-head .eyebrow {
  text-align: center;
}

.cases-home-layout .cases-title-stack {
  align-items: center;
}

.cases-home-layout .cases-head > p:not(.eyebrow) {
  margin-right: 0;
  margin-left: 0;
}

.cases-home-layout .case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cases-head {
  display: grid;
  justify-items: center;
  margin-bottom: 36px;
  text-align: center;
}

.cases-title-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cases-title-stack h2,
.case-page-head h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.1;
}

.cases-more-btn {
  margin-top: 20px;
}

.cases-head > p:not(.eyebrow),
.case-page-head > p:not(.eyebrow) {
  max-width: 800px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 26px;
  border: 1px solid #d4deec;
  border-top: 4px solid var(--blue);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 44px rgba(10, 23, 51, 0.09);
}

.case-industry {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.case-card h3 {
  min-height: 3em;
  margin: 12px 0 20px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.5;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 20px;
}

.case-meta div {
  min-width: 0;
  padding: 12px;
  background: #f2f6fc;
}

.case-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.case-meta dd {
  margin: 5px 0 0;
  color: var(--blue);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.case-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

.case-meta-grid > div {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 14px 16px;
  background: #f2f6fc;
}

.case-meta-grid span,
.case-meta-grid strong {
  display: block;
}

.case-meta-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.case-meta-grid strong {
  color: var(--blue);
  font-size: 17px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.case-detail {
  display: grid;
  gap: 13px;
  margin-top: auto;
}

.case-detail p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.case-detail strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.case-page {
  background: #f4f7fb;
}

.case-page-section {
  min-height: 100vh;
  padding: 64px clamp(20px, 6vw, 92px) 86px;
}

.case-page-head {
  display: grid;
  justify-items: center;
  margin: 0 auto 38px;
  text-align: center;
}

.case-page-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-page .case-card h3 {
  min-height: auto;
}

/* Published knowledge, case and route detail pages */
.content-detail-body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  color: #dce8f8;
  background: #061a3b;
}

.content-detail-body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(116, 170, 238, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 170, 238, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
}

.detail-site-header {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px max(24px, calc((100vw - 1120px) / 2));
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.detail-brand {
  min-width: 0;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.35;
}

.detail-back {
  display: inline-flex;
  min-height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 6px;
  color: white;
  background: var(--red);
  box-shadow: 0 12px 28px rgba(216, 17, 36, 0.24);
  font-weight: 900;
}

.content-detail-main {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 96px;
}

.content-detail-article {
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid rgba(116, 170, 238, 0.42);
  border-top: 4px solid var(--red);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(23, 63, 122, 0.86), rgba(5, 25, 58, 0.96));
  box-shadow: 0 28px 70px rgba(1, 10, 25, 0.34);
}

.content-detail-article > .eyebrow {
  margin: 0 0 14px;
  color: #ff5a69;
  font-size: 14px;
  font-weight: 900;
}

.content-detail-article h1 {
  max-width: 900px;
  margin: 0 auto;
  color: white;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.24;
  letter-spacing: 0;
  text-align: center;
  overflow-wrap: anywhere;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 24px 0 0;
  padding: 16px 0;
  border-top: 1px solid rgba(143, 185, 237, 0.24);
  border-bottom: 1px solid rgba(143, 185, 237, 0.24);
  color: #9fb5d2;
  font-size: 14px;
}

.content-detail-article figure {
  margin: 34px 0;
}

.content-detail-article figure img {
  display: block;
  width: 100%;
  max-height: 520px;
  border-radius: 6px;
  object-fit: cover;
}

.content-detail-article figcaption {
  margin-top: 10px;
  color: #8fa8ca;
  font-size: 13px;
  text-align: center;
}

.detail-kicker {
  margin: 34px 0 10px;
  color: #7fbdff;
  font-size: 15px;
  font-weight: 900;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0 34px;
  padding: 18px 0;
  border-top: 1px solid rgba(143, 185, 237, 0.34);
  border-bottom: 1px solid rgba(143, 185, 237, 0.34);
}

.detail-facts > div {
  min-width: 0;
  padding: 4px 24px;
}

.detail-facts > div:first-child {
  padding-left: 0;
  border-right: 1px solid rgba(143, 185, 237, 0.34);
}

.detail-facts span {
  display: block;
  color: #8fa8ca;
  font-size: 13px;
  font-weight: 800;
}

.detail-facts strong {
  display: block;
  margin-top: 7px;
  color: white;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.content-detail-article h2 {
  margin: 34px 0 10px;
  color: white;
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: 0;
}

.content-detail-article p,
.detail-article {
  margin-top: 0;
  color: #c5d4e8;
  font-size: 17px;
  line-height: 1.95;
}

.detail-lead {
  color: #dbe8f8;
  font-size: 19px;
}

.detail-article {
  margin-top: 20px;
}

.preserve-format {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.detail-source {
  margin: 34px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(143, 185, 237, 0.24);
  color: #8fa8ca;
  font-size: 14px;
}

.content-detail-article > .btn {
  margin-top: 28px;
}

@media (max-width: 720px) {
  .detail-site-header {
    min-height: 82px;
    gap: 14px;
    padding: 16px 18px;
  }

  .detail-brand {
    font-size: 15px;
  }

  .detail-back {
    min-height: 38px;
    padding: 0 14px;
    font-size: 14px;
  }

  .content-detail-main {
    width: min(100% - 28px, 1040px);
    padding: 28px 0 54px;
  }

  .content-detail-article {
    padding: 28px 20px 34px;
  }

  .content-detail-article h1 {
    font-size: 28px;
  }

  .detail-meta {
    gap: 5px 14px;
    font-size: 12px;
  }

  .detail-facts {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .detail-facts > div {
    padding: 16px 0;
  }

  .detail-facts > div:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(143, 185, 237, 0.34);
  }

  .content-detail-article h2 {
    margin-top: 28px;
    font-size: 20px;
  }

  .content-detail-article p,
  .detail-article {
    font-size: 16px;
    line-height: 1.85;
  }
}

.knowledge-section {
  position: relative;
  margin: 0;
  padding: 84px clamp(20px, 6vw, 92px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(216, 17, 36, 0.12), transparent 24%),
    linear-gradient(135deg, #081a3a 0%, #0c367a 52%, #06142d 100%);
  color: white;
}

.knowledge-section::before {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
}

.knowledge-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 34px;
  width: min(100%, 1280px);
  margin: 0 auto;
}

.knowledge-entry-inner {
  grid-template-columns: 1fr;
}

.knowledge-entry-inner .knowledge-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1.32fr);
  grid-template-rows: auto auto;
  gap: 12px clamp(28px, 6vw, 88px);
  width: 100%;
  max-width: none;
  align-items: center;
}

.knowledge-entry-inner .knowledge-head > .eyebrow {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  margin-bottom: 0;
}

.knowledge-entry-inner .knowledge-title-row {
  grid-column: 1;
  grid-row: 2;
  width: fit-content;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.knowledge-entry-inner .knowledge-head > p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: none;
  margin: 0;
  font-size: 19px;
}

.knowledge-head h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.1;
}

.knowledge-head h1,
.page-title-row h1 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.08;
}

.page-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.knowledge-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.knowledge-more-btn {
  flex: 0 0 auto;
}

.knowledge-page {
  background: #06142d;
}

.knowledge-page .knowledge-section {
  min-height: 100vh;
}

.knowledge-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
}

.knowledge-content {
  display: grid;
  gap: 18px;
}

.knowledge-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.knowledge-card,
.knowledge-faq {
  padding: 24px;
  border: 1px solid rgba(132, 184, 255, 0.28);
  border-radius: 8px;
  background: rgba(6, 22, 47, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.knowledge-card {
  display: grid;
  gap: 12px;
}

.knowledge-card span {
  color: #7db5ff;
  font-size: 13px;
  font-weight: 900;
}

.knowledge-card h3,
.knowledge-faq h3 {
  margin: 0;
  color: white;
  font-size: 22px;
  line-height: 1.35;
}

.faq-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.faq-title-row a {
  color: #8fc4ff;
  font-weight: 900;
}

.knowledge-card p,
.knowledge-detail,
.knowledge-faq dd {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.knowledge-card a {
  color: #8fc4ff;
}

.knowledge-home-section .knowledge-card:nth-child(n+3) {
  display: none;
}

.knowledge-faq dl {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.knowledge-faq dt {
  color: white;
  font-weight: 900;
}

.knowledge-faq dd {
  margin: 0 0 10px;
}

.ecosystem-section {
  position: relative;
  overflow: hidden;
  padding: 84px clamp(20px, 6vw, 92px);
  background:
    linear-gradient(90deg, rgba(216, 17, 36, 0.1), transparent 26%),
    linear-gradient(135deg, #06162f 0%, #0a377a 58%, #06142d 100%);
  color: white;
}

.ecosystem-section::before {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
}

.ecosystem-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
  margin: 0 auto;
}

.ecosystem-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.ecosystem-head .eyebrow {
  margin: 0 0 10px;
  color: #ff5264;
}

.ecosystem-head h2 {
  margin: 0;
  color: white;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
}

.ecosystem-head > p {
  max-width: 760px;
  margin: 0;
  color: rgba(222, 235, 252, 0.82);
  font-size: 17px;
  line-height: 1.85;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ecosystem-card {
  position: relative;
  display: grid;
  grid-template-rows: 88px auto 1fr;
  gap: 12px;
  min-width: 0;
  min-height: 252px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(132, 184, 255, 0.3);
  border-radius: 8px;
  outline: none;
  background: rgba(5, 22, 48, 0.78);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.ecosystem-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #5ca8ff);
  content: "";
}

.ecosystem-card:hover,
.ecosystem-card:focus-visible {
  border-color: rgba(126, 189, 255, 0.72);
  background: rgba(10, 51, 104, 0.88);
  transform: translateY(-3px);
}

.ecosystem-mark {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(139, 192, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.ecosystem-mark img {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: contain;
  opacity: 0.4;
  transition: opacity 220ms ease, transform 220ms ease;
}

.ecosystem-card:hover .ecosystem-mark img,
.ecosystem-card:focus-visible .ecosystem-mark img {
  opacity: 1;
  transform: scale(1.07);
}

.ecosystem-copy {
  display: grid;
  align-content: start;
  gap: 7px;
}

.ecosystem-name {
  margin: 0;
  color: #89bfff;
  font-size: 13px;
  font-weight: 900;
}

.ecosystem-card h3 {
  margin: 0;
  color: white;
  font-size: 20px;
  line-height: 1.35;
}

.ecosystem-description {
  margin: 0;
  color: rgba(220, 234, 251, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

@media (hover: hover) and (pointer: fine) {
  .ecosystem-card h3,
  .ecosystem-card .ecosystem-description {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .ecosystem-card:hover h3,
  .ecosystem-card:hover .ecosystem-description,
  .ecosystem-card:focus-visible h3,
  .ecosystem-card:focus-visible .ecosystem-description {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-section {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 35%, rgba(18, 98, 201, 0.32), transparent 34%),
    linear-gradient(135deg, #0b2d69, #06162f);
  color: white;
}

.contact-section::before {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 58px clamp(20px, 6vw, 92px);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.contact-method {
  min-width: 180px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-method span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.contact-method strong {
  color: white;
  font-size: 20px;
}

.contact-wechat {
  display: grid;
  justify-items: center;
  min-width: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.contact-method .contact-qr-title {
  width: 112px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.contact-qr-box {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.contact-qr-box img {
  width: 96px;
  height: 96px;
  border-radius: 6px;
  object-fit: cover;
}

.contact-qr-box strong {
  color: var(--blue);
  font-size: 15px;
}

.footer {
  padding: 28px clamp(20px, 6vw, 92px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.modal.open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 13, 30, 0.62);
}

.order-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 32px;
  width: min(760px, calc(100% - 32px));
  padding: 34px;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.order-dialog h2 {
  margin: 0 0 14px;
  font-size: 30px;
}

.order-steps {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.qr-box,
.admin-qr-preview {
  display: grid;
  place-items: center;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 63, 152, 0.1), rgba(216, 17, 36, 0.08)),
    white;
  text-align: center;
}

.qr-box img,
.admin-qr-preview img {
  width: 220px;
  max-width: 100%;
  border-radius: 8px;
}

.qr-empty,
.admin-qr-preview div {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.qr-empty span,
.admin-qr-preview span {
  color: var(--muted);
  font-size: 14px;
}

.admin-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
  background: var(--soft);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px;
  background: #071a3b;
  color: white;
}

.admin-brand {
  display: grid;
  font-weight: 900;
}

.admin-sidebar nav {
  display: grid;
  flex: 1 1 auto;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.admin-tab,
.admin-back {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  cursor: pointer;
  text-align: left;
}

.admin-tab.active,
.admin-tab:hover,
.admin-back:hover {
  background: var(--red);
}

.admin-back {
  margin-top: auto;
  text-align: center;
}

.admin-format-board {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.admin-format-board strong {
  color: var(--ink);
  font-size: 18px;
}

.admin-format-board div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-format-board span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 8px;
  background: rgba(18, 63, 152, 0.08);
  color: var(--blue);
  font-weight: 900;
}

.admin-format-board p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.admin-main {
  padding: 34px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-state {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-state span {
  color: var(--muted);
}

.admin-panel {
  display: none;
  padding: 28px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 16px 40px rgba(10, 23, 51, 0.08);
}

.admin-panel.active {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: white;
}

textarea {
  resize: vertical;
}

.full-field {
  margin-top: 18px;
}

.admin-preview,
.upload-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.admin-qr-preview {
  width: 260px;
  flex: 0 0 260px;
}

.contact-upload-row {
  margin: 18px 0 24px;
}

.contact-qr-preview {
  min-height: 210px;
}

.upload-card {
  min-height: 180px;
  flex: 1;
  place-items: center;
  border: 1px dashed #9aa9c0;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  text-align: center;
}

.upload-card input {
  display: none;
}

.endpoint-list {
  display: grid;
  gap: 14px;
}

.endpoint-list div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-note {
  margin-top: 20px;
  color: var(--muted);
}

.toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  display: none;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.toast.show {
  display: block;
}

.auth-body {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(7, 26, 59, 0.92), rgba(7, 26, 59, 0.72)),
    url("assets/hero-logistics.png") center / cover;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 56px;
  min-height: 100vh;
  align-items: center;
  padding: clamp(24px, 6vw, 86px);
}

.auth-visual {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 640px;
  color: white;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 900;
}

.auth-logo img {
  width: 180px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  border-radius: 8px;
  background: white;
}

.auth-visual h1 {
  max-width: 680px;
  margin: 0 0 18px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
}

.auth-visual p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
}

.auth-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.auth-proof span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.auth-card {
  padding: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.auth-panel {
  display: none;
  gap: 16px;
  margin-top: 0;
}

.auth-panel.active {
  display: grid;
}

.auth-panel h2 {
  margin: 0;
  font-size: 30px;
}

.auth-panel p,
.auth-link {
  color: var(--muted);
  line-height: 1.75;
}

.captcha-row,
.sms-row {
  display: grid;
  grid-template-columns: 1fr 118px;
  gap: 12px;
  align-items: end;
}

.captcha-code {
  min-height: 49px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 63, 152, 0.12), rgba(216, 17, 36, 0.1)),
    white;
  color: var(--blue);
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-row input {
  width: 18px;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.inline-link {
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: right;
}

.inline-link:hover {
  color: var(--red);
}

.auth-submit {
  width: 100%;
  margin-top: 4px;
}

.auth-link {
  display: block;
  margin-top: 22px;
  text-align: center;
}

@media (min-width: 1321px) and (max-width: 1780px) {
  .site-header {
    grid-template-areas:
      "brand actions"
      "nav nav";
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 32px;
    row-gap: 8px;
    min-height: 142px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand {
    grid-area: brand;
  }

  .main-nav {
    grid-area: nav;
    justify-content: center;
    width: 100%;
    gap: clamp(22px, 3vw, 46px);
    margin: 0;
    padding: 10px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .header-actions {
    grid-area: actions;
  }
}

@media (min-width: 1081px) and (max-width: 1320px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 118px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    font-size: 28px;
  }

  .main-nav,
  .header-actions {
    grid-column: 1 / -1;
    display: none;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    gap: 24px;
    margin-top: 6px;
    margin-left: 0;
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .site-header.nav-open .main-nav,
  .site-header.nav-open .header-actions {
    display: flex;
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 126px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    font-size: 28px;
  }

  .main-nav,
  .header-actions {
    grid-column: 1 / -1;
    display: none;
  }

  .site-header.nav-open .main-nav,
  .site-header.nav-open .header-actions {
    display: flex;
  }

  .main-nav,
  .header-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    gap: 24px;
    margin-top: 6px;
    margin-left: 0;
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-panel {
    grid-template-columns: 1fr;
  }

  .tech-about {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-summary {
    grid-template-columns: 1fr;
  }

  .about-detail-head {
    flex-direction: column;
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecosystem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cases-home-layout .case-grid {
    grid-template-columns: 1fr;
  }

  .tech-console {
    width: 100%;
  }

  .split,
  .split.reverse,
  .admin-body,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .auth-visual {
    min-height: auto;
    gap: 42px;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 12px;
    padding-left: 14px;
    padding-right: 20px;
  }

  .brand {
    gap: 12px;
  }

  .brand img {
    width: min(480px, calc(100vw - 176px));
    height: 98px;
    object-fit: contain;
    object-position: left center;
  }

  .brand span {
    display: grid;
    gap: 2px;
    padding-left: 0;
    border-left: 0;
  }

  .brand strong {
    font-size: 14px;
    white-space: normal;
  }

  .brand small {
    font-size: 11px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 72px 20px 32px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .metrics,
  .contact-section,
  .footer,
  .admin-topbar,
  .admin-state,
  .admin-preview,
  .upload-row {
    align-items: stretch;
    flex-direction: column;
  }

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
  }

  .service-grid,
  .timeline,
  .form-grid,
  .order-dialog {
    grid-template-columns: 1fr;
  }

  .route-card-grid,
  .knowledge-list,
  .about-entity-grid,
  .case-grid,
  .admin-format-board div {
    grid-template-columns: 1fr;
  }

  .ecosystem-section {
    padding: 58px 20px;
  }

  .ecosystem-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecosystem-card {
    min-height: 238px;
  }

  .contact-inner {
    align-items: stretch;
    flex-direction: column;
    padding: 34px 20px;
  }

  .knowledge-section {
    padding: 46px 20px;
  }

  .cases-section,
  .case-page-section {
    padding: 46px 20px;
  }

  .case-card {
    padding: 22px;
  }

  .case-card h3 {
    min-height: auto;
  }

  .case-meta,
  .case-meta-grid {
    grid-template-columns: 1fr;
  }

  .tech-about {
    padding: 42px 20px;
  }

  .tech-copy h2 {
    font-size: 34px;
  }

  .tech-copy p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.75;
  }

  .tech-console {
    padding: 18px;
  }

  .signal-card {
    grid-template-columns: 38px 92px 1fr;
    gap: 10px;
    padding: 12px;
  }

  .signal-card strong {
    font-size: 16px;
  }

  .signal-card span {
    font-size: 14px;
  }

  .console-route {
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
  }

  .knowledge-inner {
    grid-template-columns: 1fr;
  }

  .knowledge-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-main {
    padding: 20px;
  }

  .admin-qr-preview {
    width: 100%;
    flex-basis: auto;
  }
}

@media (max-width: 560px) {
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-card {
    min-height: 220px;
  }

  .cases-home-layout {
    grid-template-columns: 1fr;
  }

  .cases-home-layout .cases-head {
    text-align: center;
  }

  .cases-home-layout .cases-head > p:not(.eyebrow) {
    margin-right: auto;
    margin-left: auto;
  }

  .knowledge-entry-inner .knowledge-head {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
    text-align: center;
  }

  .knowledge-entry-inner .knowledge-head > .eyebrow,
  .knowledge-entry-inner .knowledge-title-row,
  .knowledge-entry-inner .knowledge-head > p:not(.eyebrow) {
    grid-column: 1;
    grid-row: auto;
  }

  .knowledge-entry-inner .knowledge-title-row {
    margin: 0 auto;
  }

  .knowledge-entry-inner .knowledge-head > p:not(.eyebrow) {
    margin-top: 14px;
    font-size: 16px;
  }
}

/* Admin content workspace */
.admin-brand-copy {
  display: grid;
  gap: 4px;
}

.admin-brand-copy strong {
  font-size: 19px;
}

.admin-brand-copy span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.admin-back-link {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-weight: 800;
}

.admin-back-link:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
}

.admin-home-button {
  white-space: nowrap;
}

.admin-version,
.admin-save-state {
  color: var(--muted);
  font-size: 13px;
}

.admin-alert {
  margin-bottom: 20px;
  padding: 13px 16px;
  border: 1px solid rgba(216, 17, 36, 0.22);
  border-radius: 8px;
  background: rgba(216, 17, 36, 0.06);
  color: #a70f20;
  font-weight: 800;
}

.admin-alert[data-tone="success"] {
  border-color: rgba(13, 146, 91, 0.24);
  background: rgba(13, 146, 91, 0.08);
  color: #087348;
}

.admin-panel-heading,
.content-manager-toolbar,
.content-editor-heading,
.content-editor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-panel-heading {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.admin-panel-heading h2,
.content-editor-heading h3 {
  margin: 0;
}

.admin-panel-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  text-align: right;
}

.admin-form-card,
.admin-upload-card,
.content-manager-toolbar,
.content-admin-list,
.content-editor,
.faq-admin-list,
.admin-diagnostics {
  margin-top: 18px;
}

.admin-upload-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.admin-upload-card h3,
.admin-upload-card p {
  margin-top: 0;
}

.admin-upload-preview {
  display: grid;
  place-items: center;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  text-align: center;
}

.admin-upload-preview img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
}

select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: white;
}

.article-input {
  min-height: 124px;
  white-space: pre-wrap;
}

.btn-compact {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
}

.content-manager-toolbar {
  margin-top: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.content-manager-toolbar > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.content-manager-toolbar strong {
  color: var(--blue);
  font-size: 25px;
}

.content-manager-toolbar span {
  color: var(--muted);
}

.content-manager-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.4fr);
  gap: 20px;
  align-items: start;
  margin-top: 18px;
}

.content-admin-list,
.faq-admin-list,
.admin-diagnostics {
  display: grid;
  gap: 12px;
  margin-top: 0;
}

.content-admin-item,
.faq-admin-item,
.diagnostic-item,
.diagnostic-success {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.content-admin-item > div:first-child,
.faq-admin-item > div:first-child {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.content-admin-item strong,
.faq-admin-item strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.content-admin-item small,
.faq-admin-item p,
.diagnostic-item p,
.diagnostic-success p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.content-admin-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.content-admin-actions button,
.icon-close {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--blue);
  cursor: pointer;
  font-weight: 800;
}

.content-admin-actions button {
  min-height: 36px;
  padding: 7px 11px;
}

.content-admin-actions .danger {
  color: var(--red);
}

.status-badge {
  width: max-content;
  padding: 4px 8px;
  border-radius: 6px;
  background: #e7edf7;
  color: #56657b;
  font-size: 12px;
  font-weight: 900;
}

.status-published {
  background: #dcf5e9;
  color: #087348;
}

.status-withdrawn {
  background: #f2e6e8;
  color: #9e2332;
}

.content-editor {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faff;
}

.content-editor-heading {
  margin-bottom: 20px;
}

.icon-close {
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}

.content-editor .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-grid {
  margin-top: 16px;
}

.content-editor-footer {
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.admin-empty {
  margin: 0;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.diagnostic-item {
  display: grid;
  grid-template-columns: 108px minmax(180px, 0.4fr) minmax(260px, 1fr);
  align-items: center;
}

.diagnostic-item > span {
  color: #9d6912;
  font-weight: 900;
}

.diagnostic-error > span {
  color: var(--red);
}

.diagnostic-success {
  display: block;
  border-color: rgba(13, 146, 91, 0.25);
  background: rgba(13, 146, 91, 0.06);
}

.admin-resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.admin-resource-links a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  font-weight: 800;
}

.content-title-link {
  color: inherit;
}

.ecosystem-admin-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.ecosystem-admin-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faff;
}

.ecosystem-admin-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.ecosystem-admin-heading > div:last-child {
  display: grid;
  gap: 6px;
}

.ecosystem-admin-logo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.ecosystem-admin-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.ecosystem-admin-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.ecosystem-admin-actions .danger {
  color: var(--red);
}

@media (max-width: 1120px) {
  .content-manager-layout {
    grid-template-columns: 1fr;
  }

  .content-editor-host:empty {
    display: none;
  }
}

@media (max-width: 720px) {
  .admin-panel {
    padding: 20px;
  }

  .admin-panel-heading,
  .content-manager-toolbar,
  .content-admin-item,
  .faq-admin-item,
  .content-editor-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-panel-heading > p {
    max-width: none;
    text-align: left;
  }

  .admin-upload-card,
  .content-editor .form-grid,
  .diagnostic-item {
    grid-template-columns: 1fr;
  }

  .content-admin-actions {
    width: 100%;
  }

  .content-admin-actions button {
    flex: 1;
  }

  .ecosystem-admin-actions {
    flex-direction: column;
  }

  .ecosystem-admin-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ecosystem-card,
  .ecosystem-mark img,
  .ecosystem-card h3,
  .ecosystem-card .ecosystem-description {
    transition: none;
  }
}
