/* ==========================================================================
   DATILA — base
   Design tokens, reset, typography, layout shell, header and footer.
   ========================================================================== */

:root {
	/* Brand palette */
	--dt-navy: #07111c;
	--dt-navy-800: #0b1826;
	--dt-navy-700: #111827;
	--dt-yellow: #ffc400;
	--dt-yellow-hi: #ffd21f;
	--dt-white: #ffffff;
	--dt-soft: #f7f8fa;
	--dt-ink: #111827;
	--dt-muted: #64748b;
	--dt-line: #e5e7eb;

	/* Type */
	--dt-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--dt-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

	--fs-hero: clamp(2.35rem, 1.15rem + 4.6vw, 4.15rem);
	--fs-h1: clamp(2.05rem, 1.35rem + 2.9vw, 3.4rem);
	--fs-h2: clamp(1.7rem, 1.24rem + 2vw, 2.7rem);
	--fs-h3: clamp(1.18rem, 1.06rem + 0.55vw, 1.45rem);
	--fs-h4: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem);
	--fs-lead: clamp(1.05rem, 1rem + 0.35vw, 1.22rem);
	--fs-body: 1rem;
	--fs-sm: 0.9375rem;
	--fs-xs: 0.8125rem;

	/* Layout */
	--dt-container: 1200px;
	--dt-narrow: 820px;
	--dt-gutter: clamp(1.125rem, 4vw, 2.5rem);
	--dt-header-h: 78px;
	--dt-section-y: clamp(4rem, 3rem + 4vw, 7.5rem);

	/* Shape */
	--dt-r-xs: 8px;
	--dt-r-sm: 12px;
	--dt-r: 18px;
	--dt-r-lg: 26px;
	--dt-r-xl: 36px;
	--dt-r-pill: 999px;

	/* Shadows */
	--dt-shadow-sm: 0 1px 2px rgba(7, 17, 28, 0.06), 0 4px 12px rgba(7, 17, 28, 0.04);
	--dt-shadow: 0 2px 6px rgba(7, 17, 28, 0.05), 0 18px 40px -18px rgba(7, 17, 28, 0.22);
	--dt-shadow-lg: 0 4px 12px rgba(7, 17, 28, 0.06), 0 44px 80px -32px rgba(7, 17, 28, 0.35);

	/* Motion */
	--dt-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--dt-fast: 0.18s var(--dt-ease);
	--dt-base: 0.32s var(--dt-ease);
	--dt-slow: 0.6s var(--dt-ease);
}

/* Reset ------------------------------------------------------------------ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--dt-header-h) + 1.5rem);
}

body {
	margin: 0;
	background: var(--dt-white);
	color: var(--dt-ink);
	font-family: var(--dt-font);
	font-size: var(--fs-body);
	line-height: 1.65;
	font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
svg,
video,
canvas {
	display: block;
	max-width: 100%;
	height: auto;
}

img {
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
	margin: 0;
}

button {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--dt-fast);
}

a:hover {
	color: var(--dt-yellow-hi);
}

ul,
ol {
	margin: 0;
	padding: 0;
}

li {
	list-style: none;
}

table {
	width: 100%;
	border-collapse: collapse;
}

hr {
	border: 0;
	border-top: 1px solid var(--dt-line);
	margin: 2rem 0;
}

::selection {
	background: var(--dt-yellow);
	color: var(--dt-navy);
}

:focus-visible {
	outline: 3px solid var(--dt-yellow);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Typography ------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.6em;
	color: var(--dt-ink);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.12;
	text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); letter-spacing: -0.015em; }

p {
	margin: 0 0 1.15rem;
}

p:last-child {
	margin-bottom: 0;
}

strong, b {
	font-weight: 700;
}

code, kbd, pre {
	font-family: var(--dt-mono);
	font-size: 0.9em;
}

code {
	background: var(--dt-soft);
	border: 1px solid var(--dt-line);
	border-radius: 6px;
	padding: 0.1em 0.4em;
}

blockquote {
	margin: 2rem 0;
	padding: 1.25rem 1.5rem;
	border-left: 3px solid var(--dt-yellow);
	background: var(--dt-soft);
	border-radius: 0 var(--dt-r-sm) var(--dt-r-sm) 0;
	font-size: var(--fs-lead);
}

blockquote p:last-child {
	margin-bottom: 0;
}

.dt-hl-dark {
	font-style: normal;
	color: var(--dt-yellow);
}

.dt-hl {
	font-style: normal;
	color: var(--dt-yellow);
	position: relative;
	white-space: nowrap;
}
/* Layout shell ----------------------------------------------------------- */

.dt-site {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	overflow-x: clip;
}

.dt-main {
	flex: 1 0 auto;
}

.dt-container {
	width: 100%;
	max-width: calc(var(--dt-container) + var(--dt-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--dt-gutter);
}

.dt-narrow {
	max-width: calc(var(--dt-narrow) + var(--dt-gutter) * 2);
}

.dt-section {
	padding-block: var(--dt-section-y);
	position: relative;
}

.dt-section--tight {
	padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.dt-section--soft {
	background: var(--dt-soft);
}

.dt-section--dark {
	background: var(--dt-navy);
	color: rgba(255, 255, 255, 0.76);
}

.dt-section--dark h2,
.dt-section--dark h3,
.dt-section--dark h4 {
	color: var(--dt-white);
}

.dt-section__title {
	font-size: var(--fs-h2);
}

.dt-section__head {
	max-width: 640px;
}

.dt-section__header-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem 2.5rem;
	margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem);
}

.dt-section__header-row .dt-heading {
	max-width: 620px;
}

.dt-section__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 1.75rem;
	margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem);
}

.dt-section__foot--center {
	justify-content: center;
}

/* Grids ------------------------------------------------------------------ */

.dt-grid {
	display: grid;
	gap: clamp(1rem, 0.6rem + 1.2vw, 1.75rem);
}

.dt-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dt-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dt-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dt-split {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 1rem + 3vw, 4.5rem);
	align-items: start;
}

/* Brand lockup ----------------------------------------------------------- */

.dt-logo-link {
	display: inline-flex;
	align-items: center;
}

.dt-logo {
	display: inline-flex;
	align-items: baseline;
	gap: 0.6rem;
	line-height: 1;
}

.dt-logo__mark {
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	color: var(--dt-white);
}

.dt-logo__tag {
	padding: 0.28em 0.5em;
	border: 1px solid currentColor;
	border-radius: var(--dt-r-xs);
	font-size: 0.5rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.62;
}

.dt-logo__img {
	max-height: 44px;
	width: auto;
}

.dt-header .dt-logo__mark {
	font-size: 1.45rem;
}

/* Skip link -------------------------------------------------------------- */

.dt-skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 200000;
	background: var(--dt-yellow);
	color: var(--dt-navy);
	padding: 12px 18px;
	border-radius: var(--dt-r-xs);
	font-weight: 700;
}
/* Header ----------------------------------------------------------------- */

.dt-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 90;
	background: transparent;
	border-bottom: 1px solid transparent;
	transition: background var(--dt-base), box-shadow var(--dt-base), border-color var(--dt-base);
}

.dt-header__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: var(--dt-header-h);
}

.dt-header__brand {
	flex: 0 0 auto;
	margin-right: auto;
}

.dt-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex: 0 0 auto;
}

.dt-nav {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 0.4rem + 1.4vw, 2rem);
}

.dt-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(0.5rem, 0.1rem + 1vw, 1.4rem);
}

.dt-nav__item {
	position: relative;
}

.dt-nav__item > a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.5rem 0.15rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.82);
	letter-spacing: -0.01em;
}

.dt-header:not(.is-transparent) .dt-nav__item > a {
	color: var(--dt-ink);
}

.dt-nav__item > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 2px;
	border-radius: 2px;
	background: var(--dt-yellow);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--dt-base);
}

.dt-nav__item:hover > a::after,
.dt-nav__item:focus-within > a::after,
.dt-nav__item.is-current > a::after,
.dt-nav__item.current-menu-item > a::after,
.dt-nav__item.current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.dt-nav__item:hover > a,
.dt-nav__item:focus-within > a,
.dt-nav__item.is-current > a,
.dt-nav__item.current-menu-item > a,
.dt-nav__item.current-menu-ancestor > a {
	color: var(--dt-yellow-hi);
}

.dt-nav__caret {
	transition: transform var(--dt-fast);
}

.dt-nav__toggle-sub {
	display: none;
}

.dt-nav__submenu {
	position: absolute;
	top: calc(100% + 10px);
	left: -10px;
	min-width: 260px;
	padding: 0.5rem;
	background: var(--dt-white);
	border: 1px solid var(--dt-line);
	border-radius: var(--dt-r);
	box-shadow: var(--dt-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--dt-fast), transform var(--dt-fast), visibility var(--dt-fast);
	z-index: 20;
}

.dt-nav__item--has-sub:hover > .dt-nav__submenu,
.dt-nav__item--has-sub:focus-within > .dt-nav__submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dt-nav__submenu::before {
	content: "";
	position: absolute;
	inset: -10px 0 auto;
	height: 10px;
}

.dt-nav__subitem a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 0.75rem;
	border-radius: var(--dt-r-xs);
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--dt-ink);
	line-height: 1.35;
}

.dt-nav__subitem a:hover {
	background: var(--dt-soft);
	color: var(--dt-ink);
}

.dt-nav__mobile-cta {
	display: none;
}

.dt-nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: var(--dt-r-xs);
	color: var(--dt-white);
	transition: border-color var(--dt-fast), background var(--dt-fast);
}

.dt-header:not(.is-transparent) .dt-nav-toggle {
	border-color: var(--dt-line);
	color: var(--dt-ink);
}

.dt-nav-toggle__box {
	display: grid;
	gap: 4px;
	width: 18px;
}

.dt-nav-toggle__bar {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform var(--dt-fast), opacity var(--dt-fast);
}

.dt-nav-scrim {
	position: fixed;
	inset: 0;
	z-index: 85;
	background: rgba(7, 17, 28, 0.55);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity var(--dt-base);
}

.dt-nav-scrim.is-open {
	opacity: 1;
}
/* Header scroll states --------------------------------------------------- */

.dt-header.is-transparent {
	background: linear-gradient(180deg, rgba(7, 17, 28, 0.72), rgba(7, 17, 28, 0));
}

.dt-header.is-stuck {
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom-color: var(--dt-line);
	box-shadow: 0 1px 24px rgba(7, 17, 28, 0.06);
}

.dt-header.is-stuck .dt-logo__mark {
	color: var(--dt-ink);
}

.dt-header.is-menu-open {
	background: var(--dt-navy);
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

.dt-header.is-menu-open .dt-logo__mark,
.dt-header.is-menu-open .dt-nav__item > a {
	color: var(--dt-white);
}

.dt-header.is-menu-open .dt-nav-toggle {
	border-color: rgba(255, 255, 255, 0.28);
	color: var(--dt-white);
}

body.dt-menu-open {
	overflow: hidden;
}

/* Footer ----------------------------------------------------------------- */

.dt-footer {
	background: var(--dt-navy);
	color: rgba(255, 255, 255, 0.66);
	padding-block: clamp(3rem, 2rem + 3vw, 5rem) 1.75rem;
	font-size: var(--fs-sm);
}

.dt-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 2.4fr);
	gap: clamp(2rem, 1rem + 3vw, 4rem);
	padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.dt-footer .dt-logo__mark {
	color: var(--dt-white);
}

.dt-footer__tagline {
	margin: 1.1rem 0 0.75rem;
	color: var(--dt-white);
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.4;
	max-width: 22ch;
}

.dt-footer__note {
	max-width: 42ch;
	color: rgba(255, 255, 255, 0.56);
	line-height: 1.7;
}

.dt-footer__nav {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem 2rem;
}

.dt-footer__heading {
	margin: 0 0 0.9rem;
	color: var(--dt-white);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.dt-footer__list,
.dt-footer__legal-list {
	display: grid;
	gap: 0.55rem;
}

.dt-footer__list a,
.dt-footer__legal-list a {
	color: rgba(255, 255, 255, 0.62);
	transition: color var(--dt-fast), transform var(--dt-fast);
	display: inline-block;
}

.dt-footer__list a:hover,
.dt-footer__legal-list a:hover {
	color: var(--dt-yellow-hi);
}

.dt-footer__contact {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2.5rem;
	padding-block: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.dt-footer__contact-title {
	margin: 0;
	color: var(--dt-white);
	font-size: 1.0625rem;
}

.dt-footer__contact .dt-contact-list {
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 0.75rem 2rem;
	max-width: 100%;
	flex: 1 1 520px;
}

.dt-footer .dt-contact-list__label {
	color: rgba(255, 255, 255, 0.45);
}

.dt-footer .dt-contact-list a,
.dt-footer .dt-contact-list__value {
	color: rgba(255, 255, 255, 0.82);
}

.dt-footer .dt-contact-list__icon {
	background: rgba(255, 255, 255, 0.07);
	color: var(--dt-yellow);
}

.dt-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	padding-top: 1.5rem;
	font-size: var(--fs-xs);
	color: rgba(255, 255, 255, 0.45);
}

.dt-footer__copy {
	margin: 0;
}

.dt-footer__legal-list {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

/* Socials ---------------------------------------------------------------- */

.dt-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.25rem;
}

.dt-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--dt-r-sm);
	color: rgba(255, 255, 255, 0.75);
	transition: all var(--dt-fast);
}

.dt-socials a:hover {
	background: var(--dt-yellow);
	border-color: var(--dt-yellow);
	color: var(--dt-navy);
	transform: translateY(-2px);
}

.dt-socials--dark a {
	border-color: rgba(255, 255, 255, 0.16);
}

/* Motion preferences ----------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.dt-header,
	.dt-footer,
	.dt-nav-scrim {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}
}