:root {
  --cream: #faf6ee;
  --card: #fffdf8;
  --moon: #e8f4e7;
  --sage: #c3e5c9;
  --lake: #60aac1;
  --honey: #daae69;
  --text: #4e4338;
  --muted: #7a6a5b;
  --line: rgba(155, 131, 112, 0.24);
  --shadow: 0 24px 70px rgba(78, 67, 56, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 4%, rgba(195, 229, 201, 0.55), transparent 28rem),
    radial-gradient(circle at 90% 10%, rgba(218, 174, 105, 0.18), transparent 24rem),
    var(--cream);
  color: var(--text);
  font-family:
    ui-rounded,
    "SF Pro Rounded",
    "PingFang TC",
    "Noto Sans TC",
    system-ui,
    sans-serif;
}

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

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

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

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

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

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

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.7);
  backdrop-filter: blur(18px);
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a:hover {
  background: var(--moon);
  color: var(--text);
}

.hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 58px;
  padding: 42px 0 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--lake);
  font-size: 14px;
  font-weight: 900;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 680px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 610px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.8;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.download-row.centered {
  justify-content: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  height: 54px;
}

.store-badge img {
  display: block;
  width: auto;
  height: 54px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(195, 229, 201, 0.75);
  border-radius: 44px;
  background: var(--moon);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-visual::before {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(78, 67, 56, 0.04), transparent 34%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.02), rgba(78, 67, 56, 0.16));
}

.hero-visual::after {
  inset: auto 0 0 0;
  z-index: 1;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(78, 67, 56, 0.42));
}

.hero-art {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: 38% center;
}

.story-badge {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 253, 248, 0.42);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 36px rgba(78, 67, 56, 0.18);
}

.story-badge img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.story-badge strong,
.story-badge span {
  display: block;
}

.story-badge strong {
  font-size: 18px;
  line-height: 1.25;
}

.story-badge span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.problem,
.features,
.trust,
.final-cta {
  margin: 0 0 26px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 36px;
}

.problem {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
  background: rgba(255, 253, 248, 0.58);
}

.problem h2,
.section-heading h2,
.trust h2,
.final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
}

.problem > p,
.trust p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.85;
}

.features {
  background: linear-gradient(180deg, rgba(232, 244, 231, 0.7), rgba(255, 253, 248, 0.65));
}

.section-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

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

.feature-grid article {
  padding: 22px;
  border: 1px solid rgba(96, 170, 193, 0.18);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.72);
}

.feature-grid span {
  color: var(--honey);
  font-size: 13px;
  font-weight: 950;
}

.feature-grid h3 {
  margin: 12px 0 10px;
  font-size: 21px;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.7;
}

.trust {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 34px;
  align-items: center;
  background: rgba(255, 253, 248, 0.62);
}

.trust img {
  width: 160px;
  height: 160px;
  object-fit: contain;
}

.final-cta {
  text-align: center;
  background:
    linear-gradient(145deg, rgba(195, 229, 201, 0.6), rgba(255, 244, 216, 0.68)),
    var(--moon);
}

.final-cta h2 {
  width: min(760px, 100%);
  margin-inline: auto;
}

.legal-page {
  padding-bottom: 34px;
}

.legal-hero {
  margin: 36px auto 22px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(195, 229, 201, 0.72);
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(232, 244, 231, 0.76), rgba(255, 244, 216, 0.54)),
    var(--moon);
}

.legal-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(38px, 6vw, 64px);
}

.legal-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.8;
}

.date-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}

.date-list div {
  min-width: 190px;
  padding: 13px 16px;
  border: 1px solid rgba(155, 131, 112, 0.18);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.62);
}

.date-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.date-list dd {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 850;
}

.legal-card {
  margin-bottom: 26px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 0 18px 48px rgba(78, 67, 56, 0.07);
}

.legal-card section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(155, 131, 112, 0.16);
}

.legal-card h2 {
  margin-bottom: 14px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 16px;
  font-weight: 620;
  line-height: 1.85;
}

.legal-card p {
  margin-bottom: 12px;
}

.legal-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.2em;
}

.legal-card ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.35em;
}

.legal-card strong {
  color: var(--text);
  font-weight: 900;
}

.legal-card a {
  color: var(--lake);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list article {
  padding: 20px;
  border: 1px solid rgba(155, 131, 112, 0.16);
  border-radius: 22px;
  background: rgba(250, 246, 238, 0.58);
}

.faq-list h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.35;
}

.faq-list p:last-child {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 42px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

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

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

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

  .hero,
  .problem,
  .trust {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 28px;
    padding-top: 26px;
  }

  .hero-visual {
    min-height: 480px;
  }

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

@media (max-width: 620px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .site-nav a {
    padding-inline: 9px;
    font-size: 13px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-visual {
    min-height: 390px;
    border-radius: 30px;
  }

  .hero-art {
    object-position: 43% center;
  }

  .story-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    grid-template-columns: 42px 1fr;
    gap: 10px;
    padding: 11px;
    border-radius: 20px;
  }

  .story-badge img {
    width: 42px;
    height: 42px;
  }

  .story-badge strong {
    font-size: 15px;
  }

  .story-badge span {
    font-size: 12px;
  }

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

  .trust {
    text-align: left;
  }

  .trust img {
    width: 112px;
    height: 112px;
  }

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