/* ── furrychat.blog shared stylesheet ── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,700;1,9..144,400;1,9..144,600&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg:        #faf7f2;
  --surface:   #ffffff;
  --card:      #f5f0e8;
  --border:    #e2d9cc;
  --ink:       #1e1a14;
  --ink-soft:  #4a4238;
  --muted:     #8a7d6e;
  --accent:    #b84a1e;   /* deep terracotta */
  --accent2:   #3a6b4a;  /* forest green */
  --accent3:   #7048a8;  /* muted violet */
  --gold:      #c4922a;
  --rule:      #d4c9b8;

  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans:  'Instrument Sans', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ─── MASTHEAD ─── */
.masthead {
  background: var(--ink);
  padding: 0.6rem 2rem;
  text-align: center;
}
.masthead p {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #6b6050;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.masthead a { color: var(--gold); text-decoration: none; }

/* ─── NAV ─── */
.site-nav {
  background: var(--surface);
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  height: 100%;
}
.nav-links li { height: 100%; }
.nav-links a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  border-color: var(--accent);
}

.nav-ext {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--surface) !important;
  background: var(--accent);
  padding: 0.4rem 1rem !important;
  border-radius: 4px;
  margin-left: 0.8rem;
  border: none !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.15s, transform 0.15s !important;
  height: auto !important;
  align-self: center;
}
.nav-ext:hover { background: #963d17 !important; transform: translateY(-1px); border-color: transparent !important; }

@media(max-width:860px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0 1.2rem; }
}

/* ─── PAGE HEADER ─── */
.page-header {
  border-bottom: 1px solid var(--rule);
  padding: 4.5rem 2rem 3.5rem;
  max-width: 100%;
}
.page-header-inner { max-width: 820px; margin: 0 auto; }

.header-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.header-kicker::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--rule);
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.page-header h1 em { color: var(--accent); font-style: italic; }

.page-header .deck {
  font-size: 1.08rem;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 640px;
}

/* ─── LAYOUT ─── */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  padding: 4rem 0 6rem;
}
@media(max-width:900px) { .two-col { grid-template-columns: 1fr; } }

/* ─── PROSE ─── */
.prose { font-size: 1.02rem; }

.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 2.8rem 0 0.7rem;
  position: relative;
  padding-top: 1rem;
}
.prose h2::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
  margin-bottom: 0.8rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h2:first-child::before { display: none; }

.prose h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.8rem 0 0.4rem;
}

.prose p { margin-bottom: 1.15rem; color: var(--ink-soft); }

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.15s;
}
.prose a:hover { color: #963d17; }

.prose ul, .prose ol {
  padding-left: 1.4rem;
  margin: 0.8rem 0 1.3rem;
  color: var(--ink-soft);
}
.prose li { margin-bottom: 0.45rem; line-height: 1.65; }

.prose blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--gold);
  padding: 0.8rem 0 0.8rem 1.5rem;
  margin: 2rem 0;
  line-height: 1.65;
}

.prose .note {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.2rem 1.5rem;
  font-size: 0.93rem;
  margin: 1.8rem 0;
  color: var(--ink-soft);
}
.prose .note strong { color: var(--ink); }
.prose .note a { color: var(--accent); }

/* ─── SITE CARDS (for reviews/comparisons) ─── */
.site-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 8px 8px;
  padding: 1.8rem;
  margin: 2rem 0;
}
.site-card.green { border-top-color: var(--accent2); }
.site-card.violet { border-top-color: var(--accent3); }
.site-card.gold { border-top-color: var(--gold); }

.site-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.site-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.site-card h3 a {
  color: inherit;
  text-decoration: none;
}
.site-card h3 a:hover { color: var(--accent); }

.rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}
.rating .stars { color: var(--gold); letter-spacing: 0.05em; }

.tag-row { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.8rem; }

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 3px;
  background: var(--card);
  color: var(--muted);
  border: 1px solid var(--border);
}
.tag.red { background: rgba(184,74,30,0.07); color: var(--accent); border-color: rgba(184,74,30,0.2); }
.tag.green { background: rgba(58,107,74,0.07); color: var(--accent2); border-color: rgba(58,107,74,0.2); }
.tag.violet { background: rgba(112,72,168,0.07); color: var(--accent3); border-color: rgba(112,72,168,0.2); }

.site-card p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.65; margin: 0 0 1rem; }
.site-card .verdict {
  background: var(--card);
  border-radius: 4px;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}
.site-card .verdict strong { color: var(--ink); }

/* ─── SIDEBAR ─── */
.sidebar { display: flex; flex-direction: column; gap: 2rem; }

.sb-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.sb-box-head {
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sb-box-body { padding: 1.2rem; }

.sb-box ul { list-style: none; }
.sb-box li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.sb-box li:last-child { border-bottom: none; }
.sb-box a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s;
  font-weight: 500;
}
.sb-box a:hover { color: var(--accent); }

.sb-cta {
  background: var(--ink);
  border-radius: 6px;
  padding: 1.6rem;
  text-align: center;
}
.sb-cta .cta-icon { font-size: 2rem; display: block; margin-bottom: 0.6rem; }
.sb-cta h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}
.sb-cta p { font-size: 0.83rem; color: #8a7d6e; line-height: 1.55; margin-bottom: 1rem; }
.sb-cta a {
  display: block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 600;
  font-family: var(--font-sans);
  text-align: center;
  transition: background 0.15s;
}
.sb-cta a:hover { background: #963d17; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--ink);
  color: #6b6050;
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #2e2820;
}
@media(max-width:700px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

.footer-brand .logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.footer-brand .logo span { color: var(--accent); }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 220px; }

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: #6b6050;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold); }

.footer-copy {
  max-width: 1180px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #3e3428;
  font-family: var(--font-mono);
}

/* ─── UTILITIES ─── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

.breadcrumb {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  max-width: 100%;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.5rem; opacity: 0.4; }

hr.section-rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 3rem 0;
}

.inline-link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
