/* =====================================================================
   appmint.me — inner pages (case studies, tools, blog)
   Winter palette · Bebas Neue + PT Sans + Satisfy
   ===================================================================== */

.sp-wrap {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.sp-section { padding: clamp(52px, 7vw, 96px) 0; }
.sp-section--tight { padding-top: 0; }

.sp-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-family: "PT Sans", system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #4f46e5;
}

.sp-h2 {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #14150f;
}

.sp-h2 em {
  font-family: "Satisfy", cursive;
  font-size: 0.78em;
  font-style: normal;
  line-height: 1;
  text-transform: none;
  color: #4f46e5;
}

.sp-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 46px); }
.sp-head--center { margin-inline: auto; text-align: center; }
.sp-head p {
  margin: 14px 0 0;
  max-width: 64ch;
  font-size: 16.5px;
  line-height: 1.65;
  color: #4a4b42;
}
.sp-head--center p { margin-inline: auto; }

/* ---------------- page hero ---------------- */

.sp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 clamp(44px, 6vw, 74px);
  background:
    radial-gradient(720px 380px at 16% 0%, rgba(99,102,241, 0.32), transparent 62%),
    radial-gradient(640px 360px at 92% 12%, rgba(14,165,166, 0.10), transparent 60%),
    #f6f4ee;
  border-bottom: 1.5px solid #efe1cf;
}

.sp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 26%, rgba(255, 255, 255, 0.95) 1.2px, transparent 1.7px),
    radial-gradient(circle at 68% 18%, rgba(255, 255, 255, 0.9) 1.6px, transparent 2px),
    radial-gradient(circle at 44% 72%, rgba(255, 255, 255, 0.8) 1px, transparent 1.5px),
    radial-gradient(circle at 86% 66%, rgba(255, 255, 255, 0.9) 1.4px, transparent 1.9px);
  background-size: 230px 230px, 310px 310px, 270px 270px, 350px 350px;
  opacity: 0.7;
}

.sp-hero > .sp-wrap { position: relative; z-index: 1; }

.sp-hero h1 {
  max-width: 20ch;
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(42px, 6.6vw, 84px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #14150f;
}

.sp-hero h1 em {
  font-family: "Satisfy", cursive;
  font-size: 0.68em;
  font-style: normal;
  line-height: 1;
  text-transform: none;
  color: #4f46e5;
}

.sp-hero-lede {
  max-width: 60ch;
  margin: 20px 0 0;
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.65;
  color: #4a4b42;
}

.sp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.sp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.sp-chips li {
  padding: 7px 12px;
  border: 1.5px solid rgba(79,70,229, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #34121a;
  font-size: 12px;
  font-weight: 700;
}

/* ---------------- buttons ---------------- */

.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 2px solid #14150f;
  border-radius: 999px;
  font-family: "PT Sans", system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.sp-btn--ice {
  background: #2fd9a7;
  color: #14150f;
  box-shadow: 4px 4px 0 #14150f;
}

.sp-btn--ice:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #14150f;
}

.sp-btn--ghost {
  background: transparent;
  color: #14150f;
  box-shadow: 4px 4px 0 rgba(20,21,15, 0.14);
}

.sp-btn--ghost:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(20,21,15, 0.18);
}

.sp-btn--polar {
  background: #14150f;
  color: #f6f4ee;
  box-shadow: 4px 4px 0 #6366f1;
}

.sp-btn--polar:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #6366f1;
}

.sp-btn--sm { padding: 9px 15px; font-size: 12.5px; }

.sp-btn:focus-visible { outline: 3px solid #a67c35; outline-offset: 3px; }

/* ---------------- card grids ---------------- */

.sp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sp-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.sp-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border: 1.5px solid #efe1cf;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 40px -34px rgba(20,21,15, 0.5);
}

.sp-card--polar {
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(47,217,167, 0.22), transparent 58%),
    #14150f;
  border-color: #14150f;
  color: #f6f4ee;
}

.sp-card--polar p { color: rgba(246, 234, 214, 0.74); }
.sp-card--polar .sp-card-num { color: #6366f1; }

.sp-card-num {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: #4f46e5;
}

.sp-card h3 {
  margin: 10px 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.sp-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #4a4b42;
}

/* ---------------- case studies ---------------- */

.cs-list { display: grid; gap: 22px; }

.cs-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(26px, 3.6vw, 42px);
  border: 1.5px solid #efe1cf;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 22px 50px -44px rgba(20,21,15, 0.55);
}

.cs-card:nth-child(even) { background: #fdfcf9; }

.cs-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-tag {
  align-self: flex-start;
  padding: 5px 11px;
  border: 1.5px solid rgba(79,70,229, 0.28);
  border-radius: 999px;
  color: #4f46e5;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cs-card h2 {
  margin: 6px 0 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #14150f;
}

.cs-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.cs-stack li {
  padding: 4px 9px;
  border-radius: 6px;
  background: #f6f4ee;
  color: #4a4b42;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
}

.cs-body p { margin: 0 0 12px; font-size: 15px; line-height: 1.65; color: #4a4b42; }
.cs-body p:last-child { margin-bottom: 0; }
.cs-body strong { color: #14150f; }

.cs-findings {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.cs-findings li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.55;
  color: #4a4b42;
}

.cs-findings li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fd9a7;
  box-shadow: 0 0 0 3px rgba(47,217,167, 0.16);
}

.cs-note {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-left: 3px solid #2fd9a7;
  border-radius: 0 10px 10px 0;
  background: #f6f4ee;
  font-size: 13px;
  line-height: 1.6;
  color: #4a4b42;
}

/* ---------------- tools ---------------- */

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1.5px solid #efe1cf;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 46px -42px rgba(20,21,15, 0.6);
}

.tool-card--wide { grid-column: 1 / -1; }

.tool-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.tool-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #14150f;
}

.tool-badge {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f6f4ee;
  color: #4f46e5;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tool-desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #4a4b42;
}

.tool-label {
  display: block;
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7b6f;
}

.tool-input,
.tool-textarea {
  width: 100%;
  border: 1.5px solid #c2ab9c;
  border-radius: 10px;
  background: #fdfcf9;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.55;
  color: #14150f;
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tool-textarea { min-height: 150px; }

.tool-input:focus,
.tool-textarea:focus {
  outline: none;
  border-color: #a67c35;
  box-shadow: 0 0 0 4px rgba(14,165,166, 0.14);
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.tool-note {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: #7a7b6f;
}

.tool-output {
  margin-top: 14px;
  border-top: 1.5px dashed #efe1cf;
  padding-top: 14px;
  font-size: 13px;
  line-height: 1.55;
  color: #4a4b42;
}

.tool-output:empty { display: none; }

.tool-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tool-pill--ok { background: #6366f1; color: #34121a; }
.tool-pill--warn { background: #fef3c7; color: #92400e; }
.tool-pill--bad { background: #fee2e2; color: #991b1b; }
.tool-pill--info { background: #f6f4ee; color: #34121a; }

.tool-findings {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 280px;
  overflow: auto;
}

.tool-findings li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fdfcf9;
  font-size: 12.5px;
  line-height: 1.5;
}

.tool-findings .line-no {
  flex: 0 0 auto;
  min-width: 34px;
  color: #7a7b6f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.tool-findings code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  color: #991b1b;
  overflow-wrap: anywhere;
}

.tool-empty {
  padding: 12px 14px;
  border-radius: 10px;
  background: #6366f1;
  color: #34121a;
  font-size: 13px;
  font-weight: 700;
}

.tool-kv {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 6px 12px;
  margin: 0;
  font-size: 12.5px;
}

.tool-kv dt { color: #7a7b6f; font-weight: 700; }
.tool-kv dd {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: #14150f;
  overflow-wrap: anywhere;
}

.tool-kv pre {
  margin: 6px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #14150f;
  color: #6366f1;
  font-size: 11.5px;
  line-height: 1.5;
  overflow: auto;
}

/* ---------------- blog ---------------- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1.5px solid #efe1cf;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 46px -42px rgba(20,21,15, 0.6);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: #6366f1;
  box-shadow: 0 26px 54px -38px rgba(20,21,15, 0.55);
}

.blog-thumb {
  position: relative;
  height: 150px;
  background:
    radial-gradient(120% 140% at 16% 0%, rgba(99,102,241, 0.58), transparent 60%),
    radial-gradient(100% 120% at 94% 100%, rgba(14,165,166, 0.55), transparent 60%),
    #14150f;
}

.blog-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 22% 30%, rgba(255, 255, 255, 0.75) 1.3px, transparent 1.8px),
    radial-gradient(circle at 68% 60%, rgba(255, 255, 255, 0.6) 1px, transparent 1.5px),
    radial-gradient(circle at 84% 26%, rgba(255, 255, 255, 0.7) 1.5px, transparent 2px);
  background-size: 120px 120px, 150px 150px, 180px 180px;
  opacity: 0.7;
}

.blog-thumb span {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 1;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 25px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f6f4ee;
}

.blog-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 22px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a7b6f;
}

.blog-tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f6f4ee;
  color: #4f46e5;
}

.blog-card h2 {
  margin: 12px 0 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: #14150f;
}

.blog-card p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #4a4b42;
}

.blog-more {
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: #4f46e5;
  text-decoration: none;
}

.blog-card:hover .blog-more { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- article ---------------- */

.article-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 80px) 0 clamp(30px, 4vw, 48px);
  background:
    radial-gradient(680px 360px at 18% 0%, rgba(99,102,241, 0.30), transparent 62%),
    radial-gradient(520px 300px at 92% 10%, rgba(14,165,166, 0.09), transparent 60%),
    #f6f4ee;
  border-bottom: 1.5px solid #efe1cf;
}

.article-hero .sp-wrap { position: relative; z-index: 1; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a7b6f;
}

.article-meta .blog-tag { color: #4f46e5; }

.article-hero h1 {
  max-width: 18ch;
  margin: 14px 0 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(40px, 6vw, 74px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #14150f;
}

.article-hero h1 em {
  font-family: "Satisfy", cursive;
  font-size: 0.68em;
  font-style: normal;
  text-transform: none;
  color: #4f46e5;
}

.article-hero .article-lede {
  max-width: 66ch;
  margin: 18px 0 0;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
  color: #4a4b42;
}

.article-body {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
}

.article-body h2 {
  margin: 38px 0 12px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #14150f;
}

.article-body h2:first-child { margin-top: 0; }

.article-body h3 {
  margin: 26px 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #14150f;
}

.article-body p,
.article-body li {
  font-size: 16px;
  line-height: 1.75;
  color: #4a4b42;
}

.article-body p { margin: 0 0 16px; }

.article-body ul,
.article-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
  list-style: disc;
}

.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: #14150f; }

.article-body a {
  color: #4f46e5;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body blockquote {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid #2fd9a7;
  border-radius: 0 12px 12px 0;
  background: #f6f4ee;
  font-size: 17px;
  line-height: 1.65;
  color: #34121a;
}

.article-body blockquote p { margin: 0; }

.article-body code {
  padding: 2px 5px;
  border-radius: 5px;
  background: #f6f4ee;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: #14150f;
}

.article-body pre {
  margin: 0 0 20px;
  padding: 18px;
  border-radius: 12px;
  background: #14150f;
  color: #6366f1;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
}

.article-body pre code { padding: 0; background: none; color: inherit; font-size: inherit; }

.article-callout {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1.5px solid #6366f1;
  border-radius: 14px;
  background: #f6f4ee;
}

.article-callout strong { display: block; margin-bottom: 4px; color: #34121a; }
.article-callout p { margin: 0; font-size: 14.5px; }

.article-foot {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1.5px solid #efe1cf;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.article-foot a { color: #4f46e5; font-weight: 700; text-decoration: none; }
.article-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

.article-cta {
  margin-top: 34px;
  padding: 24px;
  border-radius: 16px;
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(47,217,167, 0.24), transparent 58%),
    #14150f;
  color: #f6f4ee;
}

.article-cta h2 { margin: 0 0 8px; color: #f6f4ee; font-size: 30px; }
.article-cta p { margin: 0 0 16px; color: rgba(246, 234, 214, 0.75); font-size: 14.5px; }

/* ---------------- shared final CTA ---------------- */

.sp-cta {
  padding: 0 0 clamp(56px, 7vw, 96px);
}

.sp-cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4.6vw, 56px);
  border: 2px solid #14150f;
  border-radius: 24px;
  background:
    radial-gradient(100% 130% at 78% 120%, rgba(47,217,167, 0.26), transparent 60%),
    radial-gradient(80% 100% at 10% 0%, rgba(14,165,166, 0.30), transparent 58%),
    linear-gradient(150deg, #14150f, #1d1e18 62%, #0e0e0a);
  color: #f6f4ee;
}

.sp-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.6) 1.2px, transparent 1.7px),
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.5) 1.5px, transparent 2px),
    radial-gradient(circle at 86% 70%, rgba(255, 255, 255, 0.45) 1px, transparent 1.5px);
  background-size: 180px 180px, 240px 240px, 210px 210px;
  opacity: 0.55;
}

.sp-cta-card > * { position: relative; z-index: 1; }

.sp-cta-card h2 {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

.sp-cta-card h2 em {
  font-family: "Satisfy", cursive;
  font-size: 0.78em;
  font-style: normal;
  text-transform: none;
  color: #6366f1;
}

.sp-cta-card p {
  max-width: 58ch;
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(246, 234, 214, 0.74);
}

.sp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.sp-cta-actions .sp-btn--ghost {
  color: #f6f4ee;
  border-color: rgba(246, 234, 214, 0.4);
  box-shadow: none;
}

.sp-cta-actions .sp-btn--ghost:hover {
  background: #f6f4ee;
  color: #14150f;
}

/* ---------------- responsive ---------------- */

@media (max-width: 980px) {
  .sp-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-card { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .sp-wrap { width: calc(100% - 28px); }
  .sp-grid-3,
  .sp-grid-2,
  .blog-grid { grid-template-columns: 1fr; }
  .sp-hero-actions .sp-btn,
  .sp-cta-actions .sp-btn { width: 100%; }
  .article-body { width: calc(100% - 32px); }
  .tool-kv { grid-template-columns: 1fr; }
  .cs-card { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card,
  .sp-btn { transition: none; }
  .blog-card:hover { transform: none; }
}
