:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #18221b;
  background: #f7f8f4;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #f7f8f4; }
.shell { width: min(100% - 40px, 680px); margin: 0 auto; padding: max(28px, env(safe-area-inset-top)) 0 max(32px, env(safe-area-inset-bottom)); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 650; letter-spacing: -.4px; }
.brand img { border-radius: 11px; }
.card { margin-top: 54px; padding: clamp(26px, 5vw, 44px); border: 1px solid #e4e8e1; border-radius: 28px; background: #fff; box-shadow: 0 16px 46px rgba(23, 39, 29, .07); }
.eyebrow { margin: 0 0 20px; color: #69736c; font-size: 12px; font-weight: 650; letter-spacing: 1.2px; text-transform: uppercase; }
.category { display: inline-flex; padding: 7px 12px; border-radius: 999px; color: #2f5d46; background: #e8f0ea; font-size: 13px; font-weight: 650; }
h1 { margin: 22px 0 14px; font-size: clamp(30px, 7vw, 48px); line-height: 1.08; letter-spacing: -1.5px; }
.summary { margin: 0; color: #69736c; font-size: 17px; line-height: 1.65; white-space: pre-wrap; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tag { padding: 7px 11px; border-radius: 999px; color: #69736c; background: #f0f2ec; font-size: 12px; }
.actions { display: grid; gap: 10px; margin-top: 34px; }
.download-cta { margin-top: 26px; padding-top: 24px; border-top: 1px solid #e4e8e1; text-align: center; }
.download-cta p { margin: 0 0 14px; color: #69736c; font-size: 14px; line-height: 1.5; }
.download-cta .button { width: 100%; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid transparent; border-radius: 16px; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.primary { color: #fff; background: #2f5d46; }
.secondary { color: #18221b; background: #fff; border-color: #d4dad2; }
.state { min-height: 430px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #69736c; text-align: center; }
.state h1 { max-width: 560px; color: #18221b; font-size: clamp(28px, 6vw, 42px); }
.state p { max-width: 430px; margin: 0; font-size: 16px; line-height: 1.6; }
.state-icon { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 22px; color: #2f5d46; background: #e8f0ea; font-size: 28px; }
.spinner { width: 27px; height: 27px; border: 3px solid #d4dad2; border-top-color: #2f5d46; border-radius: 50%; animation: spin .8s linear infinite; }
footer { margin-top: 46px; color: #929a94; text-align: center; font-size: 12px; letter-spacing: .4px; }
[hidden] { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 520px) { .shell { width: min(100% - 28px, 680px); } .card { margin-top: 36px; border-radius: 24px; } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
