:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #5f6f65;
  --line: #dbe4dd;
  --paper: #f7faf6;
  --white: #ffffff;
  --green: #2f8f5b;
  --blue: #3977c6;
  --orange: #d88236;
  --rose: #c95d73;
  --shadow: 0 22px 60px rgba(33, 52, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header[data-elevated="true"] {
  color: var(--ink);
  background: rgba(247, 250, 246, 0.92);
  box-shadow: 0 10px 30px rgba(28, 45, 34, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 128px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 34px;
}

.brand-logo-dark {
  display: none;
}

.site-header[data-elevated="true"] .brand-logo-light {
  display: none;
}

.site-header[data-elevated="true"] .brand-logo-dark {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.site-header[data-elevated="true"] .header-action {
  border-color: var(--green);
  color: var(--green);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 34, 25, 0.88), rgba(18, 34, 25, 0.58) 42%, rgba(18, 34, 25, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  margin-left: clamp(20px, 8vw, 108px);
  padding-top: 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #a9f0c0;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(64px, 10vw, 132px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 32px;
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
}

.primary-button {
  background: #dfffe8;
  color: #173a23;
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.section,
.product-section,
.audience-section,
.coming-soon {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.section.compact {
  padding: 46px 0 34px;
}

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

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading p,
.product-copy p,
.audience-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

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

.metric-item {
  min-height: 126px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.metric-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 34px;
}

.metric-item span {
  color: var(--muted);
}

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

.feature-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(34, 49, 39, 0.06);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  border-radius: 8px;
  color: var(--white);
  font-weight: 900;
}

.accent-green .feature-icon { background: var(--green); }
.accent-blue .feature-icon { background: var(--blue); }
.accent-orange .feature-icon { background: var(--orange); }
.accent-rose .feature-icon { background: var(--rose); }

.feature-card p {
  color: var(--muted);
  line-height: 1.7;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(28px, 8vw, 96px);
  align-items: center;
  padding: 96px 0;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.check-list span {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 700;
}

.phone-shell {
  width: min(100%, 380px);
  min-height: 640px;
  margin: 0 auto;
  padding: 24px;
  border: 10px solid #17211b;
  border-radius: 38px;
  background: #eef5ef;
  box-shadow: var(--shadow);
}

.phone-status {
  width: 92px;
  height: 6px;
  margin: 0 auto 28px;
  border-radius: 999px;
  background: #17211b;
}

.screen-card {
  border-radius: 18px;
  background: #1f7a4b;
  color: var(--white);
  padding: 24px;
}

.balance-card span,
.balance-card small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
}

.balance-card strong {
  display: block;
  margin: 10px 0;
  font-size: 34px;
}

.quick-entry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.quick-entry button {
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.transaction-list {
  display: grid;
  gap: 12px;
}

.transaction-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--white);
}

.transaction-list strong {
  color: #c8553d;
}

.transaction-list .income {
  color: var(--green);
}

.timeline-section {
  padding-top: 64px;
}

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

.timeline-item {
  position: relative;
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.timeline-item.active {
  background: #193c2a;
  color: var(--white);
}

.timeline-item span {
  display: block;
  margin-bottom: 36px;
  color: var(--green);
  font-weight: 900;
}

.timeline-item.active span,
.timeline-item.active p {
  color: rgba(255, 255, 255, 0.78);
}

.timeline-item p {
  color: var(--muted);
  line-height: 1.7;
}

.audience-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
  padding: 86px 0;
}

.audience-copy {
  max-width: 380px;
}

.audience-intro {
  margin: 0;
}

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

.audience-card {
  min-height: 196px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.audience-card h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.audience-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
}

.audience-card span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(47, 143, 91, 0.1);
  color: #245e3f;
  font-weight: 700;
}

.coming-soon {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 92px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(236, 245, 238, 0.96));
  box-shadow: 0 18px 48px rgba(32, 48, 39, 0.08);
}

.coming-soon-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.coming-soon-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.coming-soon-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(47, 143, 91, 0.12);
  color: #245e3f;
  font-weight: 700;
}

.coming-soon-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.status-panel {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.status-panel.muted {
  background: rgba(240, 246, 241, 0.95);
}

.status-label {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.status-panel h3 {
  margin-bottom: 16px;
  font-size: 24px;
}

.status-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-list li {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 8px;
  background: rgba(247, 250, 246, 0.96);
  color: var(--ink);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 112px;
  padding: 20px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  gap: 6px;
}

.footer-logo {
  display: block;
  width: auto;
  height: 38px;
}

.site-footer span {
  font-size: 22px;
  font-weight: 900;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.footer-records {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.footer-records p,
.footer-records a {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.record-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.record-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.record-link span {
  font-size: 14px;
  font-weight: 400;
}

.footer-records a:hover {
  color: var(--green);
}

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

  .hero {
    min-height: 86vh;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(18, 34, 25, 0.84), rgba(18, 34, 25, 0.62));
  }

  .metric-grid,
  .feature-grid,
  .timeline,
  .product-section,
  .audience-section,
  .coming-soon {
    grid-template-columns: 1fr;
  }

  .product-section,
  .audience-section,
  .section {
    padding: 64px 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 64px;
  }

  .brand-logo {
    height: 30px;
  }

  .header-action {
    min-width: 88px;
    height: 36px;
    font-size: 13px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  .hero-actions,
  .check-list,
  .audience-grid,
  .coming-soon-board {
    grid-template-columns: 1fr;
  }

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

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card,
  .timeline-item {
    min-height: 0;
  }

  .coming-soon {
    margin-bottom: 72px;
    padding: 24px 18px;
  }

  .footer-logo {
    height: 34px;
  }

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

  .footer-records {
    justify-items: start;
  }
}
