/* The pricing page (design/previews/28-pricing.png). It is drawn on top of home.css, which
   brings the wall's tokens, the two fonts, the buttons, the hand-written notes and the footer;
   this sheet adds only what the page has of its own: the plans as sticky notes, the band of
   what is free on every plan, the table, the Enterprise grid and the questions. */

.kicker {
	margin: 0;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1.4px;
	color: var(--accent);
}

/* ---- the head ---- */
.head {
	padding-top: 48px;
	padding-bottom: 24px;
}
.head h1 {
	margin-top: 18px;
	font-size: 52px;
	line-height: 1.08;
}
.head .lede {
	max-width: 760px;
	color: var(--ink-soft);
}
.head .hand.tilt {
	margin: 18px 0 0;
	font-size: 22px;
	transform: rotate(-2deg);
}
.head .actions .hand {
	font-size: 20px;
}

/* the foot: one more way in, for whoever read the whole page */
.try {
	padding-top: 8px;
	padding-bottom: 64px;
}

.early {
	max-width: 760px;
	margin: 8px 0 0;
	padding: 12px 16px;
	border: 1px dashed #d6cbb9;
	border-radius: 8px;
	background: var(--paper);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--ink-soft);
}
.early b {
	color: var(--ink);
}

/* ---- the plans: three sticky notes, tilted the way a hand left them ---- */
.plans {
	display: flex;
	align-items: stretch;
	gap: 36px;
	padding-top: 56px;
	padding-bottom: 72px;
}
.plan {
	position: relative;
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	padding: 28px 30px 30px;
	border-radius: 6px;
	background: var(--bg);
	box-shadow:
		0 1px 2px rgba(40, 30, 20, 0.14),
		0 6px 16px rgba(40, 30, 20, 0.1);
	transform: rotate(var(--tilt, 0deg));
}
.plan .name {
	margin: 0;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 1.4px;
}
.plan .amount {
	margin: 16px 0 0;
	font-size: 52px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -1px;
}
.plan .amount.talk {
	font-size: 40px;
	line-height: 1.4;
}
.plan .per {
	margin: 2px 0 0;
	font-size: 15px;
	font-weight: 700;
}
.plan .who {
	margin: 16px 0 0;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(43, 38, 34, 0.18);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	color: rgba(43, 38, 34, 0.72);
}
.plan ul {
	flex: 1 1 auto;
	margin: 18px 0 24px;
	padding: 0;
	list-style: none;
}
.plan li {
	position: relative;
	margin: 0 0 11px;
	padding-left: 27px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}
.plan li::before {
	content: '✓';
	position: absolute;
	left: 1px;
	top: 0;
	font-weight: 800;
}
.plan li.all {
	font-weight: 800;
}
.plan li.all::before {
	opacity: 0.5;
}
.plan .btn {
	justify-content: center;
	width: 100%;
	font-size: 16px;
}
.plan .sticker.hat {
	top: -18px;
	left: auto;
	right: 22px;
	font-size: 30px;
	transform: rotate(-12deg);
}
.plan .note {
	position: absolute;
	top: -38px;
	right: 64px;
	font-size: 21px;
	transform: rotate(-4deg);
	white-space: nowrap;
}

/* ---- free on every plan ---- */
.band.free {
	display: block;
}
.band.free .sub {
	margin: 8px 0 0;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.55;
	color: var(--ink-soft);
}
.three {
	display: flex;
	gap: 28px;
	margin-top: 26px;
}
.three > div {
	flex: 1 1 0;
}
.three .icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: var(--wall);
	font-size: 20px;
}
.three h3,
.grid h3,
.qa h3 {
	margin: 10px 0 0;
	font-size: 18px;
	line-height: 1.3;
}
.three p,
.grid p,
.qa p {
	margin: 8px 0 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.55;
	color: var(--ink-soft);
}
.grid a,
.qa a {
	color: var(--ink);
}

/* ---- side by side ---- */
.compare {
	padding-bottom: 80px;
}
.compare .scroll {
	margin-top: 22px;
	overflow-x: auto;
	border: 1px solid var(--wall-line);
	border-radius: 10px;
	background: var(--paper);
}
.compare table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
	font-size: 15px;
}
.compare th,
.compare td {
	padding: 14px 20px;
	border-bottom: 1px solid var(--wall-line);
	text-align: left;
	vertical-align: middle;
	line-height: 1.35;
}
.compare tbody th {
	font-weight: 700;
}
.compare td {
	width: 21%;
	font-weight: 600;
	color: var(--ink-soft);
}
.compare tr:last-child > * {
	border-bottom: 0;
}
.compare thead th {
	padding-top: 18px;
	padding-bottom: 18px;
}
.compare .chip {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 5px;
	background: var(--bg);
	color: var(--ink);
	font-size: 14px;
	font-weight: 800;
	transform: rotate(var(--tilt));
}
.compare tr.group th {
	padding-top: 18px;
	padding-bottom: 8px;
	background: #f8f4ec;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--ink-faint);
}
.compare .yes {
	font-size: 18px;
	font-weight: 800;
	color: var(--green);
}
.compare .no {
	color: var(--ink-faint);
}

/* ---- enterprise ---- */
.enterprise {
	display: flex;
	align-items: flex-start;
	gap: 56px;
	padding-bottom: 80px;
}
.enterprise .copy {
	flex: 0 0 440px;
}
.enterprise .copy .kicker {
	font-size: 12px;
	font-weight: 800;
	color: var(--accent);
}
.enterprise .copy h2 {
	margin-top: 16px;
}
.enterprise .copy .price {
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
}
.grid {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.grid > div {
	padding: 20px 22px;
	border: 1px solid var(--wall-line);
	border-radius: 8px;
	background: var(--paper);
}
.grid h3 {
	margin: 0;
	font-size: 17px;
}

/* ---- questions ---- */
.questions {
	padding-bottom: 72px;
}
.qa {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 26px 56px;
	margin-top: 26px;
}
.qa h3 {
	margin: 0;
}
.qa p {
	font-size: 16px;
	line-height: 1.6;
}

/* ---- narrower windows: the same page, stacked ---- */
@media (max-width: 1100px) {
	.plans {
		flex-direction: column;
		gap: 44px;
		max-width: 560px;
	}
	.enterprise {
		flex-direction: column;
		gap: 32px;
	}
	.enterprise .copy {
		flex: 1 1 auto;
	}
}
@media (max-width: 760px) {
	.head {
		padding-top: 28px;
	}
	.head h1 {
		font-size: 34px;
	}
	.plans {
		padding-top: 48px;
		padding-bottom: 56px;
	}
	.plan {
		padding: 24px 22px 24px;
	}
	.three,
	.grid,
	.qa {
		display: flex;
		flex-direction: column;
	}
	.three {
		gap: 22px;
	}
	.compare,
	.enterprise {
		padding-bottom: 56px;
	}
}
