/* TEA Index Download page (page-templates/tea-index-download.php)
   Everything is scoped to .tea-dl so it can't leak into the rest of the theme. */

.tea-dl {
	--tea-orange: #e6700b;
	--tea-charcoal: #1d1d1d;
	--tea-ink: #232324;
	--tea-gray: #6b6b6b;
	--tea-paper: #f6f5f3;
	--tea-display: 'UniSans-Bold', 'Arial Narrow', Arial, sans-serif;
	--tea-body: proxima-nova, 'Helvetica Neue', Arial, sans-serif;

	background: #fff;
	color: var(--tea-ink);
	font-family: var(--tea-body);
	font-size: 19px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
.tea-dl *, .tea-dl *::before, .tea-dl *::after { box-sizing: border-box; }
.tea-dl img { max-width: 100%; height: auto; display: block; }
.tea-dl a { color: var(--tea-orange); }
.tea-dl [hidden] { display: none !important; }

.tea-dl-wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 24px; }

/* ---------- Intro title ---------- */
/* Top padding clears the theme's fixed 108px header. */
.tea-dl-intro { padding: 196px 0 56px; text-align: center; }
.tea-dl-eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--tea-display); font-weight: normal;
	font-size: 15px; letter-spacing: 4px; text-transform: uppercase;
	color: var(--tea-orange);
	margin-bottom: 18px;
}
.tea-dl-eyebrow::before, .tea-dl-eyebrow::after {
	content: ''; width: 32px; height: 2px; background: currentColor;
}
.tea-dl .tea-dl-intro h1 {
	margin: 0 auto; padding: 0;
	max-width: 1100px;
	font-family: var(--tea-display); font-weight: normal;
	font-size: clamp(36px, 5.2vw, 68px);
	line-height: 1.08;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--tea-charcoal);
}
.tea-dl .tea-dl-sub {
	margin: 18px auto 0; max-width: 760px;
	color: var(--tea-gray); font-size: 23px;
}

/* ---------- Report + form ---------- */
.tea-dl-offer { padding: 24px 0 88px; }
.tea-dl-offer .tea-dl-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 72px;
	align-items: start;
}

.tea-dl .tea-dl-cover {
	width: 100%;
	border-radius: 4px;
	box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.45);
}
.tea-dl .tea-dl-lead {
	margin: 40px 0 20px;
	font-weight: 700; font-size: 26px; line-height: 1.4;
	color: var(--tea-charcoal);
}
.tea-dl .tea-dl-copy p { margin: 0 0 18px; color: #3a3a3a; font-size: 19px; line-height: 1.65; }

.tea-dl-card {
	position: sticky; top: 140px;
	background: #fff;
	border-top: 4px solid var(--tea-orange);
	box-shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.18);
	padding: 48px 48px 40px;
}
.tea-dl .tea-dl-card h2 {
	margin: 0; padding: 0;
	font-family: var(--tea-display); font-weight: normal;
	font-size: 34px; line-height: 1.1; letter-spacing: 0.5px;
	text-transform: uppercase; color: var(--tea-charcoal);
}
.tea-dl .tea-dl-form-intro { margin: 12px 0 28px; color: var(--tea-gray); font-size: 18px; }
.tea-dl-form { min-height: 520px; }

.tea-dl-success { text-align: center; padding: 24px 0 8px; }
.tea-dl-check {
	width: 64px; height: 64px; margin: 0 auto 18px;
	border-radius: 50%; background: var(--tea-orange);
	display: grid; place-items: center;
}
.tea-dl .tea-dl-success h3 {
	margin: 0 0 8px; padding: 0;
	font-family: var(--tea-display); font-weight: normal;
	font-size: 30px; text-transform: uppercase; color: var(--tea-charcoal);
}
.tea-dl .tea-dl-success p { margin: 0 0 26px; color: var(--tea-gray); font-size: 18px; }

.tea-dl .tea-dl-btn {
	display: inline-block;
	font-family: var(--tea-display); font-weight: normal;
	font-size: 17px; letter-spacing: 1.5px; text-transform: uppercase;
	text-decoration: none;
	color: var(--tea-charcoal);
	border: 2px solid var(--tea-orange);
	padding: 16px 40px;
	transition: background .2s, color .2s;
}
.tea-dl .tea-dl-btn:hover { background: var(--tea-orange); color: #fff; }

/* ---------- Partners strip ---------- */
.tea-dl-partners { background: var(--tea-paper); padding: 52px 0; text-align: center; }
.tea-dl .tea-dl-partners-label {
	font-family: var(--tea-display); font-weight: normal;
	font-size: 15px; letter-spacing: 4px; text-transform: uppercase;
	color: var(--tea-gray); margin: 0 0 18px;
}
.tea-dl .tea-dl-partners ul {
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
	gap: 28px 64px;
	margin: 8px 0 0; padding: 0; list-style: none;
}
.tea-dl .tea-dl-partners li { margin: 0; padding: 0; }
.tea-dl .tea-dl-partners li::before { display: none; }
.tea-dl .tea-dl-partners a {
	display: block;
	color: var(--tea-charcoal); text-decoration: none;
	font-weight: 700; font-size: 21px;
	transition: opacity .2s;
}
.tea-dl .tea-dl-partners a:hover { opacity: .65; }
/* Logos have very different shapes, so heights are tuned per logo to look the same size. */
.tea-dl .tea-dl-partners img { width: auto; height: 52px; max-width: 220px; object-fit: contain; }
.tea-dl .tea-dl-partners .logo-eca { height: 80px; }
.tea-dl .tea-dl-partners .logo-moongate { height: 46px; }
.tea-dl .tea-dl-partners .logo-tea { height: 96px; max-width: 200px; }

/* ---------- Who is Storyland ---------- */
.tea-dl-who { background: var(--tea-orange); color: #fff; padding: 110px 0; }
.tea-dl-who .tea-dl-wrap {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 64px; align-items: center;
}
.tea-dl .tea-dl-who-logo { max-width: 440px; width: 100%; margin: 0 auto; }
.tea-dl .tea-dl-who h2 {
	margin: 0 0 14px; padding: 0; color: #fff;
	font-family: var(--tea-display); font-weight: normal;
	font-size: 50px; line-height: 1.05; text-transform: uppercase;
}
.tea-dl .tea-dl-who p { margin: 0 0 16px; max-width: 640px; font-size: 21px; color: #fff; }
.tea-dl .tea-dl-who h3 {
	margin: 30px 0 8px; padding: 0; color: #fff;
	font-family: var(--tea-display); font-weight: normal;
	font-size: 34px; text-transform: uppercase;
}
.tea-dl .tea-dl-who ul { margin: 0 0 34px; padding-left: 22px; list-style: disc; }
.tea-dl .tea-dl-who li { margin: 4px 0; font-size: 20px; color: #fff; }
.tea-dl .tea-dl-who a:not(.tea-dl-btn) { color: #fff; text-decoration: underline; }
.tea-dl .tea-dl-who .tea-dl-btn { color: #fff; border-color: #fff; }
.tea-dl .tea-dl-who .tea-dl-btn:hover { background: #fff; color: var(--tea-orange); }

/* ---------- Theme overrides ----------
   The theme's global styles add letter-spacing to body/p and margins, widths and a
   fixed height to every input. HubSpot renders this form in the page, so undo them here. */
.tea-dl, .tea-dl p, .tea-dl li, .tea-dl form.hs-form { letter-spacing: normal; }
.tea-dl form.hs-form .input { margin: 0 !important; }
.tea-dl form.hs-form input,
.tea-dl form.hs-form textarea,
.tea-dl form.hs-form select { margin: 0 !important; max-width: 100% !important; }
.tea-dl form.hs-form .hs-form-booleancheckbox-display input {
	width: 18px !important; min-width: 18px; height: 18px !important; margin: 4px 0 0 !important;
}
.tea-dl form.hs-form .hs-form-booleancheckbox-display > span { margin: 0; padding: 0; }
.tea-dl form.hs-form input[type=submit] { width: auto !important; height: auto !important; line-height: 1.2 !important; }

/* ---------- Test-mode helper (editors only, ?test=1) ---------- */
.tea-dl-test-bar {
	position: fixed; right: 16px; bottom: 16px; z-index: 600;
	background: #111; color: #fff; font: 13px/1.4 monospace;
	padding: 10px 12px; border-radius: 6px; box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.tea-dl-test-bar button {
	margin-left: 8px; font: inherit; cursor: pointer;
	background: #e6700b; color: #fff; border: 0; border-radius: 4px; padding: 4px 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.tea-dl-intro { padding-top: 150px; }
	.tea-dl-offer .tea-dl-wrap, .tea-dl-who .tea-dl-wrap { grid-template-columns: 1fr; gap: 40px; }
	.tea-dl-card { position: static; order: -1; padding: 28px 22px 20px; }
	.tea-dl .tea-dl-who-logo { max-width: 240px; margin: 0; }
}
@media (max-width: 520px) {
	.tea-dl-wrap { padding: 0 16px; }
	.tea-dl-intro { padding: 130px 0 28px; }
	.tea-dl-offer { padding-bottom: 64px; }
	.tea-dl .tea-dl-partners ul { gap: 24px 36px; }
	.tea-dl .tea-dl-partners img { height: 38px; max-width: 150px; }
	.tea-dl .tea-dl-partners .logo-eca { height: 60px; }
	.tea-dl .tea-dl-partners .logo-moongate { height: 34px; }
	.tea-dl .tea-dl-partners .logo-tea { height: 72px; max-width: 150px; }
	.tea-dl .tea-dl-who h2 { font-size: 38px; }
}
