:root {
  color-scheme: light;
  --page: #f7f4ef;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --ink: #1f2528;
  --muted: #626b70;
  --line: #ddd7cc;
  --primary: #2e7d6d;
  --primary-strong: #17594d;
  --accent: #d66a3d;
  --blue: #376f96;
  --shadow: 0 18px 45px rgba(43, 46, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(247, 244, 239, 0.9);
  border-bottom: 1px solid rgba(221, 215, 204, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary-strong);
  background: rgba(46, 125, 109, 0.1);
  outline: none;
}

.hero {
  min-height: 72dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(32px, 7vw, 80px);
  padding: clamp(44px, 8vw, 96px) clamp(20px, 5vw, 64px) 40px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary-strong);
  font-size: 14px;
  font-weight: 760;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(48px, 10vw, 104px);
  font-weight: 820;
}

h2 {
  font-size: clamp(28px, 5vw, 48px);
}

h3 {
  font-size: 20px;
}

.lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 22px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: var(--primary);
  color: white;
  font-weight: 760;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--primary-strong);
}

.button.disabled {
  border-color: var(--line);
  background: #e6e1d7;
  color: #7a7267;
  cursor: not-allowed;
}

.visual-panel {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
}

.screenshot-carousel {
  position: relative;
  width: min(92vw, 560px);
  padding: 0 40px 28px;
}

.screenshot-stage {
  position: relative;
  height: min(68dvh, 650px);
  min-height: 470px;
  perspective: 1200px;
}

.screenshot-card {
  --screen-x: -50%;
  --screen-scale: 0.72;
  --screen-rotate: 0deg;
  --screen-opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(58vw, 285px);
  aspect-ratio: 1179 / 2556;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(31, 37, 40, 0.12);
  border-radius: 32px;
  background: #181f22;
  box-shadow: var(--shadow);
  opacity: var(--screen-opacity);
  transform: translate(var(--screen-x), -50%) scale(var(--screen-scale)) rotateY(var(--screen-rotate));
  transition:
    transform 440ms cubic-bezier(0.2, 0.86, 0.2, 1),
    opacity 260ms ease,
    filter 260ms ease;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  pointer-events: none;
}

.screenshot-carousel.is-animating .screenshot-card {
  transition-duration: 440ms, 260ms, 260ms;
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 23px;
  object-fit: cover;
  background: #0f171a;
}

.screenshot-card.is-active {
  --screen-x: -50%;
  --screen-scale: 1;
  --screen-rotate: 0deg;
  --screen-opacity: 1;
  z-index: 4;
  pointer-events: auto;
}

.screenshot-card.is-prev {
  --screen-x: -96%;
  --screen-scale: 0.82;
  --screen-rotate: 22deg;
  --screen-opacity: 0.72;
  z-index: 2;
  filter: saturate(0.88) brightness(0.92);
}

.screenshot-card.is-next {
  --screen-x: -4%;
  --screen-scale: 0.82;
  --screen-rotate: -22deg;
  --screen-opacity: 0.72;
  z-index: 2;
  filter: saturate(0.88) brightness(0.92);
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(31, 37, 40, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 10px 28px rgba(43, 46, 43, 0.14);
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-control::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 10px;
  height: 10px;
  margin: auto;
  border-top: 2px solid var(--primary-strong);
  border-left: 2px solid var(--primary-strong);
}

.carousel-control-prev {
  left: 2px;
}

.carousel-control-prev::before {
  transform: translateX(2px) rotate(-45deg);
}

.carousel-control-next {
  right: 2px;
}

.carousel-control-next::before {
  transform: translateX(-2px) rotate(135deg);
}

.carousel-control:focus-visible {
  outline: 3px solid rgba(46, 125, 109, 0.28);
  outline-offset: 3px;
}

.screenshot-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.screenshot-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 37, 40, 0.22);
  cursor: pointer;
  transition:
    width 220ms ease,
    background-color 220ms ease,
    transform 220ms ease;
}

.screenshot-dots button.is-active {
  width: 24px;
  background: var(--primary);
  transform: translateY(-1px);
}

.screen {
  min-height: 560px;
  padding: 22px;
  border-radius: 26px;
  background: var(--surface);
}

.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(31, 37, 40, 0.18);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.mini-card,
.feature-card,
.download-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.mini-card {
  min-height: 80px;
  padding: 12px;
}

.mini-card strong {
  display: block;
  color: var(--primary-strong);
  font-size: 22px;
  line-height: 1.1;
}

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

.list-lines {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.line-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.thumb {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #d8eadf;
}

.thumb.alt {
  background: #f1d8cb;
}

.thumb.blue {
  background: #d7e2ec;
}

.text-line {
  height: 12px;
  max-width: 190px;
  border-radius: 999px;
  background: #e8e1d6;
}

.text-line.short {
  max-width: 126px;
  margin-top: 8px;
  background: #efe9df;
}

.section {
  padding: clamp(52px, 8vw, 90px) clamp(20px, 5vw, 64px);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

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

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

.feature-card {
  padding: 20px;
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.download-band {
  background: #ece7dc;
}

.download-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: stretch;
}

.download-card {
  padding: 24px;
}

.download-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.legal-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.legal-link {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--primary-strong);
  font-weight: 700;
  text-decoration: none;
}

.legal-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px clamp(20px, 5vw, 64px) 72px;
}

.legal-page h1 {
  font-size: clamp(36px, 7vw, 68px);
}

.legal-page h2 {
  margin-top: 38px;
  font-size: 26px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.legal-page a {
  color: var(--primary-strong);
  font-weight: 700;
}

.site-footer {
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--primary-strong);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

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

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

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

  .visual-panel {
    min-height: auto;
  }

  .screen {
    min-height: 480px;
  }

  .screenshot-carousel {
    width: min(100%, 500px);
  }

  .screenshot-stage {
    min-height: 430px;
    height: 58dvh;
  }

  .screenshot-card {
    width: min(62vw, 245px);
  }

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

@media (max-width: 560px) {
  .feature-grid,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .actions,
  .button {
    width: 100%;
  }

  .site-nav a {
    padding: 0 8px;
  }

  .screenshot-carousel {
    width: 100%;
    padding-inline: 30px;
  }

  .screenshot-stage {
    min-height: 380px;
    height: 56dvh;
  }

  .screenshot-card {
    width: min(68vw, 220px);
    padding: 8px;
    border-radius: 26px;
  }

  .screenshot-card img {
    border-radius: 19px;
  }

  .screenshot-card.is-prev {
    --screen-x: -88%;
    --screen-scale: 0.78;
    --screen-rotate: 20deg;
  }

  .screenshot-card.is-next {
    --screen-x: -12%;
    --screen-scale: 0.78;
    --screen-rotate: -20deg;
  }

  .carousel-control {
    width: 40px;
    height: 40px;
  }
}

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

  .screenshot-card {
    transition: none;
  }
}
