/* Guide pages (page.php). Same look as front page v5: Outfit + Plus Jakarta Sans, indigo, candy accents. */
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/outfit-7449976040.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/outfit-ebadd8b710.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/outfit-7449976040.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/outfit-ebadd8b710.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/outfit-7449976040.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/outfit-ebadd8b710.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/outfit-7449976040.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/outfit-ebadd8b710.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-3c95116254.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-e2e017e1ca.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-3c95116254.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-e2e017e1ca.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-3c95116254.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-e2e017e1ca.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-3c95116254.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-e2e017e1ca.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-3c95116254.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-e2e017e1ca.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1c2340; --ink-soft: #545d7e; --line: #dde3f3; --bg: #f6f8ff; --card: #fff;
  --indigo: #5146e5; --indigo-dark: #3a30b8; --violet: #7c4dff; --sun: #ffc53d; --coral: #ff6b4a; --mint: #14b88f; --sky: #eceaff;
  --shadow: 0 1px 2px rgba(28, 35, 64, .06), 0 14px 34px -12px rgba(51, 60, 140, .22);
  --head: 'Outfit', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--body); overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--indigo-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; letter-spacing: -.4px; color: var(--ink); }
h1 { font-size: clamp(34px, 6vw, 54px); font-weight: 800; margin: .2em 0 .35em; }
h2 { font-size: clamp(25px, 3.6vw, 32px); font-weight: 700; margin: 1.8em 0 .5em; }
h3 { font-size: 21px; font-weight: 700; margin: 1.5em 0 .45em; }
h4 { font-size: 18px; margin: 0 0 .3em; }
p, li { max-width: 72ch; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--ink-soft); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border: 0; border-radius: 14px;
  background: var(--indigo); color: #fff; font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--indigo-dark); transition: transform .12s, box-shadow .12s; white-space: nowrap; }
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 5px 0 var(--indigo-dark); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--indigo-dark); }
.btn.small { padding: 10px 16px; font-size: 15px; }
.btn.big { padding: 17px 28px; font-size: 18px; }
.btn.ghost { background: #fff; color: var(--indigo); box-shadow: 0 0 0 2px var(--line) inset, 0 3px 0 var(--line); }

/* Header and footer */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 20px/1 var(--head); white-space: nowrap; }
.logo img { border-radius: 9px; }
.top nav { display: flex; align-items: center; gap: 6px; }
.top nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: 10px; }
.top nav a:not(.btn):hover { background: var(--sky); }
.foot { margin-top: 80px; background: #161b33; color: #c9cfe6; padding: 48px 0 40px; font-size: 15px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .logo, .foot .logo span { color: #fff; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr .7fr; gap: 32px; }
.foot nav { display: flex; flex-direction: column; gap: 6px; }
.foot h2 { color: #fff; font-size: 16px; margin: 0 0 6px; }
.foot .muted { color: #9aa2c3; }

/* Page */
.page { padding-top: 18px; }
.crumbs { font-size: 14px; color: var(--ink-soft); margin: 6px 0 0; }
.crumbs a { color: var(--ink-soft); }
.hero { padding: 26px 0 6px; max-width: 820px; }
.kicker { display: inline-block; margin: 0; padding: 6px 12px; border-radius: 99px; background: var(--sky); color: var(--indigo); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.lead p { font-size: 20px; line-height: 1.55; color: #2c3458; }
.hero .meta { font-size: 14px; color: var(--ink-soft); }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 20px; max-width: 820px; box-shadow: var(--shadow); margin: 18px 0 6px; }
.toc summary { font: 700 17px var(--head); cursor: pointer; }
.toc ol { margin: 10px 0 4px; padding-left: 22px; columns: 2 260px; column-gap: 32px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.content > section, .faq, .cta, .related, .lead-box { max-width: 820px; }
.content ul, .content ol { padding-left: 24px; }
.content li { margin: 6px 0; }
.content strong { color: #141a36; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0; max-width: 820px; }
.steps li { counter-increment: s; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px 6px 72px; margin: 14px 0; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 18px; width: 38px; height: 38px; border-radius: 12px; background: var(--indigo); color: #fff; font: 800 19px/38px var(--head); text-align: center; }
.steps h3 { margin: 4px 0 6px; font-size: 19px; }

/* Data blocks */
.data-block { margin: 28px 0; }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); margin: 10px 0 22px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f0f2fd; font: 700 13px var(--body); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); position: sticky; top: 0; }
tr:last-child td { border-bottom: 0; }
td.pic-text { color: #3b4366; min-width: 280px; }
table.words td:first-child, table.pao td:first-child { color: var(--ink-soft); white-space: nowrap; }
.flag { width: 28px; height: 20px; object-fit: cover; border-radius: 3px; vertical-align: -4px; margin-right: 8px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin: 18px 0 8px; }
.pic { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.pic img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.pic figcaption { padding: 10px 12px 12px; display: grid; gap: 2px; }
.pic figcaption b { font: 700 19px var(--head); }
.pic figcaption small { color: var(--ink-soft); }
.peg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 12px 0 24px; }
.peg { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: grid; gap: 2px; }
.peg b { font: 800 22px var(--head); color: var(--indigo); }
.peg .emo { font-size: 22px; }
.peg span { font-weight: 700; }
.peg small { color: var(--ink-soft); font-size: 13px; line-height: 1.4; }
.pi-digits { font: 600 18px/1.8 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .06em; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; word-spacing: .4em; }
.flashcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 10px 0 22px; }
.flash { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.flash summary { list-style: none; cursor: pointer; padding: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.flash summary::-webkit-details-marker { display: none; }
.flash summary b { font: 700 19px var(--head); }
.flash summary span { font-size: 13px; color: var(--indigo); font-weight: 700; white-space: nowrap; }
.flash[open] summary span { visibility: hidden; }
.flash > div { padding: 0 16px 14px; font-size: 15px; }
.flash img { float: right; width: 96px; height: auto; border-radius: 10px; margin: 0 0 6px 10px; }
.flash .mean { font-weight: 700; margin: 0 0 6px; }
.hook { color: #3b4366; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 12px 0 26px; }
.photo-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.photo-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e9ecf8; }
.photo-card > div { padding: 12px 16px 14px; font-size: 15px; }
.photo-card p { margin: .35em 0; }
.photo-card .meta { color: var(--ink-soft); }
.credit { display: block; color: var(--ink-soft); font-size: 12px; margin-top: 8px; }
.credit a { color: inherit; }

/* Article layout: content + sticky side column on wide screens */
.layout { display: block; }
.side { display: none; }
@media (min-width: 1080px) {
  .layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
  .main .toc { display: none; }
  .side { display: block; position: sticky; top: 84px; }
  .side-in { display: grid; gap: 16px; }
  .side-cta { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); text-align: center; }
  .side-cta img { border-radius: 12px; }
  .side-cta p { font-size: 15px; margin: 8px 0 12px; }
  .side-cta .btn { width: 100%; }
  .side-cta small { display: block; margin-top: 8px; color: var(--ink-soft); }
  .side-toc { font-size: 14px; max-height: calc(100vh - 340px); overflow: auto; }
  .side-toc b { font: 700 15px var(--head); }
  .side-toc ol { padding-left: 20px; margin: 8px 0; }
  .side-toc li { margin: 5px 0; }
  .side-toc a { color: var(--ink-soft); text-decoration: none; }
  .side-toc a:hover { color: var(--indigo); }
}

/* Quiz */
.quiz { background: linear-gradient(135deg, #5146e5, #7c4dff); color: #fff; border-radius: 24px; padding: 26px; margin: 26px 0; max-width: 820px; box-shadow: var(--shadow); }
.quiz .btn { background: var(--sun); color: #1c2340; box-shadow: 0 4px 0 #d79b0c; }
.quiz .btn:hover { color: #1c2340; }
.quiz-intro { font-size: 18px; margin-top: 0; }
.quiz-top { display: flex; justify-content: space-between; font-weight: 700; opacity: .9; font-size: 15px; }
.quiz-bar { height: 8px; background: rgba(255,255,255,.25); border-radius: 9px; margin: 8px 0 18px; overflow: hidden; }
.quiz-bar i { display: block; height: 100%; background: var(--sun); transition: width .3s; }
.quiz-q { font: 800 clamp(26px, 5vw, 36px)/1.15 var(--head); color: #fff; margin: 4px 0 14px; text-align: center; }
.quiz-img { display: block; margin: 0 auto 16px; max-height: 240px; width: auto; max-width: 100%; border-radius: 14px; background: #fff; }
.quiz-img.flag { height: 150px; width: auto; max-width: 100%; object-fit: contain; background: transparent; box-shadow: 0 6px 20px rgba(0,0,0,.2); border-radius: 8px; }
.quiz-credit { display: block; text-align: center; font-size: 12px; opacity: .75; margin: -8px 0 12px; }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz-opts button { padding: 14px 12px; border: 0; border-radius: 14px; background: #fff; color: var(--ink); font: 700 16px/1.25 var(--body); cursor: pointer; box-shadow: 0 3px 0 rgba(0,0,0,.18); min-height: 54px; }
.quiz-opts button:hover:not(:disabled) { transform: translateY(-1px); }
.quiz-opts button.right { background: #c9f7e5; box-shadow: 0 3px 0 var(--mint); }
.quiz-opts button.wrong { background: #ffd9d0; box-shadow: 0 3px 0 var(--coral); }
.quiz-fb { min-height: 28px; font-weight: 700; margin: 12px 0 4px; text-align: center; }
.quiz-end { text-align: center; }
.quiz-end .score { font: 800 44px var(--head); color: #fff; margin: 0; }
.quiz-end p { margin-inline: auto; }

/* FAQ, CTA, newsletter, related */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin: 10px 0; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 15px 0; font: 700 18px/1.3 var(--head); }
.faq details[open] summary { color: var(--indigo); }
.cta { margin-top: 48px; background: var(--card); border: 2px solid var(--sky); border-radius: 24px; padding: 8px 26px 22px; box-shadow: var(--shadow); }
.cta h2 { margin-top: .9em; }
.lead-box { margin-top: 26px; background: #fff7df; border: 1px solid #f6e2a7; border-radius: 24px; padding: 6px 26px 18px; }
.lead-box h2 { font-size: 24px; margin-top: .9em; }
.lead-box .row { display: flex; gap: 10px; flex-wrap: wrap; }
.lead-box input[type=email] { flex: 1 1 240px; min-width: 0; padding: 13px 15px; border: 2px solid #e8d79f; border-radius: 14px; font: 500 16px var(--body); background: #fff; }
.lead-box .consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 14px; color: #4a4f66; }
.lead-box .consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.lead-box .msg { font-weight: 700; min-height: 1.4em; margin: 10px 0 0; }
.lead-box .msg.ok { color: #0d8a68; }
.lead-box .msg.err { color: #c8401f; }
.related { margin-top: 40px; }
.tiles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tiles li { max-width: none; margin: 0; }
.tiles a { display: grid; gap: 4px; height: 100%; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .12s, border-color .12s; }
.tiles a:hover { transform: translateY(-2px); border-color: var(--indigo); color: var(--ink); }
.tiles b { font: 700 18px/1.25 var(--head); }
.tiles span { font-size: 14px; color: var(--ink-soft); line-height: 1.45; }

@media (max-width: 860px) {
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hide-s { display: none; }
  .logo { font-size: 18px; }
  .lead p { font-size: 18px; }
  .steps li { padding: 64px 16px 4px; }
  .quiz { padding: 20px 16px; border-radius: 20px; }
  .quiz-opts { grid-template-columns: 1fr; }
  .quiz-img.flag { height: 110px; }
  .quiz-img { max-height: 200px; }
  .quiz-q { font-size: 26px; }
  .foot-in { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  td.pic-text { min-width: 220px; }
  .cta, .lead-box { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Cookie choice */
.ck { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: min(420px, calc(100% - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: 0 20px 50px -10px rgba(28, 35, 64, .35); font-size: 15px; }
.ck p { margin: 6px 0 12px; }
.ck-btns { display: flex; gap: 8px; flex-wrap: wrap; }
