/* ============================================================
   辨证云 · BIANZHENGYUN — 中医 AI 辨证数智平台
   base.css — light "rice-paper + ink" theme
   ============================================================ */

:root {
  /* paper & ink */
  --ink-0: #f8f5ee;
  --ink-1: #f3eee2;
  --ink-2: #eee8d9;
  --ink-3: #e7e0cf;

  /* jade */
  --jade-900: #0f4a3b;
  --jade-700: #16614e;
  --jade-600: #1c7359;
  --jade-500: #238866;
  --jade-400: #2f9c76;
  --jade-300: #237f64;
  --jade-200: #124d3d;
  --jade-100: #e8f1ec;

  /* gold */
  --gold-600: #7d5f24;
  --gold-500: #9a7a35;
  --gold-400: #8a6b2f;
  --gold-300: #b8975a;
  --gold-100: #f6efdd;

  /* seal red */
  --seal-600: #8f2f26;
  --seal-500: #a83a2f;
  --seal-400: #c04a3b;

  /* paper surfaces (light sections) */
  --paper-0: #fffdf8;
  --paper-1: #faf6ec;
  --paper-2: #f1ebdc;

  /* text on light */
  --text-0: #1b2621;
  --text-1: rgba(27, 38, 33, 0.86);
  --text-2: rgba(27, 38, 33, 0.66);
  --text-3: rgba(27, 38, 33, 0.5);

  /* text on paper */
  --inktext-0: #1b2621;
  --inktext-1: rgba(27, 38, 33, 0.78);
  --inktext-2: rgba(27, 38, 33, 0.6);

  /* lines */
  --line-1: rgba(27, 38, 33, 0.1);
  --line-2: rgba(27, 38, 33, 0.18);
  --line-gold: rgba(154, 122, 53, 0.32);
  --line-ink: rgba(27, 38, 33, 0.13);

  /* type */
  --font-serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong",
    "SimSun", "Times New Roman", serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Cascadia Code", ui-monospace,
    "SFMono-Regular", Menlo, monospace;

  /* geometry */
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --radius-xl: 28px;
  --pad-x: clamp(20px, 5vw, 88px);
  --max-w: 1280px;
  --nav-h: 74px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* dark island tokens — product screens / code blocks keep a dark surface */
.dark-context,
.engine-panel,
.code {
  --text-0: #f4f8f4;
  --text-1: rgba(233, 242, 236, 0.86);
  --text-2: rgba(206, 222, 213, 0.64);
  --text-3: rgba(186, 206, 196, 0.44);
  --line-1: rgba(120, 200, 168, 0.15);
  --line-2: rgba(120, 200, 168, 0.28);
  --line-gold: rgba(217, 188, 125, 0.3);
  --jade-300: #55c7a2;
  --jade-200: #8fe0c4;
  --gold-300: #ecd6a4;
  --gold-400: #d9bc7d;
  --inktext-0: #f2f7f3;
  --inktext-1: rgba(233, 242, 236, 0.86);
  --inktext-2: rgba(206, 222, 213, 0.62);
  color: var(--text-1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.78;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  /* fine paper grain */
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
::selection { background: rgba(35, 136, 102, 0.2); color: #0f2a22; }

/* ---------- scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-1); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--jade-400), var(--jade-700));
  border-radius: 10px;
  border: 2px solid var(--ink-1);
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text-0);
  line-height: 1.28;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.4vw, 4.4rem); line-height: 1.16; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.9rem); line-height: 1.22; }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.42rem); }
h4 { font-size: 1.02rem; font-family: var(--font-sans); font-weight: 600; }
p  { max-width: 68ch; }
strong { color: var(--text-0); font-weight: 600; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.serif { font-family: var(--font-serif); }
.text-muted { color: var(--text-2); }
.text-dim { color: var(--text-3); }
.text-jade { color: var(--jade-700); }
.text-gold { color: var(--gold-400); }
.text-seal { color: var(--seal-500); }
.hl {
  background: linear-gradient(transparent 78%, rgba(35, 136, 102, 0.2) 78%);
  padding: 0 0.06em;
}
.hl-gold {
  background: linear-gradient(transparent 78%, rgba(154, 122, 53, 0.2) 78%);
  padding: 0 0.06em;
}

/* eyebrow / kicker */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 22px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}
.kicker.center { justify-content: center; }
.kicker.center::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

/* ============================================================
   Layout
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.wrap-wide { max-width: 1560px; }

section { position: relative; }
.section { padding-block: clamp(62px, 7.5vw, 118px); }
.section-tight { padding-block: clamp(48px, 6vw, 88px); }

.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-2-1 { grid-template-columns: 1.15fr 0.85fr; }
.g-1-2 { grid-template-columns: 0.85fr 1.15fr; }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.flex { display: flex; }
.between { justify-content: space-between; }
.center { align-items: center; }
.gap-s { gap: 12px; }
.gap-m { gap: 22px; }
.gap-l { gap: 40px; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 26px; }
.mt-l { margin-top: 44px; }
.mb-m { margin-bottom: 26px; }
.tc { text-align: center; }
.mx-auto { margin-inline: auto; }

/* section header block */
.sec-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center p { margin-inline: auto; }
.sec-head h2 + p, .sec-head .lead { color: var(--text-2); font-size: clamp(1rem, 1.3vw, 1.12rem); }
.sec-head .lead { max-width: 72ch; }

.sec-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  color: var(--text-3);
  text-transform: uppercase;
}
.sec-rule::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, var(--line-2), transparent); }

/* backdrop helpers — light version */
.bg-ink-1 {
  background: linear-gradient(180deg, var(--ink-0) 0%, var(--ink-1) 14%, var(--ink-1) 86%, var(--ink-0) 100%);
}
.bg-ink-2 {
  background: linear-gradient(180deg, var(--ink-0) 0%, var(--ink-1) 18%, var(--ink-2) 52%, var(--ink-1) 84%, var(--ink-0) 100%);
}
.bg-jade-deep {
  background:
    radial-gradient(110% 90% at 12% 0%, rgba(35, 136, 102, 0.09), transparent 62%),
    radial-gradient(90% 80% at 92% 18%, rgba(154, 122, 53, 0.08), transparent 62%),
    linear-gradient(180deg, var(--ink-0) 0%, #f1f5ef 20%, #edf2ec 60%, #f6f3ea 88%, var(--ink-0) 100%);
}
.bg-paper { background: var(--paper-0); color: var(--inktext-1); }
.bg-paper h1, .bg-paper h2, .bg-paper h3, .bg-paper h4, .bg-paper strong { color: var(--inktext-0); }
.bg-paper .kicker { color: var(--gold-600); }
.bg-paper .sec-rule { color: rgba(27, 38, 33, 0.42); }
.bg-paper .sec-rule::after { background: linear-gradient(90deg, var(--line-ink), transparent); }
.bg-paper p { color: var(--inktext-1); }

.hairline { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* tech grid backdrop */
.grid-lines { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.grid-lines::before {
  content: "";
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(to right, rgba(27, 38, 33, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 38, 33, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 26%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 26%, transparent 76%);
}
.glow-orb {
  position: absolute;
  width: clamp(280px, 40vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text-0);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--line-2);
  transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s, box-shadow 0.4s, color 0.3s;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.35s var(--ease); font-family: var(--font-sans); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(135deg, var(--jade-500), var(--jade-600) 55%, var(--jade-700));
  border-color: transparent;
  color: #f7fbf8;
  font-weight: 600;
  box-shadow: 0 12px 28px -14px rgba(22, 97, 78, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover {
  box-shadow: 0 18px 38px -14px rgba(22, 97, 78, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.btn-ghost { background: rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { background: #fff; border-color: var(--line-gold); }
.btn-gold {
  background: linear-gradient(135deg, #e6cf9b, #c9a86a 60%, #b08a44);
  color: #302408;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 12px 26px -16px rgba(154, 122, 53, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 0.84rem; }
.btn-lg { min-height: 56px; padding: 0 34px; font-size: 1rem; }
.btn-icon { width: 48px; padding: 0; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--jade-700);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(22, 97, 78, 0.28);
  padding-bottom: 2px;
  transition: gap 0.3s var(--ease), color 0.3s, border-color 0.3s;
}
.link-arrow:hover { gap: 13px; color: var(--jade-600); border-color: var(--jade-600); }

/* ============================================================
   Nav
   ============================================================ */
.topbar { position: fixed; inset: 0 0 auto; z-index: 1000; transition: background 0.45s var(--ease), box-shadow 0.45s, backdrop-filter 0.45s; }
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--nav-h);
  transition: height 0.4s var(--ease);
}
.topbar.is-solid {
  --nav-h: 64px;
  background: rgba(249, 246, 238, 0.9);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-1), 0 18px 34px -32px rgba(27, 38, 33, 0.5);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--text-0);
  letter-spacing: 0.12em;
}
.brand-name sup { font-size: 0.5em; color: var(--gold-500); margin-left: 2px; letter-spacing: 0; }
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.22em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-size: 0.9rem;
  color: var(--text-2);
  border-radius: 8px;
  transition: color 0.25s, background 0.25s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.is-active { color: var(--text-0); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 1px;
  background: var(--jade-600);
  box-shadow: 0 0 8px rgba(35, 136, 102, 0.35);
}
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 16px; flex-shrink: 0; }
.nav-toggle { display: none; }

/* dropdown */
.nav-group { position: relative; }
.nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  min-width: 268px;
  padding: 10px;
  border-radius: var(--radius-m);
  background: rgba(255, 253, 248, 0.97);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -30px rgba(27, 38, 33, 0.4);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.nav-group:hover .nav-panel, .nav-group:focus-within .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-panel a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  color: var(--text-1);
  transition: background 0.2s, color 0.2s;
}
.nav-panel a small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
}
.nav-panel a:hover, .nav-panel a.is-active { background: var(--jade-100); color: var(--jade-900); }

/* mobile drawer */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-cta .btn:not(.nav-burger) { display: none; }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--line-2);
    border-radius: 10px;
    padding: 0 11px;
    background: rgba(255, 253, 248, 0.7);
  }
  .nav-toggle span { display: block; height: 1.5px; background: var(--text-1); transition: transform 0.3s var(--ease), opacity 0.2s; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}
@media (max-width: 1080px) {
  body.nav-open .nav {
    display: flex;
    position: fixed;
    inset: 64px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px var(--pad-x) 30px;
    background: rgba(250, 247, 240, 0.99);
    border-bottom: 1px solid var(--line-2);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 40px -30px rgba(27, 38, 33, 0.4);
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
  }
  body.nav-open .nav-link { padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid var(--line-1); border-radius: 0; }
  body.nav-open .nav-link.is-active::after { display: none; }
  body.nav-open .nav-panel { position: static; translate: none; opacity: 1; visibility: visible; transform: none; background: transparent; border: 0; box-shadow: none; padding: 4px 0 10px 12px; min-width: 0; }
  body.nav-open .nav-panel a { padding: 8px 0; }
  body.nav-open .nav-cta { margin-left: 0; }
  body.nav-open .nav-cta .btn { display: none; }
  body.nav-open .nav .btn { display: inline-flex; margin-top: 14px; }
  body.nav-open .nav .nav-mobile-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
}
.nav-mobile-cta { display: none; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  position: relative;
  padding: clamp(56px, 7vw, 92px) 0 32px;
  background: linear-gradient(180deg, #f6f1e5, #efe8d7);
  border-top: 1px solid var(--line-1);
  color: var(--text-2);
  font-size: 0.9rem;
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer a { color: var(--text-2); transition: color 0.2s; }
.footer a:hover { color: var(--jade-700); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 60px); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: 0.86rem; max-width: 34ch; line-height: 1.9; }
.footer-col nav { display: grid; gap: 10px; }
.footer-contact { display: grid; gap: 8px; }
.footer-contact .mono { font-size: 0.94rem; color: var(--text-1); letter-spacing: 0.04em; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--line-1);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: var(--text-3);
  line-height: 1.7;
}
.footer-bottom a { color: var(--text-3); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.seal-chip {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--text-3);
  padding: 5px 10px;
  border: 1px solid var(--line-1);
  border-radius: 4px;
}
.seal-chip::before { content: ""; width: 5px; height: 5px; border-radius: 1px; background: var(--seal-500); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Helpers
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

@media (max-width: 900px) {
  .g2, .g3, .g4, .split, .g-2-1, .g-1-2 { grid-template-columns: 1fr; }
  .g2.keep, .g3.keep { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .g2.keep, .g3.keep { grid-template-columns: 1fr; }
  .btn { padding: 0 20px; }
}

/* scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 1100;
  background: linear-gradient(90deg, var(--jade-500), var(--gold-400));
  box-shadow: 0 0 12px rgba(35, 136, 102, 0.35);
  pointer-events: none;
  transition: width 0.08s linear;
}

/* footer: five columns (product / tech / solutions / contact) */
.footer-grid { grid-template-columns: 1.45fr 0.82fr 0.82fr 1fr 1.05fr; }
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
