:root {
  --paper: #fbf7ef;
  --paper-strong: #fffdf8;
  --ink: #121417;
  --muted: #6d6a63;
  --line: #e9ded0;
  --coral: #ff6b54;
  --amber: #f5b64a;
  --green: #3d7967;
  --blue: #476f9f;
  --dark: #171717;
  --radius: 8px;
  --shadow: 0 18px 38px rgba(28, 21, 14, 0.14);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255, 107, 84, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(245, 182, 74, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 74px 74px;
}

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

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

a:focus-visible,
button:focus-visible,
.button:focus-visible,
.header-action:focus-visible {
  outline: 3px solid rgba(255, 107, 84, 0.48);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(140px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  background: rgba(251, 247, 239, 0.82);
  border-bottom: 1px solid rgba(233, 222, 208, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.header-action,
.nav-links a,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand {
  justify-content: flex-start;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  filter: drop-shadow(0 4px 8px rgba(28, 21, 14, 0.12));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.62);
}

.nav-links a {
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--ink);
  background: #fff;
}

.header-action {
  justify-self: end;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 86svh;
  padding: clamp(96px, 12vh, 132px) clamp(22px, 6vw, 92px) 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 96px 5vw auto auto;
  width: min(54vw, 720px);
  height: min(54vw, 720px);
  background:
    radial-gradient(circle at 44% 46%, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, rgba(255, 107, 84, 0.18), rgba(245, 182, 74, 0.18));
  border-radius: 48% 52% 46% 54%;
  transform: rotate(-8deg);
  z-index: -1;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.small-title {
  margin: 0 0 20px;
  color: var(--green);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 900;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.94;
  font-weight: 950;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-lead {
  position: relative;
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.18;
  font-weight: 900;
}

.hero-lead::before,
.accent-line {
  content: "";
  display: block;
  width: 210px;
  max-width: 42vw;
  height: 10px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--amber));
}

.hero-body {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.8;
  text-wrap: pretty;
}

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

.button {
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #ff8f52);
  box-shadow: 0 16px 34px rgba(255, 107, 84, 0.28);
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
}

.hero-stage {
  position: relative;
  min-height: 500px;
}

.fox {
  position: absolute;
  width: min(56%, 370px);
  right: 18%;
  bottom: 0;
  filter: drop-shadow(0 28px 32px rgba(202, 105, 82, 0.18));
}

.phone-front {
  position: absolute;
  width: min(40%, 238px);
  right: 0;
  top: 26px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  transform: rotate(4deg);
}

.signal-card {
  position: absolute;
  width: 158px;
  padding: 18px;
  border: 1px solid rgba(233, 222, 208, 0.85);
  border-radius: var(--radius);
  background: #fffdf8;
  box-shadow: 0 8px 18px rgba(28, 21, 14, 0.1);
}

.signal-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--coral);
  font-weight: 950;
}

.signal-card strong {
  font-size: 18px;
}

.card-one {
  left: 6%;
  top: 18%;
}

.card-two {
  right: 3%;
  bottom: 18%;
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(22px, 6vw, 92px);
  scroll-margin-top: 88px;
}

.intro.section {
  padding-top: clamp(44px, 7vw, 88px);
}

.section-heading {
  max-width: 960px;
  margin-bottom: 42px;
}

.section-heading.compact {
  max-width: 780px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-heading p,
.trust-copy p,
.tech-copy p,
.demo-copy p,
.contact p {
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.75;
}

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

.feature-card,
.progress-steps article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
}

.feature-card {
  min-height: 280px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-index,
.path-label,
.progress-steps span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 950;
}

.feature-card h3,
.path-panel h3,
.progress-steps strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.15;
  font-weight: 950;
}

.feature-card p,
.path-panel p,
.progress-steps p,
.tech-list dd {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
}

.paths {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.5), rgba(251, 247, 239, 0));
}

.path-layout {
  display: grid;
  gap: 22px;
}

.path-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  overflow: hidden;
}

.path-panel.emphasized {
  background: #fff8f1;
}

.path-panel img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(28, 21, 14, 0.08);
}

.trust {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 6vw, 90px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 107, 84, 0.12), transparent),
    var(--dark);
}

.trust h2,
.trust-copy p {
  color: #fff;
}

.trust-copy p {
  opacity: 0.8;
}

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

.trust-item {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.trust-item span {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  background: radial-gradient(circle, var(--coral) 0 28%, transparent 30%);
}

.trust-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.trust-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.tech {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(320px, 0.58fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
}

.tech-visual {
  display: grid;
  place-items: center;
}

.tech-visual img {
  width: min(100%, 320px);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.tech-list {
  margin: 34px 0 0;
  display: grid;
  gap: 18px;
}

.tech-list div {
  padding-left: 20px;
  border-left: 4px solid var(--coral);
}

.tech-list dt {
  margin-bottom: 6px;
  font-size: 21px;
  font-weight: 950;
}

.progress {
  background: #fffdf8;
}

.progress-layout {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
}

.progress-layout > img {
  width: min(100%, 300px);
  justify-self: center;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.progress-steps {
  display: grid;
  gap: 16px;
}

.progress-steps article {
  padding: 26px;
}

.progress-steps strong {
  font-size: clamp(22px, 2vw, 30px);
}

.demo {
  display: grid;
  grid-template-columns: minmax(300px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(251, 247, 239, 0.78)),
    linear-gradient(120deg, rgba(71, 111, 159, 0.14), rgba(61, 121, 103, 0.14));
}

.demo-copy {
  max-width: 620px;
}

.demo-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.demo-actions span {
  max-width: 260px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.demo-shell {
  min-width: 0;
  border: 1px solid rgba(233, 222, 208, 0.95);
  border-radius: var(--radius);
  background: #111;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.demo-toolbar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.68);
  background: #181818;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.demo-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b54;
}

.demo-toolbar span:nth-child(2) {
  background: var(--amber);
}

.demo-toolbar span:nth-child(3) {
  background: var(--green);
}

.demo-toolbar strong {
  margin-left: 8px;
  font-weight: 700;
}

.demo-shell iframe {
  width: 100%;
  height: min(78vh, 760px);
  min-height: 620px;
  display: block;
  border: 0;
  background: #050505;
}

.contact {
  justify-content: space-between;
  padding-top: clamp(64px, 8vw, 96px);
  padding-bottom: clamp(64px, 8vw, 96px);
  background: linear-gradient(135deg, #fffdf8, #f6efe5);
}

.contact > div {
  max-width: 820px;
}

.contact-pill {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--coral), #ff8f52);
  box-shadow: 0 16px 34px rgba(255, 107, 84, 0.28);
  font-weight: 900;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(22px, 6vw, 92px);
  color: rgba(255, 255, 255, 0.72);
  background: #0f0f0f;
  font-size: 14px;
}

.site-footer span {
  color: #fff;
  font-weight: 900;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
  }

  .hero-stage {
    min-height: 480px;
  }

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

  .path-panel,
  .trust,
  .tech,
  .demo,
  .progress-layout {
    grid-template-columns: 1fr;
  }

  .demo-copy {
    max-width: 780px;
  }

  .progress-layout > img {
    order: 2;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 12px 16px;
    gap: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-action {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero {
    padding: 96px 18px 54px;
    gap: 18px;
    min-height: 790px;
  }

  h1 {
    font-size: clamp(44px, 16vw, 68px);
  }

  .hero-lead {
    font-size: 25px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .demo-actions span {
    max-width: none;
  }

  .hero-stage {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    min-height: 260px;
    z-index: 1;
  }

  .fox {
    width: 55%;
    right: 30%;
    bottom: -190px;
  }

  .phone-front {
    width: 28%;
    right: 0;
    top: 124px;
  }

  .signal-card {
    display: none;
  }

  .section {
    padding: 68px 18px;
  }

  h2 {
    font-size: 38px;
  }

  .feature-grid,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 220px;
  }

  .path-panel {
    padding: 18px;
  }

  .demo-shell iframe {
    height: 620px;
    min-height: 560px;
  }

  .trust-item {
    min-height: auto;
  }

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

@media (prefers-reduced-motion: no-preference) {
  .fox {
    animation: breathe 5.6s ease-in-out infinite;
  }

  .phone-front,
  .signal-card {
    animation: float-in 800ms ease both;
  }

  .card-two {
    animation-delay: 180ms;
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
  }
}
