/* 枢联 Shulink — 单页官网
   Tokens traceable to design plan:
   ink-deep #0B1F33 · ink #1A2332 · paper #F5F7FA
   accent cyan #1FA2C8 · signal orange #E8A54B
   haze #8B9AAB · line #D8E0E8 */

:root {
  --ink-deep: #0B1F33;
  --ink-soft: #0F2A42;
  --ink-mid: #12304A;
  --ink: #1A2332;
  --paper: #F5F7FA;
  --surface: #FFFFFF;
  --muted-bg: #EEF2F6;
  --accent: #1FA2C8;
  --accent-soft: rgba(31, 162, 200, 0.12);
  --signal: #E8A54B;
  --signal-soft: rgba(232, 165, 75, 0.14);
  --haze: #8B9AAB;
  --haze-light: #C5D4E0;
  --line: #D8E0E8;
  --line-dark: rgba(139, 154, 171, 0.28);
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 8px 28px rgba(11, 31, 51, 0.08);
  --shadow-hover: 0 14px 36px rgba(11, 31, 51, 0.12);
  --container: 1120px;
  --header-h: 64px;
  --font-cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-mono: "SF Mono", "Cascadia Code", Consolas, "Roboto Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

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

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 31, 51, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  flex-shrink: 0;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand-row .brand-logo {
  width: 32px;
  height: 32px;
}

.footer-brand-row {
  color: #fff;
  margin-bottom: 4px;
}

.brand-mark {
  color: var(--accent);
  display: grid;
  place-items: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-text em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--haze);
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--haze-light);
  font-size: 14px;
  padding: 6px 2px;
  transition: color 0.2s var(--ease);
}

.site-nav a:hover {
  color: #fff;
}

.site-nav .nav-cta {
  margin-left: 8px;
  padding: 8px 16px;
  border: 1px solid var(--signal);
  border-radius: 999px;
  color: var(--signal);
  font-weight: 600;
}

.site-nav .nav-cta:hover {
  background: var(--signal);
  color: var(--ink-deep);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  background: var(--ink-deep);
  color: #fff;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 64px 0 72px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 162, 200, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 162, 200, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72em;
  letter-spacing: 0.08em;
  color: var(--haze-light);
  margin-left: 8px;
}

.hero-lead {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
  color: #fff;
  max-width: min(100%, 36em);
  margin-bottom: 12px;
}

.hero-badge {
  display: inline-block;
  font-style: normal;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.92em;
  letter-spacing: 0.04em;
  color: var(--ink-deep);
  background: linear-gradient(120deg, var(--signal), #f0c27a);
  border-radius: 6px;
  padding: 0.08em 0.42em;
  margin-right: 0.25em;
  vertical-align: 0.05em;
}

/* Brand motto in hero — single line on wide screens */
.hero-motto {
  margin: 0 0 18px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2em 0.45em;
  max-width: min(100%, 40em);
}

.motto-line {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.motto-sep {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  color: var(--haze);
  line-height: 1.3;
  user-select: none;
}

.motto-line .hero-badge {
  font-size: 0.85em;
  margin-right: 0.28em;
}

.motto-connect {
  color: var(--signal);
  letter-spacing: 0.12em;
}

.footer-motto {
  margin-top: 10px;
  font-size: 14px;
  color: var(--signal);
  letter-spacing: 0.06em;
}

/* Philosophy section */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.philosophy-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.philosophy-shu {
  border-top: 3px solid var(--signal);
}

.philosophy-lian {
  border-top: 3px solid var(--accent);
}

.philosophy-char {
  position: absolute;
  right: 12px;
  top: 4px;
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  opacity: 0.1;
  user-select: none;
  pointer-events: none;
}

.philosophy-shu .philosophy-char {
  color: var(--signal);
}

.philosophy-lian .philosophy-char {
  color: var(--accent);
}

.philosophy-en {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--haze);
  margin-bottom: 8px;
  white-space: nowrap;
}

.philosophy-shu .philosophy-en {
  color: #b07a28;
}

.philosophy-lian .philosophy-en {
  color: var(--accent);
}

.philosophy-body {
  position: relative;
  z-index: 1;
  max-width: min(100%, 36em);
}

.philosophy-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.philosophy-body > p {
  color: var(--haze);
  font-size: 14.5px;
  margin-bottom: 14px;
  text-wrap: pretty;
}

.philosophy-body ul li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
  font-size: 13.5px;
  color: var(--ink);
}

.philosophy-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.philosophy-shu .philosophy-body ul li::before {
  background: var(--signal);
}

.philosophy-banner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
  background: var(--ink-deep);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  border: 1px solid var(--line-dark);
}

.banner-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 10px;
}

.banner-main {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 10px;
  color: #fff;
}

.banner-sub {
  font-size: 14px;
  color: var(--haze);
  max-width: min(100%, 40em);
  text-wrap: pretty;
}

.philosophy-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.philosophy-flow li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(15, 42, 66, 0.7);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--haze-light);
}

.philosophy-flow li span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--signal);
  letter-spacing: 0.06em;
}

/* Method: how the system solves problems */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.method-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr;
  border-top: 3px solid var(--accent);
}

.method-card-hub {
  border-top-color: var(--signal);
}

.method-card-wide {
  grid-column: 1 / -1;
  grid-template-columns: 0.9fr 1.3fr;
  grid-template-rows: auto;
}

.method-side {
  padding: 24px 24px 16px;
  background: rgba(245, 247, 250, 0.9);
}

.method-card-wide .method-side {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.method-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}

.method-card-hub .method-kicker {
  color: #b07a28;
}

.method-side h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.method-pain {
  font-size: 13.5px;
  color: var(--haze);
}

.method-body {
  padding: 18px 24px 24px;
}

.method-do {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--haze);
  margin-bottom: 10px;
}

.method-body ul li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--ink);
}

.method-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.method-card-hub .method-body ul li::before {
  background: var(--signal);
}

.method-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 12px !important;
}

.method-inline li {
  margin-bottom: 0 !important;
}

.method-cap {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--haze);
}

/* AI+ gap comparison — unused after method rewrite; keep gap styles for #problems table only */
.gap-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gap-item {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease);
}

.gap-item:hover {
  box-shadow: var(--shadow);
}

.gap-pain,
.gap-fix {
  padding: 24px 26px;
}

.gap-pain {
  background: rgba(26, 35, 50, 0.03);
  border-right: 0;
}

.gap-fix {
  background: linear-gradient(180deg, rgba(232, 165, 75, 0.08), rgba(232, 165, 75, 0.02));
}

.gap-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

.gap-pain .gap-label {
  color: var(--haze);
}

.gap-fix .gap-label {
  color: #b07a28;
}

.gap-pain h3,
.gap-fix h3 {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.35;
}

.gap-pain h3 {
  color: var(--ink);
}

.gap-fix h3 {
  color: var(--ink);
}

.gap-pain p,
.gap-fix p {
  font-size: 14.5px;
  color: var(--haze);
}

.gap-bridge {
  display: grid;
  place-items: center;
  background: var(--ink-deep);
  position: relative;
}

.gap-bridge span {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--signal);
  writing-mode: horizontal-tb;
}

.gap-bridge::before,
.gap-bridge::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  transform: translateX(-50%);
}

.gap-bridge::before {
  top: 0;
  border-width: 10px 8px 0 8px;
  border-color: var(--signal) transparent transparent transparent;
  opacity: 0.35;
}

.gap-bridge::after {
  bottom: 0;
  border-width: 0 8px 10px 8px;
  border-color: transparent transparent var(--accent) transparent;
  opacity: 0.35;
}

/* AI-emphasized capability cards */
.cap-card-ai {
  border-color: rgba(232, 165, 75, 0.45);
  box-shadow: 0 0 0 1px rgba(232, 165, 75, 0.08);
}

.cap-card-ai .cap-icon {
  color: var(--signal);
}

.cap-card-ai h3::after {
  content: "AI+";
  display: inline-block;
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #b07a28;
  background: var(--signal-soft);
  border-radius: 4px;
  padding: 2px 6px;
  vertical-align: 2px;
}

.cap-card-ai ul li::before {
  background: var(--signal);
}

.hero-sub {
  color: var(--haze);
  max-width: min(100%, 38em);
  margin-bottom: 32px;
  text-wrap: pretty;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s, transform 0.2s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: var(--ink-deep);
}

.btn-primary:hover {
  background: #3bb4d6;
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--line-dark);
  color: var(--haze-light);
}

.btn-ghost:hover {
  border-color: var(--haze);
  color: #fff;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.signal-svg {
  width: min(100%, 520px);
  height: auto;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-light {
  background: var(--paper);
}

.section-muted {
  background: var(--muted-bg);
}

.section-dark {
  background: var(--ink-deep);
  color: #fff;
}

.section-head {
  max-width: min(100%, 880px);
  margin-bottom: 48px;
}

.section-head-light .section-desc {
  color: var(--haze);
}

.section-code {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--ink);
  text-wrap: balance;
}

.section-dark .section-head h2 {
  color: #fff;
}

.section-desc {
  color: var(--haze);
  font-size: 16px;
  max-width: min(100%, 40em);
  text-wrap: pretty;
}

/* Product duo */
.product-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  border-top: 3px solid var(--accent);
}

.product-card-b {
  border-top-color: var(--signal);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.product-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.product-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.product-tag.tag-edge {
  background: var(--signal-soft);
  color: #b07a28;
}

.product-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--haze);
  letter-spacing: 0.08em;
}

.product-card h3 {
  font-size: 24px;
  margin-bottom: 4px;
}

.product-en {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--haze);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  white-space: nowrap;
}

.product-lead {
  color: var(--ink);
  margin-bottom: 16px;
  text-wrap: pretty;
}

.product-points {
  margin-bottom: 20px;
}

.product-points li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  color: var(--haze);
  font-size: 14.5px;
}

.product-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.product-card-b .product-points li::before {
  background: var(--signal);
}

.text-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  transition: color 0.2s;
}

.text-link:hover {
  color: var(--ink);
}

/* Compare strip */
.compare-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1.2fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.compare-row:last-child {
  border-bottom: 0;
}

.compare-row > div {
  padding: 14px 18px;
  font-size: 14.5px;
  color: var(--ink);
}

.compare-row > div:first-child {
  color: var(--haze);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  background: rgba(245, 247, 250, 0.8);
}

.compare-head > div {
  font-weight: 600;
  font-family: var(--font-cn);
  font-size: 14px;
  color: var(--ink) !important;
  background: var(--muted-bg) !important;
  letter-spacing: 0 !important;
}

/* Architecture */
.arch-wrap {
  background: rgba(15, 42, 66, 0.65);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 24px 12px;
  margin-bottom: 28px;
  overflow-x: auto;
}

.arch-svg {
  width: 100%;
  min-width: 720px;
  height: auto;
}

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

.arch-notes li {
  padding: 16px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: rgba(15, 42, 66, 0.45);
  color: var(--haze);
  font-size: 14px;
}

.arch-notes strong {
  display: block;
  color: #fff;
  margin-bottom: 6px;
  font-size: 15px;
}

/* Capability grid (nycloud) */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cap-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.cap-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.cap-card-wide {
  grid-column: 1 / -1;
}

.cap-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 14px;
}

.cap-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.cap-card > p {
  color: var(--haze);
  font-size: 14.5px;
  margin-bottom: 14px;
}

.cap-card ul li,
.cap-card .inline-list li {
  position: relative;
  padding-left: 14px;
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 6px;
}

.cap-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.inline-list li {
  margin: 0 !important;
}

/* Access (dtu-tcp) */
.access-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.access-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.access-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.access-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  padding-top: 2px;
}

.access-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.access-item p {
  color: var(--haze);
  font-size: 14.5px;
}

.access-panel {
  background: var(--ink-deep);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--line-dark);
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.panel-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 20px;
}

.path-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}

.path-steps li {
  display: grid;
  grid-template-columns: 16px 1fr;
  column-gap: 14px;
  row-gap: 2px;
  padding-bottom: 18px;
  position: relative;
}

.path-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 16px;
  bottom: 0;
  width: 1px;
  background: var(--line-dark);
}

.path-dot {
  grid-row: 1 / span 2;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  margin-left: 2px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 162, 200, 0.2);
}

.path-dot.accent {
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(232, 165, 75, 0.22);
}

.path-steps strong {
  font-size: 15px;
}

.path-steps span:last-child {
  grid-column: 2;
  font-size: 13px;
  color: var(--haze);
}

.panel-meta {
  border-top: 1px solid var(--line-dark);
  padding-top: 16px;
  display: grid;
  gap: 10px;
}

.panel-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.panel-meta span {
  color: var(--haze);
}

.panel-meta code {
  color: var(--haze-light);
}

/* Scenarios */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.scenario-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.scenario-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--signal);
  margin-bottom: 10px;
}

.scenario-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.scenario-desc {
  color: var(--haze);
  font-size: 14px;
  margin-bottom: 18px;
}

.scenario-flow {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.scenario-flow li {
  position: relative;
  padding: 12px 12px 12px 14px;
  background: var(--paper);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--accent);
  font-size: 13.5px;
  color: var(--ink);
}

.scenario-flow li span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 2px;
  text-transform: uppercase;
}

/* Tech */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tech-item {
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(15, 42, 66, 0.45);
  transition: border-color 0.2s var(--ease);
}

.tech-item:hover {
  border-color: rgba(31, 162, 200, 0.55);
}

.tech-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #fff;
}

.tech-item p {
  color: var(--haze);
  font-size: 14px;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: start;
}

.about-layout .section-head {
  margin-bottom: 20px;
}

.about-text {
  color: var(--haze);
  margin-bottom: 14px;
  max-width: min(100%, 48em);
  text-wrap: pretty;
}

.about-meta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 0;
  margin: 0;
}

.about-meta > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.about-meta > div:last-child {
  border-bottom: 0;
}

.about-meta dt {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--haze);
  letter-spacing: 0.06em;
}

.about-meta dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 500;
}

/* Contact */
.contact-layout .section-head {
  margin-bottom: 32px;
}

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

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

a.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--haze);
}

.contact-card strong {
  font-size: 16px;
  font-weight: 600;
  word-break: break-all;
}

/* Footer */
.site-footer {
  background: var(--ink-deep);
  color: var(--haze);
  padding: 48px 0 36px;
  border-top: 1px solid var(--line-dark);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-brand .brand-text strong {
  color: #fff;
}

.footer-brand p {
  margin-top: 10px;
  font-size: 14px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--haze-light);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-copy {
  text-align: right;
  font-size: 13px;
}

.footer-note {
  margin-top: 6px;
  color: var(--haze);
  font-family: var(--font-mono);
  font-size: 12px;
}

/* Reveal (optional, reduced-motion safe) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .packet {
    /* animateMotion is SMIL; leave as is */
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .packet {
    display: none;
  }

  .product-card:hover,
  .cap-card:hover,
  .btn-primary:hover {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .gap-item {
    grid-template-columns: 1fr;
  }

  .gap-bridge {
    min-height: 48px;
  }

  .gap-bridge::before,
  .gap-bridge::after {
    display: none;
  }

  .philosophy-grid,
  .philosophy-banner,
  .method-grid,
  .method-card-wide {
    grid-template-columns: 1fr;
  }

  .philosophy-char {
    font-size: 72px;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 56px;
  }

  .hero-visual {
    order: -1;
  }

  .signal-svg {
    width: min(100%, 400px);
  }

  .product-duo,
  .capability-grid,
  .access-layout,
  .scenario-grid,
  .tech-grid,
  .about-layout,
  .contact-cards,
  .footer-inner,
  .arch-notes {
    grid-template-columns: 1fr 1fr;
  }

  .cap-card-wide {
    grid-column: auto;
  }

  .access-panel {
    position: static;
  }

  .footer-copy {
    text-align: left;
    grid-column: 1 / -1;
  }
}

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

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 31, 51, 0.98);
    border-bottom: 1px solid var(--line-dark);
    padding: 8px 20px 16px;
  }

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

  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line-dark);
    min-height: 44px;
  }

  .site-nav .nav-cta {
    margin: 12px 0 4px;
    text-align: center;
    border-bottom: 0;
  }

  .product-duo,
  .capability-grid,
  .access-layout,
  .scenario-grid,
  .tech-grid,
  .about-layout,
  .contact-cards,
  .footer-inner,
  .arch-notes,
  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .compare-row {
    grid-template-columns: 1fr;
  }

  .compare-row > div:first-child {
    padding-bottom: 4px;
  }

  .compare-head {
    display: none;
  }

  .compare-row > div:nth-child(2)::before {
    content: "农业云 · ";
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 12px;
  }

  .compare-row > div:nth-child(3)::before {
    content: "DTU-TCP · ";
    color: var(--signal);
    font-family: var(--font-mono);
    font-size: 12px;
  }

  .section {
    padding: 64px 0;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

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

@media (max-width: 375px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero h1 span {
    display: block;
    margin-left: 0;
    margin-top: 6px;
  }

  .motto-line {
    white-space: normal;
  }

  .product-en,
  .philosophy-en {
    white-space: normal;
  }

  .contact-card strong {
    font-size: 14px;
  }
}
