:root {
  --bg: #fbf7ef;
  --bg-soft: #fffdf8;
  --ink: #273033;
  --muted: #637072;
  --line: rgba(39, 48, 51, 0.12);
  --card: rgba(255, 255, 255, 0.78);
  --card-strong: rgba(255, 255, 255, 0.92);
  --amber: #d69f54;
  --rose: #c9786c;
  --sage: #78957f;
  --teal: #4f8d8c;
  --shadow: 0 22px 70px rgba(90, 62, 36, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-serif: ui-serif, Georgia, "Times New Roman", "Noto Serif CJK SC", "Songti SC", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(214, 159, 84, 0.28), transparent 32rem),
    radial-gradient(circle at 92% 12%, rgba(201, 120, 108, 0.18), transparent 28rem),
    linear-gradient(180deg, #fbf7ef 0%, #f6efe2 42%, #faf7ef 100%);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.72;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(39, 48, 51, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 48, 51, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.65), rgba(0,0,0,0.05));
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.skip-link:focus { left: 12px; z-index: 10; }

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 64px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 86px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.86), rgba(255,255,255,0.50)),
    radial-gradient(circle at 14% 22%, rgba(120,149,127,0.18), transparent 24rem),
    radial-gradient(circle at 82% 58%, rgba(214,159,84,0.24), transparent 24rem);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.55;
  z-index: -1;
}

.hero__glow--one {
  right: -120px;
  top: -120px;
  background: rgba(201, 120, 108, 0.24);
}

.hero__glow--two {
  left: -150px;
  bottom: -170px;
  background: rgba(79, 141, 140, 0.24);
}

.kicker, .eyebrow {
  margin: 0 0 0.65rem;
  color: #8f6945;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 1.15rem;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2.65rem, 8vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h1 span {
  color: transparent;
  background: linear-gradient(90deg, #b46b54, #a17840, #4f8d8c);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__subtitle {
  max-width: 760px;
  margin-bottom: 0.9rem;
  color: #3f4a4c;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
}

.hero__subtitle--en {
  color: var(--muted);
  font-size: clamp(0.98rem, 1.7vw, 1.08rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(39, 48, 51, 0.13);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255,255,255,0.62);
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hero__actions a:hover,
.hero__actions a:focus-visible {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 12px 32px rgba(90, 62, 36, 0.12);
}

.notice, .statement-card, .section-block, .closing-card, .references {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: 0 18px 44px rgba(90, 62, 36, 0.08);
  backdrop-filter: blur(18px);
}

.notice {
  padding: clamp(22px, 4vw, 32px);
  border-left: 8px solid rgba(120,149,127,0.65);
}

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

.statement-card,
.section-block,
.closing-card,
.references {
  padding: clamp(28px, 5vw, 48px);
}

.statement-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,250,240,0.78)),
    radial-gradient(circle at 95% 0%, rgba(214,159,84,0.22), transparent 24rem);
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 0.7rem;
}

.en {
  color: var(--muted);
  font-size: 0.96rem;
}

.center-text { text-align: center; }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 1rem;
}

blockquote {
  margin: 0;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

blockquote p { margin-bottom: 0; }

.section-heading {
  display: grid;
  grid-template-columns: 0.56fr 1.44fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.4rem;
}

.section-heading h2 { margin-bottom: 0; }

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

.lens-card,
.checklist article,
.principle-grid article {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card-strong);
}

.lens-card::after,
.principle-grid article::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -52px;
  top: -52px;
  border-radius: 50%;
  background: rgba(214,159,84,0.14);
}

.lens-card__icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(120,149,127,0.24), rgba(214,159,84,0.22));
  color: #6d593c;
  font-weight: 900;
}

ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

li { margin-bottom: 0.45rem; }

.checklist {
  display: grid;
  gap: 0.9rem;
}

.checklist article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1rem;
  align-items: start;
  background: linear-gradient(90deg, rgba(255,255,255,0.94), rgba(255,255,255,0.68));
}

.checklist span {
  grid-row: span 3;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(201,120,108,0.16);
  color: #9c5b50;
  font-weight: 900;
}

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

.flag-grid,
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.flag-grid div {
  min-height: 128px;
  padding: 20px;
  border: 1px solid rgba(201, 120, 108, 0.22);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255,245,239,0.78));
  font-weight: 700;
}

.muted { margin-top: 1.2rem; }

.principles {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.82), rgba(248,252,246,0.74)),
    radial-gradient(circle at 10% 100%, rgba(120,149,127,0.20), transparent 24rem);
}

.principle-grid article {
  background: rgba(255,255,255,0.86);
}

.closing-card {
  text-align: center;
  background:
    linear-gradient(135deg, rgba(39,48,51,0.92), rgba(66,83,82,0.92)),
    radial-gradient(circle at 20% 20%, rgba(214,159,84,0.45), transparent 28rem);
  color: #fffaf0;
}

.closing-card h2 { color: #fff; }
.closing-card .eyebrow { color: #e7c58f; }
.closing-card p { max-width: 850px; margin-left: auto; margin-right: auto; }
.closing-card .en { color: rgba(255,250,240,0.78); }

.references {
  background: rgba(255,255,255,0.7);
}

.references h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
.references a {
  color: #356d6c;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.reference-note {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.knowledgebase-article-footer {
  margin: 1.4rem 0 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid var(--line);
  color: rgba(96,80,67,0.58);
  font-size: 0.76rem;
  line-height: 1.5;
  text-align: center;
}

.knowledgebase-article-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .page-shell { width: min(100% - 22px, 1120px); padding-top: 18px; }
  .hero { padding: 36px 24px; }
  .quote-grid,
  .lens-grid,
  .flag-grid,
  .principle-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }
  .section-heading { gap: 0; }
  .checklist article { grid-template-columns: 1fr; }
  .checklist span { grid-row: auto; margin-bottom: 0.8rem; }
  .flag-grid div { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
