:root {
  color-scheme: light;
  --canvas: #faf6f0;
  --surface-soft: #f2ece2;
  --surface: #ffffff;
  --ink: #3d322e;
  --ink-strong: #1c1a17;
  --muted: #7a6b63;
  --ash: #968e84;
  --hairline: rgba(61, 50, 46, 0.1);
  --hairline-strong: rgba(61, 50, 46, 0.18);
  --lover: #df725d;
  --lover-deep: #c45641;
  --lover-soft: #fdf0ec;
  --child: #5ea886;
  --child-deep: #468769;
  --child-soft: #ecf6f1;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.serif-display {
  font-family: "New York", "Iowan Old Style", Georgia, "Songti SC", "Noto Serif CJK SC", serif;
  letter-spacing: -0.02em;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 246, 240, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

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

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  box-shadow: 0 2px 8px rgba(61, 50, 46, 0.08);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-strong);
}

.brand-sub {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-link {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav-link:hover,
.nav-link.active {
  background: var(--surface-soft);
  color: var(--ink-strong);
}

.nav-link-cn {
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--ink);
}

/* Hero */
.hero {
  padding: 64px 0 48px;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
  gap: 44px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 12px 32px rgba(61, 50, 46, 0.05);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lover-deep);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: var(--lover);
}

.hero-title {
  margin: 16px 0 0;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 500;
  line-height: 1.16;
  color: var(--ink-strong);
}

.hero-subtitle {
  margin: 18px 0 0;
  font-size: 1.06rem;
  line-height: 1.72;
  color: var(--muted);
  max-width: 58ch;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  color: var(--ink);
}

.pill-lover {
  background: var(--lover-soft);
  border-color: rgba(223, 114, 93, 0.28);
  color: var(--lover-deep);
}

.pill-child {
  background: var(--child-soft);
  border-color: rgba(94, 168, 134, 0.28);
  color: var(--child-deep);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-size: 0.94rem;
  font-weight: 600;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink-strong);
  color: #fff;
  border: 1px solid var(--ink-strong);
}

.btn-primary:hover {
  background: #2f2824;
}

.btn-coral {
  background: var(--lover);
  color: #fff;
  border: 1px solid var(--lover);
}

.btn-coral:hover {
  background: var(--lover-deep);
}

.btn-secondary {
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
}

.btn-secondary:hover {
  background: var(--surface-soft);
}

.cta-note {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: var(--ash);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  text-align: center;
}

.hero-appicon {
  width: 196px;
  height: 196px;
  border-radius: 44px;
  box-shadow: 0 18px 36px rgba(61, 50, 46, 0.12);
  border: 1px solid var(--hairline);
}

.hero-caption {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 36px 0;
}

.section-head {
  max-width: 68ch;
  margin-bottom: 24px;
}

.section-title {
  margin: 10px 0 0;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 500;
  line-height: 1.24;
  color: var(--ink-strong);
}

.section-desc {
  margin: 10px 0 0;
  font-size: 0.98rem;
  color: var(--muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.space-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 6px 20px rgba(61, 50, 46, 0.04);
}

.space-card.lover {
  border-top: 4px solid var(--lover);
}

.space-card.child {
  border-top: 4px solid var(--child);
}

.space-card h3 {
  margin: 12px 0 0;
  font-size: 1.38rem;
  font-weight: 600;
  color: var(--ink-strong);
}

.space-card p.lead {
  margin: 10px 0 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.feature-list li {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  font-size: 0.92rem;
  line-height: 1.55;
}

.feature-list strong {
  color: var(--ink-strong);
  font-weight: 600;
}

.map-frame {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(61, 50, 46, 0.04);
}

.map-frame img {
  width: 100%;
  border-radius: var(--radius-md);
}

.trust-band {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 36px;
}

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

.trust-item {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--canvas);
  border: 1px solid var(--hairline);
}

.trust-item h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--ink-strong);
}

.trust-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Legal / Support Document Pages */
.doc-shell {
  max-width: 820px;
  margin: 36px auto 64px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: 0 10px 28px rgba(61, 50, 46, 0.04);
}

.doc-shell h1 {
  margin: 12px 0 8px;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--ink-strong);
}

.doc-meta {
  font-size: 0.85rem;
  color: var(--ash);
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}

.doc-shell h2 {
  margin: 28px 0 12px;
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--ink-strong);
}

.doc-shell p,
.doc-shell li {
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--ink);
}

.doc-shell ul {
  padding-left: 20px;
  margin: 10px 0 16px;
}

.doc-shell li {
  margin-bottom: 8px;
}

.callout {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--lover);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 18px 0;
  font-size: 0.92rem;
}

.callout.sage {
  border-left-color: var(--child);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 22px;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}

.data-table th {
  font-weight: 600;
  color: var(--ink-strong);
  background: var(--canvas);
}

.badge-ok {
  display: inline-block;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: var(--child-soft);
  color: var(--child-deep);
  font-size: 0.78rem;
  font-weight: 600;
}

.text-link {
  color: var(--lover-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer {
  margin-top: 56px;
  background: #241d1a;
  color: #f5f1ea;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr));
  gap: 32px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.footer-desc {
  margin: 10px 0 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #c2b8ae;
  max-width: 44ch;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #df725d;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  color: #d6cec5;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: #f5f1ea;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.social-chip:hover {
  background: rgba(223, 114, 93, 0.22);
  border-color: rgba(223, 114, 93, 0.6);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: #a99e94;
}

@media (max-width: 860px) {
  .hero-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 28px;
  }

  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .doc-shell {
    margin: 24px 16px 48px;
    padding: 28px 22px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }

  .hero {
    padding: 32px 0 24px;
  }

  .trust-band,
  .space-card {
    padding: 24px 20px;
  }
}
