:root {
  color-scheme: light;
  --bg: #fffaf5;
  --paper: rgba(255, 255, 255, 0.82);
  --paper-solid: #ffffff;
  --ink: #352820;
  --muted: #765f52;
  --soft: #f7e6d9;
  --soft-2: #f1d5c2;
  --line: rgba(115, 82, 60, 0.18);
  --accent: #a8613f;
  --accent-2: #c98663;
  --deep: #71412d;
  --green: #63745b;
  --shadow: 0 24px 70px rgba(83, 51, 32, 0.14);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 4%, rgba(235, 188, 161, 0.42), transparent 32rem),
    radial-gradient(circle at 96% 12%, rgba(186, 213, 191, 0.28), transparent 28rem),
    linear-gradient(180deg, #fffaf5 0%, #f9efe6 52%, #fffaf5 100%);
  color: var(--ink);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(130, 92, 68, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(130, 92, 68, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), rgba(0,0,0,0.05));
}

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

.skip-link:focus { left: 1rem; }

.page-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 52px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.90), rgba(255,247,239,.76)),
    radial-gradient(circle at 25% 18%, rgba(220, 146, 104, .20), transparent 22rem);
  box-shadow: var(--shadow);
  padding: clamp(38px, 7vw, 86px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.hero__glow--one {
  width: 250px;
  height: 250px;
  right: 8%;
  top: 11%;
  background: rgba(217, 154, 113, 0.22);
}

.hero__glow--two {
  width: 180px;
  height: 180px;
  right: 23%;
  bottom: 10%;
  background: rgba(117, 144, 109, 0.18);
}

.kicker, .eyebrow {
  margin: 0 0 16px;
  color: var(--deep);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 0.75rem;
  font-weight: 760;
}

h1, h2, h3, p { position: relative; }

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: .94;
  letter-spacing: -0.07em;
}

h1 span {
  color: var(--accent);
  letter-spacing: -0.045em;
}

.hero__subtitle {
  max-width: 780px;
  margin: 24px 0 0;
  font-size: clamp(1.12rem, 2.2vw, 1.55rem);
  line-height: 1.75;
  color: #59463b;
}

.hero__subtitle--en {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--muted);
  margin-top: 12px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__actions a, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .72rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(139, 91, 60, .22);
  color: var(--deep);
  text-decoration: none;
  font-weight: 760;
  box-shadow: 0 10px 24px rgba(100, 64, 42, .08);
}

.hero__actions a:hover, .button:hover {
  transform: translateY(-1px);
  border-color: rgba(139, 91, 60, .36);
  background: #fff;
}

.purpose-card, .update-card, .article-card {
  border: 1px solid var(--line);
  background: var(--paper);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(83, 51, 32, 0.09);
}

.purpose-card {
  margin-top: 24px;
  padding: clamp(26px, 4vw, 42px);
}

.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 44px);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

h3 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2vw, 1.62rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

p {
  margin: 0 0 14px;
  font-size: 1.02rem;
  line-height: 1.85;
}

.en {
  color: var(--muted);
}

.section-heading {
  margin: 48px 0 18px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.article-card {
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  min-height: 430px;
}

.article-card--soft {
  background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(250, 235, 222, .78));
}

.article-card--legal {
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(238, 244, 235, .76));
}

.article-card--ideas {
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(236, 241, 248, .78));
}

.article-card__topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.tag, .visibility {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .35rem .68rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 760;
}

.tag {
  background: rgba(168, 97, 63, .12);
  color: var(--deep);
}

.visibility {
  background: rgba(118, 95, 82, .08);
  color: #766456;
}

.visibility--public {
  background: rgba(99, 116, 91, .13);
  color: #53614e;
}

.card-footer {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  background: var(--deep);
  color: #fff;
  border-color: transparent;
}

.button:hover {
  background: #8b5137;
  color: #fff;
}

.date {
  color: var(--muted);
  font-size: .86rem;
}

.update-card {
  margin-top: 28px;
  padding: clamp(26px, 4vw, 42px);
  background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,245,236,.78));
}

.site-footer {
  padding: 34px 0 10px;
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin-bottom: 5px;
  font-size: .95rem;
}

.microcopy {
  font-size: .82rem !important;
  color: rgba(118, 95, 82, .82);
}

.site-footer a { color: var(--deep); }

@media (max-width: 760px) {
  .page-shell { width: min(100% - 24px, 1120px); padding-top: 18px; }
  .hero { min-height: 480px; border-radius: 28px; }
  .purpose-grid, .article-grid { grid-template-columns: 1fr; }
  .article-card { min-height: auto; }
  .hero__actions a { width: 100%; }
}
