:root {
  --yellow: #e8b923;
  --yellow-soft: #fff7dc;
  --ink: #1a1a2e;
  --muted: #667085;
  --line: #e8e8e8;
  --white: #fff;
  --shadow: 0 12px 32px rgba(26, 26, 46, .08);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.6 Arial, sans-serif; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 16px; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span { display: grid; gap: 1px; }
.brand strong { font-size: 20px; line-height: 1.1; letter-spacing: .02em; }
.brand small { color: var(--muted); font-size: 12px; }
.header-nav { display: flex; align-items: center; gap: 24px; font-weight: 700; }
.header-nav a { text-decoration: none; }
.header-nav a:hover, .header-nav a.active { color: #896800; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 2px solid var(--yellow); border-radius: 8px; background: var(--yellow); color: var(--ink); font-weight: 700; text-decoration: none; box-shadow: 0 8px 20px rgba(232, 185, 35, .2); }
.button:hover { background: #f2ca3e; }
.button-small { min-height: 40px; padding: 8px 16px; }
.breadcrumbs { display: flex; gap: 10px; margin-bottom: 38px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: inherit; text-underline-offset: 3px; }
.eyebrow { margin: 0 0 12px; color: #896800; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 20px; font-size: clamp(38px, 5vw, 66px); line-height: 1.05; letter-spacing: 0; }
.lead { max-width: 650px; margin-bottom: 30px; color: var(--muted); font-size: 20px; }
.blog-intro { border-bottom: 1px solid var(--line); }
.blog-intro .container { padding-top: 30px; padding-bottom: 58px; }
.blog-intro .breadcrumbs { margin-bottom: 48px; }
.blog-intro h1 { max-width: 900px; margin-bottom: 18px; font-size: 56px; line-height: 1.08; }
.blog-intro .lead { max-width: 760px; margin-bottom: 0; color: #4f596a; }
.blog-home .article-list { padding: 66px 0 82px; }
.blog-section-head { margin-bottom: 24px; }
.blog-section-head .eyebrow { margin-bottom: 8px; }
.blog-section-head h2 { margin-bottom: 0; font-size: 38px; line-height: 1.15; }
.blog-home .article-list-empty { max-width: none; margin: 0; color: #4f596a; font-size: 17px; }
.blog-contact { padding: 58px 0; background: #eaf0f0; }
.blog-contact-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 760px; }
.blog-contact h2 { margin-bottom: 8px; font-size: 34px; line-height: 1.15; }
.blog-contact p:last-child { max-width: 620px; margin-bottom: 0; color: #4f596a; }
.blog-contact .button { align-self: flex-start; }
.section-heading { max-width: 680px; margin-bottom: 34px; }
.section-heading h2 { margin-bottom: 12px; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; }
.section-heading p:last-child { color: var(--muted); }
.text-link { color: #f5d76e; font-weight: 700; text-underline-offset: 4px; }
.site-footer { padding: 52px 0 24px; background: #111325; color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding-bottom: 36px; }
.footer-brand { margin-bottom: 14px; }
.footer-brand img { filter: brightness(0) invert(1); }
.footer-inner > div > p { max-width: 340px; color: #b8bbc8; }
.footer-inner h2 { margin: 4px 0 12px; font-size: 15px; }
.footer-inner > div > a:not(.brand) { display: block; width: fit-content; margin: 7px 0; color: #b8bbc8; text-underline-offset: 3px; }
.footer-inner > div > a:hover { color: #f5d76e; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); color: #9ca0b0; font-size: 13px; }
.footer-bottom a { color: inherit; }
.category-hero { padding: 54px 0 62px; background: linear-gradient(110deg, #fffdf5 0%, var(--yellow-soft) 100%); }
.category-hero .breadcrumbs { margin-bottom: 44px; }
.category-hero h1 { max-width: 760px; margin-bottom: 18px; font-size: clamp(40px, 6vw, 72px); }
.category-hero .lead { max-width: 700px; margin-bottom: 0; }
.empty-state { padding: 86px 0 150px; }
.empty-state .container { max-width: 720px; margin-left: max(20px, calc((100% - 1120px) / 2)); }
.empty-state h2 { margin-bottom: 12px; font-size: 34px; }
.empty-state p { max-width: 650px; margin-bottom: 28px; color: var(--muted); }
.article-list { padding: 0 0 90px; }
.article-list-empty { max-width: 620px; color: var(--muted); }
.article-list-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.article-pages { scroll-margin-top: 90px; }
.article-pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.article-pagination button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.article-pagination button[aria-current="page"] { border-color: var(--yellow); background: var(--yellow); }
.article-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.article-card > img { display: block; width: 100%; height: 180px; object-fit: cover; }
.article-card-body { padding: 22px; }
.article-card-body .eyebrow { margin-bottom: 8px; font-size: 11px; }
.article-card-body h3 { margin-bottom: 10px; font-size: 23px; line-height: 1.2; }
.article-card-body h3 a { text-decoration: none; }
.article-card-body h3 a:hover { color: #896800; }
.article-card-body p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.article-card-body .text-link { display: inline-block; color: #896800; }
.quiz-shell { padding: 48px 0 100px; background: linear-gradient(110deg, #fffdf5 0%, var(--yellow-soft) 100%); }
.quiz-intro { max-width: 760px; margin-bottom: 28px; }
.quiz-intro h1 { margin-bottom: 18px; overflow-wrap: normal; hyphens: none; }
.quiz-bonus { display: grid; gap: 3px; max-width: 700px; margin: 0; padding-left: 16px; border-left: 4px solid var(--yellow); }
.quiz-bonus span { color: var(--muted); }
.quiz-card { max-width: 760px; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.quiz-progress { display: grid; gap: 8px; margin-bottom: 30px; color: var(--muted); font-size: 14px; }
.quiz-progress strong { color: var(--ink); }
.quiz-progress progress { width: 100%; height: 8px; accent-color: var(--yellow); }
.quiz-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.quiz-step legend { width: 100%; margin-bottom: 22px; color: var(--ink); font-size: 26px; font-weight: 800; line-height: 1.2; }
.quiz-options { display: grid; gap: 10px; }
.quiz-option { display: flex; align-items: flex-start; gap: 12px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; color: #303548; }
.quiz-option:hover { border-color: var(--yellow); background: #fffdf5; }
.quiz-option input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0; accent-color: var(--yellow); }
.quiz-option:has(input:checked) { border-color: #c89d00; background: var(--yellow-soft); }
.quiz-actions { display: flex; justify-content: flex-end; margin-top: 28px; }
.quiz-error { margin: 18px 0 0; color: #b42318; font-size: 14px; }
.quiz-result h2 { margin-bottom: 12px; font-size: 30px; line-height: 1.15; }
.quiz-result > p:not(.eyebrow):not(.quiz-bonus) { color: var(--muted); }
.quiz-contact { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.quiz-contact h2 { font-size: 25px; }
.quiz-contact > p { color: var(--muted); }
.quiz-contact form { display: grid; gap: 14px; }
.quiz-contact label:not(.quiz-consent) { display: grid; gap: 6px; color: var(--ink); font-weight: 700; }
.quiz-contact label span { color: var(--muted); font-size: 13px; font-weight: 400; }
.quiz-contact input[type="text"], .quiz-contact input[type="tel"], .quiz-contact input[type="email"], .quiz-contact select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #cfd2dc; border-radius: 6px; color: var(--ink); background: #fff; font: inherit; font-weight: 400; }
.quiz-contact input:focus, .quiz-contact select:focus { outline: 3px solid rgba(232, 185, 35, .3); border-color: #b88e00; }
.quiz-consent { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 13px; font-weight: 400; }
.quiz-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--yellow); }
.quiz-consent a { color: inherit; text-underline-offset: 3px; }
.quiz-form-status { min-height: 24px; margin: 0; color: var(--muted); font-size: 14px; }
.article-shell { padding: 52px 0 100px; }
.article-shell h1 { max-width: 850px; margin-bottom: 16px; font-size: clamp(40px, 6vw, 70px); }
.article-shell > .container > .breadcrumbs { margin-bottom: 42px; }
.article-intro { max-width: 760px; margin-bottom: 20px; color: var(--muted); font-size: 21px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 32px; color: var(--muted); font-size: 14px; }
.article-author { display: flex; flex: 1 1 100%; align-items: center; gap: 12px; color: var(--ink); }
.article-author img { width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; }
.article-author span { display: grid; gap: 2px; }
.article-author small { color: var(--muted); }
.article-cover { display: block; width: min(100%, 860px); height: auto; max-height: 540px; margin-bottom: 48px; border-radius: 8px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 64px; align-items: start; }
.article-content { min-width: 0; max-width: 760px; overflow-wrap: anywhere; color: #303548; font-size: 18px; }
.article-content h2 { margin: 42px 0 14px; color: var(--ink); font-size: 31px; line-height: 1.2; }
.article-content p { margin-bottom: 18px; }
.article-content img { display: block; max-width: 100%; height: auto; }
.article-content table { display: block; max-width: 100%; overflow-x: auto; }
.article-content ol { margin: 0 0 22px; padding-left: 26px; }
.article-content li { margin: 10px 0; padding-left: 6px; }
.article-quiz-cta { margin: 42px 0; padding: 26px; border: 1px solid #e5c35a; border-radius: 8px; background: var(--yellow-soft); }
.article-quiz-cta h2 { margin: 0 0 10px; font-size: 28px; }
.article-quiz-cta p:not(.eyebrow) { max-width: 620px; color: #4f5668; }
.article-aside { display: grid; min-width: 0; gap: 16px; overflow-wrap: anywhere; }
.aside-block { padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.aside-block strong { display: block; margin-bottom: 10px; font-size: 20px; line-height: 1.2; }
.aside-block p { color: var(--muted); font-size: 15px; }
.aside-block .button { width: 100%; max-width: 100%; white-space: normal; text-align: center; }
.aside-block .text-link { display: block; margin-top: 12px; color: #896800; font-weight: 700; text-underline-offset: 4px; }
.article-faq { margin-top: 54px; }
.article-faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.article-faq details:last-child { border-bottom: 1px solid var(--line); }
.article-faq summary { cursor: pointer; color: var(--ink); font-weight: 700; }
.article-faq details p { margin: 12px 0 0; color: var(--muted); font-size: 16px; }
.cookie-notice { position: fixed; z-index: 100; right: 24px; bottom: 24px; width: min(100% - 32px, 440px); padding: 20px; border: 1px solid #d5b956; border-radius: 8px; background: #fffdf5; box-shadow: 0 18px 46px rgba(31, 35, 53, .2); color: var(--ink); }
.cookie-notice p { margin: 0; font-size: 14px; line-height: 1.45; }
.cookie-notice a { color: inherit; text-underline-offset: 3px; }
.cookie-notice div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cookie-notice button { min-height: 40px; padding: 9px 13px; border: 1px solid var(--yellow); border-radius: 6px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.cookie-notice button[data-choice="accepted"] { background: var(--yellow); }
.cookie-notice button:hover { border-color: #a57e00; }
.cookie-notice button:focus-visible { outline: 3px solid rgba(232, 185, 35, .35); outline-offset: 2px; }

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 560px); }
  .header-inner { min-height: 72px; }
  .header-nav { gap: 12px; font-size: 13px; }
  .header-nav a:not(.button) { display: none; }
  .blog-intro .container { padding-top: 24px; padding-bottom: 42px; }
  .blog-intro .breadcrumbs { margin-bottom: 38px; }
  .blog-intro h1 { font-size: 38px; }
  .blog-intro .lead { font-size: 17px; }
  .blog-home .article-list { padding: 48px 0 60px; }
  .blog-section-head { margin-bottom: 20px; }
  .blog-section-head h2 { font-size: 30px; }
  .blog-contact { padding: 48px 0; }
  .blog-contact-inner { gap: 20px; }
  .blog-contact h2 { font-size: 29px; }
  .breadcrumbs { margin-bottom: 26px; }
  h1 { font-size: 40px; overflow-wrap: break-word; hyphens: auto; }
  .lead { font-size: 17px; }
  .article-list-grid, .footer-inner { grid-template-columns: 1fr; gap: 16px; }
  .category-hero { padding: 30px 0 48px; }
  .category-hero .breadcrumbs { margin-bottom: 28px; }
  .category-hero h1 { font-size: 40px; }
  .empty-state { padding: 58px 0 96px; }
  .empty-state .container { margin-left: auto; }
  .article-shell { padding: 30px 0 70px; }
  .article-shell > .container > .breadcrumbs { margin-bottom: 28px; }
  .article-shell h1 { font-size: 40px; }
  .article-intro { font-size: 17px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .article-content { font-size: 17px; }
  .article-content h2 { font-size: 27px; }
  .article-content .article-quiz-cta h2 { font-size: 22px; hyphens: auto; }
  .quiz-shell { padding: 30px 0 70px; }
  .quiz-intro h1 { font-size: 30px; }
  .quiz-card { padding: 20px; }
  .quiz-step legend { font-size: 22px; }
  .footer-inner { gap: 26px; }
  .footer-bottom { flex-direction: column; }
  .cookie-notice { right: 16px; bottom: 16px; }
  .cookie-notice div { display: grid; grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .header-inner { gap: 8px; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 16px; }
  .brand small { display: none; }
  .header-nav .button-small { min-height: 38px; padding: 7px 10px; font-size: 12px; white-space: nowrap; }
}

@media (max-width: 360px) {
  .blog-intro h1 { font-size: 30px; }
  .quiz-intro h1 { font-size: 26px; }
}
