/* FinTra — compare/editorial pages. Landing brand: void + earned gold. */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@600;700&family=Cormorant+Garamond:ital,wght@0,500;1,400&family=Manrope:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --void: #0a0806;
  --surface: #121010;
  --card: #1a1816;
  --line: #2a2723;
  --line-strong: #3e3c38;
  --gold: #d4a843;
  --gold-light: #e8c76a;
  --cream: #f5f5f0;
  --muted: #9e9b95;
  --muted-2: #6e6b65;
  --faint: #56544f;
  --crimson: #ff3b30;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--void);
  color: var(--cream);
  font-family: 'Manrope', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* faint warm vignette, not a gradient slab */
  background-image: radial-gradient(120% 80% at 50% -10%, rgba(212,168,67,0.05), transparent 60%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }

/* ---- shell ---- */
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 920px; margin: 0 auto; padding: 0 24px; }

/* ---- nav ---- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.brand {
  font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700;
  font-size: 1.35rem; letter-spacing: 0.01em; color: var(--cream);
}
.brand b { color: var(--gold); font-weight: 700; }
.nav a.cta {
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--void); background: var(--gold);
  padding: 9px 16px; border-radius: 2px; font-weight: 500;
  transition: background .4s cubic-bezier(0.16,1,0.3,1);
}
.nav a.cta:hover { background: var(--gold-light); }

/* ---- breadcrumb ---- */
.crumb {
  font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint);
  margin: 40px 0 26px;
}
.crumb a:hover { color: var(--gold); }
.crumb span { color: var(--muted-2); }

/* ---- hero ---- */
.dek-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}
h1 {
  font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700;
  font-size: clamp(2.4rem, 6.5vw, 4rem); line-height: 1.02;
  letter-spacing: -0.01em; color: var(--cream); max-width: 16ch;
}
.dek {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-weight: 400; font-size: clamp(1.25rem, 3vw, 1.6rem);
  line-height: 1.4; color: var(--muted); margin-top: 24px; max-width: 38ch;
}
.byline {
  font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
  letter-spacing: 0.12em; color: var(--muted-2); margin-top: 28px;
  padding-top: 22px; border-top: 1px solid var(--line);
  text-transform: uppercase;
}

/* ---- body content ---- */
.body { margin-top: 56px; }
.body h2 {
  font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1.1;
  letter-spacing: -0.005em; color: var(--cream);
  margin: 64px 0 20px;
}
.body h3 {
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 1.2rem;
  color: var(--cream); margin: 40px 0 12px;
}
.body p { margin: 0 0 20px; color: #e4e2dc; max-width: 68ch; }
.body p.lead { font-size: 1.18rem; color: var(--cream); }
.body strong { color: var(--cream); font-weight: 600; }
.body a.inline { color: var(--gold); border-bottom: 1px solid rgba(212,168,67,0.35); transition: border-color .3s; }
.body a.inline:hover { border-color: var(--gold); }
.body ul { margin: 0 0 24px; padding: 0; list-style: none; }
.body ul li {
  position: relative; padding-left: 26px; margin-bottom: 12px; color: #e4e2dc;
}
.body ul li::before {
  content: ''; position: absolute; left: 4px; top: 0.62em;
  width: 6px; height: 6px; background: var(--gold); border-radius: 50%;
}

/* ---- pull rule ---- */
.rule { height: 1px; background: var(--line); border: 0; margin: 56px 0; }

/* ---- comparison table ---- */
.tablewrap { margin: 32px 0; overflow-x: auto; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 0.97rem; min-width: 540px; }
table.cmp thead th {
  font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
  letter-spacing: 0.12em; text-transform: uppercase; text-align: left;
  color: var(--muted-2); font-weight: 500; padding: 0 16px 14px;
  border-bottom: 1px solid var(--line-strong);
}
table.cmp thead th.fin { color: var(--gold); }
table.cmp tbody td {
  padding: 16px; border-bottom: 1px solid var(--line);
  vertical-align: top; color: #d8d6d0;
}
table.cmp tbody td:first-child {
  font-weight: 600; color: var(--cream); width: 30%;
}
table.cmp tbody td.fin { color: var(--cream); }
table.cmp tbody tr:hover td { background: rgba(212,168,67,0.025); }
.yes { color: var(--gold); }
.no { color: var(--faint); }

/* ---- app entry (roundup, not a card grid) ---- */
.app { padding: 36px 0; border-bottom: 1px solid var(--line); }
.app:first-of-type { border-top: 1px solid var(--line); }
.app .rank {
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  letter-spacing: 0.14em; color: var(--gold); margin-bottom: 8px;
}
.app h3 { margin: 0 0 6px; font-size: 1.35rem; }
.app .who {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.15rem; color: var(--muted); margin-bottom: 14px;
}
.app p { margin-bottom: 0; }

/* ---- CTA band ---- */
.cta-band {
  margin: 80px 0 0; padding: 64px 0; border-top: 1px solid var(--line-strong);
  text-align: center;
}
.cta-band h2 {
  font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.05; color: var(--cream);
  max-width: 18ch; margin: 0 auto 16px;
}
.cta-band p {
  color: var(--muted); max-width: 44ch; margin: 0 auto 32px;
}
.cta-band .go {
  display: inline-block; font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--void); background: var(--gold); padding: 15px 34px;
  border-radius: 2px; font-weight: 500;
  transition: background .4s cubic-bezier(0.16,1,0.3,1), transform .4s cubic-bezier(0.16,1,0.3,1);
}
.cta-band .go:hover { background: var(--gold-light); transform: translateY(-2px); }
.cta-band .tag {
  display: block; margin-top: 22px; font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.15rem; color: var(--muted-2);
}

/* ---- related ---- */
.related { padding: 48px 0; border-top: 1px solid var(--line); }
.related .lbl {
  font-family: 'JetBrains Mono', monospace; font-size: 0.68rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint);
  margin-bottom: 20px;
}
.related a {
  display: block; padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: 'Barlow Semi Condensed', sans-serif; font-weight: 600;
  font-size: 1.2rem; color: var(--cream); transition: color .3s;
}
.related a:hover { color: var(--gold); }
.related a span {
  display: block; font-family: 'Manrope', sans-serif; font-weight: 400;
  font-size: 0.9rem; color: var(--muted-2); margin-top: 2px;
}

/* ---- footer ---- */
footer {
  padding: 40px 0 60px; border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace; font-size: 0.7rem;
  letter-spacing: 0.1em; color: var(--faint); text-transform: uppercase;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
footer a:hover { color: var(--gold); }

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .body { margin-top: 40px; }
  .cta-band { padding: 48px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
