.brand,.primary,.secondary,.back-link{text-decoration:none}
.skip-link{position:fixed;z-index:200;top:8px;left:8px;transform:translateY(-150%);background:var(--ink);color:white;border-radius:12px;padding:12px 16px}
.skip-link:focus{transform:none}
.site-nav{display:flex;gap:18px;align-items:center}
.nav-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:8px 4px;text-decoration:none;font-size:14px;font-weight:800;color:#6f4c9e}
.nav-link:hover,.nav-link[aria-current=page]{text-decoration:underline;text-underline-offset:5px}
.public-main{max-width:1160px;padding:0 40px;margin:auto}
.public-hero{padding-top:42px}
.public-hero .hero-copy>p{max-width:410px}
.public-hero .home-bottom{margin-top:36px}
.public-section{padding:76px 0 0}
.public-section h2,.example-section h2,.public-cta h2{font-size:34px;letter-spacing:-1.1px;line-height:1.2;margin:12px 0 18px}
.section-intro{max-width:740px;font:16px/1.8 'Trebuchet MS',Arial,sans-serif;color:var(--muted)}
.how-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:30px}
.how-card{border:1px solid #e5d1a7;border-bottom:4px solid #e5d1a7;border-radius:24px;background:#fff2d4;padding:25px}
.how-card:nth-child(2){background:#efe5fb;border-color:#d9c7ed}.how-card:nth-child(3){background:#e8f0df;border-color:#cbdcb8}
.how-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#ffffff85;margin-bottom:20px}
.how-icon svg{width:24px;height:24px}
.how-card h3{font-size:21px;letter-spacing:-.4px;margin-bottom:12px}
.how-card p,.example-section p,.faq-section p,.public-cta p{font:14px/1.8 'Trebuchet MS',Arial,sans-serif;color:var(--muted)}
.example-section{margin-top:68px;padding:30px 40px;display:grid;grid-template-columns:260px 1fr;gap:50px;align-items:center;background:#fffdf6;border:1px solid var(--line);border-radius:30px}
.example-picture{aspect-ratio:1;background:#f9ebc9;border-radius:50%;display:flex;align-items:center;justify-content:center}
.example-picture img{width:100%;height:auto;object-fit:contain}
.example-section h2{max-width:440px}
.example-section .public-equation,.public-equation{font-family:GameRound,'Trebuchet MS',Arial,sans-serif;font-size:22px;font-weight:800;color:var(--ink);line-height:1.8;margin:18px 0 7px}
.public-equation strong{display:inline-block;margin-top:4px}
.inline-link{font-size:13px}
.faq-section{max-width:820px;margin:0 auto}
.faq-section details{border-bottom:1px solid var(--line);padding:18px 0}
.faq-section summary{cursor:pointer;font-size:16px;font-weight:800;line-height:1.5;padding:8px 28px 8px 0;min-height:44px}
.faq-section details p{padding:8px 28px 10px 0;max-width:720px}
.public-cta{text-align:center;background:#f2e9fe;border:1px solid #e2d3f6;border-radius:28px;margin-top:64px;padding:38px 24px}
.public-cta p{margin-bottom:25px}
.public-cta .primary{font-size:16px}
.site-footer{max-width:1080px;margin:44px auto 0;padding:24px 0 30px;border-top:1px solid var(--line);display:flex;gap:20px;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}
.site-footer nav{display:flex;gap:20px}
.site-footer a{display:flex;align-items:center;min-height:44px;text-decoration:none}
.site-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.breadcrumbs{display:flex;gap:12px;font-size:12px;color:var(--muted);padding:18px 0 12px;align-items:center}
.breadcrumbs a{min-height:44px;display:flex;align-items:center;text-underline-offset:4px}
.rules-heading{padding:20px 0 32px;max-width:740px}
.rules-heading h1{font-size:44px;letter-spacing:-1.7px;margin:14px 0 20px;line-height:1.1}
.rules-heading>p{font:17px/1.8 'Trebuchet MS',Arial,sans-serif;color:var(--muted)}
.rules-layout{display:grid;grid-template-columns:1fr 310px;gap:65px;align-items:start}
.rules-article h2{font-size:24px;letter-spacing:-.5px;margin:28px 0 14px}.rules-article>h2:first-child{margin-top:0}
.rules-article p{font:15px/1.85 'Trebuchet MS',Arial,sans-serif;color:var(--muted)}
.rules-steps{counter-reset:step;list-style:none;padding:0;margin:24px 0 34px;display:grid;gap:26px}
.rules-steps li{counter-increment:step;position:relative;padding-left:48px}
.rules-steps li:before{content:counter(step);position:absolute;left:0;top:0;width:32px;height:36px;display:grid;place-items:center;background:#eee2fc;border:1px solid #d5c0eb;border-bottom:3px solid #d5c0eb;border-radius:11px;font-size:17px;font-weight:900;color:#72519e}
.rules-steps h3{font-size:17px;line-height:1.5;margin-bottom:8px}
.rules-article .rules-example{margin:25px 0;font-size:22px;line-height:1.8;background:#fffdf7}
.rules-start{margin-top:30px;font-size:16px}
.rules-aside{position:sticky;top:24px;background:#f4eafc;border:1px solid #decced;border-radius:28px;padding:25px 22px;text-align:center}
.rules-aside img{width:100%;height:auto;margin-bottom:16px}
.rules-aside>p:last-child{font:13px/1.7 'Trebuchet MS',Arial,sans-serif;color:var(--muted);margin-top:12px}
@media(max-width:1050px){.site-footer{margin-left:40px;margin-right:40px}.rules-layout{gap:35px;grid-template-columns:1fr 260px}.example-section{gap:30px;grid-template-columns:220px 1fr;padding:28px}.public-hero{padding-top:25px}}
@media(max-width:760px){.public-main{padding:0 24px}.public-hero{padding-top:16px}.public-hero .hero-copy>p{max-width:350px}.public-hero .home-bottom{margin-top:12px}.public-section{padding-top:52px}.public-section h2,.example-section h2,.public-cta h2{font-size:28px}.section-intro{font-size:15px}.how-grid{grid-template-columns:1fr;gap:13px;margin-top:24px}.how-card{padding:22px}.how-icon{float:left;margin:0 16px 0 0;width:38px;height:38px}.how-card h3{margin:4px 0 12px}.how-card p{clear:both}.example-section{grid-template-columns:1fr;justify-items:center;gap:22px;margin-top:40px;padding:24px}.example-picture{width:200px}.example-section>div:last-child{width:100%}.example-section h2{max-width:none}.example-section .public-equation{font-size:21px}.faq-section summary{font-size:15px}.public-cta{margin-top:44px;padding:27px 18px}.public-cta .primary{font-size:14px;padding:13px 18px}.site-footer{margin:30px 24px 0;flex-direction:column;gap:8px;padding:20px 0}.rules-heading{padding-top:10px}.rules-heading h1{font-size:36px}.rules-heading>p{font-size:15px}.rules-layout{grid-template-columns:1fr;gap:30px}.rules-aside{position:static;grid-row:1;display:none}.rules-article h2{font-size:23px}.site-nav{gap:13px}.nav-link{font-size:13px}}
@media(max-width:420px){.public-main{padding:0 17px}.public-hero{padding-top:8px}.public-hero .hero-copy>p{max-width:310px}.site-nav .header-play,.header-right a[aria-label="Правила игры"]{display:none}.public-section h2,.example-section h2{font-size:27px}.site-footer{margin-left:17px;margin-right:17px}.rules-heading h1{font-size:33px}.rules-steps li{padding-left:44px}}
