/* Qo‘llanma sahifalari (tools/seo.js) */
:root { font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif; --ink: #3b3556; --link: #1f6f54; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f7fbff; line-height: 1.65; font-size: 1.1rem; }
a { color: var(--link); }
header, main, footer { max-width: 760px; margin: 0 auto; padding: 12px 18px; }
header, header nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
header { justify-content: space-between; }
.logo { font-weight: 800; font-size: 1.35rem; text-decoration: none; color: var(--ink); }
.play { display: inline-block; background: #1f6f54; color: #fff; font-weight: 800; text-decoration: none; border-radius: 24px; padding: 8px 20px; }
h1 { line-height: 1.25; font-size: 2rem; }
h2 { line-height: 1.3; margin-top: 1.8em; }
.lead { font-size: 1.25rem; }
.crumbs { font-size: .95rem; }
figure { margin: 1.2em 0; }
.diagram { display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr); width: min(100%, 420px); aspect-ratio: 1; margin: 0 auto; border: 5px solid #8fc3b2; border-radius: 10px; overflow: hidden; container-type: inline-size; }
.diagram span { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; }
.diagram .l { background: #fff1d6; }
.diagram .d { background: #b5dbc9; }
.diagram .mark { background: #ffd66b; }
.diagram .dot::after { content: ""; position: absolute; width: 28%; height: 28%; border-radius: 50%; background: rgba(31,111,84,.75); }
.diagram b { font-weight: 400; font-size: 10.5cqw; line-height: 1; }
.diagram b.w { color: #fff; text-shadow: 0 0 2px #3b3556, 0 0 2px #3b3556, 0 0 3px #3b3556; }
.diagram b.k { color: #2b2540; }
figcaption { text-align: center; font-size: .98rem; margin-top: 8px; }
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.cards a { display: block; height: 100%; background: #fff; border-radius: 16px; padding: 12px 16px; text-decoration: none; font-weight: 700; box-shadow: 0 3px 0 rgba(0,0,0,.08); }
.cards.big { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cards.big span { display: block; font-weight: 400; font-size: .95rem; color: var(--ink); }
.cta { background: #fff1fb; border-radius: 20px; padding: 16px 20px; margin: 2em 0; text-align: center; }
footer { border-top: 1px solid #dde6ee; margin-top: 2em; font-size: 1rem; }
