/* "meadow" theme — loaded after style.css; layouts in templates/themes/meadow/. */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolagegrotesque.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/spacegrotesk.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root { --bg:#f6faee; --surface:#ffffff; --text:#1a2e05; --muted:#4d5b3a; --line:#e0ebcd; --accent:#4d7c0f; --accent-2:#ea580c;
  --hub:#4d7c0f; --radius:26px; --lime:#bef264; --forest:#1a2e05; --pros:#3f6212; --cons:#c2410c; color-scheme: light; }
body { font-family: "Space Grotesk", system-ui, sans-serif; background: var(--bg); color: var(--text); }
h1, h2, h3, .m-card-title, .card-title, .topic-name { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; letter-spacing: -.02em; }
.m-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.m-header-inner { display: flex; align-items: center; gap: 18px; padding: 12px 16px; flex-wrap: wrap; }
.m-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); text-decoration: none; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; font-size: 21px; }
.m-brand img { border-radius: 10px; } .m-brand.light { color: #ecfccb; }
.m-nav { display: flex; flex-wrap: wrap; gap: 2px; flex: 1; justify-content: center; }
.m-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 12px; }
.m-nav a:hover, .m-nav a.active { background: #ecfccb; color: var(--forest); }
.m-cta { background: var(--forest); color: var(--lime); text-decoration: none; font-weight: 700; padding: 9px 16px; border-radius: 999px; font-size: 14px; }
.m-cta:hover { background: var(--accent); color: #fff; }
.m-disclosure { color: var(--muted); font-size: 13px; text-align: center; padding: 8px 0; background: #eef6df; }
.m-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); gap: 14px; padding: 28px 0 10px; }
.m-hero-tile { grid-column: span 2; grid-row: span 2; background: var(--lime); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; justify-content: flex-end; }
.m-hero-tile .m-badge { align-self: flex-start; background: var(--forest); color: var(--lime); font-weight: 700; font-size: 12px; padding: 5px 12px; border-radius: 999px; margin: 0 0 auto; }
.m-hero-tile h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1; margin: 30px 0 12px; color: var(--forest); }
.m-hero-tile h1 span { color: var(--accent); background: rgba(255,255,255,.6); padding: 0 8px; border-radius: 10px; }
.m-hero-tile p { color: #2f4a0d; font-size: 17px; margin: 0; }
.m-hub-tile { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--text); transition: transform .15s; }
.m-hub-tile:hover { transform: translateY(-3px); border-color: var(--hub); }
.m-hub-tile:nth-of-type(odd) { background: #f0f7e4; }
.m-hub-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--hub); color: #fff; margin-bottom: 4px; }
.m-hub-tile b { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: 18px; } .m-hub-tile small { color: var(--muted); font-size: 14px; }
.m-block { padding: 34px 0; }
.m-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.m-head h2 { font-size: 32px; margin: 0; } .m-head a { color: var(--accent); font-weight: 600; }
.m-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.m-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); }
.m-card:hover { box-shadow: 0 20px 40px -26px rgba(26,46,5,.55); }
.m-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.m-ph { display: grid; place-items: center; background: #ecfccb; color: var(--accent); }
.m-card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.m-kicker { font-size: 12px; font-weight: 700; color: var(--hub); text-transform: uppercase; letter-spacing: .08em; }
.m-card-title { font-size: 22px; line-height: 1.15; } .m-card-text { color: var(--muted); font-size: 15px; }
.m-more { margin-top: 6px; font-weight: 700; color: var(--accent); font-size: 14px; }
.m-rules { background: var(--forest); color: #d9f99d; border-radius: var(--radius); padding: 28px 32px; margin: 10px 0 60px; }
.m-rules h2 { color: var(--lime); margin: 0 0 10px; } .m-rules li { margin: 8px 0; } .m-rules b { color: #fff; }
.m-footer { background: var(--forest); color: #bef264; padding: 44px 0 20px; }
.m-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; } .m-footer p { color: #d9f99d; }
.m-footer h3 { color: #fff; font-size: 16px; margin: 0 0 10px; }
.m-footer nav a { display: block; color: #d9f99d; text-decoration: none; padding: 3px 0; } .m-footer nav a:hover { color: #fff; }
.m-fine { border-top: 1px solid rgba(190,242,100,.2); margin-top: 26px; padding-top: 14px; color: #a3c47a; }
.button.buy { background: var(--forest); color: var(--lime); border-radius: 999px; } .button.buy:hover { background: var(--accent); color: #fff; }
.m-bento .m-hub-tile:last-child:nth-child(6) { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 16px; }
.m-bento .m-hub-tile:last-child:nth-child(6) .m-hub-icon { margin: 0; flex: none; }
@media (max-width: 860px) { .m-bento { grid-template-columns: 1fr 1fr; } .m-hero-tile { grid-column: span 2; } .m-footer-grid { grid-template-columns: 1fr; } .m-nav { justify-content: flex-start; } }
@media (max-width: 520px) { .m-bento { grid-template-columns: 1fr; } .m-hero-tile { grid-column: span 1; } }
@media (max-width: 760px) { .m-header { position: static; } }
