/* ==========================================================================
   /privacy, /terms, /cookies

   Long-form reading pages. The only thing that matters here is line length and
   vertical rhythm -- a legal page nobody can read is the same as not having one.
   ========================================================================== */

.kd-legal {
	background: #fff;
	padding: 40px 20px 72px;
}

.kd-legal__container {
	/* ~70 characters per line, which is the comfortable range for prose */
	max-width: 760px;
	margin: 0 auto;
}

.kd-legal__title {
	margin: 18px 0 6px;
	font-size: 34px;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.2;
}

.kd-legal__updated {
	margin: 0 0 26px;
	font-size: 14px;
	color: #94a3b8;
}

.kd-legal__lede {
	font-size: 17px;
	line-height: 1.7;
	color: #334155;
	margin-bottom: 30px;
}

.kd-legal h2 {
	margin: 38px 0 12px;
	font-size: 21px;
	font-weight: 700;
	color: #1e3a8a;
	line-height: 1.3;
}

.kd-legal h3 {
	margin: 26px 0 8px;
	font-size: 16px;
	font-weight: 700;
	color: #1e293b;
}

.kd-legal p,
.kd-legal li {
	font-size: 15.5px;
	line-height: 1.75;
	color: #475569;
}

.kd-legal p {
	margin: 0 0 14px;
}

.kd-legal ul {
	margin: 0 0 18px;
	padding-left: 22px;
}

.kd-legal li {
	margin-bottom: 8px;
}

.kd-legal a {
	color: #1e3a8a;
	text-decoration: underline;
}

.kd-legal code {
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 5px;
	padding: 1px 6px;
	font-size: 13.5px;
	color: #1e293b;
}

/* ---- callout for the review status and the known gaps ---- */

.kd-legal__notice {
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 10px;
	padding: 14px 18px;
	margin: 0 0 26px;
	font-size: 14.5px;
	line-height: 1.65;
	color: #78350f;
}

.kd-legal__notice--todo {
	margin-top: 38px;
	background: #f8fafc;
	border-color: #e2e8f0;
	color: #475569;
}

/* ---- cookie table ---- */

.kd-legal__tablewrap {
	overflow-x: auto;
	margin: 0 0 22px;
}

.kd-legal__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
	min-width: 560px;
}

.kd-legal__table th,
.kd-legal__table td {
	text-align: left;
	vertical-align: top;
	padding: 11px 14px;
	border-bottom: 1px solid #e2e8f0;
	line-height: 1.6;
}

.kd-legal__table th {
	background: #f8fafc;
	font-weight: 700;
	color: #1e293b;
	white-space: nowrap;
}

.kd-legal__table td {
	color: #475569;
}

.kd-legal__btn {
	background: #1e3a8a;
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 11px 24px;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
}

.kd-legal__btn:hover {
	background: #1e40af;
}

@media (max-width: 640px) {
	.kd-legal {
		padding: 24px 16px 52px;
	}

	.kd-legal__title {
		font-size: 27px;
	}

	.kd-legal h2 {
		font-size: 19px;
	}
}

/* ==========================================================================
   /signin

   Sits in this stylesheet rather than its own file: it is the same kind of
   page -- one narrow column of text the visitor has to actually read before
   deciding something.
   ========================================================================== */

.kd-signin {
	background: #f8fafc;
	padding: 56px 20px 80px;
}

.kd-signin__card {
	max-width: 480px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 36px 34px;
	box-shadow: 0 4px 20px rgba(20, 20, 43, .06);
}

.kd-signin__title {
	margin: 0 0 8px;
	font-size: 25px;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.25;
}

.kd-signin__lede {
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 1.65;
	color: #64748b;
}

.kd-signin__points {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
}

.kd-signin__points li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin-bottom: 9px;
	font-size: 14.5px;
	line-height: 1.55;
	color: #475569;
}

.kd-signin__points i,
.kd-signin__points svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	margin-top: 2px;
	color: #16a34a;
}

/* The opt-in is a real choice, so it gets real weight -- unticked by default,
   full-width hit area, and the consequence spelled out underneath. */
.kd-signin__optin {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	padding: 14px 16px;
	margin: 0 0 20px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 11px;
	cursor: pointer;
	font-size: 14.5px;
	line-height: 1.55;
	color: #334155;
}

.kd-signin__optin input {
	width: 17px;
	height: 17px;
	margin-top: 2px;
	flex: 0 0 auto;
	cursor: pointer;
}

.kd-signin__optin em {
	display: block;
	margin-top: 3px;
	font-style: normal;
	font-size: 13px;
	color: #94a3b8;
}

.kd-signin__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	width: 100%;
	padding: 13px 20px;
	background: #fff;
	border: 1.5px solid #cbd5e1;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	color: #1e293b;
	text-decoration: none;
	transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.kd-signin__btn:hover,
.kd-signin__btn:focus-visible {
	background: #f8fafc;
	border-color: #94a3b8;
	box-shadow: 0 2px 8px rgba(20, 20, 43, .07);
	color: #1e293b;
}

.kd-signin__legal {
	margin: 18px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: #94a3b8;
	text-align: center;
}

.kd-signin__legal a {
	color: #64748b;
	text-decoration: underline;
}

.kd-signin__error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 10px;
	padding: 14px 16px;
	font-size: 14.5px;
	color: #991b1b;
}

@media (max-width: 640px) {
	.kd-signin {
		padding: 28px 14px 56px;
	}

	.kd-signin__card {
		padding: 26px 20px;
	}
}
