/* Moss, weathered stone and warm paper throughout the garden. */
:root {
  --bg: #f2f1e7;
  --surface: #fcfbf4;
  --surface-2: #e5e8d8;
  --text: #273528;
  --text-muted: #626f59;
  --border: #d4dcc6;
  --border-strong: #aebf98;
  --primary: #476739;
  --primary-strong: #304d28;
  --primary-soft: #e4ecd8;
  --on-primary: #fcfbf4;
  --accent-reading: #476739;
  --accent-reading-soft: #e4ecd8;
}
body {
  background-image: radial-gradient(ellipse at 0 0, #8b9e5e14, transparent 50%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.76' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23717f57' opacity='.045' filter='url(%23n)' d='M0 0h160v160H0z'/%3E%3C/svg%3E");
}
.site-header { border-top: 3px solid var(--primary); background: color-mix(in srgb,var(--bg) 92%,var(--primary-soft)); }
.brand { color: var(--primary-strong); }
.brand-mark { width: 30px; height: 30px; }
.announce { background: var(--primary-soft); }
.home-hero { position: relative; isolation: isolate; padding-block: 72px 60px; min-height: 390px; }
.home-hero::after { content: ""; position: absolute; right: -80px; top: 0; width: 460px; height: 100%; background: url('/static/moss-garden.svg') center / contain no-repeat; z-index: -1; pointer-events: none; }
.home-hero h1 { max-width: 62%; font-size: clamp(2.4rem,4vw,3.4rem); }
html[lang="ja"] .home-hero h1 { font-size: clamp(2.2rem,3.7vw,3.2rem); }
.home-hero > p:not(.eyebrow) { max-width: 440px; }
.home-hero .eyebrow { letter-spacing: .13em; font-size: .72rem; }
.home-hero .hero-actions { max-width: 470px; }
.hero-actions .follow-btn, .follow-btn { background: var(--primary-strong); border-radius: 5px 14px 5px 14px; }
.learning-paths { border-color: var(--border-strong); background: linear-gradient(90deg,transparent,color-mix(in srgb,var(--primary-soft) 55%,transparent),transparent); }
.learning-paths span { letter-spacing: .06em; }
.section-head h2::before { content: ""; display: inline-block; width: 13px; height: 8px; margin-right: 12px; vertical-align: middle; border-radius: 9px 3px 8px 3px; background: var(--primary); box-shadow: 6px -4px 0 -1px var(--border-strong); }
.card { border-radius: 5px 20px 5px 20px; border-top: 2px solid var(--border-strong); }
.card:hover { border-top-color: var(--primary); }
.card .card-icon { background: var(--primary-soft); border-radius: 55% 40% 52% 38%; }
.post-card, .note-box { border-radius: 4px 16px 4px 16px; }
.fc-cell-face { border-radius: 5px 14px 5px 14px; }
.chip { border-radius: 5px 12px 5px 12px; }
.site-footer { position: relative; border-top: 1px solid var(--border-strong); background: linear-gradient(180deg,#dce5cd66,transparent); padding-bottom: 150px; }
.footer-brand { color: var(--primary-strong); font-family: var(--font-serif); font-size: 1.18rem; }
.garden-bg { height: 300px; opacity: .55; }
.garden-bg svg { opacity: .8; }
.reading-library-hero { position: relative; overflow: hidden; }
.reading-library-hero::after { content: ""; position: absolute; width: 270px; height: 250px; right: -40px; bottom: -100px; background: url('/static/moss-garden.svg') center / contain no-repeat; pointer-events: none; opacity: .25; }
.reading-library-hero > * { position: relative; z-index: 1; }
@media (min-width: 761px) and (max-width: 1100px) {
  .home-hero::after { right: -20px; width: 380px; opacity: .85; }
  .home-hero > p:not(.eyebrow) { max-width: 390px; }
}
@media (max-width: 760px) {
  .home-hero { padding: 38px 0 205px; min-height: 0; }
  .home-hero::after { width: 290px; height: 255px; top: auto; bottom: -30px; right: 0; }
  .home-hero h1, html[lang="ja"] .home-hero h1 { max-width: 100%; font-size: clamp(2.05rem,7.5vw,3.1rem); }
  .home-hero .hero-actions { position: relative; z-index: 1; }
  .site-footer { padding-bottom: 110px; }
  .garden-bg { height: 230px; opacity: .65; }
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151e16; --surface: #1e291e; --surface-2: #293627;
    --text: #e5e9da; --text-muted: #adbca0; --border: #3a4933; --border-strong: #61744d;
    --primary: #aec68a; --primary-strong: #c4d7a5; --primary-soft: #2c3c25; --on-primary: #172116;
    --accent-reading: #aec68a; --accent-reading-soft: #2c3c25;
  }
  .home-hero::after { filter: brightness(.8) saturate(.8); }
  .site-footer { background: linear-gradient(180deg,#2c3c2555,transparent); }
}
@media (forced-colors: active) {
  .home-hero::after, .reading-library-hero::after, .garden-bg { display: none; }
}
