:root {
  --brand: #07c160;
  --brand-dark: #07984e;
  --brand-soft: #eaf8ef;
  --ink: #111827;
  --muted: #667085;
  --subtle: #e5e7eb;
  --surface: #ffffff;
  --page: #f6f7f8;
  --shadow: 0 16px 42px rgba(17, 24, 39, 0.08);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  overflow-x: hidden;
}

main[id],
section[id] {
  scroll-margin-top: 88px;
}

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

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

.sr-only {
  clip: rect(0, 0, 0, 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--subtle);
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 64px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
}

.brand img,
.footer-brand img {
  border-radius: 8px;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 1.18rem;
  line-height: 1.05;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 4vw, 52px);
  justify-content: center;
}

.site-nav a {
  color: #263241;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-dark);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.language-picker select {
  appearance: none;
  background: #fff;
  border: 1px solid #cfd6df;
  border-radius: 8px;
  color: #263241;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 44px;
  padding: 0 34px 0 12px;
  position: relative;
  z-index: 1;
}

.language-picker {
  position: relative;
}

.language-picker::after {
  color: var(--muted);
  content: "⌄";
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-54%);
}

.header-cta,
.button,
.download-card a {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 760;
  justify-content: center;
  min-height: 44px;
}

.header-cta {
  background: var(--brand);
  color: #fff;
  padding: 0 18px;
}

.menu-button {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 44px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 44px;
}

.menu-button span:not(.sr-only) {
  background: var(--ink);
  border-radius: 999px;
  display: block;
  height: 2px;
  left: 11px;
  position: absolute;
  top: 21px;
  width: 22px;
}

.menu-button span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-button span:nth-child(3) {
  transform: translateY(7px);
}

.hero {
  align-items: center;
  background: var(--surface);
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(420px, 0.95fr) minmax(420px, 1.05fr);
  min-height: min(600px, calc(100vh - 72px));
  overflow: hidden;
  padding: clamp(36px, 5vw, 60px) clamp(20px, 5vw, 64px) clamp(28px, 3vw, 42px);
}

.hero-copy {
  max-width: 610px;
  min-width: 0;
}

.eyebrow {
  align-items: center;
  border: 1px solid rgba(7, 193, 96, 0.22);
  border-radius: 999px;
  color: var(--brand-dark);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 760;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 13px;
}

.eyebrow span:first-child {
  background: var(--brand);
  border-radius: 999px;
  flex: 0 0 auto;
  height: 8px;
  width: 8px;
}

.eyebrow span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

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

h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.35rem);
  letter-spacing: 0;
  line-height: 1.04;
  max-width: 100%;
}

h1 span {
  display: block;
}

.hero-copy p {
  color: #475467;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  margin-top: 22px;
  max-width: 560px;
}

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

.button {
  min-width: 158px;
  max-width: 100%;
  padding: 0 20px;
}

.button-primary {
  background: var(--brand);
  box-shadow: 0 10px 22px rgba(7, 193, 96, 0.2);
  color: #fff;
}

.button-primary:hover,
.header-cta:hover,
.download-card a:hover {
  background: var(--brand-dark);
}

.button-secondary {
  background: #fff;
  border: 1px solid #cfd6df;
  color: #1f2937;
}

.button span {
  margin-right: 8px;
}

.platform-row {
  color: #4b5563;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.platform-row span {
  background: #fff;
  border: 1px solid var(--subtle);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 650;
  padding: 6px 9px;
}

.platform-row .muted {
  background: #f8fafc;
  color: #667085;
}

.hero-visual {
  align-self: center;
  min-width: 0;
}

.hero-visual img {
  filter: drop-shadow(0 28px 50px rgba(15, 23, 42, 0.12));
  width: 100%;
}

.trust-strip,
.section,
.site-footer {
  margin: 0 auto;
  max-width: 1180px;
  width: calc(100% - clamp(32px, 8vw, 96px));
}

.trust-strip {
  background: #fff;
  border: 1px solid var(--subtle);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(42px, 6vw, 72px);
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.trust-strip article {
  align-items: center;
  display: flex;
  gap: 16px;
  min-height: 126px;
  padding: 24px;
}

.trust-strip article + article {
  border-left: 1px solid var(--subtle);
}

.icon-badge,
.feature-icon,
.platform-icon {
  align-items: center;
  background: var(--brand-soft);
  border-radius: 8px;
  color: var(--brand-dark);
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 850;
  justify-content: center;
}

.icon-badge {
  font-size: 1.25rem;
  height: 48px;
  width: 48px;
}

.trust-strip h2 {
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.trust-strip p,
.feature-card p,
.workflow p,
.security-copy p,
.security-list span,
.download-card p,
.download-card small,
.help-grid p,
.feedback-copy p,
.feedback-note,
.feedback-status,
.feedback-meta,
.site-footer p,
.section-heading span {
  color: var(--muted);
}

.section {
  padding: clamp(62px, 9vw, 104px) 0 0;
}

.scenario-section {
  padding-top: clamp(48px, 7vw, 82px);
}

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

.section-heading p,
.section-kicker {
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-heading h2,
.security-copy h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0;
  line-height: 1.12;
}

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

.scenario-card {
  background: #fff;
  border: 1px solid var(--subtle);
  border-radius: 8px;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 324px;
  overflow: hidden;
}

.scenario-card-wide {
  grid-column: span 2;
}

.scenario-card img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.scenario-card div {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.scenario-card h3 {
  font-size: 1.08rem;
  line-height: 1.22;
}

.scenario-card p {
  color: var(--muted);
}

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

.feature-card,
.workflow article,
.download-card,
.help-grid article,
.feedback-panel,
.security-section {
  background: #fff;
  border: 1px solid var(--subtle);
  border-radius: 8px;
}

.feature-card {
  min-height: 236px;
  padding: 24px;
}

.feature-icon {
  font-size: 1.2rem;
  height: 44px;
  margin-bottom: 34px;
  width: 44px;
}

.feature-card h3,
.workflow h3,
.download-card h3,
.help-grid h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

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

.workflow article {
  min-height: 190px;
  padding: 24px;
  position: relative;
}

.workflow span {
  align-items: center;
  background: var(--brand);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 850;
  height: 34px;
  justify-content: center;
  margin-bottom: 24px;
  width: 34px;
}

.security-section {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: 1.1fr 0.9fr;
  padding: clamp(28px, 5vw, 46px);
}

.security-copy p:last-child {
  font-size: 1.03rem;
  margin-top: 18px;
}

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

.security-list div {
  background: #f8fafc;
  border: 1px solid var(--subtle);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 18px;
}

.download-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, 1fr);
}

.download-summary {
  background: #fff;
  border: 1px solid var(--subtle);
  border-radius: 8px;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 16px;
  overflow: hidden;
}

.download-summary div {
  background: #fff;
  display: grid;
  gap: 5px;
  padding: 18px;
}

.download-summary div + div {
  border-left: 1px solid var(--subtle);
}

.download-summary strong {
  color: #263241;
}

.download-summary span,
.package-note {
  color: var(--muted);
}

.download-card {
  display: flex;
  flex-direction: column;
  min-height: 272px;
  padding: 22px;
}

.download-card-top {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.download-card.pending {
  background: #fbfcfd;
}

.platform-icon {
  font-size: 1.1rem;
  height: 44px;
  width: 44px;
}

.platform-icon.android {
  font-size: 0.95rem;
}

.download-card a {
  background: var(--brand);
  color: #fff;
  margin: 18px 0 12px;
  min-height: 42px;
  padding: 0 14px;
  width: 100%;
}

.status-pill {
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 820;
  padding: 5px 8px;
}

.status-pill.released {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.status-pill.preparing {
  background: #eef2f6;
  color: #475467;
}

.status-pill.verifying {
  background: #fff7ed;
  color: #a15c07;
}

.package-note {
  font-size: 0.9rem;
  margin-top: 8px;
}

.download-card a.disabled {
  background: #eef2f6;
  color: #667085;
  pointer-events: none;
}

.download-card small {
  margin-top: auto;
}

.reassurance {
  background: #edf9f2;
  border: 1px solid #d2f0dd;
  border-radius: 8px;
  color: #087947;
  font-weight: 700;
  margin-top: 18px;
  padding: 16px 18px;
  text-align: center;
}

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

.help-grid article {
  padding: 24px;
}

.feedback-section {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
}

.feedback-copy h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
  letter-spacing: 0;
  line-height: 1.12;
}

.feedback-copy p:last-of-type {
  font-size: 1.03rem;
  margin-top: 16px;
}

.feedback-mail {
  color: var(--brand-dark);
  display: inline-flex;
  font-weight: 780;
  margin-top: 20px;
}

.feedback-panel {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(260px, 0.92fr) minmax(260px, 1.08fr);
  overflow: hidden;
}

.feedback-form,
.feedback-board {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 28px);
}

.feedback-board {
  background: #f8fafc;
  border-left: 1px solid var(--subtle);
}

.feedback-form label {
  display: grid;
  gap: 7px;
}

.feedback-form label span,
.feedback-board-heading h3 {
  color: #263241;
  font-size: 0.92rem;
  font-weight: 780;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  appearance: none;
  background: #fff;
  border: 1px solid #cfd6df;
  border-radius: 8px;
  color: #263241;
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.feedback-form textarea {
  min-height: 132px;
  resize: vertical;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus,
.feedback-board-heading button:focus-visible {
  border-color: var(--brand);
  outline: 3px solid rgba(7, 193, 96, 0.14);
}

.feedback-form button {
  border: 0;
  cursor: pointer;
  margin-top: 2px;
  width: 100%;
}

.feedback-form .button span {
  margin-right: 0;
}

.feedback-form button:disabled {
  background: #a7dcbc;
  cursor: wait;
}

.feedback-hidden {
  clip: rect(0, 0, 0, 0);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.feedback-note,
.feedback-status,
.feedback-meta {
  font-size: 0.88rem;
}

.feedback-status[data-tone="success"] {
  color: #087947;
  font-weight: 720;
}

.feedback-status[data-tone="warning"] {
  color: #a15c07;
  font-weight: 720;
}

.feedback-board-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.feedback-board-heading button {
  align-items: center;
  background: #fff;
  border: 1px solid #cfd6df;
  border-radius: 8px;
  color: #263241;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 850;
  height: 38px;
  justify-content: center;
  width: 38px;
}

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

.feedback-item {
  background: #fff;
  border: 1px solid var(--subtle);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.feedback-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feedback-category {
  background: var(--brand-soft);
  border-radius: 8px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 820;
  padding: 5px 8px;
}

.feedback-author {
  color: #263241;
  font-weight: 760;
}

.feedback-date {
  margin-left: auto;
}

.feedback-item p {
  color: #475467;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--subtle);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: clamp(62px, 9vw, 104px);
  min-height: 96px;
}

.footer-brand span {
  font-weight: 800;
}

.site-footer a,
.legal-content a {
  color: var(--brand-dark);
  font-weight: 750;
}

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

.legal-page {
  margin: 0 auto;
  max-width: 880px;
  padding: clamp(48px, 8vw, 86px) clamp(18px, 5vw, 40px) 0;
}

.legal-hero {
  margin-bottom: 28px;
}

.legal-hero p {
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.legal-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

.legal-hero span {
  color: var(--muted);
  font-weight: 650;
}

.legal-content {
  background: #fff;
  border: 1px solid var(--subtle);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 5vw, 42px);
}

.legal-content h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.25;
  margin-top: 14px;
}

.legal-content p,
.legal-content li {
  color: #475467;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.25rem;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    margin: 0 auto;
    max-width: 860px;
  }

  .feature-grid,
  .download-grid,
  .scenario-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scenario-card-wide {
    grid-column: span 2;
  }

  .download-card.pending {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    scroll-padding-top: 148px;
  }

  main[id],
  section[id] {
    scroll-margin-top: 148px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding: 12px 18px;
  }

  .menu-button {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    z-index: 2;
  }

  .header-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    background: #fff;
    border: 1px solid var(--subtle);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 0;
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 8px;
    padding: 8px;
  }

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

  .site-nav a {
    border-radius: 8px;
    padding: 12px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--brand-soft);
  }

  .feedback-section,
  .feedback-panel {
    grid-template-columns: 1fr;
  }

  .feedback-board {
    border-left: 0;
    border-top: 1px solid var(--subtle);
  }
}

@media (max-width: 760px) {
  :root {
    scroll-padding-top: 148px;
  }

  main[id],
  section[id] {
    scroll-margin-top: 148px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding: 12px 18px;
  }

  .menu-button {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    z-index: 2;
  }

  .header-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    background: #fff;
    border: 1px solid var(--subtle);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 0;
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 8px;
    padding: 8px;
  }

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

  .site-nav a {
    border-radius: 8px;
    padding: 12px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: var(--brand-soft);
  }

  .hero {
    min-height: auto;
    padding: 42px 36px 40px 18px;
  }

  .hero-copy {
    max-width: calc(100vw - 54px);
    text-align: left;
    width: 100%;
  }

  .hero-copy h1,
  .hero-copy p {
    max-width: calc(100vw - 54px);
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-actions {
    max-width: calc(100vw - 54px);
    width: 100%;
  }

  .button {
    flex: 0 0 calc(100vw - 54px);
    width: calc(100vw - 54px);
  }

  .platform-row {
    max-width: calc(100vw - 54px);
  }

  .hero-visual {
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
  }

  .hero-visual img {
    max-width: 100%;
    transform: none;
    width: 100%;
  }

  .trust-strip,
  .section,
  .site-footer {
    width: calc(100% - 36px);
  }

  .trust-strip,
  .workflow,
  .security-section,
  .help-grid,
  .feedback-section,
  .download-summary,
  .feedback-panel {
    grid-template-columns: 1fr;
  }

  .download-summary div + div {
    border-left: 0;
    border-top: 1px solid var(--subtle);
  }

  .feedback-board {
    border-left: 0;
    border-top: 1px solid var(--subtle);
  }

  .trust-strip {
    margin-top: 0;
  }

  .trust-strip article + article {
    border-left: 0;
    border-top: 1px solid var(--subtle);
  }

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

  .scenario-card-wide {
    grid-column: auto;
  }

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

  .feature-card,
  .workflow article,
  .download-card,
  .help-grid article {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 24px 0;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 390px) {
  .brand-copy span {
    display: none;
  }

  h1 {
    font-size: 2.18rem;
  }

  .platform-row span {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }
}

@media (max-width: 560px) {
  .hero-copy,
  .hero-copy h1,
  .hero-copy p,
  .hero-actions,
  .platform-row,
  .hero-visual {
    max-width: 336px;
  }

  .button {
    flex-basis: 336px;
    width: 336px;
  }
}
