/* MacPaste — Shared CSS for /vs/ comparison pages */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #faf9f6;
  --bg-soft:   #f4f2ec;
  --bg-card:   #ffffff;
  --ink:       #0a0a0c;
  --ink-2:     #3f3f44;
  --ink-3:     #76767c;
  --ink-4:     #b6b6bc;
  --line:      rgba(10,10,12,0.08);
  --line-2:    rgba(10,10,12,0.04);
  --red:       #ef4444;
  --orange:    #f97316;
  --yellow:    #eab308;
  --green:     #22c55e;
  --blue:      #3b82f6;
  --purple:    #a855f7;
  --gray:      #6b7280;
  --shadow-1:  0 1px 2px rgba(10,10,12,.04), 0 4px 18px rgba(10,10,12,.06);
  --shadow-2:  0 4px 12px rgba(10,10,12,.06), 0 24px 64px rgba(10,10,12,.10);
  --serif:     'Instrument Serif', Georgia, serif;
  --display:   'Inter Tight', -apple-system, system-ui, sans-serif;
  --sans:      'Inter', -apple-system, system-ui, sans-serif;
  --mono:      'JetBrains Mono', 'SF Mono', Consolas, monospace;
}

html { background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--bg); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.nav-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; }
.nav-brand img { width: 24px; height: 24px; border-radius: 7px; }
.nav-cta {
  background: var(--ink); color: var(--bg); padding: 9px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
  transition: transform .25s, box-shadow .25s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(10,10,12,.18); }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* HERO */
.hero {
  padding: 80px 0 60px;
}
.crumbs {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3);
}
.crumbs a { color: var(--ink-3); transition: color .2s; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--ink-4); margin: 0 8px; }

h1.title {
  font-family: var(--display); font-size: clamp(40px, 6vw, 64px);
  line-height: 1.02; letter-spacing: -.035em; font-weight: 700;
  margin: 18px 0 22px;
}
h1.title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--ink-3); }
.sub {
  font-size: 19px; color: var(--ink-2); line-height: 1.55; max-width: 620px;
}

/* VERDICT */
.verdict {
  margin: 50px 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 700px) { .verdict { grid-template-columns: 1fr; } }
.v-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 18px;
  padding: 24px;
}
.v-card.win { border-color: rgba(34,197,94,.35); background: linear-gradient(180deg, rgba(34,197,94,.04), transparent 60%), var(--bg-card); }
.v-card .v-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px;
}
.v-card .v-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.v-card.win .v-label .dot { background: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.v-card h3 { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.01em; margin-top: 10px; }
.v-card ul { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.v-card li { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; display: flex; gap: 8px; }
.v-card li::before { content: "—"; color: var(--ink-4); flex: none; }

/* TABLE */
.table-wrap {
  margin: 56px 0;
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: var(--bg-card);
}
table.compare {
  width: 100%; border-collapse: collapse; font-size: 14.5px;
}
.compare thead { background: var(--bg-soft); }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}
.compare th.col-mp { color: var(--ink); }
.compare tr:last-child td { border-bottom: none; }
.compare td { color: var(--ink-2); }
.compare td:first-child { color: var(--ink); font-weight: 500; }
.compare .yes { color: var(--green); font-weight: 600; }
.compare .no  { color: var(--ink-4); }
.compare .partial { color: var(--orange); font-weight: 500; }

/* SECTIONS */
.section { margin: 70px 0; }
.section h2 {
  font-family: var(--display); font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.1; letter-spacing: -.025em; font-weight: 700;
  margin-bottom: 18px;
}
.section h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--ink-3); }
.section p { font-size: 16px; line-height: 1.65; color: var(--ink-2); margin-bottom: 16px; }
.section p strong { color: var(--ink); font-weight: 600; }
.section ul {
  margin: 14px 0 24px 6px;
  display: flex; flex-direction: column; gap: 10px;
}
.section ul li {
  font-size: 16px; color: var(--ink-2); line-height: 1.55;
  padding-left: 22px; position: relative;
}
.section ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--blue);
}

/* CTA */
.cta-card {
  margin: 80px 0 60px;
  padding: 48px 36px; border-radius: 28px; text-align: center;
  background: linear-gradient(160deg, var(--ink) 0%, #18181c 100%); color: var(--bg);
}
.cta-card h3 {
  font-family: var(--display); font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1; letter-spacing: -.025em; font-weight: 700;
}
.cta-card h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; opacity: .65; }
.cta-card p { margin-top: 14px; font-size: 16px; color: rgba(255,255,255,.7); }
.cta-card .btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  padding: 15px 24px; border-radius: 999px; font-size: 15px; font-weight: 600;
  background: var(--bg); color: var(--ink);
  transition: transform .25s, box-shadow .25s;
}
.cta-card .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,0,0,.30); }

/* RELATED */
.related { margin: 80px 0; }
.related h4 {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 18px;
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 700px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  display: block; padding: 20px 22px; border-radius: 16px;
  background: var(--bg-card); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.related-card:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: var(--shadow-1); }
.related-card .rc-eyebrow { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; }
.related-card .rc-title { font-family: var(--display); font-weight: 600; font-size: 17px; margin-top: 6px; letter-spacing: -.01em; }
.related-card .rc-arrow { margin-top: 10px; color: var(--ink-3); font-size: 13px; transition: color .2s; }
.related-card:hover .rc-arrow { color: var(--ink); }

/* FOOTER */
footer {
  padding: 50px 24px 70px; text-align: center;
  border-top: 1px solid var(--line); margin-top: 40px;
}
.foot-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.foot-brand img { width: 22px; height: 22px; border-radius: 6px; }
.foot-links { margin-top: 18px; display: inline-flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.foot-links a { font-size: 13px; color: var(--ink-3); transition: color .2s; }
.foot-links a:hover { color: var(--ink); }
.foot-copy { margin-top: 22px; font-size: 12px; color: var(--ink-4); font-family: var(--mono); }

/* HUB page specific */
.hub-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
  margin: 40px 0;
}
@media (max-width: 700px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card {
  display: block; padding: 28px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 22px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.hub-card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: var(--shadow-2); }
.hub-card .hc-vs {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3);
}
.hub-card .hc-title {
  font-family: var(--display); font-size: 24px; font-weight: 600;
  letter-spacing: -.02em; margin-top: 10px; line-height: 1.15;
}
.hub-card .hc-pitch { margin-top: 12px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.hub-card .hc-link { margin-top: 18px; font-size: 13.5px; color: var(--blue); font-weight: 500; }
