:root {
  --bg: #f7f3e7;
  --bg-soft: #eef4e8;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --text: #312c25;
  --text-soft: #625b50;
  --line: rgba(93, 74, 34, 0.12);
  --gold: #f1b441;
  --gold-deep: #d8901d;
  --jade: #93b190;
  --jade-deep: #496a34;
  --lake: #8fb8c4;
  --shadow: 0 24px 60px rgba(93, 74, 34, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: min(1180px, calc(100vw - 48px));
  --sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  background:
    radial-gradient(circle at top right, rgba(241, 180, 65, 0.26), transparent 26%),
    radial-gradient(circle at bottom left, rgba(147, 177, 144, 0.34), transparent 30%),
    linear-gradient(180deg, #faf6eb 0%, #f2f5ea 100%);
}

body::before,
body::after {
  position: fixed;
  inset: auto;
  content: "";
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

body::before {
  top: -80px;
  right: -40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 180, 65, 0.34), transparent 68%);
}

body::after {
  bottom: -100px;
  left: -50px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 184, 196, 0.24), transparent 72%);
}

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

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

.site-shell {
  position: relative;
  z-index: 1;
  width: var(--content-width);
  margin: 0 auto;
  padding: 24px 0 32px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  background: rgba(255, 251, 241, 0.74);
  box-shadow: 0 16px 40px rgba(93, 74, 34, 0.08);
  isolation: isolate;
}

.site-header-simple {
  position: relative;
  top: 0;
}

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

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(88, 60, 8, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-copy span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

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

.site-nav a {
  color: var(--text-soft);
  font-size: 0.96rem;
  transition: color 180ms ease;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 24px rgba(93, 74, 34, 0.08);
}

.lang-button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.lang-button:hover,
.lang-button:focus-visible {
  color: var(--gold-deep);
  outline: none;
}

.lang-button.is-active {
  color: #fffdf7;
  background: linear-gradient(135deg, #f3bb4f, #d7911f);
  box-shadow: 0 10px 20px rgba(217, 145, 31, 0.2);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--gold-deep);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  color: #fffdf7;
  background: linear-gradient(135deg, #f3bb4f, #d7911f);
  box-shadow: 0 16px 30px rgba(217, 145, 31, 0.22);
}

.button-secondary {
  border-color: rgba(73, 106, 52, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--jade-deep);
}

.button-compact {
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 46px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-deep);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.mode-copy h2,
.panel h2,
.policy-hero h1,
.policy-section h2 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.15;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.3rem);
  letter-spacing: 0.05em;
}

.hero-lead,
.section-heading p,
.mode-copy p,
.panel p,
.policy-hero p,
.policy-section p {
  color: var(--text-soft);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.stat-card,
.feature-card,
.mode-item,
.info-panel,
.shot-card,
.panel,
.support-card,
.policy-hero,
.policy-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.stat-card {
  padding: 18px 16px;
}

.stat-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.stat-card span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 630px;
}

.hero-banner-card {
  overflow: hidden;
  border: 1px solid rgba(49, 44, 37, 0.08);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 24px 70px rgba(93, 74, 34, 0.18);
}

.hero-banner-card img {
  width: 100%;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  right: 22px;
  bottom: 54px;
  width: min(250px, 40%);
  padding: 10px;
  border: 1px solid rgba(49, 44, 37, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 26px 50px rgba(93, 74, 34, 0.18);
}

.hero-float-card img {
  border-radius: 22px;
}

.hero-meta-card {
  position: absolute;
  left: 18px;
  bottom: 20px;
  max-width: 62%;
  padding: 18px 20px;
  border: 1px solid rgba(49, 44, 37, 0.08);
  border-radius: 24px;
  background: rgba(255, 253, 247, 0.86);
  box-shadow: 0 16px 32px rgba(93, 74, 34, 0.12);
}

.hero-meta-card p {
  margin: 0;
  color: var(--text-soft);
}

.hero-meta-card p + p {
  margin-top: 6px;
}

.section {
  margin-top: 64px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2,
.mode-copy h2,
.panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

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

.feature-card {
  padding: 24px;
}

.feature-card:nth-child(4) {
  grid-column: span 3;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f3ba4b, #db951f);
  font-size: 0.8rem;
  font-weight: 700;
}

.feature-chip-green {
  background: linear-gradient(135deg, #90b48d, #5f8558);
}

.feature-chip-blue {
  background: linear-gradient(135deg, #8eb9c6, #598898);
}

.feature-card h3,
.info-panel h3,
.support-card h3,
.mode-item h3 {
  margin: 16px 0 10px;
  font-size: 1.25rem;
}

.feature-card p,
.mode-item p,
.info-panel li,
.support-card li,
.policy-list li {
  color: var(--text-soft);
}

.mode-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 20px;
  align-items: start;
}

.mode-list,
.stack-actions {
  display: grid;
  gap: 14px;
}

.mode-item,
.info-panel {
  padding: 22px;
}

.mode-item {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(251, 245, 228, 0.92)),
    var(--panel);
}

.mode-panel {
  display: grid;
  gap: 16px;
}

.info-panel {
  background: rgba(255, 255, 255, 0.82);
}

.info-panel-warm {
  background:
    linear-gradient(180deg, rgba(255, 246, 228, 0.96), rgba(255, 255, 255, 0.82));
}

.plain-list,
.policy-list {
  margin: 0;
  padding-left: 18px;
}

.plain-list li + li,
.policy-list li + li {
  margin-top: 10px;
}

.screenshot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
}

.shot-card {
  display: flex;
  flex: 0 1 calc((100% - 36px) / 3);
  flex-direction: column;
  max-width: calc((100% - 36px) / 3);
  margin: 0;
  overflow: hidden;
}

.shot-card img {
  width: 100%;
  aspect-ratio: 1176 / 2299;
  object-fit: cover;
  background: #fff;
}

.shot-card figcaption {
  display: grid;
  flex: 1;
  gap: 4px;
  align-content: start;
  min-height: 108px;
  padding: 18px;
}

.shot-card figcaption strong {
  font-size: 1.08rem;
}

.shot-card figcaption span {
  color: var(--text-soft);
}

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

.panel {
  padding: 28px;
}

.panel-learning {
  background:
    linear-gradient(135deg, rgba(255, 246, 228, 0.96), rgba(255, 255, 255, 0.86));
}

.panel-privacy {
  background:
    linear-gradient(135deg, rgba(239, 246, 238, 0.94), rgba(255, 255, 255, 0.84));
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--jade-deep);
  font-weight: 700;
}

.support-card {
  padding: 24px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 68px;
  padding: 20px 0 10px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.privacy-body .site-shell {
  padding-top: 32px;
}

.policy-main {
  display: grid;
  gap: 18px;
}

.policy-hero {
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255, 246, 228, 0.96), rgba(255, 255, 255, 0.88));
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 18px;
}

.policy-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(73, 106, 52, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--jade-deep);
  font-size: 0.92rem;
  font-weight: 700;
}

.policy-section {
  padding: 30px;
  background: var(--panel-strong);
}

.policy-section h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin-bottom: 12px;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .hero-float-card,
  .hero-meta-card {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    max-width: none;
    margin-top: 18px;
  }

  .feature-grid,
  .support-grid,
  .dual-panel,
  .mode-layout {
    grid-template-columns: 1fr;
  }

  .feature-card:nth-child(4) {
    grid-column: span 1;
  }

  .shot-card {
    flex-basis: calc((100% - 18px) / 2);
    max-width: calc((100% - 18px) / 2);
  }
}

@media (max-width: 920px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 28px;
  }

  .header-actions,
  .site-nav,
  .footer-links {
    justify-content: flex-start;
  }

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

@media (max-width: 720px) {
  :root {
    --content-width: min(100vw - 28px, 100%);
  }

  .site-shell {
    padding-top: 14px;
  }

  .site-header {
    top: 10px;
    padding: 16px;
  }

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

  .button,
  .button-compact {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 12vw, 3.4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    grid-column: span 12;
  }

  .shot-card {
    flex-basis: 100%;
    max-width: 100%;
  }

  .hero-meta-card,
  .hero-float-card,
  .policy-hero,
  .policy-section,
  .feature-card,
  .mode-item,
  .info-panel,
  .panel,
  .support-card {
    padding: 22px;
  }
}

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

  .button,
  .hero-copy,
  .hero-visual,
  .feature-card,
  .mode-item,
  .info-panel,
  .shot-card,
  .panel,
  .support-card,
  .policy-hero,
  .policy-section {
    transition: none;
  }
}
