:root {
  --ink: #1b2a4a;
  --muted: #5a6b88;
  --paper: #eef4ff;
  --card: #ffffff;
  --line: #1b2a4a;
  --coral: #ff6b4a;
  --coral-deep: #e24e32;
  --teal: #2ec4b6;
  --teal-deep: #1a9e93;
  --sun: #ffd166;
  --sky: #4d9de0;
  --lilac: #8b7cf6;
  --mint: #7bd389;
  --rose: #ff8fab;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --wrap: 1120px;
  --shadow: 6px 6px 0 var(--line);
  --shadow-sm: 4px 4px 0 var(--line);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.68;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 8% 12%, rgba(255, 209, 102, 0.45) 0 90px, transparent 91px),
    radial-gradient(circle at 92% 8%, rgba(46, 196, 182, 0.28) 0 120px, transparent 121px),
    radial-gradient(circle at 86% 88%, rgba(139, 124, 246, 0.22) 0 140px, transparent 141px),
    radial-gradient(circle at 10% 90%, rgba(255, 107, 74, 0.18) 0 110px, transparent 111px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--coral-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--lilac);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -72px;
  z-index: 50;
  padding: 0.55rem 0.95rem;
  border: 3px solid var(--line);
  background: var(--sun);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(calc(100% - 2rem), var(--wrap));
  margin: 0 auto;
}

.topbar {
  background: var(--ink);
  color: #f7fbff;
  font-size: 0.86rem;
  font-weight: 700;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.55rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 251, 255, 0.94);
  border-bottom: 3px solid var(--line);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 0 rgba(27, 42, 74, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 3px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  background: var(--sun);
}

.brand small {
  display: block;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  border: 3px solid var(--line);
  border-radius: 12px;
  padding: 0.6rem 1rem;
  font: inherit;
  font-weight: 800;
  color: #fff;
  background: var(--coral);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.nav-panel ul {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-panel a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
}

.nav-panel a:hover,
.nav-panel a[aria-current="page"] {
  background: #dff8f4;
}

.nav-cta {
  background: var(--coral) !important;
  color: #fff !important;
  border: 3px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background: var(--coral-deep) !important;
}

main {
  padding-bottom: 3rem;
}

.hero,
.page-hero {
  padding: 2.4rem 0 1.2rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.8rem;
  border: 3px solid var(--line);
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 3px 3px 0 var(--line);
}

.tag.alt {
  background: var(--teal);
  color: #073b36;
}

h1,
h2,
h3 {
  margin: 0 0 0.65rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.2rem 0 1.4rem;
}

.btn,
.btn-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 1.4rem;
  border: 3px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.btn {
  color: #fff;
  background: var(--coral);
}

.btn-alt {
  color: var(--ink);
  background: var(--card);
}

.btn:hover,
.btn-alt:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--line);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.metric {
  padding: 0.9rem 1rem;
  border: 3px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  font-size: 1.08rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-stage {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.blob {
  position: absolute;
  border: 3px solid var(--line);
  animation: floaty 5.5s ease-in-out infinite;
}

.blob-a {
  width: 120px;
  height: 120px;
  left: 0;
  top: 24px;
  border-radius: 36% 64% 42% 58%;
  background: var(--sun);
}

.blob-b {
  width: 88px;
  height: 88px;
  right: 8px;
  top: 40px;
  border-radius: 50%;
  background: var(--teal);
  animation-delay: -1.6s;
}

.blob-c {
  width: 70px;
  height: 70px;
  left: 28px;
  bottom: 36px;
  border-radius: 18px;
  background: var(--lilac);
  transform: rotate(18deg);
  animation-delay: -2.8s;
}

.device-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  padding: 0.85rem;
  border: 3px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: 10px 10px 0 var(--line);
}

.device-frame img {
  width: 100%;
  border: 3px solid var(--line);
  border-radius: 18px;
}

.person {
  position: absolute;
  z-index: 2;
  width: 72px;
  height: 118px;
  pointer-events: none;
}

.person-a {
  right: 6px;
  bottom: 18px;
}

.person-b {
  left: -8px;
  top: 86px;
}

.head {
  width: 28px;
  height: 28px;
  margin: 0 auto;
  border: 3px solid var(--line);
  border-radius: 50%;
  background: #ffd8b5;
}

.torso {
  width: 36px;
  height: 38px;
  margin: 2px auto 0;
  border: 3px solid var(--line);
  border-radius: 12px 12px 8px 8px;
  background: var(--coral);
}

.person-b .torso {
  background: var(--sky);
}

.legs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 2px;
}

.legs span {
  width: 10px;
  height: 28px;
  border: 3px solid var(--line);
  border-radius: 6px;
  background: var(--ink);
}

section {
  padding: 2.2rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-head p {
  margin: 0;
  max-width: 38ch;
  color: var(--muted);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.seo-card,
.platform,
.step {
  display: block;
  padding: 1.15rem 1.15rem 1.25rem;
  border: 3px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.seo-card:hover,
.card:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--line);
}

.kicker {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--coral-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.icon-tile {
  width: 58px;
  height: 58px;
  margin-bottom: 0.75rem;
  display: grid;
  place-items: center;
  border: 3px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
}

.tile-coral { background: var(--coral); color: #fff; }
.tile-teal { background: var(--teal); }
.tile-sun { background: var(--sun); }
.tile-sky { background: var(--sky); color: #fff; }
.tile-lilac { background: var(--lilac); color: #fff; }
.tile-mint { background: var(--mint); }
.tile-rose { background: var(--rose); }

.detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  align-items: center;
}

.figure {
  padding: 0.85rem;
  border: 3px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.figure img {
  border: 3px solid var(--line);
  border-radius: 16px;
}

.anno,
.warn {
  margin: 0 0 0.7rem;
  padding: 0.8rem 0.95rem;
  border: 3px solid var(--line);
  border-radius: 14px;
  background: #fff4d6;
  color: #6a4b12;
}

.warn {
  background: #ffe1d8;
  color: #7a2b1c;
  font-weight: 650;
}

.crumbs {
  margin: 0 0 0.7rem;
  color: var(--muted);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step-num {
  width: 42px;
  height: 42px;
  margin-bottom: 0.7rem;
  display: grid;
  place-items: center;
  border: 3px solid var(--line);
  border-radius: 50%;
  background: var(--sun);
  font-weight: 800;
}

.faq details {
  margin-bottom: 0.75rem;
  padding: 0.2rem 1rem;
  border: 3px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 0;
  font-weight: 800;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--coral-deep);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.scene {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-top: 1rem;
}

.mini-device {
  width: 86px;
  height: 58px;
  border: 3px solid var(--line);
  border-radius: 10px;
  background: var(--sky);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.mini-device::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -10px;
  height: 8px;
  border: 3px solid var(--line);
  border-top: 0;
  background: var(--ink);
}

.phone {
  width: 36px;
  height: 62px;
  border: 3px solid var(--line);
  border-radius: 10px;
  background: var(--mint);
  box-shadow: var(--shadow-sm);
}

footer {
  padding: 2.4rem 0 1.6rem;
  background: var(--ink);
  color: #e8eef8;
}

footer a {
  color: #9be7de;
}

footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 1.2rem;
}

.footer-grid h3 {
  font-size: 1rem;
  color: #fff;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li {
  margin: 0.35rem 0;
}

.footer-grid p {
  color: #b7c4db;
}

.footer-grid .brand {
  color: #fff;
}

.footer-grid .brand small {
  color: #b7c4db;
}

.logo-block img {
  width: 44px;
  height: 44px;
}

.legal {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 3px dashed rgba(255, 255, 255, 0.18);
  color: #b7c4db;
  font-size: 0.88rem;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 980px) {
  .hero,
  .detail,
  .footer-grid,
  .metrics,
  .grid-4,
  .grid-3,
  .grid-2,
  .steps-row {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    display: none;
    position: absolute;
    right: 1rem;
    top: calc(100% - 0.3rem);
    width: min(280px, calc(100% - 2rem));
    padding: 0.7rem;
    border: 3px solid var(--line);
    border-radius: 16px;
    background: var(--card);
    box-shadow: var(--shadow);
  }

  .nav-panel.is-open {
    display: block;
  }

  .nav-panel ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-header .wrap {
    position: relative;
  }
}

@media (max-width: 700px) {
  .hero,
  .detail,
  .footer-grid,
  .metrics,
  .grid-4,
  .grid-3,
  .grid-2,
  .steps-row,
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-stage {
    min-height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .blob,
  .btn,
  .btn-alt,
  .card,
  .seo-card {
    animation: none !important;
    transition: none !important;
  }

  .btn:hover,
  .btn-alt:hover,
  .card:hover,
  .seo-card:hover {
    transform: none;
    box-shadow: var(--shadow);
  }
}
