:root {
  --green: #07c160;
  --green-deep: #05a550;
  --green-soft: #e9f8f0;
  --green-ghost: #f2fbf6;
  --ink: #101828;
  --muted: #5a6473;
  --line: #e6eaf0;
  --bg: #ffffff;
  --bg-soft: #f7faf8;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 12px 32px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 28px 70px rgba(6, 78, 43, 0.14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font-family: inherit;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--green);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus {
  left: 8px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(230, 234, 240, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand small {
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
  padding-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  color: #344054;
}

.nav-links a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--green-deep);
  border-bottom-color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(7, 193, 96, 0.28);
}

.btn-primary:hover {
  background: var(--green-deep);
  box-shadow: 0 14px 30px rgba(7, 193, 96, 0.32);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  border-color: #cfd8d3;
  background: var(--green-ghost);
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 10px;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 64px;
  background: radial-gradient(
      900px 520px at 82% -10%,
      rgba(7, 193, 96, 0.14),
      transparent 62%
    ),
    radial-gradient(
      620px 460px at -8% 30%,
      rgba(7, 193, 96, 0.08),
      transparent 60%
    ),
    linear-gradient(180deg, #f4fbf7 0%, #ffffff 78%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(7, 193, 96, 0.25),
    transparent
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d9f0e4;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(7, 193, 96, 0.14);
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.15;
  letter-spacing: -0.8px;
  font-weight: 800;
}

.hero h1 .accent {
  color: var(--green-deep);
  position: relative;
  white-space: nowrap;
}

.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 6px;
  height: 10px;
  border-radius: 6px;
  background: rgba(7, 193, 96, 0.16);
  z-index: -1;
}

.hero-sub {
  margin: 0 0 30px;
  max-width: 520px;
  font-size: 17px;
  color: var(--muted);
}

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

.hero-note {
  margin-top: 14px;
  font-size: 13px;
  color: #8a94a3;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px dashed #dbe7e1;
}

.hero-stats strong {
  display: block;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.3px;
}

.hero-stats span {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- hero visual ---------- */

.hero-visual {
  position: relative;
  min-height: 430px;
}

.app-window {
  position: absolute;
  left: 0;
  top: 16px;
  width: min(540px, calc(100% - 116px));
  height: 380px;
  background: #fff;
  border: 1px solid #e3e9ee;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.window-bar {
  height: 38px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: #f6f8f7;
  border-bottom: 1px solid #edf1ee;
}

.window-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e4e9e6;
}

.window-bar i:nth-child(1) {
  background: #ffbdb4;
}

.window-bar i:nth-child(2) {
  background: #ffe1a3;
}

.window-bar i:nth-child(3) {
  background: #b8eccb;
}

.window-bar em {
  margin-left: 8px;
  font-style: normal;
  font-size: 11px;
  color: #9aa6b2;
  letter-spacing: 0.4px;
}

.window-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

.side {
  width: 196px;
  flex: none;
  border-right: 1px solid #eef2ef;
  background: #fbfcfb;
  padding: 12px 10px;
}

.side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #253027;
}

.side-head b {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  display: grid;
  place-items: center;
}

.side-item {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 9px 8px;
  border-radius: 10px;
}

.side-item.active {
  background: var(--green-soft);
}

.avatar {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 9px;
  background: #dfeee7;
  color: #0d7a44;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}

.side-item:nth-child(3) .avatar {
  background: #fde9dc;
  color: #b45309;
}

.side-item:nth-child(4) .avatar {
  background: #e8e4fb;
  color: #5b4bb7;
}

.side-lines {
  min-width: 0;
  flex: 1;
}

.side-lines b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #2c3640;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.side-lines span {
  display: block;
  font-size: 10.5px;
  color: #98a2ae;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-pane {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #f7f8f7;
}

.chat-head {
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: #fff;
  border-bottom: 1px solid #eef1ef;
  font-size: 12.5px;
  font-weight: 600;
  color: #2f3a44;
}

.chat-head span {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.chat-head span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.messages {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
}

.msg {
  max-width: 78%;
  padding: 8px 11px;
  border-radius: 11px;
  font-size: 11.5px;
  line-height: 1.5;
  color: #35414b;
  background: #fff;
  box-shadow: 0 1px 1px rgba(16, 24, 40, 0.04);
}

.msg.in {
  align-self: flex-start;
  border-top-left-radius: 4px;
}

.msg.out {
  align-self: flex-end;
  background: var(--green);
  color: #fff;
  border-top-right-radius: 4px;
}

.msg time {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  opacity: 0.62;
  text-align: right;
}

.composer {
  flex: none;
  margin: 0 12px 12px;
  height: 34px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid #ecefec;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 10.5px;
  color: #a6afb9;
  gap: 8px;
}

.composer .send {
  margin-left: auto;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--green);
  display: grid;
  place-items: center;
}

.composer .send::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 7px solid #fff;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  margin-left: 2px;
}

.phone {
  position: absolute;
  right: 0;
  bottom: -22px;
  width: 176px;
  height: 356px;
  border-radius: 28px;
  background: #10241a;
  padding: 7px;
  box-shadow: 0 30px 60px rgba(9, 51, 30, 0.3);
  border: 1px solid #234534;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  background: #f5f7f5;
  overflow: hidden;
  position: relative;
  padding: 18px 12px 12px;
}

.phone-screen::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 5px;
  border-radius: 3px;
  background: #10241a;
}

.phone-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #26332b;
  margin: 4px 2px 10px;
}

.phone-title i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #e3ebe6;
}

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

.phone-grid span {
  height: 46px;
  border-radius: 11px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 9px;
  font-weight: 600;
  color: #4a5850;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.phone-grid b {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #0b7a45;
  background: #e6f6ed;
}

.phone-grid span:nth-child(2) b {
  background: #fde8ee;
  color: #b03a5b;
}

.phone-grid span:nth-child(3) b {
  background: #fdf0db;
  color: #a16207;
}

.phone-grid span:nth-child(4) b {
  background: #ece8fe;
  color: #5b4bb7;
}

.phone-grid span:nth-child(5) b {
  background: #fde8dd;
  color: #b45309;
}

.phone-grid span:nth-child(6) b {
  background: #def3e6;
  color: #0f766e;
}

.phone-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  height: 30px;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  display: grid;
  place-items: center;
  letter-spacing: 0.3px;
}

/* ---------- sections ---------- */

section {
  padding: 84px 0;
  scroll-margin-top: 84px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--green-deep);
}

.section-head h2 {
  margin: 10px 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

.bg-soft {
  background: var(--bg-soft);
}

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

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-soft);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--green-deep);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
}

.feature p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- modules ---------- */

.modules {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.module {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.module:hover {
  transform: translateY(-3px);
  border-color: #cdeedd;
  box-shadow: var(--shadow-md);
}

.module .glyph {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
  color: #0d7a44;
  background: #e6f6ed;
  margin-bottom: 12px;
}

.module:nth-child(2) .glyph {
  background: #fde8ee;
  color: #b03a5b;
}

.module:nth-child(3) .glyph {
  background: #fdf0db;
  color: #a16207;
}

.module:nth-child(4) .glyph {
  background: #ece8fe;
  color: #5b4bb7;
}

.module:nth-child(5) .glyph {
  background: #fde8dd;
  color: #b45309;
}

.module:nth-child(6) .glyph {
  background: #def3e6;
  color: #0f766e;
}

.module:nth-child(7) .glyph {
  background: #e0edfd;
  color: #1d4ed8;
}

.module:nth-child(8) .glyph {
  background: #e4f4df;
  color: #3f7d1f;
}

.module:nth-child(9) .glyph {
  background: #fdf3cf;
  color: #9a6a00;
}

.module:nth-child(10) .glyph {
  background: #f3e7fd;
  color: #7e3fb0;
}

.module:nth-child(11) .glyph {
  background: #edf0f2;
  color: #475467;
}

.module:nth-child(12) .glyph {
  background: #def3e8;
  color: #0b6b43;
}

.module:nth-child(13) .glyph {
  background: #eae4fd;
  color: #5a3db8;
}

.module:nth-child(14) .glyph {
  background: #fdeade;
  color: #b45309;
}

.module:nth-child(15) .glyph {
  background: #e2eefc;
  color: #1e5ea8;
}

.module h3 {
  margin: 0 0 3px;
  font-size: 14.5px;
}

.module p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.modules-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--green-ghost);
  border: 1px solid #d9f0e4;
  font-size: 13px;
  color: #34624c;
}

.modules-note svg {
  width: 18px;
  height: 18px;
  flex: none;
  stroke: var(--green-deep);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}

/* ---------- CCM ---------- */

.ccm-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

.ccm-copy h2 {
  margin: 10px 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.ccm-copy > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15.5px;
}

.ccm-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.ccm-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14.5px;
  color: #344054;
}

.ccm-list .check {
  width: 21px;
  height: 21px;
  flex: none;
  border-radius: 7px;
  background: var(--green);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.ccm-list .check svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ccm-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.ccm-actions small {
  color: #8a94a3;
  font-size: 12.5px;
}

.ccm-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
  position: relative;
}

.ccm-card::before {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 18px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(7, 193, 96, 0.14),
    rgba(7, 193, 96, 0.03)
  );
  z-index: -1;
}

.ccm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef2ef;
  margin-bottom: 6px;
}

.ccm-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ccm-user .mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #10241a;
  color: #7ff0b0;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.ccm-user b {
  display: block;
  font-size: 13.5px;
}

.ccm-user span {
  display: block;
  font-size: 11.5px;
  color: #98a2ae;
}

.ccm-pill {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 5px 10px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 4px;
  border-bottom: 1px dashed #eef2ef;
}

.toggle-row:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.toggle-row .name {
  font-size: 13px;
  font-weight: 600;
  color: #2f3a44;
}

.toggle-row .hint {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  color: #98a2ae;
  margin-top: 1px;
}

.toggle {
  width: 42px;
  height: 24px;
  flex: none;
  border-radius: 999px;
  background: var(--green);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 21px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.22);
}

.toggle.off {
  background: #e3e8e5;
}

.toggle.off::after {
  left: 3px;
}

.ccm-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eef2ef;
  font-size: 10.5px;
  color: #98a2ae;
  display: flex;
  justify-content: space-between;
}

/* ---------- download ---------- */

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}

.dl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.dl-card.featured {
  border-color: #b9e8cd;
  background: linear-gradient(180deg, #f7fdf9 0%, #ffffff 55%);
}

.dl-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.dl-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--green-soft);
  display: grid;
  place-items: center;
}

.dl-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--green-deep);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dl-top h3 {
  margin: 0;
  font-size: 16.5px;
}

.dl-top small {
  display: block;
  font-size: 12px;
  color: #98a2ae;
  margin-top: 1px;
}

.dl-meta {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
}

.dl-meta li {
  display: flex;
  gap: 8px;
}

.dl-meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: #b7c4bc;
  margin-top: 8px;
}

.dl-card .btn {
  margin-top: auto;
  width: 100%;
}

.dl-pending {
  display: none;
  margin-top: 10px;
  font-size: 11.5px;
  color: #b45309;
}

.dl-card.pending .dl-pending {
  display: block;
}

.dl-card.pending .btn {
  background: #f1f4f2;
  color: #98a2ae;
  box-shadow: none;
  cursor: not-allowed;
}

.download-foot {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 12.5px;
  color: #8a94a3;
}

.updates {
  margin-top: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
}

.updates h3 {
  margin: 0 0 4px;
  font-size: 15.5px;
}

.updates small {
  color: #98a2ae;
  font-size: 12px;
}

.updates ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  font-size: 13.5px;
  color: #475467;
}

.updates li {
  display: flex;
  gap: 8px;
}

.updates li::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  margin-top: 8px;
}

/* ---------- faq ---------- */

.faq {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq details[open] {
  border-color: #cdeedd;
  box-shadow: var(--shadow-sm);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 26px 17px 0;
  font-size: 14.5px;
  font-weight: 600;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #98a2ae;
  border-bottom: 2px solid #98a2ae;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  top: 25px;
}

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

/* ---------- footer ---------- */

.site-footer {
  background: #0b1a12;
  color: #b8c6bd;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 14px;
}

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

.footer-desc {
  margin: 0;
  max-width: 300px;
  font-size: 13px;
  line-height: 1.7;
  color: #8ea297;
}

.footer-col h4 {
  margin: 2px 0 14px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: #8ea297;
  padding: 5px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #7ff0b0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12px;
  color: #71857a;
}

.footer-bottom a {
  color: #8ea297;
}

.footer-bottom a:hover {
  color: #7ff0b0;
}

/* ---------- legal ---------- */

.legal {
  padding: 64px 0 84px;
  background: var(--bg-soft);
  min-height: calc(100vh - 68px);
}

.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px 56px;
  box-shadow: var(--shadow-sm);
}

.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.legal-top a {
  font-size: 13.5px;
  color: var(--green-deep);
  font-weight: 600;
}

.legal h1 {
  margin: 0 0 6px;
  font-size: 30px;
  letter-spacing: -0.4px;
}

.legal .date {
  color: #98a2ae;
  font-size: 12.5px;
  margin-bottom: 30px;
}

.legal h2 {
  font-size: 17px;
  margin: 32px 0 10px;
}

.legal p,
.legal li {
  font-size: 14.2px;
  color: #475467;
}

.legal ul {
  padding-left: 20px;
}

.legal li {
  margin: 6px 0;
}

.legal .callout {
  margin: 22px 0;
  padding: 16px 18px;
  background: var(--green-ghost);
  border: 1px solid #d9f0e4;
  border-radius: 12px;
  font-size: 13.5px;
  color: #34624c;
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    min-height: 420px;
    max-width: 620px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .ccm-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .ccm-card {
    max-width: 520px;
  }

  .download-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-col:last-child {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1120px, calc(100% - 36px));
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    display: none;
    box-shadow: 0 18px 30px rgba(16, 24, 40, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 4px;
    border-bottom: 1px solid #f2f5f3;
  }

  .nav-links a:hover {
    border-bottom-color: #f2f5f3;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-visual {
    min-height: 380px;
  }

  .app-window {
    right: 54px;
    width: auto;
    height: 330px;
  }

  .phone {
    width: 150px;
    height: 306px;
    bottom: -8px;
    right: 0;
    border-radius: 25px;
  }

  .phone-screen {
    padding: 15px 9px 9px;
    border-radius: 19px;
  }

  .phone-grid span {
    height: 38px;
    font-size: 8px;
  }

  .phone-grid b {
    width: 17px;
    height: 17px;
    font-size: 8.5px;
  }

  section {
    padding: 64px 0;
  }

  .modules {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-grid {
    grid-template-columns: 1fr;
  }

  .updates {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .updates ul {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .legal-wrap {
    padding: 32px 24px;
  }
}

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

  .features {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 330px;
  }

  .app-window {
    right: 0;
    height: 300px;
  }

  .side {
    width: 150px;
  }

  .phone {
    display: none;
  }

  .modules {
    gap: 10px;
  }

  .module {
    padding: 14px 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

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

  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- admin gate ---------- */

.admin-gate {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.gate-intro {
  padding: 30px 28px;
  background: linear-gradient(150deg, #10241a 0%, #1c3d2a 100%);
  color: #e8f5ec;
}

.gate-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 11.5px;
  letter-spacing: 0.08em;
}

.gate-intro h3 {
  margin: 14px 0 8px;
  font-size: 21px;
  color: #fff;
}

.gate-intro p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #c3d8ca;
}

.gate-points {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 12.5px;
  color: #b9d2c2;
}

.gate-points li {
  display: flex;
  gap: 8px;
}

.gate-points li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 8px;
  flex: none;
}

.gate-panel {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gate-form {
  display: grid;
  gap: 12px;
  margin: 0;
}

.gate-field {
  display: grid;
  gap: 6px;
  font-size: 12.5px;
  color: #475467;
  font-weight: 600;
}

.gate-field input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #f9fbfa;
  color: var(--ink);
}

.gate-field input:focus {
  outline: 2px solid rgba(7, 193, 96, 0.35);
  border-color: var(--green);
}

.gate-msg {
  margin: 2px 0 0;
  font-size: 12.5px;
  min-height: 18px;
  color: #8a94a3;
}

.gate-msg.err {
  color: #d92d20;
}

.gate-msg.ok {
  color: var(--green-deep);
}

.gate-private {
  display: grid;
  gap: 12px;
}

.gate-private[hidden],
.gate-form[hidden],
.gate-note[hidden] {
  display: none !important;
}

.gate-user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #344054;
}

.gate-user-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.gate-user .link-btn {
  margin-left: auto;
  border: 0;
  background: none;
  color: var(--green-deep);
  font-size: 12.5px;
  cursor: pointer;
  padding: 4px 6px;
}

.gate-note {
  font-size: 12px;
  color: #b45309;
  background: #fff7e6;
  border: 1px solid #ffe1b3;
  padding: 8px 10px;
  border-radius: 8px;
}

.gate-files {
  display: grid;
  gap: 10px;
}

.gate-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfc;
}

.gate-file-info {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.gate-file-info strong {
  font-size: 14px;
}

.gate-file-info span {
  font-size: 11.5px;
  color: #98a2ae;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gate-file .btn {
  margin-left: auto;
  flex: none;
}

.gate-file .btn:disabled {
  background: #f1f4f2;
  color: #98a2ae;
  box-shadow: none;
  cursor: not-allowed;
}

.gate-empty {
  font-size: 13px;
  color: #8a94a3;
  margin: 0;
}

@media (max-width: 860px) {
  .admin-gate {
    grid-template-columns: 1fr;
  }
}

[hidden] {
  display: none !important;
}

/* ---------- 首页发现广场 ---------- */
.show-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 26px 0 22px;
  flex-wrap: wrap;
}

.show-tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.show-tab:hover {
  border-color: #b9e8cd;
  color: var(--green-deep);
}

.show-tab.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  font-weight: 600;
}

.show-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
}

.show-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  min-height: 96px;
}

.show-card .sc-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.sc-avatar {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-deep);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}

.sc-avatar.female {
  background: #fdeef4;
  color: #d4578a;
}

.sc-avatar.male {
  background: #eaf2fd;
  color: #4a7cc7;
}

.sc-lines {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sc-lines b {
  font-size: 13.5px;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sc-lines span {
  font-size: 11.5px;
  color: #98a2ae;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sc-lines .sc-bio {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sc-tag {
  margin-top: auto;
  align-self: flex-start;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 3px 9px;
  border-radius: 999px;
}

.show-more-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #98a2ae;
  font-size: 13px;
  padding: 30px 0;
  margin: 0;
}

.show-empty {
  text-align: center;
  color: #98a2ae;
  font-size: 13px;
  margin-top: 16px;
}

@media (max-width: 1024px) {
  .show-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .show-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .show-card {
    padding: 12px;
  }
}

/* 单卡下载区 */
.download-grid.single {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}

/* ============================================================
   2026-12 网页版账号与频道页
   ============================================================ */

/* 顶部导航：9 个栏目 + 登录/注册 */
.nav-links {
  gap: 22px;
  font-size: 14px;
}

.nav-links a[aria-current="page"] {
  color: var(--green-deep);
  border-bottom-color: var(--green);
}

.nav-actions .nav-account {
  font-weight: 600;
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 13px;
    font-size: 13.5px;
  }
}

/* 首页第一屏：模块入口 */
.portal-top {
  padding: 44px 0 40px;
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(7, 193, 96, 0.08), transparent 60%),
    linear-gradient(180deg, var(--green-ghost), #fff 70%);
}

.portal-head {
  text-align: center;
  margin-bottom: 28px;
}

.portal-head h1 {
  font-size: 34px;
  line-height: 1.25;
  margin: 10px 0 12px;
  letter-spacing: -0.5px;
}

.portal-head p {
  color: var(--muted);
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto;
}

.module {
  display: block;
  color: inherit;
}

.module:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* 热门板块 */
.hot-block {
  padding: 40px 0 44px;
}

.hot-block .show-grid {
  max-width: none;
  margin: 0;
}

.row-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.row-head h2 {
  font-size: 24px;
  margin: 8px 0 0;
  letter-spacing: -0.3px;
}

.see-all {
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 0;
}

.see-all:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 音乐/视频外链卡片 */
.sc-link {
  display: block;
  color: inherit;
  border-radius: 12px;
}

.sc-link:hover .show-card {
  transform: translateY(-2px);
  border-color: rgba(7, 193, 96, 0.45);
  box-shadow: var(--shadow-md);
}

.sc-link .show-card {
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* 频道列表页 */
.page-hero {
  padding: 54px 0 30px;
  background:
    radial-gradient(1000px 320px at 90% -20%, rgba(7, 193, 96, 0.09), transparent 60%),
    linear-gradient(180deg, var(--green-ghost), #fff 80%);
}

.page-hero h1 {
  font-size: 36px;
  margin: 10px 0 12px;
  letter-spacing: -0.5px;
}

.page-hero p {
  color: var(--muted);
  font-size: 15px;
  max-width: 680px;
  margin: 0 0 18px;
}

.page-body {
  padding: 36px 0 64px;
}

.page-note {
  color: #98a2ae;
  font-size: 12.5px;
  margin-top: 26px;
}

.show-grid.wide {
  max-width: none;
  margin: 0;
  gap: 14px;
}

/* 登录 / 注册 */
.auth-page {
  padding: 52px 0 72px;
  background:
    radial-gradient(1000px 420px at 15% -10%, rgba(7, 193, 96, 0.08), transparent 60%),
    var(--bg);
}

.auth-shell {
  display: flex;
  justify-content: center;
}

.auth-card {
  width: min(430px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px 28px;
  box-shadow: var(--shadow-md);
}

.auth-card h1 {
  font-size: 26px;
  margin: 8px 0 6px;
  letter-spacing: -0.4px;
}

.auth-sub {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 22px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-field span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #475467;
  margin-bottom: 6px;
}

.auth-field input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fbfcfd;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-field input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(7, 193, 96, 0.16);
  background: #fff;
}

.auth-form .btn {
  width: 100%;
  margin-top: 4px;
}

.auth-msg {
  min-height: 18px;
  font-size: 13px;
  margin: 0;
  color: var(--muted);
}

.auth-msg.err {
  color: #d92d20;
}

.auth-msg.ok {
  color: var(--green-deep);
}

.auth-alt {
  font-size: 13.5px;
  color: var(--muted);
  margin: 16px 0 0;
}

.auth-alt a {
  color: var(--green-deep);
  font-weight: 600;
}

.auth-alt a:hover {
  text-decoration: underline;
}

.auth-tip {
  font-size: 12px;
  color: #98a2ae;
  margin: 10px 0 0;
}

.auth-tip a {
  color: var(--green-deep);
}

/* 账号中心 */
.account-page .section-head {
  text-align: left;
  margin-bottom: 26px;
}

.account-page .section-head h1 {
  font-size: 32px;
  margin: 8px 0 10px;
}

.acct-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.acct-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.acct-card h3 {
  margin: 0 0 14px;
  font-size: 17px;
}

.acct-kv {
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
}

.acct-kv div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
}

.acct-kv div:last-child {
  border-bottom: none;
}

.acct-kv dt {
  color: var(--muted);
  font-size: 13px;
}

.acct-kv dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  word-break: break-all;
}

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

.device-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}

.device-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.device-info b {
  font-size: 14px;
}

.device-info span {
  font-size: 12px;
  color: var(--muted);
}

.device-badge {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.muted-sm {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 10px;
}

.muted-sm a {
  color: var(--green-deep);
}

/* 商家平台 */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.step-card p {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0 0 14px;
}

.merchant-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .steps,
  .merchant-grid {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 760px) {
  .portal-top {
    padding: 32px 0 30px;
  }

  .portal-head h1 {
    font-size: 26px;
  }

  .hot-block {
    padding: 30px 0 34px;
  }

  .row-head h2 {
    font-size: 20px;
  }

  .page-hero {
    padding: 38px 0 22px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .auth-card {
    padding: 26px 20px 22px;
  }
}

/* ============================================================
   移动端导航抽屉（2026-12 优化：卡片化 + 登录/注册入口）
   ============================================================ */

@media (max-width: 760px) {
  .nav-links {
    top: 66px;
    left: 12px;
    right: 12px;
    padding: 8px;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 16px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    box-shadow: 0 24px 48px rgba(16, 24, 40, 0.16);
  }

  .nav-links a {
    padding: 12px 14px;
    border-bottom: 0;
    border-radius: 10px;
    font-size: 15px;
    color: var(--ink);
  }

  .nav-links a:hover,
  .nav-links a:active,
  .nav-links a[aria-current="page"] {
    background: var(--green-ghost);
    color: var(--green-deep);
    border-bottom-color: transparent;
  }

  .nav-mobile-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    padding: 12px 6px 4px;
    border-top: 1px solid var(--line);
  }

  .nav-mobile-actions .btn {
    display: inline-flex;
    flex: 1;
    height: 42px;
  }
}

/* 验证码输入行（注册 / 找回密码） */
.auth-code-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.auth-code-row input {
  flex: 1;
  min-width: 0;
}
.auth-code-row .btn {
  white-space: nowrap;
  flex: none;
}

/* 模块被管理员关闭：导航置灰 + 页面顶部提示 */
.nav-off {
  opacity: 0.45;
  cursor: not-allowed;
}
.nav-links a.nav-off {
  pointer-events: auto;
}
.module-offline {
  background: #fff7e6;
  color: #8a5a00;
  border-bottom: 1px solid #f0d9a8;
  text-align: center;
  font-size: 13px;
  padding: 10px 16px;
}

/* 开放平台应用凭证行 */
.app-cred {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  color: var(--muted, #6b7280);
  word-break: break-all;
}
.app-row .device-info {
  min-width: 0;
}
