/* BlowingQuotes — “news that inspires” / DailyGood-inspired: warm, light, gentle sage */
@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,500;0,600;0,700;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&display=swap");

:root {
  --ink: #1e2934;
  --ink-soft: #3d4854;
  --muted: #5c6773;
  --bg: #f3f0ea;
  --bg-deep: #e8e4dc;
  --surface: #ffffff;
  --surface-2: #f7f4ef;
  --accent: #2d6a4f;
  --accent-bright: #3a7d5c;
  --accent-dark: #1b4332;
  --accent-faint: rgba(45, 106, 79, 0.1);
  --link-hover: #1b4332;
  --rose: #a64530;
  --border: #e0dbd2;
  --header-border: #e5e0d5;
  --font-heading: "Lora", Georgia, "Times New Roman", serif;
  --font: "DM Sans", "Segoe UI", system-ui, sans-serif;
  /* Shared with header-inner, footer-inner, .wrap, and full-width page inners (e.g. .page-contact__*) */
  --layout-max: 1100px;
  --dark-bg-max: 1920px; /* dark section background only */
  --layout-pad: clamp(16px, 4vw, 32px);
  --page-pad-y: 2.5rem;
  --section-stack: 2.5rem;
  --content-gap: 1.25rem;
  --section-gap: 2.5rem;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --radius-sm: 8px;
  /* Soft, lifted cards (no hard offset shadows) */
  --shadow-hard: 0 12px 40px rgba(30, 41, 34, 0.1);
  --shadow-hard-sm: 0 4px 20px rgba(30, 41, 34, 0.07);
  --shadow-hover: 0 16px 48px rgba(30, 41, 34, 0.14);
  /* Dark sections: slate + mint accent */
  --section-dark: #1a2229;
  --section-dark-deep: #12181e;
  --section-dark-text: #e8e6e1;
  --section-dark-muted: #9aa5b1;
  --section-dark-accent: #5eead4;
  --section-dark-border: rgba(94, 234, 212, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* dark bands can extend past main; keep page from scrolling horizontally */
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.04rem;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--link-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* —— Header: bright, low-contrast — DailyGood-style — */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--header-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.header-inner {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 1rem var(--layout-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.logo {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 2;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s var(--ease);
}

.logo:hover {
  opacity: 0.88;
}

.logo img {
  display: block;
  height: clamp(39px, 5.98vw, 53px); /* +15% */
  width: auto;
  max-width: min(276px, 66.7vw);
  object-fit: contain;
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
}

.nav-main a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.nav-main a:not(.nav-cta):hover {
  background: var(--surface-2);
  color: var(--ink);
  border-color: var(--border);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  border: 1px solid rgba(27, 67, 50, 0.2) !important;
  margin-left: 2px;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(45, 106, 79, 0.25);
}

.nav-cta:hover {
  background: var(--accent-dark);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.3);
  transform: none;
}

.ad-leaderboard {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 12px var(--layout-pad);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-leaderboard ins {
  display: block;
}

.skyscraper-ad {
  display: none;
}

@media (min-width: 768px) {
  .skyscraper-ad {
    display: block;
  }
}

.skyscraper-wrap {
  min-height: 620px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

main.wrap,
.wrap {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: var(--page-pad-y) var(--layout-pad);
}

/* —— Home hero — welcoming, airy — */
.home-hero {
  margin: 0 0 var(--section-stack);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  position: relative;
  overflow: hidden;
  animation: home-hero-in 0.7s var(--ease) both;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(45, 106, 79, 0.06) 0%, transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(166, 69, 48, 0.04) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.home-hero__welcome {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 0.35rem;
  font-family: var(--font);
}

.home-hero__date {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
  font-family: var(--font);
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: center;
}

@media (min-width: 900px) {
  .home-hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 2rem 2.5rem;
  }
}

@media (max-width: 899px) {
  .home-hero__visual {
    order: -1;
  }
}

.home-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.home-hero .kicker {
  font-size: 0.68rem;
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
  border-left: 0;
  padding: 0;
}

.home-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.8vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
  color: var(--ink);
  text-wrap: balance;
  max-width: 15em;
}

.home-hero__title-line {
  display: block;
  font-weight: 500;
}

.home-hero__title-accent {
  display: block;
  color: var(--accent-dark);
  font-style: italic;
  font-weight: 500;
  margin-top: 0.15em;
}

.home-hero__lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 36ch;
  line-height: 1.7;
  margin: 0;
}

.home-hero__lead strong {
  color: var(--ink);
  font-weight: 600;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 1.65rem;
}

.home-hero__visual {
  min-width: 0;
}

.home-hero__frame {
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: var(--shadow-hard-sm);
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.home-hero__media {
  position: relative;
  overflow: hidden;
}

.home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 50%, rgba(30, 41, 52, 0.12) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.5s var(--ease);
}

.home-hero__media:hover .hero-image {
  transform: scale(1.04);
}

.home-hero__caption {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0.6rem 1rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-soft);
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}

@keyframes home-hero-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero {
    animation: none;
  }
  .home-hero__media:hover .hero-image {
    transform: none;
  }
}

.home-btn {
  display: inline-block;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  letter-spacing: 0.01em;
}

.home-btn--primary {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(45, 106, 79, 0.28);
}

.home-btn--primary:hover {
  color: #fff !important;
  background: var(--accent-dark);
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.35);
}

.home-btn--secondary {
  background: var(--surface);
  color: var(--accent-dark) !important;
  border-color: var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.home-btn--secondary:hover {
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--accent-dark) !important;
}

.home-btn--inline {
  display: inline-block;
  margin-top: 0.5rem;
  text-decoration: none !important;
}

/* Section blocks: soft title bands */
.section-block {
  margin-bottom: var(--section-stack);
  padding: 0;
  border-left: 0;
  border-bottom: 0;
}

.section-block h2 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-block h2::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  margin-top: 0.5rem;
  margin-bottom: 1.1rem;
  opacity: 0.85;
}

/* Dark bands: background max 1920px, centered; inner text/cards line up with .wrap (1100px) */
.section-block.section-block--dark {
  --dark-band-pad-x: max(
    var(--layout-pad),
    calc((min(var(--dark-bg-max), 100vw) - var(--layout-max)) / 2 + var(--layout-pad))
  );
  position: relative;
  left: 50%;
  width: min(var(--dark-bg-max), 100vw);
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
  transform: translateX(-50%);
  padding: clamp(1.75rem, 4vw, 2.5rem) var(--dark-band-pad-x);
  background: linear-gradient(160deg, var(--section-dark) 0%, var(--section-dark-deep) 100%);
  color: var(--section-dark-text);
  border: none;
  border-radius: 0;
  border-top: 1px solid var(--section-dark-border);
  border-bottom: 1px solid var(--section-dark-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.section-block--dark h2 {
  color: #f0edea;
}

.section-block--dark h2::after {
  background: linear-gradient(90deg, var(--section-dark-accent) 0%, var(--accent-bright) 100%);
  opacity: 1;
}

.section-block--dark .see-all {
  color: var(--section-dark-text);
  border-color: var(--section-dark-accent);
}

.section-block--dark .see-all:hover {
  color: #fff;
  border-color: #5eead4;
}

/* RSS in dark context */
.section-block--dark .rss-block {
  background: linear-gradient(160deg, #0f1419 0%, #1a2028 100%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
  --rss-accent: var(--section-dark-accent);
}

.section-block--dark .rss-block strong {
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.2);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.section-block--dark .rss-block::before {
  background: linear-gradient(90deg, #2dd4bf, var(--accent-bright), #34d399);
  opacity: 0.9;
}

.card-grid {
  display: grid;
  gap: 1.35rem;
}

@media (min-width: 600px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-card {
  /* Column flex + full height: grid rows stretch cards; the .body must grow
     or a pure white strip shows below the copy (card bg was --surface). */
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-hard-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Block layout on the image link + img removes the inline “white strip”
   (baseline gap) under images inside cards */
.article-card > a:first-of-type {
  display: block;
  line-height: 0;
}

.article-card img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.article-card .body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1.1rem 1.2rem 1.2rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
}

.article-card h2,
.article-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--ink);
}

.card-grid--3 .article-card h2,
.card-grid--3 .article-card h3,
.category-layout .article-card h2 {
  font-size: 1.02rem;
}

.article-card .body > a:first-of-type {
  text-decoration: none;
  color: inherit;
}

.article-card .body > a:first-of-type:hover h2,
.article-card .body > a:first-of-type:hover h3 {
  color: var(--accent);
}

.article-card p {
  margin: 0 0 0.75rem;
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Read more — full-width chip for article cards, filled brand color */
.btn-read {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 0.62rem 1rem;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none !important;
  color: #fff !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(27, 67, 50, 0.25);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 2px 8px rgba(45, 106, 79, 0.22);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-read:hover {
  color: #fff !important;
  background: var(--accent-dark);
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.32);
}

.article-card .body .btn-read {
  margin-top: auto;
  padding-top: 0.65rem;
  margin-bottom: 0;
}

/* RSS — soft panel */
.rss-block {
  --rss-accent: var(--accent-bright);
  margin: var(--content-gap) 0 0;
  padding: 0;
  background: linear-gradient(160deg, #f8faf8 0%, var(--surface) 45%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px rgba(30, 41, 34, 0.06);
  font-size: 0.94rem;
  overflow: hidden;
  position: relative;
}

.rss-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-bright) 50%, #7cb87a 100%);
  opacity: 0.85;
}

.rss-block strong {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.9rem 1.1rem 0.65rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  font-weight: 800;
  font-family: var(--font);
  background: rgba(255, 252, 247, 0.65);
  border-bottom: 1px solid rgba(19, 16, 26, 0.08);
}

.rss-block strong::before {
  content: "";
  flex: 0 0 auto;
  width: 1.35em;
  height: 1.35em;
  background: var(--rss-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M4 4h2a12 12 0 0 1 12 12v2h-2A10 10 0 0 0 4 6V4zm0 4h2a8 8 0 0 1 8 8v2H8a6 6 0 0 0-6-6V8zm2.5 5.5a1.5 1.5 0 1 1-1.5 1.5 1.5 1.5 0 0 1 1.5-1.5z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M4 4h2a12 12 0 0 1 12 12v2h-2A10 10 0 0 0 4 6V4zm0 4h2a8 8 0 0 1 8 8v2H8a6 6 0 0 0-6-6V8zm2.5 5.5a1.5 1.5 0 1 1-1.5 1.5 1.5 1.5 0 0 1 1.5-1.5z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.rss-block > div {
  padding: 0.65rem 0.85rem 0.85rem 1rem;
}

.rss-feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.rss-feed-item {
  margin: 0;
  padding: 0;
  border-radius: 2px;
  background: var(--surface);
  border: 1px solid rgba(19, 16, 26, 0.1);
  box-shadow: 0 1px 0 rgba(13, 107, 100, 0.06);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.rss-feed-item:hover {
  border-color: var(--rss-accent);
  box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.25);
  transform: translateX(2px);
}

.rss-feed-link {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.55rem 0.65rem 0.6rem 0.7rem;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--ink) !important;
  text-decoration: none !important;
  border-left: 3px solid var(--rss-accent);
}

.rss-feed-link::after {
  content: "↗";
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rss-accent);
  margin-left: auto;
  opacity: 0.65;
  line-height: 1.4;
}

.rss-feed-item:hover .rss-feed-link {
  color: var(--accent-dark) !important;
}

.rss-feed-item:hover .rss-feed-link::after {
  opacity: 1;
  color: var(--accent-bright);
}

.rss-feed-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.75rem 1rem 0.85rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.4;
  font-style: italic;
}

.rss-feed-status__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rss-accent);
  animation: rss-pulse 1.1s ease-in-out infinite;
  flex-shrink: 0;
}

.rss-fallback {
  font-style: normal;
  color: #7c2d12;
  background: rgba(166, 69, 48, 0.08);
  border-left: 3px solid #c45c3e;
  padding: 0.7rem 0.85rem;
  margin: 0.5rem 0.85rem 0.85rem !important;
  border-radius: var(--radius-sm);
}

@keyframes rss-pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rss-feed-status__dot {
    animation: none;
    opacity: 0.8;
  }
  .rss-feed-item:hover {
    transform: none;
  }
}

.see-all {
  display: inline-block;
  margin-top: var(--content-gap);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  letter-spacing: 0.02em;
}

.see-all:hover {
  color: var(--link-hover);
  border-color: var(--link-hover);
}

/* Home FAQ — full content width (matches .section-block / main column) */
.faq-home {
  margin-top: 0;
  margin-bottom: 0;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  width: 100%;
  max-width: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard-sm);
}

.faq-home__head {
  text-align: left;
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(19, 16, 26, 0.08);
}

.faq-home__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  line-height: 1.2;
  color: var(--ink);
}

.faq-home__lede {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: min(52ch, 100%);
}

.faq-home.faq-home--dark {
  --dark-band-pad-x: max(
    var(--layout-pad),
    calc((min(var(--dark-bg-max), 100vw) - var(--layout-max)) / 2 + var(--layout-pad))
  );
  position: relative;
  left: 50%;
  width: min(var(--dark-bg-max), 100vw);
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
  transform: translateX(-50%);
  padding: clamp(1.5rem, 4vw, 2.25rem) var(--dark-band-pad-x);
  background: linear-gradient(160deg, var(--section-dark) 0%, var(--section-dark-deep) 100%);
  border: none;
  border-radius: 0;
  border-top: 1px solid var(--section-dark-border);
  border-bottom: 1px solid var(--section-dark-border);
  color: var(--section-dark-text);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.faq-home--dark .faq-home__head {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.faq-home--dark .faq-home__title {
  color: #f0edea;
}

.faq-home--dark .faq-home__lede {
  color: var(--section-dark-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  margin: 0;
  background: var(--bg);
  border: 1px solid rgba(19, 16, 26, 0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq-item:hover {
  border-color: rgba(45, 106, 79, 0.3);
}

.faq-item[open] {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(45, 106, 79, 0.18);
  background: var(--surface);
}

.faq-item .faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.95rem 1.05rem;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  text-align: left;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.faq-item .faq-q::-webkit-details-marker {
  display: none;
}

.faq-item .faq-q::after {
  content: "";
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-0.1rem);
  transition: transform 0.25s var(--ease);
  margin-top: 0.1rem;
}

.faq-item[open] .faq-q::after {
  transform: rotate(225deg) translateY(0.05rem);
}

.faq-item .faq-q:hover {
  color: var(--accent);
  background: rgba(45, 106, 79, 0.06);
}

.faq-item[open] .faq-q {
  color: var(--accent-dark);
  background: linear-gradient(180deg, var(--accent-faint) 0%, rgba(45, 106, 79, 0.04) 100%);
  border-bottom: 1px solid rgba(19, 16, 26, 0.06);
}

.faq-item .faq-q:focus {
  outline: none;
}

.faq-item .faq-q:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}

.faq-a {
  padding: 0 1.1rem 1.05rem;
  animation: faq-open 0.3s var(--ease);
}

.faq-a p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Dark FAQ panel — must follow base .faq-item / .faq-q rules */
.faq-home--dark .faq-item {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.1);
}

.faq-home--dark .faq-item:hover {
  border-color: rgba(94, 234, 212, 0.35);
}

.faq-home--dark .faq-item[open] {
  background: rgba(0, 0, 0, 0.38);
  border-color: rgba(94, 234, 212, 0.45);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.18);
}

.faq-home--dark .faq-item .faq-q {
  color: #e8e4dc;
}

.faq-home--dark .faq-item .faq-q::after {
  border-color: var(--section-dark-accent);
}

.faq-home--dark .faq-item .faq-q:hover {
  color: #5eead4;
  background: rgba(94, 234, 212, 0.1);
}

.faq-home--dark .faq-item[open] .faq-q {
  color: #f0fdfa;
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.3) 0%, rgba(0, 0, 0, 0.15) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-home--dark .faq-a p {
  color: var(--section-dark-muted);
}

@keyframes faq-open {
  from {
    opacity: 0.6;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-a {
    animation: none;
  }
  .faq-item .faq-q::after {
    transition: none;
  }
}

/* —— Footer: light, calm (DailyGood-style) — */
.site-footer {
  background: var(--surface-2);
  color: var(--ink-soft);
  margin-top: 0;
  /* horizontal padding lives on .footer-inner (same model as main.wrap) so columns align with page content */
  padding: var(--page-pad-y) 0;
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.site-footer a:hover {
  text-decoration: underline;
  color: var(--accent-dark);
}

.footer-inner {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 0 var(--layout-pad);
  box-sizing: border-box;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.footer-col .logo--footer {
  display: inline-block;
  line-height: 0;
  margin: 0 0 0.85rem;
  text-decoration: none;
  color: inherit;
}

.footer-col .logo--footer img {
  display: block;
  height: clamp(35px, 5vw, 50px); /* +25% */
  width: auto;
  max-width: min(250px, 90vw);
  object-fit: contain;
}

.site-footer a.logo--footer {
  font-weight: 400;
}

.site-footer a.logo--footer:hover {
  text-decoration: none;
  opacity: 0.88;
  color: inherit;
}

.footer-col h3 {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-family: var(--font);
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  max-width: var(--layout-max);
  margin: 2.25rem auto 0;
  padding: 1.5rem var(--layout-pad) 0;
  box-sizing: border-box;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Google News: soft pill */
.google-news-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border: 1px solid rgba(27, 67, 50, 0.15);
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.35);
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.google-news-btn:hover {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 6px 22px rgba(45, 106, 79, 0.4);
  transform: none;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4.2vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 var(--content-gap);
  line-height: 1.15;
  color: var(--ink);
}

main.wrap > p.byline:first-of-type {
  margin-bottom: var(--content-gap);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--section-stack);
}

.filter-pills a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  letter-spacing: 0.02em;
}

.filter-pills a:hover,
.filter-pills a.is-active {
  background: var(--accent-faint);
  border-color: var(--accent);
  color: var(--accent-dark);
  box-shadow: none;
}

.quote-desk-layout {
  display: grid;
  gap: var(--section-stack);
}

@media (min-width: 900px) {
  .quote-desk-layout {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }
}

.sidebar-panel {
  position: sticky;
  top: 88px;
}

.sidebar-panel .sidebar-ad-block {
  margin-bottom: 1.25rem;
}

/* Categories — one aligned column, clear heading, full-width hit targets */
.sidebar-panel > * + .sidebar-links {
  margin-top: 1.25rem;
}

.sidebar-links {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.65rem 0.85rem 0.75rem;
  box-shadow: var(--shadow-hard-sm);
}

.sidebar-links h2 {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 0.65rem;
  padding: 0 0.35rem 0.55rem;
  border-bottom: 1px solid var(--border);
  line-height: 1.3;
}

.sidebar-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sidebar-links li {
  margin: 0;
}

.sidebar-links a {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.35;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.5rem 0.5rem 0.5rem 0.6rem;
  border-radius: 6px;
  border-left: 3px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.sidebar-links a:hover,
.sidebar-links a:focus-visible {
  color: var(--accent-dark);
  background: var(--accent-faint);
  border-left-color: var(--accent);
  outline: none;
}

.breadcrumb {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: var(--content-gap);
  font-weight: 500;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--accent);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.byline {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0 0 1rem;
  font-style: italic;
}

.article-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 1rem;
}

.article-hero-img {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 1.15rem;
  box-shadow: var(--shadow-hard-sm);
}

.article-body .prose-inline {
  float: right;
  margin: 0 0 16px 24px;
  max-width: 340px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.article-body .prose-full {
  width: 100%;
  margin: 24px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.two-col {
  display: grid;
  gap: var(--section-stack);
}

@media (min-width: 900px) {
  .layout-article {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
}

.sticky-sidebar {
  position: sticky;
  top: 88px;
}

.prose {
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.prose p {
  margin: 0 0 1.05rem;
}

.prose h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin: 2rem 0 0.8rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.prose h3 {
  font-size: 1.12rem;
  margin: 1.4rem 0 0.55rem;
  font-weight: 700;
  color: var(--ink);
}

.featured-snippet {
  font-size: 1.05rem;
  font-weight: 500;
  padding: 1.1rem 1.25rem;
  background: #f5faf7;
  border: 1px solid rgba(45, 106, 79, 0.2);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  margin-bottom: 1.3rem;
  color: var(--ink);
  box-shadow: var(--shadow-hard-sm);
}

.toc {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  margin: 1.35rem 0 1.8rem;
  box-shadow: var(--shadow-hard-sm);
}

.toc h2 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin: 0 0 0.8rem;
}

.toc ul {
  margin: 0;
  padding-left: 1.2rem;
}

.toc li {
  margin-bottom: 0.4rem;
}

.toc a {
  font-weight: 600;
}

/* Article page — modern tools column + “Read next” (class .article-page on <main> scopes future overrides) */

.layout-article {
  align-items: start;
}

@media (max-width: 899px) {
  .layout-article {
    display: flex;
    flex-direction: column;
  }

  .layout-article .article-sidebar {
    order: -1;
  }

  .article-sidebar.sticky-sidebar {
    position: static;
    top: auto;
  }
}

.article-toc-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.3rem;
  margin: 0 0 1.15rem;
  box-shadow: var(--shadow-hard-sm);
}

.article-toc-panel__head {
  font-family: var(--font);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 0.9rem;
  line-height: 1.2;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.article-toc-panel__list {
  margin: 0;
  padding: 0 0 0 1.2rem;
  list-style: decimal;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.4;
}

.article-toc-panel__list li {
  margin: 0 0 0.5rem;
  padding-left: 0.2rem;
}

.article-toc-panel__list a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.article-toc-panel__list a:hover,
.article-toc-panel__list a:focus-visible {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
  outline: none;
}

.read-next {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.read-next__head {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 600;
  margin: 0 0 1.1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.read-next__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.read-next__card {
  display: block;
  padding: 1.05rem 1.2rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-hard-sm);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  border-left: 4px solid var(--accent);
}

.read-next__card:hover {
  border-color: rgba(45, 106, 79, 0.45);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.read-next__meta {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.read-next__title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-heading);
  line-height: 1.3;
}

.article-share-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
  margin: 1.5rem 0 0.65rem;
}

.float-ad-wrap {
  float: right;
  margin: 0 0 16px 20px;
  max-width: 300px;
  clear: right;
}

.float-ad-wrap ins {
  display: block;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.pull-quote {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.45;
  margin: 1.85rem 0;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hard-sm);
  border-left: 4px solid var(--accent);
  color: var(--ink);
}

.author-bio {
  margin-top: 2.25rem;
  padding: 1.45rem 1.35rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hard-sm);
}

.author-bio h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

.social-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.5rem 0;
}

.social-share a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink) !important;
  font-weight: 500;
  font-size: 0.82rem;
  text-decoration: none;
  border: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.social-share a:hover {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}

/* Category */
.category-layout {
  display: grid;
  gap: var(--section-stack);
}

@media (min-width: 900px) {
  .category-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
}

.category-hero {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: var(--content-gap);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hard-sm);
}

.category-hero img {
  display: block;
  width: 100%;
}

/* 404: same main padding as other pages; center the stack */
main.wrap.page-404 {
  text-align: center;
}

.page-404 h1 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  margin: 0 0 0.5rem;
}

.page-404 .page-404-cats-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--ink);
}

.search-404 {
  margin: 1.5rem auto;
  max-width: 400px;
}

.search-404 input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: var(--surface);
  font-family: var(--font);
}

/* Forms */
.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 520px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  background: var(--surface);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.btn-submit {
  background: var(--accent);
  color: #fff !important;
  border: 1px solid rgba(27, 67, 50, 0.2);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(45, 106, 79, 0.25);
  font-family: var(--font);
}

.btn-submit:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.3);
  filter: none;
  transform: none;
}

/* Contact — full-width layout */
main.page-contact {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.page-contact__hero {
  width: 100%;
  margin: 0;
  padding: clamp(1.75rem, 4.5vw, 2.85rem) 0 clamp(1.9rem, 3.5vw, 2.6rem);
  background:
    linear-gradient(165deg, var(--surface) 0%, var(--surface-2) 50%, rgba(45, 106, 79, 0.07) 100%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(30, 41, 34, 0.07);
}

.page-contact__hero-inner {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 0 var(--layout-pad);
  box-sizing: border-box;
  width: 100%;
}

.page-contact__hero .breadcrumb {
  margin-bottom: 1rem;
}

.page-contact__kicker {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0 0 0.4rem;
  font-family: var(--font);
}

.page-contact__lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 46rem;
  margin: 0;
}

.page-contact__body {
  width: 100%;
  padding: clamp(1.85rem, 4vw, 2.6rem) 0 calc(var(--page-pad-y) + 0.75rem);
  background: var(--bg);
}

.page-contact__grid {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 0 var(--layout-pad);
  box-sizing: border-box;
  width: 100%;
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .page-contact__grid {
    grid-template-columns: minmax(0, 0.36fr) minmax(0, 1fr);
    gap: 2.25rem 2.75rem;
  }
}

.page-contact__info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.page-contact__info-card {
  margin: 0;
  padding: 1.1rem 1.15rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard-sm);
  border-left: 4px solid var(--accent);
}

.page-contact__info-card h2 {
  font-family: var(--font-heading);
  font-size: 1.04rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.page-contact__info-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.page-contact__form-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 2.5vw, 1.8rem) clamp(1.15rem, 2.5vw, 1.6rem) clamp(1.45rem, 2.5vw, 1.85rem);
  box-shadow: var(--shadow-hard);
}

.page-contact__form-title {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-contact__form-hint {
  margin: 0 0 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.page-contact__form .form-group {
  margin-bottom: 1.1rem;
}

.page-contact__form .form-group input,
.page-contact__form .form-group select,
.page-contact__form .form-group textarea {
  max-width: none;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.page-contact__form .form-group input:focus-visible,
.page-contact__form .form-group select:focus-visible,
.page-contact__form .form-group textarea:focus-visible {
  outline: none;
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px var(--accent-faint);
}

.page-contact__form .form-group input::placeholder,
.page-contact__form .form-group textarea::placeholder {
  color: var(--muted);
  opacity: 0.85;
}

.page-contact__form-actions {
  margin-top: 0.15rem;
  padding-top: 0.25rem;
}

.legal-prose h2 {
  margin-top: 1.9rem;
  font-size: 1.22rem;
  font-family: var(--font-heading);
  color: var(--ink);
}

.legal-prose ul {
  padding-left: 1.3rem;
}

/* Author */
.author-card {
  display: grid;
  gap: 1.35rem;
  padding: 1.5rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hard-sm);
  margin-top: 1.5rem;
}

@media (min-width: 600px) {
  .author-card {
    grid-template-columns: 200px 1fr;
    align-items: start;
  }
}

.author-card img {
  border-radius: var(--radius-sm);
  width: 200px;
  max-width: 100%;
  border: 1px solid var(--border);
}

.author-card h1,
.author-card h2 {
  font-family: var(--font-heading);
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.meta-list li {
  margin-bottom: 0.4rem;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

/* Small screens: stack nav */
@media (max-width: 600px) {
  .nav-main {
    width: 100%;
    justify-content: flex-start;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 4px;
  }
}
