:root {
  --ink: #141514;
  --paper: #f7f5ef;
  --soft: #ebe7dc;
  --line: rgba(20, 21, 20, 0.14);
  --text-muted: #65635c;
  --teal: #006d63;
  --teal-dark: #02443f;
  --coral: #dd5b45;
  --gold: #d6a13b;
  --green: #6f8f42;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(20, 21, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 5vw;
  background: rgba(247, 245, 239, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  padding: 150px 5vw 96px;
  background:
    linear-gradient(90deg, rgba(247, 245, 239, 0.96) 0%, rgba(247, 245, 239, 0.86) 42%, rgba(247, 245, 239, 0.2) 100%),
    radial-gradient(circle at 80% 42%, rgba(221, 91, 69, 0.18), transparent 36%),
    var(--paper);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(660px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-size: 4.8rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  width: min(560px, 100%);
  margin: 24px 0 0;
  color: #33332f;
  font-size: 1.25rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.52);
}

.hero-stage {
  position: absolute;
  inset: 72px 0 0;
  z-index: 1;
  pointer-events: none;
}

.wave-field {
  position: absolute;
  right: 2vw;
  top: 8%;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 38vw;
  height: 210px;
  opacity: 0.82;
}

.wave-field span {
  display: block;
  width: 16px;
  min-width: 12px;
  border-radius: 8px;
  background: var(--teal);
}

.wave-field span:nth-child(1) { height: 58px; background: var(--green); }
.wave-field span:nth-child(2) { height: 118px; }
.wave-field span:nth-child(3) { height: 172px; background: var(--coral); }
.wave-field span:nth-child(4) { height: 92px; background: var(--gold); }
.wave-field span:nth-child(5) { height: 142px; }
.wave-field span:nth-child(6) { height: 198px; background: var(--coral); }
.wave-field span:nth-child(7) { height: 124px; background: var(--green); }
.wave-field span:nth-child(8) { height: 76px; }
.wave-field span:nth-child(9) { height: 160px; background: var(--gold); }
.wave-field span:nth-child(10) { height: 106px; background: var(--teal-dark); }

.phone {
  position: absolute;
  width: 260px;
  height: 520px;
  background: #fbfaf6;
  border: 10px solid var(--ink);
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-main {
  right: 13vw;
  bottom: 4vh;
  transform: rotate(-4deg);
}

.phone-side {
  right: 3vw;
  bottom: 13vh;
  width: 230px;
  height: 460px;
  transform: rotate(7deg);
}

.phone-top {
  width: 72px;
  height: 7px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: rgba(20, 21, 20, 0.22);
}

.app-bar,
.mini-title {
  margin: 28px 24px 0;
  font-size: 1.4rem;
  font-weight: 900;
}

.record-orb {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  margin: 42px auto 16px;
  border-radius: 50%;
  background: var(--coral);
}

.record-orb span {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--paper);
}

.record-state {
  text-align: center;
  color: var(--text-muted);
  font-weight: 800;
}

.screen-row,
.summary-line {
  height: 14px;
  margin: 22px 24px 0;
  border-radius: 7px;
  background: rgba(20, 21, 20, 0.12);
}

.screen-row.strong {
  height: 18px;
  background: rgba(0, 109, 99, 0.28);
}

.screen-row.short {
  width: 58%;
}

.pill-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 32px 18px 0;
}

.pill-row b {
  padding: 8px 0;
  border-radius: 8px;
  background: var(--soft);
  text-align: center;
  font-size: 0.82rem;
}

.summary-line.wide { width: 74%; }
.summary-line.mid { width: 60%; }

.task-card,
.idea-card {
  margin: 26px 20px 0;
  padding: 14px;
  border-radius: 8px;
  color: var(--white);
  font-weight: 800;
}

.task-card {
  background: var(--teal);
}

.idea-card {
  background: var(--coral);
}

.section-band {
  padding: 84px 5vw;
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section-heading {
  width: min(680px, 100%);
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
  letter-spacing: 0;
}

p {
  color: var(--text-muted);
}

.workflow {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.workflow-grid article,
.feature-grid article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.step {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--coral);
  font-size: 1.65rem;
  font-weight: 900;
}

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

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

.download p,
.download .eyebrow {
  color: rgba(247, 245, 239, 0.74);
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
}

.download-list {
  display: grid;
  gap: 10px;
}

.download-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(247, 245, 239, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.download-list a:first-child {
  background: var(--teal);
  border-color: var(--teal);
}

.download-list a::after {
  content: "APK";
  color: rgba(247, 245, 239, 0.66);
  font-size: 0.8rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 5vw;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  font-weight: 800;
  color: var(--ink);
}

@media (max-width: 980px) {
  .hero {
    padding-top: 118px;
  }

  .hero h1 {
    font-size: 3.6rem;
  }

  .hero-copy {
    font-size: 1.1rem;
  }

  .phone-main {
    right: 4vw;
    opacity: 0.42;
  }

  .phone-side,
  .wave-field {
    display: none;
  }

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

  .download-layout {
    grid-template-columns: 1fr;
  }
}

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

  .brand span:last-child {
    display: none;
  }

  .nav-links {
    gap: 16px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 84svh;
    padding: 102px 5vw 72px;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

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

  .phone-main {
    width: 210px;
    height: 420px;
    right: -70px;
    bottom: 8vh;
  }

  h2 {
    font-size: 1.9rem;
  }

  .section-band {
    padding: 62px 5vw;
  }

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

  .site-footer {
    flex-direction: column;
  }
}
