:root {
  color-scheme: light;
  --canvas: #f6f0e4;
  --surface: #fffaf0;
  --ink: #26231f;
  --muted: #736c62;
  --line: #d8cbbb;
  --accent: #b85b3f;
  --sage: #5f7863;
  --sky: #94c8e8;
  --max-width: 920px;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 88% 4%, rgba(148, 200, 232, 0.32), transparent 28rem),
    radial-gradient(circle at 5% 80%, rgba(184, 91, 63, 0.08), transparent 26rem),
    var(--canvas);
  line-height: 1.7;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(184, 91, 63, 0.12);
}

nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  padding: clamp(72px, 12vw, 136px) 0 88px;
}

.hero h1,
.app-hero h1,
.legal > h1,
.centered-message h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: clamp(42px, 8vw, 76px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2.5vw, 21px);
}

.section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.section h2,
.legal h2,
.contact-card h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.section-heading {
  margin-bottom: 26px;
}

.app-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 22px 60px rgba(67, 54, 43, 0.08);
}

.app-icon {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 25px;
  box-shadow: 0 12px 24px rgba(65, 54, 44, 0.18);
}

.app-icon-large {
  width: 168px;
  height: 168px;
  border-radius: 38px;
}

.app-copy h3 {
  margin: 2px 0 10px;
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: 30px;
  font-weight: 500;
}

.app-copy p {
  max-width: 630px;
  margin: 0 0 20px;
  color: var(--muted);
}

.status {
  color: var(--sage) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fffaf2;
  font-weight: 700;
  text-decoration: none;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
}

.prose-section {
  max-width: 760px;
}

.prose-section p {
  color: var(--muted);
  font-size: 17px;
}

.app-hero {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 80px 0 72px;
}

.app-hero h1 {
  font-size: clamp(46px, 8vw, 72px);
}

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

.feature-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.68);
}

.feature-grid h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.feature-grid p {
  margin: 0;
  font-size: 14px;
}

.legal {
  max-width: 760px;
  padding: 64px 0 80px;
}

.legal > h1 {
  font-size: clamp(42px, 7vw, 68px);
}

.legal section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.legal section:first-of-type {
  margin-top: 52px;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 16px;
}

.legal ul {
  padding-left: 20px;
}

.legal a,
.contact-card a {
  color: var(--accent);
}

.faq {
  max-width: 680px;
}

.contact-card {
  margin-top: 30px;
  padding: 30px !important;
  border: 0 !important;
  border-radius: 24px;
  background: rgba(148, 200, 232, 0.22);
}

.centered-message {
  min-height: 80vh;
  display: grid;
  place-content: center;
  text-align: center;
}

.centered-message p:not(.eyebrow) {
  color: var(--muted);
}

.centered-message .button {
  justify-self: center;
  margin-top: 14px;
}

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

.site-footer p {
  margin: 0;
}

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

  nav {
    gap: 14px;
  }

  .hero {
    padding: 58px 0 64px;
  }

  .app-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .app-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 52px 0;
  }

  .app-icon-large {
    width: 132px;
    height: 132px;
    border-radius: 30px;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
