/* Deeztop - cozy-minimal desk setup picks
   Design system mirroring the original Emergent build */

:root {
  --bg: hsl(36 33% 96%);
  --paper: hsl(36 33% 98%);
  --card: hsl(36 33% 98%);
  --ink: hsl(24 18% 12%);
  --ink-muted: hsl(24 10% 38%);
  --border: hsl(28 18% 86%);
  --muted: hsl(34 22% 92%);
  --terracotta: hsl(18 62% 44%);
  --terracotta-soft: hsl(18 52% 92%);
  --sage: hsl(92 22% 38%);
  --sage-soft: hsl(92 18% 90%);
  --amber: hsl(38 78% 52%);
  --font-display: 'Gloock', ui-serif, Georgia, serif;
  --font-sans: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: hsl(36 33% 98% / 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.brand { display: flex; align-items: center; gap: 0.5rem; }

.brand-mark {
  display: flex;
  flex: 0 0 2.25rem;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: transparent url('/assets/deeztop-logo.png') center / contain no-repeat;
  color: transparent;
  font-size: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.site-nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .site-nav { display: flex; } }

.site-nav a {
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: background 0.2s, color 0.2s;
}
.site-nav a:hover { background: var(--muted); color: var(--ink); }
.site-nav a.active { background: var(--terracotta-soft); color: var(--terracotta); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-muted);
}
.mobile-nav a.active { background: var(--terracotta-soft); color: var(--terracotta); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2.5rem;
  padding: 3.5rem 0 4rem;
}
@media (min-width: 640px) { .hero-grid { padding: 5rem 0; } }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; padding: 6rem 0; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  border-radius: 999px;
  border: 1px solid hsl(92 22% 38% / 0.3);
  background: var(--sage-soft);
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }

.hero h1 .accent { color: var(--terracotta); }

.hero p.lede {
  margin-top: 1.25rem;
  max-width: 32rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-muted);
}
@media (min-width: 640px) { .hero p.lede { font-size: 1.125rem; } }

.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-pills { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.625rem; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.hero-visual { position: relative; }

.hero-visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 18px 40px -14px rgb(36 29 25 / 0.25);
}

.stat-card {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.875rem 1.25rem;
  box-shadow: 0 14px 30px -12px rgb(36 29 25 / 0.2);
}
@media (max-width: 639px) { .stat-card { display: none; } }

.stat-card .num { font-size: 1.5rem; font-weight: 800; color: var(--terracotta); }
.stat-card .lbl { font-size: 0.75rem; font-weight: 600; color: var(--ink-muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.75rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--paper);
  box-shadow: 0 6px 16px -8px rgb(160 82 50 / 0.6);
}
.btn-primary:hover { background: hsl(18 62% 44% / 0.9); }

.btn-secondary {
  background: var(--sage-soft);
  border-color: hsl(92 22% 38% / 0.4);
  color: var(--ink);
}
.btn-secondary:hover { background: hsl(92 18% 90% / 0.7); }

.btn-sm { min-height: 2.25rem; padding: 0 1rem; font-size: 0.875rem; }

.btn-amazon {
  background: var(--terracotta);
  color: var(--paper);
  box-shadow: 0 6px 16px -8px rgb(160 82 50 / 0.5);
}
.btn-amazon:hover { background: hsl(18 62% 44% / 0.9); }

.btn-wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 16px -8px rgb(37 211 102 / 0.6);
}
.btn-wa:hover { background: hsl(143 73% 42% / 0.9); }

/* ---------- Section headers ---------- */

.section { padding: 3rem 0; }
@media (min-width: 640px) { .section { padding: 4rem 0; } }
@media (min-width: 1024px) { .section { padding: 5rem 0; } }

.section-head { margin-bottom: 2rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) {
  .section-head { margin-bottom: 2.5rem; flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.eyebrow {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--ink);
}
@media (min-width: 640px) { .section-head h2 { font-size: 2.25rem; } }

.section-head .sub {
  margin-top: 0.5rem;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-muted);
}
@media (min-width: 640px) { .section-head .sub { font-size: 1rem; } }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--terracotta);
  white-space: nowrap;
}
.text-link:hover { text-decoration: underline; }

/* ---------- Product grid & cards ---------- */

.grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 4px 12px -6px rgb(36 29 25 / 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -12px rgb(36 29 25 / 0.18); }

.card-media { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--muted); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media-placeholder {
  width: 100%; height: 100%; padding: 1.25rem; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end; gap: .45rem;
  color: var(--ink); background: linear-gradient(135deg, #e7d9c8, #f5efe6 56%, #d6c0a5);
  font-size: .76rem; line-height: 1.25; font-weight: 700;
}
.placeholder-mark {
  width: 2rem; height: 2rem; display: grid; place-items: center; border: 1px solid currentColor;
  border-radius: 50%; font-family: var(--font-display); font-size: 1rem;
}

.card-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  border-radius: 0.375rem;
  background: var(--sage-soft);
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
}

.card-body { display: flex; flex: 1; flex-direction: column; gap: 0.5rem; padding: 1rem 1.25rem 1.25rem; }
.card-body h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.card-body > p { font-size: 0.875rem; line-height: 1.5; color: var(--ink-muted); }

.card-foot { margin-top: auto; display: flex; flex-direction: column; gap: 0.75rem; padding-top: 0.5rem; }

.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }

.rating { display: flex; align-items: center; gap: 0.375rem; font-size: 0.8125rem; }
.rating .stars { display: inline-flex; color: var(--amber); }
.rating .score { font-weight: 700; }
.rating .count { color: var(--ink-muted); font-weight: 500; }

.price { font-size: 0.875rem; font-weight: 700; color: var(--ink); white-space: nowrap; }

.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }

.affiliate-note {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------- Category cards ---------- */

.cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 4px 12px -6px rgb(36 29 25 / 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -12px rgb(36 29 25 / 0.18); }

.cat-media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.cat-card:hover .cat-media img { transform: scale(1.05); }

.cat-body { padding: 1.25rem 1.25rem 1.5rem; }
.cat-body h3 { font-family: var(--font-display); font-size: 1.375rem; font-weight: 400; margin-bottom: 0.5rem; }
.cat-body p { font-size: 0.875rem; line-height: 1.6; color: var(--ink-muted); margin-bottom: 1rem; }
.cat-cta { font-size: 0.875rem; font-weight: 700; color: var(--terracotta); }

/* ---------- Blog cards ---------- */

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 4px 12px -6px rgb(36 29 25 / 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -12px rgb(36 29 25 / 0.18); }

.post-media { aspect-ratio: 16/9; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-card:hover .post-media img { transform: scale(1.04); }

.post-body { display: flex; flex-direction: column; gap: 0.625rem; padding: 1.25rem; }
.post-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }

.tag {
  display: inline-block;
  border-radius: 999px;
  background: var(--muted);
  padding: 0.125rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.post-body h3 { font-size: 1.0625rem; font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; }
.post-body > p { font-size: 0.875rem; line-height: 1.55; color: var(--ink-muted); }

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
.post-meta .read { font-weight: 700; color: var(--terracotta); }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  border-bottom: 1px solid var(--border);
  background: var(--paper);
  padding: 2.5rem 0;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.page-hero p { max-width: 38rem; margin: 0 auto; color: var(--ink-muted); }

.crumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
.crumbs a { font-weight: 600; color: var(--terracotta); }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Toolbar (search + sort) ---------- */

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.search-box { position: relative; flex: 1; min-width: 15rem; max-width: 22rem; }

.search-box input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--card);
  padding: 0.625rem 1rem 0.625rem 2.25rem;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.search-box input:focus { border-color: var(--terracotta); }

.search-box svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
}

.toolbar-right { display: flex; align-items: center; gap: 0.75rem; font-size: 0.8125rem; color: var(--ink-muted); }

.sort-select {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--card);
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--ink);
  cursor: pointer;
  outline: none;
}

.empty-state { text-align: center; padding: 3rem 0; color: var(--ink-muted); }

/* ---------- Blog article ---------- */

.article { max-width: 44rem; margin: 0 auto; padding: 2.5rem 0 4rem; }

.article .crumbs { justify-content: flex-start; margin-bottom: 0; padding: 2rem 0 1.25rem; }

.article header { margin-bottom: 1.5rem; }

.article h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0.875rem 0;
}
@media (min-width: 640px) { .article h1 { font-size: 2.5rem; } }

.article .byline { display: flex; align-items: center; gap: 0.625rem; font-size: 0.8125rem; color: var(--ink-muted); }

.disclosure {
  margin: 1rem 0 1.5rem;
  border-radius: 0.5rem;
  background: var(--sage-soft);
  padding: 0.625rem 0.875rem;
  font-size: 0.8125rem;
  color: var(--sage);
}

.article-cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 0.75rem; margin-bottom: 2rem; }

.article h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 2.25rem 0 0.875rem;
}

.article p { margin: 1rem 0; line-height: 1.8; color: var(--ink); }

/* Compact comparison tables inside buying guides */
.comparison-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 2rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
}

.btn-pin {
  background: #e60023;
  color: #fff;
  border-color: #e60023;
}
.btn-pin:hover { background: #b6001c; border-color: #b6001c; color: #fff; }
.comparison-table { width: 100%; min-width: 38rem; border-collapse: collapse; text-align: left; }
.comparison-table th,
.comparison-table td { padding: 0.875rem 1rem; vertical-align: top; font-size: 0.875rem; line-height: 1.55; }
.comparison-table thead th { background: var(--sage-soft); color: var(--sage); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.comparison-table tbody tr + tr { border-top: 1px solid var(--border); }
.comparison-table tbody th { width: 29%; font-weight: 700; }

/* Inline product pick (horizontal card inside posts) */

.pick-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 4px 12px -6px rgb(36 29 25 / 0.08);
  margin: 1.5rem 0;
}
@media (min-width: 640px) { .pick-card { grid-template-columns: 13rem 1fr; } }

.pick-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--muted); }
@media (min-width: 640px) { .pick-media { aspect-ratio: auto; min-height: 11rem; } }
.pick-media img { width: 100%; height: 100%; object-fit: cover; }

.pick-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  border-radius: 0.375rem;
  background: var(--sage-soft);
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
}

.pick-body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.25rem; }
.pick-body h3 { font-size: 1.0625rem; font-weight: 700; }
.pick-body > p { font-size: 0.875rem; line-height: 1.55; color: var(--ink-muted); }

.pick-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.25rem; }

.pick-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

/* CTA box at end of posts */

.cta-box {
  margin-top: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  text-align: center;
}
.cta-box h3 { font-family: var(--font-display); font-size: 1.375rem; font-weight: 400; margin-bottom: 0.375rem; }
.cta-box p { margin: 0 0 1rem; font-size: 0.875rem; color: var(--ink-muted); }
.cta-box .cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* ---------- About page ---------- */

.about-hero { text-align: center; }
.about-hero h1 { font-size: 2.5rem; }
@media (min-width: 640px) { .about-hero h1 { font-size: 3rem; } }
.about-hero p { max-width: 40rem; margin: 1rem auto 0; color: var(--ink-muted); }

.value-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 640px) { .value-grid { grid-template-columns: repeat(3, 1fr); } }

.value-card {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
}
.value-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.875rem; line-height: 1.65; color: var(--ink-muted); }

.how-block { max-width: 40rem; margin: 3.5rem auto 0; }
.how-block h2 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 400; text-align: center; margin-bottom: 1.5rem; }

.how-list { list-style: none; counter-reset: how; display: flex; flex-direction: column; gap: 0.875rem; }

.how-list li {
  counter-increment: how;
  position: relative;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1rem 1rem 1rem 3.5rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink);
}
.how-list li::before {
  content: counter(how);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 999px;
  background: var(--terracotta-soft);
  color: var(--terracotta);
  font-size: 0.8125rem;
  font-weight: 800;
}

.support-note {
  margin-top: 2.5rem;
  border-radius: 0.75rem;
  background: var(--sage-soft);
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--sage);
  text-align: center;
}

.about-cta { text-align: center; margin-top: 2.5rem; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--paper);
  padding: 3rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand p { margin-top: 0.875rem; max-width: 22rem; font-size: 0.875rem; line-height: 1.65; color: var(--ink-muted); }

.footer-col h4 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.875rem; }

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.875rem; color: var(--ink-muted); }
.footer-col a:hover { color: var(--terracotta); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Privacy / legal pages: clean, readable layout */
.legal { max-width: 44rem; margin: 0 auto; padding-bottom: 2rem; }
.legal h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; margin: 2.5rem 0 0.75rem; }
.legal h2:first-of-type { margin-top: 1.5rem; }
.legal p { font-size: 0.9375rem; line-height: 1.75; color: var(--ink); margin-bottom: 1rem; }
.legal ul { list-style: disc; padding-left: 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.legal li { font-size: 0.9375rem; line-height: 1.7; color: var(--ink); }
.legal li strong { color: var(--ink-strong, #1c1917); }
.legal a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
.legal .updated { font-size: 0.875rem; color: var(--ink-muted); margin-top: -0.5rem; margin-bottom: 2rem; }
