*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:#19263c;background:#f6f8fc;font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer}.wrap{max-width:1080px;margin:auto;padding:0 20px}.skip{position:absolute;left:-999px}.skip:focus{left:12px;top:12px;background:#fff;padding:12px;z-index:5}.site-header{background:#fff;border-bottom:1px solid #e3e8f1}.head-inner{display:flex;justify-content:space-between;align-items:center;min-height:74px}.brand{display:flex;gap:12px;align-items:center;color:#15294f;font-size:20px;font-weight:750;text-decoration:none}.flag{display:inline-block;width:29px;height:21px;border:1px solid #dce1ea;border-radius:3px;background:linear-gradient(to bottom,#fff 0 33.33%,#1745a3 33.33% 66.66%,#c52b3a 66.66%)}nav a,.footer a{color:#1745a3}.hero{background:linear-gradient(125deg,#12347c,#1745a3);border-radius:0 0 26px 26px;color:white;padding:56px 42px 46px}.hero .eyebrow{letter-spacing:.14em;font-weight:800;font-size:12px;color:#d7e5ff}.hero h1{font-size:clamp(35px,5.4vw,60px);line-height:1.09;letter-spacing:-.045em;margin:12px 0}.hero h1 em{font-style:normal;color:#fff;border-bottom:5px solid #e03a4b}.hero p:not(.eyebrow){color:#e1eaff;max-width:570px;font-size:18px}.stats{color:#e3eaff}.stats strong{color:#fff}.controls,.categories,.results{margin-top:27px}.controls{background:#fff;border:1px solid #e2e7f0;border-radius:18px;padding:24px;box-shadow:0 8px 26px #152b4b08}label{display:block;font-size:14px;font-weight:750;margin-bottom:8px}input,select{border:1px solid #b9c8df;border-radius:10px;padding:12px 14px;background:#fff;color:#18263c}input{width:100%;font-size:17px}input:focus,select:focus,button:focus-visible,a:focus-visible{outline:3px solid #e03a4b;outline-offset:2px}.control-row{display:flex;align-items:end;gap:16px;margin-top:16px;flex-wrap:wrap}.outline{border:1px solid #1745a3;border-radius:10px;background:white;color:#1745a3;padding:11px 16px;font-weight:750}.outline[aria-pressed=true]{background:#e8edff}h2{font-size:23px;letter-spacing:-.02em}.category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(174px,1fr));gap:10px}.category{border:1px solid #d7dfed;background:white;border-radius:12px;padding:14px;text-align:left;color:#1d3255;font-weight:700;min-height:76px;display:flex;justify-content:space-between;align-items:center;gap:8px}.category span{color:#65718b;font-size:13px}.category.active{background:#1745a3;color:#fff;border-color:#1745a3}.category.active span{color:#fff}.results-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.results-head span{color:#58667d}.phrase-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:12px}.phrase{background:#fff;border:1px solid #dfe6f1;border-radius:14px;padding:19px;display:flex;justify-content:space-between;align-items:center;gap:14px;min-width:0}.phrase.playing{border-color:#1745a3;box-shadow:0 0 0 2px #1745a320}.ru{font-size:22px;line-height:1.3;font-weight:750;overflow-wrap:anywhere}.en{color:#526079;margin-top:6px}.cue{font-size:13px;color:#1745a3;margin-top:5px;overflow-wrap:anywhere}.play{border:0;background:#1745a3;color:white;border-radius:100px;width:49px;height:49px;flex:none;font-size:21px;font-weight:750}.play:hover{background:#10316f}.play[aria-label^="Pause"]{background:#c52b3a}.more{text-align:center;padding:22px}.empty{padding:25px;text-align:center;color:#58667d}.footer{margin-top:60px;background:#fff;border-top:1px solid #e2e7f0;padding:26px 0;color:#5b6880;font-size:14px}.ad-placeholder{margin:28px auto;min-height:110px;border:1px dashed #c6cfdf;text-align:center;padding:30px;color:#6b7586}.legal{max-width:760px;margin:45px auto;background:#fff;border-radius:16px;padding:35px}.legal h1{margin-top:0}@media(max-width:620px){.wrap{padding:0 14px}.hero{padding:37px 22px}.hero p:not(.eyebrow){font-size:16px}.phrase-list{grid-template-columns:1fr}.ru{font-size:20px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category{font-size:13px;padding:12px}.controls{padding:17px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Brevo signup: responsive layout and accessible hidden honeypot */
.newsletter{margin:38px 0 0;padding:28px;background:#fff;border:1px solid #e2e7f0;border-radius:16px}
.newsletter h2{margin:0 0 10px}.newsletter p{margin:0 0 15px}
.newsletter-row{display:flex;align-items:stretch;gap:12px;max-width:680px}
.newsletter-row input[type=email]{flex:1;min-width:0}
.newsletter-row button{background:#30469e;border:0;border-radius:10px;color:#fff;font-weight:750;padding:12px 25px;min-height:48px}
.newsletter-row button:hover{background:#23377f}
.newsletter .small-note{font-size:13px;line-height:1.6;color:#53627b;margin:12px 0 0}
.newsletter .honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
@media(max-width:600px){.newsletter{padding:20px 16px}.newsletter-row{flex-direction:column}.newsletter-row button{width:100%}}

/* Continuous category player */
.category-player{margin:0 0 22px;padding:18px 20px;background:#fff;border:1px solid #d7dfed;border-radius:16px;box-shadow:0 5px 18px #152b4b08}.category-player-top{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.category-play-primary{background:#1745a3;color:white;border:0;border-radius:10px;padding:12px 20px;font-weight:800;min-width:135px}.category-play-primary:hover{background:#10316f}.category-player button:disabled{opacity:.5;cursor:not-allowed}.category-player-status{display:flex;justify-content:space-between;gap:12px;margin:12px 0 7px;color:#526079;font-size:14px}.category-player progress{width:100%;height:10px;accent-color:#1745a3}.phrase.playing{background:#edf2ff;scroll-margin-top:22px}@media(max-width:620px){.category-player{padding:14px}.category-player-top button{flex:1 1 auto;padding:11px 12px;font-size:14px}}
/* Category playback player — complete visual override */
.results .category-player{display:block;margin:0 0 28px;padding:22px 24px;background:linear-gradient(145deg,#fff,#f3f6ff);border:1px solid #d8e1f5;border-radius:20px;box-shadow:0 10px 28px rgba(25,45,92,.07)}
.category-player-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:17px}
.category-player-heading h2{font-size:20px;line-height:1.25;margin:3px 0 0;color:#192b52}
.player-eyebrow{font-size:11px;letter-spacing:.12em;font-weight:850;color:#435bb0}
.player-badge{white-space:nowrap;font-size:12px;font-weight:750;background:#e4ebff;color:#2b4595;border-radius:99px;padding:6px 11px}
.category-player .category-player-top{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.category-player .category-player-top button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:11px 19px;border-radius:12px;font-size:15px;font-weight:750;line-height:1.2;box-shadow:none;transition:background .15s,border-color .15s,transform .15s}
.category-player .category-play-primary{background:#3048a5;color:#fff;border:1px solid #3048a5;min-width:150px}
.category-player .category-play-primary:hover{background:#203783}
.category-player .category-player-secondary{background:#fff;color:#3048a5;border:1px solid #aab9e2;min-width:116px}
.category-player .category-player-secondary:hover:not(:disabled){background:#eaf0ff;border-color:#3048a5}
.category-player .category-player-secondary[aria-pressed=true]{background:#e3eaff;border-color:#3048a5}
.category-player .category-player-top button:disabled{opacity:.48;cursor:not-allowed}
.category-player .category-player-status{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:17px 0 9px;font-size:14px;color:#53617b}
#category-play-status{overflow-wrap:anywhere}#category-play-progress{white-space:nowrap;font-weight:750;color:#3048a5}
.category-player #category-play-bar{display:block;width:100%;height:9px;accent-color:#3048a5;border:0;border-radius:20px;overflow:hidden}
.category-player #category-play-bar::-webkit-progress-bar{background:#e0e7f5;border-radius:20px}
.category-player #category-play-bar::-webkit-progress-value{background:#3048a5;border-radius:20px}
@media(max-width:620px){.results .category-player{padding:17px 16px;border-radius:16px}.category-player-heading{align-items:start}.category-player-heading h2{font-size:18px}.player-badge{font-size:11px}.category-player .category-player-top{display:grid;grid-template-columns:1fr 1fr}.category-player .category-play-primary{grid-column:1/-1;width:100%}.category-player .category-player-top button{min-width:0;padding:11px 8px;font-size:14px}}


/* Navigation: explicit spacing, clear links, and responsive wrapping. */
.site-header .head-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px;min-height:78px}
.site-header .brand{flex-shrink:0;white-space:nowrap}
.site-header .site-nav{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 12px;min-width:0}
.site-header .site-nav a{display:inline-flex;align-items:center;justify-content:center;padding:10px 13px;border-radius:10px;color:#263d78;text-decoration:none;font-size:15px;font-weight:700;line-height:1.35;white-space:nowrap}
.site-header .site-nav a:hover,.site-header .site-nav a:focus-visible{background:#edf1fc;color:#152f7a}
.site-header .site-nav a[aria-current="page"]{background:#e8edff;color:#1e3e94}
@media(max-width:760px){.site-header .head-inner{align-items:flex-start;flex-direction:column;gap:10px}.site-header .site-nav{width:100%;justify-content:flex-start;gap:6px 8px}.site-header .site-nav a{padding:9px 11px;font-size:14px}}
@media(max-width:390px){.site-header .site-nav a{font-size:13px;padding:8px 9px}}

/* Back to Top — consistent with Russian Audio blue and red palette */
.back-to-top{
  position:fixed;right:clamp(14px,2.5vw,28px);bottom:calc(18px + env(safe-area-inset-bottom,0px));
  z-index:1000;display:flex;align-items:center;justify-content:center;
  width:54px;height:54px;min-width:48px;min-height:48px;padding:0;
  border:2px solid #fff;border-radius:16px;background:#1745a3;color:#fff;
  box-shadow:0 5px 18px rgba(15,35,79,.28),0 0 0 2px rgba(23,69,163,.12);
  cursor:pointer;touch-action:manipulation;transition:background-color .18s,transform .18s,box-shadow .18s;
}
.back-to-top[hidden]{display:none!important}
.back-to-top:hover{background:#10316f;transform:translateY(-3px);box-shadow:0 8px 22px rgba(15,35,79,.33)}
.back-to-top:active{transform:translateY(0);background:#3048a5}
.back-to-top:focus-visible{outline:3px solid #e03a4b;outline-offset:3px}
@media(max-width:620px){.back-to-top{right:14px;bottom:calc(16px + env(safe-area-inset-bottom,0px));width:52px;height:52px;border-radius:15px}}
@media(prefers-reduced-motion:reduce){.back-to-top{transition:none}.back-to-top:hover{transform:none}}

/* 2027 navigation and footer refresh: accessible on narrow phones */
.site-header .site-nav{gap:6px 8px}
.site-header .site-nav a{min-height:44px;padding:10px 15px}
.site-footer{margin-top:64px;padding:36px 0 32px;background:#fff;border-top:1px solid #dfe6f2;color:#52627d;font-size:14px}
.site-footer .footer-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:32px;align-items:start}
.site-footer .footer-brand{font-size:21px;line-height:1.25;font-weight:800;color:#15294f;text-decoration:none}
.site-footer .footer-identity p{margin:10px 0 22px;color:#5c6c86}
.site-footer .footer-copyright{font-size:13px;color:#64748b}
.site-footer .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 30px}
.site-footer .footer-group{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.site-footer .footer-heading{font-size:12px;text-transform:uppercase;letter-spacing:.11em;font-weight:800;color:#263d78;margin-bottom:3px}
.site-footer .footer-group a{color:#24468e;text-decoration:none;font-weight:600;line-height:1.35;padding:4px 0;min-height:28px}
.site-footer .footer-group a:hover{text-decoration:underline;text-underline-offset:4px;color:#1745a3}
.site-footer a:focus-visible{outline:3px solid #e03a4b;outline-offset:3px;border-radius:3px}
@media(max-width:680px){.site-footer{padding:28px 0 26px}.site-footer .footer-layout{grid-template-columns:1fr;gap:25px}.site-footer .footer-links{gap:16px}.site-footer .footer-identity p{margin:8px 0 12px}.site-header .site-nav{width:100%;justify-content:flex-start;flex-wrap:wrap;gap:5px}.site-header .site-nav a{min-height:44px;padding:10px 14px;font-size:15px}}
@media(max-width:350px){.site-footer .footer-links{grid-template-columns:1fr}.site-header .site-nav a{padding:9px 11px}}

/* Footer hotfix: ensure footer links have accessible mobile touch targets. */
.site-footer .footer-group a{display:inline-flex;align-items:center;min-height:40px;padding:7px 0;overflow-wrap:anywhere}
.site-footer .footer-copyright{display:block}
