/* irada-abbasova.de - site styles
   Brand accent #a52a2a (kept from the original site), zinc neutrals, light + dark.
   Radius rule: cards/panels 16px, inputs 10px, buttons pill. */

:root {
  --accent: #a52a2a;
  --accent-strong: #8b2222;
  --accent-soft: #f8eceb;
  --accent-ink: #ffffff;
  --fill: #a52a2a;
  --fill-hover: #8b2222;
  --fill-ink: #ffffff;
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-2: #f4f4f5;
  --text: #18181b;
  --text-muted: #52525b;
  --border: #e4e4e7;
  --shadow: 0 1px 2px rgb(24 24 27 / 0.04), 0 12px 32px -12px rgb(24 24 27 / 0.12);
  --photo-bg: #f2f2f2;
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Manrope", "Noto Sans", system-ui, sans-serif;
  --font-body: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
  color-scheme: light;
}

/* Dark palette: follows the OS unless the visitor picked a theme (html[data-theme], set in <head>).
   The same values are repeated for the explicit choice below. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #d9665e;
    --accent-strong: #e8847d;
    --accent-soft: #2a1716;
    --accent-ink: #18181b;
    --fill: #a52a2a;
    --fill-hover: #b9342d;
    --fill-ink: #ffffff;
    --bg: #111113;
    --surface: #18181b;
    --surface-2: #1f1f23;
    --text: #f4f4f5;
    --text-muted: #a1a1aa;
    --border: #2e2e33;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 40px -16px rgb(0 0 0 / 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --accent: #d9665e;
  --accent-strong: #e8847d;
  --accent-soft: #2a1716;
  --accent-ink: #18181b;
  --fill: #a52a2a;
  --fill-hover: #b9342d;
  --fill-ink: #ffffff;
  --bg: #111113;
  --surface: #18181b;
  --surface-2: #1f1f23;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --border: #2e2e33;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 40px -16px rgb(0 0 0 / 0.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; color: var(--text); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--fill); color: var(--fill-ink); padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn i { font-size: 1.15em; }
.btn-primary { background: var(--fill); color: var(--fill-ink); }
.btn-primary:hover { background: var(--fill-hover); color: var(--fill-ink); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #ffffff; color: #8b2222; }
.btn-light:hover { background: #f8eceb; color: #8b2222; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.text-link i { transition: transform .2s ease; }
.text-link:hover i { transform: translateX(3px); }
.text-link-light, .text-link-light:hover { color: #ffffff; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.link-button:hover { color: #ffffff; text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: block; flex-shrink: 0; }
.brand img { height: 36px; width: auto; }
@media (max-width: 480px) { .brand img { height: 28px; } }
.brand-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-light { display: none; }
  :root:not([data-theme="light"]) .brand-dark { display: block; }
}
:root[data-theme="dark"] .brand-light { display: none; }
:root[data-theme="dark"] .brand-dark { display: block; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--text); font-weight: 500; font-size: .975rem; text-decoration: none; white-space: nowrap;
}
.main-nav a:hover { background: var(--accent-soft); color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 8px; }
/* language dropdown (same pattern as mtr-sprachendienst.de) */
.lang-menu { position: relative; }
.lang-menu summary {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; list-style: none; cursor: pointer;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  font-size: .85rem; font-weight: 700; letter-spacing: .04em; color: var(--text);
  transition: border-color .2s ease;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { border-color: var(--accent); }
.lang-menu summary i { font-size: .85rem; color: var(--text-muted); transition: transform .2s ease; }
.lang-menu[open] summary i { transform: rotate(180deg); }
.lang-menu img { width: 18px; height: 12px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); }
.lang-menu-list {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; min-width: 190px;
  margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow);
}
.lang-menu-list a {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px;
  color: var(--text); font-size: .95rem; font-weight: 500; text-decoration: none;
}
.lang-menu-list a:hover { background: var(--accent-soft); color: var(--accent); }
.lang-menu-list a[aria-current="true"] { color: var(--accent); }
.lang-menu-list i { margin-left: auto; }
.main-nav .theme-toggle-row { display: none; }
.theme-toggle {
  display: inline-flex; width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 1.2rem; cursor: pointer; align-items: center; justify-content: center;
  transition: color .2s ease, border-color .2s ease;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle .ph-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .ph-sun { display: inline; }
  :root:not([data-theme="light"]) .theme-toggle .ph-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .ph-sun { display: inline; }
:root[data-theme="dark"] .theme-toggle .ph-moon { display: none; }
@media (max-width: 400px) {
  .header-inner { gap: 12px; }
  .header-actions { gap: 6px; }
  .brand img { height: 24px; }
}
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 1.35rem; cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  /* mobile: language stays in the header, the theme switch moves into the menu */
  .header-actions > .theme-toggle { display: none; }
  .lang-menu summary { height: 44px; }
  .main-nav .theme-toggle-row {
    display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: 100%; height: auto;
    margin-top: 8px; padding: 12px 14px; border-radius: var(--radius-sm);
    font: 500 1rem/1.2 var(--font-body);
  }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    display: none; padding: 8px 16px 16px;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 12px 14px; border-radius: var(--radius-sm); }
}

/* ---------- hero ---------- */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero-name { display: block; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); font-weight: 800; }
.hero-role { display: block; margin-top: 14px; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); font-weight: 600; color: var(--accent); letter-spacing: -0.01em; line-height: 1.35; }
.hero-lead { font-size: 1.15rem; color: var(--text-muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.social a {
  display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  border-radius: 999px; border: 1px solid var(--border); color: var(--text-muted); font-size: 1.25rem; text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}
.social a:hover { color: var(--accent); border-color: var(--accent); }
.hero-media { justify-self: end; width: 100%; max-width: 420px; }
.hero-media img {
  width: 100%; border-radius: var(--radius); background: var(--photo-bg);
  box-shadow: var(--shadow); aspect-ratio: 800 / 1102; object-fit: cover;
}

.facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 48px 0 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.facts > div { padding: 22px 26px; }
.facts > div + div { border-left: 1px solid var(--border); }
.facts dt { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--accent); letter-spacing: -0.01em; }
.facts dd { margin: 4px 0 0; color: var(--text-muted); font-size: .95rem; line-height: 1.45; }

@media (max-width: 900px) {
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { justify-self: center; max-width: 300px; }
  .facts { grid-template-columns: 1fr; }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--border); }
}

/* ---------- banner (accent panel with seal) ---------- */
.banner { padding: 40px 0; }
.banner-grid {
  display: grid; grid-template-columns: 1fr 220px; gap: 40px; align-items: center;
  background: #a52a2a; color: #fdf6f5; border-radius: var(--radius); padding: 48px 56px;
}
.banner-text { font-size: 1.1rem; line-height: 1.7; }
.banner-text p { margin: 0 0 .8em; }
.banner-text strong, .banner-text b { color: #ffffff; }
.banner-text h1, .banner-text h2, .banner-text h3 { color: #ffffff; }
.banner-text a { color: #ffffff; }
.banner-seal { background: #ffffff; border-radius: 999px; padding: 10px; justify-self: center; width: 200px; }
.banner-seal img { width: 100%; }
@media (max-width: 900px) {
  .banner-grid { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
  .banner-seal { width: 160px; }
}

/* ---------- about ---------- */
.about { padding: 72px 0; }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.about-media { margin: 0; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-radius: var(--radius); padding: 48px 24px 0; border: 1px solid var(--border); overflow: hidden; }
.about-media img { width: 100%; }
.prose { color: var(--text-muted); }
.prose p { margin: 0 0 1em; }
.prose strong, .prose b { color: var(--text); }
.bdu-badge { margin-top: 24px; width: min(320px, 100%); border-radius: 6px; }
@media (max-width: 900px) {
  .about { padding: 48px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- services ---------- */
.services { padding: 72px 0; background: var(--surface); border-block: 1px solid var(--border); }
.section-title { margin-bottom: 32px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.service-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.service-card p { color: var(--text-muted); flex: 1; }
.service-icon {
  display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center;
  border-radius: 14px; background: var(--accent-soft); color: var(--accent); font-size: 1.6rem; margin-bottom: 20px;
}
@media (max-width: 760px) { .service-grid { grid-template-columns: minmax(0, 1fr); } .service-card { padding: 24px; } .services { padding: 48px 0; } }

/* ---------- explainer ---------- */
.explainer { padding: 72px 0; }
.explainer-inner { max-width: 820px; border-left: 4px solid var(--accent); padding-left: 32px; }
.explainer-inner .prose { font-size: 1.08rem; }
@media (max-width: 760px) { .explainer { padding: 48px 0; } .explainer-inner { padding-left: 20px; } }

/* ---------- contact ---------- */
.contact { padding: 72px 0 88px; background: var(--surface); border-top: 1px solid var(--border); }
.contact-head { max-width: 640px; margin-bottom: 32px; }
.contact-head p { color: var(--text-muted); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; color: var(--text); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.contact-side { display: flex; flex-direction: column; gap: 20px; }
.contact-list { list-style: none; margin: 0; padding: 24px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list i { font-size: 1.35rem; color: var(--accent); margin-top: 2px; }
.contact-list strong { display: block; font-size: .85rem; color: var(--text-muted); font-weight: 600; }
.contact-list a { color: var(--text); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--accent); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 900px) {
  .contact { padding: 48px 0 64px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
}

/* ---------- landing pages ---------- */
.page-hero { padding: 48px 0 40px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 220px; gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; }
.page-hero-seal { background: #ffffff; border-radius: 999px; padding: 10px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
@media (max-width: 760px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } .page-hero-seal { width: 120px; } }

.landing-body { padding: 24px 0 72px; }
.landing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 20px; }
.landing-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.landing-block-wide { grid-column: 1 / -1; }
.landing-block-wide .check-list:has(li:nth-child(5)) { columns: 2; column-gap: 32px; }
.landing-block h2 { font-size: 1.35rem; }
.landing-block p { color: var(--text-muted); }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; gap: 10px; break-inside: avoid; margin-bottom: 10px; color: var(--text); }
.check-list i { color: var(--accent); font-size: 1.15rem; margin-top: 4px; flex-shrink: 0; }
@media (max-width: 760px) {
  .landing-grid { grid-template-columns: minmax(0, 1fr); }
  .landing-block { padding: 24px; }
  .landing-block-wide .check-list:has(li:nth-child(5)) { columns: 1; }
}

.faq { padding: 0 0 72px; }
.faq-inner { max-width: 860px; }
.faq-list { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 24px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--accent); transition: transform .2s ease; flex-shrink: 0; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { color: var(--text-muted); padding-bottom: 20px; margin: 0; }

.cta-band { padding: 0 0 88px; }
.cta-band-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  background: #a52a2a; color: #fdf6f5; border-radius: var(--radius); padding: 40px 48px;
}
.cta-band h2 { color: #ffffff; margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-band-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
@media (max-width: 760px) { .cta-band-inner { padding: 32px 24px; } }

/* ---------- footer ---------- */
.site-footer { background: #1c1c1f; color: #d4d4d8; padding: 56px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 0.9fr; gap: 32px; }
.footer-brand img { height: 36px; width: auto; margin-bottom: 20px; }
.site-footer .social a { border-color: #3f3f46; color: #d4d4d8; }
.site-footer .social a:hover { color: #ffffff; border-color: #ffffff; }
.footer-col { display: flex; flex-direction: column; gap: 4px; }
.footer-col strong { color: #ffffff; font-weight: 600; margin-top: 10px; }
.footer-col strong:first-child { margin-top: 0; }
.footer-col a, .footer-col .link-button { color: #d4d4d8; text-decoration: none; padding: 3px 0; }
.footer-col a:hover { color: #ffffff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #3f3f46; margin-top: 40px; padding-top: 20px; color: #a1a1aa; font-size: .875rem; }
.footer-bottom a { color: #d4d4d8; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-col a { overflow-wrap: anywhere; }

/* ---------- legal dialogs ---------- */
.legal-dialog {
  width: min(860px, calc(100% - 32px)); max-height: 85dvh; padding: 0;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text);
  box-shadow: var(--shadow);
}
.legal-dialog::backdrop { background: rgb(17 17 19 / 0.55); }
.legal-dialog-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; background: var(--surface); border-bottom: 1px solid var(--border); }
.legal-dialog-head h2 { margin: 0; font-size: 1.3rem; }
.dialog-close { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 1.1rem; cursor: pointer; }
.legal-dialog-body { padding: 24px; font-size: .95rem; color: var(--text-muted); overflow-wrap: anywhere; }
.legal-dialog-body h1, .legal-dialog-body h2, .legal-dialog-body h3 { font-size: 1.1rem; margin-top: 1.2em; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- conversion: header CTA, mobile action bar, CTA band buttons ---------- */
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .925rem; }
.header-cta { margin-right: 4px; }
.btn-outline-light { border-color: rgb(255 255 255 / .6); color: #ffffff; background: transparent; }
.btn-outline-light:hover { border-color: #ffffff; background: rgb(255 255 255 / .1); color: #ffffff; }
.cta-band-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band-home { padding: 0 0 72px; }
.main-nav a[aria-current] { color: var(--accent); }

.mobile-actions { display: none; }
@media (max-width: 1060px) { .header-cta { display: none; } }
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .mobile-actions {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
  }
  .mobile-actions a {
    display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px;
    border-radius: 999px; border: 1px solid var(--border); color: var(--text); white-space: nowrap; padding: 0 8px;
    font-family: var(--font-display); font-weight: 700; font-size: .9rem; text-decoration: none;
  }
  .mobile-actions a i { font-size: 1.2rem; }
  .mobile-actions a.is-primary { background: var(--fill); border-color: var(--fill); color: var(--fill-ink); }
}

/* ---------- at a glance (citable fact block) ---------- */
.glance { padding: 24px 0 56px; }
.glance-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.glance-lead { color: var(--text-muted); font-size: 1.05rem; }
.glance-list { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.glance-list > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 22px; }
.glance-list > div + div { border-top: 1px solid var(--border); }
.glance-list dt { font-weight: 600; color: var(--text); font-size: .95rem; }
.glance-list dd { margin: 0; color: var(--text-muted); font-size: .95rem; line-height: 1.5; }
@media (max-width: 900px) {
  .glance-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .glance-list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 18px; }
}

/* ---------- guides ---------- */
.guides-teaser { padding: 72px 0; }
.guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.guide-link {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 700; line-height: 1.35;
  transition: border-color .2s ease;
}
.guide-link i { color: var(--accent); flex-shrink: 0; transition: transform .2s ease; }
.guide-link:hover { border-color: var(--accent); color: var(--text); }
.guide-link:hover i { transform: translateX(3px); }
@media (max-width: 760px) { .guide-list { grid-template-columns: minmax(0, 1fr); } .guides-teaser { padding: 48px 0; } }

.page-hero-guide .page-hero-grid { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
.guide-meta { font-size: .9rem; color: var(--text-muted); margin-bottom: 16px; }
.summary-box { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border)); border-radius: var(--radius); padding: 26px 26px 16px; }
.summary-box h2 { font-size: 1.15rem; margin-bottom: 14px; }
@media (max-width: 900px) { .page-hero-guide .page-hero-grid { grid-template-columns: minmax(0, 1fr); } }

.sources, .related { margin-top: 48px; }
.sources h2, .related h2 { font-size: 1.3rem; }
.sources ul { margin: 0 0 12px; padding-left: 20px; }
.sources li { margin-bottom: 6px; }
.disclaimer { font-size: .9rem; color: var(--text-muted); }

.guide-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.guide-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.guide-card h2 { font-size: 1.3rem; }
.guide-card h2 a { color: var(--text); text-decoration: none; }
.guide-card h2 a:hover { color: var(--accent); }
.guide-card p { color: var(--text-muted); flex: 1; }
@media (max-width: 760px) { .guide-cards { grid-template-columns: minmax(0, 1fr); } .guide-card { padding: 24px; } }
