﻿:root {
  --bg: #f7f3ea;
  --paper: #fffaf0;
  --ink: #251d17;
  --muted: #74675b;
  --gold: #d58b22;
  --gold-deep: #9a5d0b;
  --green: #5f8d3d;
  --line: rgba(86, 65, 38, 0.14);
  --shadow: 0 24px 70px rgba(59, 37, 14, 0.16);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(239, 181, 82, 0.24), transparent 34rem),
    radial-gradient(circle at 90% 15%, rgba(101, 141, 70, 0.2), transparent 30rem),
    linear-gradient(180deg, #fff8ea 0%, var(--bg) 46%, #f3ebdd 100%);
  line-height: 1.7;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 240, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-shell,
.section-shell,
.footer-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(59, 37, 14, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.nav-links a,
.footer-links a,
.contact-list a {
  color: inherit;
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover,
.contact-list a:hover {
  color: var(--gold-deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 54px;
  padding: 82px 0 76px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-deep);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

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

.hero-text,
.section-heading p,
.about-panel p,
.contact-card p,
.feature-card p {
  color: var(--muted);
}

.hero-text {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: 19px;
}

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

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, #f0b24b, #c87917);
  box-shadow: 0 14px 28px rgba(175, 98, 13, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.secondary-btn {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(119, 82, 34, 0.18);
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.quick-facts li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
}

.quick-facts strong,
.quick-facts span {
  display: block;
}

.quick-facts strong {
  color: var(--muted);
  font-size: 13px;
}

.quick-facts span {
  margin-top: 4px;
  font-weight: 900;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 360px);
  padding: 14px;
  border-radius: 44px;
  background: linear-gradient(145deg, #2b241d, #0f0d0b);
  box-shadow: var(--shadow);
}

.phone-frame img {
  aspect-ratio: 1220 / 2656;
  width: 100%;
  object-fit: cover;
  border-radius: 32px;
}

.section-block {
  padding: 68px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.feature-card,
.about-panel,
.contact-card,
.screenshot-card {
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.76);
  box-shadow: 0 16px 44px rgba(61, 41, 18, 0.08);
  backdrop-filter: blur(12px);
}

.feature-card {
  min-height: 230px;
  padding: 24px;
  border-radius: 24px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(213, 139, 34, 0.2), rgba(95, 141, 61, 0.17));
  font-size: 24px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
  gap: 28px;
}

.screenshot-card {
  margin: 0;
  padding: 14px 14px 18px;
  border-radius: 34px;
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 1220 / 2656;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(54, 36, 17, 0.12);
}

.screenshot-card figcaption {
  padding-top: 14px;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

.about-panel,
.contact-card {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 36px;
  padding: 36px;
  border-radius: var(--radius);
}

.contact-list {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.54);
}

.contact-list p:last-child,
.site-footer p:last-child {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 52px;
  padding: 34px 0;
  color: rgba(37, 29, 23, 0.78);
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.72);
}

.footer-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-weight: 800;
}

.legal-page {
  background: #fffaf0;
}

.legal-main {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.legal-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(61, 41, 18, 0.08);
}

.legal-card h1 {
  font-size: clamp(34px, 5vw, 54px);
}

.legal-card h2 {
  margin-top: 30px;
  font-size: 24px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .hero-card {
    order: -1;
  }

  .quick-facts,
  .feature-grid,
  .about-panel,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .section-shell,
  .footer-shell,
  .legal-main {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    gap: 34px;
    padding-bottom: 46px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .about-panel,
  .contact-card,
  .legal-card {
    padding: 24px;
  }
}