@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');

:root {
  --airy-green: #77DD77;
  --airy-green-dark: #5BBF5B;
  --airy-blue: #2E75B6;
  --airy-blue-tint: #EBF2FA;
  --airy-red: #D73A37;
  --airy-red-tint: #FDECEC;
  --airy-olive: #656A4C;
  --airy-orange: #E38660;
  --airy-warning: #BF8F00;
  --airy-warning-tint: #FFF8E8;
  --airy-try: #548235;
  --airy-try-tint: #EFF5EB;
  --airy-bg: #FFFFFF;
  --airy-surface: #FFFFFF;
  --airy-text: #333333;
  --airy-muted: #666666;
  --airy-light-gray: #F5F5F5;
  --airy-border: #E0E0E0;
  --airy-grid: #E8E8E8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --radius: 8px;
}
[data-theme="dark"] {
  --airy-bg: #121418;
  --airy-surface: #1C1F25;
  --airy-text: #E7E9EE;
  --airy-muted: #9AA0A6;
  --airy-light-gray: #23272E;
  --airy-border: #2E333B;
  --airy-grid: #23272E;
  --airy-blue-tint: #17263A;
  --airy-red-tint: #3A1B1B;
  --airy-warning-tint: #3A2E14;
  --airy-try-tint: #1E2F1A;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter','Arial','Helvetica Neue',sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--airy-text);
  background: var(--airy-bg);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5 { font-family: inherit; margin: 1.6em 0 .5em; line-height: 1.25; }
h1 { color: var(--airy-blue); font-size: 32px; font-weight: 700; }
h2 { color: var(--airy-red); font-size: 36px; font-weight: 700; letter-spacing: -.01em; }
h3 { color: var(--airy-olive); font-size: 28px; font-style: italic; font-weight: 600; }
h4 { color: var(--airy-orange); font-size: 24px; font-weight: 700; font-style: italic; }
h5 { color: var(--airy-blue); font-size: 20px; font-weight: 700; margin-top: 1.2em; }
p  { margin: 0 0 1em; }
a { color: var(--airy-blue); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--airy-green-dark); }
hr { border: 0; border-top: 1px solid var(--airy-border); margin: 2em 0; }
code { background: var(--airy-light-gray); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
ul, ol { padding-left: 1.5em; }
li { margin: .25em 0; }

/* ------------- layout ------------- */
.app {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--airy-surface);
  border-right: 1px solid var(--airy-border);
  padding: 24px 18px;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow-y: auto;
}
.sidebar h3 { color: var(--airy-olive); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin: 18px 0 8px; font-style: normal; font-weight: 700; }
.sidebar ul { list-style: none; padding: 0; margin: 0 0 18px; }
.sidebar li { margin: 2px 0; }
.sidebar a { display: block; padding: 7px 10px; color: var(--airy-text); text-decoration: none; border-radius: 6px; font-size: 14px; }
.sidebar a:hover, .sidebar a.active { background: var(--airy-blue-tint); color: var(--airy-blue); }
.sidebar .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--airy-blue); text-decoration: none; margin-bottom: 8px; }
.sidebar .brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--airy-green); display: inline-block; }
.sidebar .tagline { color: var(--airy-muted); font-size: 12px; margin: 0 0 16px; }

main { min-width: 0; }
.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 32px 80px;
}

/* ------------- top bar ------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--airy-bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--airy-border);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar .title { font-weight: 700; color: var(--airy-blue); font-size: 15px; flex: 1; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.topbar button, .topbar select {
  border: 1px solid var(--airy-border);
  background: var(--airy-surface);
  color: var(--airy-text);
  padding: 6px 10px;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.topbar button:hover { border-color: var(--airy-blue); color: var(--airy-blue); }
.hamburger { display: none; }

/* progress bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--airy-green) 0%, var(--airy-blue) 100%);
  z-index: 100;
  transition: width .08s linear;
}

/* ------------- cover ------------- */
.cover {
  min-height: 100vh;
  background: var(--airy-bg);
  background-image:
    radial-gradient(circle at 1px 1px, var(--airy-grid) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 36px 24px 24px;
  text-align: center;
  position: relative;
}
.cover .eu-top { max-width: 260px; width: 90%; }
.cover .eu-top img { width: 100%; height: auto; }
.cover .center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 12px;
}
.cover .logo-wrap {
  width: min(320px, 72vw);
  position: relative;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.1));
}
.cover .logo-wrap img { width: 100%; height: auto; display: block; }
.cover .circle-text {
  width: min(380px, 86vw);
  height: min(380px, 86vw);
  margin: -40% auto 0;
  pointer-events: none;
  position: relative;
  z-index: -1;
}
.cover h1.cover-brand { font-size: clamp(64px, 14vw, 140px); color: var(--airy-green); margin: 0; letter-spacing: -.02em; line-height: 1; font-weight: 900; }
.cover .subtitle { font-size: clamp(16px, 2.4vw, 22px); color: var(--airy-olive); max-width: 720px; margin: 8px auto 0; }
.cover .meta { color: var(--airy-muted); font-size: 13px; margin-top: 8px; }
.cover .partners {
  max-width: 620px;
  width: 100%;
}
.cover .partners img { width: 100%; height: auto; display: block; max-height: 180px; object-fit: contain; object-position: center; }
.cover .scroll-cue {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--airy-muted);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ------------- TOC ------------- */
.toc {
  background: var(--airy-surface);
  border: 1px solid var(--airy-border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin: 8px 0; }
.toc li::before { content: counter(toc) ". "; color: var(--airy-blue); font-weight: 700; }
.toc ol ol { padding-left: 22px; counter-reset: sub; }
.toc ol ol li { counter-increment: sub; }
.toc ol ol li::before { content: counter(toc) "." counter(sub) " "; color: var(--airy-olive); }
.toc a { color: var(--airy-text); text-decoration: none; }
.toc a:hover { color: var(--airy-blue); text-decoration: underline; }

/* ------------- callout boxes ------------- */
.box {
  border-left: 5px solid var(--airy-blue);
  background: var(--airy-blue-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 16px 0;
}
.box > h5 { margin-top: 0; }
.box.blue   { border-left-color: var(--airy-blue);    background: var(--airy-blue-tint); }
.box.red    { border-left-color: var(--airy-red);     background: var(--airy-red-tint); }
.box.green  { border-left-color: var(--airy-try);     background: var(--airy-try-tint); }
.box.orange { border-left-color: var(--airy-warning); background: var(--airy-warning-tint); }
.box.gray   { border-left-color: var(--airy-olive);   background: var(--airy-light-gray); }
.box.gray > h5 { color: var(--airy-olive); }
.box.orange > h5 { color: var(--airy-warning); }
.box.green > h5 { color: var(--airy-try); }
.box.red > h5 { color: var(--airy-red); }

/* Warning Signs collapsible */
details.warning {
  border-left: 5px solid var(--airy-warning);
  background: var(--airy-warning-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 20px;
  margin: 16px 0;
}
details.warning summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--airy-warning);
  font-size: 18px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
details.warning summary::-webkit-details-marker { display: none; }
details.warning summary::before {
  content: "⚠";
  font-size: 20px;
}
details.warning[open] summary { margin-bottom: 8px; }
details.warning summary::after {
  content: "+";
  margin-left: auto;
  font-size: 22px;
  font-weight: 400;
}
details.warning[open] summary::after { content: "−"; }

/* ------------- tables ------------- */
.t-wrap { overflow-x: auto; margin: 14px 0; }
table.airy {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--airy-surface);
  border: 1px solid var(--airy-border);
  border-radius: var(--radius);
  overflow: hidden;
}
table.airy th {
  background: var(--airy-blue);
  color: #fff;
  text-align: left;
  padding: 10px 12px;
  font-weight: 700;
}
table.airy td { padding: 10px 12px; border-top: 1px solid var(--airy-border); vertical-align: top; }
table.airy tr:nth-child(even) td { background: var(--airy-light-gray); }

/* ------------- quiz ------------- */
.quiz { margin: 16px 0 24px; }
.quiz-q {
  background: var(--airy-surface);
  border: 1px solid var(--airy-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 12px 0;
  box-shadow: var(--shadow-sm);
}
.quiz-q .q-text { font-weight: 600; margin-bottom: 12px; font-size: 17px; }
.quiz-q .q-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  font: inherit;
  border: 1.5px solid var(--airy-border);
  background: var(--airy-surface);
  color: var(--airy-text);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  transition: all .15s ease;
}
.btn:hover { border-color: var(--airy-blue); color: var(--airy-blue); }
.btn.correct { background: var(--airy-try); color: #fff; border-color: var(--airy-try); }
.btn.wrong { background: var(--airy-red); color: #fff; border-color: var(--airy-red); }
.btn.disabled { pointer-events: none; opacity: .7; }
.quiz-q .explain {
  margin-top: 10px;
  padding: 10px 14px;
  background: var(--airy-light-gray);
  border-left: 4px solid var(--airy-blue);
  border-radius: 4px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .3s, max-height .3s;
}
.quiz-q .explain.show { opacity: 1; max-height: 400px; padding: 10px 14px; margin-top: 10px; }
.quiz-score {
  background: var(--airy-blue);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  margin-top: 14px;
  text-align: center;
}

/* ------------- scenario options ------------- */
.scenario { margin: 14px 0 24px; }
.scenario-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 12px 0;
}
.opt-card {
  background: var(--airy-surface);
  border: 2px solid var(--airy-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: all .15s ease;
  position: relative;
  font-size: 15px;
  line-height: 1.5;
}
.opt-card:hover { border-color: var(--airy-blue); box-shadow: var(--shadow-md); }
.opt-card .opt-letter {
  display: inline-block;
  background: var(--airy-blue);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  text-align: center;
  line-height: 26px;
  font-weight: 700;
  margin-right: 8px;
  font-size: 13px;
}
.opt-card.correct { border-color: var(--airy-try); background: var(--airy-try-tint); }
.opt-card.correct::after { content: "✓ Recommended"; position: absolute; top: 8px; right: 10px; color: var(--airy-try); font-size: 12px; font-weight: 700; }
.opt-card.incorrect { border-color: #bbb; opacity: .6; }
.scenario-explain {
  margin-top: 10px;
  padding: 12px 16px;
  background: var(--airy-try-tint);
  border-left: 4px solid var(--airy-try);
  border-radius: 4px;
  display: none;
}
.scenario-explain.show { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ------------- reflection textareas ------------- */
.reflect-input {
  width: 100%;
  min-height: 80px;
  padding: 10px 12px;
  border: 1.5px dashed var(--airy-border);
  background: var(--airy-light-gray);
  color: var(--airy-text);
  border-radius: var(--radius);
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  resize: vertical;
  margin: 6px 0 12px;
}
.reflect-input:focus { outline: none; border-color: var(--airy-blue); border-style: solid; }

/* ------------- dilemma cards ------------- */
.dilemmas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin: 16px 0;
}
.dcard {
  background: var(--airy-surface);
  border: 1px solid var(--airy-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.dcard h6 { color: var(--airy-red); font-size: 16px; margin: 0 0 8px; font-weight: 700; }
.dcard p { font-size: 14.5px; }
.dcard .guidance {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--airy-border);
  display: none;
}
.dcard .guidance.show { display: block; animation: fadeIn .25s ease; }
.dcard .guidance h6 { color: var(--airy-try); }
.dcard .guidance .why { color: var(--airy-olive); font-size: 13.5px; margin-top: 6px; }
.dcard button.toggle { margin-top: auto; align-self: flex-start; }

/* ------------- self-check ------------- */
.selfcheck { margin: 16px 0; }
.sc-row {
  display: grid;
  grid-template-columns: 1fr repeat(5, 64px);
  gap: 4px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--airy-border);
}
.sc-row .stmt { font-size: 15px; }
.sc-row .opt {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 6px;
  cursor: pointer;
  background: var(--airy-light-gray);
  font-size: 12px;
  font-weight: 600;
  color: var(--airy-muted);
  border: 1.5px solid transparent;
}
.sc-row .opt:hover { border-color: var(--airy-blue); }
.sc-row .opt.on { background: var(--airy-blue); color: #fff; }
.sc-head {
  display: grid;
  grid-template-columns: 1fr repeat(5, 64px);
  gap: 4px;
  font-size: 12px;
  color: var(--airy-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--airy-border);
  font-weight: 700;
}
.sc-head > * { text-align: center; }
.sc-head > .stmt { text-align: left; }
.sc-total {
  margin-top: 16px;
  padding: 18px 22px;
  background: var(--airy-surface);
  border: 1px solid var(--airy-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.sc-total .score-big { font-size: 42px; font-weight: 800; color: var(--airy-blue); line-height: 1; }
.sc-total .score-label { font-size: 20px; font-weight: 700; margin: 6px 0; }
.sc-total.lvl-champion .score-label { color: var(--airy-try); }
.sc-total.lvl-thoughtful .score-label { color: var(--airy-blue); }
.sc-total.lvl-developing .score-label { color: var(--airy-orange); }
.sc-total.lvl-early .score-label { color: var(--airy-warning); }
.sc-total.lvl-start .score-label { color: var(--airy-red); }

/* ------------- headline test & real-or-ai ------------- */
.headlines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.hcard {
  background: var(--airy-surface);
  border: 1px solid var(--airy-border);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.hcard .h-text { font-weight: 600; font-size: 15px; margin-bottom: 10px; font-style: italic; }
.hcard .h-btns { display: flex; gap: 10px; }
.hcard .h-explain { margin-top: 10px; padding: 10px 14px; border-radius: 6px; display: none; font-size: 14.5px; }
.hcard .h-explain.show { display: block; animation: fadeIn .25s ease; }
.hcard .h-explain.real { background: var(--airy-try-tint); border-left: 4px solid var(--airy-try); }
.hcard .h-explain.fake { background: var(--airy-red-tint); border-left: 4px solid var(--airy-red); }

.textcompare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 14px 0;
}
.textcompare .tc-card {
  background: var(--airy-surface);
  border: 2px solid var(--airy-border);
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: pointer;
  transition: all .15s ease;
}
.textcompare .tc-card:hover { border-color: var(--airy-blue); }
.textcompare .tc-card.picked { border-color: var(--airy-blue); background: var(--airy-blue-tint); }
.textcompare .tc-card h6 { color: var(--airy-blue); margin: 0 0 8px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.tc-reveal { display: none; }
.tc-reveal.show { display: block; animation: fadeIn .25s ease; }
@media print { .tc-reveal { display: block !important; } }

/* ------------- footer ------------- */
footer.site {
  background: var(--airy-light-gray);
  border-top: 1px solid var(--airy-border);
  padding: 32px 24px;
  text-align: center;
  color: var(--airy-muted);
  font-size: 13px;
  line-height: 1.6;
}
footer.site img { max-width: 600px; width: 100%; height: auto; margin: 18px auto; display: block; max-height: 200px; object-fit: contain; }
footer.site .eu-disclaimer { max-width: 900px; margin: 0 auto; font-size: 12.5px; }
footer.site strong { color: var(--airy-text); }

/* ------------- infographic common ------------- */
.infographic {
  background: var(--airy-surface);
  border: 1px solid var(--airy-border);
  border-radius: var(--radius);
  padding: 22px 16px;
  margin: 22px 0;
  box-shadow: var(--shadow-sm);
}
.infographic svg { width: 100%; height: auto; max-width: 900px; margin: 0 auto; display: block; }
.infographic .caption { text-align: center; color: var(--airy-muted); font-size: 13px; margin-top: 8px; font-style: italic; }

/* ------------- responsive ------------- */
@media (max-width: 1024px) {
  .app { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    width: 82%;
    max-width: 320px;
    z-index: 90;
    transform: translateX(-100%);
    transition: transform .25s ease;
    box-shadow: var(--shadow-md);
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
    z-index: 80;
  }
  .sidebar-backdrop.open { opacity: 1; pointer-events: auto; }
  .hamburger { display: inline-flex; }
}
@media (max-width: 768px) {
  .page { padding: 24px 16px 60px; }
  h1 { font-size: 26px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
  h4 { font-size: 19px; }
  h5 { font-size: 17px; }
  .textcompare { grid-template-columns: 1fr; }
  .sc-row { grid-template-columns: 1fr; grid-auto-flow: row; row-gap: 6px; }
  .sc-row .stmt { grid-column: 1 / -1; margin-bottom: 4px; }
  .sc-row .opt { grid-column: span 1; height: 34px; font-size: 11px; }
  .sc-row { grid-template-columns: repeat(5, 1fr); }
  .sc-row .stmt { grid-column: 1 / -1; }
  .sc-head { display: none; }
}
@media (max-width: 375px) {
  .page { padding: 20px 12px 48px; }
  .topbar { padding: 8px 12px; }
}

/* ------------- print ------------- */
@media print {
  .topbar, .sidebar, .progress-bar, .sidebar-backdrop, .scroll-cue, .cover .scroll-cue { display: none !important; }
  .app { display: block; }
  body { background: #fff; color: #000; }
  .page { max-width: none; padding: 0 20mm; }
  details.warning, details { }
  details[open], details { display: block; }
  details summary { pointer-events: none; }
  details > *:not(summary) { display: block !important; }
  .quiz-q .explain, .scenario-explain, .dcard .guidance, .hcard .h-explain { display: block !important; opacity: 1 !important; max-height: none !important; }
  .btn, .opt-card, .sc-row .opt { border: 1px solid #888; }
  a { color: #000; text-decoration: underline; }
  .infographic { break-inside: avoid; }
  section { page-break-inside: avoid; }
  h2 { page-break-before: always; }
  #cover h2, #toc h2, #about h2 { page-break-before: avoid; }
}

/* ------------- utility ------------- */
.section { scroll-margin-top: 72px; }
.chapter-title { padding-top: 20px; border-top: 3px solid var(--airy-red); margin-top: 40px; }
.lead { font-size: 18px; color: var(--airy-muted); line-height: 1.55; }
.ref-list { font-size: 14.5px; color: var(--airy-muted); padding-left: 18px; }
.ref-list li { margin-bottom: 6px; }
.option-line { margin: 6px 0; }
.option-line .opt-letter { display: inline-block; background: var(--airy-blue); color: #fff; width: 26px; height: 26px; border-radius: 50%; text-align: center; line-height: 26px; font-weight: 700; margin-right: 8px; font-size: 13px; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.toc-flex { display: flex; flex-direction: column; gap: 2px; }
.commitments { display: grid; gap: 10px; margin: 14px 0; counter-reset: commit; }
.commitments .c-row { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; counter-increment: commit; }
.commitments .c-row::before {
  content: counter(commit);
  background: var(--airy-try);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.option-pill {
  display: inline-block;
  background: var(--airy-light-gray);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--airy-muted);
  margin-right: 6px;
}
p.num-item, p.bul-item { margin-left: 18px; margin-bottom: .5em; }
p.num-item { text-indent: -18px; padding-left: 18px; }

/* Youth quotes — themed group cards with pull-quote styling */
.quotes-section .lead { color: var(--airy-muted); font-size: 17px; margin-bottom: 22px; }
.quote-group {
  --qg-color: var(--airy-blue);
  --qg-tint: var(--airy-blue-tint);
  margin: 22px 0;
  border-radius: var(--radius);
  background: var(--qg-tint);
  border: 1px solid color-mix(in srgb, var(--qg-color) 25%, transparent);
  padding: 18px 20px 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.quote-group::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--qg-color);
}
.quote-group.theme-blue   { --qg-color: var(--airy-blue);    --qg-tint: var(--airy-blue-tint); }
.quote-group.theme-red    { --qg-color: var(--airy-red);     --qg-tint: var(--airy-red-tint); }
.quote-group.theme-orange { --qg-color: var(--airy-warning); --qg-tint: var(--airy-warning-tint); }
.quote-group.theme-green  { --qg-color: var(--airy-try);     --qg-tint: var(--airy-try-tint); }
.quote-group.theme-olive  { --qg-color: var(--airy-olive);   --qg-tint: var(--airy-light-gray); }
.quote-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.quote-group-head .qg-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--qg-color);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.quote-group-head h5 {
  margin: 0;
  color: var(--qg-color);
  font-size: 18px;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.quote-card {
  background: var(--airy-surface);
  border-radius: var(--radius);
  padding: 20px 22px 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--airy-border);
  margin: 0;
  transition: transform .15s ease, box-shadow .15s ease;
}
.quote-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  left: 12px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 64px;
  line-height: 1;
  color: var(--qg-color);
  opacity: .22;
}
.qc-body {
  margin: 12px 0 12px;
  padding: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--airy-text);
  font-style: italic;
  border: none;
}
.qc-attrib {
  font-style: normal;
  font-size: 12.5px;
  color: var(--qg-color);
  font-weight: 600;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--qg-color) 15%, transparent);
  display: block;
}
@media (max-width: 520px) {
  .quote-grid { grid-template-columns: 1fr; }
  .quote-group-head h5 { font-size: 16px; }
}

/* Fact-Checking Checklist — interactive checkboxes */
.fc-list { list-style: none; padding: 0; margin: 10px 0 0; }
.fc-item { display: flex; align-items: flex-start; gap: 12px; padding: 8px 10px; border-radius: 6px; cursor: pointer; transition: background .15s ease; }
.fc-item:hover { background: rgba(84, 130, 53, 0.08); }
.fc-item input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px;
  border: 2px solid var(--airy-try);
  border-radius: 5px;
  background: var(--airy-bg);
  cursor: pointer;
  margin: 1px 0 0;
  flex-shrink: 0;
  position: relative;
  transition: background .15s ease;
}
.fc-item input[type="checkbox"]:hover { background: var(--airy-try-tint); }
.fc-item input[type="checkbox"]:checked { background: var(--airy-try); border-color: var(--airy-try); }
.fc-item input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 6px; height: 12px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
.fc-item input[type="checkbox"]:focus-visible { outline: 2px solid var(--airy-blue); outline-offset: 2px; }
.fc-item label { cursor: pointer; flex: 1; line-height: 1.45; font-size: 15px; }
.fc-item input[type="checkbox"]:checked + label { font-weight: 700; }
@media print { .fc-item input[type="checkbox"] { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
.answer-key { background: var(--airy-light-gray); padding: 14px 18px; border-radius: var(--radius); margin-top: 16px; font-size: 14.5px; }
.answer-key h5 { margin-top: 0; color: var(--airy-olive); }
.answer-key table.airy th { background: var(--airy-olive); }

/* ============================================================
   PER-LANGUAGE OVERRIDES
   The JS sets <html lang="..."> based on the active language.
   These rules only fire for the matching language so other
   languages stay pristine.
   ============================================================ */

/* ---- Greek (gr) ----
   Greek glyphs are 8–15 % wider than Latin in most fonts and the
   official AIRY copy is also wordier, so SVG infographics and a
   few headings need a small shrink to keep text inside its boxes. */

/* All SVG text inside infographics: tighter letter-spacing
   and a touch shorter so multi-word labels stay on one line. */
html[lang="gr"] .infographic svg text {
  letter-spacing: -0.01em;
}

/* Ch.1 — AI Spectrum: the four boxes (Rule-Based, Machine Learning,
   Deep Learning, Generative AI). Greek labels overflow the boxes
   at the original 16 px size. */
html[lang="gr"] #ch1 > .infographic svg text {
  font-size: 13px;
}
html[lang="gr"] #ch1 > .infographic svg text[font-size="20"] {
  font-size: 17px;          /* main title "Το Φάσμα της ΤΝ" */
}
html[lang="gr"] #ch1 > .infographic svg text[font-size="12"] {
  font-size: 11px;          /* sub-descriptions inside the boxes */
}

/* Ch.1.2 — "AI in Your Daily Life" hub-and-spokes circles.
   Some labels (Φωνητικοί βοηθοί, Ροές κοινωνικής δικτύωσης) are
   wider than the 54 px-radius circle. */
html[lang="gr"] #ch1-12 .infographic svg text {
  font-size: 11px;
}
html[lang="gr"] #ch1-12 .infographic svg text[font-size="22"] {
  font-size: 19px;          /* main title */
}
html[lang="gr"] #ch1-12 .infographic svg text[font-size="26"] {
  font-size: 22px;          /* "ΕΣΥ" centre disc */
}
html[lang="gr"] #ch1-12 .infographic svg text[font-size="10"] {
  font-size: 10px;          /* emoji row */
}

/* Ch.2 — 5 Pillars of Ethical AI Use: pillar labels drift slightly
   outside the pentagon. */
html[lang="gr"] #ch2 > .infographic svg text {
  font-size: 13px;
}
html[lang="gr"] #ch2 > .infographic svg text[font-size="20"] {
  font-size: 17px;          /* main title */
}
html[lang="gr"] #ch2 > .infographic svg text[font-size="26"] {
  font-size: 22px;          /* central icons */
}

/* Ch.3.2 — Deepfake Detection Checklist: the six yellow cards.
   "Συγχρονισμός χειλιών & στόμα" is the worst offender. */
html[lang="gr"] #ch3-32 .infographic svg text {
  font-size: 12px;
}
html[lang="gr"] #ch3-32 .infographic svg text[font-size="20"] {
  font-size: 17px;          /* main title */
}
html[lang="gr"] #ch3-32 .infographic svg text[font-size="30"] {
  font-size: 26px;          /* emoji */
}
html[lang="gr"] #ch3-32 .infographic svg text[font-size="11"] {
  font-size: 11px;          /* sub-hint kept */
}

/* Ch.3.4 — Misinformation flowchart: start oval, end boxes
   (Likely misinformation / Needs more research / Likely reliable)
   overflow their pills in Greek. */
html[lang="gr"] #ch3-34 .infographic svg text {
  font-size: 12px;
}
html[lang="gr"] #ch3-34 .infographic svg text[font-size="20"] {
  font-size: 17px;          /* main title */
}
html[lang="gr"] #ch3-34 .infographic svg text[font-size="15"] {
  font-size: 11px;          /* start oval "Βλέπετε έναν ισχυρισμό…" */
}
html[lang="gr"] #ch3-34 .infographic svg text[font-size="14"] {
  font-size: 11px;          /* green end pill "Πιθανώς αξιόπιστο" */
}
html[lang="gr"] #ch3-34 .infographic svg text[font-size="13"] {
  font-size: 10px;          /* yellow diamond questions + red/orange end boxes */
}

/* SIFT method tiles: long labels like "FIND (ΒΡΕΙΤΕ ΚΑΛΥΤΕΡΗ ΚΑΛΥΨΗ)"
   need a tighter title size so the four cards align. */
html[lang="gr"] .box.blue strong[style*="font-size:16px"] {
  font-size: 14px !important;
}

/* Self-check column headers ("ΜΕΡΙΚΕΣ ΦΟΡΕΣ", "ΣΥΧΝΑ", …) are
   slightly cramped — give the row a touch more breathing room. */
html[lang="gr"] .sc-head { font-size: 11px; }
html[lang="gr"] .sc-row .opt { font-size: 12px; padding: 8px 6px; }


/* ---- Estonian (et) ----
   Estonian compounds words ("Sotsiaalmeedia", "Voogedastuse soovitsed",
   "Generatiivne tehisintellekt"), so a couple of SVG labels still
   overflow even though the alphabet itself is no wider than English.
   These tweaks are gentler than the Greek ones. */

/* Ch.1 — AI Spectrum: "Reeglipõhised süsteemid" and
   "Generatiivne tehisintellekt" overflow the end boxes; the
   single-line descriptions like "Kindel loogika, kui-siis tüüpi
   reeglid" are also wider than the 180 px box. */
html[lang="et"] #ch1 > .infographic svg text[font-size="16"] {
  font-size: 14px;
}
html[lang="et"] #ch1 > .infographic svg text[font-size="12"] {
  font-size: 11px;
}

/* Ch.1.2 — Daily Life ring labels: "Sotsiaalmeedia voog" and
   "Voogedastuse soovitused" still exceed the 54 px-radius circle
   at 12 px, so go one step smaller. */
html[lang="et"] #ch1-12 .infographic svg text[font-size="13"] {
  font-size: 11px;
}