:root {
  color-scheme: light;
  --paper: #f8f1df;
  --paper-2: #fffaf0;
  --ink: #26332f;
  --muted: #66746f;
  --jade: #315d4c;
  --gold: #c49a45;
  --red: #b75a4a;
  --line: rgba(38, 51, 47, 0.14);
  --shadow: 0 18px 50px rgba(38, 51, 47, 0.14);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "PingFang TC",
    "Noto Serif CJK SC", "Noto Serif CJK TC", "Songti SC", "Microsoft YaHei",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 8%, rgba(196, 154, 69, 0.2), transparent 28rem),
    radial-gradient(circle at 90% 4%, rgba(49, 93, 76, 0.16), transparent 24rem),
    linear-gradient(180deg, var(--paper), #f4ead6 54%, #fffaf0);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(38, 51, 47, 0.18);
}

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

.nav a {
  text-decoration: none;
}

.lang {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.72);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
  min-height: 620px;
  padding: 32px 0 76px;
}

.eyebrow {
  color: var(--jade);
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  line-height: 1.16;
  margin: 0;
}

h1 {
  max-width: 760px;
  margin-top: 12px;
  font-size: clamp(42px, 7vw, 76px);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
}

h3 {
  font-size: 20px;
}

.lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
}

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

.store-actions {
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: var(--jade);
  color: white;
  border-color: var(--jade);
}

.button.secondary {
  background: rgba(255, 250, 240, 0.78);
}

.button.placeholder {
  background: rgba(196, 154, 69, 0.14);
  color: #6c5a35;
}

.phone {
  justify-self: center;
  width: min(360px, 100%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 36px;
  background: linear-gradient(180deg, #2d493f, #19352d);
  box-shadow: var(--shadow);
}

.hero-shot {
  display: block;
  width: 100%;
  border-radius: 25px;
}

.screen {
  overflow: hidden;
  border-radius: 25px;
  background: #f7eed9;
}

.screen-top {
  padding: 22px 20px 18px;
  color: white;
  background: linear-gradient(135deg, #315d4c, #a85e45);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 18px;
}

.tile {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 10px;
  background: rgba(255, 250, 240, 0.92);
  color: var(--ink);
  font-size: 25px;
  font-weight: 900;
  box-shadow: inset 0 -2px 0 rgba(196, 154, 69, 0.18);
}

.slots {
  display: grid;
  gap: 8px;
  padding: 0 18px 20px;
}

.slot {
  min-height: 38px;
  border-radius: 12px;
  border: 1px dashed rgba(196, 154, 69, 0.55);
  background: rgba(255, 255, 255, 0.54);
}

.feature-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 8px 26px rgba(38, 51, 47, 0.08);
}

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

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

.poet {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.82);
}

.poet img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}

.poet strong {
  display: block;
  padding: 10px 12px 12px;
}

.section {
  padding: 60px 0;
}

.legal-page {
  max-width: 860px;
  padding: 40px 0 70px;
}

.legal-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.86);
  box-shadow: var(--shadow);
}

.centered {
  text-align: center;
}

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(38, 51, 47, 0.18);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 22px 0;
}

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

.legal-list li {
  margin: 10px 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

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

  .nav {
    flex-wrap: wrap;
  }

  .hero,
  .feature-grid,
  .legal-grid,
  .poets {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 32px;
    min-height: auto;
    padding-bottom: 42px;
  }

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