/* Bodri brand tokens (source: Márkaműhely, 03-Logokeszlet/04-Utmutato/bodri-szinek.css) */
:root {
  --bodri-sotetkek: #24324b;
  --bodri-kek: #647daa;
  --bodri-kekszurke: #edf1f7;
  --bodri-tortfeher: #fafbfd;
  --bodri-korall: #d66b60;

  /* UI tokens derived from the website design preview */
  --ink: var(--bodri-sotetkek);
  --bg: #ffffff;
  --soft: #f6f8fb;
  --pale: #e1e9f6;
  --line: #dbe2ec;
  --muted: #59667b;
  --eyebrow: #4a6593; /* darker than --bodri-kek for small-text contrast */
  --radius: 18px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.04em; }
h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 730; }
h3 { font-size: 20px; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #466fba; outline-offset: 4px; }
img { max-width: 100%; }

.wrap { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 99; background: #fff; padding: 12px; }
.skip:focus { top: 12px; }
.eyebrow { font-size: 12px; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; color: var(--eyebrow); }
.section { padding: 96px 0; }
.section-lead { color: var(--muted); font-size: 17px; line-height: 1.75; max-width: 600px; margin-top: 20px; }
.small-note { font-size: 12px; color: var(--muted); line-height: 1.7; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 21px; border: 1px solid var(--ink); border-radius: 9px;
  font-weight: 650; font-size: 15px; line-height: 1.35; background: var(--ink); color: #fff;
  transition: background 0.18s, transform 0.18s;
}
.button:hover { background: #354866; transform: translateY(-1px); }
.button.light { color: var(--ink); background: #fff; border-color: var(--line); }
.button.light:hover { background: var(--soft); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 15px; border-bottom: 1px solid #aab7cc; padding-bottom: 3px; }
.text-link:hover { color: #416391; }

/* Draft banner */
.draft-note { background: var(--ink); color: #e0e7f2; text-align: center; font-size: 12px; padding: 7px 16px; letter-spacing: 0.02em; }

/* Header */
header { position: sticky; top: 0; z-index: 30; background: #ffffffef; border-bottom: 1px solid #e7ebf1; backdrop-filter: blur(14px); }
.nav { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { display: block; width: 145px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: #47556b; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { min-height: 42px; padding: 9px 16px; font-size: 13px; }

/* Hero */
.hero { background: var(--bodri-kekszurke); }
.hero-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; padding: 84px 0 72px; align-items: center; }
.launch-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; font-size: 13px; font-weight: 650; }
.launch-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bodri-korall); }
.hero h1 { font-size: clamp(40px, 4.8vw, 64px); font-weight: 760; line-height: 1.05; letter-spacing: -0.05em; margin: 22px 0 24px; max-width: 560px; }
.coral { color: var(--bodri-korall); }
.hero-intro { font-size: 18px; line-height: 1.65; max-width: 470px; color: #4c5c74; }
.hero-intro strong { font-weight: 650; color: var(--ink); }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.hero-trust { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 22px; }
.hero-trust .icon { width: 16px; height: 16px; }

/* Illustrative app window (sample data) */
.app-window { border: 1px solid #ced7e5; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 22px 70px #24324b14; transform: rotate(-1deg); min-width: 0; }
.window-bar { height: 34px; background: #f9fafc; border-bottom: 1px solid #e0e6ef; display: flex; align-items: center; gap: 5px; padding: 0 12px; }
.window-bar i { height: 6px; width: 6px; border-radius: 50%; background: #c8d1de; }
.window-bar span { font-size: 10px; margin: auto; color: #6b7890; padding-right: 25px; }
.app-layout { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 380px; }
.app-side { background: var(--ink); padding: 22px 12px; color: #e3eaf4; }
.app-side img { width: 92px; height: auto; display: block; }
.app-menu { display: grid; gap: 6px; margin-top: 24px; }
.app-menu span { display: flex; align-items: center; gap: 7px; font-size: 10px; padding: 8px 6px; color: #ccd7e8; border-radius: 5px; }
.app-menu span.on { background: #445a7c; color: #fff; }
.app-menu .icon { width: 13px; height: 13px; }
.app-main { padding: 24px 20px 20px; min-width: 0; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.app-head h3 { font-size: 18px; }
.sample { font-size: 10px; font-weight: 650; color: #355383; background: var(--pale); border-radius: 4px; padding: 3px 7px; white-space: nowrap; }
.app-sub { font-size: 11px; color: var(--muted); margin-bottom: 20px; }
.waiting { display: flex; align-items: flex-start; gap: 10px; background: #f8f9fc; border: 1px solid #e0e6ef; border-radius: 8px; padding: 13px 12px 13px 15px; margin-bottom: 20px; position: relative; }
.waiting::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 0; width: 3px; background: var(--bodri-korall); border-radius: 4px; }
.waiting .icon { width: 17px; height: 17px; margin-top: 2px; }
.waiting h4 { font-size: 12px; margin: 0 0 3px; }
.waiting p { font-size: 10px; line-height: 1.5; color: var(--muted); }
.app-section-title { font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.project-mini { border: 1px solid #e0e6ef; border-radius: 7px; padding: 10px; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.project-mini .icon { width: 18px; height: 18px; }
.project-mini strong { display: block; font-size: 11px; }
.project-mini small { font-size: 10px; color: var(--muted); display: block; margin-top: 2px; }
.app-caption { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: #5f6d84; margin-top: 16px; text-align: center; }
.app-caption .icon { width: 14px; height: 14px; }

/* What is Bodri */
.title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.title-row > p { max-width: 380px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip article { padding: 26px 26px 28px 0; }
.strip article + article { padding-left: 26px; border-left: 1px solid var(--line); }
.strip .icon { color: var(--bodri-kek); width: 24px; height: 24px; margin-bottom: 14px; }
.strip h3 { font-size: 18px; margin-bottom: 10px; }
.strip p { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* Audience */
.audience { background: var(--soft); border-top: 1px solid #edf0f4; border-bottom: 1px solid #edf0f4; }
.two-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.path { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 34px; background: #fff; }
.path.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.icon-box { height: 44px; width: 44px; background: var(--pale); display: grid; place-items: center; border-radius: 11px; margin-bottom: 22px; }
.path.dark .icon-box { background: #34455f; color: #dfe8fa; }
.path h3 { font-size: 23px; margin-bottom: 14px; }
.path p { font-size: 15px; color: var(--muted); line-height: 1.8; }
.path.dark p { color: #c4cfe1; }
.path ul { padding: 0; list-style: none; display: grid; gap: 12px; margin: 24px 0 0; font-size: 14px; }
.path li { display: flex; gap: 9px; align-items: flex-start; }
.path li .icon { width: 16px; height: 16px; color: var(--bodri-kek); margin-top: 3px; }
.path.dark li .icon { color: #bacbec; }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.package { border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.package .icon { color: var(--bodri-kek); width: 24px; height: 24px; }
.package h3 { font-size: 18px; }
.package p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.packages-note { margin-top: 22px; max-width: 760px; }

/* Principle */
.principle { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; background: #edf2f9; border: 1px solid var(--line); border-radius: 20px; padding: 44px 48px; }
.principle h2 { font-size: clamp(28px, 3.2vw, 36px); }
.principle > div > p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-top: 18px; }
.principle-line { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid #d7dfec; }
.principle-line:last-child { border-bottom: 0; }
.principle-line .icon { color: #46638d; margin-top: 2px; }
.principle-line strong { font-size: 15px; display: block; }
.principle-line span { font-size: 13px; color: var(--muted); display: block; margin-top: 3px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
summary { padding: 22px 0; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 16px; font-weight: 650; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--bodri-kek); flex: none; transition: transform 0.18s; }
details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { font-size: 15px; color: var(--muted); line-height: 1.8; padding: 0 32px 22px 0; }
.faq-list a { text-decoration: underline; text-underline-offset: 3px; }

/* Contact */
.closing { padding: 72px 0; background: var(--ink); color: #fff; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.closing h2 { font-size: clamp(30px, 3.6vw, 40px); }
.closing p { font-size: 16px; color: #c3cfe2; margin-top: 14px; max-width: 600px; }
.closing .button { background: #fff; color: var(--ink); border-color: #fff; white-space: nowrap; }
.closing .button:hover { background: #e9eff8; }
.closing .mail { display: block; margin-top: 10px; font-size: 14px; color: #c3cfe2; text-align: center; }

/* Footer */
.footer { padding: 36px 0 24px; background: #f7f9fc; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer .brand img { width: 120px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 18px; display: flex; justify-content: space-between; gap: 24px; font-size: 12px; color: #5f6b80; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-inner { gap: 32px; padding-top: 64px; }
  .packages { grid-template-columns: 1fr 1fr; }
  .principle { padding: 34px; gap: 34px; }
  .faq-grid { gap: 48px; }
  .section { padding: 80px 0; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .wrap { width: calc(100% - 32px); }
  .nav { height: 68px; }
  .brand img { width: 128px; }
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 44px 0 40px; gap: 36px; }
  .hero h1 { margin: 18px 0 20px; }
  .hero-intro { font-size: 17px; }
  .app-window { transform: none; }
  .app-layout { grid-template-columns: 88px minmax(0, 1fr); min-height: 340px; }
  .app-side { padding: 18px 8px; }
  .app-side img { width: 70px; }
  .app-menu span { font-size: 9px; gap: 5px; padding: 7px 4px; }
  .app-main { padding: 20px 14px; }
  .section { padding: 64px 0; }
  .title-row { display: block; }
  .title-row > p { max-width: 100%; margin-top: 18px; }
  .section-lead { font-size: 16px; }
  .strip { grid-template-columns: 1fr; margin-top: 30px; }
  .strip article, .strip article + article { padding: 22px 0; border-left: 0; }
  .strip article + article { border-top: 1px solid var(--line); }
  .two-paths, .packages { grid-template-columns: 1fr; margin-top: 30px; gap: 16px; }
  .path { padding: 26px; }
  .principle { grid-template-columns: 1fr; padding: 26px; gap: 16px; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .closing { padding: 52px 0; }
  .closing-inner { display: block; }
  .closing .cta { margin-top: 26px; display: inline-block; }
  .closing .mail { text-align: left; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .title-row h2 br, .principle h2 br, .closing h2 br, .faq-grid h2 br { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
