/* AIaboutAI – közös megjelenés, csak statikus oldalakhoz. */
:root {
  color-scheme: dark;
  --bg: #101319;
  --surface: #191f29;
  --surface-2: #222c3a;
  --text: #f1f3f7;
  --muted: #abb8c9;
  --border: #364252;
  --accent: #90c5ff;
  --focus: #e9bb6b;
  --max-article: 880px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; font: 16px/1.7 system-ui,-apple-system,"Segoe UI",Arial,sans-serif; color: var(--text); background: var(--bg); }
a { color: var(--accent); text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { color: #c6e0ff; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1120px; margin: 0 auto; padding: 22px 24px; flex-wrap: wrap; }
.brand { font-size: 25px; font-weight: 850; letter-spacing: -.06em; color: var(--text); text-decoration: none; }
.brand span { color: var(--accent); }
.back-link { font-size: 14px; text-decoration: none; }
.page-content { width: min(calc(100% - 32px),var(--max-article)); margin: 18px auto 56px; padding: clamp(22px,4vw,48px); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.page-intro { margin-bottom: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
h1 { margin: 0 0 6px; font-size: clamp(30px,4.8vw,42px); line-height: 1.2; letter-spacing: -.04em; }
h2 { margin: 32px 0 14px; font-size: clamp(19px,2.5vw,24px); line-height: 1.35; letter-spacing: -.01em; }
p { margin: 0 0 15px; }
ul { margin: 0 0 18px; padding-left: 24px; }
li { margin: 4px 0; }
hr { margin: 30px 0; border: 0; border-top: 1px solid var(--border); }
.domain { margin-bottom: 4px; font-size: 17px; }
.updated { font-size: 14px; font-style: italic; color: var(--muted); margin-bottom: 0; }
.policy-content { width: min(calc(100% - 32px),var(--max-article)); margin: 18px auto 56px; padding: clamp(22px,4vw,48px); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.policy-intro { margin-bottom: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.policy-content section { padding: 16px 0 12px; border-bottom: 1px solid var(--border); }
.policy-content section:last-child { border-bottom: none; }
.policy-content section h2:first-child { margin-top: 0; }
.policy-content blockquote { margin: 18px 0; border-left: 4px solid var(--accent); padding: 12px 18px; background: var(--surface-2); border-radius: 0 8px 8px 0; }
.policy-content blockquote p:last-child { margin-bottom: 0; }
.policy-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin-bottom: 20px; }
.policy-content th, .policy-content td { padding: 12px 14px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.policy-content th { color: #fff; background: var(--surface-2); }
.policy-footer { max-width: var(--max-article); width: min(calc(100% - 32px),var(--max-article)); margin: 0 auto 34px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.contact-intro { margin-bottom: 26px; }
.contact-form { display: grid; gap: 22px; }
.contact-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.contact-form legend, .contact-form label { font-size: 14px; font-weight: 700; display: block; margin-bottom: 8px; }
.contact-form .name-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form .name-fields label { color: var(--muted); font-size: 12px; font-weight: 500; margin: 4px 0 0; }
.contact-form input, .contact-form textarea { width: 100%; max-width: 100%; padding: 11px 12px; border: 1px solid #57677d; background: #101720; color: var(--text); border-radius: 7px; font: inherit; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .required { color: #ffb0af; }
.contact-form .form-field { margin: 0; }
.contact-form button { justify-self: start; padding: 11px 22px; color: #fff; background: #316caa; border-radius: 8px; border: 1px solid #5a98d9; font: inherit; font-weight: 700; }
.contact-form button:disabled { opacity: .55; cursor: not-allowed; }
.archive-empty { min-height: 200px; }
/* Kezdőlap: az index kizárólag központi szerkezet és navigáció. */
body.home-page { display: flex; flex-direction: column; }
.home-main { flex: 1; display: grid; place-items: center; padding: 42px 20px; }
.home-main h1 { font-size: clamp(30px,5vw,42px); }
.site-footer { border-top: 1px solid var(--border); padding: 24px 16px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 26px; }
.footer-links a { color: #c0cbd9; text-decoration: none; font-size: 14px; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--text); text-decoration: underline; }
@media (max-width: 600px) {
  .site-header { padding: 16px; }
  .page-content, .policy-content { width: calc(100% - 20px); margin-top: 4px; padding: 24px 18px; border-radius: 11px; }
  .contact-form .name-fields { grid-template-columns: 1fr; }
  .policy-content th,.policy-content td { padding: 10px; }
}

/* New AIaboutAI brand: usable on every page sharing style.css. */
.site-header .brand {
  display: block;
  width: clamp(155px, 24vw, 225px);
  height: 51px;
  flex-shrink: 0;
  background: url('/assets/logo1.png') center left / contain no-repeat;
  font-size: 0;
  line-height: 0;
  color: transparent;
  white-space: nowrap;
  overflow: hidden;
}
.site-header .brand span { color: transparent; }
.site-copyright { color: var(--muted); font-size: 13px; text-align: center; margin: 15px 0 0; }
