:root {
  --brand: #067bef;
  --brand-strong: #056fd7;
  --brand-deep: #0b4ea2;
  --brand-soft: #eaf3ff;
  --brand-softer: #f4f8ff;
  --ink: #1b2430;
  --ink-soft: #4f5d6e;
  --muted: #7b8798;
  --line: #e4ebf5;
  --surface: #ffffff;
  --surface-alt: #f6f9fe;
  --accent: #37c6b0;
  --amber: #ffb020;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 6px 18px rgba(19, 56, 105, 0.06);
  --shadow-md: 0 20px 50px -18px rgba(14, 52, 105, 0.22);
  --container: 1180px;
  --font: "Apple System", "SF Pro SC", "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
}
.skip-link:focus { left: 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 235, 245, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.brand__logo { height: 34px; width: auto; }
.brand__name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-deep);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
}
.desktop-nav a { position: relative; padding: 8px 0; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.desktop-nav a:hover { color: var(--brand); }
.desktop-nav a:hover::after { transform: scaleX(1); }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-deep);
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.header-link:hover { border-color: var(--brand); color: var(--brand); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { display: none; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 70px;
  background:
    radial-gradient(900px 420px at 82% 6%, rgba(6, 123, 239, 0.11), transparent 70%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 82%);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}
.hero__glow--one {
  width: 320px;
  height: 320px;
  right: -120px;
  top: 40px;
  background: rgba(55, 198, 176, 0.12);
}
.hero__glow--two {
  width: 260px;
  height: 260px;
  left: -130px;
  bottom: -120px;
  background: rgba(6, 123, 239, 0.1);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: 22px;
}

.hero__lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  padding: 0 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, #056fd7 0%, #0560c9 58%, #0b4ea2 100%);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  box-shadow:
    0 18px 42px -12px rgba(6, 123, 239, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  animation: download-cta-glow 3s ease-in-out infinite;
  cursor: pointer;
}
.btn-download:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 24px 54px -12px rgba(6, 123, 239, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}
.btn-download:active { transform: translateY(0) scale(0.99); }
.btn-download:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

@keyframes download-cta-glow {
  0%, 100% { box-shadow: 0 18px 42px -12px rgba(6, 123, 239, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
  50% { box-shadow: 0 22px 54px -8px rgba(6, 123, 239, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.32); }
}

.hero__secondary {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 12px 4px;
  border-bottom: 1px solid rgba(79, 93, 110, 0.35);
}
.hero__secondary:hover { color: var(--brand); border-color: var(--brand); }

.hero__meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero__chips li {
  font-size: 13px;
  color: var(--brand-deep);
  background: rgba(234, 243, 255, 0.9);
  border: 1px solid rgba(6, 123, 239, 0.12);
  border-radius: 999px;
  padding: 5px 12px;
}

.hero__visual { position: relative; }
.canvas-card {
  background: #fff;
  border: 1px solid rgba(213, 227, 245, 0.9);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transform: rotate(-1deg);
}
.canvas-card__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfdff;
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--red { background: #ff6b6b; }
.dot--amber { background: #ffc44d; }
.dot--green { background: #49d18a; }
.canvas-card__title {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}
.canvas-card__badge {
  margin-left: auto;
  font-size: 11px;
  color: #0b8a76;
  background: #e8faf6;
  border-radius: 999px;
  padding: 3px 9px;
}
.canvas-stage { position: relative; background: #f8fbff; }
.canvas-stage > img { width: 100%; height: auto; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(218, 231, 247, 0.95);
  box-shadow: 0 14px 30px -12px rgba(17, 55, 105, 0.3);
  border-radius: 12px;
  padding: 10px 13px;
}
.float-card strong { display: block; font-size: 12px; line-height: 1.3; }
.float-card small { display: block; font-size: 10.5px; color: var(--muted); line-height: 1.4; }
.float-card--ai { left: 18px; bottom: 22px; }
.float-card--sync { right: 16px; top: 18px; }
.float-card__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #0b86ff, #37c6b0);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.float-card__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(6, 123, 239, 0.14);
}

/* Trust strip */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.trust-item {
  padding: 24px 26px;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: 16px; margin-bottom: 4px; }
.trust-item span { font-size: 13px; color: var(--muted); }

/* Sections */
.section { padding: 92px 0; }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__en {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-head__cn {
  font-size: clamp(28px, 3.1vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin-bottom: 16px;
}
.section-head__desc { color: var(--ink-soft); font-size: 16px; }

/* Capabilities */
.capabilities { background: linear-gradient(180deg, #ffffff, #f8fbff 60%, #ffffff); }
.diagram-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.diagram-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.diagram-card:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 123, 239, 0.3);
  box-shadow: var(--shadow-sm);
}
.diagram-card img { width: 46px; height: 46px; margin-bottom: 16px; }
.diagram-card h3 { font-size: 18px; margin-bottom: 8px; }
.diagram-card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* AI section */
.ai-section { background: var(--surface-alt); }
.ai-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 62px;
  align-items: center;
}
.ai-copy .section-head__desc { margin-bottom: 28px; }
.check-list { display: grid; gap: 18px; }
.check-list li {
  position: relative;
  padding-left: 34px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}
.check-list strong { display: block; font-size: 16px; margin-bottom: 3px; }
.check-list span { font-size: 14px; color: var(--ink-soft); }

.ai-demo { position: relative; }
.ai-demo__panel {
  background: #fff;
  border: 1px solid rgba(214, 228, 246, 0.95);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow-md);
}
.ai-demo__label { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 14px; }
.prompt-pill {
  font-size: 14px;
  color: var(--ink-soft);
  background: #f7faff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 9px;
}
.ai-demo__types { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 22px; }
.ai-demo__types span {
  font-size: 12px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 4px 10px;
}
.ai-demo__result {
  position: relative;
  min-height: 190px;
  border-radius: 14px;
  background:
    linear-gradient(rgba(6, 123, 239, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 123, 239, 0.055) 1px, transparent 1px),
    #fbfdff;
  background-size: 22px 22px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
}
.ai-demo__root {
  position: relative;
  z-index: 2;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px -8px rgba(6, 123, 239, 0.65);
}
.ai-demo__branch {
  position: absolute;
  background: #fff;
  border: 1px solid rgba(6, 123, 239, 0.3);
  color: var(--brand-deep);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 600;
}
.ai-demo__branch::before {
  content: "";
  position: absolute;
  left: -42px;
  top: 50%;
  width: 38px;
  height: 1px;
  background: rgba(6, 123, 239, 0.45);
}
.ai-demo__branch--a { right: 18px; top: 22px; }
.ai-demo__branch--b { right: 34px; top: 70px; }
.ai-demo__branch--c { right: 16px; bottom: 60px; }
.ai-demo__branch--d { right: 40px; bottom: 16px; }
.ai-demo__illustration {
  position: absolute;
  right: -24px;
  bottom: -28px;
  width: 150px;
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(15, 55, 110, 0.18));
  pointer-events: none;
}

/* Collaboration */
.collab-visual {
  position: relative;
  border-radius: 24px;
  overflow: visible;
  margin-bottom: 26px;
}
.collab-visual > img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.collab-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-sm);
}
.collab-badge strong { display: block; font-size: 12px; }
.collab-badge span { display: block; font-size: 10.5px; color: var(--muted); }
.collab-badge--one { left: 22px; bottom: 22px; }
.collab-badge--two { right: 22px; top: 22px; }

.collab-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.collab-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
}
.collab-card h3 { font-size: 17px; margin-bottom: 8px; }
.collab-card p { font-size: 13.5px; color: var(--muted); }

/* Templates */
.templates { background: var(--surface-alt); }
.template-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.template-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.template-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.template-card__media {
  height: 210px;
  overflow: hidden;
  background: #f3f7fd;
  border-bottom: 1px solid var(--line);
}
.template-card__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
}
.template-card__body { padding: 18px 20px 20px; }
.template-card__body span {
  display: inline-block;
  font-size: 11px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 3px 9px;
  margin-bottom: 10px;
}
.template-card__body h3 { font-size: 16px; line-height: 1.4; }

.template-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
}
.template-note__mark {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: #0b8a76;
  background: #e8faf6;
  border-radius: 999px;
  padding: 5px 12px;
}
.template-note p { flex: 1; font-size: 14px; color: var(--ink-soft); }
.template-note a { font-size: 13px; font-weight: 700; color: var(--brand); }

/* Platform */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.platform-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: left;
}
.platform-card img { width: 34px; height: 34px; margin-bottom: 12px; }
.platform-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.platform-card h3 { font-size: 16px; margin-bottom: 6px; }
.platform-card p { font-size: 12.5px; color: var(--muted); }

/* Security */
.security { background: linear-gradient(180deg, #ffffff, #f7fbff); }
.security-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.security-list { display: grid; gap: 18px; margin-top: 26px; }
.security-item {
  padding-left: 18px;
  border-left: 3px solid var(--brand);
}
.security-item h3 { font-size: 16px; margin-bottom: 4px; }
.security-item p { font-size: 13.5px; color: var(--muted); }

.security-visual {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}
.security-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.security-card img { width: 92px; height: auto; margin: 0 auto 12px; }
.security-card h3 { font-size: 15px; margin-bottom: 4px; }
.security-card p { font-size: 11.5px; color: var(--muted); }
.security-card--raised { transform: translateY(-14px); }

/* FAQ */
.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 56px;
  align-items: start;
}
.faq-list { display: grid; gap: 10px; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 20px;
}
.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  padding: 18px 30px 18px 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 16px;
  font-weight: 500;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 0 0 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* Final band */
.final-band {
  background:
    radial-gradient(700px 300px at 88% 20%, rgba(55, 198, 176, 0.18), transparent 70%),
    linear-gradient(120deg, #0b5fc4, #067bef 62%, #0a84f2);
  color: #fff;
}
.final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 64px 0;
}
.final-inner .section-head__en { color: rgba(255, 255, 255, 0.72); }
.final-inner h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.24; margin-bottom: 12px; }
.final-inner p { color: rgba(255, 255, 255, 0.82); font-size: 15px; max-width: 620px; }
.final-link {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 14px 28px;
  transition: background 0.2s ease, color 0.2s ease;
}
.final-link:hover { background: #fff; color: var(--brand-deep); }

/* Footer */
.site-footer {
  background: #0f1c2e;
  color: rgba(255, 255, 255, 0.72);
  padding: 44px 0 34px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1fr;
  gap: 28px;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { background: #fff; border-radius: 6px; padding: 5px 8px; height: 38px; width: auto; }
.footer-brand span { font-size: 17px; font-weight: 700; color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; }
.footer-nav a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-end; font-size: 12px; }
.footer-legal a:hover { color: #fff; }

/* Responsive */
@media (max-width: 1100px) {
  .desktop-nav { gap: 18px; }
  .diagram-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .platform-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .header-link { display: none; }
  .mobile-nav {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 8px 24px 18px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
  }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a { padding: 12px 4px; font-size: 15px; color: var(--ink-soft); border-bottom: 1px solid #f1f5fa; }

  .hero { padding: 56px 0 54px; }
  .hero__inner { grid-template-columns: 1fr; gap: 42px; }
  .hero__lede { max-width: none; }
  .hero__visual { max-width: 640px; }

  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .ai-inner, .security-inner, .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .collab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .security-visual { max-width: 560px; }
  .security-card--raised { transform: none; }
  .final-inner { flex-direction: column; align-items: flex-start; padding: 52px 0; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  .header-inner { min-height: 66px; gap: 16px; }
  .brand__logo { height: 28px; }
  .brand__name { font-size: 18px; }

  .hero h1 { font-size: 36px; }
  .hero__lede { font-size: 15.5px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-download { width: 100%; min-height: 56px; font-size: 17px; padding: 0 24px; }
  .hero__secondary { text-align: center; border-bottom: 0; }
  .canvas-card { transform: none; }
  .float-card--ai { left: 10px; bottom: 12px; }
  .float-card--sync { right: 10px; top: 10px; }
  .float-card small { display: none; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 30px; }
  .trust-item { padding: 18px 16px; }
  .trust-item strong { font-size: 14.5px; }
  .diagram-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .diagram-card { padding: 18px 16px; }
  .diagram-card h3 { font-size: 16px; }
  .ai-demo__illustration { width: 100px; right: -6px; bottom: -16px; }
  .ai-demo__branch--a { right: 10px; }
  .ai-demo__branch--b { right: 20px; }
  .ai-demo__branch--c { right: 8px; }
  .ai-demo__branch--d { right: 24px; }
  .collab-grid, .template-grid { grid-template-columns: 1fr; }
  .collab-badge { display: none; }
  .template-note { flex-direction: column; align-items: flex-start; gap: 10px; }
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .security-visual { grid-template-columns: 1fr; }
  .security-card { display: flex; align-items: center; text-align: left; gap: 14px; }
  .security-card img { width: 62px; margin: 0; flex: 0 0 auto; }
  .faq-list summary { font-size: 15px; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .footer-nav { gap: 12px 16px; }
  .footer-legal { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-download { animation: none; transition: none; }
  * { transition: none !important; }
}
