/* WhatToSay — calm, readable hub styles */
:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --text: #2a2a28;
  --text-muted: #5c5b57;
  --border: #e4e2dc;
  --accent: #3d5a4c;
  --accent-soft: #e8f0eb;
  --warn-bg: #f7f1e8;
  --warn-border: #e0d4c0;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(42, 42, 40, 0.04);
  --max: 40rem;
  --wide: 56rem;
  --font: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #2c4338;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.logo {
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo:hover {
  color: var(--accent);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
}

.site-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

.site-main.wide {
  max-width: var(--wide);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.45rem;
  margin: 2.5rem 0 0.85rem;
  padding-top: 0.25rem;
}

h3 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.6rem;
}

p {
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.meta-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.card:hover {
  border-color: #c8d5cc;
  box-shadow: 0 2px 8px rgba(42, 42, 40, 0.06);
  color: inherit;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card .card-meta {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--accent);
}

.template {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 0.75rem 0 1rem;
  font-family: var(--font);
  font-size: 1.08rem;
  line-height: 1.55;
}

.template-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.dont-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.dont-list li {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.65rem;
}

.dont-list strong {
  display: block;
  margin-bottom: 0.2rem;
}

.dont-list span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta-box {
  background: var(--accent-soft);
  border: 1px solid #cfdcd3;
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  margin: 2rem 0;
}

.cta-box h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.cta-box .btn {
  display: inline-block;
  margin-top: 0.5rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none !important;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #2c4338;
}

.btn-secondary {
  background: transparent;
  color: var(--accent) !important;
  border: 1px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent-soft);
}

.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.affiliate-card {
  background: var(--surface);
  border: 1px dashed #c5c2b8;
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  position: relative;
}

.affiliate-card .placeholder-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #eeebe4;
  color: var(--text-muted);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.affiliate-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.affiliate-card p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.affiliate-card a {
  font-size: 0.9rem;
}

.disclosure {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
  margin-top: 1rem;
}

.related {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.related li {
  margin-bottom: 0.55rem;
}

.coming-soon {
  display: inline-block;
  background: #eeebe4;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.hero {
  margin-bottom: 2rem;
}

.feature-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.35rem;
  margin: 1.5rem 0 2rem;
  box-shadow: var(--shadow);
}

.feature-banner h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.form-stub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.form-stub label {
  display: block;
  width: 100%;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-stub input[type="email"] {
  flex: 1 1 14rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: var(--surface);
}

.form-stub button {
  flex: 0 0 auto;
}

.form-note {
  width: 100%;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.35rem 0 0;
}

.section-intro {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

hr.soft {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

@media (max-width: 560px) {
  .site-header-inner {
    padding: 0.75rem 1rem;
  }

  .site-main {
    padding: 1.5rem 1rem 3rem;
  }

  .form-stub button {
    width: 100%;
  }
}
