/*
 * The ways to buy (fystore/offers) and the license questions (fystore/theme-faq).
 * On a theme page they sit inside .fs-theme.has-look; anywhere else they take
 * the store's own colors and fonts from the --t-* defaults below.
 */
.fs-offers, .fs-tfaq {
	--t-base: var(--fs-paper, #fff);
	--t-surface: var(--fs-stone, #f3f3f0);
	--t-ink: var(--fs-ink, #111113);
	--t-muted: var(--fs-muted, #67676e);
	--t-accent: var(--fs-accent, #4b4ef2);
	--t-on-accent: #fff;
	--t-deep: var(--fs-graphite, #1b1b1f);
	--t-on-deep: #fff;
	--t-pop: color-mix(in srgb, var(--fs-accent, #4b4ef2) 45%, #fff);
	--t-display: var(--fs-serif);
	--t-body: var(--fs-sans);
	--t-line: color-mix(in srgb, var(--t-ink) 14%, var(--t-base));
	--t-soft: color-mix(in srgb, var(--t-ink) 66%, var(--t-base));
	font-family: var(--t-body);
	color: var(--t-ink);
}
.fs-offers :where(h2, h3), .fs-tfaq :where(h2, h3) { font-family: var(--t-display); font-weight: normal; letter-spacing: -.01em; }
.fs-offer__buy { display: inline-flex; align-items: center; min-height: 54px; padding: 0 28px; border: 1.5px solid transparent; border-radius: 999px; background: var(--t-accent); color: var(--t-on-accent); font: 600 16px/1 var(--t-body); text-decoration: none; transition: background-color .2s, color .2s, box-shadow .3s; }
.fs-offer__buy:hover { color: var(--t-on-accent); box-shadow: 0 14px 30px -14px var(--t-accent); }

/* Offers */
.fs-offers { margin-top: clamp(80px, 10vw, 150px) !important; scroll-margin-top: 24px; }
.fs-offers__head { max-width: 720px; }
.fs-offers__title { margin: 0; font-size: clamp(40px, 4.6vw, 72px); line-height: 1; }
.fs-offers__lead { margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: var(--t-soft, var(--fs-muted)); }
.fs-offers__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; align-items: stretch; }
.fs-offer {
	display: flex;
	flex-direction: column;
	padding: 34px 34px 32px;
	border-radius: 24px;
	background: var(--t-surface, var(--fs-stone));
	color: var(--t-ink, var(--fs-ink));
	transition: background-color .6s var(--fs-ease), color .6s var(--fs-ease);
}
.fs-offer--all { background: var(--t-base, #fff); box-shadow: inset 0 0 0 1px var(--t-line, var(--fs-line)); }
.fs-offer__name { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 30px; line-height: 1.1; color: inherit; }
.fs-offer__name img { width: 40px; height: 40px; border-radius: 22%; }
.fs-offer__note { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: color-mix(in srgb, currentColor 72%, transparent); }
.fs-offer__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 26px 0 0; }
.fs-offer__amount { font-family: var(--t-display, var(--fs-serif)); font-size: clamp(52px, 5vw, 76px); line-height: 1; letter-spacing: -.02em; }
.fs-offer__once { font-size: 15px; color: color-mix(in srgb, currentColor 65%, transparent); }
.fs-offer__worth { flex-basis: 100%; margin-top: 6px; font-size: 14px; color: color-mix(in srgb, currentColor 65%, transparent); }
.fs-offer__lines { flex: 1; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent); list-style: none; }
.fs-offer__lines li { position: relative; margin: 0 0 10px; padding-left: 26px; font-size: 15px; line-height: 1.45; }
.fs-offer__lines li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 12px; height: 7px; border-left: 2px solid var(--t-accent, var(--fs-accent)); border-bottom: 2px solid var(--t-accent, var(--fs-accent)); transform: rotate(-45deg); }
.fs-offer__buy { justify-content: center; margin-top: 26px; }
.fs-offer--all .fs-offer__buy { background: transparent; color: var(--t-ink); border-color: var(--t-ink); }
.fs-offer--all .fs-offer__buy:hover { background: var(--t-ink); color: var(--t-base); box-shadow: none; }

/* Mega Bundle: the three brands on top, the pitch on the dark, and a receipt of what it would cost one by one. */
.fs-mega {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: center;
	margin-top: 20px;
	padding: clamp(32px, 4vw, 56px);
	border-radius: 28px;
	background: radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--t-accent) 38%, transparent), transparent 60%), var(--t-deep, var(--fs-ink));
	color: var(--t-on-deep, #fff);
	overflow: hidden;
}
.fs-mega__brands { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; margin: 0 0 clamp(8px, 2vw, 24px); padding: 0; list-style: none; }
.fs-mega__brand { flex: 1 1 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 150px; padding: 24px 26px; border-radius: 20px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.fs-mega__plus { flex: 0 0 auto; align-self: center; font-family: var(--t-display); font-size: 44px; line-height: 1; color: var(--t-pop); }
.fs-mega__logo { display: flex; align-items: center; gap: 12px; height: 44px; font-family: var(--t-display); font-size: 30px; line-height: 1; color: #fff; }
.fs-mega__logo svg { height: 40px; width: auto; }
.fs-mega__fy { display: grid; place-items: center; width: 40px; height: 40px; padding-bottom: 4px; box-sizing: border-box; border-radius: 12px; background: #fff; color: var(--fs-ink); font-family: var(--fs-serif); font-size: 28px; line-height: 1; }
.fs-mega__logo--fy { font-family: var(--fs-sans); font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.fs-mega__what { margin: 0; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .78); }
.fs-mega__what strong { display: block; margin-bottom: 2px; font-size: 17px; font-weight: 600; color: #fff; }
.fs-mega__more { display: block; width: fit-content; margin-top: 16px; color: #fff; font-size: 16px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--t-pop); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.fs-mega__more:hover { color: var(--t-pop); }
.fs-mega__site { align-self: flex-start; margin-top: -6px; color: var(--t-pop); font-size: 14px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.fs-mega__site:hover { color: #fff; }
.fs-mega__payback { margin: 22px 0 0; padding: 16px 18px; border-left: 3px solid var(--t-pop); background: rgba(255, 255, 255, .06); border-radius: 0 12px 12px 0; font-size: 16px; line-height: 1.5; }
.fs-mega__payback strong { color: #fff; }
.fs-mega__name { margin: 0; font-size: clamp(44px, 5vw, 76px); line-height: .95; color: inherit; }
.fs-mega__note { max-width: 36ch; margin: 16px 0 0; font-size: 17px; line-height: 1.55; color: color-mix(in srgb, currentColor 78%, transparent); }
.fs-mega__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 30px 0 0; }
.fs-mega__amount { font-family: var(--t-display, var(--fs-serif)); font-size: clamp(64px, 7vw, 108px); line-height: .9; letter-spacing: -.02em; color: var(--t-pop, #fff); }
.fs-mega__once { font-size: 16px; color: color-mix(in srgb, currentColor 70%, transparent); }
.fs-mega__buy {
	display: inline-flex;
	align-items: center;
	min-height: 58px;
	margin-top: 28px;
	padding: 0 32px;
	border-radius: 999px;
	background: var(--t-pop, #fff);
	color: var(--t-deep, #111);
	font: 600 17px/1 var(--t-body);
	text-decoration: none;
	transition: transform .2s var(--fs-ease), box-shadow .3s var(--fs-ease);
}
.fs-mega__buy:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px var(--t-pop); color: var(--t-deep); }
.fs-mega__receipt {
	position: relative;
	padding: 30px 30px 26px;
	border-radius: 6px;
	background: var(--t-base, #fff);
	color: var(--t-ink, #111);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
	transform: rotate(1.2deg);
	-webkit-mask: radial-gradient(circle at 10px 0, transparent 7px, #000 7.5px) 0 0 / 20px 100% repeat-x top, linear-gradient(#000, #000);
}
.fs-mega__receipt-title { margin: 0 0 18px; font-family: var(--t-display); font-size: 22px; line-height: 1.2; }
.fs-mega__items { margin: 0; }
.fs-mega__items > div { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px dashed color-mix(in srgb, var(--t-ink, #111) 22%, transparent); }
.fs-mega__items dt { flex: 1; font-size: 15px; line-height: 1.4; }
.fs-mega__items dd { margin: 0; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fs-mega__sum dt, .fs-mega__sum dd { color: color-mix(in srgb, var(--t-ink, #111) 60%, transparent); }
.fs-mega__sum s { text-decoration-thickness: 2px; text-decoration-color: var(--t-accent, #c00); }
.fs-mega__items > .fs-mega__you { border-bottom: 0; padding-top: 14px; }
.fs-mega__you dt { font-family: var(--t-display); font-size: 22px; }
.fs-mega__you dd { font-family: var(--t-display); font-size: 30px; font-weight: normal; color: var(--t-accent, #c00); }
.fs-mega__save { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, var(--t-accent, #c00) 12%, transparent); font-size: 15px; font-weight: 600; text-align: center; }

.fs-mega__lines { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.fs-mega__lines li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; }
.fs-mega__lines li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 12px; height: 7px; border-left: 2px solid var(--t-pop, currentColor); border-bottom: 2px solid var(--t-pop, currentColor); transform: rotate(-45deg); }
.fs-mega__lines li:first-child { font-weight: 600; }

/* Questions about licenses */
.fs-tfaq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(80px, 9vw, 130px) !important; margin-bottom: clamp(80px, 9vw, 130px) !important; scroll-margin-top: 24px; }
.fs-tfaq__head { align-self: start; position: sticky; top: 32px; }
.fs-tfaq__title { margin: 0; font-size: clamp(36px, 3.8vw, 56px); line-height: 1.02; }
.fs-tfaq__lead { margin: 16px 0 0; font-size: 16px; line-height: 1.6; color: var(--t-muted, var(--fs-muted)); }
.fs-tfaq__lead a { color: var(--t-accent-text, var(--t-ink)); text-decoration: underline; text-decoration-color: var(--t-accent); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.fs-tfaq__list { border-top: 1px solid color-mix(in srgb, var(--t-ink, #111) 18%, transparent); }
.fs-tfaq__q { border-bottom: 1px solid color-mix(in srgb, var(--t-ink, #111) 18%, transparent); }
.fs-tfaq__q summary { position: relative; display: block; padding: 22px 48px 22px 0; font-family: var(--t-display, var(--fs-serif)); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.3; cursor: pointer; list-style: none; }
.fs-tfaq__q summary::-webkit-details-marker { display: none; }
.fs-tfaq__q summary::before, .fs-tfaq__q summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: var(--t-accent, currentColor); transition: transform .3s var(--fs-ease); }
.fs-tfaq__q summary::after { transform: rotate(90deg); }
.fs-tfaq__q[open] summary::after { transform: rotate(0); }
.fs-tfaq__q summary:focus-visible { outline: 2px solid var(--t-accent); outline-offset: 4px; border-radius: 4px; }
.fs-tfaq__q p { max-width: 62ch; margin: -6px 0 0; padding: 0 0 24px; font-size: 16px; line-height: 1.65; color: color-mix(in srgb, var(--t-ink, #111) 82%, transparent); }


@media (max-width: 1000px) {
	.fs-offers__list, .fs-mega { grid-template-columns: 1fr; }
	.fs-mega__receipt { transform: none; }
	.fs-tfaq { grid-template-columns: 1fr; }
	.fs-tfaq__head { position: static; }
	.fs-mega__plus { display: none; }
}

/* Plans side by side */
.fs-plans {
	--t-ink: var(--fs-ink, #111113);
	--t-accent: var(--fs-accent, #4b4ef2);
	margin-top: clamp(64px, 8vw, 110px) !important;
	color: var(--t-ink);
	font-family: var(--fs-sans);
}
.fs-plans__title { margin: 0; font-family: var(--fs-serif); font-weight: 400; font-size: clamp(36px, 3.8vw, 56px); line-height: 1.02; }
.fs-plans__wrap { margin-top: 32px; overflow-x: auto; }
.fs-plans__table { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.fs-plans__table th, .fs-plans__table td { padding: 16px 18px; border-bottom: 1px solid var(--fs-line, #e4e4df); text-align: center; }
.fs-plans__table tbody th { text-align: left; font-weight: 500; }
.fs-plans__table thead th { font: 400 26px/1.1 var(--fs-serif); vertical-align: bottom; }
.fs-plans__table thead th span { display: block; margin-top: 6px; font: 600 16px/1 var(--fs-sans); color: var(--fs-muted, #67676e); }
.fs-plans__table .is-mega { background: color-mix(in srgb, var(--t-accent) 7%, #fff); }
.fs-plans__table thead .is-mega { border-radius: 20px 20px 0 0; background: var(--t-accent); color: #fff; }
.fs-plans__table thead .is-mega span { color: rgba(255, 255, 255, .85); }
.fs-plans__table tbody tr:last-child .is-mega { border-radius: 0 0 20px 20px; }
.fs-plans__yes { color: var(--t-accent); font-weight: 700; font-size: 18px; }
.fs-plans__no { color: #b9b9b3; }
.fs-page-head + .fs-offers { margin-top: 48px !important; }
