/* Dialog Obronny — tokeny, reset, typografia i komponenty wspólne. */

:root {
	--do-bg: #000;
	--do-p1: #050607;
	--do-p2: #0b0d0e;
	--do-p3: #0e1113;

	--do-line: #1e2225;
	--do-line2: #2a2e31;
	--do-line3: #3a3f42;

	--do-tx: #f2f3f4;
	--do-tx2: #d6d9db;
	--do-body: #b5babd;
	--do-lbl: #8a9095;
	--do-mute: #5c6267;

	--do-lt-bg: #fff;
	--do-lt-bg2: #f6f7f8;
	--do-lt-tx: #111;
	--do-lt-body: #3a3f42;
	--do-lt-lbl: #6b7075;
	--do-lt-line: #dadddf;
	--do-lt-hover: #fafafa;

	--do-or: #f58220;
	--do-rd: #ee2923;
	--do-grad: linear-gradient(90deg, #f58220, #ee2923);
	--do-grad-135: linear-gradient(135deg, #f58220, #ee2923);

	--do-pad: clamp(20px, 5vw, 80px);
	--do-sec: clamp(72px, 8vw, 128px);
	--do-ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
	background: var(--do-bg);
	-webkit-text-size-adjust: 100%;
}

html.do-smooth { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--do-bg);
	color: var(--do-tx);
	font-family: Poppins, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
svg { max-width: 100%; }

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, p { margin: 0; }

::selection {
	background: var(--do-tx);
	color: #000;
}

:focus-visible {
	outline: 2px solid var(--do-or);
	outline-offset: 3px;
}

.do-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 12px 20px;
	background: #000;
	color: var(--do-tx);
	font-size: 13px;
}
.do-skip:focus { left: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ------------------------------------------------------------------ UKŁAD */

.do-wrap {
	padding-left: var(--do-pad);
	padding-right: var(--do-pad);
}

.do-sec {
	border-bottom: 1px solid var(--do-line);
}
.do-sec > .do-wrap {
	padding-top: var(--do-sec);
	padding-bottom: var(--do-sec);
}
.do-sec--dark { background: var(--do-bg); }
.do-sec--light {
	background: var(--do-lt-bg);
	color: var(--do-lt-tx);
	border-bottom-color: var(--do-lt-line);
}

.do-grid12 {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px;
}

.do-col-full { grid-column: 1 / -1; }
.do-col-left { grid-column: 1 / span 5; min-width: 0; }
.do-col-right { grid-column: 7 / span 6; min-width: 0; }

.do-stack-40 {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.do-rule {
	height: 6px;
	background: var(--do-grad);
	transform-origin: left center;
}

/* ------------------------------------------------------------- TYPOGRAFIA */

.do-h1 {
	font-weight: 600;
	letter-spacing: -.035em;
	line-height: .98;
	font-size: clamp(44px, 7vw, 116px);
	color: var(--do-tx);
	max-width: 1200px;
	text-wrap: balance;
}
.do-h1__mask {
	display: block;
	overflow: hidden;
	padding-bottom: .22em;
	margin-bottom: -.16em;
}
.do-h1__line { display: block; }
.do-h1__line--grad {
	width: max-content;
	max-width: 100%;
	padding: 0 .06em .2em 0;
	margin-bottom: -.2em;
	background: var(--do-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.do-h2 {
	font-weight: 600;
	letter-spacing: -.025em;
	line-height: 1.04;
	font-size: clamp(34px, 4.2vw, 68px);
	text-wrap: pretty;
}

.do-body {
	font-weight: 300;
	font-size: 16px;
	line-height: 1.65;
	color: var(--do-body);
	text-wrap: pretty;
}
.do-sec--light .do-body,
.do-sec--map .do-body { color: var(--do-lt-body); }

.do-label {
	display: block;
	font-weight: 500;
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--do-lbl);
	line-height: 1.4;
}
.do-label--dot {
	display: flex;
	align-items: center;
	gap: 10px;
}
.do-label--mute { color: var(--do-mute); }
.do-label--xs { font-size: 10px; }
.do-sec--light .do-label,
.do-sec--map .do-label { color: var(--do-lt-lbl); }

.do-dot {
	display: block;
	width: 6px;
	height: 6px;
	flex: none;
	background: var(--do-or);
}
.do-dot--round {
	width: 7px;
	height: 7px;
	border-radius: 50%;
}
.do-dot--blink { animation: do-blink 1.8s ease-in-out infinite; }

.do-tick {
	display: block;
	width: 28px;
	height: 3px;
	background: var(--do-grad);
}
.do-tick--sm {
	width: 24px;
	height: 2px;
}

@keyframes do-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: .2; }
}
@keyframes do-spin { to { transform: rotate(360deg); } }
@keyframes do-pop {
	from { transform: scale(.4); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

/* ----------------------------------------------------------- ETYKIETA SEKCJI */

.do-eyebrow {
	grid-column: 1 / -1;
	display: flex;
}
.do-eyebrow__in {
	display: inline-flex;
	align-items: stretch;
	padding: 1px;
	background: var(--do-line2);
	clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.do-eyebrow--light .do-eyebrow__in { background: var(--do-lt-line); }

.do-eyebrow__n {
	display: inline-flex;
	align-items: center;
	padding: 6px 11px;
	font-weight: 600;
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #fff;
	background: var(--do-grad);
}
.do-eyebrow__l {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px 6px 12px;
	font-weight: 500;
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--do-tx);
	background: #000;
	clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
}
.do-eyebrow--light .do-eyebrow__l {
	color: var(--do-lt-tx);
	background: var(--do-lt-bg);
}

/* ------------------------------------------------------------- PRZYCISKI */

.do-btn {
	display: inline-flex;
	padding: 1px;
	border: 0;
	cursor: pointer;
	text-decoration: none;
	background: rgba(242, 243, 244, .55);
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
	transition: background .3s;
}
.do-btn:hover { background: var(--do-grad); }

.do-btn__in {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	height: 38px;
	padding: 0 20px;
	clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
	background-color: #000;
	background-image: var(--do-grad);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 0% 100%;
	color: var(--do-tx);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-size .4s var(--do-ease);
}
.do-btn:hover .do-btn__in { background-size: 100% 100%; }

.do-btn--md .do-btn__in {
	height: 50px;
	padding: 0 26px;
	gap: 14px;
	font-size: 13px;
}

.do-btn--filled { background: var(--do-grad); }
.do-btn--filled:hover { background: rgba(242, 243, 244, .6); }
.do-btn--filled .do-btn__in {
	background-position: right center;
	background-size: 100% 100%;
}
.do-btn--filled:hover .do-btn__in { background-size: 0% 100%; }

.do-btn__t {
	display: inline-block;
	line-height: 1;
}

.do-btn__arr {
	position: relative;
	display: inline-block;
	width: 14px;
	height: 2px;
	flex: none;
	background: currentColor;
}
.do-btn--md .do-btn__arr { width: 16px; }
.do-btn__arr::after {
	content: "";
	position: absolute;
	right: -1px;
	top: -3px;
	width: 6px;
	height: 6px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}

.do-btn__ico {
	position: relative;
	display: inline-block;
	width: 16px;
	height: 16px;
	flex: none;
}
.do-btn__ico .do-btn__arr {
	position: absolute;
	left: 0;
	top: 7px;
	transition: opacity .2s;
}
.do-btn__spin {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: #fff;
	opacity: 0;
	transition: opacity .2s;
}
.do-btn.is-busy { opacity: .8; pointer-events: none; }
.do-btn.is-busy .do-btn__spin {
	opacity: 1;
	animation: do-spin .8s linear infinite;
}
.do-btn.is-busy .do-btn__arr { opacity: 0; }

.do-arrow {
	width: 46px;
	height: 40px;
	flex: none;
	display: grid;
	place-items: center;
	border: 0;
	cursor: pointer;
	color: var(--do-tx);
	background-color: transparent;
	background-image: var(--do-grad);
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 0% 100%;
	box-shadow: inset 0 0 0 1px rgba(242, 243, 244, .4);
	transition: background-size .35s var(--do-ease), box-shadow .3s;
}
.do-arrow:hover {
	background-size: 100% 100%;
	box-shadow: inset 0 0 0 1px transparent;
}
.do-arrow span {
	display: block;
	width: 9px;
	height: 9px;
	transform: rotate(45deg);
}
.do-arrow--prev span {
	border-left: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	margin-left: 4px;
}
.do-arrow--next span {
	border-right: 1px solid currentColor;
	border-top: 1px solid currentColor;
	margin-right: 4px;
}

/* --------------------------------------------------------------- ODNOŚNIKI */

.do-link {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	color: var(--do-lt-tx);
	border-bottom: 1px solid var(--do-lt-tx);
	padding-bottom: 2px;
	transition: color .2s, border-color .2s;
}
.do-link:hover {
	color: var(--do-or);
	border-color: var(--do-or);
}
.do-link--light {
	color: var(--do-tx);
	border-color: var(--do-line3);
	font-size: 14px;
	gap: 8px;
}
.do-link__arr {
	position: relative;
	display: inline-block;
	margin-left: 8px;
	width: 12px;
	height: 1.5px;
	background: currentColor;
	vertical-align: middle;
}
.do-link--light .do-link__arr { margin-left: 0; }
.do-link__arr::after {
	content: "";
	position: absolute;
	right: -1px;
	top: -2.5px;
	width: 5px;
	height: 5px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
}

/* ------------------------------------------------------------------ AWATAR */

.do-av {
	position: relative;
	width: 34px;
	height: 34px;
	flex: none;
	border-radius: 50%;
	background: #fff;
	display: grid;
	place-items: center;
	overflow: hidden;
	color: var(--do-lt-tx);
	font-weight: 500;
	font-size: 11px;
	letter-spacing: .02em;
}
.do-av--ring { box-shadow: 0 0 0 1px #d0d4d6; }
.do-av__ini { line-height: 1; }
.do-av__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}

/* --------------------------------------------------------- PODSTRONY WPISÓW */

.do-page { padding: 140px 0 80px; }
.do-page__in { max-width: 820px; }
.do-page__title {
	font-weight: 600;
	letter-spacing: -.025em;
	line-height: 1.1;
	font-size: clamp(32px, 4vw, 56px);
	margin-bottom: 28px;
}
.do-page__content {
	font-weight: 300;
	font-size: 16px;
	line-height: 1.75;
	color: var(--do-body);
}
.do-page__content h2,
.do-page__content h3 {
	color: var(--do-tx);
	font-weight: 600;
	letter-spacing: -.015em;
	margin: 36px 0 12px;
}
.do-page__content h2 { font-size: 26px; }
.do-page__content h3 { font-size: 20px; }
.do-page__content p,
.do-page__content ul,
.do-page__content ol { margin: 0 0 18px; }
.do-page__content a {
	color: var(--do-or);
	border-bottom: 1px solid rgba(245, 130, 32, .4);
}
.do-page__article + .do-page__article { margin-top: 64px; }
.do-page__back { margin-top: 48px; }
