/* 校托帮 — 暖石奢简 · 色阶与字阶拉满活力 */
:root {
  --paper: #f4f0e8;
  --paper-mid: #ebe4d6;
  --paper-deep: #e4dccb;
  --ink: #1a1512;
  --ink-soft: #2c241e;
  --muted: #6b5e52;
  --gold: #b45309;
  --gold-deep: #9a3412;
  --gold-bright: #d97706;
  --gold-soft: #fff7ed;
  --gold-wash: #ffedd5;
  --teal: #0f766e;
  --teal-soft: #ecfdf5;
  --clay: #9f1239;
  --clay-soft: #fff1f2;
  --line: #e8dfd2;
  --line-strong: #d4c4b0;
  --white: #fffcf8;
  --warn: #c2410c;
  --danger: #dc2626;
  --accent: var(--gold);
  --accent-deep: var(--gold-deep);
  --accent-soft: var(--gold-soft);
  --sage: var(--gold);
  --sage-deep: var(--gold-deep);
  --sage-soft: var(--gold-soft);
  --vert-care: #b45309;
  --vert-care-soft: #fff7ed;
  --vert-train: #9f1239;
  --vert-train-soft: #fff1f2;
  --vert-code: #0f766e;
  --vert-code-soft: #ecfdf5;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --max: 1100px;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 68px;
  --shadow-xs: 0 1px 2px rgba(26, 21, 18, 0.05);
  --shadow-sm:
    0 1px 2px rgba(26, 21, 18, 0.05),
    0 8px 20px rgba(26, 21, 18, 0.06);
  --shadow:
    0 2px 4px rgba(26, 21, 18, 0.04),
    0 14px 32px rgba(26, 21, 18, 0.08);
  --shadow-lift:
    0 8px 16px rgba(26, 21, 18, 0.08),
    0 18px 28px rgba(26, 21, 18, 0.12);
}

::selection {
  background: rgba(217, 119, 6, 0.28);
  color: var(--ink);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--gold-bright) var(--paper-deep);
}

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

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

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  background:
    radial-gradient(ellipse 70% 45% at 8% -5%, rgba(217, 119, 6, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 8%, rgba(15, 118, 110, 0.07), transparent 50%),
    linear-gradient(180deg, #faf6ef 0%, var(--paper) 28%, var(--paper) 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.page-care {
  background:
    radial-gradient(ellipse 75% 50% at 0% 0%, rgba(180, 83, 9, 0.16), transparent 55%),
    linear-gradient(180deg, #fff8f0, var(--paper) 40%);
}

body.page-training {
  background:
    radial-gradient(ellipse 75% 50% at 0% 0%, rgba(159, 18, 57, 0.1), transparent 55%),
    linear-gradient(180deg, #fff5f6, var(--paper) 40%);
}

body.page-coding {
  background:
    radial-gradient(ellipse 75% 50% at 0% 0%, rgba(15, 118, 110, 0.12), transparent 55%),
    linear-gradient(180deg, #f0fdfa, var(--paper) 40%);
}

a { color: inherit; text-decoration: none; }
button, .btn { font-family: inherit; cursor: pointer; }

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

.text-accent { color: var(--gold); }
.text-warn { color: var(--warn); font-weight: 600; }
.text-danger { color: var(--danger); font-weight: 600; }

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(250, 246, 239, 0.78);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.topbar.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 246, 239, 0.94);
  box-shadow: var(--shadow-xs);
}

.topbar-brand {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
}

.topbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin-left: auto;
  font-size: 13.5px;
  color: var(--muted);
}

.topbar-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.topbar-nav a:hover { color: var(--ink); }

.topbar-actions { display: flex; gap: 8px; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-sm { padding: 8px 14px; font-size: 13px; min-height: 40px; border-radius: 9px; }

.btn-solid {
  color: #ffffff;
  background: linear-gradient(165deg, #2a2118 0%, var(--ink) 55%, #0c0a08 100%);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-solid:hover {
  background: linear-gradient(165deg, #3d2e20 0%, #1a1512 55%, #0c0a08 100%);
  box-shadow: var(--shadow), 0 0 0 1px rgba(217, 119, 6, 0.25);
}

.btn-ghost {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-xs);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: var(--gold-soft);
  box-shadow: var(--shadow-sm);
}

main,
.sales-main { position: relative; z-index: 1; }

/* Hub portal — premium first screen */
.hub-body {
  background:
    radial-gradient(ellipse 90% 55% at 18% -8%, rgba(217, 119, 6, 0.14), transparent 52%),
    radial-gradient(ellipse 70% 50% at 92% 12%, rgba(15, 118, 110, 0.1), transparent 48%),
    radial-gradient(ellipse 60% 40% at 70% 80%, rgba(159, 18, 57, 0.06), transparent 55%),
    var(--paper);
}

.hub-hero {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 56px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 40px 48px;
  align-items: center;
  min-height: calc(100vh - 88px);
  min-height: calc(100dvh - 88px);
}

.hub-hero-copy {
  position: relative;
  z-index: 1;
}

.brand-name {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(52px, 8vw, 92px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.02;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 252, 248, 0.5);
}

.hero-headline {
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 600;
  color: var(--gold-deep);
  line-height: 1.35;
  max-width: 12em;
  text-wrap: balance;
}

.hub-support {
  margin: 18px 0 0;
  max-width: 28em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hub-cta,
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hub-hero-meta {
  margin: 22px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.hub-visual {
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  min-height: 320px;
  background: var(--paper-deep);
  animation: hub-rise 0.85s var(--ease) both;
}

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

@keyframes hub-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hub-visual { animation: none; }
}

.hub-choose {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 20px 0 72px;
}

.hub-choose-title {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  color: var(--ink);
}

.hub-choose-lead {
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 16px;
  max-width: 28em;
}

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

.portal {
  --portal-accent: var(--gold);
  --portal-soft: var(--gold-soft);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 220px;
  padding: 28px 24px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--portal-soft) 0%, var(--white) 38%);
  border: none;
  box-shadow: var(--shadow);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
  position: relative;
  overflow: hidden;
}

.portal[data-vert="care"] {
  --portal-accent: var(--vert-care);
  --portal-soft: var(--vert-care-soft);
}

.portal[data-vert="training"] {
  --portal-accent: var(--vert-train);
  --portal-soft: var(--vert-train-soft);
}

.portal[data-vert="coding"] {
  --portal-accent: var(--vert-code);
  --portal-soft: var(--vert-code-soft);
}

.portal:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.portal-name {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.portal-sub {
  font-size: 14px;
  font-weight: 700;
  color: var(--portal-accent);
}

.portal-desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  flex: 1;
}

.portal-go {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--portal-accent);
  border-bottom: 1.5px solid var(--portal-accent);
  padding-bottom: 2px;
}

.hub-dual {
  width: min(100% - 40px, var(--max));
  margin: 0 auto 72px;
  padding: 40px 0 0;
  border-top: 1px solid var(--line);
}

.hub-dual h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  text-wrap: balance;
}

.hub-dual-lead {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 36em;
}

.hub-dual-list {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 32px;
}

.hub-dual-list div {
  margin: 0;
  padding: 0;
}

.hub-dual-list dt {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold-deep);
  margin: 0 0 8px;
}

.hub-dual-list dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 500;
}

.hub-closing {
  margin-bottom: 80px;
}

.hub-closing .modal-phone {
  display: inline-block;
  margin-top: 18px;
  color: #f3e6d8;
  font-size: 18px;
  font-weight: 700;
}

.hub-closing .btn-ghost {
  background: transparent;
  color: #fff8ef;
  border-color: rgba(255, 248, 239, 0.35);
}

.hub-closing .btn-ghost:hover {
  background: rgba(255, 248, 239, 0.08);
  border-color: #fff8ef;
  color: #fff8ef;
}

@media (max-width: 980px) {
  .hub-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 36px;
    gap: 28px;
  }
  .hub-visual img { min-height: 240px; }
  .hub-dual-list { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 720px) {
  .portal-grid { grid-template-columns: 1fr; }
}

/* Vertical switcher */
.vert-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(100% - 40px, var(--max));
  margin: 12px auto 0;
  padding: 0;
}

.vert-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  box-shadow: var(--shadow-xs);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.vert-bar a:hover { color: var(--ink); border-color: var(--line-strong); }

.vert-bar a.is-active {
  color: #ffffff;
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  box-shadow: 0 4px 12px rgba(26, 21, 18, 0.18);
}

/* Vertical page hero — impact stage */
.hero-stage {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 36px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px 40px;
  align-items: center;
  min-height: calc(100dvh - var(--header-h) - 72px);
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.01em;
  text-wrap: balance;
  max-width: 12em;
  color: var(--ink);
}

.hero-copy .page-lead {
  margin: 18px 0 0;
  max-width: 34em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-copy .page-lead strong {
  color: var(--gold-deep);
  font-weight: 700;
}

.page-training .hero-copy .page-lead strong { color: var(--clay); }
.page-coding .hero-copy .page-lead strong { color: var(--teal); }

.hero-copy .hero-cta { margin-top: 28px; }

.demo-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-mark {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-align: right;
}

.demo-panel {
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  overflow: hidden;
}

.demo-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.demo-head strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.demo-alert { color: var(--warn) !important; }

.demo-sub {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.demo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--paper);
  font-size: 13.5px;
}

.demo-list b { color: var(--ink); font-weight: 700; }
.demo-list span { color: var(--muted); }
.demo-list em {
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
  color: var(--warn);
  letter-spacing: 0.04em;
}

.demo-list li.is-ok {
  background: #ecfdf5;
}
.demo-list li.is-ok em { color: var(--teal); }

.demo-list li.is-warn {
  background: #fff7ed;
}
.demo-list li.is-warn em { color: var(--gold); }

.demo-foot {
  margin: 12px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold-deep);
}

.page-training .demo-foot { color: var(--clay); }
.page-coding .demo-foot { color: var(--teal); }

.demo-care-meal {
  background: linear-gradient(165deg, #fff7ed, var(--white) 50%);
}

.demo-care-bill {
  background: linear-gradient(165deg, #2a2118 0%, #1a1512 100%);
  color: #f3e6d8;
  box-shadow: var(--shadow);
}

.demo-care-bill .demo-head { color: #cbb8a4; }
.demo-care-bill .demo-head strong { color: #ffffff; }
.demo-care-bill .demo-foot { color: #ffedd5; }

.demo-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.demo-metrics div {
  text-align: center;
  padding: 12px 6px;
  border-radius: 12px;
  background: rgba(255, 248, 239, 0.08);
}

.demo-care-bill .demo-metrics b {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.demo-care-bill .demo-metrics span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #cbb8a4;
}

.demo-train-class {
  background: linear-gradient(165deg, var(--clay-soft), var(--white) 45%);
}

.demo-attend em { color: var(--clay) !important; }

.demo-train-wallet {
  background: var(--white);
}

.demo-wallet {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
}

.demo-wallet > div:first-child {
  text-align: center;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(165deg, var(--clay-soft), #ffe4e6);
}

.demo-wallet b {
  display: block;
  font-family: var(--display);
  font-size: 36px;
  font-weight: 700;
  color: var(--clay);
  line-height: 1;
}

.demo-wallet > div:first-child span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.demo-wallet-note p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.demo-wallet-note p + p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
}

.demo-code-ide {
  background: linear-gradient(165deg, var(--teal-soft), var(--white) 40%);
}

.demo-ide {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 10px;
  min-height: 140px;
}

.demo-ide-stage {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #134e4a;
  min-height: 140px;
  aspect-ratio: 1 / 1;
  max-height: 180px;
}

.demo-ide-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-works figure {
  margin: 0;
  text-align: center;
}

.work-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  margin-bottom: 6px;
  object-fit: cover;
  background: var(--paper-deep);
}

.demo-code {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  background: #1a1512;
  color: #ecfdf5;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.55;
  overflow: auto;
}

.demo-code-gallery {
  background: var(--white);
}

.demo-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.demo-works figcaption {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

.demo-exam {
  margin-top: 12px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--teal-soft);
  font-size: 13px;
}

.demo-exam b { color: var(--teal); font-weight: 800; }
.demo-exam span { color: var(--ink-soft); }
.demo-exam em {
  font-style: normal;
  font-weight: 800;
  color: var(--teal);
  font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero-stage {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 24px;
    gap: 28px;
  }
  .demo-mark { text-align: left; }
  .demo-ide { grid-template-columns: 1fr; }
}

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

.roi-card {
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--gold-soft), var(--white) 55%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.page-training .roi-card {
  background: linear-gradient(160deg, var(--clay-soft), var(--white) 55%);
}

.page-coding .roi-card {
  background: linear-gradient(160deg, var(--teal-soft), var(--white) 55%);
}

.roi-card h3 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
}

.page-training .roi-card h3 { color: var(--clay); }
.page-coding .roi-card h3 { color: var(--teal); }

.roi-stat {
  margin: 0;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.roi-stat span {
  display: inline-block;
  padding: 0 2px;
  color: var(--gold-deep);
}

.page-training .roi-stat span { color: var(--clay); }
.page-coding .roi-stat span { color: var(--teal); }

.roi-eq {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

/* Pain / solution pairs */
.pair-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

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

.pair-pain {
  background: linear-gradient(180deg, #e8e0d4, var(--paper-mid));
  border-right: 1px solid var(--line);
}

.pair-fix {
  background: linear-gradient(165deg, var(--gold-soft) 0%, var(--white) 70%);
}

.page-training .pair-fix {
  background: linear-gradient(165deg, var(--clay-soft) 0%, var(--white) 70%);
}

.page-coding .pair-fix {
  background: linear-gradient(165deg, var(--teal-soft) 0%, var(--white) 70%);
}

.pair-label {
  margin: 0 0 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.pair-fix .pair-label { color: var(--gold-deep); }
.page-training .pair-fix .pair-label { color: var(--clay); }
.page-coding .pair-fix .pair-label { color: var(--teal); }

.pair h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.pair p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* Sections */
.section {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 96px 0;
}

.section-tint {
  width: 100%;
  padding: 96px max(20px, calc((100% - var(--max)) / 2));
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(217, 119, 6, 0.08), transparent 50%),
    linear-gradient(180deg, var(--paper-mid), var(--paper-deep));
  border-block: 1px solid var(--line);
}

.section-title {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-wrap: balance;
  color: var(--ink);
}

.section-lead {
  margin: 0 0 44px;
  max-width: 36em;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
}

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

.pack {
  position: relative;
  padding: 28px 26px 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s ease;
}

.pack::before {
  content: none;
}

.pack:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--line-strong);
}

.pack-label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}

.pack h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}

.pack-tagline {
  margin: 0 0 14px !important;
  font-size: 13px !important;
  font-weight: 600;
  color: var(--muted) !important;
}

.pack > p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  flex: 1;
  line-height: 1.7;
}

.pack ul {
  margin: 20px 0 0;
  padding: 16px 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid var(--line);
}

.pack li {
  position: relative;
  padding-left: 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.pack li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* Value */
.value-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
}

.value-row {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 24px;
  align-items: start;
}

.value-row h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.value-row p {
  margin: 0;
  color: var(--muted);
  max-width: 42em;
  font-size: 15px;
}

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

.cap-grid > div {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--white), #fff9f2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.cap-grid > div:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.cap-grid h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.cap-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* Ends & roles */
.ends,
.roles {
  display: grid;
  gap: 18px;
}

.ends { grid-template-columns: 1fr 1fr; }
.roles { grid-template-columns: repeat(3, 1fr); }

.ends article,
.roles article {
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--white), var(--gold-soft));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.page-training .ends article,
.page-training .roles article {
  background: linear-gradient(165deg, var(--white), var(--clay-soft));
}

.page-coding .ends article,
.page-coding .roles article {
  background: linear-gradient(165deg, var(--white), var(--teal-soft));
}

.ends article:hover,
.roles article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.ends h3,
.roles h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.ends p,
.roles p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* Sell points — short advantages, not pain/solution pairs */
.sell-band {
  width: min(100% - 40px, var(--max));
  margin: 8px auto 0;
  padding: 36px 40px;
  border-radius: 22px;
  background: linear-gradient(135deg, #2a2118 0%, #1a1512 100%);
  box-shadow: var(--shadow);
  text-align: center;
}

.sell-band-line {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.45;
  color: #fff8ef;
  text-wrap: balance;
}

.sell-band-line em {
  font-style: normal;
  color: #fbbf24;
  padding: 0 0.08em;
}

.sell-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
  border-top: 1px solid var(--line-strong);
}

.sell-item {
  display: grid;
  grid-template-columns: minmax(160px, 280px) 1fr;
  gap: 20px 36px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.sell-item h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.sell-item p {
  margin: 0;
  max-width: 36em;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.page-care .sell-item:hover h3 { color: var(--gold-deep); }
.page-training .sell-item:hover h3 { color: var(--clay); }
.page-coding .sell-item:hover h3 { color: var(--teal); }

.page-training .sell-band {
  background: linear-gradient(135deg, #4c0519 0%, #9f1239 100%);
}
.page-training .sell-band-line em { color: #fecdd3; }

.page-coding .sell-band {
  background: linear-gradient(135deg, #134e4a 0%, #0f766e 100%);
}
.page-coding .sell-band-line em { color: #99f6e4; }

.page-training .ends-roles { color: var(--clay); }
.page-coding .ends-roles { color: var(--teal); }

.open-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.open-chips button {
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.open-chips button:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.open-chips button.is-core:not(.is-on) {
  border-color: var(--line-strong);
  color: var(--ink);
}

.open-chips button.is-on {
  color: #fff8ef;
  background: var(--ink);
  border-color: var(--ink);
}

.page-care .open-chips button.is-on {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}

.page-training .open-chips button.is-on {
  background: var(--clay);
  border-color: var(--clay);
}

.page-coding .open-chips button.is-on {
  background: var(--teal);
  border-color: var(--teal);
}

.open-stage {
  margin-top: 28px;
}

.open-panel[hidden] { display: none !important; }

.open-panel.is-on {
  display: block;
  animation: open-in 0.35s var(--ease);
}

@keyframes open-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .open-panel.is-on { animation: none; }
}

.open-deck {
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.35fr) 196px;
  gap: 22px;
  align-items: stretch;
}

.open-pitch {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px 4px 4px;
}

.open-pitch h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}

.open-pitch > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.open-pitch ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.open-pitch li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 500;
}

.open-pitch li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.page-training .open-pitch li::before { background: var(--clay); }
.page-coding .open-pitch li::before { background: var(--teal); }

.open-who {
  margin-top: auto !important;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.ui-frame {
  border-radius: 12px;
  overflow: hidden;
  background: #f0ebe3;
  box-shadow: var(--shadow-lift);
  min-height: 340px;
  display: flex;
  flex-direction: column;
}

.ui-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: #1a1512;
  color: #c4a882;
  font-size: 12.5px;
  font-weight: 600;
  flex-shrink: 0;
}

.ui-bar span {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold-deep));
  flex-shrink: 0;
}

.ui-bar span:nth-child(2),
.ui-bar span:nth-child(3) {
  display: none;
}

.ui-bar b {
  margin-left: 0;
  font-weight: 700;
  color: #fff8ef;
  font-size: 13px;
}

.ui-bar i {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #a8927a;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.08);
}

.ui-shell {
  display: grid;
  grid-template-columns: 128px 1fr;
  flex: 1;
  min-height: 300px;
  background: #fffcf8;
}

.ui-side {
  padding: 12px 8px;
  background: #241c16;
  border-right: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ui-side span {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #a8927a;
}

.ui-side span.is-active {
  background: rgba(217, 119, 6, 0.22);
  color: #fff8ef;
  box-shadow: none;
}

.ui-body,
.ui-main {
  padding: 16px 18px 18px;
  background: #fffcf8;
  min-height: 0;
}

.ui-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ui-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ui-block {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--paper);
}

.ui-block h4 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.ui-block p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.ui-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 72px;
  padding-top: 8px;
}

.ui-bars i {
  flex: 1;
  display: block;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  opacity: 0.85;
}

.page-training .ui-bars i {
  background: linear-gradient(180deg, #fb7185, var(--clay));
}

.page-coding .ui-bars i {
  background: linear-gradient(180deg, #2dd4bf, var(--teal));
}

@media (max-width: 1100px) {
  .open-deck {
    grid-template-columns: minmax(0, 1fr) 188px;
    gap: 18px;
  }
  .open-pitch {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 28px;
    align-items: flex-start;
  }
  .open-pitch h3 { flex: 1 1 100%; }
  .open-pitch > p { flex: 1 1 280px; max-width: 36em; }
  .open-pitch ul { flex: 1 1 240px; margin: 0; }
  .open-who {
    flex: 1 1 100%;
    margin-top: 0 !important;
    padding-top: 8px;
  }
}

@media (max-width: 900px) {
  .open-deck {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .mp-phone {
    max-width: 240px;
    margin-inline: auto;
  }
  .ui-shell {
    grid-template-columns: 1fr;
  }
  .ui-side {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .ui-split {
    grid-template-columns: 1fr;
  }
}

/* 小程序端示意 */
.mp-phone {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.mp-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.mp-device {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  background: #14110e;
  padding: 8px 8px 10px;
  box-shadow: var(--shadow-lift);
  min-height: 340px;
  border: 1px solid rgba(255, 248, 239, 0.06);
}

.mp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 10px 6px;
}

.mp-top span {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  font-size: 9px;
  font-weight: 700;
  color: #a8927a;
}

.mp-top span::before {
  content: "9:41";
}

.mp-top::after {
  content: "校托帮";
  font-size: 9px;
  font-weight: 700;
  color: #c4a882;
}

.mp-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 11px 10px;
  border-radius: 16px;
  background: #f3f0ea;
  min-height: 0;
}

.mp-tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 8px;
  padding: 4px 2px 0;
}

.mp-tabbar span {
  text-align: center;
  font-size: 9.5px;
  font-weight: 700;
  color: #6b5e52;
  padding: 6px 0 2px;
  position: relative;
}

.mp-tabbar span::before {
  content: "";
  display: block;
  width: 14px;
  height: 3px;
  margin: 0 auto 5px;
  border-radius: 999px;
  background: #3d3228;
}

.mp-tabbar span.is-on {
  color: #fff8ef;
}

.mp-tabbar span.is-on::before {
  background: var(--gold-bright);
}

.page-training .mp-tabbar span.is-on::before { background: #fb7185; }
.page-coding .mp-tabbar span.is-on::before { background: #2dd4bf; }

.mp-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.mp-head b {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

.mp-head em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.mp-card {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 252, 248, 0.92);
}

.mp-card b {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink);
  line-height: 1.1;
}

.mp-card span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.mp-card i {
  display: inline-block;
  margin-top: 8px;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-soft);
}

.mp-card i.ok { color: var(--teal); }
.mp-card i.warn { color: var(--warn); }

.page-care .mp-card.is-accent {
  background: linear-gradient(145deg, #fff7ed, #fffcf8);
}
.page-training .mp-card.is-accent {
  background: linear-gradient(145deg, #fff1f2, #fffcf8);
}
.page-coding .mp-card.is-accent {
  background: linear-gradient(145deg, #f0fdfa, #fffcf8);
}

.mp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mp-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255, 252, 248, 0.9);
  font-size: 12px;
}

.mp-list b { color: var(--ink); font-weight: 700; }
.mp-list span { color: var(--muted); font-weight: 600; white-space: nowrap; }
.mp-list span.ok { color: var(--teal); }
.mp-list span.warn { color: var(--warn); }

.mp-btn {
  margin-top: auto;
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 999px;
  background: var(--ink);
  color: #fff8ef;
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  text-align: center;
  cursor: default;
}

.page-care .mp-btn { background: var(--gold-deep); }
.page-training .mp-btn { background: var(--clay); }
.page-coding .mp-btn { background: var(--teal); }

.mp-code {
  margin: 4px auto;
  width: 88px;
  height: 88px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, #1a1512 25%, transparent 25%) 0 0 / 12px 12px,
    linear-gradient(#1a1512 25%, transparent 25%) 0 0 / 12px 12px,
    #fffcf8;
  box-shadow: inset 0 0 0 3px #1a1512;
}

.mp-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.ui-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.ui-toolbar i {
  font-style: normal;
  color: var(--warn);
}

.ui-toolbar .ui-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ui-toolbar .ui-pills span {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  background: var(--paper);
  color: var(--muted);
  border: 1px solid var(--line);
}

.ui-toolbar .ui-pills span.is-on {
  background: var(--ink);
  color: #fff8ef;
  border-color: var(--ink);
}

.ui-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.ui-table th,
.ui-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}

.ui-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
}

.ui-table .ok { color: var(--teal); font-weight: 700; }
.ui-table .warn { color: var(--warn); font-weight: 700; }

.ui-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ui-rows li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 10px;
  background: var(--paper);
  font-size: 13.5px;
}

.ui-rows b { color: var(--ink); }
.ui-rows span { color: var(--muted); }
.ui-rows em {
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
  color: var(--ink-soft);
}
.ui-rows em.ok { color: var(--teal); }
.ui-rows em.warn { color: var(--warn); }

.ui-alert {
  margin-bottom: 0;
  padding: 11px 13px;
  border-radius: 10px;
  background: #fff7ed;
  color: var(--warn);
  font-size: 13px;
  font-weight: 700;
}

.ui-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
}

.ui-metrics > div {
  text-align: center;
  padding: 16px 8px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.ui-metrics b {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink);
}

.ui-metrics span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.ui-course {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: center;
  padding: 4px 0;
}

@media (max-width: 560px) {
  .ui-course {
    grid-template-columns: 1fr;
  }
  .ui-course img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    max-width: 200px;
  }
}

.ui-course img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
}

.ui-course b { display: block; font-size: 16px; color: var(--ink); }
.ui-course p { margin: 8px 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.ui-course em {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: var(--teal);
}

.ui-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ui-thumbs figure { margin: 0; text-align: center; }
.ui-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}
.ui-thumbs figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}

.open-note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.ends-compact {
  margin-top: 8px;
}

.ends-roles {
  margin: 28px 0 0;
  text-align: center;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  color: var(--gold-deep);
}

@media (max-width: 900px) {
  .sell-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }
  .sell-band { padding: 28px 22px; }
}

/* Closing — ink band for contrast */
.closing {
  width: min(100% - 40px, 760px);
  margin: 40px auto 100px;
  text-align: center;
  padding: 56px 32px;
  border-radius: 22px;
  background: linear-gradient(165deg, #2a2118 0%, #1a1512 50%, #0c0907 100%);
  border: none;
  box-shadow: var(--shadow-lift);
  color: #f3e6d8;
}

.closing h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
  color: #fff8ef;
}

.closing > p {
  margin: 14px auto 0;
  color: #e8d5c0;
  max-width: 28em;
}

.closing-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.closing .btn-solid {
  background: #fff8ef;
  color: #1a1512;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.closing .btn-solid:hover {
  background: #ffedd5;
  color: #1a1512;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.closing .btn-ghost {
  background: transparent;
  color: #fff8ef;
  border-color: rgba(255, 248, 239, 0.45);
}

.closing .btn-ghost:hover {
  background: rgba(255, 248, 239, 0.1);
  border-color: #fff8ef;
  color: #fff8ef;
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 32px 0 52px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-brand strong {
  display: block;
  font-family: var(--display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.footer-brand p,
.footer-meta p { margin: 4px 0 0; }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.footer-meta a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-meta a:hover { color: var(--ink); }

/* Modal */
.modal[hidden] { display: none !important; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.48);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  width: min(100%, 400px);
  padding: 40px 30px 30px;
  border-radius: 18px;
  background: var(--white);
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
}

.modal-close {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 28px;
  color: var(--muted);
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.modal-close:hover {
  background: var(--paper-deep);
  color: var(--ink);
}

.modal-panel h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 900;
}

.modal-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.modal-phone {
  display: inline-block;
  margin: 22px 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--ink);
  min-height: 44px;
  line-height: 44px;
}

.modal-phone:hover { color: var(--gold); }

body.modal-open { overflow: hidden; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Sales */
.sales-main {
  width: min(100% - 40px, 920px);
  margin: 0 auto;
  padding-bottom: 72px;
}

.sales-hero { padding: 44px 0 24px; }

.sales-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.sales-lead {
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 40em;
}

.sales-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.sales-badges span {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.sales-block {
  margin-top: 20px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.sales-block h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 900;
}

.sales-block h2 small {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 8px;
}

.talk-steps,
.demo-flow {
  margin: 0;
  padding-left: 20px;
}

.talk-steps li,
.demo-flow li { margin-top: 14px; }

.talk-steps strong {
  display: block;
  margin-bottom: 4px;
}

.talk-steps span,
.demo-flow { color: var(--muted); font-size: 14px; }

.demo-flow b { color: var(--ink); }

.matrix { display: flex; flex-direction: column; gap: 10px; }

.matrix-row {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr 1.1fr 1fr;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.matrix-row:hover {
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.matrix-row h3 { margin: 0 0 4px; font-size: 15px; }
.muted { margin: 0; color: var(--muted); font-size: 13px; }
.cost { margin: 0; color: var(--warn); font-weight: 600; font-size: 14px; }
.matrix-row > p:nth-child(3) { margin: 0; font-size: 14px; color: var(--ink-soft); }

.line {
  margin: 0 !important;
  color: var(--ink) !important;
  font-weight: 700;
  font-size: 14px !important;
}

.catalog-intro {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.catalog { display: flex; flex-direction: column; gap: 10px; }

.catalog-item {
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  break-inside: avoid;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.catalog-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.catalog-item header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.catalog-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid rgba(161, 98, 7, 0.2);
}

.catalog-item h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.catalog-item > p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.catalog-who {
  margin-top: 8px !important;
  font-size: 13px !important;
  color: var(--muted) !important;
}

.catalog-who b { color: var(--ink); }

.faq details {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink); font-size: 18px; }
.faq details[open] summary::after { content: "−"; }

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

.sales-close {
  margin-top: 36px;
  text-align: center;
  padding: 44px 28px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.sales-close h2 {
  margin: 0 0 10px;
  font-weight: 900;
}

.sales-close-line {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.sales-close .modal-phone { margin: 16px 0; }

@media (max-width: 900px) {
  .topbar-nav { display: none; }
  .pack-grid,
  .portal-grid,
  .roi-grid,
  .pair,
  .value-row,
  .cap-grid,
  .ends,
  .roles,
  .matrix-row {
    grid-template-columns: 1fr;
  }
  .pair-pain { border-right: none; border-bottom: 1px solid var(--line); }
  .section,
  .section-tint {
    padding-top: 68px;
    padding-bottom: 68px;
  }
  .hub-hero { padding-top: 48px; }
  .hero-stage { padding-top: 24px; }
}

@media (max-width: 560px) {
  .sales-block { padding: 22px 16px; }
  .matrix-row { gap: 8px; }
  .pack { padding: 24px 20px; }
}

@media print {
  .topbar, .modal { display: none !important; }
  body { background: #fff; }
  .sales-block, .catalog-item, .matrix-row { break-inside: avoid; box-shadow: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
