/* ABO — Advanced Business Operations
   Rover-inspired: warm, rounded, friendly, editorial. */

:root {
  --ink: #12263a;
  --ink-soft: #354b60;
  --muted: #586878;
  --coral: #c9472a;
  --coral-dark: #b84325;
  --coral-light: #fff1ea;
  --teal: #0f766e;
  --teal-dark: #0a5c57;
  --teal-light: #e7f5f1;
  --gold: #b47a34;
  --gold-light: #fbf1e2;
  --cream: #fdf8f2;
  --sand: #f8ecdf;
  --white: #fff;
  --line: #e9dfd4;
  --shadow-sm: 0 7px 22px rgba(18, 38, 58, .07);
  --shadow-md: 0 20px 48px rgba(18, 38, 58, .11);
  --shadow-lg: 0 34px 70px rgba(18, 38, 58, .18);
  --radius: 24px;
  --max: 1230px;
}

* { 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%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.03em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 5.1vw, 4.35rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.16rem; 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(--coral); outline-offset: 3px; border-radius: 6px; }

/* ===== Buttons ===== */
.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: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 22px rgba(242, 106, 75, .28); }
.btn-primary:hover { background: var(--coral-dark); box-shadow: 0 14px 28px rgba(242, 106, 75, .35); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--coral); color: var(--coral-dark); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--coral-dark); font-weight: 800; font-size: .92rem;
}
.text-link svg { transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(4px); }

/* ===== Top note ===== */
.topbar {
  background: var(--ink);
  color: #d7e2ea;
  font-size: .78rem;
  letter-spacing: .01em;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 38px;
}
.topbar strong { color: #fff; }
.topbar a { color: #ffb59f; font-weight: 800; }
.topbar a:hover { color: #fff; }
.topbar .topbar-note { display: inline-flex; align-items: center; gap: 8px; }
.topbar .topbar-dot { width: 7px; height: 7px; border-radius: 50%; background: #55d6c2; }

/* ===== 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: 10px; flex: 0 0 auto; }
.brand-mark { width: 44px; height: 44px; }
.brand-text { font-size: 1.48rem; font-weight: 800; letter-spacing: -.055em; }
.brand-text strong { color: var(--ink); }
.brand-text span { color: var(--muted); font-weight: 600; font-size: .82rem; letter-spacing: 0; }
.brand:hover .brand-text strong { color: var(--coral-dark); }

.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(--coral-dark); border-color: var(--coral); }

.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 8% 14%, #ffe9dc 0, transparent 37%),
    radial-gradient(circle at 92% 80%, #e6f5f0 0, transparent 33%),
    linear-gradient(135deg, var(--cream) 0%, var(--sand) 100%);
  padding: 68px 0 78px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(18, 38, 58, .10) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .22;
  mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}
.hero::after {
  content: ""; position: absolute; right: -100px; top: -130px;
  width: 370px; height: 370px; border-radius: 50%;
  background: rgba(242, 106, 75, .10);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr .96fr; gap: 54px; align-items: center; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy h1 em { font-family: "Fraunces", Georgia, serif; font-weight: 600; color: var(--coral-dark); 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: .14em; font-size: .71rem; font-weight: 800;
  color: var(--coral-dark); margin-bottom: 14px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.kicker { color: var(--teal-dark); }

.hero-search {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 7px 7px 20px; margin: 26px 0 20px; max-width: 600px;
  box-shadow: var(--shadow-md);
}
.hero-search > svg { width: 20px; height: 20px; color: var(--muted); flex: 0 0 auto; }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.hero-search input::placeholder { color: #98a6b3; }
.hero-search .btn { padding: 11px 20px; }

.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: .79rem; font-weight: 700; color: var(--ink-soft);
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.chip:hover { border-color: var(--teal); color: var(--teal-dark); background: #fff; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.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(--coral); }
.avatars span:nth-child(2) { background: var(--teal); }
.avatars span:nth-child(3) { background: #355a8a; }
.hero-proof p { margin: 0; font-size: .84rem; color: var(--muted); }
.hero-proof strong { color: var(--ink); }

.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid rgba(15, 118, 110, .28); border-radius: 38px;
  transform: rotate(2deg); z-index: -1;
}
.hero-visual img {
  width: 100%; aspect-ratio: 16 / 11; object-fit: cover;
  border-radius: 32px; box-shadow: var(--shadow-lg);
}
.floating-card {
  position: absolute; background: #fff; border-radius: 15px; padding: 12px 16px;
  font-size: .8rem; font-weight: 700; box-shadow: var(--shadow-md); color: var(--ink-soft);
  display: flex; align-items: center; gap: 8px;
}
.floating-card strong { color: var(--coral-dark); }
.floating-card .mini-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: 0 0 auto; }
.floating-card.one { top: 8%; left: -32px; }
.floating-card.two { bottom: 7%; right: -18px; }

/* ===== Stats ===== */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); padding: 28px 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.6rem; font-weight: 800; letter-spacing: -.04em; color: var(--ink); }
.stat span { font-size: .81rem; color: var(--muted); }

/* ===== Layout ===== */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 332px; gap: 46px; align-items: start; padding: 64px 0 84px; }
.main-column { min-width: 0; }
.section { margin-bottom: 76px; scroll-margin-top: 105px; }
.section-lead { color: var(--ink-soft); font-size: 1.02rem; max-width: 730px; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; margin-top: 30px; }
.about-copy p { color: var(--ink-soft); }
.signature { font-family: "Fraunces", Georgia, serif; font-style: italic; color: var(--coral-dark) !important; font-size: 1.08rem; }
.value-stack { display: grid; gap: 12px; }
.value-item {
  display: flex; gap: 16px; align-items: flex-start; background: var(--cream);
  border: 1px solid var(--line); border-radius: 18px; padding: 18px;
}
.value-item h3 { margin: 0 0 4px; font-size: 1.02rem; }
.value-item p { margin: 0; font-size: .87rem; color: var(--muted); }
.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(--coral); }
.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: 28px; }
.service-card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--coral), #ffab8c);
  opacity: 0; transition: opacity .2s ease;
}
.service-card:nth-child(2)::before { background: linear-gradient(90deg, var(--teal), #61ccb8); }
.service-card:nth-child(3)::before { background: linear-gradient(90deg, var(--ink), #50708c); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center;
  background: var(--coral-light); color: var(--coral-dark); margin-bottom: 18px;
}
.service-card:nth-child(2) .service-icon { background: var(--teal-light); color: var(--teal-dark); }
.service-card:nth-child(3) .service-icon { background: #edf1f5; color: var(--ink); }
.service-icon svg { width: 24px; height: 24px; }
.service-card p { font-size: .89rem; color: var(--muted); }
.price { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: var(--teal-dark); }

/* ===== Filters & articles ===== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 10px; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  border-radius: 999px; padding: 8px 15px; font-size: .81rem; font-weight: 700; cursor: pointer;
  transition: all .18s ease;
}
.filter-btn:hover { border-color: var(--coral); color: var(--coral-dark); }
.filter-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.results-note { font-size: .79rem; color: var(--muted); margin: 0 0 18px; }

.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.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: 20px; }
.article-card-body h3 { margin: 12px 0 8px; font-size: 1.07rem; }
.article-card-body h3 a:hover { color: var(--coral-dark); }
.article-card-body > p { font-size: .87rem; color: var(--muted); margin-bottom: 14px; }

.pill {
  display: inline-block; border-radius: 999px; padding: 5px 11px;
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  background: var(--coral-light); color: var(--coral-dark);
}
.pill.operations { background: #eaf2fb; color: #2b5f9e; }
.pill.automation { background: var(--teal-light); color: var(--teal-dark); }
.pill.supply { background: var(--gold-light); color: #8b5b1d; }
.pill.analytics { background: #eef0fb; color: #4d55a5; }
.pill.playbooks { background: #fdebf1; color: #a23d66; }
.pill.procurement { background: #f2eee6; color: #75582e; }
.pill.workflow { background: #e9f5f2; color: #176f64; }
.pill.finance { background: #eaf3e7; color: #427331; }
.pill.customer { background: #fff0e4; color: #8f4f18; }
.pill.improvement { background: #f0ecf9; color: #624b9b; }

.post-meta { display: flex; align-items: center; gap: 10px; font-size: .77rem; color: var(--muted); margin-bottom: 14px; }
.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); }

/* ===== Field note ===== */
.field-note {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--ink) 0%, #1b4055 100%);
  color: #fff; border-radius: var(--radius); padding: 34px 38px; margin: 0 0 76px;
}
.field-note::after {
  content: "“"; position: absolute; right: 26px; top: -24px;
  font-family: "Fraunces", Georgia, serif; font-size: 9rem; color: rgba(255, 255, 255, .09);
}
.field-note blockquote { margin: 0; position: relative; z-index: 1; }
.field-note p { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.45; color: #fff; margin: 0 0 14px; max-width: 760px; }
.field-note cite { font-style: normal; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: #ffb59f; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.step { position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step-num {
  width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--coral-dark);
  display: grid; place-items: center; font-weight: 800; box-shadow: var(--shadow-sm); margin-bottom: 14px;
}
.step:nth-child(2) .step-num { color: var(--teal-dark); }
.step p { font-size: .87rem; color: var(--muted); margin: 0; }

/* ===== FAQ ===== */
.faq { display: grid; gap: 10px; margin-top: 24px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 0 18px; }
.faq details[open] { border-color: #f5c9b9; 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(--coral-dark); 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: linear-gradient(135deg, #7f2a13 0%, #a53a1f 50%, var(--coral) 100%);
  color: #fff; border-radius: 28px; padding: 42px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-panel::after {
  content: ""; position: absolute; width: 250px; height: 250px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .24); right: -70px; bottom: -100px;
}
.cta-panel h2 { color: #fff; position: relative; z-index: 1; }
.cta-panel p { color: #fff; max-width: 570px; margin-inline: auto; position: relative; z-index: 1; }
.cta-form { display: flex; gap: 10px; max-width: 520px; margin: 24px auto 10px; position: relative; z-index: 1; }
.cta-form input {
  flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 13px 20px; outline: 0; color: var(--ink);
}
.cta-panel .btn { background: var(--ink); box-shadow: 0 10px 22px rgba(18, 38, 58, .24); }
.cta-panel .btn:hover { background: #0a1928; }
.form-msg { font-size: .82rem; color: #fff; margin: 0; position: relative; z-index: 1; }

/* ===== Sidebar ===== */
.sidebar { position: sticky; top: 102px; display: grid; gap: 18px; }
.widget {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.widget-title { font-size: 1rem; margin: 0 0 16px; letter-spacing: -.02em; }
.widget-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.widget-head .widget-title { margin: 0; }
.status {
  font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
  padding: 4px 9px; border-radius: 999px; background: #f1f3f5; color: var(--muted);
  white-space: nowrap;
}
.status.is-live { background: #e4f5ee; color: var(--teal); }
.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: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.recent-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.recent-list img {
  width: 64px; height: 52px; object-fit: cover; border-radius: 10px; flex: 0 0 auto;
}
.recent-list strong { display: block; font-size: .84rem; line-height: 1.35; }
.recent-list strong a:hover { color: var(--coral-dark); }
.recent-list small { color: var(--muted); font-size: .71rem; }

.sape-links li { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.sape-links li:last-child { border-bottom: 0; }
.sape-links a { font-size: .85rem; font-weight: 700; }
.sape-links a:hover { color: var(--coral-dark); }
.sape-links small { display: block; font-size: .66rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.widget-note { font-size: .73rem; color: var(--muted); margin: 12px 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; }

.ad-placeholder {
  border: 1px dashed #d8cabf; border-radius: 14px; background: var(--cream);
  padding: 18px 14px; text-align: center; color: var(--muted); font-size: .76rem; line-height: 1.5;
}
.ad-placeholder strong { display: block; color: var(--ink-soft); font-size: .82rem; margin-bottom: 3px; }
.ad-placeholder .ad-tag {
  display: inline-block; margin-top: 9px; border-radius: 999px; padding: 3px 9px;
  background: #fff; border: 1px solid var(--line); font-size: .6rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}

.seed-badge { display: block; text-align: center; }
.seed-badge img { width: 150px; max-width: 100%; height: auto; border-radius: 8px; margin-inline: auto; }
.sidebar-cta { background: var(--teal-light); border-color: #cdebE4; text-align: center; }
.sidebar-cta p { font-size: .85rem; color: var(--ink-soft); }
.sidebar-cta .widget-title { color: var(--teal-dark); }
.sidebar-cta .btn { background: var(--teal); box-shadow: 0 10px 22px rgba(15, 118, 110, .22); }
.sidebar-cta .btn:hover { background: var(--teal-dark); }

/* ===== Article page ===== */
.page-hero {
  background:
    radial-gradient(circle at 12% 20%, #ffe9dc 0, transparent 35%),
    linear-gradient(135deg, var(--cream), var(--sand));
  padding: 56px 0 50px; border-bottom: 1px solid var(--line); text-align: center;
}
.page-hero h1 { font-size: clamp(2.05rem, 4vw, 3.3rem); }
.page-hero p { color: var(--ink-soft); max-width: 650px; margin-inline: auto; }
.breadcrumb { font-size: .78rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--coral-dark); }

.full-post {
  scroll-margin-top: 105px; padding: 34px 0 40px;
  border-bottom: 1px solid var(--line); margin-bottom: 34px;
}
.full-post:last-child { border-bottom: 0; margin-bottom: 0; }
.post-head h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
.post-body img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; margin: 20px 0 26px; }
.post-body p { color: var(--ink-soft); }
.post-body h3 { margin-top: 28px; font-size: 1.09rem; }
.takeaway {
  background: var(--cream); border-left: 4px solid var(--teal);
  border-radius: 0 14px 14px 0; padding: 16px 20px; margin: 22px 0;
}
.takeaway strong { color: var(--teal-dark); }
.post-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 24px; }
.back-link { font-size: .85rem; font-weight: 800; color: var(--coral-dark); }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #d9e2ec; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 40px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: #9fb0c2; }
.footer-brand p { font-size: .87rem; color: #9fb0c2; max-width: 290px; }
.footer-col h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 14px; }
.footer-col a { display: block; font-size: .87rem; color: #9fb0c2; padding: 4px 0; }
.footer-col a:hover { color: var(--coral); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: .79rem; color: #9fb0c2; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy h1 { max-width: 760px; }
  .hero-visual img { aspect-ratio: 16 / 8; }
  .layout { grid-template-columns: minmax(0, 1fr) 300px; 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 { 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; }
  .field-note { margin-bottom: 60px; }
}

@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .topbar-inner { min-height: 34px; font-size: .72rem; }
  .topbar .topbar-note { display: none; }
  .hero { padding: 48px 0 58px; }
  .hero-search { flex-wrap: wrap; border-radius: 20px; padding: 14px; }
  .hero-search > svg { display: none; }
  .hero-search input { width: 100%; flex-basis: 100%; padding: 4px 6px 10px; }
  .hero-search .btn { width: 100%; }
  .hero-visual img { aspect-ratio: 4 / 3; border-radius: 24px; }
  .floating-card { font-size: .71rem; padding: 9px 12px; }
  .floating-card.two { right: 8px; }
  .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: 32px 20px; }
  .cta-form { flex-direction: column; }
  .field-note { padding: 28px 24px; }
}

@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; }
}
