/* ==========================================================================
   LLC Celebrity Couple Study
   Server-rendered study output. Brand: #0F172A / #7C3AED on a light surface.
   No JavaScript is used anywhere on this page, by design.
   ========================================================================== */

.ccs-study {
	--ccs-ink: #0f172a;
	--ccs-ink-soft: #1e293b;
	--ccs-violet: #7c3aed;
	--ccs-violet-d: #6d28d9;
	--ccs-violet-l: #a78bfa;
	--ccs-violet-soft: #f5f3ff;
	--ccs-violet-line: #ddd6fe;
	--ccs-surface: #ffffff;
	--ccs-surface-2: #f8fafc;
	--ccs-border: #e2e8f0;
	--ccs-muted: #475569;
	--ccs-dim: #94a3b8;
	--ccs-display: 'Outfit', ui-sans-serif, system-ui, -apple-system, sans-serif;

	color: var(--ccs-ink);
	line-height: 1.6;
}

.ccs-study h2 {
	font-family: var(--ccs-display);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -.02em;
	margin: 34px 0 14px;
}

.ccs-study h3 {
	font-family: var(--ccs-display);
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px;
}

/* the finding, stated first */
.ccs-headline {
	background: var(--ccs-ink);
	border-radius: 18px;
	padding: 28px 26px;
	margin-bottom: 18px;
}

.ccs-headline-k {
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--ccs-violet-l);
	margin: 0 0 10px;
}

.ccs-headline-text {
	font-family: var(--ccs-display);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: -.01em;
	color: #fff;
	margin: 0;
}

/* counts */
.ccs-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-bottom: 8px;
}

.ccs-stat {
	background: var(--ccs-surface-2);
	border: 1px solid var(--ccs-border);
	border-radius: 12px;
	padding: 18px 12px;
	text-align: center;
}

.ccs-stat-v {
	font-family: var(--ccs-display);
	font-size: 34px;
	font-weight: 700;
	letter-spacing: -.03em;
	line-height: 1;
	color: var(--ccs-ink);
	margin: 0;
}

.ccs-stat-k {
	font-size: 12.5px;
	color: var(--ccs-muted);
	margin: 6px 0 0;
}

/* tables */
.ccs-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 10px;
	font-size: 14.5px;
}

.ccs-table th {
	text-align: left;
	font-family: var(--ccs-display);
	font-size: 13px;
	font-weight: 600;
	color: var(--ccs-muted);
	padding: 10px 12px;
	border-bottom: 2px solid var(--ccs-border);
}

.ccs-table td {
	padding: 12px;
	border-bottom: 1px solid var(--ccs-border);
	vertical-align: top;
}

.ccs-table tbody tr:nth-child(even) { background: var(--ccs-surface-2); }

.ccs-sd { color: var(--ccs-dim); font-size: 12.5px; }

.ccs-diff { font-family: var(--ccs-display); font-weight: 700; }
.ccs-diff.is-real { color: var(--ccs-violet-d); }
.ccs-diff.is-noise { color: var(--ccs-dim); }

.ccs-noise-tag {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 8px;
	border-radius: 50px;
	background: var(--ccs-surface-2);
	border: 1px solid var(--ccs-border);
	font-size: 10.5px;
	font-weight: 600;
	color: var(--ccs-muted);
	white-space: nowrap;
}

.ccs-status {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 50px;
	font-size: 11.5px;
	font-weight: 600;
	white-space: nowrap;
	border: 1px solid;
}

.ccs-status.is-together { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.ccs-status.is-separated { background: #fff1f2; border-color: #fecdd3; color: #9f1239; }

.ccs-caption {
	font-size: 13px;
	line-height: 1.6;
	color: var(--ccs-muted);
	margin: 0 0 8px;
}

.ccs-method { padding-left: 22px; }
.ccs-method li { margin-bottom: 9px; font-size: 14.5px; line-height: 1.6; }

/* the limitations block, which is the point of the page */
.ccs-limits {
	background: var(--ccs-violet-soft);
	border: 1px solid var(--ccs-violet-line);
	border-radius: 14px;
	padding: 22px;
	margin-top: 26px;
}

.ccs-limits h3 { color: var(--ccs-violet-d); }
.ccs-limits p { font-size: 14px; line-height: 1.65; color: var(--ccs-ink-soft); margin: 0 0 10px; }
.ccs-limits p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
	.ccs-headline-text { font-size: 17px; }
	.ccs-stats { grid-template-columns: 1fr; }
	/* every table here, not just the couples one: the four-column results table
	   cannot shrink below its min content width and was overflowing the viewport
	   by a few pixels at 360px */
	.ccs-table {
		font-size: 13.5px;
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.ccs-table th, .ccs-table td { padding: 9px 8px; white-space: nowrap; }
	.ccs-table td:first-child { white-space: normal; min-width: 140px; }
}
