:root {
  --ink: #18221d;
  --muted: #5d6a62;
  --forest: #12372a;
  --forest-light: #286149;
  --sun: #f3b54f;
  --sun-soft: #ffe8b7;
  --paper: #f7f0e2;
  --white: #fffdf8;
  --line: rgba(24, 34, 29, 0.14);
  --shadow: 0 22px 70px rgba(54, 61, 48, 0.15);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(243, 181, 79, 0.28), transparent 23rem),
    linear-gradient(135deg, rgba(18, 55, 42, 0.045) 25%, transparent 25%) 0 0 / 28px 28px,
    var(--paper);
  font-family: "Avenir Next", "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.75;
}

a { color: var(--forest); }
a:hover { color: var(--forest-light); }
.shell { width: min(calc(100% - 28px), 980px); margin: 0 auto; }
.site-header { padding: 18px 0 8px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand { color: var(--forest); font-weight: 900; letter-spacing: .04em; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 800; }
.nav-links a { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: rgba(255,253,248,.7); }
.nav-links a:last-child { color: var(--ink); background: var(--sun); border-color: transparent; }
.breadcrumbs { padding: 12px 0 0; color: var(--muted); font-size: .8rem; }
.breadcrumbs a { font-weight: 800; text-decoration: none; }

.hero, .article { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.hero {
  position: relative;
  margin: 12px 0 20px;
  padding: clamp(26px, 6vw, 62px);
  color: var(--white);
  background: var(--forest);
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 300px; height: 300px; right: -120px; top: -160px; border: 58px solid rgba(243,181,79,.18); }
.hero::after { width: 110px; height: 110px; right: 21%; bottom: -72px; background: rgba(255,255,255,.07); }
.eyebrow { display: inline-flex; position: relative; z-index: 1; padding: 7px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: var(--sun-soft); background: rgba(255,255,255,.08); font-size: .78rem; font-weight: 900; }
h1, h2, h3 { text-wrap: balance; }
h1 { position: relative; z-index: 1; max-width: 790px; margin: 16px 0 12px; font-size: clamp(2.2rem, 7vw, 4.8rem); line-height: 1.08; letter-spacing: -.05em; }
.hero .lede { position: relative; z-index: 1; max-width: 680px; margin: 0; color: #dce9e2; font-size: clamp(1rem, 2.5vw, 1.18rem); }
.hero-meta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; color: #c7d8cf; font-size: .8rem; }
.hero-meta span { padding: 5px 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; }
.hero-cta, .cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 18px; border-radius: 14px; color: var(--ink); background: var(--sun); font-weight: 900; text-decoration: none; box-shadow: 0 12px 26px rgba(0,0,0,.18); }
.hero-cta { position: relative; z-index: 1; margin-top: 24px; }
.hero-cta:hover, .cta:hover { color: var(--ink); background: #ffd17b; }

.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; margin-bottom: 18px; }
.answer, .mini-card, .article-body, .cta-panel { background: rgba(255,253,248,.9); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.answer { padding: 22px 24px; border-left: 6px solid var(--sun); }
.answer strong { display: block; margin-bottom: 5px; color: var(--forest); font-size: 1.05rem; }
.answer p { margin: 0; }
.mini-card { padding: 22px 24px; }
.mini-card h2 { margin: 0 0 8px; color: var(--forest); font-size: 1rem; }
.mini-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 28px 0 12px; }
.section-heading h2 { margin: 0; color: var(--forest); font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.25; }
.section-heading p { max-width: 430px; margin: 0; color: var(--muted); font-size: .86rem; }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.article-card { position: relative; display: flex; min-height: 220px; flex-direction: column; justify-content: space-between; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,253,248,.88); box-shadow: 0 12px 30px rgba(44,52,42,.07); }
.article-card::after { content: ""; position: absolute; width: 66px; height: 66px; right: 16px; top: 16px; border: 11px solid rgba(243,181,79,.2); border-radius: 50%; }
.article-card .tag { position: relative; z-index: 1; align-self: flex-start; padding: 5px 9px; color: var(--forest); border-radius: 999px; background: var(--sun-soft); font-size: .72rem; font-weight: 900; }
.article-card h3 { position: relative; z-index: 1; margin: 16px 0 8px; max-width: 82%; color: var(--forest); font-size: 1.22rem; line-height: 1.35; }
.article-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: .9rem; }
.article-card .read { position: relative; z-index: 1; display: inline-flex; margin-top: 18px; font-weight: 900; text-decoration: none; }
.article-card.featured { grid-column: span 2; min-height: 250px; background: linear-gradient(135deg, rgba(18,55,42,.98), rgba(31,91,67,.93)); }
.article-card.featured h3 { color: var(--white); font-size: clamp(1.45rem, 4vw, 2.15rem); }
.article-card.featured p { color: #dce9e2; max-width: 680px; }
.article-card.featured .read { color: var(--sun-soft); }
.article-card.featured .tag { color: var(--ink); }

.article { margin: 12px 0 24px; background: rgba(255,253,248,.72); }
.article-header { padding: clamp(26px, 6vw, 58px); background: linear-gradient(135deg, rgba(18,55,42,.98), rgba(31,91,67,.93)); color: var(--white); }
.article-header h1 { max-width: 800px; }
.article-header .lede { max-width: 700px; }
.article-body { margin: -1px 0 0; padding: clamp(24px, 6vw, 54px); border: 0; border-radius: 0; background: var(--white); }
.article-body > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.article-body h2 { margin-top: 34px; color: var(--forest); font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.3; }
.article-body h3 { margin-top: 24px; color: var(--forest); font-size: 1.12rem; }
.article-body p, .article-body li { font-size: 1rem; }
.article-body ul, .article-body ol { padding-left: 1.25rem; }
.phrase-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin: 22px auto; }
.phrase-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fffaf0; }
.phrase-card strong { display: block; color: var(--forest); font-size: 1.18rem; line-height: 1.4; }
.phrase-card span { display: block; margin-top: 7px; color: var(--muted); font-size: .92rem; }
.practice { margin: 26px auto; padding: 20px 22px; border-left: 5px solid var(--sun); border-radius: 0 var(--radius-md) var(--radius-md) 0; background: #fff4d9; }
.practice strong { color: var(--forest); }
.faq { margin: 24px auto; }
.faq-item { padding: 16px 0; border-top: 1px solid var(--line); }
.faq-item:first-child { border-top: 0; }
.faq-item h3 { margin: 0 0 6px; color: var(--forest); }
.faq-item p { margin: 0; color: var(--muted); }
.source-note { margin: 24px auto 0; padding: 15px 17px; border-radius: var(--radius-md); color: var(--muted); background: #f3efe5; font-size: .86rem; }
.source-note strong { color: var(--ink); }
.cta-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; margin-top: 30px; padding: 22px 24px; background: var(--forest); color: var(--white); }
.cta-panel h2 { margin: 0 0 5px; color: var(--white); font-size: 1.25rem; }
.cta-panel p { margin: 0; color: #dce9e2; font-size: .9rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.cta-panel .cta { white-space: nowrap; }
.cta-panel .cta-secondary { color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.4); box-shadow: none; }
.cta-panel .cta-secondary:hover { color: var(--white); background: rgba(255,255,255,.12); }
.related { margin: 26px auto 0; padding-top: 24px; border-top: 1px solid var(--line); }
.related h2 { margin-top: 0; }
.related ul { columns: 2; }
.site-footer { display: flex; justify-content: space-between; gap: 12px; padding: 18px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.site-footer a { font-weight: 800; }

@media (max-width: 680px) {
  .nav-links a:not(:last-child) { display: none; }
  .intro-grid, .article-grid, .phrase-grid { grid-template-columns: 1fr; }
  .article-card.featured { grid-column: span 1; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 6px; }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-actions { justify-content: stretch; }
  .cta-panel .cta { width: 100%; }
  .related ul { columns: 1; }
  .site-footer { display: block; }
  .site-footer span { display: block; margin-top: 6px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero, .article { animation: rise .45s ease-out both; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } }
}
