/* Twist Account 0.1.2: the public Delivery & Returns page, as Tom's picture (picture 23 of the "Account" doc).
   Loaded only on that page, only while the new page is on for the visitor. Every rule sits under .twac-dr so nothing
   else on the site changes, except one under body.twac-dr-on (that class too is only there while the new page shows).
   Square corners everywhere (Twist rule). */

/* The theme's 20px above the page content: Tom's hero sits straight under the site header. */
body.twac-dr-on #main .main-content {
	padding-top: 0;
}

.twac-dr {
	--twdr-ink: #111;
	--twdr-text: #3a3a3a;
	--twdr-muted: #6b6b6b;
	--twdr-blue: #4dbbe6;
	--twdr-pale: #e9f3fc;
	--twdr-edge: #dde9f4;
	--twdr-line: #e8e8e8;
	--twdr-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
	position: relative;
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 10px 56px;
	font-family: var(--twdr-font);
	font-size: 15px;
	line-height: 1.6;
	color: var(--twdr-text);
	text-align: left;
	letter-spacing: normal;
}

.twac-dr *,
.twac-dr *::before,
.twac-dr *::after {
	box-sizing: border-box;
	border-radius: 0 !important;
}

.twac-dr p,
.twac-dr ul,
.twac-dr li,
.twac-dr address {
	margin: 0;
	padding: 0;
	font-family: var(--twdr-font);
	font-style: normal;
}

.twac-dr ul {
	list-style: none;
}

.twac-dr li::before,
.twac-dr li::after {
	content: none;
}

/* ---------- The hero: the pale blue runs in from the left edge of the window and fades to white before the right
   edge of the content, so it never makes the page wider than the window. ---------- */

.twac-dr-hero {
	position: relative;
	padding: 52px 0 50px;
}

.twac-dr-hero::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: calc(50% - 50vw);
	z-index: 0;
	background: linear-gradient(90deg, #dcf1fb 0%, #e9f3fc 40%, #ffffff 100%);
}

.twac-dr-hero > * {
	position: relative;
	z-index: 1;
}

.twac-dr .twac-dr-h1 {
	margin: 0 0 16px;
	padding: 0;
	font-family: var(--twdr-font);
	font-size: 46px;
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-transform: none;
	color: var(--twdr-ink);
}

.twac-dr .twac-dr-hero__text {
	max-width: 640px;
	margin: 0 0 26px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--twdr-text);
}

.twac-dr .twac-dr-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.twac-dr .twac-dr-jump a {
	display: inline-block;
	padding: 10px 16px;
	border: 1px solid var(--twdr-edge);
	background: #fff;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--twdr-ink);
	text-decoration: none;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.twac-dr .twac-dr-jump a:hover,
.twac-dr .twac-dr-jump a:focus-visible {
	border-color: var(--twdr-ink);
	color: var(--twdr-ink);
}

/* ---------- The numbered sections: number and title on the left, the words on the right ---------- */

.twac-dr-sec {
	display: grid;
	grid-template-columns: minmax(0, 11fr) minmax(0, 19fr);
	gap: 32px;
	padding: 46px 0;
	border-top: 1px solid var(--twdr-line);
	scroll-margin-top: 140px;
}

.twac-dr-hero + .twac-dr-sec {
	margin-top: 22px;
}

.twac-dr .twac-dr-num {
	margin: 0 0 6px;
	font-size: 11.5px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.2em;
	color: var(--twdr-blue);
}

.twac-dr .twac-dr-h2 {
	margin: 0;
	padding: 0;
	font-family: var(--twdr-font);
	font-size: 32px;
	font-weight: 300;
	line-height: 1.15;
	letter-spacing: -0.005em;
	text-transform: none;
	color: var(--twdr-ink);
}

/* Two classes, so it outranks the reset on .twac-dr p above. */
.twac-dr .twac-dr-sec__body > * + * {
	margin-top: 16px;
}

.twac-dr .twac-dr-sec__body > .twac-dr-small {
	margin-top: 12px;
}

.twac-dr .twac-dr-lead {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.45;
	color: var(--twdr-ink);
}

.twac-dr .twac-dr-p {
	font-size: 15px;
	line-height: 1.7;
	color: var(--twdr-text);
}

.twac-dr .twac-dr-small {
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--twdr-muted);
}

/* ---------- Delivery: the boxes ---------- */

.twac-dr-boxes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.twac-dr-box {
	padding: 22px 24px 24px;
	border: 1px solid var(--twdr-edge);
	background: #fff;
}

.twac-dr .twac-dr-label {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--twdr-blue);
}

.twac-dr .twac-dr-fig {
	margin: 0 0 8px;
	line-height: 1.2;
	color: var(--twdr-ink);
}

.twac-dr .twac-dr-fig__main {
	font-size: 26px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--twdr-ink);
}

.twac-dr .twac-dr-fig__side {
	font-size: 14px;
	color: var(--twdr-text);
	white-space: nowrap;
}

.twac-dr .twac-dr-fig__dot {
	margin: 0 4px 0 2px;
	color: var(--twdr-blue);
	font-weight: 700;
}

.twac-dr .twac-dr-box__text {
	font-size: 14px;
	line-height: 1.6;
	color: var(--twdr-text);
}

.twac-dr .twac-dr-rates {
	margin: 0 0 8px;
}

.twac-dr .twac-dr-rates li {
	display: flex;
	align-items: baseline;
	justify-content: flex-start;
	gap: 10px;
	padding: 1px 0;
}

.twac-dr .twac-dr-rates__name {
	min-width: 64px;
	font-size: 14px;
	color: var(--twdr-text);
}

/* ---------- Returns: the pale blue note ---------- */

.twac-dr .twac-dr-note {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 22px;
	background: var(--twdr-pale);
	color: var(--twdr-ink);
	font-size: 15px;
	line-height: 1.55;
	text-decoration: none;
	transition: background 0.15s ease;
}

.twac-dr .twac-dr-note:hover,
.twac-dr .twac-dr-note:focus-visible {
	background: #dcecf9;
	color: var(--twdr-ink);
}

.twac-dr .twac-dr-note .twac-arrow,
.twac-dr .twac-dr-btn .twac-arrow {
	flex: 0 0 auto;
	font-size: 18px;
	line-height: 1;
}

/* ---------- How to Return: the address in a box, the words beside it ---------- */

.twac-dr-return {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.twac-dr .twac-dr-address__lines {
	font-size: 15px;
	line-height: 1.85;
	color: var(--twdr-ink);
}

.twac-dr .twac-dr-return__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--twdr-text);
}

/* ---------- Need a Hand? ---------- */

.twac-dr-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin-top: 22px;
	padding: 44px 50px;
	background: linear-gradient(90deg, #e3f2fc 0%, #edf6fd 55%, #ffffff 100%);
}

.twac-dr .twac-dr-band__title {
	margin: 0 0 10px;
	padding: 0;
	font-family: var(--twdr-font);
	font-size: 32px;
	font-weight: 300;
	line-height: 1.15;
	text-transform: none;
	color: var(--twdr-ink);
}

.twac-dr .twac-dr-band__text {
	max-width: 560px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--twdr-text);
}

.twac-dr .twac-dr-btn {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 26px;
	border: 1px solid var(--twdr-ink);
	background: var(--twdr-ink);
	color: #fff !important;
	font-family: var(--twdr-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background 0.15s ease;
}

.twac-dr .twac-dr-btn:hover,
.twac-dr .twac-dr-btn:focus-visible {
	background: #3a3a3a;
	color: #fff !important;
}

.twac-dr .twac-dr-foot {
	margin-top: 18px;
}

.twac-dr a:focus-visible {
	outline: 2px solid var(--twdr-ink);
	outline-offset: 2px;
}

/* ---------- Tablet and phone ---------- */

@media (max-width: 991px) {
	.twac-dr-sec {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		padding: 36px 0;
	}
}

@media (max-width: 767px) {
	.twac-dr {
		padding: 0 0 40px;
		font-size: 15px;
	}

	.twac-dr-hero {
		padding: 34px 0 34px;
	}

	.twac-dr .twac-dr-h1 {
		font-size: 34px;
	}

	.twac-dr .twac-dr-hero__text {
		font-size: 15px;
		margin-bottom: 20px;
	}

	.twac-dr .twac-dr-jump {
		gap: 8px;
	}

	.twac-dr .twac-dr-jump a {
		padding: 9px 12px;
		font-size: 12.5px;
	}

	.twac-dr-sec {
		padding: 30px 0;
		scroll-margin-top: 90px;
	}

	.twac-dr .twac-dr-h2 {
		font-size: 27px;
	}

	.twac-dr .twac-dr-lead {
		font-size: 18px;
	}

	.twac-dr-boxes,
	.twac-dr-return {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.twac-dr-box {
		padding: 18px 18px 20px;
	}

	.twac-dr .twac-dr-fig__main {
		font-size: 24px;
	}

	.twac-dr .twac-dr-note {
		padding: 16px 18px;
		font-size: 14.5px;
	}

	.twac-dr-band {
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
		padding: 30px 22px;
	}

	.twac-dr .twac-dr-band__title {
		font-size: 27px;
	}

	.twac-dr .twac-dr-btn {
		width: 100%;
	}
}
