/* DM Sans + Fraunces are self-hosted via @font-face in global.css (loaded
   first) — do not re-add this Google Fonts @import, see the note there. */

:root {
  --ink: #24342d;
  --paper: #f8f4ec;
  --accent: #365c49;
  --accent-soft: #e9eee8;
  --accent-gold: #c26f4b;
  --accent-gold-soft: #f3e3d8;
  --accent-pink: #9f563a;
  --muted: #6f796f;
  --cream: #fffdf8;
  --line: #dcd9cf;
  --deep: #1e332a;
  --sage: #dfe8df;
  --terracotta: #bd6846;
  --sun: #e7b765;
}

html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  display: block;
  height: 5px;
  background: var(--terracotta);
}

.site-header {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(36,52,45,.1);
  background: rgba(248,244,236,.94);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
}
.site-header-inner { max-width: 1220px; gap: 30px; }
.site-logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--deep); }
.brand-mark { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 50%; background: var(--deep); color: #fffdf8; }
.brand-mark svg { width: 22px; height: 22px; display: block; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-family: 'Fraunces', Georgia, serif; font-size: 21px; letter-spacing: -.45px; font-weight: 650; color: var(--deep); }
.brand-name span { margin-top: 5px; font-size: 9px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; color: var(--muted); }

.site-nav { gap: 30px; }
.site-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.1px;
  color: var(--deep);
}
.site-nav a:hover { color: var(--terracotta); }
.header-cta,
.hero-cta {
  background: var(--deep);
  color: #fffdf8;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  box-shadow: none;
}
.header-cta { padding: 11px 18px; }
.header-cta:hover,
.hero-cta:hover { background: var(--terracotta); color: #fff; transform: translateY(-1px); }

main { padding-top: 54px; }
main.main-wide { max-width: 1180px; }
h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--deep);
  letter-spacing: -.025em;
}
h1 { font-size: clamp(38px, 6vw, 60px); }
h2 { color: var(--deep); font-size: clamp(29px, 4vw, 38px); }
h3 { font-size: clamp(21px, 3vw, 25px); }
a { color: var(--accent); text-decoration-color: rgba(54,92,73,.25); }
a:hover { color: var(--terracotta); }

.hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  gap: 72px;
  padding: 60px 0 78px;
  border-bottom: 1px solid var(--line);
}
.hero-content { max-width: 620px; }
.hero-eyebrow,
.section-eyebrow,
.email-capture-eyebrow,
.hero-card-eyebrow,
.post-card-eyebrow {
  font-family: 'DM Sans', sans-serif;
  color: var(--terracotta);
  font-weight: 700;
}
.hero-eyebrow { letter-spacing: 2.7px; }
.hero-title {
  font-size: clamp(48px, 7vw, 74px);
  line-height: 1.02;
  margin: 0 0 24px;
  max-width: 700px;
}
.hero-title em { color: var(--terracotta); font-style: italic; }
.hero-sub { color: #627068; font-size: 19px; max-width: 560px; line-height: 1.65; }
.hero-cta { padding: 14px 24px; font-size: 13px; letter-spacing: .7px; }
.hero-pills { margin-top: 32px; gap: 8px; }
.pill {
  font-family: 'DM Sans', sans-serif;
  color: var(--accent);
  background: transparent;
  border: 1px solid #cbd2cb;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11px;
  letter-spacing: .1px;
}

.hero-visual { min-height: 420px; }
.hero-blob {
  width: 100%;
  height: 100%;
  border-radius: 180px 180px 24px 24px;
  background:
    radial-gradient(circle at 76% 22%, rgba(231,183,101,.68) 0 7%, transparent 7.4%),
    linear-gradient(145deg, #dfe8df 0 54%, #efe4d7 54% 100%);
}
.hero-blob::after {
  content: '';
  position: absolute;
  left: 13%; right: 13%; bottom: 13%; height: 1px;
  background: rgba(30,51,42,.16);
  box-shadow: 0 -72px 0 rgba(30,51,42,.08), 0 -144px 0 rgba(30,51,42,.08);
}
.hero-card {
  border: 1px solid rgba(30,51,42,.14);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 24px 70px rgba(30,51,42,.12);
  max-width: 330px;
  transform: rotate(-1.5deg);
  background: rgba(255,253,248,.96);
}
.hero-card::before {
  content: '';
  width: 46px; height: 5px;
  border-radius: 999px;
  display: block;
  background: var(--sun);
  margin-bottom: 20px;
}
.hero-card h3 { font-size: 24px; margin-bottom: 18px; }
.hero-card-list { font-family: 'DM Sans', sans-serif; font-size: 14px; }
.hero-card-list li { padding: 7px 0 7px 24px; border-bottom: 1px solid #ece9e1; }
.hero-card-list li:last-child { border-bottom: 0; }
.hero-card-list li::before { color: var(--terracotta); }

.tools-section { margin: 44px 0 88px; }
.home-banner-row {
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.home-banner {
  grid-column: span 4;
  min-height: 126px;
  align-items: flex-start;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}
.home-banner:nth-child(1), .home-banner:nth-child(2) { grid-column: span 6; }
.home-banner::after {
  content: '';
  position: absolute;
  width: 70px; height: 70px; border-radius: 50%;
  right: -30px; bottom: -34px;
  background: var(--sage);
  opacity: .55;
}
.home-banner:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(30,51,42,.08); border-color: #c8c9c0; }
.home-banner-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--sage);
  font-size: 17px;
}
.home-banner-text strong { font-family: 'Fraunces', Georgia, serif; color: var(--deep); font-size: 17px; }
.home-banner-text span { font-family: 'DM Sans', sans-serif; color: var(--muted); font-size: 12px; }
.home-banner-arrow { color: var(--terracotta); }

.blog-section { margin-top: 40px; }
.section-heading { text-align: left; display: grid; grid-template-columns: 1fr auto; align-items: end; margin-bottom: 34px; }
.section-heading .section-eyebrow { grid-column: 1 / -1; }
.section-heading h2 { margin: 0; }
.post-grid { grid-template-columns: repeat(12, 1fr); gap: 42px 24px; }
.post-card { grid-column: span 4; }
.post-card:first-child { grid-column: span 8; grid-row: span 2; }
.post-card-img { border-radius: 8px; margin-bottom: 18px; }
.post-card:first-child .post-card-img { aspect-ratio: 16/9; }
.post-card-body { padding-right: 6px; }
.post-card h3 { font-size: 22px; line-height: 1.25; }
.post-card:first-child h3 { font-size: clamp(27px, 3vw, 34px); }
.post-card p { font-family: 'DM Sans', sans-serif; color: #68746d; font-size: 14px; line-height: 1.6; }
.post-card-link { color: var(--terracotta); font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }

.email-capture {
  margin: 100px calc(50% - 50vw) 0;
  background: var(--deep);
  color: #f5efe4;
  padding: 76px 24px;
}
.email-capture-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.email-capture h2 { color: #fffdf8; margin: 6px 0 14px; }
.email-capture-sub { color: #cbd5ce; }
.email-capture-form { max-width: 580px; margin: 28px auto 12px; }
.email-capture-form input { border-radius: 8px 0 0 8px; border: 0; min-height: 52px; font-family: 'DM Sans', sans-serif; }
.email-capture-form button { border-radius: 0 8px 8px 0; background: var(--terracotta); min-height: 52px; font-family: 'DM Sans', sans-serif; }
.email-capture-form button:hover { background: #ce7a57; }
.email-capture-note, .email-capture-skip { color: #b8c5bd; }
.email-capture-skip:hover { color: #fff; }

.reminder-band {
  margin: 0 calc(50% - 50vw);
  padding: 70px 24px;
  background: #e4d6c5;
  text-align: center;
}
.reminder-band h2 { max-width: 750px; margin: 10px auto 12px; color: var(--deep); }
.reminder-band p { color: #5f685f; }
.reminder-icon { font-size: 30px; }

.site-footer { background: #172920; color: #c9d2cc; border-top: 0; padding-top: 58px; }
.footer-inner { max-width: 1180px; }
.footer-brand .site-logo { margin-bottom: 18px; }
.footer-brand .brand-mark { background: #f7f0e5; color: var(--deep); }
.footer-brand .brand-name strong { color: #fffaf1; }
.footer-brand .brand-name span { color: #98a99f; }
.footer-heading { font-family: 'DM Sans', sans-serif; color: #fffaf1; letter-spacing: 1.2px; }
.site-footer a { color: #c9d2cc; }
.site-footer a:hover { color: #fffaf1; }
.footer-copyright { border-top-color: rgba(255,255,255,.09); color: #879990; }

.post-featured-image { border-radius: 10px; }
.post-layout { gap: 64px; }
.sidebar-widget { background: var(--cream); border-color: var(--line); border-radius: 10px; box-shadow: none; }
.sidebar-title { color: var(--terracotta); }
.sidebar-tool-list a { background: var(--sage); border-radius: 7px; }
table { font-family: 'DM Sans', sans-serif; }
thead th { background: var(--sage); color: var(--deep); }
tbody tr:nth-child(even) { background: #f3f0e9; }

.cookie-banner { font-family: 'DM Sans', sans-serif; }

@media (max-width: 920px) {
  .site-header { position: static; }
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: 0; min-height: 350px; max-width: 520px; width: 100%; }
  .home-banner, .home-banner:nth-child(1), .home-banner:nth-child(2) { grid-column: span 6; }
  .post-card, .post-card:first-child { grid-column: span 6; grid-row: auto; }
}

@media (max-width: 700px) {
  body::before { height: 4px; }
  .site-header { padding: 14px 16px; }
  .site-header-inner { justify-content: space-between; text-align: left; }
  .site-nav { order: 3; width: 100%; gap: 10px 18px; justify-content: flex-start; padding-top: 8px; border-top: 1px solid var(--line); }
  .site-nav a { font-size: 10px; }
  .header-cta { font-size: 10px; padding: 9px 11px; }
  .brand-name strong { font-size: 18px; }
  .brand-name span { display: none; }
  .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
  main { padding-top: 30px; }
  .hero { text-align: left; padding: 30px 0 52px; }
  .hero-title { font-size: clamp(43px, 14vw, 58px); }
  .hero-pills { justify-content: flex-start; }
  .hero-visual { min-height: 310px; }
  .hero-card { padding: 26px; }
  .home-banner, .home-banner:nth-child(1), .home-banner:nth-child(2) { grid-column: 1 / -1; min-height: auto; }
  .post-grid { display: block; }
  .post-card { margin-bottom: 42px; }
  .post-card:first-child h3 { font-size: 27px; }
  .section-heading { display: block; }
  .email-capture { margin-top: 66px; padding: 58px 20px; }
  .email-capture-form { display: grid; gap: 8px; }
  .email-capture-form input, .email-capture-form button { border-radius: 8px; width: 100%; }
}
