/* learn.css — Learning center and guide articles (I18N-09). */
.lr-wrap { max-width: 1040px; margin: 0 auto; padding: 2rem 16px 3rem; }
.lr-hero { margin: 0.5rem 0 1.8rem; }
.lr-eyebrow { color: var(--ms-primary); font: 700 0.78rem/1 Inter, system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.lr-hero h1, .lr-head h1 { font-family: Georgia, serif; font-weight: 500; color: var(--ms-ink); font-size: clamp(1.9rem, 4.5vw, 2.7rem); line-height: 1.12; margin: 0.5rem 0 0.7rem; }
.lr-hero p { color: var(--ms-muted); font-size: 1.08rem; line-height: 1.6; max-width: 62ch; margin: 0; }
.lr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.lr-card { display: flex; flex-direction: column; gap: 0.45rem; padding: 1.2rem 1.25rem; border-radius: 18px; background: var(--ms-paper); border: 1px solid var(--ms-line); color: inherit; text-decoration: none; transition: transform 0.15s, box-shadow 0.2s; }
.lr-card:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -20px rgba(48, 75, 67, 0.6); }
.lr-card small { color: var(--ms-primary); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
.lr-card b { font-size: 1.1rem; line-height: 1.3; color: var(--ms-ink); }
.lr-card span { color: var(--ms-muted); font-size: 0.93rem; line-height: 1.5; }
.lr-cta-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin: 2rem 0 0; }
.lr-cta { display: flex; flex-direction: column; gap: 0.3rem; padding: 1.2rem 1.3rem; border-radius: 18px; background: var(--ms-primary); color: #fff; text-decoration: none; }
.lr-cta b { font-size: 1.08rem; } .lr-cta span { opacity: 0.88; font-size: 0.92rem; }
.lr-cta.alt { background: var(--ms-soft); color: var(--ms-ink); border: 1px solid var(--ms-line); }
.lr-crumbs { font-size: 0.88rem; color: var(--ms-muted); margin-bottom: 0.6rem; }
.lr-crumbs a { color: var(--ms-primary); font-weight: 600; text-decoration: none; }
.lr-article article { max-width: 760px; }
.lr-lede { font-size: 1.12rem; line-height: 1.6; color: var(--ms-muted); margin: 0 0 0.4rem; }
.lr-meta { font-size: 0.85rem; color: var(--ms-muted); margin: 0 0 1.4rem; }
.lr-toc { background: var(--ms-paper); border: 1px solid var(--ms-line); border-radius: 16px; padding: 1rem 1.2rem; margin: 0 0 1.8rem; }
.lr-toc ol { margin: 0.5rem 0 0; padding-left: 1.2rem; columns: 2 220px; gap: 1.5rem; }
.lr-toc li { margin: 0.2rem 0; } .lr-toc a { color: var(--ms-primary-deep); text-decoration: none; } .lr-toc a:hover { text-decoration: underline; }
.lr-body, .lr-faq { font-size: 1.04rem; line-height: 1.72; color: var(--ms-ink); }
.lr-body h2, .lr-faq h2, .lr-related h2 { font-family: Georgia, serif; font-weight: 500; font-size: 1.6rem; margin: 2.2rem 0 0.7rem; scroll-margin-top: 80px; }
.lr-body h3 { font-size: 1.15rem; margin: 1.6rem 0 0.4rem; scroll-margin-top: 80px; }
.lr-body a { color: var(--ms-primary-deep); font-weight: 600; }
.lr-body li { margin: 0.3rem 0; }
.lr-body figure { margin: 1.4rem 0; } .lr-body figure img { width: 100%; height: auto; border-radius: 18px; display: block; }
.lr-body figcaption { font-size: 0.85rem; color: var(--ms-muted); margin-top: 0.4rem; }
.lr-table { overflow-x: auto; margin: 1.2rem 0; border: 1px solid var(--ms-line); border-radius: 14px; background: var(--ms-paper); }
.lr-table table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.lr-table th, .lr-table td { text-align: left; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--ms-line); vertical-align: top; }
.lr-table thead th { background: var(--ms-soft); font-weight: 700; }
.lr-table tbody tr:last-child td { border-bottom: 0; }
.lr-inline-cta { margin: 1.8rem 0; }
.lr-faq details { border-bottom: 1px solid var(--ms-line); padding: 0.8rem 0; }
.lr-faq summary { font-weight: 700; cursor: pointer; }
.lr-faq details p { margin: 0.5rem 0 0; color: var(--ms-ink); }
.lr-related { margin-top: 2.5rem; }
@media (max-width: 600px) { .lr-toc ol { columns: 1; } .lr-body { font-size: 1rem; } }

/* legal + contact pages (LEG-01) */
.lr-legal .lr-body table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
.lr-legal .lr-body th, .lr-legal .lr-body td { text-align: left; padding: 0.5rem 0.7rem; border-bottom: 1px solid rgba(0,0,0,0.08); }
.ct-form { display: grid; gap: 1rem; max-width: 560px; }
.ct-form label { display: grid; gap: 0.35rem; font-weight: 600; color: var(--ms-ink); }
.ct-form input, .ct-form select, .ct-form textarea { font: inherit; font-weight: 400; padding: 0.7rem 0.8rem; border-radius: 12px; border: 1px solid #c9ccd6; background: #fff; color: var(--ms-ink); min-height: 44px; }
.ct-form textarea { resize: vertical; }
.ct-form .ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-note { margin: 0; font-size: 0.9rem; color: var(--ms-muted); }
.ct-btn { justify-self: start; min-height: 44px; padding: 0 1.4rem; border: 0; border-radius: 12px; background: var(--ms-primary-deep, #2f5d46); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ct-btn:disabled { opacity: 0.6; cursor: default; }
.ct-msg { margin: 0; min-height: 1.4em; font-weight: 600; }
.ct-msg.ok { color: #2f6b45; } .ct-msg.bad { color: #b3261e; }
/* ENG-07: contrast on the green CTA, 24 px tap targets in the contents list */
.lr-cta:not(.alt) span { color: #fff; opacity: 1; }
.lr-toc li a { display: inline-block; padding: 3px 0; }
