:root{
  --bg: #0b0d12;
  --surface: rgba(255,255,255,.04);
  --surface-2: rgba(255,255,255,.06);
  --text: #e9eefc;
  --muted: #b6c0dd;
  --line: rgba(255,255,255,.14);
  --accent: #6aa6ff;

  --radius: 16px;
  --shadow: 0 12px 28px rgba(0,0,0,.32);
  --max: 1100px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1000px 650px at 15% -10%, rgba(106,166,255,.25), transparent 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(106,166,255,.12), transparent 55%),
    var(--bg);
}

a{ color: var(--text); text-underline-offset: 3px; }
a:hover{ text-decoration-thickness: 2px; }

.container{
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.section{ padding: 1.6rem 0; }
h1,h2,h3{ margin: 0 0 .8rem; line-height: 1.2; }
h2{ font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem); }
h3{ font-size: 1.05rem; }

.muted{ color: var(--muted); }
.small{ font-size: .95rem; }

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  padding: .6rem .8rem;
  background: #000;
  color: #fff;
  border-radius: 10px;
  z-index: 10;
}
.skip-link:focus{ left: .75rem; top: .75rem; }

/* Header */
.site-header{
  padding: 1.5rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.06), transparent);
}

.header-grid{
  display: grid;
  gap: 1rem;
  align-items: center;
}

.brand{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  align-items: center;
}

.brand-mark{
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  font-weight: 800;
  background: rgba(106,166,255,.95);
  color: #0b0d12;
  box-shadow: var(--shadow);
}

.eyebrow{ margin: 0; color: var(--muted); font-size: .95rem; }
.subtitle{ margin: .15rem 0 0; color: var(--muted); }

.quote-card{
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.quote{ margin: 0; }

/* Nav */
.site-nav{
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(11,13,18,.72);
  backdrop-filter: blur(10px);
}

.nav-wrap{
  display: flex;
  gap: .7rem;
  overflow-x: auto;
  padding: .75rem 0;
}
.nav-wrap a{
  white-space: nowrap;
  text-decoration: none;
  padding: .45rem .7rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
}
.nav-wrap a:hover{
  background: rgba(255,255,255,.06);
}

/* Cards */
.card{
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.card.inner{
  padding: 1rem 1rem;
  background: var(--surface-2);
}

/* Lists */
.list{ margin: .4rem 0 0; padding-left: 1.15rem; }
.list li{ margin: .35rem 0; }
.numbered{ padding-left: 1.25rem; }

/* Intro layout */
.intro-grid{
  display: grid;
  gap: 1rem;
  align-items: start;
}

.figure{
  margin: 0;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
  border-radius: 14px;
  padding: .75rem;
}
.figure img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.figure.wide{ margin-top: .8rem; }

.actions{
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .6rem;
  margin-bottom: .9rem;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.btn:hover{ background: rgba(255,255,255,.08); }

.btn-primary{
  border-color: rgba(106,166,255,.55);
  background: rgba(106,166,255,.20);
}

/* PDF preview */
.pdf-iframe{
  width: 100%;
  height: min(80vh, 820px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(0,0,0,.14);
}

/* Video embed */
.video-embed{
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.14);
  margin-top: .7rem;
}
.video-embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Callout */
.callout{
  margin-top: 1rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(106,166,255,.30);
  background: rgba(106,166,255,.10);
  border-radius: 14px;
}

/* Details */
.details{
  margin-top: .9rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(0,0,0,.14);
  overflow: hidden;
}
.details > summary{
  cursor: pointer;
  padding: .85rem 1rem;
  font-weight: 750;
  list-style: none;
}
.details > summary::-webkit-details-marker{ display: none; }
.details[open] > summary{
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.details-body{ padding: .95rem 1rem 1rem; }

.sample hr{
  border: none;
  border-top: 1px dashed rgba(255,255,255,.22);
  margin: .8rem 0;
}

/* Mono block */
.mono-box{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  border-radius: 14px;
  padding: .9rem 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: .95rem;
  color: rgba(233,238,252,.92);
}
.mono-box p{ margin: 0 0 .7rem; }
.mono-box p:last-child{ margin-bottom: 0; }

/* Badge */
.badge-row{ margin: .8rem 0; }
.badge{
  display: inline-block;
  padding: .35rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(106,166,255,.12);
}

/* Signatures */
.signoff{ margin-top: 1.2rem; }
.sig-grid{
  display: grid;
  gap: 1rem;
  margin-top: .9rem;
}
.sig{
  padding: .7rem .7rem .3rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.sig-line{
  height: 0;
  border-top: 2px solid rgba(255,255,255,.30);
  margin: .6rem 0 .55rem;
}
.sig-name{ margin: 0; color: var(--muted); }

/* Footer */
.site-footer{
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
  background: rgba(255,255,255,.02);
}
.footer-grid{
  display: grid;
  gap: .35rem;
}

/* Responsive */
@media (min-width: 780px){
  .header-grid{
    grid-template-columns: 1.15fr .85fr;
    align-items: start;
  }

  .intro-grid{
    grid-template-columns: 1.2fr .8fr;
  }

  .sig-grid{
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-grid{
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; }
}
.brand-mark{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  overflow: hidden; /* fontos, hogy a logó ne lógjon ki */
}

.brand-logo{
  width: 100%;
  height: 100%;
  object-fit: contain;   /* a logó aránya megmarad */
  padding: 8px;          /* egy kis belső tér, hogy ne érjen a széléhez */
  display: block;
}
