:root {
  --brand-orange: #fca948;
  --brand-gold: #fdc95e;
  --brand-deep: #ff9f4d;
  --brand-logo-orange: #fb9b2d;
  --brand-logo-gold: #ffbc2f;
  --brand-tagline: #2e2222;
  --warm-white: #fffcf8;
  --warm-cream: #fff3e4;
  --warm-peach: #ffdcb5;
  --warm-amber: #ffc66b;
  --cream: #fff9f5;
  --cream-strong: #ffe8d6;
  --surface: #ffffff;
  --ink: #2d1810;
  --navy: #3d547a;
  --sky: #6bbfea;
  --pink: #ff6b9d;
  --green: #4ade80;
  --muted: rgba(45, 24, 16, 0.62);
  --line: rgba(45, 24, 16, 0.12);
  --shadow: 0 24px 80px rgba(154, 99, 43, 0.12);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  color: var(--ink);
  background-color: #fff1df;
  background-image:
    radial-gradient(
      120% 170% at 43% -55%,
      rgba(255, 255, 255, 0) 85.8%,
      rgba(255, 255, 255, 0.44) 86.6%,
      rgba(255, 255, 255, 0.22) 88.5%,
      rgba(255, 255, 255, 0.16) 100%
    ),
    radial-gradient(
      88% 94% at 98% 86%,
      rgba(255, 181, 84, 0.26) 0%,
      rgba(255, 209, 146, 0.34) 34%,
      rgba(255, 233, 204, 0.18) 59%,
      rgba(255, 246, 235, 0) 82%
    ),
    radial-gradient(
      54% 76% at 106% 44%,
      rgba(255, 194, 118, 0.32) 0%,
      rgba(255, 221, 181, 0.26) 44%,
      rgba(255, 248, 240, 0) 78%
    ),
    radial-gradient(
      94% 76% at 48% 18%,
      rgba(255, 255, 248, 0.54) 0%,
      rgba(255, 250, 237, 0.42) 39%,
      rgba(255, 240, 219, 0) 74%
    ),
    radial-gradient(
      72% 94% at -10% 22%,
      rgba(255, 207, 164, 0.42) 0%,
      rgba(255, 230, 206, 0.3) 42%,
      rgba(255, 248, 240, 0) 80%
    ),
    radial-gradient(
      68% 80% at 100% 0%,
      rgba(255, 195, 121, 0.38) 0%,
      rgba(255, 226, 194, 0.28) 44%,
      rgba(255, 249, 242, 0) 80%
    ),
    linear-gradient(135deg, #fde6d0 0%, #fff3df 24%, #fff6e8 48%, #ffecd2 72%, #ffc895 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  font-family:
    "Source Han Sans CN", "SF Pro Text", "San Francisco Text", "PingFang SC",
    "Microsoft YaHei", Arial, sans-serif;
}

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

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

code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom-right-radius: 24px;
  border-bottom-left-radius: 24px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(154, 99, 43, 0.04);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
  color: var(--ink);
}

.brand-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-en {
  color: var(--brand-logo-orange);
  font-family: "Carlito", "Calibri", "Trebuchet MS", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1;
}

.brand-tagline {
  color: var(--brand-tagline);
  font-family:
    "Source Han Sans CN", "SF Pro Text", "San Francisco Text", "PingFang SC",
    "Microsoft YaHei", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.09em;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background: radial-gradient(
    circle at 44% 42%,
    rgba(251, 155, 45, 0.94) 0%,
    rgba(255, 188, 47, 0.94) 76%
  );
  box-shadow:
    0 10px 18px rgba(251, 155, 45, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.brand-mark img {
  width: 33px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(126, 73, 18, 0.16));
}

.nav-links {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 10px 12px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(370px, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 78px);
  overflow: visible;
  width: min(100% - 40px, var(--max-width));
  min-height: clamp(640px, 80svh, 860px);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 52px) 0 clamp(42px, 7vw, 72px);
}

.hero-copy {
  display: grid;
  justify-items: center;
  min-width: 0;
  width: 100%;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 6.5vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}

#hero-title {
  display: inline-grid;
  justify-items: center;
  max-width: 100%;
  color: #2e2222;
  font-family:
    "Source Han Serif SC", "Source Han Serif CN", "Noto Serif CJK SC",
    "Songti SC", SimSun, serif;
  font-size: clamp(44px, 6.4vw, 84px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.06;
  overflow-wrap: normal;
  text-wrap: nowrap;
  white-space: nowrap;
  text-shadow: 0 8px 24px rgba(251, 155, 45, 0.18);
}

.hero-title-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  white-space: nowrap;
}

.hero-title-emphasis {
  display: inline-block;
  margin-left: 0.08em;
  color: #d86f08;
  font-style: normal;
  font-size: 1.12em;
  line-height: 0.9;
  transform: translateY(0.02em) skewX(-4deg);
  text-shadow:
    0 5px 14px rgba(196, 91, 8, 0.24),
    0 1px 0 rgba(255, 243, 220, 0.42);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title-emphasis {
    background: linear-gradient(180deg, #ffa21a 0%, #e0730a 48%, #9d4c05 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero-lede {
  max-width: min(100%, 18em);
  margin: 24px 0 0;
  color: rgba(45, 24, 16, 0.74);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.6;
  overflow-wrap: normal;
  text-wrap: nowrap;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 1.2vw, 14px);
  max-width: 100%;
  margin-top: 32px;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-height: clamp(52px, 4.6vw, 58px);
  min-width: clamp(168px, 16vw, 190px);
  gap: clamp(8px, 0.9vw, 12px);
  border: 1px solid transparent;
  border-radius: 20px;
  padding: clamp(12px, 1.2vw, 14px) clamp(14px, 1.5vw, 18px);
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: var(--surface);
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-deep));
  box-shadow: 0 18px 36px rgba(252, 169, 72, 0.28);
}

.button-secondary {
  color: #6d431c;
  background: rgba(255, 251, 247, 0.94);
  border-color: rgba(214, 144, 66, 0.2);
  box-shadow: 0 16px 36px rgba(186, 122, 45, 0.12);
}

.button-icon {
  display: grid;
  flex: 0 0 auto;
  min-width: 42px;
  height: 34px;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 12px;
}

.button-secondary .button-icon {
  color: #8b521e;
  background: rgba(255, 234, 204, 0.92);
}

.hero-visual {
  position: relative;
  display: grid;
  min-width: 0;
  place-items: center;
  padding: 18px 0;
}

.app-home-preview-frame {
  box-sizing: content-box;
  width: min(100%, 392px);
  aspect-ratio: 392 / 844;
  border: 8px solid rgba(255, 255, 255, 0.4);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow:
    40px 48px 80px rgba(252, 169, 72, 0.35),
    12px 20px 40px rgba(149, 84, 34, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.app-home-preview {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  background: transparent;
  transform: scale(1.0103, 1.0048);
  transform-origin: center;
}

.download-band,
.features,
.contact {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.download-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid rgba(61, 84, 122, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 245, 0.82)),
    var(--surface);
  box-shadow: var(--shadow);
}

.download-copy {
  align-self: center;
}

.download-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.download-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.qr-download-card {
  display: grid;
  gap: 18px;
  justify-items: center;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 46px rgba(61, 84, 122, 0.08);
}

.qr-download-card img {
  width: 176px;
  height: 176px;
  border: 1px solid rgba(61, 84, 122, 0.08);
  border-radius: 22px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 245, 0.92));
}

.qr-download-copy {
  display: grid;
  gap: 8px;
  text-align: center;
}

.qr-download-copy h3,
.qr-download-copy p {
  margin: 0;
}

.qr-download-kicker {
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.qr-download-copy h3 {
  font-size: 24px;
}

.qr-download-copy p:last-child {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.features {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-heading {
  display: grid;
  max-width: 820px;
  gap: 10px;
}

.section-heading p:not(.eyebrow) {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.feature-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(61, 84, 122, 0.1);
}

.feature-voice {
  background: linear-gradient(180deg, rgba(255, 107, 157, 0.18), rgba(255, 255, 255, 0.95));
}

.feature-health {
  background: linear-gradient(180deg, rgba(255, 240, 245, 0.9), rgba(255, 255, 255, 0.95));
}

.feature-location {
  background: linear-gradient(180deg, rgba(107, 191, 234, 0.22), rgba(255, 255, 255, 0.95));
}

.feature-social {
  background: linear-gradient(180deg, rgba(74, 222, 128, 0.16), rgba(255, 255, 255, 0.95));
}

.feature-kicker {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: var(--surface);
  font-weight: 900;
  background: var(--ink);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: var(--muted);
}

.contact-list a {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
  outline: none;
}

body.legal-page {
  margin: 0;
  background: #ffffff;
  color: #111111;
  font-family:
    "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
}

.legal-page * {
  box-sizing: border-box;
}

.legal-page a {
  color: #111111;
}

.legal-page-shell {
  width: min(100% - 32px, 860px);
  margin: 0 auto;
  padding: 40px 0 72px;
}

.legal-page-header {
  margin-bottom: 32px;
}

.legal-page-header a {
  display: inline-block;
  margin-bottom: 18px;
}

.legal-page h1,
.legal-page h2 {
  margin: 0 0 16px;
  line-height: 1.35;
}

.legal-page h1 {
  font-size: clamp(28px, 4vw, 40px);
}

.legal-page h2 {
  font-size: 20px;
}

.legal-page p,
.legal-page li {
  margin: 0 0 14px;
  font-size: 16px;
}

.legal-page ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.legal-page section + section {
  margin-top: 28px;
}

.legal-page-meta {
  color: #444444;
}

.legal-page-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #d9d9d9;
}

@media (max-width: 980px) {
  .hero,
  .download-band,
  .contact {
    grid-template-columns: 1fr;
  }

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

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

  .download-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .download-panel {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  html {
    scroll-padding-top: 86px;
  }

  .site-header,
  .hero,
  .download-band,
  .features,
  .contact,
  .site-footer {
    width: min(100% - 28px, var(--max-width));
  }

  .site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .brand-mark img {
    width: 29px;
    height: 28px;
  }

  .brand-en {
    font-size: 17px;
    letter-spacing: 0.16em;
  }

  .brand-tagline {
    font-size: 11px;
    letter-spacing: 0.07em;
  }

  .nav-links {
    width: auto;
    gap: 4px;
    font-size: 13px;
    justify-content: flex-end;
  }

  .nav-links a {
    padding: 8px;
  }

  .hero-actions {
    gap: clamp(6px, 2vw, 10px);
    margin-top: 28px;
  }

  .button {
    min-height: 46px;
    min-width: 0;
    border-radius: 16px;
    padding: 10px clamp(9px, 2.8vw, 12px);
    font-size: clamp(11px, 3.15vw, 13px);
    gap: clamp(5px, 1.8vw, 8px);
  }

  .button-icon {
    min-width: clamp(28px, 8.6vw, 34px);
    height: clamp(26px, 7.8vw, 30px);
    border-radius: 12px;
    font-size: clamp(10px, 2.8vw, 11px);
  }

  .hero-visual {
    min-height: auto;
  }

  #hero-title {
    font-size: clamp(34px, 10.6vw, 46px);
    letter-spacing: 0.025em;
    line-height: 1.08;
  }

  .hero-lede {
    max-width: 100%;
    font-size: clamp(18px, 5.8vw, 24px);
  }

  .app-home-preview-frame {
    width: min(100%, 364px);
  }

  .download-band {
    padding: 24px 18px;
  }

  .qr-download-card {
    padding: 18px;
  }

  .qr-download-card img {
    width: min(100%, 176px);
    height: auto;
  }

  .contact-list {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .legal-page-shell {
    width: min(100% - 28px, 860px);
    padding: 32px 0 56px;
  }
}

@media (max-width: 420px) {
  .app-home-preview-frame {
    width: min(100%, 332px);
  }
}
