:root {
  --ink: #15232d;
  --subtle: #536574;
  --muted: #788895;
  --line: #dceae4;
  --paper: #ffffff;
  --wash: #f3faf6;
  --wash-strong: #e7f5ef;
  --mint: #089579;
  --mint-deep: #006b5c;
  --mint-soft: #dff5ed;
  --coral: #f06f63;
  --cream: #fffaf0;
  --shadow: 0 22px 70px rgba(16, 42, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fbfdfc;
  color: var(--ink);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  letter-spacing: 0;
}

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

button {
  border: 0;
  font: inherit;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(220, 234, 228, 0.78);
  padding: 0 clamp(20px, 5vw, 78px);
  background: rgba(251, 253, 252, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--mint);
  color: #fff;
  font-weight: 950;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--subtle);
  font-size: 15px;
  font-weight: 850;
}

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

.hero-section {
  position: relative;
  display: grid;
  min-height: min(780px, calc(100svh - 20px));
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  overflow: hidden;
  padding: clamp(78px, 11vw, 132px) clamp(20px, 6vw, 92px) 88px;
  background: #eef8f3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--mint);
  font-size: 15px;
  font-weight: 950;
}

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

h1 {
  margin-bottom: 24px;
  max-width: 840px;
  color: var(--ink);
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.96;
  font-weight: 950;
}

.headline-lines span {
  display: block;
}

.hero-title {
  line-height: 1.06;
}

.scene-title {
  line-height: 1.08;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(32px, 4.1vw, 58px);
  line-height: 1.07;
  font-weight: 950;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 920;
}

.hero-copy {
  max-width: 680px;
  color: #334751;
  font-size: clamp(20px, 2.25vw, 29px);
  line-height: 1.55;
  font-weight: 780;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 26px;
  font-weight: 900;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

.primary-button {
  background: var(--mint);
  box-shadow: 0 18px 42px rgba(8, 149, 121, 0.24);
  color: #fff;
}

.secondary-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points span {
  border: 1px solid rgba(8, 149, 121, 0.18);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--mint-deep);
  font-size: 14px;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.phone {
  position: absolute;
  right: 4%;
  bottom: -36px;
  width: min(330px, 86vw);
  height: 640px;
  border: 12px solid #15232d;
  border-radius: 46px;
  background: #f7fbf9;
  box-shadow: var(--shadow);
  padding: 34px 18px 22px;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 92px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #05090b;
}

.mini-title {
  margin: 26px 0 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
}

.pay-card,
.ledger-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 44px rgba(16, 42, 34, 0.08);
}

.pay-card {
  display: grid;
  min-height: 166px;
  place-items: center;
  padding: 20px;
}

.pay-card span,
.pay-card em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
}

.pay-card strong {
  color: var(--ink);
  font-size: 42px;
  font-weight: 950;
}

.ledger-card {
  margin-top: 18px;
  padding: 20px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-row strong {
  font-size: 18px;
}

.status-row span {
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--mint-soft);
  color: var(--mint-deep);
  font-size: 12px;
  font-weight: 900;
}

.money {
  margin: 18px 0 16px;
  color: var(--mint);
  font-size: 42px;
  font-weight: 950;
}

.ledger-card p {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 12px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.ledger-card b {
  color: var(--ink);
}

.float-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(220, 234, 228, 0.9);
  border-radius: 20px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-weight: 930;
  white-space: nowrap;
}

.float-chip img {
  width: 34px;
  height: 34px;
}

.chip-ai {
  top: 105px;
  right: 10px;
}

.chip-shot {
  right: 240px;
  bottom: 120px;
}

.chip-chart {
  top: 255px;
  right: 330px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.trust-strip div {
  padding: 30px clamp(20px, 5vw, 72px);
  background: #fff;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--mint-deep);
  font-size: 28px;
  font-weight: 950;
}

.trust-strip span {
  margin-top: 7px;
  color: var(--subtle);
  font-size: 15px;
  font-weight: 820;
}

.section {
  padding: clamp(76px, 11vw, 132px) clamp(20px, 6vw, 92px);
}

.section-head {
  max-width: 1060px;
  margin-bottom: 42px;
}

.section-head.centered {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head.centered h2,
.scene-section .section-head h2,
.showcase-copy h2 {
  white-space: nowrap;
}

.section-head p,
.showcase-copy p,
.qr-copy p {
  color: var(--subtle);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 700;
}

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

.feature-card,
.scene-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 18px 56px rgba(16, 42, 34, 0.08);
}

.feature-card {
  padding: 30px;
}

.feature-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
}

.feature-card p,
.scene-card p {
  color: var(--subtle);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 680;
}

.scene-section {
  background: var(--wash);
}

.scene-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.scene-card {
  min-height: 250px;
  padding: 30px;
}

.scene-card > span {
  display: inline-flex;
  border-radius: 999px;
  margin-bottom: 30px;
  padding: 8px 12px;
  background: var(--mint-soft);
  color: var(--mint-deep);
  font-size: 13px;
  font-weight: 930;
}

.scene-card .headline-lines span {
  display: block;
  border-radius: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.scene-card.dark-card {
  grid-row: span 2;
  min-height: 518px;
  background: #122821;
  color: #fff;
}

.scene-card.dark-card h3,
.scene-card.dark-card p {
  color: #fff;
}

.scene-card.dark-card h3 {
  max-width: 360px;
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.04;
}

.scene-card.dark-card p {
  max-width: 380px;
  color: rgba(255, 255, 255, 0.78);
}

.showcase-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(34px, 7vw, 96px);
  overflow: hidden;
}

.showcase-stack {
  position: relative;
  min-height: 560px;
}

.app-panel {
  position: absolute;
  width: min(340px, 72vw);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 26px;
}

.app-panel strong {
  display: block;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 950;
}

.app-panel button {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 18px;
  padding: 17px 18px;
  background: var(--mint);
  color: #fff;
  font-weight: 950;
}

.app-panel p {
  display: flex;
  justify-content: space-between;
  border-radius: 15px;
  margin: 12px 0 0;
  padding: 14px;
  background: var(--wash);
  color: var(--subtle);
  font-weight: 860;
}

.app-panel b {
  color: var(--mint-deep);
}

.app-panel em {
  display: block;
  border-radius: 15px;
  margin-top: 16px;
  padding: 14px;
  background: var(--cream);
  color: #7b5a1e;
  font-style: normal;
  font-weight: 860;
}

.panel-home {
  top: 20px;
  left: 0;
  transform: rotate(-4deg);
}

.panel-ledger {
  top: 132px;
  left: min(280px, 30vw);
  transform: rotate(3deg);
}

.panel-activity {
  top: 322px;
  left: 95px;
  transform: rotate(-1deg);
}

.qr-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: clamp(30px, 7vw, 96px);
  background: #f1faf6;
}

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

.qr-card {
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 30px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.qr-placeholder {
  display: grid;
  width: 220px;
  height: 220px;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 auto 22px;
  border: 10px solid #f1f7f4;
  border-radius: 24px;
  padding: 12px;
  background: #fff;
}

.qr-placeholder span {
  border-radius: 12px;
  background: var(--mint-soft);
}

.qr-placeholder span:nth-child(1),
.qr-placeholder span:nth-child(3),
.qr-placeholder span:nth-child(5),
.qr-placeholder span:nth-child(7),
.qr-placeholder span:nth-child(9) {
  background: var(--mint);
}

.qr-card strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
}

.qr-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 760;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 28px clamp(20px, 6vw, 92px);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  margin-bottom: 6px;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer-links a:hover {
  color: var(--mint-deep);
}

@media (max-width: 1080px) {
  .section-head.centered h2,
  .scene-section .section-head h2,
  .showcase-copy h2 {
    white-space: normal;
  }

  .hero-section {
    grid-template-columns: 1fr;
    padding-bottom: 48px;
  }

  .hero-visual {
    min-height: 620px;
  }

  .phone {
    left: 50%;
    transform: translateX(-50%);
  }

  .chip-ai {
    right: 10%;
  }

  .chip-shot {
    right: auto;
    left: 8%;
  }

  .chip-chart {
    right: auto;
    left: 12%;
    top: 235px;
  }

  .feature-grid,
  .scene-layout,
  .showcase-section,
  .qr-section {
    grid-template-columns: 1fr;
  }

  .scene-card.dark-card {
    grid-row: auto;
    min-height: 340px;
  }

  .qr-section {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .site-nav {
    display: none;
  }

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

  h1 {
    font-size: 58px;
  }

  .hero-copy {
    font-size: 19px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-visual {
    min-height: 580px;
  }

  .phone {
    bottom: -64px;
    width: 298px;
    height: 594px;
  }

  .float-chip {
    display: none;
  }

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

  .showcase-stack {
    min-height: 650px;
  }

  .panel-home {
    left: 0;
  }

  .panel-ledger {
    top: 160px;
    left: 28px;
  }

  .panel-activity {
    top: 360px;
    left: 0;
  }

  .qr-card {
    width: 100%;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}
