/* This Beats That — clean modern comparison site */
:root {
  --accent: #e63946;
  --accent-dark: #c1272d;
  --ink: #1d2433;
  --muted: #5c6675;
  --line: #e6e9ef;
  --bg-soft: #f7f8fa;
  --win: #0a8754;
  --max-w: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: #fff; line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* Header */
header.site {
  border-bottom: 1px solid var(--line); background: #fff;
  position: sticky; top: 0; z-index: 10;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 1.35rem; font-weight: 800; color: var(--ink); letter-spacing: -0.5px; }
.logo span { color: var(--accent); }
nav.main a { color: var(--muted); font-weight: 600; margin-left: 22px; font-size: 0.95rem; }
nav.main a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero { background: var(--bg-soft); padding: 64px 0 56px; text-align: center; }
.hero h1 { font-size: 2.6rem; letter-spacing: -1px; line-height: 1.15; margin-bottom: 14px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

/* Cards grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; padding: 48px 0 64px; }
.card {
  border: 1px solid var(--line); border-radius: 14px; padding: 26px;
  transition: box-shadow .15s, transform .15s; background: #fff; display: block; color: inherit;
}
.card:hover { box-shadow: 0 8px 28px rgba(29,36,51,.10); transform: translateY(-2px); text-decoration: none; }
.card .cat { color: var(--accent); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.card h3 { font-size: 1.22rem; margin: 8px 0 8px; line-height: 1.3; }
.card p { color: var(--muted); font-size: .95rem; }
.card .go { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--accent); font-size: .92rem; }

/* Comparison page */
.crumb { padding: 18px 0 0; font-size: .88rem; color: var(--muted); }
article.compare { padding: 18px 0 64px; }
article.compare h1 { font-size: 2.1rem; letter-spacing: -.5px; line-height: 1.2; margin: 8px 0 10px; }
.updated { color: var(--muted); font-size: .88rem; margin-bottom: 22px; }
.disclosure {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 16px; font-size: .85rem; color: var(--muted); margin-bottom: 30px;
}
article.compare .intro { font-size: 1.08rem; margin-bottom: 34px; max-width: 780px; }

/* Versus header */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; margin-bottom: 38px; }
.contender { border: 1px solid var(--line); border-radius: 14px; padding: 24px; text-align: center; }
.contender.winner { border-color: var(--win); box-shadow: 0 0 0 1px var(--win); }
.contender .badge {
  display: inline-block; background: var(--win); color: #fff; font-size: .72rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 3px 10px;
  border-radius: 20px; margin-bottom: 10px;
}
.contender .badge.alt { background: var(--muted); }
.contender h2 { font-size: 1.25rem; margin-bottom: 4px; }
.contender .price { color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.vs-mark { align-self: center; font-weight: 800; font-size: 1.3rem; color: var(--muted); }
.btn {
  display: inline-block; background: var(--accent); color: #fff !important; font-weight: 700;
  padding: 11px 22px; border-radius: 9px; font-size: .95rem;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; }

/* Spec table */
h2.sec { font-size: 1.5rem; margin: 40px 0 16px; letter-spacing: -.3px; }
table.specs { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.specs th, table.specs td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.specs thead th { background: var(--bg-soft); font-size: .85rem; text-transform: uppercase; letter-spacing: .5px; }
table.specs td.lead-col { font-weight: 600; width: 26%; }
td .win-tag { color: var(--win); font-weight: 700; font-size: .8rem; margin-left: 6px; }

/* Pros & cons */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pc { border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.pc h3 { font-size: 1.05rem; margin-bottom: 12px; }
.pc ul { list-style: none; }
.pc li { padding: 5px 0 5px 26px; position: relative; font-size: .94rem; }
.pc li.pro::before { content: "\2713"; color: var(--win); font-weight: 800; position: absolute; left: 0; }
.pc li.con::before { content: "\2715"; color: var(--accent); font-weight: 800; position: absolute; left: 0; }

/* Verdict */
.verdict {
  background: var(--bg-soft); border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0; padding: 24px 26px; margin-top: 40px;
}
.verdict h2 { font-size: 1.35rem; margin-bottom: 10px; }
.verdict p { margin-bottom: 10px; }
.verdict p:last-child { margin-bottom: 0; }

/* Footer */
footer.site { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 34px 0; margin-top: 20px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; color: var(--muted); font-size: .88rem; }
footer.site a { color: var(--muted); margin-right: 16px; }

@media (max-width: 720px) {
  .hero h1 { font-size: 1.9rem; }
  .versus { grid-template-columns: 1fr; }
  .vs-mark { text-align: center; }
  .pc-grid { grid-template-columns: 1fr; }
  nav.main a { margin-left: 14px; font-size: .85rem; }
}
