/* =========================================================
   叁师智学 · 公司展示站
   Design system: trust blue + teal, light glass, editorial spacing
   ========================================================= */

:root {
  --brand: #045A94;
  --brand-2: #067B93;
  --brand-deep: #033E63;
  --teal: #009E97;
  --teal-2: #12BDB3;
  --ink: #0B2233;
  --ink-2: #3B5266;
  --muted: #5C7387;
  --teal-text: #00776F;
  --line: #E2EBF2;
  --line-strong: #CFDEE9;
  --bg-soft: #F4F9FC;
  --dark: #062C44;
  --dark-2: #041C2B;
  --grad: linear-gradient(120deg, #054E97 0%, #03779A 55%, #00A49D 100%);
  --grad-btn: linear-gradient(120deg, #045A94 0%, #056A92 60%, #067D8E 100%);
  --grad-soft: linear-gradient(120deg, rgba(5, 78, 151, .10), rgba(0, 164, 157, .12));
  --shadow-sm: 0 4px 14px rgba(6, 60, 100, .05);
  --shadow: 0 18px 40px -20px rgba(6, 60, 100, .25);
  --shadow-lg: 0 34px 70px -30px rgba(6, 60, 100, .35);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 28px;
  --w: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-cn: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4, p, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }

::selection { background: rgba(0, 164, 157, .2); }

:focus-visible {
  outline: 3px solid rgba(0, 158, 151, .5);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 10px 10px;
  font-size: 14px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.container {
  width: 100%;
  max-width: var(--w);
  margin: 0 auto;
  padding-inline: clamp(20px, 4.4vw, 32px);
}

/* ---------- Buttons & small pieces ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s, background-color .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn-primary {
  background-image: var(--grad-btn);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(4, 90, 148, .6);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -14px rgba(4, 90, 148, .65);
}

.btn-ghost {
  background: rgba(255, 255, 255, .75);
  border-color: var(--line-strong);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #fff; }

.btn-lg { min-height: 54px; padding: 0 28px; font-size: 15.5px; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--brand);
  text-transform: uppercase;
}
.eyebrow.light { color: #79E4DB; }
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 158, 151, .14);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 158, 151, .1);
  color: #00706B;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.tag-soft { background: #EFF6FA; color: var(--brand); }
.tag-line { background: transparent; border: 1px solid var(--line-strong); color: var(--ink-2); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.pill-soft { background: #EDF6FA; color: var(--brand); }
.pill-ok { background: #E6F8F4; color: #00726C; }

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--grad-soft);
  color: var(--brand);
}

.br-desktop { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .25s, box-shadow .25s, backdrop-filter .25s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(6, 60, 100, .3);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.brand-text { display: flex; flex-direction: column; gap: 4px; }
.brand-word { width: 88px; height: auto; }
.brand-sub {
  font-family: var(--font-cn);
  font-size: 9.5px;
  letter-spacing: .24em;
  color: var(--muted);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 0;
  transition: color .2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--brand); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, .8);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed;
  top: 78px;
  left: 0;
  right: 0;
  max-height: calc(100vh - 78px);
  overflow-y: auto;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 24px 40px -20px rgba(6, 60, 100, .25);
  padding: 16px 20px 28px;
}
.mobile-menu[hidden] { display: none; }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav a {
  padding: 14px 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a.btn {
  margin-top: 18px;
  border-bottom: 0;
  color: #fff;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 142px;
  padding-bottom: 56px;
  overflow: hidden;
  background: #FAFCFE;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.blob-a {
  width: 620px;
  height: 620px;
  top: -220px;
  right: -120px;
  background: radial-gradient(circle, rgba(0, 164, 157, .22), transparent 65%);
}
.blob-b {
  width: 700px;
  height: 700px;
  top: 120px;
  left: -280px;
  background: radial-gradient(circle, rgba(5, 78, 151, .14), transparent 65%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(5, 78, 151, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(5, 78, 151, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}

.hero-copy,
.hero-visual { min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-family: var(--font-cn);
  font-size: clamp(2.05rem, 4.1vw, 3.45rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.02em;
  color: var(--ink);
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin-top: 22px;
  max-width: 540px;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--ink-2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-strong);
}
.hero-facts dt {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .04em;
}
.hero-facts dd {
  margin: 2px 0 0;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.hero-facts dd em { font-size: 13px; font-style: normal; font-weight: 600; margin-left: 1px; }

/* ---------- Dashboard ---------- */
.hero-visual { position: relative; min-width: 0; }
.dash {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(6, 60, 100, .05);
  padding: 20px;
  backdrop-filter: blur(18px);
}
.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #EDF3F8;
}
.dash-title { display: flex; align-items: center; gap: 10px; }
.dash-title div { display: flex; flex-direction: column; }
.dash-title strong { font-size: 14px; font-weight: 700; }
.dash-title span { font-size: 11px; color: var(--muted); }
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 158, 151, .15);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0 18px;
}
.dstat {
  padding: 10px 12px;
  border-radius: 12px;
  background: #F6FAFD;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dstat > span { font-size: 10.5px; color: var(--muted); }
.dstat strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.dstat strong em { font-size: 11px; font-style: normal; color: var(--muted); margin-left: 1px; }
.trend { font-size: 10px; font-style: normal; color: #0A8F62; }
.trend.muted { color: var(--muted); }

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-2);
  font-weight: 600;
}
.chart-legend { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: var(--muted); font-weight: 500; }
.chart-legend i { width: 7px; height: 7px; border-radius: 2px; background: var(--teal); }

.bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  align-items: end;
  height: 128px;
  margin-top: 10px;
  padding-top: 8px;
}
.bar {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  height: 100%;
}
.bar span {
  width: 100%;
  max-width: 26px;
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #CFE7F4, #E4F1F8);
  transform-origin: bottom;
}
.bar.is-peak span { background: linear-gradient(180deg, #00A49D, #0577A0); }
.bar i { font-size: 9.5px; font-style: normal; color: #93A7B7; }
.bar.is-peak i { color: var(--brand); font-weight: 700; }

.dash-weak { margin-top: 16px; padding-top: 14px; border-top: 1px solid #EDF3F8; }
.dash-weak-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.link-mini { color: var(--brand); font-size: 10.5px; font-weight: 600; cursor: default; }
.weak-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}
.rank {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: #EDF5FA;
  color: #7A93A6;
  font-size: 9.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.weak-row:first-of-type .rank { background: #E2F6F3; color: #00706B; }
.weak-info { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.weak-info strong { font-size: 11px; font-weight: 500; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter { flex: 1; min-width: 24px; height: 4px; border-radius: 4px; background: #EDF3F8; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #7CC9D8, #00A49D); }
.weak-row > em { font-size: 10px; font-style: normal; color: var(--muted); }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}
.float-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.float-card div { display: flex; flex-direction: column; line-height: 1.35; }
.float-card span { font-size: 10px; color: var(--muted); }
.float-card strong { font-size: 12px; font-weight: 700; color: var(--ink); }
.float-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EEF5FA;
  color: var(--brand);
}
.float-icon .icon { width: 15px; height: 15px; }
.float-icon.teal { background: #E6F7F5; color: #00847E; }

.trust-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 58px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.trust-strip li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}
.trust-strip li:first-child { padding-left: 0; border-left: 0; }
.trust-k {
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 600;
}
.trust-v { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding-block: clamp(68px, 8vw, 116px);
}
.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid #E9F1F7;
  border-bottom: 1px solid #E9F1F7;
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head h2 {
  margin-top: 16px;
  font-family: var(--font-cn);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -.015em;
}
.section-sub {
  margin-top: 16px;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- Pain cards ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pain-card {
  position: relative;
  padding: 30px 26px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.pain-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #D4E6F1; }
.pain-num {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  color: #EDF4F9;
  letter-spacing: -.04em;
}
.pain-card h3 { margin: 20px 0 10px; font-size: 17.5px; font-weight: 700; line-height: 1.5; }
.pain-card p { font-size: 14px; line-height: 1.85; color: var(--muted); min-height: 76px; }
.pain-card .tag { margin-top: 14px; }

.insight {
  margin-top: 30px;
  padding: 22px 28px;
  border-left: 3px solid var(--teal);
  background: linear-gradient(90deg, #F1F9FA, rgba(244, 250, 252, .3));
  border-radius: 0 14px 14px 0;
  font-family: var(--font-cn);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-2);
}
.insight strong { color: var(--ink); }

/* ---------- Three roles ---------- */
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.role-card {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.role-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.role-card-ai {
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  border: 1px solid transparent;
}
.role-char {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-cn);
  font-size: 19px;
  font-weight: 700;
  box-shadow: 0 10px 20px -10px rgba(4, 90, 148, .6);
}
.role-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 10px;
}
.role-head h3 { font-size: 19px; font-weight: 700; }
.role-title { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.role-card > p { font-size: 14px; line-height: 1.85; color: var(--muted); min-height: 78px; }
.role-list { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-strong); display: grid; gap: 9px; }
.role-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.role-list .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--teal); }

.loop-block {
  margin-top: 28px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.loop-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 24px; }
.loop-head h3 { font-size: 19px; font-weight: 700; }
.loop-head p { font-size: 13.5px; color: var(--muted); }
.loop-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.loop-steps li {
  position: relative;
  padding: 18px 16px;
  border-radius: 14px;
  background: #F7FBFD;
  border: 1px solid #EDF3F8;
  transition: background-color .25s, border-color .25s;
}
.loop-steps li:hover { background: #F1F9FA; border-color: #D8ECEE; }
.step-num {
  font-size: 10.5px;
  font-weight: 700;
  color: #9CB1C2;
  letter-spacing: .06em;
}
.loop-steps strong { display: block; font-size: 17px; margin: 4px 0 6px; }
.step-role {
  position: absolute;
  top: 16px;
  right: 14px;
  font-size: 10px;
  color: var(--brand);
  background: #E9F4FA;
  padding: 2px 7px;
  border-radius: 999px;
}
.loop-steps p { font-size: 12px; line-height: 1.6; color: var(--muted); }

/* ---------- Platform chain ---------- */
.chain {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.chain-row { display: grid; grid-template-columns: repeat(5, 1fr); }
.chain-item {
  padding: 28px 22px;
  border-right: 1px solid #EDF3F8;
}
.chain-item:last-child { border-right: 0; }
.chain-char {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad-soft);
  color: var(--brand);
  font-family: var(--font-cn);
  font-size: 17px;
  font-weight: 700;
}
.chain-item h3 { margin: 16px 0 12px; font-size: 16px; font-weight: 700; }
.chain-item ul { display: grid; gap: 7px; }
.chain-item li {
  position: relative;
  padding-left: 12px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}
.chain-item li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal-2);
}
.chain-ai {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 14px 22px;
  background: linear-gradient(90deg, rgba(0, 164, 157, .07), rgba(5, 78, 151, .05));
  border-top: 1px solid #E8F2F4;
}
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #DCEDEF;
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 700;
}
.ai-badge .icon { width: 14px; height: 14px; color: var(--teal); }
.ai-item { position: relative; padding-left: 14px; font-size: 12.5px; color: var(--ink-2); }
.ai-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--brand-2);
}
.chain-base {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  background: #072F47;
  color: #CFE6F2;
  font-size: 12px;
  line-height: 1.6;
}
.chain-base .icon { width: 17px; height: 17px; color: #4DDCD2; }

.module-strip {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 24px;
}
.module-label {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  padding-top: 8px;
  letter-spacing: .04em;
}
.module-strip ul { display: flex; flex-wrap: wrap; gap: 8px; }
.module-strip li {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-2);
  background: #fff;
}

/* ---------- Feature tabs ---------- */
.feature-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.feature-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 96px;
}
.ftab {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 13px 14px;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  transition: background-color .22s, border-color .22s, box-shadow .22s, transform .22s;
}
.ftab:hover { background: rgba(255, 255, 255, .8); border-color: var(--line); }
.ftab.is-active {
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.ftab-char {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: #E7F2F8;
  color: var(--brand);
  font-family: var(--font-cn);
  font-size: 15px;
  font-weight: 700;
  transition: background .22s, color .22s;
}
.ftab.is-active .ftab-char { background: var(--grad); color: #fff; }
.ftab-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ftab-body strong { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.ftab-body em { font-size: 11.5px; font-style: normal; color: var(--muted); white-space: nowrap; }
.ftab-arrow { width: 16px; height: 16px; margin-left: auto; color: var(--brand); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.ftab.is-active .ftab-arrow { opacity: 1; transform: none; }

.feature-stage { min-width: 0; }
.fpanel { display: grid; gap: 22px; min-height: 590px; align-content: start; animation: panelIn .35s var(--ease); }
.fpanel[hidden] { display: none; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.fpanel-copy .tag { margin-bottom: 12px; }
.fpanel-copy h3 { font-family: var(--font-cn); font-size: 23px; font-weight: 700; line-height: 1.45; letter-spacing: -.01em; }
.fpanel-copy p { margin-top: 10px; font-size: 14.5px; line-height: 1.85; color: var(--muted); max-width: 680px; }
.fpanel-list { margin-top: 14px; display: grid; gap: 7px; }
.fpanel-list li {
  position: relative;
  padding-left: 15px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
}
.fpanel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- Product mockups ---------- */
.mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 50px -30px rgba(6, 60, 100, .35);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 11px 16px;
  background: #F7FBFD;
  border-bottom: 1px solid #EDF3F8;
}
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D8E5EF; }
.mock-bar span { margin-left: 8px; font-size: 11px; color: var(--muted); font-weight: 500; }
.mock-body { padding: 18px; }

.seg {
  display: inline-flex;
  padding: 3px;
  background: #EFF6FA;
  border-radius: 999px;
  margin-bottom: 16px;
}
.seg-btn {
  padding: 4px 16px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 999px;
}
.seg-btn.is-on { background: #fff; color: var(--brand); box-shadow: 0 2px 8px rgba(6, 60, 100, .08); }

.study-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.study-head div { display: flex; flex-direction: column; gap: 3px; }
.study-head strong { font-size: 15px; font-weight: 700; }
.study-head span { font-size: 11px; color: var(--muted); }
.ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(closest-side, #fff 76%, transparent 77% 99%), conic-gradient(#00A49D 76%, #E7F2F7 0);
}
.ring b { font-size: 13px; line-height: 1.1; color: var(--brand); }
.ring em { font-size: 8px; font-style: normal; color: var(--muted); }
.study-bar { height: 5px; border-radius: 5px; background: #EDF4F8; margin: 14px 0 16px; overflow: hidden; }
.study-bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #6BC7D6, #00A49D); }

.sentence-list { display: grid; gap: 8px; }
.sentence-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #EDF3F8;
  border-radius: 10px;
  background: #FBFDFE;
}
.sentence-list li > span { font-size: 10px; color: #A4B8C7; font-variant-numeric: tabular-nums; }
.sentence-list p { flex: 1; font-size: 12px; color: var(--ink-2); line-height: 1.65; }
.sentence-list em {
  flex: none;
  font-size: 9.5px;
  font-style: normal;
  padding: 2px 7px;
  border-radius: 999px;
  background: #EFF4F7;
  color: var(--muted);
}
.sentence-list li.is-done { background: #F6FCFA; border-color: #DFF3EE; }
.sentence-list li.is-done em { background: #E2F6F1; color: #00796B; }
.sentence-list li.is-review { background: #FFFCF4; border-color: #F4EBD6; }
.sentence-list li.is-review em { background: #FBF1DA; color: #9A6A12; }

.chat { display: grid; gap: 14px; }
.chat-user { display: flex; gap: 10px; align-items: flex-start; }
.chat-user span {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  background: #EEF5FA;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-user p {
  padding: 9px 13px;
  background: #F4F9FC;
  border-radius: 4px 12px 12px 12px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.65;
}
.chat-ai { padding-left: 36px; }
.ai-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--teal-text);
  margin-bottom: 8px;
}
.ai-label .icon { width: 13px; height: 13px; }
.chat-ai ol { display: grid; gap: 7px; counter-reset: c; }
.chat-ai li {
  position: relative;
  padding-left: 22px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-2);
  counter-increment: c;
}
.chat-ai li::before {
  content: counter(c);
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #E9F6F6;
  color: #00847E;
  font-size: 9.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-ai li strong { color: var(--ink); font-weight: 600; }
.term {
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #F7FBFD;
  border-left: 2px solid #92D8D4;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.chat-actions { display: flex; gap: 14px; margin-top: 10px; font-size: 10.5px; color: #7A93A6; }
.chat-actions .like { color: var(--teal); font-weight: 600; }

.upload-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1.5px dashed #C9DFEC;
  border-radius: 12px;
  background: #F9FCFE;
}
.upload-icon {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  background: #E8F4F9;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-icon .icon { width: 18px; height: 18px; }
.upload-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.upload-info strong { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.upload-info span { font-size: 10.5px; color: var(--muted); }

.stage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.stage-card {
  padding: 12px;
  border: 1px solid #EDF3F8;
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: center;
}
.stage-label { font-size: 10px; color: var(--muted); }
.stage-card strong { font-size: 22px; font-weight: 700; color: var(--brand); line-height: 1.3; }
.stage-card em { font-size: 9.5px; font-style: normal; color: #9AAEBD; }

.ready-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  font-size: 11px;
  color: var(--ink-2);
}
.ready-row .icon { width: 14px; height: 14px; color: var(--teal); }
.ready-row b {
  margin-left: auto;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--grad-btn);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
}

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.guide-card {
  position: relative;
  padding: 14px;
  border: 1px solid #EDF3F8;
  border-radius: 12px;
  background: #FBFDFE;
}
.guide-step { font-size: 9.5px; letter-spacing: .06em; color: #9AAEBD; }
.guide-card strong { display: block; font-size: 13.5px; font-weight: 700; margin: 3px 0 8px; }
.guide-status {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #EFF4F7;
  color: var(--muted);
}
.guide-status.is-live { background: #E2F6F1; color: #00796B; }
.guide-status.is-edit { background: #FBF1DA; color: #916310; }
.guide-card ul { display: grid; gap: 4px; }
.guide-card li { font-size: 10px; color: var(--muted); line-height: 1.55; }
.flow-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  font-size: 10px;
  color: var(--muted);
}
.flow-line i { flex: 1; height: 1px; background: linear-gradient(90deg, #CFE4EF, transparent); position: relative; }
.flow-line i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  border-top: 1px solid #A9C6D8;
  border-right: 1px solid #A9C6D8;
  transform: rotate(45deg);
}
.flow-line span:last-child { color: var(--brand); font-weight: 600; }

.wrong-card { border: 1px solid #EDF3F8; border-radius: 12px; padding: 14px; background: #FBFDFE; }
.wrong-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.wrong-meta .tag { font-size: 10px; padding: 2px 8px; }
.wrong-id { font-size: 9.5px; color: #A4B8C7; }
.wrong-q { font-size: 12.5px; line-height: 1.7; color: var(--ink); }
.wrong-answer { margin-top: 10px; padding: 9px 11px; border-radius: 8px; background: #fff; border: 1px solid #EDF3F8; }
.wrong-answer span { font-size: 9.5px; color: var(--muted); }
.wrong-answer p { font-size: 11px; line-height: 1.65; color: var(--ink-2); margin-top: 2px; }
.ai-note {
  display: flex;
  gap: 7px;
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #FFF7F4;
  border-left: 2px solid #E58B62;
  font-size: 10.5px;
  line-height: 1.7;
  color: #7C5545;
}
.ai-note .icon { width: 14px; height: 14px; color: #C2693F; margin-top: 2px; }
.ai-note b { color: #B24A2A; }

.practice-row { margin-top: 14px; }
.practice-head { display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; font-weight: 600; color: var(--ink-2); }
.practice-items { display: flex; gap: 8px; margin-top: 8px; }
.practice-item {
  flex: 1;
  padding: 9px 10px;
  border: 1px solid #EDF3F8;
  border-radius: 9px;
  background: #fff;
  font-size: 10px;
  color: var(--ink-2);
  line-height: 1.55;
}
.practice-item em {
  display: block;
  font-style: normal;
  font-size: 9px;
  color: var(--teal-text);
  font-weight: 700;
  margin-bottom: 2px;
}

.report-top { display: flex; align-items: center; gap: 22px; }
.donut {
  width: 108px;
  height: 108px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(closest-side, #fff 71%, transparent 72% 99%),
    conic-gradient(#045A94 0 52%, #00A49D 52% 82.7%, #E6F0F5 82.7% 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.donut span { font-size: 21px; font-weight: 700; color: var(--brand); line-height: 1.1; letter-spacing: -.02em; }
.donut span em { font-size: 10px; font-style: normal; }
.donut i { font-size: 9px; font-style: normal; color: var(--muted); }
.subject-bars { flex: 1; display: grid; gap: 8px; min-width: 0; }
.subject-bars div { display: flex; align-items: center; gap: 9px; font-size: 10.5px; color: var(--ink-2); }
.subject-bars span { width: 28px; flex: none; }
.subject-bars i { flex: 1; height: 5px; border-radius: 5px; background: #EFF4F8; overflow: hidden; }
.subject-bars b { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #7BC9D8, #0577A0); }
.subject-bars em { width: 30px; text-align: right; font-style: normal; color: var(--muted); font-size: 10px; }

.weak-list { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.weak-list-head { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.weak-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 0;
}
.weak-item + .weak-item { border-top: 1px solid #F1F6FA; }
.dot-red, .dot-amber { width: 6px; height: 6px; border-radius: 50%; margin-top: 5px; flex: none; }
.dot-red { background: #E06B4C; box-shadow: 0 0 0 3px rgba(224, 107, 76, .12); }
.dot-amber { background: #E0A33C; box-shadow: 0 0 0 3px rgba(224, 163, 60, .12); }
.weak-item p { flex: 1; min-width: 0; }
.weak-item strong { display: block; font-size: 11.5px; font-weight: 600; }
.weak-item em { font-size: 10px; font-style: normal; color: var(--muted); }
.weak-item b { font-size: 9.5px; color: #B25539; font-weight: 600; }
.weak-item:last-child b { color: #9A6A12; }

.feature-foot {
  margin-top: 34px;
  padding: 20px 24px;
  border: 1px solid #DBEAF2;
  border-radius: 14px;
  background: rgba(255, 255, 255, .7);
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.8;
  max-width: 860px;
}
.feature-foot strong { color: var(--brand); letter-spacing: .04em; }

/* ---------- Results (dark) ---------- */
.section-dark {
  background:
    radial-gradient(1000px 520px at 82% -10%, rgba(0, 164, 157, .18), transparent 60%),
    radial-gradient(800px 500px at 6% 100%, rgba(5, 78, 151, .35), transparent 60%),
    linear-gradient(160deg, #062C44 0%, #041C2B 100%);
  color: #E6F1F8;
}
.section-head-dark h2 { color: #fff; }
.section-head-dark .section-sub { color: rgba(230, 241, 248, .68); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric {
  padding: 26px 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .045);
  transition: background-color .25s, border-color .25s, transform .25s var(--ease);
}
.metric:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .2); transform: translateY(-4px); }
.metric > strong {
  display: block;
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.metric > strong em { font-size: 14px; font-style: normal; font-weight: 500; color: #6FE3DA; margin-left: 3px; }
.metric > span { display: block; margin-top: 10px; font-size: 13px; color: #9FE8E1; font-weight: 500; }
.metric p { margin-top: 6px; font-size: 12.5px; line-height: 1.7; color: rgba(230, 241, 248, .58); }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.case-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(6px);
}
.case-head { display: flex; align-items: center; gap: 12px; }
.case-icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: rgba(111, 227, 218, .12);
  color: #6FE3DA;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-icon .icon { width: 20px; height: 20px; }
.case-head h3 { font-size: 17px; font-weight: 700; color: #fff; }
.case-head span { font-size: 11.5px; color: rgba(230, 241, 248, .55); }
.case-card > p { margin-top: 14px; font-size: 13px; line-height: 1.85; color: rgba(230, 241, 248, .7); }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.case-tags span {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  font-size: 10.5px;
  color: rgba(230, 241, 248, .8);
}

.quote {
  position: relative;
  margin-top: 36px;
  padding: 28px 32px 28px 64px;
  border-left: 2px solid #4DDCD2;
  background: linear-gradient(90deg, rgba(77, 220, 210, .07), transparent 70%);
  border-radius: 0 16px 16px 0;
}
.quote-mark {
  position: absolute;
  left: 22px;
  top: 12px;
  font-size: 54px;
  line-height: 1;
  color: rgba(111, 227, 218, .5);
  font-family: Georgia, serif;
}
.quote p {
  font-family: var(--font-cn);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.85;
  color: #EDF7FB;
}
.quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 11.5px; color: rgba(230, 241, 248, .5); letter-spacing: .04em; }

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 26px;
  right: 26px;
  height: 2px;
  background: linear-gradient(90deg, #BFE3E1, #CFE2F0 60%, #E8F1F7);
}
.timeline-item { position: relative; }
.timeline-dot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #BFE3E1;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-bottom: 22px;
  transition: background .25s, border-color .25s, color .25s;
}
.timeline-item:hover .timeline-dot { background: var(--grad-btn); border-color: transparent; color: #fff; }
.timeline-time { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--teal-text); }
.timeline-body h3 { margin: 4px 0 8px; font-size: 18px; font-weight: 700; }
.timeline-body p { font-size: 13px; line-height: 1.85; color: var(--muted); }

/* ---------- Plans ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 940px; }
.plan-card {
  position: relative;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-card-featured {
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  border: 1px solid transparent;
  box-shadow: 0 24px 50px -30px rgba(4, 90, 148, .45);
}
.plan-badge {
  position: absolute;
  top: -13px;
  right: 26px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--grad-btn);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  box-shadow: 0 8px 18px -8px rgba(4, 90, 148, .6);
}
.plan-kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: var(--brand); }
.plan-card h3 { margin-top: 8px; font-family: var(--font-cn); font-size: 25px; font-weight: 700; letter-spacing: -.01em; }
.plan-for { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.plan-list { margin: 20px 0 26px; display: grid; gap: 10px; flex: 1; }
.plan-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.plan-list .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--teal); }
.plan-cta { width: 100%; }

/* ---------- Contact ---------- */
.section-contact { padding-bottom: clamp(72px, 8vw, 120px); }
.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4.5vw, 56px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(0, 164, 157, .22), transparent 60%),
    linear-gradient(140deg, #052A42 0%, #03354F 55%, #044E60 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(3, 48, 75, .8);
}
.contact-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 40px rgba(255, 255, 255, .03), 0 0 0 90px rgba(255, 255, 255, .02);
  pointer-events: none;
}
.contact-copy { position: relative; z-index: 1; align-self: center; }
.contact-copy h2 {
  margin-top: 16px;
  font-family: var(--font-cn);
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}
.contact-copy > p { margin-top: 16px; font-size: 14.5px; line-height: 1.9; color: rgba(230, 244, 251, .86); max-width: 420px; }
.contact-points { margin-top: 26px; display: grid; gap: 12px; }
.contact-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(230, 244, 251, .88); line-height: 1.7; }
.contact-points .icon { width: 17px; height: 17px; margin-top: 2px; color: #6FE3DA; }
.contact-points strong { color: #fff; font-weight: 600; }

.demo-form {
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 24px 50px -25px rgba(2, 20, 34, .6);
}
.form-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.form-head strong { font-size: 17px; font-weight: 700; }
.form-head span { font-size: 10.5px; color: var(--muted); }

.field { margin-top: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field label b { color: #D14A31; font-weight: 600; }
.field input,
.field select {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #FBFDFE;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input::placeholder { color: #A5B7C5; }
.field input:focus,
.field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(4, 90, 148, .12);
}
.field.is-invalid input,
.field.is-invalid select { border-color: #D14A31; box-shadow: 0 0 0 3px rgba(209, 74, 49, .1); }
.field-error { display: block; min-height: 16px; margin-top: 4px; font-size: 11px; color: #C2432A; line-height: 1.4; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; }
.select-wrap .icon {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  color: var(--muted);
  transform: rotate(90deg);
  pointer-events: none;
}
.demo-form .btn { margin-top: 18px; }
.form-note { margin-top: 10px; font-size: 10.5px; color: #93A7B7; text-align: center; line-height: 1.6; }
.form-status { margin-top: 8px; font-size: 12px; color: #0A7C61; text-align: center; min-height: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #041C2B;
  color: rgba(230, 241, 248, .62);
  padding-top: 58px;
}
.footer-inner { display: grid; grid-template-columns: 1.15fr 1.6fr; gap: 48px; padding-bottom: 44px; }
.brand-footer { gap: 14px; }
.brand-footer .brand-icon { width: 46px; height: 46px; border-radius: 12px; }
.word-white { width: 100px; height: auto; filter: none; }
.footer-brand p { margin-top: 16px; font-size: 12.5px; line-height: 1.9; color: rgba(230, 241, 248, .5); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h3 { font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .08em; }
.footer-col a { display: block; margin-top: 12px; font-size: 13px; color: rgba(230, 241, 248, .55); transition: color .2s; }
.footer-col a:hover { color: #6FE3DA; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 11.5px;
  color: rgba(230, 241, 248, .4);
}
.fb-legal { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; }
.fb-legal a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(230, 241, 248, .4);
  transition: color .2s;
}
.fb-legal a:hover { color: #6FE3DA; }
.fb-legal .icon { width: 13px; height: 13px; flex: none; }

/* ---------- Footer contact ---------- */
.footer-contact {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 44px;
  margin-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.fc-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
}
.fc-list { margin-top: 20px; display: grid; gap: 16px; }
.fc-list li { display: flex; gap: 12px; }
.fc-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: rgba(0, 158, 151, .14);
  color: #6FE3DA;
}
.fc-ico .icon { width: 17px; height: 17px; }
.fc-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fc-text em { font-style: normal; font-size: 11px; letter-spacing: .05em; color: rgba(230, 241, 248, .45); }
.fc-text a,
.fc-text span { font-size: 13.5px; line-height: 1.65; color: rgba(238, 247, 252, .9); word-break: break-word; }
.fc-text a { transition: color .2s; }
.fc-text a:hover { color: #6FE3DA; }

.fc-body {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-top: 18px;
}
.fc-list { flex: 1; min-width: 0; display: grid; gap: 16px; }
.social-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .09);
  transition: background-color .2s, border-color .2s, transform .25s var(--ease);
}
a.qr-card:hover {
  background: rgba(0, 158, 151, .12);
  border-color: rgba(0, 158, 151, .38);
  transform: translateY(-3px);
}
.qr-card--primary {
  flex: none;
  width: clamp(120px, 11.5vw, 150px);
  background: rgba(0, 158, 151, .12);
  border-color: rgba(0, 158, 151, .34);
}
.social-qr { padding: 5px; border-radius: 9px; background: #fff; }
.social-qr img { width: 72px; height: 72px; }
.social-meta { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.social-name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
}
.social-name .icon { width: 15px; height: 15px; color: #6FE3DA; }
.social-meta em { font-style: normal; font-size: 11px; color: rgba(230, 241, 248, .45); }

/* ---------- Reveal & motion ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .hero-visual { opacity: 0; transform: translateY(24px) scale(.985); transition: opacity .8s var(--ease) .1s, transform .8s var(--ease) .1s; }
html.js .hero-visual.is-in { opacity: 1; transform: none; }
html.js .hero-copy > * { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .hero-copy > *:nth-child(1).is-in { transition-delay: .02s; }
html.js .hero-copy.is-in > * { opacity: 1; transform: none; }
html.js .dash .bar span { transform: scaleY(0); transition: transform .7s var(--ease); }
html.js .dash.is-in .bar span { transform: scaleY(1); }
html.js .dash .bar:nth-child(1) span { transition-delay: .18s; }
html.js .dash .bar:nth-child(2) span { transition-delay: .24s; }
html.js .dash .bar:nth-child(3) span { transition-delay: .30s; }
html.js .dash .bar:nth-child(4) span { transition-delay: .36s; }
html.js .dash .bar:nth-child(5) span { transition-delay: .42s; }
html.js .dash .bar:nth-child(6) span { transition-delay: .48s; }
html.js .dash .bar:nth-child(7) span { transition-delay: .54s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 22px; }
  .feature-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 46px; }
  .hero { padding-top: 126px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-copy { max-width: 640px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .trust-strip li:nth-child(3) { padding-left: 0; border-left: 0; }
  .pain-grid { grid-template-columns: 1fr; }
  .pain-card p { min-height: 0; }
  .role-grid { grid-template-columns: 1fr; }
  .role-card > p { min-height: 0; }
  .loop-steps { grid-template-columns: repeat(2, 1fr); }
  .loop-steps li:last-child { grid-column: 1 / -1; }
  .chain-row { grid-template-columns: repeat(2, 1fr); }
  .chain-item { border-right: 0; border-bottom: 1px solid #EDF3F8; }
  .chain-item:nth-child(odd) { border-right: 1px solid #EDF3F8; }
  .chain-item:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .feature-layout { grid-template-columns: 1fr; }
  .feature-tabs {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent 99%);
    mask-image: linear-gradient(90deg, #000 86%, transparent 99%);
  }
  .feature-tabs::-webkit-scrollbar { display: none; }
  .ftab { width: auto; min-width: 196px; flex: none; scroll-snap-align: start; }
  .fpanel { min-height: 0; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .timeline::before { display: none; }
  .plan-grid { grid-template-columns: 1fr; max-width: 620px; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-copy > p { max-width: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-contact { grid-template-columns: 1.25fr 1fr; gap: 28px; }
  .fc-body { gap: 18px; }
  .qr-card--primary { width: 118px; }
  .social-qr img { width: 64px; height: 64px; }
}

@media (max-width: 720px) {
  .br-desktop { display: block; }
  .hero h1 { font-size: clamp(1.9rem, 7.4vw, 2.6rem); }
  .lead { font-size: 15.5px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-facts { gap: 12px 26px; }
  .hero-facts dd { font-size: 23px; }
  .float-card { padding: 9px 11px; }
  .dash { padding: 16px; }
  .dstat strong { font-size: 18px; }
  .trust-strip { margin-top: 42px; }
  .module-strip { flex-direction: column; gap: 10px; }
  .module-label { padding-top: 0; }
  .loop-block { padding: 24px 20px; }
  .loop-steps { grid-template-columns: 1fr; }
  .loop-steps li:last-child { grid-column: auto; }
  .chain-row { grid-template-columns: 1fr; }
  .chain-item { border-right: 0 !important; border-bottom: 1px solid #EDF3F8; }
  .chain-item:last-child { grid-column: auto; }
  .chain-ai { gap: 8px 16px; }
  .ai-badge { width: 100%; justify-content: center; }
  .contact-card { border-radius: 22px; }
  .demo-form { padding: 20px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { justify-content: flex-start; flex-direction: column; }
  .footer-contact { grid-template-columns: 1fr; gap: 30px; padding-bottom: 34px; margin-bottom: 34px; }
  .qr-card--primary { width: 132px; }
  .social-qr img { width: 72px; height: 72px; }
}

@media (max-width: 560px) {
  .brand-sub { display: none; }
  .brand-word { width: 80px; }
  .brand-icon { width: 40px; height: 40px; }
  .nav-inner { height: 70px; }
  .mobile-menu { top: 70px; max-height: calc(100vh - 70px); }
  .hero { padding-top: 112px; }
  .hero h1 { line-height: 1.3; }
  .dash { border-radius: 20px; }
  .bars { height: 110px; gap: 5px; }
  .weak-info { gap: 6px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card ul { grid-template-columns: 1fr; }
  .stage-grid { gap: 7px; }
  .report-top { gap: 14px; }
  .donut { width: 92px; height: 92px; }
  .practice-items { flex-direction: column; }
  .timeline { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .quote { padding: 24px 22px 24px 52px; }
  .quote-mark { left: 14px; }
  .insight { padding: 18px 20px; font-size: 15.5px; }
  .eyebrow { font-size: 11px; }
  .ftab { min-width: 172px; }
  .ftab-body em { white-space: normal; font-size: 10.5px; }
  .module-strip li { font-size: 11px; }
  .contact-points li { font-size: 12.5px; }
  .footer-contact { gap: 26px; }
  .fc-body { flex-direction: column; align-items: stretch; gap: 16px; }
  .qr-card { padding: 12px 6px 10px; border-radius: 12px; }
  .qr-card--primary {
    width: auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 12px;
  }
  .qr-card--primary .social-meta { align-items: flex-start; }
  .social-qr { padding: 4px; }
  .social-qr img { width: 60px; height: 60px; }
  .social-name { font-size: 11.5px; gap: 4px; }
  .social-meta em { font-size: 10px; }
}

@media (max-width: 400px) {
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .dash-stats { gap: 5px; }
  .dstat { padding: 8px; }
  .dstat > span { font-size: 9.5px; }
  .dash-weak { display: none; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip li { padding-left: 0; border-left: 0; }
  .footer-cols { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.js .reveal,
  html.js .hero-visual,
  html.js .hero-copy > * { opacity: 1; transform: none; }
  html.js .dash .bar span { transform: none; }
}
