/* shared stylesheet for /compare/<competitor> pages.
   reuses the landing design tokens (cream, ink, orange, purple, fraunces). */

:root {
	--cream: #F1ECE3;
	--cream-2: #E8E2D5;
	--ink: #14130F;
	--ink-soft: #2A2823;
	--night: #0C0B08;
	--line-light: #DCD4C3;
	--line-dark: #2A2620;
	--muted: #7A7569;
	--muted-dark: #6F6A5C;
	--orange: #E8642A;
	--purple: #7B6BFF;
	--green: #2f7a44;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
	background: var(--cream);
	color: var(--ink);
	overflow-x: hidden;
}
body {
	font-family: "Inter", system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.serif { font-family: "Fraunces", Georgia, serif; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: "JetBrains Mono", monospace; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 48px; }

/* nav (lighter than landing — no sticky, no scroll behavior) */
.cmp-nav {
	display: flex; justify-content: space-between; align-items: center;
	padding: 28px 0;
	border-bottom: 1px solid var(--line-light);
}
.cmp-nav .logo svg { height: 22px; width: auto; display: block; }
.cmp-nav .right {
	display: inline-flex; align-items: center; gap: 18px;
	font-size: 14px; color: var(--muted);
}
.cmp-nav .right a.text-link { transition: color 0.2s; }
.cmp-nav .right a.text-link:hover { color: var(--ink); }
.cmp-nav .pill-cta {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--ink); color: var(--cream);
	padding: 9px 16px; border-radius: 999px;
	font-size: 13.5px; font-weight: 500;
	transition: transform 0.2s ease, background 0.2s ease;
}
.cmp-nav .pill-cta:hover { transform: translateY(-1px); background: #2a2823; }

/* hero */
.cmp-hero {
	padding: 88px 0 56px;
	border-bottom: 1px solid var(--line-light);
}
.cmp-hero .eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; color: var(--muted);
	padding: 5px 12px; border-radius: 999px;
	background: var(--cream-2); font-weight: 500;
	letter-spacing: 0.04em; text-transform: uppercase;
	margin-bottom: 20px;
}
.cmp-hero h1 {
	font-family: "Fraunces", Georgia, serif;
	font-weight: 400;
	font-size: clamp(36px, 4.6vw, 60px);
	line-height: 1.04;
	letter-spacing: -0.022em;
	color: var(--ink);
	max-width: 18ch;
}
.cmp-hero .lede {
	font-size: 17px; color: var(--ink-soft);
	line-height: 1.55; max-width: 58ch;
	margin-top: 20px;
}
.cmp-hero .cta-row {
	display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
	margin-top: 28px;
}
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 20px; border-radius: 999px;
	font-size: 14px; font-weight: 500;
	transition: transform 0.15s ease, background 0.15s ease;
	cursor: pointer; border: 0;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--cream-2); }

/* tldr two-column */
.cmp-tldr {
	padding: 64px 0;
	border-bottom: 1px solid var(--line-light);
}
.cmp-tldr-grid {
	display: grid; grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.tldr-card {
	background: #fff;
	border: 1px solid var(--line-light);
	border-radius: 14px;
	padding: 24px 26px;
}
.tldr-card.them { background: #fff; }
.tldr-card .label {
	font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--muted); margin-bottom: 10px;
}
.tldr-card h3 {
	font-family: "Fraunces", Georgia, serif;
	font-weight: 400;
	font-size: 22px;
	letter-spacing: -0.01em;
	margin-bottom: 14px;
}
.tldr-card p {
	font-size: 14.5px; color: var(--ink-soft);
	line-height: 1.6;
}
.tldr-card.us .label { color: var(--orange); }

/* comparison table */
.cmp-table-section { padding: 88px 0; border-bottom: 1px solid var(--line-light); }
.cmp-table-section h2 {
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(28px, 3vw, 38px);
	letter-spacing: -0.018em;
	margin-bottom: 32px;
}
.cmp-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid var(--line-light);
	border-radius: 14px;
	overflow: hidden;
	font-size: 14px;
}
.cmp-table th, .cmp-table td {
	padding: 16px 20px;
	text-align: left;
	border-bottom: 1px solid var(--line-light);
	vertical-align: top;
}
.cmp-table thead th {
	font-size: 12px; letter-spacing: 0.12em;
	text-transform: uppercase; color: var(--muted);
	background: var(--cream-2);
	font-weight: 500;
}
.cmp-table thead th.us {
	color: var(--ink); background: #fff;
}
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table td.feature {
	font-weight: 500; color: var(--ink);
	width: 32%;
}
.cmp-table td.col {
	width: 34%;
	color: var(--ink-soft);
}
.cmp-table td.col.us {
	background: rgba(232, 100, 42, 0.05);
}
.cmp-table .check { color: var(--green); font-weight: 600; }
.cmp-table .miss { color: var(--muted); }
.cmp-table .partial { color: var(--orange); font-weight: 500; }

/* narrative sections */
.cmp-why { padding: 96px 0; border-bottom: 1px solid var(--line-light); }
.cmp-why h2 {
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(32px, 3.6vw, 46px);
	letter-spacing: -0.02em;
	line-height: 1.08;
	margin-bottom: 56px;
	max-width: 22ch;
}
.cmp-why-list {
	display: grid; grid-template-columns: 1fr 1fr;
	gap: 28px;
}
.why-card {
	background: #fff;
	border: 1px solid var(--line-light);
	border-radius: 14px;
	padding: 28px;
}
.why-card .why-label {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 11px; letter-spacing: 0.14em;
	text-transform: uppercase; color: var(--muted);
	margin-bottom: 14px;
}
.why-card .why-label .dot {
	width: 8px; height: 8px; border-radius: 50%;
}
.why-card.orange .dot { background: var(--orange); }
.why-card.purple .dot { background: var(--purple); }
.why-card.ink .dot { background: var(--ink); }
.why-card.green .dot { background: var(--green); }
.why-card h3 {
	font-family: "Fraunces", Georgia, serif;
	font-weight: 400;
	font-size: 22px;
	letter-spacing: -0.012em;
	margin-bottom: 10px;
	line-height: 1.2;
}
.why-card p {
	font-size: 14.5px; color: var(--ink-soft); line-height: 1.6;
}
.why-card .micro {
	font-size: 13px; color: var(--muted);
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed var(--line-light);
}

/* fair-play "where they win" */
.cmp-fair { padding: 56px 0; border-bottom: 1px solid var(--line-light); }
.cmp-fair h2 {
	font-family: "Fraunces", Georgia, serif;
	font-size: 28px;
	margin-bottom: 16px;
}
.cmp-fair p {
	font-size: 15px; color: var(--ink-soft);
	max-width: 64ch; line-height: 1.6;
}

/* bottom cta */
.cmp-cta {
	background: var(--night);
	color: var(--cream);
	padding: 96px 0 88px;
	text-align: center;
}
.cmp-cta h2 {
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(32px, 4vw, 48px);
	letter-spacing: -0.02em;
	line-height: 1.08;
	margin-bottom: 28px;
	max-width: 22ch; margin-left: auto; margin-right: auto;
}
.cmp-cta .cta-btn {
	background: var(--cream); color: var(--ink);
	padding: 14px 24px; font-size: 15px;
}
.cmp-cta .cta-btn:hover { background: #fff; }
.cmp-cta .small {
	font-size: 13px; color: var(--muted-dark);
	margin-top: 18px;
}

/* footer (mirrors landing visual feel) */
.cmp-foot {
	background: var(--night); color: var(--muted-dark);
	padding: 28px 0;
	font-size: 13px;
	border-top: 1px solid var(--line-dark);
}
.cmp-foot .row {
	display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.cmp-foot a.text-link { transition: color 0.2s; }
.cmp-foot a.text-link:hover { color: var(--cream); }

@media (max-width: 880px) {
	.wrap { padding: 0 24px; }
	.cmp-tldr-grid, .cmp-why-list { grid-template-columns: 1fr; }
	.cmp-hero { padding: 64px 0 40px; }
	.cmp-table-section, .cmp-why { padding: 64px 0; }
	.cmp-table th, .cmp-table td { padding: 12px 14px; font-size: 13px; }
}
