:root {
  --paper: #f5f3ee;
  --paper-2: #ebeef1;
  --surface: #fffdf8;
  --ink: #101713;
  --ink-soft: #526059;
  --ink-faint: #7b8580;
  --blue: #2f63d8;
  --blue-soft: #e8efff;
  --page: 1160px;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
}

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 68px;
  padding: 10px max(24px, calc((100vw - var(--page)) / 2));
  background: rgba(245, 243, 238, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--ink);
  color: var(--surface);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
}

.brand-text {
  font-size: 17px;
  font-weight: 850;
}

.site-nav {
  display: flex;
  gap: 28px;
  justify-self: end;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 760;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--blue);
}

.content-wrap {
  width: min(calc(100% - 56px), var(--page));
  margin: 0 auto;
}

.panel {
  min-height: clamp(660px, calc(100svh - 128px), 760px);
  display: grid;
  align-items: center;
  padding: 76px 0;
  scroll-margin-top: 68px;
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.hero-panel {
  background: var(--paper);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 88px;
  min-height: auto;
  align-items: center;
}

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

.hero-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 900;
  line-height: 1.14;
}

.hero-copy h1 span {
  display: block;
}

.hero-lede {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.72;
}

.primary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  justify-self: start;
  margin-top: 38px;
  background: var(--ink);
  color: var(--surface);
  padding: 0 24px;
  font-size: 15px;
  font-weight: 900;
  transition: background 0.2s ease, transform 0.2s ease;
}

.primary-link:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.hero-signal {
  position: relative;
  width: min(390px, 32vw);
  aspect-ratio: 1;
  justify-self: end;
}

.hero-signal::before,
.hero-signal::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-signal::before {
  inset: 28px 18px 24px 28px;
  border-top: 1px solid rgba(16, 23, 19, 0.14);
  border-right: 1px solid rgba(16, 23, 19, 0.14);
}

.hero-signal::after {
  right: 0;
  bottom: 0;
  width: 54%;
  height: 1px;
  background: rgba(16, 23, 19, 0.16);
}

.signal-stream {
  position: absolute;
  inset: 16px 0 20px;
  display: grid;
  grid-template-rows: repeat(9, 1fr);
  align-items: center;
  overflow: hidden;
}

.signal-line {
  display: block;
  height: 2px;
  width: var(--line-width);
  margin-left: var(--line-start);
  background: rgba(82, 96, 89, var(--line-alpha));
  transform-origin: left center;
  animation: signalDrift var(--line-speed) ease-in-out infinite;
  animation-delay: var(--line-delay);
}

.line-1 {
  --line-width: 48%;
  --line-start: 8%;
  --line-alpha: 0.26;
  --line-speed: 7.6s;
  --line-delay: -1.2s;
}

.line-2 {
  --line-width: 72%;
  --line-start: 24%;
  --line-alpha: 0.14;
  --line-speed: 8.8s;
  --line-delay: -4.6s;
}

.line-3 {
  --line-width: 38%;
  --line-start: 42%;
  --line-alpha: 0.22;
  --line-speed: 7.2s;
  --line-delay: -2.7s;
}

.line-4 {
  --line-width: 64%;
  --line-start: 2%;
  --line-alpha: 0.17;
  --line-speed: 9.1s;
  --line-delay: -6.1s;
}

.line-5 {
  --line-width: 78%;
  --line-start: 14%;
  --line-alpha: 0.24;
  --line-speed: 8.1s;
  --line-delay: -3.4s;
}

.line-6 {
  --line-width: 42%;
  --line-start: 52%;
  --line-alpha: 0.16;
  --line-speed: 7.9s;
  --line-delay: -5.2s;
}

.line-7 {
  --line-width: 56%;
  --line-start: 6%;
  --line-alpha: 0.2;
  --line-speed: 8.6s;
  --line-delay: -2s;
}

.line-8 {
  --line-width: 68%;
  --line-start: 30%;
  --line-alpha: 0.13;
  --line-speed: 9.4s;
  --line-delay: -7.3s;
}

.line-9 {
  --line-width: 46%;
  --line-start: 18%;
  --line-alpha: 0.23;
  --line-speed: 7.4s;
  --line-delay: -4s;
}

.signal-focus {
  position: absolute;
  top: 48%;
  left: 19%;
  right: 2%;
  display: grid;
  gap: 12px;
  padding-left: 30px;
  transform: translateY(-50%);
}

.signal-focus::before {
  content: "";
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: 0;
  width: 3px;
  background: var(--blue);
  animation: signalPulse 5.6s ease-in-out infinite;
}

.signal-focus span {
  display: block;
  height: 8px;
  background: var(--ink);
  transform-origin: left center;
  animation: signalResolve 5.6s ease-in-out infinite;
}

.signal-focus span:nth-child(1) {
  width: 78%;
}

.signal-focus span:nth-child(2) {
  width: 58%;
  animation-delay: 0.08s;
}

.signal-focus span:nth-child(3) {
  width: 36%;
  animation-delay: 0.16s;
}

.pain-panel {
  background: var(--surface);
}

.section-layout {
  display: grid;
  gap: 68px;
  align-items: center;
}

.value-layout {
  grid-template-columns: minmax(320px, 0.7fr) minmax(620px, 1.3fr);
  gap: 92px;
}

.section-intro h2,
.audience-intro h2,
.trial-copy h2 {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 900;
  line-height: 1.24;
}

.section-intro h2 {
  max-width: 760px;
  margin-bottom: 20px;
}

.pain-layout .section-intro {
  display: block;
}

.value-layout .section-intro h2 {
  max-width: 360px;
  margin-bottom: 0;
}

.section-intro p {
  max-width: 560px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.82;
}

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

.pain-layout .section-items {
  gap: 0;
  background: #eef1ef;
  padding: 24px;
}

.value-layout .section-items {
  grid-template-columns: 1fr;
  gap: 18px;
}

.section-items article {
  display: grid;
  min-height: 260px;
  align-content: end;
  padding: 34px;
  background: #f0f2f1;
}

.pain-layout .section-items article {
  background: transparent;
  min-height: 300px;
  padding: 36px 34px;
}

.value-layout .section-items article {
  min-height: auto;
  padding: 30px 34px;
}

.section-items h3 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 900;
  line-height: 1.34;
}

.section-items p,
.audience-intro p,
.trial-copy p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.86;
}

.audience-list h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.36;
}

.audience-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.84;
}

.value-panel {
  background: var(--ink);
  color: var(--surface);
}

.value-layout .section-intro p,
.value-layout p {
  color: rgba(255, 253, 248, 0.68);
}

.value-layout .section-items article {
  background: rgba(255, 253, 248, 0.075);
}

.audience-panel {
  background:
    linear-gradient(90deg, var(--paper-2) 0 36%, var(--paper) 36% 100%);
}

.audience-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.74fr) minmax(620px, 1.26fr);
  gap: 94px;
  align-items: center;
}

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

.trial-panel {
  background: var(--ink);
  color: var(--surface);
}

.trial-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 48px;
}

.trial-copy {
  text-align: center;
}

.trial-copy .eyebrow {
  color: #a9c0ff;
}

.trial-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 56px;
  background: var(--surface);
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.trial-cta:hover {
  background: var(--blue);
  color: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.trial-price {
  margin: -28px 0 0;
  color: rgba(255, 253, 248, 0.54);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(24px, calc((100vw - var(--page)) / 2));
  background: var(--ink);
  color: rgba(255, 253, 248, 0.54);
  font-size: 14px;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes signalDrift {
  0%,
  100% {
    opacity: 0.46;
    transform: translateX(-10px) scaleX(0.82);
  }

  50% {
    opacity: 1;
    transform: translateX(12px) scaleX(1);
  }
}

@keyframes signalResolve {
  0%,
  22%,
  100% {
    opacity: 0.34;
    transform: scaleX(0.72);
  }

  42%,
  72% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes signalPulse {
  0%,
  22%,
  100% {
    opacity: 0.34;
    transform: scaleY(0.58);
  }

  42%,
  72% {
    opacity: 1;
    transform: scaleY(1);
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .signal-line,
  .signal-focus::before,
  .signal-focus span {
    animation: none;
  }
}

@media (max-width: 980px) {
  .hero-layout,
  .section-layout,
  .audience-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .panel {
    min-height: auto;
    padding: 86px 0;
  }

  .hero-panel,
  .audience-panel {
    background: var(--paper);
  }

  .hero-signal {
    display: none;
  }

  .section-items {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .pain-layout .section-items {
    padding: 0;
    background: transparent;
  }

  .section-items article,
  .section-items article:nth-child(1),
  .section-items article:nth-child(2),
  .section-items article:nth-child(3) {
    max-width: 620px;
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 10px 18px;
  }

  .site-nav {
    gap: 18px;
  }

  .content-wrap {
    width: min(calc(100% - 36px), var(--page));
  }

  .panel {
    padding: 72px 0;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .section-intro h2,
  .audience-intro h2,
  .trial-copy h2 {
    font-size: 30px;
  }

  .hero-lede,
  .section-items p,
  .audience-intro p,
  .trial-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .audience-list {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 420px) {
  .brand-text {
    display: none;
  }

  .hero-copy h1 {
    font-size: 31px;
  }

  .site-footer {
    flex-direction: column;
    padding-right: 18px;
    padding-left: 18px;
  }
}
