:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #607086;
  --line: #dbe7f5;
  --paper: #f7fbff;
  --mint: #d7e9ff;
  --green: #2f80ed;
  --green-dark: #1559c7;
  --coral: #2f80ed;
  --yellow: #d9ebff;
  --sky: #b8ddff;
  --shadow: 0 24px 70px rgba(21, 89, 199, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(247, 251, 255, 0.9);
  border-bottom: 1px solid rgba(219, 231, 245, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 20px rgba(21, 89, 199, 0.12);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #43556b;
  font-size: 14px;
}

.nav a,
.site-footer a {
  transition: color 0.2s ease;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--green-dark);
}

.header-action,
.primary-button,
.secondary-button,
.featured-download a,
.download-card a,
.founder-card a,
.founder-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 700;
}

.header-action {
  border: 0;
  padding: 0 18px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(44px, 8vw, 92px) clamp(20px, 6vw, 82px) 42px;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(44px, 8vw, 92px) clamp(20px, 6vw, 82px);
  background:
    linear-gradient(135deg, rgba(215, 233, 255, 0.78), rgba(184, 221, 255, 0.3)),
    var(--paper);
}

.product-hero-image {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.product-hero-image img {
  display: block;
  width: 100%;
  height: clamp(300px, 38vw, 480px);
  object-fit: contain;
  padding: 26px;
  mix-blend-mode: multiply;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.hero-lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 22px;
}

.primary-button {
  padding: 0 24px;
  background: var(--green-dark);
  color: white;
  box-shadow: 0 12px 30px rgba(21, 89, 199, 0.22);
}

.secondary-button {
  padding: 0 22px;
  border: 1px solid var(--line);
  background: white;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #43556b;
}

.trust-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: white;
  font-size: 14px;
}

.download-console {
  overflow: hidden;
  border: 1px solid #cfe0f4;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.console-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.console-top strong {
  color: var(--green-dark);
}

.featured-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
}

.featured-download p {
  margin-bottom: 4px;
  color: var(--muted);
  font-weight: 700;
}

.featured-download h2 {
  margin-bottom: 6px;
  font-size: clamp(26px, 4vw, 42px);
}

.featured-download span {
  color: var(--muted);
}

.featured-download a {
  flex: 0 0 auto;
  padding: 0 18px;
  background: var(--coral);
  color: white;
}

.tutorial-console {
  align-self: stretch;
}

.hero-tutorial-head {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px 22px 18px;
}

.hero-tutorial-head img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.hero-tutorial-head h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.hero-tutorial-head p {
  color: var(--muted);
}

.hero-tutorial-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 22px 22px;
}

.hero-tutorial-list a {
  display: flex;
  min-height: 138px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  text-align: center;
}

.hero-tutorial-list a:hover {
  border-color: rgba(47, 128, 237, 0.48);
  background: #f1f7ff;
}

.hero-tutorial-list img {
  width: 100%;
  height: 76px;
  object-fit: contain;
}

.hero-tutorial-list strong {
  font-size: 15px;
  line-height: 1.25;
}

.machine-visual {
  display: grid;
  gap: 16px;
  margin: 0 24px 24px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(215, 233, 255, 0.7), rgba(184, 221, 255, 0.34)),
    white;
}

.machine-visual img {
  display: block;
  width: 100%;
  height: clamp(260px, 34vw, 420px);
  object-fit: contain;
  padding: 24px;
  mix-blend-mode: multiply;
}

.machine-visual div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-top: 1px solid rgba(219, 231, 245, 0.9);
  background: rgba(255, 255, 255, 0.82);
}

.machine-visual span {
  color: var(--muted);
}

.quick-paths {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(20px, 6vw, 82px) 70px;
}

.quick-paths a,
.download-card,
.steps article,
.qr-card,
.product-card,
.article-list a,
.social-grid a,
.founder-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.quick-paths a {
  padding: 18px;
}

.quick-paths strong,
.quick-paths span {
  display: block;
}

.quick-paths span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 78px clamp(20px, 6vw, 82px);
}

.soft-band {
  background: #eef6ff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

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

.download-card {
  position: relative;
  padding: 24px;
}

.download-card.is-recommended {
  border-color: rgba(47, 128, 237, 0.42);
  background: #f3f8ff;
}

.badge {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--yellow);
  color: #17447d;
  font-size: 12px;
  font-weight: 800;
}

.download-card p {
  color: var(--muted);
}

.download-card dl {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}

.download-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #edf4fb;
  padding-bottom: 8px;
}

.download-card dt {
  color: var(--muted);
}

.download-card dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}

.download-card a {
  width: 100%;
  background: var(--ink);
  color: white;
}

.steps,
.starter-grid,
.product-grid,
.article-list,
.social-grid {
  display: grid;
  gap: 18px;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps article {
  padding: 22px;
}

.steps span,
.starter-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green-dark);
  font-weight: 900;
}

.steps p,
.starter-grid p,
.mini-copy p,
.mini-copy li,
.product-card p,
.article-list p,
.founder-section p,
.founder-card p,
.social-grid span {
  color: var(--muted);
}

.starter-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(241, 247, 255, 0.9)),
    var(--paper);
}

.starter-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.starter-grid article {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: white;
}

.starter-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: auto;
  border-radius: 8px;
  background: #eaf3ff;
  color: var(--green-dark);
  font-weight: 800;
}

.mini-program {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 28px;
  align-items: center;
  padding: 78px clamp(20px, 6vw, 82px);
  background: white;
}

.mini-copy {
  max-width: 760px;
}

.mini-copy ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding-left: 20px;
}

.qr-card {
  display: block;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.qr-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 78px rgba(21, 89, 199, 0.18);
}

.qr-card img {
  display: block;
  width: min(100%, 220px);
  aspect-ratio: 1;
  height: auto;
  margin: 0 auto 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
}

.qr-card p {
  margin-bottom: 4px;
  color: var(--muted);
}

.qr-card small {
  display: block;
  overflow-wrap: anywhere;
  color: #7d8da3;
}

.activities-section {
  padding: 78px clamp(20px, 6vw, 82px);
  background: white;
}

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

.activity-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 48px rgba(21, 89, 199, 0.1);
}

.activity-poster {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  color: white;
}

.activity-image-link {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f8fbff;
}

.activity-image-link img {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 760;
  object-fit: cover;
  transition: transform 0.18s ease;
}

.activity-image-link:hover img {
  transform: scale(1.025);
}

.activity-poster span,
.activity-poster small {
  font-weight: 800;
}

.activity-poster strong {
  max-width: 260px;
  font-size: 40px;
  line-height: 1.08;
}

.activity-cash .activity-poster {
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, 0.3), transparent 24%),
    linear-gradient(135deg, #1559c7, #2f80ed);
}

.activity-gift .activity-poster {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.32), transparent 24%),
    linear-gradient(135deg, #0f766e, #23a6d5);
}

.activity-xhs .activity-poster {
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.32), transparent 22%),
    linear-gradient(135deg, #df2b2f, #ff6b8a);
}

.activity-card h3,
.activity-card p {
  padding: 0 22px;
}

.activity-card h3 {
  margin-top: 20px;
}

.activity-card p {
  padding-bottom: 24px;
  color: var(--muted);
}

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

.product-card {
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(21, 89, 199, 0.12);
}

.product-card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: contain;
  padding: 22px;
  background: #f8fbff;
  mix-blend-mode: multiply;
}

.product-card h3,
.product-card p {
  padding: 0 22px;
}

.product-card p {
  padding-bottom: 22px;
}

.article-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-list a {
  padding: 24px;
}

.article-list span {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.article-list strong {
  display: block;
  margin: 8px 0;
  font-size: 20px;
}

.founder-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  gap: 34px;
  align-items: center;
  padding: 82px clamp(20px, 6vw, 82px);
  background: #102033;
  color: white;
}

.founder-section .eyebrow,
.founder-section p {
  color: #b8ddff;
}

.founder-section h2 {
  max-width: 700px;
}

.founder-card {
  padding: 28px;
  background: white;
  color: var(--ink);
}

.founder-avatar {
  display: block;
  width: 82px;
  height: 82px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  object-position: center 20%;
  box-shadow: 0 16px 40px rgba(21, 89, 199, 0.14);
}

.founder-card span {
  color: var(--green-dark);
  font-weight: 800;
}

.founder-card a {
  margin-top: 12px;
  padding: 0 18px;
  background: var(--green-dark);
  color: white;
}

.founder-contact-button {
  margin-top: 12px;
  border: 0;
  padding: 0 18px;
  background: var(--green-dark);
  color: white;
  cursor: pointer;
  font: inherit;
}

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

.social-grid a {
  display: flex;
  min-height: 148px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px;
}

.social-grid .social-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 14px;
  color: white;
}

.social-icon-douyin {
  background: #111318;
}

.douyin-mark {
  position: relative;
  color: white;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  text-shadow:
    -3px 2px 0 #23f4ef,
    3px -2px 0 #ff2a68;
}

.social-icon-xhs {
  background: #df2b2f;
}

.social-icon-xhs span {
  color: white;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  max-width: 860px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: white;
  box-shadow: var(--shadow);
}

.support-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
}

.support-panel ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.support-panel li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #f8fbff;
  font-weight: 700;
}

.social-grid strong,
.social-grid span {
  display: block;
}

.social-grid strong {
  margin-bottom: 8px;
  font-size: 24px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 6vw, 82px);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.footer-cooperation-button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  background: var(--green-dark);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.ai-chat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  font-size: 14px;
}

.ai-chat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px 0 10px;
  background: var(--green-dark);
  color: white;
  box-shadow: 0 18px 46px rgba(21, 89, 199, 0.26);
  cursor: pointer;
}

.ai-chat-toggle span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 900;
}

.ai-chat-toggle strong {
  font-size: 15px;
}

.ai-chat-panel {
  position: absolute;
  right: 0;
  bottom: 66px;
  display: grid;
  grid-template-rows: auto minmax(180px, 1fr) auto auto;
  width: min(380px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 110px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 30px 96px rgba(21, 89, 199, 0.28);
}

.ai-chat-panel[hidden] {
  display: none;
}

.ai-chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: var(--green-dark);
  color: white;
}

.ai-chat-head strong,
.ai-chat-head span {
  display: block;
}

.ai-chat-head span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.ai-chat-close {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.ai-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 16px;
  background: #f4f8ff;
}

.ai-message {
  display: flex;
}

.ai-message div {
  max-width: 86%;
  border-radius: 8px;
  padding: 10px 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.ai-message a {
  color: #0b66d8;
  text-decoration: underline;
}

.ai-message-user {
  justify-content: flex-end;
}

.ai-message-user div {
  background: var(--green-dark);
  color: white;
}

.ai-message-assistant {
  justify-content: flex-start;
}

.ai-message-assistant div {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.ai-message.is-thinking div {
  color: var(--muted);
}

.ai-chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: white;
}

.ai-chat-quick button {
  border: 1px solid #d6e4f5;
  border-radius: 999px;
  padding: 7px 10px;
  background: #f8fbff;
  color: var(--green-dark);
  cursor: pointer;
  font-size: 12px;
}

.ai-suggestions-message > div {
  max-width: 100%;
}

.ai-suggestions-message strong {
  display: block;
  margin-bottom: 10px;
}

.ai-suggestions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-suggestions-list button {
  border: 1px solid #d6e4f5;
  border-radius: 999px;
  padding: 7px 10px;
  background: #f8fbff;
  color: var(--green-dark);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.ai-suggestions-list button:hover {
  border-color: rgba(47, 128, 237, 0.45);
  background: #edf6ff;
}

.ai-chat-form {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: white;
}

.ai-chat-form input {
  min-width: 0;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
}

.ai-chat-form button {
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--green-dark);
  color: white;
  cursor: pointer;
  font-weight: 800;
}

.ai-chat-form button:disabled,
.ai-chat-form input:disabled {
  cursor: wait;
  opacity: 0.72;
}

.cooperation-modal,
.human-service-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 32, 51, 0.5);
}

.cooperation-modal[hidden],
.human-service-modal[hidden] {
  display: none;
}

.cooperation-card,
.human-service-card {
  position: relative;
  width: min(340px, 100%);
  border-radius: 8px;
  padding: 28px 24px 24px;
  background: white;
  text-align: center;
  box-shadow: 0 30px 90px rgba(16, 32, 51, 0.24);
}

.cooperation-close,
.human-service-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: #eef4fb;
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.cooperation-card img,
.human-service-card img {
  display: block;
  width: min(220px, 78vw);
  aspect-ratio: 1;
  height: auto;
  margin: 8px auto 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
}

.cooperation-card img {
  width: 96px;
  object-fit: cover;
  object-position: center 20%;
}

.cooperation-card h3,
.human-service-card h3 {
  margin-bottom: 8px;
}

.cooperation-card p,
.human-service-card p {
  margin-bottom: 14px;
  color: var(--muted);
}

.cooperation-phone {
  display: block;
  margin: 16px 0 4px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.2;
}

.cooperation-card > span {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 12px;
  background: #eaf3ff;
  color: var(--green-dark);
  font-weight: 800;
}

.human-service-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.human-service-card li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  background: #f8fbff;
  color: var(--ink);
  font-weight: 700;
}

.mobile-page {
  background: #f5f9ff;
}

.mobile-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 251, 255, 0.92);
  backdrop-filter: blur(16px);
}

.mobile-text-link {
  flex: 0 0 auto;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.mobile-hero {
  padding: 34px 18px 26px;
  background:
    linear-gradient(145deg, rgba(215, 233, 255, 0.92), rgba(255, 255, 255, 0.74)),
    var(--paper);
}

.mobile-hero h1 {
  margin-bottom: 16px;
  font-size: 42px;
}

.mobile-hero p:not(.eyebrow),
.mobile-section p {
  color: var(--muted);
}

.ios-copy,
.ios-only,
.is-ios .android-copy,
.is-ios .android-only {
  display: none;
}

.is-ios .ios-copy,
.is-ios .ios-only {
  display: inline-flex;
}

.is-ios .ios-copy {
  display: block;
}

.mobile-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.mobile-actions a {
  width: 100%;
}

.mobile-section {
  padding: 34px 18px;
}

.mobile-section .section-head {
  margin-bottom: 18px;
}

.mobile-section h2 {
  font-size: 28px;
}

.mobile-steps,
.mobile-link-list {
  display: grid;
  gap: 12px;
}

.mobile-steps a,
.mobile-link-list a,
.mobile-model-list a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 36px rgba(21, 89, 199, 0.08);
}

.mobile-steps a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px;
}

.mobile-steps span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: #eaf3ff;
  color: var(--green-dark);
  font-weight: 900;
}

.mobile-model-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mobile-model-list a {
  display: flex;
  min-height: 142px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  text-align: center;
}

.mobile-model-list img {
  width: 100%;
  height: 82px;
  object-fit: contain;
}

.mobile-model-list strong {
  font-size: 14px;
  line-height: 1.25;
}

.mobile-downloads {
  background: white;
}

.mobile-link-list a {
  display: block;
  padding: 16px;
}

.mobile-link-list strong,
.mobile-link-list span {
  display: block;
}

.mobile-link-list span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.mobile-service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--line);
  background: white;
}

.mobile-service img {
  width: 116px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
}

.mobile-footer {
  padding: 28px 18px 34px;
  color: var(--muted);
}

.mobile-footer p {
  margin-bottom: 0;
}

.admin-page {
  background: #f4f8ff;
}

.admin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 6vw, 82px);
  border-bottom: 1px solid var(--line);
  background: white;
}

.admin-header h1 {
  margin-bottom: 10px;
  font-size: 42px;
}

.admin-header p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.admin-help {
  color: var(--muted);
}

.admin-shell {
  padding: 34px clamp(20px, 6vw, 82px) 80px;
}

.admin-form {
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.admin-panel,
.admin-activity {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: white;
}

.admin-panel h2 {
  font-size: 26px;
}

.admin-panel label,
.admin-activity label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 800;
}

.admin-panel input,
.admin-panel textarea,
.admin-activity input,
.admin-activity textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
}

.admin-activities,
.admin-knowledge,
.admin-images {
  display: grid;
  gap: 14px;
}

.admin-image-preview {
  width: 118px;
  height: 88px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.admin-file-input {
  padding: 10px;
  background: #f8fbff;
}

.admin-activity {
  margin: 0;
}

.admin-activity legend {
  padding: 0 8px;
  color: var(--green-dark);
  font-weight: 900;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-actions button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.admin-status {
  margin: 0;
  color: var(--green-dark);
  font-weight: 800;
}

.admin-status.is-error {
  color: #d12f3f;
}

.article-page {
  padding: 40px clamp(20px, 7vw, 96px) 80px;
}

.knowledge-article {
  max-width: 860px;
  margin: 30px auto 0;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.knowledge-article h1 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
}

.knowledge-article h2 {
  margin: 30px 0 10px;
  font-size: 26px;
}

.knowledge-article p {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.knowledge-article .primary-button {
  margin-top: 14px;
}

.activity-contact {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.activity-contact img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.activity-contact h2 {
  margin-top: 0;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero,
  .product-hero,
  .founder-section {
    grid-template-columns: 1fr;
  }

  .quick-paths,
  .steps,
  .starter-grid,
  .download-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .mini-program {
    grid-template-columns: 1fr;
  }

  .support-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .header-action {
    width: 100%;
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: 42px;
  }

  .featured-download {
    align-items: stretch;
    flex-direction: column;
  }

  .featured-download a {
    width: 100%;
  }

  .hero-tutorial-head,
  .hero-tutorial-list {
    grid-template-columns: 1fr;
  }

  .hero-tutorial-head img {
    max-width: 180px;
  }

  .quick-paths,
  .steps,
  .starter-grid,
  .download-grid,
  .product-grid,
  .article-list,
  .activity-grid,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .activity-contact {
    grid-template-columns: 1fr;
  }

  .machine-visual {
    min-height: 240px;
    margin: 0 14px 14px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .ai-chat {
    right: 14px;
    bottom: 14px;
  }

  .ai-chat-toggle {
    min-height: 48px;
    padding-right: 14px;
  }

  .ai-chat-panel {
    right: -2px;
    bottom: 60px;
    width: calc(100vw - 24px);
    height: min(590px, calc(100vh - 92px));
  }
}
