:root {
  color-scheme: light;
  --paper: #f8f3e9;
  --paper-deep: #efe5d2;
  --surface: #fffdf8;
  --ink: #211a17;
  --muted: #766d65;
  --red: #a80d1d;
  --red-dark: #760814;
  --red-soft: #f3e3df;
  --gold: #b8924f;
  --line: rgba(118, 79, 48, 0.16);
  --shadow: 0 18px 50px rgba(73, 42, 23, 0.09);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(168, 13, 29, 0.045), transparent 30rem),
    linear-gradient(180deg, #fbf7ef 0%, var(--paper) 55%, #f5eddf 100%);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--red-dark);
}
.skip-link:focus { transform: translateY(0); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(118, 79, 48, 0.11);
  background: rgba(248, 243, 233, 0.9);
  backdrop-filter: blur(18px);
}

.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 750; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 4px 14px rgba(105, 10, 20, 0.16); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 0.94rem; }
.nav-links a:hover, .nav-links a.active { color: var(--red-dark); background: rgba(168, 13, 29, 0.075); }

.hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) minmax(260px, 380px);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  padding-block: 80px;
}
.hero-mark { align-self: stretch; width: 6px; overflow: hidden; border-radius: 20px; color: transparent; background: var(--red); }
.eyebrow { margin: 0 0 10px; color: var(--red); font-size: 0.86rem; font-weight: 750; letter-spacing: 0.18em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif; line-height: 1.2; }
h1 { margin: 0; color: var(--red-dark); font-size: clamp(2.5rem, 6vw, 4.9rem); letter-spacing: 0.02em; }
.lead { max-width: 650px; margin: 24px 0 0; color: #514841; font-size: clamp(1.05rem, 2vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--red); box-shadow: 0 10px 24px rgba(168, 13, 29, 0.19); }
.button.primary:hover { color: #fff; background: var(--red-dark); }
.button.secondary { color: var(--red-dark); border-color: rgba(168, 13, 29, 0.22); background: rgba(255, 253, 248, 0.68); }
.app-icon { display: block; width: min(100%, 300px); aspect-ratio: 1; margin: auto; border-radius: 28%; box-shadow: 0 28px 65px rgba(86, 24, 21, 0.22); }

.feature-strip { border-block: 1px solid var(--line); background: rgba(255, 253, 248, 0.72); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-grid div { display: grid; gap: 1px; justify-items: center; padding: 25px 14px; text-align: center; }
.feature-grid div + div { border-left: 1px solid var(--line); }
.feature-grid strong { color: var(--red-dark); font-family: "Songti SC", "STSong", serif; font-size: 1.35rem; }
.feature-grid span { color: var(--muted); font-size: 0.86rem; }

.section { padding-block: 88px; }
.section + .section { padding-top: 18px; }
.section-heading { max-width: 680px; margin-bottom: 34px; }
.section-heading h2, .contact-card h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { position: relative; min-height: 210px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 253, 248, 0.9); box-shadow: var(--shadow); }
.card h3 { margin: 18px 0 10px; font-size: 1.35rem; }
.card p { margin: 0; color: var(--muted); }
.card-number { color: var(--gold); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; }
.card::after { content: ""; position: absolute; right: -45px; bottom: -55px; width: 130px; height: 130px; border: 1px solid rgba(168, 13, 29, 0.09); border-radius: 50%; }

.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 23px 52px 23px 2px; cursor: pointer; list-style: none; font-weight: 720; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 10px; top: 17px; color: var(--red); font-size: 1.7rem; font-weight: 300; }
details[open] summary::after { content: "−"; }
details p { max-width: 830px; margin: -4px 0 24px; color: var(--muted); }

.contact-section { padding: 78px 0; background: var(--red-dark); color: #fff8ed; }
.contact-card { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.contact-card .eyebrow { color: #e7c58a; }
.contact-card h2 { color: #fff; }
.contact-card p:not(.eyebrow) { margin-bottom: 0; color: rgba(255, 248, 237, 0.74); }
.contact-actions { display: grid; gap: 14px; }
.email-link { display: grid; gap: 3px; padding: 18px 20px; border: 1px solid rgba(255,255,255,0.18); border-radius: 16px; color: #fff; background: rgba(255,255,255,0.08); text-decoration: none; }
.email-link:hover { color: #fff; background: rgba(255,255,255,0.12); }
.email-link span { color: rgba(255,255,255,0.66); font-size: 0.82rem; }
.email-link strong { overflow-wrap: anywhere; }
.text-link { width: fit-content; color: #ecd09c; }
.text-link:hover { color: #fff; }

.notice { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding-block: 42px; }
.notice strong { color: var(--red-dark); }
.notice p { margin: 0; color: var(--muted); }

.footer { border-top: 1px solid var(--line); background: rgba(239, 229, 210, 0.48); }
.footer-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 0.9rem; }
.footer-inner div { display: flex; gap: 18px; }

.legal-main { padding-block: 68px 100px; }
.legal-header { max-width: 780px; margin: 0 auto 38px; }
.legal-header h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.legal-header > p:last-child { color: var(--muted); }
.legal-document { max-width: 780px; margin: auto; padding: clamp(26px, 5vw, 58px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 253, 248, 0.92); box-shadow: var(--shadow); }
.legal-document section + section { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.legal-document h2 { margin: 0 0 14px; color: var(--red-dark); font-size: 1.35rem; }
.legal-document p { color: #504740; }
.legal-document ul { padding-left: 1.35rem; color: #504740; }
.legal-document li + li { margin-top: 6px; }
.inline-email { font-weight: 750; overflow-wrap: anywhere; }
.legal-back { max-width: 780px; margin: 26px auto 0; }

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1120px); }
  .site-header { position: static; }
  .nav { min-height: 66px; }
  .brand span { display: none; }
  .nav-links a { padding: 8px 9px; font-size: 0.9rem; }
  .hero { min-height: auto; grid-template-columns: 5px 1fr; gap: 18px; padding-block: 52px 58px; }
  .hero-icon-wrap { grid-column: 2; grid-row: 1; justify-self: end; }
  .app-icon { width: 92px; border-radius: 24%; }
  .hero-copy { grid-column: 2; }
  h1 { font-size: clamp(2.35rem, 13vw, 3.45rem); }
  .lead { margin-top: 18px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .feature-grid div:nth-child(4) { border-top: 1px solid var(--line); }
  .section { padding-block: 62px; }
  .section + .section { padding-top: 8px; }
  .card-grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .contact-card { grid-template-columns: 1fr; gap: 30px; }
  .notice { grid-template-columns: 1fr; gap: 6px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 24px; }
  .footer-inner p { margin: 0; }
  .legal-main { padding-block: 48px 70px; }
}

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