/* Comparison and guide pages: the landing page's monochrome, hairline look,
   set for long reading. */
:root {
  --bg: #0B0B0C;
  --panel: #0F0F11;
  --fg: #F2F2F3;
  --soft: #C9C9CC;
  --muted: #8E8E93;
  --dim: #7C7C81;
  --cream: #EFE6D6;
  --green: #3DCF7A;
  --line: #FFFFFF14;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.65 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--cream); text-decoration: underline; text-decoration-color: #EFE6D666; text-underline-offset: 3px; transition: text-decoration-color 160ms ease; }
a:hover { text-decoration-color: var(--cream); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; border-radius: 2px; }
/* Page grid, shared with the landing page: content between 80px gutters on a 1440px
   window, scaling with the window like the landing canvas; 20px gutters at 900px and below */
.wrap { width: calc(100% * 1280 / 1440); margin: 0 auto; }
@media (max-width: 900px) { .wrap { width: calc(100% - 40px); } }
.mono { font: 500 12px/16px 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0.12em; text-transform: uppercase; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: #0B0B0CD9; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
/* The logo file has ~0.47x its height of empty space before the mark: the margin puts the mark itself on the edge */
.logo { display: block; width: 150px; height: 30px; margin-left: -14px; background: url(/assets/img/landing/531T6TGNRJP5YEPXQN60ZKM6D4.svg) left / contain no-repeat; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 160ms ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 2px; font-size: 14px; font-weight: 600; text-decoration: none !important; white-space: nowrap; transition: filter 200ms ease, transform 200ms ease; }
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-primary { background: #FFFFFF; color: var(--bg) !important; }
.btn-secondary { background: #1C1C1E; color: var(--fg) !important; }
.nav .btn { height: 40px; padding: 0 16px; }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* Hero: logo vs logo, set over the landing's dither artwork */
.hero { position: relative; overflow: hidden; padding: 88px calc(100% * 80 / 1440) 72px; text-align: center; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .hero { padding-inline: 20px; } }
.hero::before { content: ""; position: absolute; inset: auto 0 0 0; height: 82%; background: url(/assets/img/landing/01M517KE3V4KZCZER0RJT8R19R.webp) 50% 100% / cover no-repeat; opacity: 0.32; filter: grayscale(100%); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 70%); mask-image: linear-gradient(180deg, transparent 0%, #000 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 30%, #EFE6D60D, transparent 70%); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.crumbs { margin: 0 0 40px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #FFFFFF33; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.lockup { display: flex; align-items: center; justify-content: center; gap: 22px; margin-bottom: 32px; }
.mark { display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid #FFFFFF1F; border-radius: 2px; background: #111113; box-shadow: #00000080 0 18px 40px; }
.mark svg { width: 38px; height: 38px; color: var(--fg); }
.mark img { width: 44px; height: 44px; border-radius: 2px; filter: grayscale(100%) contrast(1.05); }
.vs { color: var(--dim); }
.hero h1 { margin: 0 auto; max-width: 860px; font-size: clamp(38px, 6.4vw, 64px); font-weight: 500; line-height: 1.02; letter-spacing: -0.05em; }
.hero .lead { max-width: 640px; margin: 22px auto 0; color: var(--soft); font-size: 17px; line-height: 1.6; }
.hero .meta { margin-top: 22px; color: var(--soft); text-shadow: 0 1px 12px #0B0B0C; }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }

/* Sections */
main section { padding: 88px 0 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.sec-head .mono { color: var(--muted); margin: 0 0 12px; }
h2 { margin: 0; font-size: clamp(28px, 4vw, 40px); font-weight: 500; line-height: 1.08; letter-spacing: -0.04em; }
.sec-head p { max-width: 380px; margin: 0; color: var(--muted); font-size: 15px; }
h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 14px; color: var(--soft); }
@media (max-width: 720px) { .sec-head { flex-direction: column; align-items: flex-start; } }

/* The short answer: two choices side by side, no boxes */
.choose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.choose > div { padding: 28px 28px 28px 0; }
.choose > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.choose .mono { color: var(--dim); margin: 0 0 12px; }
.choose .us .mono { color: var(--cream); }
.choose .them p { color: var(--muted); font-size: 16px; }
.choose p { margin: 0; color: var(--fg); font-size: 18px; line-height: 1.5; letter-spacing: -0.01em; }
@media (max-width: 720px) {
  .choose { grid-template-columns: minmax(0, 1fr); }
  .choose > div { padding: 22px 0; }
  .choose > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid #FFFFFF26; }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
th, td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { color: var(--fg); font-weight: 600; white-space: nowrap; }
thead th img { width: 18px; height: 18px; margin-right: 8px; vertical-align: -4px; border-radius: 2px; filter: grayscale(100%); }
tbody th { color: var(--muted); font-weight: 500; width: 200px; min-width: 150px; }
td { color: var(--soft); min-width: 180px; }
th.us, td.us { background: linear-gradient(180deg, #EFE6D60A, #EFE6D605); }
thead th.us { box-shadow: inset 0 2px 0 var(--cream); }
.yes { color: var(--fg); }
.yes::before { content: "✓"; margin-right: 8px; color: var(--green); }
.no { color: var(--dim); }
.soon { color: var(--cream); }
.hint { margin-top: 14px; color: var(--dim); font-size: 13px; }

/* Strengths: two columns on hairlines */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.split h3 { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.split ul { margin: 0; padding: 0; list-style: none; }
.split li { position: relative; padding: 14px 0 14px 26px; border-bottom: 1px solid var(--line); color: var(--soft); }
.split li::before { content: "→"; position: absolute; left: 0; color: var(--dim); }
.split .us li::before { content: "✓"; color: var(--green); }
@media (max-width: 720px) { .split { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

.note { padding: 22px 0 0; border-top: 1px solid var(--line); color: var(--muted); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; color: var(--fg); font-size: 17px; font-weight: 500; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; transition: transform 300ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; max-width: 760px; color: var(--muted); }

/* Rival cards (hub and "more comparisons") */
.rivals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.rivals li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rivals a { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 26px; color: var(--fg); text-decoration: none; transition: background-color 200ms ease; }
.rivals a:hover { background: #FFFFFF06; }
.rivals .pair { display: flex; align-items: center; gap: 10px; color: var(--dim); }
.rivals .pair span { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #FFFFFF1F; border-radius: 2px; background: #111113; }
.rivals .pair svg { width: 18px; height: 18px; color: var(--fg); }
.rivals .pair img { width: 22px; height: 22px; border-radius: 2px; filter: grayscale(100%); transition: filter 200ms ease; }
.rivals a:hover .pair img { filter: none; }
.rivals strong { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.rivals em { margin-top: auto; color: var(--muted); font-size: 14px; font-style: normal; }
.rivals .go { color: var(--cream); font-size: 14px; }
@media (max-width: 900px) { .rivals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rivals { grid-template-columns: minmax(0, 1fr); } }

/* Guide */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 12px; padding: 24px 0; border-top: 1px solid var(--line); counter-increment: s; }
.steps li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 4px #EFE6D61F, 0 0 14px #EFE6D659; }
.steps h3 { margin: 0 0 6px; }
.steps p { margin: 0; color: var(--muted); }

/* Sources */
.sources { color: var(--muted); font-size: 13px; }
.sources ol { margin: 0; padding-left: 20px; }
.sources li { margin: 6px 0; word-break: break-word; }
.sources a { color: var(--muted); }

/* Closing CTA */
.cta { position: relative; overflow: hidden; margin-top: 104px; padding: 88px 24px; border-top: 1px solid var(--line); text-align: center; }
.cta::before { content: ""; position: absolute; inset: auto 0 0 0; height: 100%; background: url(/assets/img/landing/5JTNJ2ZXJSH01MNB8WCZ7D3G7V.webp) 50% 100% / cover no-repeat; opacity: 0.28; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 85%); mask-image: linear-gradient(180deg, transparent 0%, #000 85%); pointer-events: none; }
.cta > * { position: relative; }
.cta h2 { margin-bottom: 14px; }
.cta p { max-width: 520px; margin: 0 auto 28px; color: var(--muted); }
.cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* Footer */
footer.foot { padding: 56px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 32px; }
.foot h4 { margin: 0 0 14px; color: var(--fg); font: 600 12px/16px 'Inter', system-ui, sans-serif; letter-spacing: 0.12em; }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--fg); }
/* "Cookie settings": hidden in the markup, shown by assets/js/analytics.js only when analytics is active */
.foot .linkbtn { padding: 0; border: 0; background: none; color: var(--muted); font: inherit; cursor: pointer; text-align: left; }
.foot .linkbtn:hover { color: var(--fg); }
.foot .linkbtn:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.foot .tag { max-width: 280px; margin-top: 14px; color: var(--muted); }
.disclaimer { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* Gentle entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise 900ms var(--ease) both; }
  .hero > *:nth-child(2) { animation-delay: 60ms; }
  .hero > *:nth-child(3) { animation-delay: 120ms; }
  .hero > *:nth-child(4) { animation-delay: 180ms; }
  .hero > *:nth-child(5) { animation-delay: 240ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* Switch flow: three steps joined by a line, no numbers */
.flow { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 0; padding: 28px 0 0; list-style: none; }
.flow::before { content: ""; position: absolute; top: 4px; left: 5px; right: 5px; height: 1px; background: linear-gradient(90deg, var(--cream), #FFFFFF14); }
.flow li { position: relative; }
.flow li::before { content: ""; position: absolute; top: -29px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 4px #EFE6D61F, 0 0 14px #EFE6D659; }
.flow p { margin: 0; color: var(--muted); }
@media (max-width: 720px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 0 0 0 28px; }
  .flow::before { top: 6px; bottom: 6px; left: 4px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--cream), #FFFFFF14); }
  .flow li::before { top: 6px; left: -28px; }
}
