/* ==========================================================================
   danstack – fő stíluslap
   Két színmód (a látogató váltja a fejlécben, a rendszerbeállítást követi):
     • Sötét / Lime    – :root
     • Papír / Kobalt  – html.ds--light
   ========================================================================== */

:root {
	--bg: #0A0D12;
	--bg-alt: #10151C;
	--card: #161D27;
	--card-2: rgba(22, 29, 39, .45);
	--fg-rgb: 255, 255, 255;
	--line: rgba(255, 255, 255, .08);
	--line-strong: rgba(255, 255, 255, .16);
	--heading: #FFFFFF;
	--text: #E8ECF1;
	--text-soft: #C9D1DB;
	--muted: #8C97A6;
	--placeholder: #5D6876;
	--accent: #C8F04A;
	--accent-rgb: 200, 240, 74;
	--accent-ink: #12160A;
	--signal: #7AA2FF;
	--signal-rgb: 122, 162, 255;
	--field: #0A0D12;
	--header-bg: rgba(10, 13, 18, .6);
	--header-bg-solid: rgba(10, 13, 18, .9);
	--mobile-nav-bg: rgba(10, 13, 18, .98);
	--shadow: rgba(0, 0, 0, .7);
	--footer-bg: #080B0F;
	--noise: .035;
	--err-text: #FFD5D5;

	--f-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
	--f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
	--r-sm: 10px;
	--r: 16px;
	--r-lg: 24px;
	--container: 1560px;
	--header-h: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

.ds--light {
	--bg: #F5F2EB;
	--bg-alt: #ECE8DE;
	--card: #FFFFFF;
	--card-2: #FBFAF6;
	--fg-rgb: 17, 20, 26;
	--line: rgba(17, 20, 26, .10);
	--line-strong: rgba(17, 20, 26, .18);
	--heading: #0D1014;
	--text: #1B1F26;
	--text-soft: #333A45;
	--muted: #5C6573;
	--placeholder: #9AA1AB;
	--accent: #2340FF;
	--accent-rgb: 35, 64, 255;
	--accent-ink: #FFFFFF;
	--signal: #E2501F;
	--signal-rgb: 226, 80, 31;
	--field: #F5F2EB;
	--header-bg: rgba(245, 242, 235, .7);
	--header-bg-solid: rgba(245, 242, 235, .94);
	--mobile-nav-bg: rgba(245, 242, 235, .98);
	--shadow: rgba(40, 36, 25, .2);
	--noise: .05;
	--err-text: #9B1C1C;
}
/* Világos módban a lábléc sötét marad – kontrasztos lezárás. */
.ds--light .ds-footer {
	--bg: #0D1014;
	--line: rgba(255, 255, 255, .08);
	--heading: #FFFFFF;
	--text: #E8ECF1;
	--muted: #8C97A6;
	--accent: #8FA2FF;
	--accent-rgb: 143, 162, 255;
	--footer-bg: #0D1014;
}

/* ---------- Alap ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body.ds {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	transition: background-color .35s ease, color .35s ease;
}
body.ds::before {
	content: "";
	position: fixed; inset: 0;
	pointer-events: none; z-index: 100;
	opacity: var(--noise);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ds-section, .ds-header, .ds-service, .ds-pain, .ds-road__body, .ds-tech__group, .ds-start, .ds-qa, .ds-form-wrap {
	transition: background-color .35s ease, border-color .35s ease, color .35s ease, transform .35s var(--ease), box-shadow .35s ease;
}
.ds ::selection { background: var(--accent); color: var(--accent-ink); }
.ds a { color: inherit; text-decoration: none; }
.ds img { max-width: 100%; height: auto; display: block; }
.ds h1, .ds h2, .ds h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; margin: 0; color: var(--heading); }
.ds p { margin: 0; }
.ds em { font-style: normal; color: var(--accent); }
.ds-mono { font-family: var(--f-mono); }
.ds-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 3.5vw, 64px); box-sizing: border-box; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ds-skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.ds-skip:focus { top: 16px; }
.ds :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.ds-ico { width: 24px; height: 24px; }

/* ---------- Gombok ---------- */
.ds-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	font-family: var(--f-body); font-weight: 700; font-size: 15px; line-height: 1;
	padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
	cursor: pointer; white-space: nowrap; box-sizing: border-box;
	transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s, color .25s;
}
.ds-btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.ds-btn:hover svg { transform: translateX(3px); }
.ds-btn--primary { background: var(--accent); color: var(--accent-ink) !important; }
.ds-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(var(--accent-rgb), .55); }
.ds-btn--ghost { background: rgba(var(--fg-rgb), .03); color: var(--text); border-color: var(--line-strong); }
.ds-btn--ghost:hover { border-color: var(--accent); color: var(--heading); transform: translateY(-2px); }
.ds-btn--lg { padding: 18px 28px; font-size: 16px; }
.ds-btn--block { width: 100%; }

/* ---------- Fejléc ---------- */
.ds-header {
	position: sticky; top: 0; z-index: 50;
	height: var(--header-h);
	background: var(--header-bg);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid transparent;
}
.admin-bar .ds-header { top: 32px; }
.ds-header.is-scrolled { border-bottom-color: var(--line); background: var(--header-bg-solid); }
.ds-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ds-brand { display: flex; align-items: center; }
.ds-brand img { height: 34px; width: auto; }
.ds-logo--on-light { display: none !important; }
.ds--light .ds-logo--on-dark { display: none !important; }
.ds--light .ds-logo--on-light { display: block !important; }
.ds-brand__text { font-family: var(--f-display); font-size: 24px; font-weight: 800; color: var(--heading); }
.ds-brand__text b { color: var(--accent); }
.ds-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.ds-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.ds-nav ul a { font-size: 15px; font-weight: 600; color: var(--muted); position: relative; padding: 6px 0; transition: color .2s; }
.ds-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.ds-nav ul a:hover, .ds-nav ul a.is-active { color: var(--heading); }
.ds-nav ul a:hover::after, .ds-nav ul a.is-active::after { transform: scaleX(1); }
.ds-nav__cta { padding: 12px 18px; font-size: 14px; }
.ds-header__tools { display: flex; align-items: center; gap: 10px; }
.ds-theme-toggle, .ds-burger { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--heading); cursor: pointer; display: grid; place-items: center; padding: 0; transition: border-color .2s, transform .3s var(--ease); }
.ds-theme-toggle:hover { border-color: var(--accent); }
.ds-theme-toggle svg { width: 20px; height: 20px; }
.ds-theme-toggle:active svg { transform: rotate(40deg); }
.ds-theme-toggle__moon { display: none; }
.ds--light .ds-theme-toggle__sun { display: none; }
.ds--light .ds-theme-toggle__moon { display: block; }
.ds-burger { display: none; position: relative; }
.ds-burger span:not(.screen-reader-text) { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--heading); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.ds-burger span:nth-of-type(2) { top: 17px; }
.ds-burger span:nth-of-type(3) { top: 25px; }
.ds-burger[aria-expanded="true"] span:nth-of-type(2) { top: 21px; transform: rotate(45deg); }
.ds-burger[aria-expanded="true"] span:nth-of-type(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.ds-hero { position: relative; overflow: hidden; padding-top: clamp(56px, 9vw, 130px); }
.ds-hero__bg {
	position: absolute; inset: -20% -10% auto -10%; height: 120%;
	background:
		radial-gradient(600px 380px at 78% 32%, rgba(var(--accent-rgb), .12), transparent 70%),
		radial-gradient(520px 420px at 12% 8%, rgba(var(--signal-rgb), .10), transparent 70%),
		linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 64px 64px,
		linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 25%, transparent 72%);
	mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 25%, transparent 72%);
	pointer-events: none;
}
.ds-hero__grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 4vw, 72px); align-items: center; }
.ds-container.ds-hero__grid { max-width: 1560px; padding-inline: clamp(20px, 3.5vw, 64px); }
.ds-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 13px; color: var(--muted); border: 1px solid var(--line-strong); padding: 7px 14px; border-radius: 999px; background: rgba(var(--fg-rgb), .02); }
.ds-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: ds-pulse 2.4s infinite; }
@keyframes ds-pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .6); } 70% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); } }
.ds-hero__title { text-wrap: balance; font-size: clamp(40px, 4.6vw, 80px); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 28px 0 28px !important; }
.ds-hero__title em { background: linear-gradient(transparent 64%, rgba(var(--accent-rgb), .2) 64%); }
.ds-hero__lead { font-size: clamp(17px, 1.6vw, 20.5px); color: var(--muted); max-width: 580px; line-height: 1.6; }
.ds-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* Mini útvonal */
.ds-path { display: flex; flex-wrap: wrap; align-items: center; row-gap: 12px; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); max-width: 600px; }
.ds-path__step { position: relative; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text); padding-right: 40px; }
.ds-path__step:last-child { padding-right: 0; }
.ds-path__step:not(:last-child)::after { content: ""; position: absolute; right: 10px; top: 50%; width: 20px; height: 1px; background: var(--line-strong); }
.ds-path__step i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--accent); box-sizing: border-box; animation: ds-path 6s infinite; animation-delay: calc(var(--n) * 1.2s); }
@keyframes ds-path {
	0%, 4% { background: transparent; box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
	10%, 26% { background: var(--accent); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .15); }
	34%, 100% { background: transparent; box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

/* Eszköz-makett: laptop + telefon, „danstack | Raktárkezelés" demóval */
.ds-hero__visual { position: relative; width: 100%; display: flex; justify-content: flex-end; }
.ds-devices { position: relative; width: 100%; max-width: 900px; container-type: inline-size; padding: 0 0 3cqw; -webkit-user-select: none; user-select: none; pointer-events: none; }

.ds-laptop { position: relative; width: 90%; }
.ds-laptop__screen {
	position: relative; aspect-ratio: 16 / 10.4; box-sizing: border-box;
	background: #0B0E13; border: .25cqw solid #2B313B;
	border-radius: 2.2cqw 2.2cqw .7cqw .7cqw; padding: 1.3cqw;
	box-shadow: 0 5cqw 9cqw -4cqw var(--shadow);
}
.ds-laptop__screen::before { content: ""; position: absolute; top: .42cqw; left: 50%; width: .5cqw; height: .5cqw; border-radius: 50%; background: #2B313B; transform: translateX(-50%); }
.ds-laptop__base { position: relative; height: 2cqw; width: 112%; margin-left: -6%; background: linear-gradient(#3A414C, #1C2128 60%, #11151A); border-radius: .3cqw .3cqw 2cqw 2cqw; box-shadow: 0 2.4cqw 3cqw -1.6cqw var(--shadow); }
.ds-laptop__base::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: .65cqw; transform: translateX(-50%); background: rgba(0,0,0,.35); border-radius: 0 0 1cqw 1cqw; }
.ds--light .ds-laptop__base { background: linear-gradient(#E6E8EC, #C3C8CF 60%, #A2A8B0); }
.ds--light .ds-laptop__base::before { background: rgba(0,0,0,.12); }

/* Asztali alkalmazás */
.ds-app { position: relative; height: 100%; border-radius: .8cqw; overflow: hidden; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 1.45cqw; line-height: 1.3; display: flex; flex-direction: column; }
.ds-app__top { display: flex; align-items: center; gap: .8em; padding: .75em 1.1em; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.ds-app__mark { flex: none; width: 1.9em; height: 1.9em; border-radius: .5em; display: grid; place-items: center; background: var(--heading); color: var(--bg); font-family: var(--f-display); font-weight: 800; font-size: .85em; }
.ds-app__brand { font-weight: 700; color: var(--heading); white-space: nowrap; }
.ds-app__brand i { font-style: normal; color: var(--accent); margin: 0 .2em; }
.ds-app__search { margin-left: auto; padding: .45em .9em; border-radius: 2em; border: 1px solid var(--line); color: var(--muted); font-size: .82em; min-width: 10em; white-space: nowrap; }
.ds-app__avatar { flex: none; width: 2em; height: 2em; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--accent-rgb), .16); color: var(--accent); font-weight: 800; font-size: .78em; }
.ds-app__body { flex: 1; display: grid; grid-template-columns: 10.8em 1fr; min-height: 0; }
.ds-app__side { display: flex; flex-direction: column; gap: .2em; padding: .9em .6em; border-right: 1px solid var(--line); background: var(--bg-alt); }
.ds-app__side span { display: flex; align-items: center; gap: .6em; padding: .5em .6em; border-radius: .5em; color: var(--muted); font-size: .86em; font-weight: 600; white-space: nowrap; }
.ds-app__side b { flex: none; width: .55em; height: .55em; border-radius: .15em; border: 1.5px solid currentColor; opacity: .7; box-sizing: border-box; }
.ds-app__side .is-on { background: rgba(var(--accent-rgb), .12); color: var(--heading); }
.ds-app__side .is-on b { background: var(--accent); border-color: var(--accent); opacity: 1; }
.ds-app__main { min-width: 0; padding: .9em 1.1em; display: flex; flex-direction: column; gap: .75em; overflow: hidden; }
.ds-app__head { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.ds-app__head strong { font-family: var(--f-display); font-size: 1.25em; color: var(--heading); }
.ds-app__head span { font-family: var(--f-mono); font-size: .72em; color: var(--muted); }
.ds-app__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .55em; }
.ds-app__kpis div { min-width: 0; display: flex; flex-direction: column; gap: .15em; padding: .65em .75em; border-radius: .7em; background: var(--card); border: 1px solid var(--line); }
.ds-app__kpis small { font-size: .7em; color: var(--muted); white-space: nowrap; }
.ds-app__kpis strong { font-family: var(--f-display); font-size: 1.15em; font-weight: 800; color: var(--heading); white-space: nowrap; }
.ds-app__kpis em, .ds-app__low b { font-style: normal; font-size: .68em; color: var(--muted); }
.ds-app__kpis em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-app .up { color: var(--accent); }
.ds-app .warn { color: #E9A23B; }
.ds-app .bad { color: #F06A6A; }
.ds-app__grid { flex: none; height: 11.5em; display: grid; grid-template-columns: 1.45fr 1fr; gap: .55em; }
.ds-app__wh { flex: none; margin-left: .3em; padding: .4em .75em; border-radius: .5em; border: 1px solid var(--line); font-size: .8em; font-weight: 600; color: var(--text); white-space: nowrap; }
.ds-app__wh i { font-style: normal; color: var(--muted); margin-left: .2em; }
.ds-app__bell { flex: none; position: relative; width: 2em; height: 2em; border-radius: .5em; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.ds-app__bell svg { width: 1em; height: 1em; }
.ds-app__bell b { position: absolute; top: -.45em; right: -.45em; min-width: 1.35em; height: 1.35em; padding: 0 .2em; box-sizing: border-box; border-radius: 1em; background: #F06A6A; color: #fff; font-size: .6em; font-weight: 800; display: grid; place-items: center; }
.ds-app__side small { display: block; padding: .9em .6em .3em; font-family: var(--f-mono); font-size: .6em; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); opacity: .8; }
.ds-app__side small:first-child { padding-top: .1em; }
.ds-app__side em { margin-left: auto; font-style: normal; font-size: .78em; padding: .05em .5em; border-radius: 1em; background: rgba(var(--fg-rgb), .08); color: var(--text); }
.ds-app__seg { display: flex; padding: .2em; border-radius: .55em; background: rgba(var(--fg-rgb), .06); }
.ds-app__head .ds-app__seg span { font-family: var(--f-body); font-size: .74em; font-weight: 600; padding: .3em .85em; border-radius: .38em; color: var(--muted); }
.ds-app__head .ds-app__seg .is-on { background: var(--card); color: var(--heading); box-shadow: 0 .15em .4em rgba(0,0,0,.18); }
.ds-app__chart { background: repeating-linear-gradient(to top, transparent 0, transparent calc(25% - 1px), var(--line) calc(25% - 1px), var(--line) 25%) 0 0 / 100% calc(100% - 1.3em) no-repeat; }
.ds-app__moves { flex: none; gap: .1em; }
.ds-app__moves .ds-app__cardhead { margin-bottom: .35em; }
.ds-app__tr { display: grid; grid-template-columns: 3.6em minmax(0, 1.8fr) 3.4em 5em 4.4em; gap: .7em; align-items: center; padding: .48em 0; border-top: 1px solid var(--line); font-size: .78em; color: var(--text); }
.ds-app__tr span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-app__tr .ds-mono { font-size: .92em; color: var(--muted); }
.ds-app__th { border-top: 0; padding-top: 0; font-size: .7em; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ds-pill { display: inline-block; font-style: normal; padding: .12em .6em; border-radius: 1em; font-size: .88em; font-weight: 700; }
.ds-pill--in { background: rgba(var(--accent-rgb), .15); color: var(--accent); }
.ds-pill--out { background: rgba(var(--signal-rgb), .15); color: var(--signal); }
.ds-app__qty { font-weight: 700; }
.ds-app__qty--in { color: var(--heading); }
.ds-app__qty--out { color: var(--muted); }
.ds-app__card { min-height: 0; display: flex; flex-direction: column; gap: .6em; padding: .75em .85em; border-radius: .7em; background: var(--card); border: 1px solid var(--line); }
.ds-app__cardhead { display: flex; justify-content: space-between; align-items: center; gap: .6em; font-size: .82em; }
.ds-app__cardhead strong { color: var(--heading); }
.ds-app__cardhead span { display: inline-flex; align-items: center; gap: .35em; color: var(--muted); font-size: .85em; }
.ds-app__cardhead i { width: .6em; height: .6em; border-radius: .15em; }
.ds-app__cardhead i.in, .ds-app__col .in { background: var(--accent); }
.ds-app__cardhead i.out, .ds-app__col .out { background: rgba(var(--signal-rgb), .7); }
.ds-app__chart { flex: 1; min-height: 5em; display: grid; grid-template-columns: repeat(7, 1fr); gap: .45em; align-items: end; }
.ds-app__col { position: relative; height: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: .15em; align-items: end; padding-bottom: 1.3em; box-sizing: border-box; }
.ds-app__col span { height: var(--h); border-radius: .25em .25em .1em .1em; transform-origin: bottom; animation: ds-bar 1.1s var(--ease) both; animation-delay: calc(.7s + var(--bi) * .08s); }
.ds-app__col small { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: .62em; color: var(--muted); }
@keyframes ds-bar { from { transform: scaleY(0); } }
.ds-app__low { list-style: none; margin: 0; padding: 0; display: grid; gap: .8em; }
.ds-app__low li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .35em .6em; font-size: .8em; }
.ds-app__low span { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-app__low b { font-size: .9em; font-weight: 700; color: var(--heading); }
.ds-app__low i { grid-column: 1 / -1; position: relative; height: .35em; border-radius: 1em; background: rgba(var(--fg-rgb), .08); overflow: hidden; }
.ds-app__low i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--accent); }
.ds-app__low i.is-warn::after { background: #E9A23B; }
.ds-app__low i.is-bad::after { background: #F06A6A; }
.ds-app__kpis em b { font-weight: 700; }
.ds-app__toast { position: absolute; right: 1.2em; bottom: 1.2em; display: flex; align-items: center; gap: .5em; padding: .65em 1em; border-radius: .7em; background: var(--heading); color: var(--bg); font-size: .8em; font-weight: 700; box-shadow: 0 1.2em 2.4em -1em rgba(0,0,0,.55); opacity: 0; animation: ds-toast 7s var(--ease) infinite; animation-delay: 2.2s; }
.ds-app__toast b { display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: .9em; }
@keyframes ds-toast {
	0%, 6% { opacity: 0; transform: translateY(1em); }
	12%, 48% { opacity: 1; transform: none; }
	56%, 100% { opacity: 0; transform: translateY(.5em); }
}

/* Telefon */
.ds-phone {
	position: absolute; right: 0; bottom: 0; z-index: 2;
	width: 27%; aspect-ratio: 9 / 19; box-sizing: border-box;
	padding: .9cqw; border-radius: 4.4cqw;
	background: #0B0E13; border: .25cqw solid #2B313B;
	box-shadow: 0 5cqw 8cqw -2.5cqw var(--shadow), 0 0 0 .15cqw rgba(255,255,255,.04);
	animation: ds-float 7s ease-in-out infinite;
}
@keyframes ds-float { 50% { transform: translateY(-1.4cqw); } }
.ds-phone__screen { height: 100%; border-radius: 3.5cqw; overflow: hidden; background: var(--bg); }
.ds-mob { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: .75em; padding: .7em .85em .9em; font-family: var(--f-body); font-size: 1.45cqw; line-height: 1.3; color: var(--text); }
.ds-mob__status { display: flex; justify-content: space-between; align-items: center; font-size: .72em; font-weight: 700; color: var(--heading); }
.ds-mob__status span:last-child { font-size: .55em; letter-spacing: .1em; }
.ds-mob__island { width: 4.6em; height: 1.35em; border-radius: 1em; background: #0B0E13; }
.ds-mob__head small { display: block; font-family: var(--f-mono); font-size: .66em; color: var(--accent); }
.ds-mob__head strong { display: block; font-family: var(--f-display); font-size: 1.35em; color: var(--heading); }
.ds-mob__scan { position: relative; aspect-ratio: 1 / .82; border-radius: .9em; background: rgba(var(--fg-rgb), .04); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.ds-mob__scan::before {
	content: ""; position: absolute; inset: 13%;
	background:
		linear-gradient(var(--accent), var(--accent)) top left / 1.3em 2px no-repeat,
		linear-gradient(var(--accent), var(--accent)) top left / 2px 1.3em no-repeat,
		linear-gradient(var(--accent), var(--accent)) top right / 1.3em 2px no-repeat,
		linear-gradient(var(--accent), var(--accent)) top right / 2px 1.3em no-repeat,
		linear-gradient(var(--accent), var(--accent)) bottom left / 1.3em 2px no-repeat,
		linear-gradient(var(--accent), var(--accent)) bottom left / 2px 1.3em no-repeat,
		linear-gradient(var(--accent), var(--accent)) bottom right / 1.3em 2px no-repeat,
		linear-gradient(var(--accent), var(--accent)) bottom right / 2px 1.3em no-repeat;
}
.ds-mob__code { width: 56%; height: 34%; opacity: .85; background: repeating-linear-gradient(90deg, var(--heading) 0 .12em, transparent .12em .3em, var(--heading) .3em .38em, transparent .38em .55em, var(--heading) .55em .78em, transparent .78em .92em); }
.ds-mob__line { position: absolute; left: 13%; right: 13%; top: 20%; height: 2px; background: var(--accent); box-shadow: 0 0 .8em .2em rgba(var(--accent-rgb), .55); animation: ds-scan 2.4s ease-in-out infinite alternate; }
@keyframes ds-scan { to { top: 78%; } }
.ds-mob__item { display: grid; gap: .15em; padding: .7em .8em; border-radius: .8em; background: var(--card); border: 1px solid var(--line); }
.ds-mob__item small { font-family: var(--f-mono); font-size: .64em; color: var(--muted); }
.ds-mob__item strong { color: var(--heading); font-size: .95em; }
.ds-mob__item span { font-size: .75em; color: var(--muted); }
.ds-mob__item b { color: var(--heading); }
.ds-mob__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .45em; }
.ds-mob__actions span { text-align: center; padding: .65em .3em; border-radius: .7em; font-size: .72em; font-weight: 700; border: 1px solid var(--line-strong); color: var(--heading); }
.ds-mob__actions .pri { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.ds-mob__tabs { margin-top: auto; display: flex; justify-content: space-around; padding-top: .7em; border-top: 1px solid var(--line); }
.ds-mob__tabs i { width: 1.1em; height: 1.1em; border-radius: .35em; background: rgba(var(--fg-rgb), .12); }
.ds-mob__tabs .is-on { background: var(--accent); }

/* Keskeny konténer (mobil): egyszerűbb asztali nézet, nagyobb betű */
@container (max-width: 440px) {
	.ds-app, .ds-mob { font-size: 1.95cqw; }
	.ds-app__side, .ds-app__search, .ds-app__wh, .ds-app__bell, .ds-app__seg, .ds-app__moves { display: none; }
	.ds-app__grid { flex: 1; height: auto; min-height: 0; }
	.ds-app__body { grid-template-columns: 1fr; }
	.ds-app__kpis div:nth-child(n+3) { display: none; }
	.ds-app__kpis { grid-template-columns: repeat(2, 1fr); }
	.ds-app__grid { grid-template-columns: 1fr; }
	.ds-app__grid .ds-app__card:last-child { display: none; }
	.ds-app__toast { display: none; }
	.ds-mob__actions, .ds-mob__tabs { display: none; }
}

/* Futósáv */
.ds-marquee { position: relative; margin-top: clamp(64px, 9vw, 110px); border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ds-marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: ds-marquee 60s linear infinite; font-family: var(--f-display); font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; color: var(--muted); white-space: nowrap; }
.ds-marquee__track b { color: var(--accent); font-weight: 400; font-size: .7em; }
@keyframes ds-marquee { to { transform: translateX(-50%); } }

/* ---------- Szekciók ---------- */
.ds-section { position: relative; padding-block: clamp(88px, 12vw, 150px); }
.ds-section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.ds-head { max-width: 1040px; margin-bottom: clamp(44px, 6vw, 72px); }
.ds-head h2, .ds-road__intro h2, .ds-faq__head h2, .ds-contact__intro h2 { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -.03em; }
.ds-head > p:not(.ds-kicker) { margin-top: 20px; color: var(--muted); font-size: 18px; }
.ds-head--split { max-width: 1040px; display: block; }
.ds-head--split h2 { max-width: 1040px; }
.ds-head--split .ds-head__aside { margin-top: 22px; max-width: 680px; font-size: 18px; }
.ds-head h2, .ds-road__intro h2, .ds-faq__head h2, .ds-contact__intro h2 { text-wrap: balance; }
.ds-head__aside { color: var(--muted); font-size: 17.5px; }
.ds-head--center { text-align: center; margin-inline: auto; }
.ds-kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px !important; }
.ds-kicker span { color: var(--muted); padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: 6px; }

/* Problémák */
.ds-pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.ds-pain { background: var(--bg); padding: 36px 32px 38px; position: relative; }
.ds-pain:hover { background: var(--bg-alt); }
.ds-pain__n { display: block; font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.ds-pain h3 { font-size: 22px; margin-bottom: 10px; }
.ds-pain p { color: var(--muted); font-size: 15.5px; }
.ds-pain::before { content: ""; position: absolute; left: 32px; top: 0; width: 34px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.ds-pain:hover::before { transform: scaleX(1); }

/* Szolgáltatások */
.ds-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ds-service {
	position: relative; padding: 30px 26px 32px; border-radius: var(--r);
	background: linear-gradient(180deg, var(--card), var(--card-2));
	border: 1px solid var(--line);
	display: flex; flex-direction: column; gap: 12px;
	overflow: hidden;
}
.ds-service::after { content: ""; position: absolute; right: -80px; bottom: -110px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(var(--accent-rgb), .16), transparent 65%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.ds-service:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .35); box-shadow: 0 24px 50px -24px var(--shadow); }
.ds-service:hover::after { opacity: 1; }
.ds-service__ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .08); border: 1px solid rgba(var(--accent-rgb), .2); color: var(--accent); margin-bottom: 10px; }
.ds-service h3 { font-size: 20px; }
.ds-service p { color: var(--muted); font-size: 15px; }

/* Miért a DanStack? – roadmap */
.ds-road { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.ds-road__intro h2 { font-size: clamp(32px, 2.9vw, 48px); text-wrap: wrap; }
@media (min-width: 1200px) { .ds-nowrap { white-space: nowrap; } }
.ds-road__intro { position: sticky; top: calc(var(--header-h) + 48px); }
.ds-road__intro > p:not(.ds-kicker) { color: var(--muted); font-size: 18px; margin: 24px 0 32px; }
.ds-road__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.ds-road__rail { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.ds-road__fill { position: absolute; left: 0; top: 0; width: 100%; height: var(--p, 0%); background: linear-gradient(180deg, var(--accent), var(--signal)); transition: height .15s linear; }
.ds-road__step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start; }
.ds-road__dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: 14px; font-weight: 500; color: var(--muted); background: var(--bg); border: 1px solid var(--line-strong); transition: background .35s, color .35s, border-color .35s, box-shadow .35s; }
.ds-road__step.is-active .ds-road__dot { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .12); }
.ds-road__body { padding: 26px 28px 24px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(var(--fg-rgb), .015); }
.ds--light .ds-road__body { background: var(--card); }
.ds-road__step.is-active .ds-road__body { border-color: rgba(var(--accent-rgb), .3); }
.ds-road__body h3 { font-size: 23px; margin-bottom: 10px; }
.ds-road__body > p { color: var(--muted); font-size: 16px; }
.ds-road__body .ds-road__gain { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line-strong); color: var(--text); font-size: 15.5px; font-weight: 600; }
.ds-road__gain span { display: block; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 4px; }

/* Technológiák */
.ds-tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.ds-tech__group { padding: 26px 22px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
.ds--light .ds-tech__group { background: var(--card); }
.ds-tech__label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin: 0 0 16px 6px !important; }
.ds-tech__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ds-tech__item { display: flex; align-items: center; gap: 14px; padding: 10px 8px; border-radius: 12px; transition: background .2s; }
.ds-tech__item:hover { background: rgba(var(--fg-rgb), .04); }
.ds-tech__mark { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(var(--fg-rgb), .05); border: 1px solid var(--line); font-family: var(--f-mono); font-size: 13px; font-weight: 500; color: var(--heading); overflow: hidden; }
.ds-tech__mark img { width: 26px; height: 26px; object-fit: contain; }
.ds-tech__ph { width: 20px; height: 20px; color: var(--accent); opacity: .8; }
.ds-tech__name { font-size: 15.5px; font-weight: 600; color: var(--heading); }

/* Honnan indulsz? */
.ds-starts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ds-start { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 36px 32px 32px; border-radius: var(--r-lg); background: var(--bg-alt); border: 1px solid var(--line); overflow: hidden; }
.ds--light .ds-start { background: var(--card); }
.ds-start::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 220px at 100% 0%, rgba(var(--accent-rgb), .10), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.ds-start:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .4); box-shadow: 0 28px 60px -30px var(--shadow); }
.ds-start:hover::before { opacity: 1; }
.ds-start__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--accent); background: rgba(var(--accent-rgb), .08); border: 1px solid rgba(var(--accent-rgb), .2); margin-bottom: 8px; }
.ds-start h3 { font-size: 26px; }
.ds-start p { color: var(--muted); font-size: 16px; flex: 1; }
.ds-start__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; font-size: 15px; color: var(--accent); }
.ds-start__cta svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.ds-start:hover .ds-start__cta svg { transform: translateX(4px); }

/* GYIK */
.ds-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.ds-faq__head { position: sticky; top: calc(var(--header-h) + 48px); }
.ds-faq__head > p:not(.ds-kicker) { color: var(--muted); margin-top: 20px; }
.ds-faq__head a { color: var(--accent); border-bottom: 1px solid rgba(var(--accent-rgb), .4); }
.ds-faq__list { display: grid; gap: 12px; }
.ds-qa { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.ds--light .ds-qa { background: var(--card); }
.ds-qa[open] { border-color: rgba(var(--accent-rgb), .35); }
.ds-qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; font-family: var(--f-display); font-weight: 600; font-size: 18.5px; color: var(--heading); }
.ds-qa summary::-webkit-details-marker { display: none; }
.ds-qa summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--heading); transition: transform .35s var(--ease), background .3s, border-color .3s; }
.ds-qa summary i::before, .ds-qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); }
.ds-qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.ds-qa[open] summary i { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: rotate(180deg); }
.ds-qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.ds-qa__a { padding: 0 24px 24px; color: var(--muted); font-size: 16px; }

/* Kapcsolat */
.ds-contact { overflow: hidden; }
.ds-contact__glow { position: absolute; left: 50%; top: 10%; width: 900px; height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(var(--accent-rgb), .10), transparent); pointer-events: none; }
.ds-contact__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.ds-contact__intro > p:not(.ds-kicker) { color: var(--muted); font-size: 18px; margin: 24px 0 36px; }
.ds-contact__info { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ds-contact__info li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(var(--fg-rgb), .015); }
.ds--light .ds-contact__info li { background: var(--card); }
.ds-contact__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--accent); background: rgba(var(--accent-rgb), .08); border: 1px solid rgba(var(--accent-rgb), .2); flex: none; }
.ds-contact__info small { display: block; font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ds-contact__info a, .ds-contact__info span { font-weight: 700; color: var(--heading); font-size: 16.5px; }
.ds-contact__info a:hover { color: var(--accent); }

.ds-form-wrap { padding: clamp(26px, 4vw, 40px); border-radius: var(--r-lg); background: var(--bg-alt); border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -40px var(--shadow); }
.ds--light .ds-form-wrap { background: var(--card); }
.ds-form { display: grid; gap: 18px; }
.ds-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ds-field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.ds-field > span, .ds-field legend { font-size: 13.5px; font-weight: 700; color: var(--text); padding: 0; }
.ds-field legend { margin-bottom: 10px; }
.ds-form input[type="text"], .ds-form input[type="email"], .ds-form input[type="tel"], .ds-form textarea {
	width: 100%; font: inherit; font-size: 15.5px; color: var(--heading);
	background-color: var(--field); border: 1px solid var(--line-strong); border-radius: 12px;
	padding: 14px 16px; transition: border-color .2s, box-shadow .2s; box-sizing: border-box;
}
.ds-form textarea { resize: vertical; min-height: 130px; }
.ds-form input::placeholder, .ds-form textarea::placeholder { color: var(--placeholder); }
.ds-form input:focus, .ds-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12); }
.ds-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-pick label { cursor: pointer; position: relative; }
.ds-pick input { position: absolute; opacity: 0; pointer-events: none; }
.ds-pick span { display: inline-block; font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); transition: all .2s; }
.ds-pick label:hover span { color: var(--heading); border-color: rgba(var(--fg-rgb), .3); }
.ds-pick input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.ds-pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.ds-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.ds-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.ds-consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ds-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ds-alert { padding: 14px 18px; border-radius: 12px; font-size: 15px; margin-bottom: 20px; }
.ds-alert--ok { background: rgba(var(--accent-rgb), .1); border: 1px solid rgba(var(--accent-rgb), .4); color: var(--heading); }
.ds-alert--err { background: rgba(255,122,122,.08); border: 1px solid rgba(255,122,122,.4); color: var(--err-text); }
.ds-alert a { text-decoration: underline; }

/* ---------- Lábléc ---------- */
.ds-footer { border-top: 1px solid var(--line); padding: 76px 0 32px; background: var(--footer-bg); color: var(--text); }
.ds-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr .9fr; gap: 40px; }
.ds-footer__brand img { height: 32px; width: auto; margin-bottom: 18px; }
.ds-footer__brand p { color: var(--muted); font-size: 15px; max-width: 320px; margin-bottom: 18px; }
.ds-footer__contact a { font-weight: 700; color: var(--accent) !important; border-bottom: 1px solid rgba(var(--accent-rgb), .35); }
.ds-footer__col h3 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 16px; }
.ds-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ds-footer__col a { font-size: 15px; color: var(--text); transition: color .2s; }
.ds-footer__col a:hover { color: var(--accent); }
.ds-footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }

/* ---------- Belső oldalak ---------- */
.ds-page { padding-block: clamp(64px, 9vw, 120px); }
.ds-page__head { max-width: 820px; margin-bottom: 40px; }
.ds-page__head h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; }
.ds-page__meta { margin-top: 14px; font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.ds-prose { max-width: 780px; color: var(--text); font-size: 17px; }
.ds-prose > * + * { margin-top: 1.1em; }
.ds-prose h2 { font-size: 28px; margin-top: 1.9em; }
.ds-prose h3 { font-size: 22px; margin-top: 1.6em; }
.ds-prose p, .ds-prose li, .ds-prose td { color: var(--text-soft); }
.ds-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ds-prose ul, .ds-prose ol { padding-left: 1.3em; }
.ds-prose ul { list-style: disc; } .ds-prose ol { list-style: decimal; }
.ds-prose li + li { margin-top: .4em; }
.ds-prose strong { color: var(--heading); }
.ds-prose blockquote { border-left: 3px solid var(--accent); padding-left: 18px; color: var(--heading); font-style: italic; }
.ds-prose code { font-family: var(--f-mono); font-size: .9em; background: var(--bg-alt); padding: 2px 6px; border-radius: 6px; }
.ds-prose pre { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; overflow-x: auto; }
.ds-prose img { border-radius: var(--r); }
.ds-prose table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: table; table-layout: auto; }
.ds-prose th, .ds-prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ds-prose tr:last-child th, .ds-prose tr:last-child td { border-bottom: 0; }
.ds-prose td { word-break: break-word; }
.ds-prose th { color: var(--heading); font-weight: 700; width: 38%; background: rgba(var(--fg-rgb), .03); }
.ds-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.ds-card { display: block; padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-alt); transition: border-color .3s, transform .3s var(--ease); }
.ds-card:hover { border-color: rgba(var(--accent-rgb), .35); transform: translateY(-4px); }
.ds-card h2 { font-size: 22px; margin-bottom: 10px; }
.ds-card p { color: var(--muted); font-size: 15px; }
.ds-card .ds-page__meta { margin: 0 0 12px; }
.ds-pagination { margin-top: 40px; display: flex; gap: 8px; flex-wrap: wrap; }
.ds-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--text); }
.ds-pagination .page-numbers.current { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.ds-404 { text-align: center; padding-block: clamp(100px, 14vw, 180px); }
.ds-404__code { font-family: var(--f-display); font-weight: 800; font-size: clamp(100px, 18vw, 200px); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--accent); }
.ds-404 p { color: var(--muted); margin: 18px auto 32px; max-width: 460px; }

/* ---------- Váltakozó demók ---------- */
.ds-screens { position: relative; height: 100%; }
.ds-screens > .ds-app { position: absolute; inset: 0; height: auto; opacity: 0; transition: opacity .7s ease; }
.ds-screens > .ds-app.is-active { opacity: 1; }
.ds-phone__screen { position: relative; }
.ds-phone__screen > .ds-mob { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.ds-phone__screen > .ds-mob.is-active { opacity: 1; }
.ds-app:not(.is-active) .ds-app__col span,
.ds-app:not(.is-active) .ds-app__toast { animation: none; }
.ds-hero__visual { flex-direction: column; align-items: flex-end; }
.ds-demo-bar { width: 100%; max-width: 900px; display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.ds-demo-dots { display: flex; gap: 6px; flex: none; }
.ds-demo-dots button { width: 9px; height: 9px; padding: 0; border-radius: 9px; border: 0; background: var(--line-strong); cursor: pointer; transition: width .35s var(--ease), background .3s; }
.ds-demo-dots button.is-on { width: 26px; background: var(--accent); }
.ds-demo-note { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.ds-demo-note strong { color: var(--text); font-weight: 700; }
.ds-pill--bad { background: rgba(240, 106, 106, .15); color: #E35656; }
.ds-pill--muted { background: rgba(var(--fg-rgb), .08); color: var(--muted); }
.ds-mob__gauge { width: 66%; aspect-ratio: 1; margin: .2em auto; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--v) * 1%), rgba(var(--fg-rgb), .08) 0); }
.ds-mob__gauge > div { width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--bg); display: grid; place-content: center; text-align: center; }
.ds-mob__gauge strong { font-family: var(--f-display); font-size: 1.45em; font-weight: 800; color: var(--heading); }
.ds-mob__gauge small { font-size: .6em; color: var(--muted); }
.ds-mob__list { list-style: none; margin: 0; padding: 0; display: grid; }
.ds-mob__list li { display: flex; align-items: center; gap: .5em; padding: .5em .15em; border-bottom: 1px solid var(--line); font-size: .76em; color: var(--text); }
.ds-mob__list li b { margin-left: auto; color: var(--heading); white-space: nowrap; }
.ds-mob__list li i { flex: none; width: .55em; height: .55em; border-radius: 50%; background: #3BB273; }
.ds-mob__list li i.warn { background: #E9A23B; }
.ds-mob__list li i.bad { background: #F06A6A; }
.ds-mob__list li b.bad { color: #E35656; }
.ds-mob__field { display: grid; gap: .1em; padding: .6em .75em; border-radius: .7em; border: 1px solid var(--line); background: var(--card); }
.ds-mob__field small { font-family: var(--f-mono); font-size: .62em; color: var(--muted); }
.ds-mob__field span { font-size: .85em; font-weight: 700; color: var(--heading); }
.ds-mob__total { display: flex; justify-content: space-between; padding: .2em .15em; font-size: .86em; font-weight: 800; color: var(--heading); }
.ds-mob__actions--one { grid-template-columns: 1fr; }

/* SEO miatti címsor-szerkezet: vizuálisan változatlan */
.ds-hero__h1 { margin: 0; }
.ds-hero__h1 .ds-eyebrow { font-weight: 500; letter-spacing: 0; line-height: 1.4; }
.ds-hero__h1 .ds-hero__title { display: block; }
.ds-qa summary h3 { margin: 0; font: inherit; color: inherit; letter-spacing: -.01em; line-height: 1.35; }
.ds .ds-tech__label { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; line-height: 1.4; color: var(--accent); }

/* Mobil fejléc: az admin sáv 600 px alatt nem fix, ezért a fejléc a tetejére tapad */
@media (max-width: 600px) {
	.admin-bar .ds-header { top: 0; }
}
@media (max-width: 960px) {
	.ds-header {
		background: var(--bg);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
	.ds-nav {
		position: fixed;
		top: var(--header-h);
		left: 0; right: 0; bottom: auto;
		height: calc(100vh - var(--header-h));
		height: calc(100dvh - var(--header-h));
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		background: var(--bg);
		border-top: 1px solid var(--line);
		z-index: 60;
	}
	.ds-demo-bar { justify-content: center; }
}
@media (min-width: 601px) and (max-width: 782px) {
	.admin-bar .ds-nav { top: calc(var(--header-h) + 46px); height: calc(100dvh - var(--header-h) - 46px); }
}

/* ---------- iPhone / teljes képernyős böngészők (viewport-fit=cover) ---------- */
/* A Safari a felső sávot a tapadó fejléc TÖMÖR színével színezi, ezért a fejléc
   mobilon minden állapotban átlátszatlan, és a színe felfelé is kiterjed
   (túlgörgetéskor se látszódjon át semmi). */
@media (max-width: 960px) {
	.ds-header,
	.ds-header.is-scrolled {
		background-color: var(--bg);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
}
/* A fejléc nem tapad: az oldal tetején van, és görgetéskor felcsúszik. */
.ds-header,
body.admin-bar .ds-header {
	position: relative;
	top: auto;
}
html { scroll-padding-top: 16px !important; }
.ds-header { box-shadow: 0 -100vh 0 100vh var(--bg); }
.ds-header.is-scrolled { box-shadow: 0 -100vh 0 100vh var(--bg), 0 1px 0 var(--line); }
/* Az oldal „vászna" (ami a tartalom alatt/túl látszik) a lábléc színe, a törzs pedig világos. */
html { background-color: #080B0F; }
html.ds--light { background-color: #0D1014; }
body.ds { min-height: 100vh; }
/* A fejléc háttere az óra/akkumulátor sáv alá is kiterjed, a tartalma alatta marad. */
.ds-header {
	height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
	padding-top: env(safe-area-inset-top, 0px);
	box-sizing: border-box;
}
.ds-header__inner { height: var(--header-h); }
html { scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px); }
/* A lábléc kitölti az alsó sávot, és túlgörgetéskor (rugózás) is az ő színe látszik. */
.ds-footer {
	padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
	box-shadow: 0 100vh 0 100vh var(--footer-bg);
}
.ds--light .ds-footer { box-shadow: 0 100vh 0 100vh #0D1014; }
body.ds { overflow-x: clip; }
/* Fekvő módban a tartalom ne kerüljön a kivágás alá. */
@supports (padding: max(0px)) {
	.ds-container {
		padding-left: max(clamp(20px, 3.5vw, 64px), env(safe-area-inset-left, 0px));
		padding-right: max(clamp(20px, 3.5vw, 64px), env(safe-area-inset-right, 0px));
	}
}

/* ---------- Demóvezérlés: nyilak, haladásjelző pöttyök, húzás ---------- */
[data-demos] { touch-action: pan-y; cursor: grab; }
[data-demos].is-dragging { cursor: grabbing; }
[data-demos] .ds-devices { transition: transform .35s var(--ease); }
[data-demos].is-dragging .ds-devices { transform: translateX(var(--drag, 0)); transition: none; }
.ds-demo-bar { gap: 10px; flex-wrap: wrap; }
.ds-demo-arrow { flex: none; width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card); color: var(--heading); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, transform .2s, background .2s; }
.ds-demo-arrow svg { width: 16px; height: 16px; }
.ds-demo-arrow:hover { border-color: var(--accent); color: var(--accent); transform: scale(1.06); }
.ds-demo-dots { align-items: center; }
.ds-demo-dots button { position: relative; overflow: hidden; width: 9px; height: 9px; }
.ds-demo-dots button.is-on { width: 36px; background: rgba(var(--accent-rgb), .22); }
.ds-demo-dots button span { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left center; }
.ds-demo-dots button.is-on span { transform: scaleX(1); }
.ds-demo-dots button.is-run span { animation: ds-dot 7s linear forwards; }
[data-demos]:hover .ds-demo-dots button.is-run span { animation-play-state: paused; }
@keyframes ds-dot { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ds-demo-note { flex: 1 1 260px; margin-left: 4px !important; }
@media (max-width: 640px) {
	.ds-demo-bar { justify-content: center; }
	.ds-demo-note { flex-basis: 100%; text-align: center; margin: 4px 0 0 !important; }
}

/* ---------- Vissza a tetejére ---------- */
.ds-totop {
	position: fixed; z-index: 40;
	right: calc(20px + env(safe-area-inset-right, 0px));
	bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%;
	display: grid; place-items: center; cursor: pointer;
	background: var(--card); color: var(--heading);
	box-shadow: 0 12px 30px -10px var(--shadow), 0 0 0 1px var(--line);
	opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
	transition: opacity .35s var(--ease), transform .35s var(--ease), box-shadow .3s;
}
.ds-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.ds-totop:hover { box-shadow: 0 16px 36px -10px rgba(var(--accent-rgb), .45), 0 0 0 1px rgba(var(--accent-rgb), .5); }
.ds-totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ds-totop__track, .ds-totop__bar { fill: none; stroke-width: 2.5; }
.ds-totop__track { stroke: var(--line); }
.ds-totop__bar { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .1s linear; }
.ds-totop__arrow { position: relative; width: 20px; height: 20px; transition: transform .25s var(--ease); }
.ds-totop:hover .ds-totop__arrow { transform: translateY(-3px); }

/* ---------- Űrlapüzenet: bezárható, eltűnik ---------- */
.ds-alert { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; transition: opacity .4s ease, transform .4s ease; }
.ds-alert.is-hiding { opacity: 0; transform: translateY(-6px); }
.ds-alert__x { flex: none; width: 28px; height: 28px; margin: -3px -6px 0 0; padding: 0; border: 0; border-radius: 8px; background: transparent; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; opacity: .7; }
.ds-alert__x:hover { opacity: 1; background: rgba(var(--fg-rgb), .06); }

/* ---------- Szolgáltatáskártya „Részletek" link (az egész kártya kattintható) ---------- */
.ds-service p { flex: 1; }
.ds-service__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14.5px; font-weight: 700; color: var(--accent); }
.ds-service__more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.ds-service__more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ds-service:hover .ds-service__more svg { transform: translateX(4px); }

/* ---------- Szolgáltatásoldalak ---------- */
.ds-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 30px; font-size: 13.5px; color: var(--muted); }
.ds-crumbs a:hover { color: var(--accent); }
.ds-crumbs span[aria-current] { color: var(--text); font-weight: 600; }
.ds-page--rich .ds-prose { max-width: 820px; font-size: 18px; }
.ds-page--rich .ds-prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 1.7em; }
.ds-page--rich .ds-prose > p:first-child { font-size: 20px; color: var(--text); }
.ds-srv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 40px; }
.ds-srv-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); transition: border-color .3s, transform .35s var(--ease), box-shadow .3s; }
.ds-srv-card:hover { border-color: rgba(var(--accent-rgb), .4); transform: translateY(-4px); box-shadow: 0 22px 44px -26px var(--shadow); }
.ds-srv-card h2, .ds-srv-card h3 { font-size: 20px; }
.ds-srv-card p { color: var(--muted); font-size: 15px; flex: 1; }
.ds-srv-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; color: var(--accent); }
.ds-srv-card__more svg { width: 16px; height: 16px; }
.ds-cta-band { padding-block: clamp(56px, 7vw, 92px); background: var(--bg-alt); border-block: 1px solid var(--line); }
.ds-cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ds-cta-band h2 { font-size: clamp(28px, 3.4vw, 46px); }
.ds-cta-band p:not(.ds-kicker) { margin-top: 12px; max-width: 640px; color: var(--muted); font-size: 17px; }
.ds-section--tight { padding-block: clamp(56px, 7vw, 96px); }
.ds-related__title { font-size: clamp(26px, 3vw, 36px); }

/* ---------- Lenyíló Szolgáltatások menü ---------- */
.ds-has-sub { position: relative; }
.ds-has-sub__row { display: flex; align-items: center; gap: 2px; }
.ds-sub-toggle { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.ds-sub-toggle svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.ds-sub-toggle:hover { color: var(--heading); }
.ds-has-sub.is-open .ds-sub-toggle svg { transform: rotate(180deg); }
.ds-sub { position: absolute; top: calc(100% + 14px); left: -18px; z-index: 70; min-width: 340px; padding: 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 60px -24px var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.ds-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
@media (min-width: 961px) {
	.ds-has-sub:hover .ds-sub, .ds-has-sub:focus-within .ds-sub, .ds-has-sub.is-open .ds-sub { opacity: 1; visibility: visible; transform: none; }
	.ds-has-sub:hover .ds-sub-toggle svg { transform: rotate(180deg); }
}
.ds-nav .ds-sub ul { display: grid; gap: 2px; }
.ds-nav .ds-sub a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; color: var(--heading); }
.ds-nav .ds-sub a::after { display: none; }
.ds-nav .ds-sub a:hover { background: rgba(var(--accent-rgb), .08); }
.ds-sub strong { font-size: 15px; font-weight: 700; }
.ds-sub small { font-size: 13px; font-weight: 500; color: var(--muted); }
.ds-nav .ds-sub__all { display: block; margin-top: 6px; padding: 12px 12px 6px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--accent); }
.ds-nav .ds-sub__all::after { display: none; }
.ds-nav ul a.is-current { color: var(--heading); }
@media (min-width: 961px) {
	/* Minden felső menüpont egy vonalban (a lenyíló nyíl ne tolja lejjebb a „Szolgáltatások"-at). */
	.ds-nav > ul { align-items: center; }
	.ds-has-sub__row { height: 100%; }
	.ds-sub-toggle { width: 22px; height: 22px; margin-left: 2px; }
}
@media (max-width: 960px) {
	.ds-has-sub__row { justify-content: space-between; border-bottom: 1px solid var(--line); }
	.ds-has-sub__row > a { flex: 1; border-bottom: 0 !important; }
	.ds-sub-toggle { width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--heading); }
	.ds-sub-toggle svg { width: 20px; height: 20px; }
	.ds-sub { position: static; display: none; min-width: 0; padding: 6px 0 10px; border: 0; border-radius: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.ds-sub::before { display: none; }
	.ds-has-sub.is-open .ds-sub { display: block; }
	.ds-nav .ds-sub a { font-family: var(--f-body); font-size: 17px; padding: 10px 4px; border-bottom: 0; }
	.ds-nav .ds-sub__all { font-family: var(--f-body); font-size: 15px; border-top: 0; padding-left: 4px; }
}

/* ---------- Saját SVG-illusztrációk ---------- */
.ds-ill { display: block; width: 100%; height: auto; }
.ds-ill .il-grid { fill: rgba(var(--fg-rgb), .02); }
.ds-ill .il-card { fill: var(--card); stroke: var(--line-strong); stroke-width: 1; }
.ds-ill .il-shadow { filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .12)); }
.ds-ill .il-mute { fill: rgba(var(--fg-rgb), .05); }
.ds-ill .il-mute2 { fill: rgba(var(--fg-rgb), .14); }
.ds-ill .il-soft { fill: rgba(var(--fg-rgb), .035); stroke: var(--line); }
.ds-ill .il-acc { fill: var(--accent); }
.ds-ill .il-acc2 { fill: rgba(var(--accent-rgb), .14); }
.ds-ill .il-sig { fill: rgba(var(--signal-rgb), .8); }
.ds-ill .il-ink { stroke: var(--accent-ink); fill: none; }
.ds-ill .il-ink2 { fill: var(--heading); }
.ds-ill .il-frame { fill: #0B0E13; }
.ds-ill .il-dot1 { fill: #FF6B6B; } .ds-ill .il-dot2 { fill: #F5C451; } .ds-ill .il-dot3 { fill: #3BB273; }
.ds-ill .il-ring { stroke: var(--accent); fill: none; }
.ds-ill .il-line { stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 4 6; }
.ds-ill .il-flow { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 12 320; animation: il-flow 2.6s linear infinite; }
.ds-ill .il-text { fill: var(--heading); font-family: var(--f-display); font-weight: 800; font-size: 24px; }
.ds-ill .il-box { fill: rgba(var(--signal-rgb), .3); stroke: rgba(var(--signal-rgb), .6); }
.ds-ill .il-box2 { fill: rgba(var(--accent-rgb), .25); stroke: rgba(var(--accent-rgb), .55); }
.ds-ill .il-scan { transform-box: fill-box; animation: il-scan 2.2s ease-in-out infinite alternate; }
.ds-ill .il-float { animation: il-float 6s ease-in-out infinite; }
.ds-ill .il-float2 { animation: il-float 7s ease-in-out infinite reverse; }
.ds-ill .il-bars rect { transform-box: fill-box; transform-origin: bottom; animation: ds-bar 1.2s var(--ease) both; }
@keyframes il-flow { from { stroke-dashoffset: 332; } to { stroke-dashoffset: 0; } }
@keyframes il-scan { to { transform: translateY(30px); } }
@keyframes il-float { 50% { transform: translateY(-8px); } }

/* ---------- Aloldal-hero (szolgáltatás, blog) ---------- */
.ds-phero { position: relative; overflow: hidden; padding-block: clamp(36px, 5vw, 80px) clamp(48px, 6vw, 96px); border-bottom: 1px solid var(--line); }
.ds-phero__bg {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(560px 360px at 82% 40%, rgba(var(--accent-rgb), .12), transparent 70%),
		radial-gradient(480px 380px at 10% 0%, rgba(var(--signal-rgb), .08), transparent 70%),
		linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 64px 64px,
		linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 40%, #000 25%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 75% at 50% 40%, #000 25%, transparent 75%);
}
.ds-phero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.ds-phero__title { font-size: clamp(38px, 4.6vw, 68px); font-weight: 800; letter-spacing: -.035em; line-height: 1.03; margin: 2px 0 22px !important; text-wrap: balance; }
.ds-phero__title--post { font-size: clamp(32px, 3.8vw, 56px); }
.ds-phero__lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--muted); max-width: 640px; }
.ds-phero__copy .ds-hero__actions { margin-top: 32px; }
.ds-phero__frame { position: relative; padding: 18px; border-radius: 28px; background: linear-gradient(160deg, rgba(var(--accent-rgb), .10), rgba(var(--signal-rgb), .06)); border: 1px solid var(--line); box-shadow: 0 40px 80px -50px var(--shadow); }
.ds-phero__img { display: block; width: 100%; height: auto; aspect-ratio: 440 / 320; object-fit: cover; border-radius: 18px; }
.ds-post-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px !important; font-family: var(--f-mono); font-size: 13px; color: var(--muted); }

/* ---------- Kéthasábos cikk-elrendezés ---------- */
.ds-article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 5vw, 88px); align-items: start; }
.ds-prose--article { max-width: 780px; font-size: 18px; line-height: 1.75; }
.ds-prose--article > * + * { margin-top: 1.05em; }
.ds-prose--article h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 1.9em; scroll-margin-top: 20px; }
.ds-prose--article h2:first-child { margin-top: 0; }
.ds-prose--article h3 { font-size: 21px; margin-top: 1.6em; }
.ds-prose--article ul { list-style: none; padding-left: 0; }
.ds-prose--article ul li { position: relative; padding-left: 1.7em; }
.ds-prose--article ul li::before { content: ""; position: absolute; left: .25em; top: .66em; width: .5em; height: .5em; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.ds-prose--article ol { list-style: none; padding-left: 0; counter-reset: ds-ol; display: grid; gap: 10px; }
.ds-prose--article ol li { counter-increment: ds-ol; position: relative; margin: 0 !important; padding: 14px 18px 14px 62px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.ds-prose--article ol li::before { content: counter(ds-ol, decimal-leading-zero); position: absolute; left: 18px; top: 14px; font-family: var(--f-mono); font-weight: 700; color: var(--accent); }
.ds-aside { position: sticky; top: 24px; display: grid; gap: 16px; }
.ds-aside__card { padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); }
.ds-aside__label { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 12px !important; }
.ds-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: ds-t; }
.ds-toc li { counter-increment: ds-t; }
.ds-toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 14.5px; line-height: 1.4; color: var(--text); transition: background .2s, color .2s; }
.ds-toc a::before { content: counter(ds-t, decimal-leading-zero); flex: none; padding-top: 2px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.ds-toc a:hover, .ds-toc a.is-active { background: rgba(var(--accent-rgb), .08); color: var(--heading); }
.ds-aside__cta { background: linear-gradient(160deg, rgba(var(--accent-rgb), .12), var(--card) 70%); border-color: rgba(var(--accent-rgb), .3); }
.ds-aside__cta p:not(.ds-aside__label) { font-size: 15px; color: var(--muted); margin-bottom: 16px !important; }
.ds-aside__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ds-aside__list a { display: block; padding: 8px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: var(--text); }
.ds-aside__list a:hover, .ds-aside__list a[aria-current] { color: var(--accent); background: rgba(var(--accent-rgb), .08); }

/* ---------- Folyamatábra ---------- */
.ds-flow { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.ds-flow::before { content: ""; position: absolute; left: 27px; right: 6%; top: 26px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--signal)); opacity: .4; }
.ds-flow__step { position: relative; }
.ds-flow__n { position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 50%; border: 2px solid var(--accent); background: var(--bg-alt); font-family: var(--f-mono); font-weight: 700; color: var(--accent); }
.ds-flow h3 { font-size: 18px; margin-bottom: 8px; }
.ds-flow p { font-size: 15px; color: var(--muted); }

/* ---------- Szolgáltatás-csempék, blogkártyák ---------- */
.ds-srv-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.ds-srv-tile { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); transition: border-color .3s, transform .35s var(--ease), box-shadow .3s; }
.ds-srv-tile:hover { transform: translateY(-5px); border-color: rgba(var(--accent-rgb), .4); box-shadow: 0 26px 50px -30px var(--shadow); }
.ds-srv-tile__art { padding: 14px 14px 0; background: linear-gradient(160deg, rgba(var(--accent-rgb), .10), rgba(var(--signal-rgb), .06)); border-bottom: 1px solid var(--line); }
.ds-srv-tile__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; }
.ds-srv-tile h2, .ds-srv-tile h3 { font-size: 22px; }
.ds-srv-tile p { flex: 1; font-size: 15px; color: var(--muted); }
.ds-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.ds-post-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); transition: border-color .3s, transform .35s var(--ease), box-shadow .3s; }
.ds-post-card:hover { transform: translateY(-5px); border-color: rgba(var(--accent-rgb), .4); box-shadow: 0 26px 50px -30px var(--shadow); }
.ds-post-card .ds-post-meta { margin: 0 !important; }
.ds-post-card h2, .ds-post-card h3 { font-size: 22px; line-height: 1.25; }
.ds-post-card p:not(.ds-post-meta) { flex: 1; font-size: 15.5px; color: var(--muted); }

@media (max-width: 1080px) {
	.ds-article { grid-template-columns: 1fr; }
	.ds-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
	.ds-flow { grid-template-columns: 1fr; gap: 22px; }
	.ds-flow::before { left: 26px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent), var(--signal)); }
	.ds-flow__step { display: grid; grid-template-columns: 54px 1fr; column-gap: 18px; }
	.ds-flow__n { grid-row: span 2; margin: 0; }
}
@media (max-width: 960px) {
	.ds-phero__grid { grid-template-columns: 1fr; }
	.ds-phero__art { max-width: 560px; }
}
@media (max-width: 640px) {
	.ds-prose--article { font-size: 17px; }
	.ds-srv-tiles, .ds-posts { grid-template-columns: 1fr; }
}

/* ---------- Demó: a <b>/<strong> helyett [data-bb]/[data-st] spanek – azonos megjelenés ---------- */
.ds-devices [data-st], .ds-devices [data-bb] { font-weight: 700; }
.ds-app__side [data-bb] { flex: none; width: .55em; height: .55em; border-radius: .15em; border: 1.5px solid currentColor; opacity: .7; box-sizing: border-box; }
.ds-app__side .is-on [data-bb] { background: var(--accent); border-color: var(--accent); opacity: 1; }
.ds-app__head [data-st] { font-family: var(--f-display); font-size: 1.25em; color: var(--heading); }
.ds-app__kpis [data-st] { font-family: var(--f-display); font-size: 1.15em; font-weight: 800; color: var(--heading); white-space: nowrap; }
.ds-app__cardhead [data-st] { color: var(--heading); }
.ds-app__low [data-bb] { font-size: .9em; color: var(--heading); }
.ds-app__bell [data-bb] { position: absolute; top: -.45em; right: -.45em; min-width: 1.35em; height: 1.35em; padding: 0 .2em; box-sizing: border-box; border-radius: 1em; background: #F06A6A; color: #fff; font-size: .6em; font-weight: 800; display: grid; place-items: center; }
.ds-app__toast [data-bb] { display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: .9em; }
.ds-mob__head [data-st] { display: block; font-family: var(--f-display); font-size: 1.35em; color: var(--heading); }
.ds-mob__item [data-st] { color: var(--heading); font-size: .95em; }
.ds-mob__item [data-bb] { color: var(--heading); }
.ds-mob__gauge [data-st] { font-family: var(--f-display); font-size: 1.45em; font-weight: 800; color: var(--heading); }
.ds-mob__list li [data-bb] { margin-left: auto; color: var(--heading); white-space: nowrap; }
.ds-mob__list li [data-bb].bad { color: #E35656; }
.ds-devices [data-bb].bad { color: #E35656; }
.ds-devices [data-bb].warn { color: #E9A23B; }

/* ---------- Demó: a jobb szél ne bújjon a telefon mögé; utánrendelési lista rendezése ---------- */
.ds-app__main { padding-right: 1.1em; }
.ds-app__kpis small { overflow: hidden; text-overflow: ellipsis; }
.ds-app__tr { grid-template-columns: 3.6em minmax(0, 1.6fr) 5.8em 5em 4.4em; }
.ds-app__tr > span:nth-child(3) { overflow: visible; }
.ds-app__low li { grid-template-columns: minmax(0, 1fr) auto; }
.ds-app__low li > span { grid-row: 1; grid-column: 1; }
.ds-app__low li > [data-bb], .ds-app__low li > b { grid-row: 1; grid-column: 2; justify-self: end; white-space: nowrap; }
.ds-app__low li > i { grid-row: 2; grid-column: 1 / -1; }

/* ---------- Demó: a span-re cserélt ikonok ne kapják meg a menüpontok stílusát ---------- */
.ds-app__side span[data-bb] { display: block; padding: 0; gap: 0; border-radius: .15em; font-size: inherit; background: transparent; }
.ds-app__side .is-on span[data-bb] { background: var(--accent); }
.ds-mob__item span [data-bb] { font-size: inherit; }

/* ---------- Görgetéses megjelenés ---------- */
.js .ds-reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .ds-reveal.is-in { opacity: 1; transform: none; }
.ds-hero__copy > :nth-child(2) { --d: 1; }
.ds-hero__copy > :nth-child(3) { --d: 2; }
.ds-hero__copy > :nth-child(4) { --d: 3; }
.ds-hero__copy > :nth-child(5) { --d: 4; }
.ds-hero__visual { --d: 3; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .ds-reveal { opacity: 1; transform: none; }
}

/* ---------- Reszponzív ---------- */
@media (max-width: 1120px) {
	.ds-services { grid-template-columns: repeat(2, 1fr); }
	.ds-tech { grid-template-columns: repeat(2, 1fr); }
	.ds-nav ul { gap: 20px; }
	.ds-nav { gap: 22px; }
}
@media (max-width: 960px) {
	:root { --header-h: 68px; }
	.ds-burger { display: grid; }
	.ds-nav {
		position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
		flex-direction: column; align-items: stretch; gap: 28px;
		padding: 32px clamp(20px, 4vw, 40px);
		background: var(--bg);
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity .3s, transform .3s var(--ease), visibility .3s;
	}
	.ds-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.ds-nav ul { flex-direction: column; gap: 0; }
	.ds-nav ul a { display: block; font-family: var(--f-display); font-size: 28px; color: var(--heading); padding: 14px 0; border-bottom: 1px solid var(--line); }
	.ds-nav ul a::after { display: none; }
	.ds-nav__cta { padding: 18px; font-size: 16px; }
	body.ds-menu-open { overflow: hidden; }

	.ds-hero__grid, .ds-road, .ds-faq, .ds-contact__grid, .ds-head--split { grid-template-columns: 1fr; }
	.ds-hero__visual { min-height: 0; padding-block: 0; width: 100%; }
	.ds-road__intro, .ds-faq__head { position: static; }
	.ds-pains, .ds-starts { grid-template-columns: repeat(2, 1fr); }
	.ds-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 601px) and (max-width: 782px) { .admin-bar .ds-header { top: 46px; } }
@media (max-width: 640px) {
	body.ds { font-size: 16px; }
	.ds-pains, .ds-starts, .ds-services, .ds-tech, .ds-form__row { grid-template-columns: 1fr; }
	.ds-stack { transform: none; }
	.ds-layer { margin-left: calc(var(--i) * 10px); margin-right: calc((3 - var(--i)) * 10px); padding: 16px 18px; }
	.ds-layer__val { font-size: 15px; }
	.ds-hero__actions .ds-btn { width: 100%; }
	.ds-path__step { padding-right: 32px; font-size: 13.5px; }
	.ds-road__step { grid-template-columns: 44px 1fr; gap: 16px; }
	.ds-road__dot { width: 44px; height: 44px; font-size: 12.5px; }
	.ds-road__rail { left: 21px; }
	.ds-road__body { padding: 22px 20px 20px; }
	.ds-footer__grid { grid-template-columns: 1fr; }
	.ds-qa summary { font-size: 17px; padding: 18px 20px; }
	.ds-qa__a { padding: 0 20px 20px; }
}
