/* ==========================================================================
   木易场控助手 — 官网样式表
   Design tokens / Layout / Components / Pages / Utilities
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #070D0B;
  --ink-2: #0C1613;
  --ink-3: #101E19;

  --paper: #FFFFFF;
  --paper-2: #F6F9F7;
  --paper-3: #EDF3EF;

  --line: #E3EBE7;
  --line-2: #D3DFD9;
  --line-dark: rgba(255, 255, 255, 0.1);

  --text: #0F1714;
  --text-2: #3D4A45;
  --muted: #6B7A74;
  --muted-dark: #9DB0A8;

  --brand: #00A870;
  --brand-2: #12C98A;
  --brand-3: #6EF0B8;
  --brand-deep: #04714B;
  --brand-soft: #E8F8F1;

  --amber: #F5A524;
  --red: #F0426B;
  --blue: #3B82F6;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 20, 0.06);
  --shadow-md: 0 8px 24px -8px rgba(15, 23, 20, 0.14), 0 2px 6px rgba(15, 23, 20, 0.04);
  --shadow-lg: 0 30px 60px -24px rgba(4, 52, 36, 0.28), 0 12px 24px -16px rgba(4, 52, 36, 0.16);

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --nav-h: 68px;
  --wrap: 1180px;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
table { border-collapse: collapse; width: 100%; }
::selection { background: rgba(18, 201, 138, 0.22); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap-narrow { max-width: 860px; }

.section { padding: 108px 0; position: relative; }
.section--tight { padding: 76px 0; }
.section--paper { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #EAF3EF; }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border: 1px solid #CBEEDF;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 168, 112, 0.15);
}
.section--ink .eyebrow {
  color: var(--brand-3);
  background: rgba(18, 201, 138, 0.1);
  border-color: rgba(18, 201, 138, 0.24);
}

h1, .h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 800;
}
h2, .h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.24;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}
h3, .h3 {
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.lead {
  font-size: clamp(16px, 1.3vw, 18px);
  color: var(--muted);
  line-height: 1.8;
  text-wrap: pretty;
}
.section--ink .lead { color: var(--muted-dark); }

.grad-text {
  background: linear-gradient(96deg, #6EF0B8 0%, #12C98A 42%, #37D6E8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text-dark {
  background: linear-gradient(96deg, #04714B 0%, #00A870 55%, #12A0A8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.22s ease,
    border-color 0.22s ease, color 0.22s ease;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.995); }

.btn--primary {
  background: linear-gradient(180deg, #12C98A 0%, #00A870 100%);
  color: #04180F;
  box-shadow: 0 10px 24px -10px rgba(0, 168, 112, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(0, 168, 112, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--dark {
  background: var(--ink);
  color: #EAF6F1;
  box-shadow: 0 10px 24px -12px rgba(7, 13, 11, 0.6);
}
.btn--dark:hover { transform: translateY(-2px); background: #0F1E19; }

.btn--ghost {
  border: 1px solid var(--line-2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-deep); background: #fff; }

.btn--ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #DFEDE7;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}
.btn--ghost-light:hover {
  border-color: rgba(110, 240, 184, 0.5);
  color: #fff;
  background: rgba(18, 201, 138, 0.1);
}

.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--lg { height: 56px; padding: 0 34px; font-size: 16px; }
.btn--block { width: 100%; }

.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- 5. Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 90;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 8px 24px -20px rgba(7, 13, 11, 0.4);
}
.nav-inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand-name {
  font-size: 16.5px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand-sub {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 32px;
}
.nav-links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 550;
  color: var(--text-2);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: var(--paper-3); }
.nav-links a.is-active { color: var(--brand-deep); background: var(--brand-soft); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-ver {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--muted);
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  background: #fff;
}
.nav-toggle span {
  position: relative;
  width: 17px; height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transition: background 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 17px; height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 89;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 12px 24px 22px;
  display: none;
  box-shadow: 0 24px 40px -30px rgba(7, 13, 11, 0.5);
}
.mobile-menu.is-open { display: block; animation: menuIn 0.24s ease both; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 4px;
  font-size: 15.5px;
  font-weight: 550;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 14px; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #EAF3EF;
  padding: calc(var(--nav-h) + 76px) 0 96px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  background:
    radial-gradient(58% 52% at 78% 8%, rgba(18, 201, 138, 0.28) 0%, transparent 62%),
    radial-gradient(46% 44% at 12% 0%, rgba(38, 168, 200, 0.18) 0%, transparent 60%),
    radial-gradient(60% 60% at 50% 100%, rgba(0, 168, 112, 0.12) 0%, transparent 70%);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 32%, #000 0%, transparent 78%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 56px;
  align-items: center;
}
.hero-copy { max-width: 590px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 100px;
  border: 1px solid rgba(110, 240, 184, 0.24);
  background: rgba(18, 201, 138, 0.08);
  font-size: 13px;
  color: #BFEEDC;
  margin-bottom: 26px;
}
.hero-badge b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--brand-2);
  color: #04180F;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .line { display: block; }
.hero .lead {
  color: #A9BDB4;
  font-size: 17px;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 30px;
  font-size: 13px;
  color: #8FA69C;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--brand-2); opacity: 0.9; }

/* Hero visual — app window mock */
.hero-visual { position: relative; min-width: 0; }
.hv-glow {
  position: absolute;
  inset: 10% -14% -6% -14%;
  background: radial-gradient(closest-side, rgba(18, 201, 138, 0.3), transparent 72%);
  filter: blur(24px);
  z-index: 0;
}
.appwin {
  position: relative;
  max-width: 100%;
  z-index: 1;
  border-radius: 18px;
  background: linear-gradient(180deg, #131E1A 0%, #0B1512 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-6deg) rotateX(3deg);
  transform-origin: center left;
  animation: floaty 9s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: perspective(1600px) rotateY(-6deg) rotateX(3deg) translateY(0); }
  50% { transform: perspective(1600px) rotateY(-4deg) rotateX(2deg) translateY(-10px); }
}
.appwin-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #2C3B35; }
.dots i:first-child { background: #3E5148; }
.appwin-title {
  font-size: 12px;
  color: #93A8A0;
  letter-spacing: 0.02em;
}
.appwin-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #7FF0C0;
  background: rgba(18, 201, 138, 0.12);
  border: 1px solid rgba(18, 201, 138, 0.24);
  padding: 3px 9px;
  border-radius: 100px;
}
.appwin-live b {
  width: 6px; height: 6px; border-radius: 50%;
  background: #12C98A;
  box-shadow: 0 0 0 0 rgba(18, 201, 138, 0.6);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(18, 201, 138, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(18, 201, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 201, 138, 0); }
}

.appwin-body { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 12px; padding: 14px; }
.pane-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pane {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 11px;
  min-width: 0;
}
.pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: #B9CCC4;
  margin-bottom: 9px;
  letter-spacing: 0.03em;
}
.pane-head em {
  font-style: normal;
  font-size: 10px;
  color: #7FF0C0;
  background: rgba(18, 201, 138, 0.12);
  padding: 1px 7px;
  border-radius: 100px;
}
.feed { display: flex; flex-direction: column; gap: 8px; }
.feed-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  animation: feedIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes feedIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.feed-av {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #04180F;
  background: linear-gradient(140deg, #6EF0B8, #12C98A);
}
.feed-body { min-width: 0; }
.feed-name {
  font-size: 10px;
  color: #8FA69C;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1px;
}
.feed-name i {
  font-style: normal;
  font-size: 9px;
  padding: 0 5px;
  border-radius: 3px;
  color: #7FF0C0;
  background: rgba(18, 201, 138, 0.14);
}
.feed-text {
  font-size: 11.5px;
  color: #DCEAE4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feed-reply {
  margin-top: 4px;
  font-size: 10.5px;
  color: #9FD8C2;
  padding-left: 7px;
  border-left: 2px solid rgba(18, 201, 138, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10.5px;
  padding: 5px 0;
  color: #A9BDB4;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}
.kv-row:last-child { border-bottom: 0; }
.kv-row b {
  font-weight: 600;
  color: #EAF3EF;
  font-family: var(--mono);
  font-size: 10px;
}
.kv-row .tag {
  font-size: 9.5px;
  padding: 1px 6px;
  border-radius: 4px;
  color: #7FF0C0;
  background: rgba(18, 201, 138, 0.14);
}
.bars { display: flex; align-items: flex-end; gap: 3px; height: 34px; margin-top: 8px; }
.bars i {
  flex: 1;
  height: 100%;
  border-radius: 2px 2px 1px 1px;
  background: linear-gradient(180deg, #12C98A, rgba(18, 201, 138, 0.18));
  transform-origin: bottom;
  animation: barPulse 2.4s ease-in-out infinite;
}
@keyframes barPulse {
  0%, 100% { transform: scaleY(0.55); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 1; }
}

.appwin-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 10.5px;
  color: #7E948B;
  background: rgba(0, 0, 0, 0.2);
}
.appwin-foot b { color: #B7E9D5; font-weight: 600; }

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.55);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}
.float-card .ic {
  width: 22px; height: 22px;
  border-radius: 7px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand-deep);
  flex: none;
}
.float-card .ic svg { width: 13px; height: 13px; }
.float-card small { display: block; font-size: 9.5px; font-weight: 500; color: var(--muted); }
.fc-1 { top: 12%; right: -18px; animation: floaty2 7s ease-in-out infinite; }
.fc-2 { bottom: -42px; left: -34px; animation: floaty2 8s ease-in-out 1.2s infinite; }
@keyframes floaty2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- 7. Platform strip ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  padding: 26px 0;
}
.strip-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.strip-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex: none;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.chip:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-2px); }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* ---------- 8. Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.25s ease, box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}
.card:hover {
  border-color: #C9DED4;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--brand-soft), #F4FBF8);
  border: 1px solid #CFEDE0;
  color: var(--brand-deep);
  margin-bottom: 18px;
}
.card-ic svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }

.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.card-tags span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--paper-3);
  border-radius: 6px;
  padding: 3px 8px;
}

/* Bento: wide feature card */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.bento .card { padding: 30px; }
.b-span-2 { grid-column: span 2; }
.b-span-3 { grid-column: span 3; }
.b-span-4 { grid-column: span 4; }
.b-span-6 { grid-column: span 6; }

.card--accent {
  background: linear-gradient(160deg, #0A1A14 0%, #06120E 100%);
  color: #EAF3EF;
  border-color: rgba(255, 255, 255, 0.08);
}
.card--accent .card-ic {
  background: rgba(18, 201, 138, 0.14);
  border-color: rgba(18, 201, 138, 0.26);
  color: var(--brand-3);
}
.card--accent p { color: #9DB0A8; }
.card--accent .card-tags span { background: rgba(255, 255, 255, 0.07); color: #C6DAD2; }

/* ---------- 9. Tabs ---------- */
.tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: var(--paper-3);
  border-radius: 100px;
  width: fit-content;
  margin: 0 auto 40px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}
.tab:hover { color: var(--text); }
.tab.is-active {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 2px 8px rgba(15, 23, 20, 0.08), 0 0 0 1px rgba(15, 23, 20, 0.04);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp 0.4s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 48px;
  align-items: center;
}
.split--rev .split-media { order: -1; }
.split-copy h3 { margin-bottom: 14px; font-size: clamp(22px, 2.2vw, 28px); }
.split-copy > p { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }

.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  font-size: 14.8px;
  color: var(--text-2);
  line-height: 1.6;
}
.check-list li svg { width: 20px; height: 20px; color: var(--brand); margin-top: 2px; }
.check-list li b { color: var(--text); font-weight: 650; }

/* Media panel (mock UI on paper) */
.mock {
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.mock-bar .dots i { background: #D8E2DD; }
.mock-bar .dots i:first-child { background: #C2D0CA; }
.mock-bar span { font-size: 12px; color: var(--muted); font-weight: 600; }
.mock-body { padding: 18px; }
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  margin-bottom: 8px;
}
.mock-row:last-child { margin-bottom: 0; }
.mock-row b { font-weight: 650; }
.mock-row .muted { color: var(--muted); font-size: 12px; }
.switch {
  width: 34px; height: 19px;
  border-radius: 100px;
  background: var(--brand);
  position: relative;
  flex: none;
}
.switch::after {
  content: "";
  position: absolute;
  top: 2px; right: 2px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.switch.off { background: #D4DFDA; }
.switch.off::after { right: auto; left: 2px; }
.pill {
  font-size: 11px;
  font-weight: 650;
  padding: 2px 9px;
  border-radius: 100px;
  background: var(--brand-soft);
  color: var(--brand-deep);
}
.pill--gray { background: var(--paper-3); color: var(--muted); }
.pill--amber { background: #FEF4E2; color: #A86A05; }

/* ---------- 10. Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px dashed var(--line-2);
  counter-increment: step;
}
.step:last-child { border-bottom: 0; }
.step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border: 1px solid #CBEEDF;
}
.step-num::before { content: "0" counter(step); }
.step h4 { font-size: 17px; font-weight: 700; margin-bottom: 5px; }
.step p { font-size: 14.5px; color: var(--muted); }

.steps-horizontal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 22px;
}
.step-card .n {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}
.step-card h4 { font-size: 16px; margin-bottom: 6px; }
.step-card p { font-size: 13.5px; color: var(--muted); }
.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px; right: -18px;
  width: 18px; height: 1px;
  background: var(--line-2);
}

/* ---------- 11. Platform matrix table ---------- */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
table.matrix { min-width: 640px; font-size: 14px; }
table.matrix th,
table.matrix td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.matrix thead th {
  background: var(--paper-2);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
table.matrix tbody tr:last-child td { border-bottom: 0; }
table.matrix tbody tr:hover { background: #FBFDFC; }
table.matrix td:first-child { font-weight: 650; }
.yes, .no {
  display: inline-grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
}
.yes { background: var(--brand-soft); color: var(--brand-deep); }
.no {
  display: inline-block;
  width: auto; height: auto;
  color: #C0CCC7;
  font-weight: 500;
}
.yes svg, .no svg { width: 12px; height: 12px; }

/* ---------- 12. Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: border-color 0.25s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price--hot {
  border-color: var(--brand);
  box-shadow: 0 20px 44px -26px rgba(0, 168, 112, 0.6);
  background: linear-gradient(180deg, #F3FCF8 0%, #fff 40%);
}
.price-flag {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #04180F;
  background: linear-gradient(180deg, #6EF0B8, #12C98A);
  padding: 3px 12px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 6px 14px -8px rgba(0, 168, 112, 0.9);
}
.price-name { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.price-desc { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--mono);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.price-amount .cur { font-size: 17px; font-weight: 600; color: var(--text-2); }
.price-amount .num { font-size: 40px; font-weight: 700; line-height: 1; color: var(--text); }
.price-amount .unit { font-size: 13px; font-weight: 500; color: var(--muted); font-family: var(--font); }
.price-note { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.price ul { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.price li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}
.price li svg { width: 16px; height: 16px; color: var(--brand); margin-top: 1px; }
.price .btn { margin-top: auto; }

.price-tabs { display: flex; justify-content: center; gap: 6px; margin-bottom: 34px; }

/* ---------- 12b. 联系面板 ---------- */
.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 36px 40px;
  border-radius: var(--r-xl);
  background: linear-gradient(120deg, #F1FBF6 0%, #FFFFFF 58%);
  border: 1px solid #CFEDE0;
  box-shadow: 0 18px 40px -28px rgba(4, 82, 56, 0.4);
}
.cp-main { max-width: 520px; }
.cp-main .eyebrow { margin-bottom: 12px; }
.cp-main h3 { font-size: 21px; margin-bottom: 7px; }
.cp-main p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.cp-side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cp-id {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 10px 16px;
}
.cp-id span { font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; }
.cp-id b {
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}
.cp-side small { font-size: 12.5px; color: var(--muted); }

/* ---------- 13. FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 22px 4px;
  text-align: left;
  font-size: 16px;
  font-weight: 650;
  color: var(--text);
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--brand-deep); }
.faq-q .plus {
  margin-left: auto;
  width: 24px; height: 24px;
  flex: none;
  position: relative;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: transform 0.3s ease, border-color 0.25s ease, background 0.25s ease;
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 1.5px;
  background: var(--text-2);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, background 0.25s ease;
}
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .plus { background: var(--brand); border-color: var(--brand); transform: rotate(180deg); }
.faq-item.is-open .plus::before,
.faq-item.is-open .plus::after { background: #04180F; }
.faq-item.is-open .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.36s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-a-inner {
  padding: 0 4px 24px;
  font-size: 14.8px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 92%;
}
.faq-a-inner p + p { margin-top: 10px; }
.faq-a-inner strong { color: var(--text); font-weight: 650; }

/* ---------- 14. CTA band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: linear-gradient(120deg, #06130F 0%, #0A2018 52%, #062A20 100%);
  color: #EAF3EF;
  padding: 68px 56px;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 90% at 88% 10%, rgba(18, 201, 138, 0.32), transparent 70%),
    radial-gradient(40% 70% at 6% 100%, rgba(56, 168, 200, 0.18), transparent 70%);
  z-index: -1;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(80% 80% at 70% 40%, #000, transparent 80%);
  z-index: -1;
}
.cta-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.cta h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 12px; }
.cta p { color: #A9BDB4; font-size: 15.5px; max-width: 520px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 15. Footer ---------- */
.footer {
  background: var(--ink);
  color: #9DB0A8;
  padding: 72px 0 34px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer .brand-name { color: #EAF3EF; }
.footer-desc { margin-top: 16px; font-size: 13.5px; line-height: 1.8; color: #86998F; max-width: 300px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-badges span {
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: #A9BDB4;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.footer h5 {
  font-size: 13px;
  font-weight: 700;
  color: #EAF3EF;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 13.5px; color: #86998F; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--brand-3); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 12.5px;
  color: #72867C;
}
.footer-bottom .disclaimer { max-width: 720px; line-height: 1.7; }

/* ---------- 16. Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #EAF3EF;
  padding: calc(var(--nav-h) + 66px) 0 72px;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 140%;
  background: radial-gradient(52% 60% at 50% 0%, rgba(18, 201, 138, 0.24), transparent 66%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(60% 70% at 50% 20%, #000, transparent 80%);
}
.page-hero > * { position: relative; }
.page-hero .lead { max-width: 700px; margin: 18px auto 0; color: #A9BDB4; }
.crumb {
  font-size: 12.5px;
  color: #7E948B;
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  justify-content: center;
}
.crumb a { color: #9DB0A8; }
.crumb a:hover { color: var(--brand-3); }

/* ---------- 17. Feature detail blocks ---------- */
.feature-block {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}
.feature-block:last-child { border-bottom: 0; }
.feature-block:nth-child(even) .fb-media { order: -1; }
.fb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-deep);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.fb-kicker span {
  width: 20px; height: 1px;
  background: var(--brand);
}
.feature-block h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 14px; }
.feature-block > * > p { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }

.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mini {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px;
  background: #fff;
}
.mini b { display: block; font-size: 13.5px; margin-bottom: 3px; }
.mini span { font-size: 12.5px; color: var(--muted); line-height: 1.5; display: block; }
.mini .k {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  padding: 1px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 600;
}

/* ---------- 18. Doc page ---------- */
.doc-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.doc-nav {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.doc-nav p {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.doc-nav a {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  padding: 6px 0;
  transition: color 0.2s ease;
}
.doc-nav a:hover { color: var(--brand-deep); }
.doc-nav a.is-current { color: var(--brand-deep); font-weight: 650; }
.doc-nav .sub { padding-left: 12px; font-size: 13px; color: var(--muted); }

.doc-body h2 { font-size: 26px; margin: 48px 0 14px; padding-top: 8px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 18px; margin: 30px 0 10px; }
.doc-body p { color: var(--text-2); font-size: 15.2px; margin-bottom: 14px; line-height: 1.85; }
.doc-body ul.bullets { margin: 0 0 18px; display: flex; flex-direction: column; gap: 9px; }
.doc-body ul.bullets li {
  position: relative;
  padding-left: 20px;
  font-size: 14.8px;
  color: var(--text-2);
  line-height: 1.75;
}
.doc-body ul.bullets li::before {
  content: "";
  position: absolute;
  left: 4px; top: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand);
}
.doc-body ol.num { counter-reset: n; display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.doc-body ol.num li {
  counter-increment: n;
  position: relative;
  padding-left: 34px;
  font-size: 14.8px;
  color: var(--text-2);
  line-height: 1.75;
}
.doc-body ol.num li::before {
  content: counter(n);
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-deep);
  background: var(--brand-soft);
}

.callout {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: #FFFBF0;
  border: 1px solid #F6E2B8;
  font-size: 14px;
  color: #7A5A12;
  line-height: 1.75;
  margin: 18px 0;
}
.callout svg { width: 18px; height: 18px; margin-top: 2px; color: #C98A12; }
.callout--info { background: #F2F9FF; border-color: #CFE4F7; color: #21557F; }
.callout--info svg { color: #3B82F6; }
.callout strong { color: inherit; }

.kbd {
  font-family: var(--mono);
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  color: var(--text-2);
  white-space: nowrap;
}

/* ---------- 19. Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* 防止网格子项被内容撑破 */
.hero-copy, .hero-visual, .split-copy, .split-media,
.card, .mock, .pane, .price, .step-card, .doc-body { min-width: 0; }
.appwin { overflow: hidden; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-copy { max-width: 100%; }
  .appwin { transform: none; animation: none; }
  .float-card { display: none; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split--rev .split-media { order: 0; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-horizontal { grid-template-columns: repeat(2, 1fr); }
  .step-card:not(:last-child)::after { display: none; }
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .doc-nav {
    position: static;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 16px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    order: -1;
  }
  .doc-nav p { width: 100%; margin-bottom: 0; }
  .doc-nav a { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 100px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-ver { display: none; }
  .nav-toggle { display: flex; }
  .nav-right .btn { display: none; }
  .section { padding: 76px 0; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-span-2, .b-span-3, .b-span-4, .b-span-6 { grid-column: span 2; }
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-block { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 44px 0; }
  .feature-block:nth-child(even) .fb-media { order: 0; }
  .cta { padding: 48px 32px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 640px) {
  .wrap, .nav-inner { padding: 0 18px; }
  .hero { padding: calc(var(--nav-h) + 48px) 0 64px; }
  .hero-meta { gap: 8px 14px; font-size: 12.5px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 38px; }
  .grid, .bento { grid-template-columns: minmax(0, 1fr) !important; }
  .b-span-2, .b-span-3, .b-span-4, .b-span-6 { grid-column: span 1; }
  .price-grid { grid-template-columns: minmax(0, 1fr); }
  .steps-horizontal { grid-template-columns: minmax(0, 1fr); }
  .mini-grid { grid-template-columns: minmax(0, 1fr); }
  .appwin-body { grid-template-columns: minmax(0, 1fr); }
  .appwin-body .pane-col { display: none; }
  .btn { width: 100%; }
  .hero-actions, .cta-actions { width: 100%; flex-direction: column; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 22px; }
  .cta { padding: 36px 22px; border-radius: var(--r-lg); }
  .contact-panel { padding: 26px 22px; gap: 22px; }
  .cp-side { width: 100%; align-items: stretch; }
  .cp-id { justify-content: space-between; width: 100%; }
  .brand-sub { display: none; }
  table.matrix th, table.matrix td { padding: 12px 14px; }
  .step { grid-template-columns: 40px 1fr; gap: 14px; }
  .step-num { width: 36px; height: 36px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 21. Print ---------- */
@media print {
  .nav, .mobile-menu, .cta, .footer, .hero-visual { display: none !important; }
  body { color: #000; }
  .section { padding: 24px 0; }
}
