:root {
  color-scheme: light;
  --ink: #162018;
  --green: #215c43;
  --green-soft: #d9f0d0;
  --leaf: #7fc07c;
  --amber: #f7c768;
  --coral: #f2765f;
  --blue: #8ec7d2;
  --paper: #fffdf6;
  --surface: #f7f8f4;
  --muted: #5e6a61;
  --line: #dfe5dc;
  --shadow: 0 22px 70px rgba(22, 32, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    Inter,
    sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body::selection {
  background: rgba(247, 199, 104, 0.42);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-nav {
  position: fixed;
  z-index: 30;
  top: 16px;
  left: 50%;
  width: min(1120px, calc(100% - 28px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(33, 92, 67, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.9);
  box-shadow: 0 12px 34px rgba(22, 32, 24, 0.12);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
}

.brand-link img {
  width: 42px;
  height: 42px;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 17px;
}

.brand-copy span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a,
.music-button,
.primary-link,
.secondary-link {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 13px;
  color: var(--green);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  background: transparent;
  cursor: pointer;
}

.nav-links a:hover,
.music-button:hover {
  border-color: rgba(33, 92, 67, 0.16);
  background: rgba(217, 240, 208, 0.48);
}

.music-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.music-button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--coral);
}

.music-button.is-playing::before {
  background: var(--leaf);
  box-shadow: 0 0 0 6px rgba(127, 192, 124, 0.18);
}

.hero {
  position: relative;
  min-height: min(760px, 86vh);
  padding: 132px 0 92px;
  display: grid;
  align-items: end;
  background: var(--surface);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(255, 253, 246, 0.96) 0%, rgba(255, 253, 246, 0.86) 34%, rgba(255, 253, 246, 0.34) 68%, rgba(255, 253, 246, 0.76) 100%),
    url("./assets/hero-scene.svg");
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 253, 246, 0), var(--paper));
}

.hero-content,
.section-inner,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-content {
  display: grid;
  align-content: end;
  max-width: 1120px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 span,
.page-hero h1 span {
  display: block;
  color: var(--green);
}

.hero-lede,
.page-lede {
  max-width: 610px;
  margin: 24px 0 0;
  color: #26362b;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  background: var(--green);
  color: var(--paper);
  box-shadow: 0 12px 28px rgba(33, 92, 67, 0.18);
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-color: rgba(33, 92, 67, 0.2);
  background: rgba(255, 253, 246, 0.74);
}

.status-strip {
  background: var(--paper);
  border-top: 1px solid rgba(33, 92, 67, 0.1);
  border-bottom: 1px solid rgba(33, 92, 67, 0.1);
}

.status-strip .section-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.status-item {
  min-height: 108px;
  padding: 24px 22px;
  border-left: 1px solid rgba(33, 92, 67, 0.08);
}

.status-item:last-child {
  border-right: 1px solid rgba(33, 92, 67, 0.08);
}

.status-item strong {
  display: block;
  color: var(--green);
  font-size: 22px;
  line-height: 1.1;
}

.status-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 84px 0;
}

.section.alt {
  background: #f4faf3;
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
}

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

.feature-card,
.story-card,
.filing-panel {
  border: 1px solid rgba(33, 92, 67, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.84);
  box-shadow: 0 10px 26px rgba(22, 32, 24, 0.07);
}

.feature-card {
  min-height: 238px;
  padding: 22px;
}

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

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

.feature-card:nth-child(2) .feature-icon {
  background: #fff1c9;
}

.feature-card:nth-child(3) .feature-icon {
  background: #e2f4f7;
}

.feature-card:nth-child(4) .feature-icon {
  background: #ffe4d7;
}

.feature-card h3,
.story-card h3,
.filing-panel h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.feature-card p,
.story-card p,
.filing-panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 620;
}

.flow-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.phone-preview {
  position: relative;
  min-height: 560px;
  border-radius: 8px;
  background: #e8f6ea;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.phone-preview img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.flow-list {
  display: grid;
  gap: 14px;
}

.flow-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(33, 92, 67, 0.12);
}

.flow-step:last-child {
  border-bottom: 0;
}

.flow-step span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--green);
  color: var(--paper);
  font-weight: 900;
}

.flow-step h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-weight: 620;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.story-card {
  padding: 22px;
  min-height: 188px;
}

.developer-band {
  background: var(--green);
  color: var(--paper);
}

.developer-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.developer-layout img {
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.developer-copy h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1;
}

.developer-copy p {
  max-width: 640px;
  color: #d9f0d0;
  font-size: 18px;
  font-weight: 650;
}

.developer-copy .secondary-link {
  background: rgba(255, 253, 246, 0.08);
  color: var(--paper);
  border-color: rgba(255, 253, 246, 0.34);
}

.filing-panel {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.download-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(33, 92, 67, 0.12);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 253, 246, 0.88);
  box-shadow: 0 12px 30px rgba(22, 32, 24, 0.08);
}

.download-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

.download-panel p {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
}

.download-actions {
  display: grid;
  gap: 12px;
}

.download-badge,
.download-placeholder {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 900;
}

.download-badge {
  background: var(--green);
  color: var(--paper);
}

.download-placeholder {
  border: 1px solid rgba(33, 92, 67, 0.18);
  background: #fff8ea;
  color: var(--green);
}

.filing-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.site-footer {
  padding: 42px 0;
  background: #162018;
  color: var(--paper);
}

.footer-inner {
  display: grid;
  gap: 22px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #d9f0d0;
  font-weight: 800;
}

.footer-meta {
  display: grid;
  gap: 6px;
  color: #b9c6bb;
  font-size: 13px;
}

.footer-meta a {
  color: #d9f0d0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero {
  position: relative;
  padding: 146px 0 70px;
  background: #f4faf3;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.about-portrait img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(33, 92, 67, 0.12);
}

.timeline-item h3 {
  margin: 0 0 6px;
  font-size: 24px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-weight: 620;
}

@media (max-width: 920px) {
  .site-nav {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    min-height: 820px;
    padding-top: 196px;
  }

  .hero::before {
    background-image:
      linear-gradient(180deg, rgba(255, 253, 246, 0.98), rgba(255, 253, 246, 0.74), rgba(255, 253, 246, 0.96)),
      url("./assets/hero-scene.svg");
    background-position: 58% center;
  }

  .status-strip .section-inner,
  .feature-grid,
  .story-grid,
  .flow-grid,
  .download-panel,
  .developer-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .status-item {
    border-right: 1px solid rgba(33, 92, 67, 0.08);
  }
}

@media (max-width: 560px) {
  .site-nav {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav-links a,
  .music-button {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 13px;
  }

  .hero {
    min-height: 760px;
    padding: 190px 0 70px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 46px;
  }

  .hero-lede,
  .page-lede {
    font-size: 18px;
  }

  .section {
    padding: 58px 0;
  }

  .section-head h2,
  .developer-copy h2 {
    font-size: 36px;
  }

  .phone-preview,
  .phone-preview img {
    min-height: 380px;
  }
}
