* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--adt-bg);
	color: var(--adt-text);
	font-family: var(--adt-font-body);
	font-size: 16px;
	line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--adt-font-heading); line-height: 1.2; margin: 0 0 .5em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--adt-primary); }

.adt-container { max-width: var(--adt-container-width); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.adt-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	border: 1px solid var(--adt-border);
	color: var(--adt-text);
	background: var(--adt-surface);
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease;
}
.adt-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.adt-btn-primary { background: var(--adt-primary); border-color: var(--adt-primary); color: #fff; }
.adt-btn-ghost { background: transparent; border-color: transparent; }
.adt-btn-lg { padding: 16px 32px; font-size: 16px; }

/* ---------- Header ---------- */
.adt-header { background: var(--adt-surface); border-bottom: 1px solid var(--adt-border); position: sticky; top: 0; z-index: 50; }
.adt-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; gap: 20px; }
.adt-logo { display: flex; align-items: center; text-decoration: none; color: var(--adt-text); font-weight: 800; font-size: 18px; }
.adt-logo img { max-height: 40px; }

.adt-primary-nav { display: flex; align-items: center; gap: 28px; }
.adt-nav-menu { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.adt-nav-menu a { color: var(--adt-text); text-decoration: none; font-size: 14px; font-weight: 500; }
.adt-nav-menu a:hover { color: var(--adt-primary); }
.adt-header-actions { display: flex; align-items: center; gap: 10px; }

.adt-mode-toggle { background: none; border: 1px solid var(--adt-border); border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: 14px; }
.adt-mode-icon-dark { display: none; }
[data-theme="dark"] .adt-mode-icon-light { display: none; }
[data-theme="dark"] .adt-mode-icon-dark { display: inline; }

.adt-nav-toggle-input { display: none; }
.adt-nav-toggle-btn { display: none; flex-direction: column; gap: 4px; cursor: pointer; }
.adt-nav-toggle-btn span { width: 22px; height: 2px; background: var(--adt-text); display: block; }

@media (max-width: 900px) {
	.adt-nav-toggle-btn { display: flex; }
	.adt-primary-nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: var(--adt-surface);
		border-bottom: 1px solid var(--adt-border);
		flex-direction: column;
		align-items: flex-start;
		padding: 16px 20px 20px;
		display: none;
	}
	.adt-nav-toggle-input:checked ~ .adt-primary-nav { display: flex; }
	.adt-nav-menu { flex-direction: column; gap: 14px; }
	.adt-header-actions { margin-top: 14px; flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.adt-hero { padding: 80px 0; overflow: hidden; }
.adt-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.adt-hero-eyebrow { color: var(--adt-primary); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.adt-hero h1 { font-size: 44px; margin-bottom: 18px; }
.adt-hero p.adt-hero-sub { color: var(--adt-muted); font-size: 18px; max-width: 520px; margin-bottom: 28px; }
.adt-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.adt-hero-art { position: relative; height: 360px; }
.adt-hero-art svg { width: 100%; height: 100%; }
.adt-hero-pin {
	position: absolute;
	width: 46px; height: 46px;
	border-radius: 50% 50% 50% 0;
	background: var(--adt-primary);
	transform: rotate(-45deg);
	animation: adt-bounce 2.4s ease-in-out infinite;
}
.adt-hero-pin::after { content: ''; position: absolute; inset: 10px; background: #fff; border-radius: 50%; }
@keyframes adt-bounce { 0%, 100% { transform: rotate(-45deg) translateY(0); } 50% { transform: rotate(-45deg) translateY(-14px); } }

@media (max-width: 900px) {
	.adt-hero-inner { grid-template-columns: 1fr; }
	.adt-hero h1 { font-size: 32px; }
	.adt-hero-art { height: 220px; }
}

/* ---------- Sections ---------- */
.adt-section { padding: 64px 0; }
.adt-section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.adt-section-head h2 { font-size: 32px; }
.adt-section-head p { color: var(--adt-muted); font-size: 16px; }

/* ---------- Feature cards ---------- */
.adt-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.adt-feature-card {
	background: var(--adt-surface);
	border: 1px solid var(--adt-border);
	border-radius: var(--adt-radius);
	padding: 26px;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .5s ease, transform .5s ease;
}
.adt-feature-card.adt-revealed { opacity: 1; transform: translateY(0); }
.adt-feature-icon { font-size: 28px; margin-bottom: 14px; }
.adt-feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.adt-feature-card p { color: var(--adt-muted); font-size: 14px; margin: 0; }

/* ---------- How it works ---------- */
.adt-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; counter-reset: adt-step; }
.adt-step {
	text-align: center;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .5s ease, transform .5s ease;
}
.adt-step.adt-revealed { opacity: 1; transform: translateY(0); }
.adt-step-number {
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--adt-primary);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-weight: 800;
	margin: 0 auto 12px;
}
.adt-step h3 { font-size: 15px; margin-bottom: 4px; }
.adt-step p { color: var(--adt-muted); font-size: 13px; margin: 0; }

/* ---------- Tracking teaser / display shortcodes ---------- */
.adt-tracking-embed, .adt-notice { background: var(--adt-surface); border: 1px solid var(--adt-border); border-radius: var(--adt-radius); padding: 20px; }
.adt-tracking-embed-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.adt-notice { color: var(--adt-muted); }

.adt-stats-row { display: flex; gap: 16px; flex-wrap: wrap; }
.adt-stat-tile { background: var(--adt-surface); border: 1px solid var(--adt-border); border-radius: var(--adt-radius); padding: 20px 28px; text-align: center; }
.adt-stat-value { display: block; font-size: 30px; font-weight: 800; color: var(--adt-primary); }
.adt-stat-label { font-size: 12px; color: var(--adt-muted); text-transform: uppercase; letter-spacing: .03em; }

.adt-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--adt-surface-alt); color: var(--adt-text); }

/* ---------- Footer ---------- */
.adt-footer { background: var(--adt-secondary); color: #cbd5e1; margin-top: 60px; }
.adt-footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 48px 20px; }
.adt-footer-brand strong { color: #fff; font-size: 18px; }
.adt-footer-widget-title { color: #fff; font-size: 14px; }
.adt-footer-menu-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.adt-footer-menu-list a { color: #cbd5e1; text-decoration: none; font-size: 14px; }
.adt-footer-bottom { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; text-align: center; }
@media (max-width: 700px) { .adt-footer-inner { grid-template-columns: 1fr; } }

/* ---------- Blog fallback ---------- */
.adt-content { padding: 48px 0; }
.adt-post-card { background: var(--adt-surface); border: 1px solid var(--adt-border); border-radius: var(--adt-radius); padding: 24px; margin-bottom: 16px; }
.adt-post-card h2 a { color: var(--adt-text); text-decoration: none; }
.adt-post-excerpt { color: var(--adt-muted); }
