:root {
  --lp-ink: #14201c;
  --lp-ink-soft: #3d4a45;
  --lp-muted: #6a7872;
  --lp-paper: #eef4f1;
  --lp-paper-deep: #d9e8e0;
  --lp-surface: rgba(255, 255, 255, 0.72);
  --lp-accent: #0c7a5b;
  --lp-accent-hover: #0a6a4f;
  --lp-accent-soft: rgba(12, 122, 91, 0.12);
  --lp-line: rgba(20, 32, 28, 0.1);
  --lp-display: "Fraunces", "Noto Serif SC", "Songti SC", serif;
  --lp-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body.landing {
  margin: 0;
  min-height: 100%;
  color: var(--lp-ink);
  font-family: var(--lp-sans);
  font-weight: 400;
  line-height: 1.55;
  background: var(--lp-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.lp-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 8% -10%, rgba(12, 122, 91, 0.18), transparent 60%),
    radial-gradient(700px 480px at 92% 8%, rgba(45, 106, 140, 0.14), transparent 55%),
    linear-gradient(165deg, #f4faf7 0%, #e8f0ec 42%, #e3ebe7 100%);
}

.lp-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(20, 32, 28, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 28, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

.lp-nav {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lp-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--lp-ink);
  text-decoration: none;
  font-family: var(--lp-display);
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.lp-nav__brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 12px;
  font-family: var(--lp-sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--lp-ease), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lp-btn:hover { transform: translateY(-1px); }
.lp-btn:active { transform: translateY(0); }

.lp-btn--solid {
  background: var(--lp-accent);
  color: #fff;
}

.lp-btn--solid:hover { background: var(--lp-accent-hover); }

.lp-btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--lp-ink);
  border-color: var(--lp-line);
  backdrop-filter: blur(8px);
}

.lp-btn--ghost:hover {
  border-color: rgba(12, 122, 91, 0.35);
  background: rgba(255, 255, 255, 0.85);
}

.lp-btn--lg {
  padding: 0.85rem 1.45rem;
  font-size: 1rem;
}

.lp-hero {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  min-height: calc(100vh - 5.5rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: 1.5rem 0 4rem;
}

.lp-hero__copy {
  max-width: 34rem;
}

.lp-brand {
  margin: 0 0 0.85rem;
  font-family: var(--lp-display);
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--lp-ink);
}

.lp-brand--sm {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.6rem;
}

.lp-headline {
  margin: 0 0 1rem;
  font-family: var(--lp-display);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--lp-ink-soft);
}

.lp-lead {
  margin: 0 0 1.6rem;
  font-size: 1.05rem;
  color: var(--lp-muted);
  max-width: 28rem;
}

.lp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.lp-micro {
  margin: 0;
  font-size: 0.85rem;
  color: var(--lp-muted);
}

.lp-hero__visual {
  min-width: 0;
}

.lp-stage {
  position: relative;
  border-radius: 28px 28px 22px 22px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.55)),
    linear-gradient(180deg, #f7fbf9, #e4efe9);
  border: 1px solid var(--lp-line);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 24px 60px rgba(20, 32, 28, 0.1);
  animation: lp-float 7s var(--lp-ease) infinite alternate;
}

.lp-stage__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 1rem 1rem 0;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.55), transparent 40%),
    linear-gradient(160deg, #c9d8cf 0%, #a8bfb4 45%, #8eaaa0 100%);
}

.lp-stage__photo::before {
  content: "";
  position: absolute;
  inset: 14% 12% 18% 12%;
  border-radius: 4px;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.55) 0 14px,
      rgba(255, 255, 255, 0.22) 14px 28px
    );
  opacity: 0.55;
}

.lp-stage__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(12, 122, 91, 0.22), transparent);
  animation: lp-scan 3.8s var(--lp-ease) infinite;
}

.lp-stage__box {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  border: 1.5px solid rgba(12, 122, 91, 0.55);
  background: rgba(12, 122, 91, 0.08);
  border-radius: 4px;
}

.lp-stage__box--hot {
  border-color: var(--lp-accent);
  background: rgba(12, 122, 91, 0.16);
  box-shadow: 0 0 0 4px var(--lp-accent-soft);
}

.lp-stage__panel {
  padding: 1.15rem 1.25rem 1.35rem;
}

.lp-stage__label {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-accent);
  font-weight: 600;
}

.lp-stage__text {
  margin: 0 0 0.7rem;
  font-family: var(--lp-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--lp-ink);
}

.lp-stage__meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--lp-muted);
}

.lp-features {
  width: min(800px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2rem 0 5rem;
}

.lp-section-head {
  margin-bottom: 2.5rem;
}

.lp-section-head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--lp-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.lp-section-head p {
  margin: 0;
  color: var(--lp-muted);
  max-width: 32rem;
}

.lp-feature {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--lp-line);
}

.lp-feature:last-child {
  border-bottom: 1px solid var(--lp-line);
}

.lp-feature__num {
  font-family: var(--lp-display);
  font-size: 1.35rem;
  font-weight: 650;
  color: var(--lp-accent);
  letter-spacing: -0.03em;
  padding-top: 0.15rem;
}

.lp-feature__body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lp-feature__body p {
  margin: 0;
  color: var(--lp-muted);
  max-width: 36rem;
}

.lp-closing {
  width: min(920px, calc(100% - 2.5rem));
  margin: 0 auto 4rem;
  padding: 3rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  text-align: left;
}

.lp-closing__copy {
  min-width: 0;
  max-width: 28rem;
}

.lp-closing__copy .lp-brand--sm {
  margin-bottom: 0.55rem;
}

.lp-closing__copy h2 {
  margin: 0 0 0.7rem;
  font-family: var(--lp-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.lp-closing__copy > p {
  margin: 0 0 1.4rem;
  color: var(--lp-muted);
}

.lp-closing__mp {
  justify-self: end;
  text-align: center;
}

.lp-mp__code {
  margin: 0 auto;
  width: 200px;
}

.lp-mp__code img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--lp-line);
}

.lp-mp__caption {
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: var(--lp-muted);
  letter-spacing: 0.01em;
}

.lp-footer {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--lp-muted);
  border-top: 1px solid var(--lp-line);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--lp-ease), transform 0.7s var(--lp-ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.lp-hero .reveal:nth-child(1) { transition-delay: 0.05s; }
.lp-hero .reveal:nth-child(2) { transition-delay: 0.14s; }
.lp-hero .reveal:nth-child(3) { transition-delay: 0.22s; }
.lp-hero .reveal:nth-child(4) { transition-delay: 0.3s; }
.lp-hero .reveal:nth-child(5) { transition-delay: 0.38s; }
.lp-hero__visual.reveal { transition-delay: 0.22s; }

@keyframes lp-float {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@keyframes lp-scan {
  0% { top: -10%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 85%; opacity: 0; }
}

@media (max-width: 860px) {
  .lp-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 0.5rem;
  }

  .lp-hero__copy {
    max-width: none;
  }

  .lp-brand {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

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

  .lp-closing {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 2rem;
  }

  .lp-closing__copy {
    max-width: none;
  }

  .lp-closing__mp {
    justify-self: start;
  }

  .lp-stage {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .lp-stage,
  .lp-stage__scan {
    animation: none;
  }
  .lp-btn:hover { transform: none; }
}
