:root {
  color-scheme: light;
  --bg: #fffaf7;
  --surface: #ffffff;
  --ink: #24211f;
  --muted: #6f6964;
  --line: #e8dfd8;
  --coral: #df6d66;
  --jade: #679a88;
  --gold: #b68b4c;
  --shadow: 0 18px 50px rgba(73, 55, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  line-height: 1.7;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.25;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(52px, 8vw, 92px) clamp(20px, 5vw, 72px) 56px;
}

.hero-content {
  max-width: 670px;
}

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

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.3;
}

.hero-aliases {
  margin: -8px 0 18px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-copy {
  max-width: 590px;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 700;
}

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

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

.hero-media {
  min-height: 420px;
}

.hero-media img {
  display: block;
  width: 100%;
  height: min(66vh, 620px);
  min-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  padding: 78px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  max-width: 1120px;
  margin: 0 auto 32px;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: end;
}

.feature-grid {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-card p,
.app-card p,
.legal-page p {
  color: var(--muted);
}

.product-section {
  background: #f7f0ea;
}

.app-grid {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.app-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.app-kicker {
  margin-bottom: 8px;
  color: var(--jade);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.app-card h3 {
  margin-bottom: 10px;
}

.app-card p {
  margin-bottom: 0;
}

.download-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.download-btn {
  display: inline-flex;
  flex: 1 1 0;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.download-btn.is-live {
  background: var(--ink);
  color: #fff;
}

.download-btn.is-soon {
  border: 1px solid var(--line);
  background: #f7f0ea;
  color: var(--muted);
  cursor: default;
}

.faq-grid {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.faq-card {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

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

.contact-card {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  font-style: normal;
}

.contact-card span,
.contact-card a {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.legal-page {
  max-width: 860px;
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 72px 20px;
}

.legal-page h1 {
  font-size: clamp(32px, 5vw, 52px);
}

.legal-page h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 22px;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--jade);
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .app-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .hero-media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .feature-grid,
  .faq-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand strong {
    font-size: 14px;
  }

  .site-nav {
    gap: 8px;
    font-size: 13px;
  }

  .button {
    width: 100%;
  }

  .download-row {
    gap: 6px;
  }

  .download-btn {
    padding: 8px 6px;
    font-size: 12px;
  }
}
