/* ABR — Applied Business Revenue
   A bright, friendly business journal inspired by Rover's clarity:
   generous white space, rounded cards, one confident accent, real utility. */

:root {
  --ink: #102b38;
  --ink-soft: #35505e;
  --muted: #60737f;
  --teal: #0c7c72;
  --teal-dark: #075f58;
  --teal-deep: #0a3d3a;
  --teal-light: #e4f3ef;
  --teal-mist: #f2faf7;
  --amber: #f0a24a;
  --amber-dark: #c9762a;
  --amber-light: #fdf1df;
  --cream: #fbf8f1;
  --sand: #f4efe4;
  --white: #fff;
  --line: #e7e1d5;
  --rose: #e45d7b;
  --green: #4f7a34;
  --shadow-sm: 0 6px 20px rgba(16, 43, 56, .06);
  --shadow-md: 0 20px 48px rgba(16, 43, 56, .11);
  --radius: 22px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -.03em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.35rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1rem; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* ===== Buttons & links ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; padding: 13px 22px; font-weight: 800;
  font-size: .95rem; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 22px rgba(12, 124, 114, .24); }
.btn-primary:hover { background: var(--teal-dark); box-shadow: 0 14px 28px rgba(12, 124, 114, .3); }
.btn-amber { background: var(--amber); color: #3f2809; box-shadow: 0 10px 22px rgba(240, 162, 74, .3); }
.btn-amber:hover { background: #e59232; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--teal-dark); font-weight: 800; font-size: .9rem;
}
.text-link svg { transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(4px); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 44px; height: 44px; }
.brand-text { font-size: 1.45rem; font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.brand-text strong { color: var(--teal-dark); }
.brand-text span { color: var(--muted); font-weight: 600; font-size: .8rem; letter-spacing: 0; }

.main-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.main-nav a {
  font-size: .92rem; font-weight: 700; color: var(--ink-soft);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--teal-dark); border-color: var(--teal); }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 78% 14%, rgba(143, 214, 201, .38) 0, transparent 34%),
    radial-gradient(circle at 6% 88%, rgba(240, 162, 74, .2) 0, transparent 36%),
    linear-gradient(155deg, #f4fbf8 0%, var(--cream) 55%, #fdf3e5 100%);
  padding: 64px 0 74px;
}
.hero::before {
  content: ""; position: absolute; right: -120px; top: -130px;
  width: 360px; height: 360px; border-radius: 50%;
  border: 46px solid rgba(12, 124, 114, .06);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 52px; align-items: center; }
.hero-copy h1 { margin-bottom: 18px; max-width: 640px; }
.hero-copy h1 em { font-family: "Fraunces", Georgia, serif; font-weight: 600; color: var(--teal); font-style: italic; }
.hero-copy > p { max-width: 560px; color: var(--ink-soft); font-size: 1.07rem; }

.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .15em; font-size: .7rem; font-weight: 800;
  color: var(--teal-dark); margin-bottom: 14px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(240, 162, 74, .18); }

/* Rover-like search card */
.search-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-md); margin: 28px 0 18px; max-width: 620px;
  overflow: hidden;
}
.search-tabs { display: flex; gap: 4px; padding: 8px 8px 0; background: #fbfaf7; border-bottom: 1px solid var(--line); }
.search-tab {
  border: 0; background: transparent; color: var(--muted); font-size: .8rem; font-weight: 800;
  padding: 10px 14px; border-radius: 12px 12px 0 0; cursor: pointer;
  border-bottom: 3px solid transparent;
}
.search-tab:hover { color: var(--teal-dark); }
.search-tab.is-active { color: var(--teal-dark); border-bottom-color: var(--teal); background: #fff; }
.search-fields { display: flex; gap: 10px; padding: 12px; align-items: stretch; }
.field { flex: 1; min-width: 0; padding: 7px 14px; border-radius: 14px; background: #fbfaf7; border: 1px solid transparent; }
.field:focus-within { border-color: rgba(12, 124, 114, .45); background: #fff; }
.field label { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.field input, .field select {
  width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink);
  font-size: .9rem; font-weight: 600; padding: 0; cursor: pointer;
}
.field input::placeholder { color: #93a2ab; font-weight: 500; }
.search-submit { align-self: stretch; border-radius: 14px; padding-inline: 24px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: rgba(255, 255, 255, .72);
  border-radius: 999px; padding: 6px 14px; font-size: .78rem; font-weight: 700; color: var(--ink-soft);
  transition: all .16s ease;
}
.chip:hover { border-color: var(--teal); color: var(--teal-dark); background: #fff; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.avatars { display: flex; }
.avatars span {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-size: .66rem; font-weight: 800; color: #fff; border: 2px solid var(--cream); margin-left: -8px;
}
.avatars span:first-child { margin-left: 0; background: var(--teal); }
.avatars span:nth-child(2) { background: var(--amber); color: #3f2809; }
.avatars span:nth-child(3) { background: #4552b8; }
.hero-proof p { margin: 0; font-size: .82rem; color: var(--muted); }
.hero-proof strong { color: var(--ink); }

.hero-visual { position: relative; }
.hero-visual > img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: 30px; box-shadow: 0 30px 60px rgba(10, 61, 58, .22);
}
.floating-card {
  position: absolute; background: #fff; border-radius: 16px; padding: 11px 15px;
  font-size: .78rem; font-weight: 700; box-shadow: var(--shadow-md); color: var(--ink-soft);
  display: flex; align-items: center; gap: 9px;
}
.floating-card strong { color: var(--teal-dark); font-size: .95rem; }
.floating-card .mini-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
.floating-card.one { top: 8%; left: -28px; }

/* ===== Stats ===== */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 0; }
.stat { padding: 0 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-size: 1.55rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.stat span { font-size: .8rem; color: var(--muted); }

/* ===== Layout ===== */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 46px; align-items: start; padding: 62px 0 80px; }
.main-column { min-width: 0; }
.section { margin-bottom: 72px; scroll-margin-top: 100px; }
.section-lead { color: var(--ink-soft); font-size: 1.02rem; max-width: 730px; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 38px; margin-top: 28px; }
.about-copy p { color: var(--ink-soft); }
.signature { font-family: "Fraunces", Georgia, serif; font-style: italic; color: var(--teal-dark) !important; font-size: 1.08rem; }
.value-stack { display: grid; gap: 12px; }
.value-item {
  display: flex; gap: 16px; align-items: flex-start; background: var(--teal-mist);
  border: 1px solid #d9ece6; border-radius: 18px; padding: 18px;
}
.value-item:nth-child(2) { background: var(--cream); border-color: var(--line); }
.value-item:nth-child(3) { background: var(--amber-light); border-color: #f3dfc2; }
.value-item h3 { margin: 0 0 4px; font-size: 1rem; }
.value-item p { margin: 0; font-size: .87rem; color: #566974; }
.value-letter {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center; background: var(--teal); color: #fff; font-weight: 800;
}
.value-item:nth-child(2) .value-letter { background: var(--amber); color: #3f2809; }
.value-item:nth-child(3) .value-letter { background: var(--ink); }

/* ===== Service cards ===== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 21px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center;
  background: var(--teal-light); color: var(--teal-dark); margin-bottom: 16px;
}
.service-card:nth-child(2) .service-icon { background: var(--amber-light); color: var(--amber-dark); }
.service-card:nth-child(3) .service-icon { background: #ecebfb; color: #4d4bb0; }
.service-icon svg { width: 24px; height: 24px; }
.service-card p { font-size: .89rem; color: var(--muted); }
.price { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: var(--teal); }

/* ===== Filters & articles ===== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 9px; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  border-radius: 999px; padding: 8px 14px; font-size: .8rem; font-weight: 700; cursor: pointer;
  transition: all .18s ease;
}
.filter-btn:hover { border-color: var(--teal); color: var(--teal-dark); }
.filter-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.results-note { font-size: .78rem; color: var(--muted); margin: 0 0 16px; }

.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.article-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-card[hidden] { display: none; }
.article-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.article-card:hover .article-thumb img { transform: scale(1.04); }
.article-card-body { padding: 18px 19px 20px; }
.article-card-body h3 { margin: 11px 0 7px; font-size: 1.04rem; line-height: 1.3; }
.article-card-body h3 a:hover { color: var(--teal-dark); }
.article-card-body > p { font-size: .86rem; color: var(--muted); margin-bottom: 13px; }

.pill {
  display: inline-block; border-radius: 999px; padding: 5px 11px;
  font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  background: var(--teal-light); color: var(--teal-dark);
}
.pill.operations, .pill.revops { background: #ecebfb; color: #4d4bb0; }
.pill.pricing { background: var(--amber-light); color: #8a5210; }
.pill.sales { background: #fdeaea; color: #b34a42; }
.pill.finance { background: #e9f3e6; color: #3d6426; }
.pill.retention { background: #fbeaf1; color: #a33b69; }
.pill.growth { background: #e6f6f7; color: #116b73; }

.post-meta { display: flex; align-items: center; gap: 9px; font-size: .75rem; color: var(--muted); margin-bottom: 12px; flex-wrap: wrap; }
.post-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: #c7cfd8; }
.no-results { padding: 30px; text-align: center; color: var(--muted); background: var(--cream); border-radius: var(--radius); }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.step { position: relative; background: var(--cream); border-radius: var(--radius); padding: 24px 21px; border: 1px solid var(--line); }
.step-num {
  width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--teal-dark);
  display: grid; place-items: center; font-weight: 800; box-shadow: var(--shadow-sm); margin-bottom: 13px;
}
.step p { font-size: .87rem; color: var(--muted); margin: 0; }

/* ===== FAQ ===== */
.faq { display: grid; gap: 10px; margin-top: 22px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 0 18px; }
.faq details[open] { border-color: #b9ded7; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--teal); font-size: 1.2rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { font-size: .9rem; color: var(--muted); margin: 0 0 16px; }

/* ===== Newsletter ===== */
.cta-panel {
  background:
    radial-gradient(circle at 85% 18%, rgba(240, 162, 74, .22) 0, transparent 40%),
    linear-gradient(135deg, var(--teal-deep) 0%, #0b5f58 100%);
  color: #fff; border-radius: 28px; padding: 40px; text-align: center; position: relative; overflow: hidden;
  scroll-margin-top: 100px;
}
.cta-panel h2 { color: #fff; }
.cta-panel p { color: #c7e4de; max-width: 560px; margin-inline: auto; }
.cta-form { display: flex; gap: 10px; max-width: 520px; margin: 22px auto 10px; }
.cta-form input {
  flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 13px 20px; outline: 0;
}
.form-msg { font-size: .8rem; color: #c9f0e6; margin: 0; min-height: 1.2em; }

/* ===== Sidebar ===== */
.sidebar { position: sticky; top: 100px; display: grid; gap: 18px; }
.widget {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 21px; box-shadow: var(--shadow-sm); scroll-margin-top: 100px;
}
.widget-title { font-size: 1rem; margin: 0 0 14px; letter-spacing: -.02em; }
.widget-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.widget-head .widget-title { margin: 0; }
.status {
  font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
  padding: 4px 8px; border-radius: 999px; background: #f1f3f5; color: var(--muted);
}
.status.is-live { background: #e4f5ee; color: var(--teal-dark); }
.status.is-empty { background: #fff3e6; color: #a66a1f; }
.status.is-offline { background: #fdecec; color: #b34a4a; }

.recent-list, .sape-links { list-style: none; margin: 0; padding: 0; }
.recent-list li { display: flex; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.recent-list li > a { flex: 0 0 auto; }
.recent-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.recent-list img { width: 62px; height: 52px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.recent-list strong { display: block; font-size: .83rem; line-height: 1.35; }
.recent-list strong a:hover { color: var(--teal-dark); }
.recent-list small { color: var(--muted); font-size: .7rem; }

.sape-links li { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.sape-links li:last-child { border-bottom: 0; padding-bottom: 0; }
.sape-links a { font-size: .84rem; font-weight: 700; }
.sape-links a:hover { color: var(--teal-dark); }
.sape-links small { display: block; font-size: .64rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.widget-note { font-size: .72rem; color: var(--muted); margin: 11px 0 0; }
.magenet-ad { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.magenet-ad:last-child { border-bottom: 0; }
.magenet-ad img { max-width: 100%; height: auto; border-radius: 8px; }
.sape-preview { display: grid; gap: 8px; }
.sape-preview a {
  display: block; padding: 10px 12px; border-radius: 12px; background: var(--cream);
  border: 1px dashed #d8cfbf; font-size: .82rem; font-weight: 700; line-height: 1.4;
}
.sape-preview a small { display: block; font-size: .62rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.sape-preview a:hover { border-color: var(--teal); color: var(--teal-dark); }
.seed-badge { display: block; text-align: center; }
.seed-badge img { width: 100%; max-width: 240px; height: auto; border-radius: 8px; margin-inline: auto; }
.sidebar-cta { background: var(--amber-light); border-color: #f0dcbf; text-align: center; }
.sidebar-cta p { font-size: .84rem; color: var(--ink-soft); }
.sidebar-cta .btn { width: 100%; }
.widget-tagline { font-size: .78rem; color: var(--muted); margin: -6px 0 14px; }

/* ===== Article page ===== */
.reading-bar {
  position: fixed; top: 0; left: 0; z-index: 200; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  transition: width .1s linear;
}
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(143, 214, 201, .42) 0, transparent 32%),
    linear-gradient(150deg, #f2faf7 0%, var(--cream) 65%, #fdf1df 100%);
  padding: 46px 0 40px; border-bottom: 1px solid var(--line);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 3.9vw, 3.05rem); max-width: 880px; margin-bottom: 14px; }
.page-hero .post-meta { margin-bottom: 0; font-size: .8rem; }
.breadcrumb { font-size: .78rem; color: var(--muted); margin-bottom: 14px; display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.breadcrumb a:hover { color: var(--teal-dark); }
.breadcrumb span[aria-hidden] { color: #b7c2c8; }
.page-hero .pill { margin-bottom: 12px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 46px; align-items: start; padding: 38px 0 76px; }
.article-main { min-width: 0; }
.post-hero-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-sm); margin-bottom: 30px; }
.article-summary {
  background: var(--teal-mist); border: 1px solid #d5ebe5; border-left: 4px solid var(--teal);
  border-radius: 0 16px 16px 0; padding: 18px 22px; margin: 0 0 28px;
}
.article-summary strong { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 5px; }
.article-summary p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.post-body { max-width: 72ch; }
.post-body p { color: var(--ink-soft); font-size: 1.01rem; line-height: 1.8; margin-bottom: 1.15rem; }
.post-body h2 { font-size: 1.5rem; margin: 34px 0 12px; letter-spacing: -.02em; }
.post-body h3 { font-size: 1.12rem; margin: 26px 0 8px; }
.post-body ul, .post-body ol { margin: 0 0 1.25rem; padding-left: 1.25rem; color: var(--ink-soft); }
.post-body li { margin-bottom: .5rem; line-height: 1.7; }
.post-body strong { color: var(--ink); }
.post-body a { color: var(--teal-dark); text-decoration: underline; text-decoration-color: rgba(12,124,114,.3); text-underline-offset: 2px; }
.post-body a:hover { text-decoration-color: var(--teal); }
.takeaway {
  background: var(--amber-light); border-left: 4px solid var(--amber);
  border-radius: 0 16px 16px 0; padding: 17px 21px; margin: 26px 0;
}
.takeaway strong { color: #8a5210; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; display: block; margin-bottom: 4px; }
.takeaway p { color: #5c4525; margin: 0; font-size: .95rem; }
.pull-quote {
  margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--teal);
  font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 1.3rem;
  line-height: 1.45; color: var(--ink);
}
.post-nav { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a { font-size: .84rem; font-weight: 800; color: var(--teal-dark); max-width: 46%; }
.post-nav a small { display: block; font-size: .66rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 2px; }
.post-nav a:hover { color: var(--teal); }
.back-link { font-size: .84rem; font-weight: 800; color: var(--teal-dark); display: inline-flex; align-items: center; gap: 7px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #d6e1e6; padding: 58px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 38px; padding-bottom: 38px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: #93a7b2; }
.footer-brand p { font-size: .87rem; color: #93a7b2; max-width: 285px; }
.footer-col h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 13px; }
.footer-col a { display: block; font-size: .86rem; color: #93a7b2; padding: 4px 0; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 19px; font-size: .78rem; color: #93a7b2; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .main-nav { gap: 18px; }
  .header-cta { padding-inline: 18px; }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy h1 { max-width: 760px; }
  .hero-visual img { aspect-ratio: 16 / 10; }
  .layout, .article-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 30px; }
  .service-grid, .steps { grid-template-columns: 1fr 1fr; }
  .floating-card.one { left: 10px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 78px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px;
    box-shadow: var(--shadow-md);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header-cta { display: none; }
  .layout, .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .hero { padding: 48px 0 56px; }
  .search-fields { flex-direction: column; }
  .search-submit { width: 100%; padding-block: 13px; }
  .search-tabs { overflow-x: auto; }
  .search-tab { white-space: nowrap; }
  .hero-visual img { aspect-ratio: 16 / 10; border-radius: 24px; }
  .floating-card { font-size: .7rem; padding: 9px 12px; }
  .article-grid, .service-grid, .steps { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .cta-panel { padding: 30px 20px; }
  .cta-form { flex-direction: column; }
  .post-nav a { max-width: 100%; }
}

@media (max-width: 420px) {
  .stats-inner { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
  .stat:first-child { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
