:root {
  --bg: #ffffff;
  --ink: #17211d;
  --muted: #63736d;
  --soft: #f4fbf7;
  --soft-strong: #e6f7ee;
  --line: #ddebe5;
  --brand: #2f9c72;
  --brand-dark: #167455;
  --coral: #f17458;
  --coral-soft: #fff1eb;
  --shadow: 0 22px 70px rgba(24, 80, 59, 0.12);
  --max: 1180px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
}

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

img,
svg {
  display: block;
}

.container {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(221, 235, 229, 0.78);
  backdrop-filter: blur(18px);
}

.site-header.compact {
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: 24px;
  font-weight: 780;
  white-space: nowrap;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  color: #27352f;
  font-size: 15px;
  font-weight: 650;
}

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

.site-nav a:hover,
.text-link:hover,
.back-link:hover {
  color: var(--brand-dark);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 750;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.header-cta,
.btn.primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 12px 28px rgba(241, 116, 88, 0.26);
}

.btn.secondary {
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(47, 156, 114, 0.32);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  place-items: center;
  gap: 4px;
  padding: 9px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #fff 0%,
      rgba(255, 255, 255, 0.98) 34%,
      rgba(255, 255, 255, 0.56) 62%,
      rgba(255, 255, 255, 0.08) 100%
    ),
    url("./assets/hero-growth-desk.png") right center / cover no-repeat;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 44px;
  align-items: center;
  min-height: 552px;
  padding: 36px 0 22px;
}

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

.hero h1 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(38px, 4.45vw, 58px);
  line-height: 1.13;
  font-weight: 860;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 600px;
  margin: 22px 0 0;
  color: #4f615a;
  font-size: 18px;
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 0;
}

.review-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 570px;
  margin: 24px 0 0;
}

.review-facts div {
  padding: 12px 14px;
  border: 1px solid rgba(221, 235, 229, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.review-facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.review-facts dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 760;
}

.phone-showcase {
  display: flex;
  height: 514px;
  align-items: flex-start;
  justify-content: center;
  align-self: start;
}

.phone-frame {
  width: min(100%, 292px);
  padding: 10px;
  overflow: hidden;
  border-radius: 42px;
  background: #161817;
  box-shadow:
    0 32px 86px rgba(18, 38, 29, 0.23),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transform: scale(0.83);
  transform-origin: top center;
}

.phone-screenshot {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 32px;
  background: #f7f1eb;
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-copy h2,
.section-heading h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.18;
}

.section-copy p,
.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.product-section {
  padding-top: 44px;
  background: linear-gradient(180deg, #fff 0%, #f8fcfa 100%);
}

.product-section .product-grid {
  align-items: start;
}

.product-grid,
.privacy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.product-panel {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #f2fbf6 0%, #fff 100%);
  box-shadow: var(--shadow);
}

.timeline-card,
.data-card,
.chart-card {
  position: absolute;
  border: 1px solid rgba(221, 235, 229, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(22, 81, 59, 0.12);
}

.timeline-card {
  top: 52px;
  left: 42px;
  width: 260px;
  padding: 22px;
}

.timeline-date {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.timeline-card strong,
.data-card strong {
  display: block;
  margin-top: 10px;
  font-size: 19px;
  line-height: 1.35;
}

.timeline-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.data-card {
  right: 42px;
  top: 86px;
  width: 250px;
  padding: 22px;
}

.data-card ul {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.data-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.data-card b {
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.chart-card {
  left: 184px;
  bottom: 42px;
  display: flex;
  align-items: end;
  gap: 12px;
  width: 260px;
  height: 132px;
  padding: 20px 22px;
}

.chart-card span {
  width: 28px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #7dcaa8, #2f9c72);
}

.chart-card span:nth-child(1) {
  height: 46px;
}

.chart-card span:nth-child(2) {
  height: 72px;
}

.chart-card span:nth-child(3) {
  height: 58px;
}

.chart-card span:nth-child(4) {
  height: 88px;
}

.chart-card span:nth-child(5) {
  height: 66px;
}

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

.feature-card,
.privacy-list article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(22, 81, 59, 0.06);
}

.feature-card {
  padding: 28px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--brand);
  background: var(--soft);
}

.feature-icon.coral {
  color: var(--coral);
  background: var(--coral-soft);
}

.feature-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3,
.privacy-list h3,
.contact-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
}

.feature-card p,
.privacy-list p,
.contact-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.privacy-section {
  background: var(--soft);
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--brand-dark);
  font-weight: 800;
}

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

.privacy-list article {
  padding: 24px;
}

.contact-section {
  padding-bottom: 78px;
}

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

.contact-card {
  padding: 26px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner nav {
  display: flex;
  gap: 24px;
}

.legal-page {
  padding: 54px 0 84px;
  background: linear-gradient(180deg, #f8fcfa 0%, #fff 180px);
}

.legal-article {
  width: min(100% - 48px, 860px);
  margin: 0 auto;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(22, 81, 59, 0.08);
}

.legal-article h1 {
  margin: 16px 0 0;
  color: var(--brand-dark);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.16;
}

.legal-date {
  margin: 10px 0 28px;
  color: var(--muted);
  font-weight: 700;
}

.legal-article h2 {
  margin: 34px 0 10px;
  font-size: 22px;
  line-height: 1.35;
}

.legal-article p,
.legal-article li {
  color: #4f615a;
  font-size: 16px;
  line-height: 1.9;
}

.legal-article ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-article a {
  color: var(--brand-dark);
  font-weight: 750;
}

.back-link {
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}

.legal-nav {
  justify-content: flex-end;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open,
  .legal-nav {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .legal-nav {
    position: static;
    flex-direction: row;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

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

  .hero-grid {
    min-height: 0;
    padding-top: 70px;
  }

  .phone-showcase {
    height: auto;
    justify-content: flex-start;
  }

  .phone-frame {
    transform: none;
  }
}

@media (max-width: 760px) {
  .container,
  .legal-article {
    width: min(100% - 32px, var(--max));
  }

  .site-header {
    min-height: 66px;
    padding: 0 16px;
  }

  .brand {
    font-size: 21px;
  }

  .site-nav {
    top: 66px;
    left: 16px;
    right: 16px;
  }

  .hero-bg {
    background:
      linear-gradient(
        180deg,
        #fff 0%,
        rgba(255, 255, 255, 0.98) 48%,
        rgba(255, 255, 255, 0.52) 100%
      ),
      url("./assets/hero-growth-desk.png") right bottom / auto 58% no-repeat;
  }

  .hero-grid {
    gap: 38px;
    padding: 42px 0 22px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .review-facts,
  .feature-grid,
  .privacy-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .review-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .review-facts div {
    padding: 10px 8px;
  }

  .review-facts dt {
    font-size: 12px;
  }

  .review-facts dd {
    font-size: 14px;
  }

  .phone-showcase {
    display: none;
  }

  .phone-frame {
    width: min(100%, 310px);
  }

  .section {
    padding: 64px 0;
  }

  .product-section {
    padding-top: 36px;
  }

  .product-panel {
    min-height: 620px;
  }

  .timeline-card,
  .data-card,
  .chart-card {
    position: static;
    width: auto;
    margin: 18px;
  }

  .product-panel {
    display: grid;
    align-content: center;
  }

  .chart-card {
    width: auto;
  }

  .footer-inner {
    min-height: 112px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-inner p {
    margin: 0;
  }

  .legal-nav {
    display: none;
  }

  .legal-page {
    padding-top: 28px;
  }

  .legal-article {
    padding: 28px 22px;
  }
}
