:root {
  --blog-bg: #07070a;
  --blog-surface: #101015;
  --blog-surface-2: #16161d;
  --blog-text: #f7f5fb;
  --blog-muted: #a5a1ae;
  --blog-border: rgba(255,255,255,.11);
  --blog-border-strong: rgba(255,255,255,.18);
  --blog-purple: #7040b8;
  --blog-magenta: #91466f;
  --blog-orange: #b94f27;
  --blog-gradient: linear-gradient(135deg, #7040b8 0%, #91466f 52%, #b94f27 100%);
  --blog-gradient-soft: linear-gradient(135deg, rgba(112,64,184,.18), rgba(185,79,39,.10));
  --blog-shadow: 0 26px 70px rgba(0,0,0,.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--blog-text);
  background:
    radial-gradient(circle at 8% 0%, rgba(112,64,184,.13), transparent 28rem),
    radial-gradient(circle at 96% 14%, rgba(185,79,39,.07), transparent 25rem),
    var(--blog-bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: #111;
}
.skip-link:focus { transform: none; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.blog-shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c4a5ea;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--blog-gradient); }

.blog-hero {
  padding: 154px 0 74px;
  border-bottom: 1px solid var(--blog-border);
  text-align: center;
}
.blog-hero h1 {
  max-width: 1000px;
  margin: 18px auto 12px;
  font-size: clamp(40px, 7vw, 74px);
  line-height: .48;
  letter-spacing: -.055em;
}
.blog-hero p { max-width: 700px; margin: 0 auto; color: var(--blog-muted); font-size: clamp(16px, 2vw, 20px); }
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
  padding: 64px 0 86px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.section-heading h2 { margin: 7px 0 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.08; letter-spacing: -.04em; }
.section-heading > p { margin: 0; color: var(--blog-muted); font-weight: 600; }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.blog-card {
  overflow: hidden;
  border: 1px solid var(--blog-border);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.012)), var(--blog-surface);
  box-shadow: 0 16px 42px rgba(0,0,0,.18);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.blog-card:hover { transform: translateY(-5px); border-color: rgba(135,71,145,.72); box-shadow: var(--blog-shadow); }
.blog-card__image { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: #14141a; }
.blog-card__image::after { content: ""; position: absolute; inset: auto 0 0; height: 44%; background: linear-gradient(transparent, rgba(7,7,10,.66)); pointer-events: none; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover .blog-card__image img { transform: scale(1.035); }
.featured-label {
  position: absolute;
  z-index: 1;
  top: 16px;
  left: 16px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(11,11,16,.78);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.blog-card__content { padding: 24px; }
.blog-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--blog-muted); font-size: 12px; }
.category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(142,74,129,.45);
  border-radius: 999px;
  color: #e5cef5;
  background: var(--blog-gradient-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.blog-card h2 { margin: 18px 0 10px; font-size: clamp(20px, 2.7vw, 27px); line-height: 1.18; letter-spacing: -.035em; }
.blog-card h2 a { text-decoration: none; }
.blog-card h2 a:hover { color: #ddc7f5; }
.blog-card__content > p { min-height: 76px; margin: 0; color: var(--blog-muted); font-size: 14px; }
.blog-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--blog-border); color: var(--blog-muted); font-size: 12px; }
.read-link {
  position: relative;
  color: #d6b7ed;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.read-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px; background: var(--blog-gradient); transition: right .2s ease; }
.read-link:hover::after { right: 0; }
.blog-sidebar { position: sticky; top: 100px; display: grid; gap: 18px; }
.sidebar-card {
  padding: 24px;
  border: 1px solid var(--blog-border);
  border-radius: 24px;
  background: rgba(16,16,21,.86);
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
  backdrop-filter: blur(16px);
}
.filter-title { display: block; margin: 0 0 14px; color: #fff; font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.search-box { display: flex; overflow: hidden; border: 1px solid var(--blog-border-strong); border-radius: 14px; background: #0b0b0f; }
.search-box:focus-within { border-color: rgba(126,68,164,.85); box-shadow: 0 0 0 3px rgba(112,64,184,.13); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; padding: 14px 14px; color: #fff; background: transparent; }
.search-box input::placeholder { color: #74717c; }
.search-box button, .newsletter button, .empty-state button {
  border: 0;
  color: #fff;
  background: var(--blog-gradient);
  font-weight: 800;
}
.search-box button { padding: 0 18px; }
.filter-options { display: grid; gap: 10px; }
.filter-option { display: flex; align-items: center; gap: 10px; color: var(--blog-muted); cursor: pointer; font-size: 14px; }
.filter-option:hover { color: #fff; }
.filter-option input { width: 17px; height: 17px; accent-color: #7d46ad; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  border: 1px solid var(--blog-border);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--blog-muted);
  background: #0b0b0f;
  font-size: 12px;
  font-weight: 700;
}
.tag:hover, .tag.is-active { color: #fff; border-color: rgba(146,70,111,.75); background: var(--blog-gradient-soft); }
.subscribe-card { overflow: hidden; position: relative; background: linear-gradient(145deg, rgba(112,64,184,.24), rgba(16,16,21,.94) 58%, rgba(185,79,39,.12)); }
.subscribe-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -45px; bottom: -60px; border-radius: 50%; background: var(--blog-gradient); filter: blur(24px); opacity: .18; }
.subscribe-card h2 { margin: 10px 0 6px; font-size: 25px; letter-spacing: -.04em; }
.subscribe-card p { margin: 0 0 16px; color: var(--blog-muted); font-size: 13px; }
.newsletter { position: relative; z-index: 1; display: flex; overflow: hidden; border: 1px solid var(--blog-border-strong); border-radius: 14px; background: #0b0b0f; }
.newsletter input { min-width: 0; width: 100%; padding: 13px 14px; border: 0; outline: 0; color: #fff; background: transparent; }
.newsletter button { padding: 0 15px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.pagination button {
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--blog-border);
  border-radius: 999px;
  color: var(--blog-muted);
  background: #101015;
  font-weight: 800;
}
.pagination button:hover, .pagination button.is-active { color: #fff; border-color: transparent; background: var(--blog-gradient); }
.empty-state { margin-top: 26px; padding: 46px 24px; border: 1px dashed var(--blog-border-strong); border-radius: 24px; text-align: center; }
.empty-state h2 { margin: 0 0 8px; }
.empty-state p { margin: 0 0 18px; color: var(--blog-muted); }
.empty-state button { padding: 11px 16px; border-radius: 999px; }

.article-shell { width: min(860px, calc(100% - 36px)); margin: 0 auto; padding-top: 132px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; color: var(--blog-muted); font-size: 13px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span:last-child { max-width: 400px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-header { padding: 48px 0 32px; text-align: center; }
.article-header h1 { margin: 20px auto 18px; font-size: clamp(38px, 7vw, 70px); line-height: 1.02; letter-spacing: -.055em; }
.article-deck { max-width: 760px; margin: 0 auto; color: var(--blog-muted); font-size: clamp(17px, 2vw, 21px); }
.article-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; color: var(--blog-muted); font-size: 13px; }
.article-meta span:not(:last-child)::after { content: "•"; margin-left: 22px; color: #5f5b67; }
.article-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.article-tags span { padding: 6px 10px; border: 1px solid var(--blog-border); border-radius: 999px; color: #aaa5b2; background: rgba(255,255,255,.025); font-size: 11px; font-weight: 700; }
.article-cover { overflow: hidden; margin: 24px 0 52px; border: 1px solid var(--blog-border); border-radius: 30px; box-shadow: var(--blog-shadow); background: #111; }
.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
.article-content { color: #d7d4dc; font-size: 18px; line-height: 1.82; }
.article-content > *:first-child { margin-top: 0; }
.article-content h2, .article-content h3, .article-content h4 { scroll-margin-top: 120px; color: #fff; line-height: 1.18; letter-spacing: -.035em; }
.article-content h2 { margin: 56px 0 18px; font-size: clamp(28px, 4vw, 40px); }
.article-content h3 { margin: 38px 0 14px; font-size: 26px; }
.article-content h4 { margin: 30px 0 12px; font-size: 21px; }
.article-content p { margin: 0 0 24px; }
.article-content a { color: #d1aceb; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article-content strong { color: #fff; }
.article-content ul, .article-content ol { margin: 0 0 28px; padding-left: 26px; }
.article-content li { margin: 8px 0; }
.article-content blockquote { margin: 34px 0; padding: 22px 24px; border-left: 3px solid transparent; border-image: var(--blog-gradient) 1; border-radius: 0 18px 18px 0; color: #e9e4ed; background: var(--blog-gradient-soft); }
.article-content blockquote p:last-child { margin-bottom: 0; }
.article-content img { margin: 34px auto; border: 1px solid var(--blog-border); border-radius: 20px; }
.article-content pre { overflow-x: auto; margin: 30px 0; padding: 20px; border: 1px solid var(--blog-border); border-radius: 16px; background: #0b0b0f; font-size: 14px; }
.article-content code { padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.07); font-size: .9em; }
.article-content pre code { padding: 0; background: transparent; }
.article-content hr { margin: 48px 0; border: 0; border-top: 1px solid var(--blog-border); }
.author-box { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin: 62px 0 84px; padding: 24px; border: 1px solid var(--blog-border); border-radius: 24px; background: var(--blog-surface); }
.author-avatar { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; color: #fff; background: var(--blog-gradient); font-size: 26px; font-weight: 900; }
.author-box span { color: var(--blog-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.author-box h2 { margin: 2px 0; font-size: 20px; }
.author-box p { margin: 0; color: var(--blog-muted); font-size: 13px; }
.author-box > a { padding: 10px 14px; border-radius: 999px; color: #fff; background: var(--blog-gradient); text-decoration: none; font-size: 12px; font-weight: 800; white-space: nowrap; }
.related-section { padding: 68px 0 82px; border-top: 1px solid var(--blog-border); background: rgba(255,255,255,.012); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.related-card { overflow: hidden; border: 1px solid var(--blog-border); border-radius: 22px; background: var(--blog-surface); }
.related-card a { display: block; padding-bottom: 20px; text-decoration: none; }
.related-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.related-card span { display: block; margin: 18px 18px 8px; color: #c6a5df; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.related-card h3 { margin: 0 18px 8px; font-size: 19px; line-height: 1.25; }
.related-card p { margin: 0 18px; color: var(--blog-muted); font-size: 12px; }

.blog-footer-site { border-top: 1px solid var(--blog-border); background: #09090c; }
.blog-footer-grid { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 58px 0 42px; display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr; gap: 36px; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font-size: 20px; font-weight: 900; }
.footer-brand span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--blog-gradient); }
.blog-footer-grid p { max-width: 260px; color: var(--blog-muted); font-size: 13px; }
.blog-footer-grid h2 { margin: 0 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.blog-footer-grid > div > a:not(.footer-brand) { display: block; margin: 8px 0; color: var(--blog-muted); text-decoration: none; font-size: 13px; }
.blog-footer-grid > div > a:hover { color: #fff; }
.blog-footer-bottom { padding: 18px; border-top: 1px solid var(--blog-border); color: #77737e; text-align: center; font-size: 12px; }

@media (max-width: 980px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .subscribe-card { grid-column: span 2; }
  .related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .related-card:last-child { display: none; }
  .blog-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .blog-shell, .article-shell, .blog-footer-grid { width: min(100% - 24px, 1180px); }
  .blog-hero { padding: 122px 0 54px; }
  .blog-layout { padding-top: 44px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card__content > p { min-height: 0; }
  .blog-sidebar { grid-template-columns: 1fr; }
  .subscribe-card { grid-column: auto; }
  .article-shell { padding-top: 110px; }
  .article-header { padding-top: 34px; }
  .article-meta span:not(:last-child)::after { display: none; }
  .article-cover { margin-bottom: 38px; border-radius: 20px; }
  .article-content { font-size: 17px; }
  .author-box { grid-template-columns: auto 1fr; }
  .author-box > a { grid-column: 1 / -1; text-align: center; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card:last-child { display: block; }
  .blog-footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .blog-card__bottom { align-items: flex-start; flex-direction: column; }
  .search-box, .newsletter { display: grid; }
  .search-box button, .newsletter button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
/* ==================================================
   7ART BRAND GRADIENT — MATCH WITH GROWTH AUDIT BUTTON
================================================== */

:root {
  --blog-purple: #8b5cf6;
  --blog-magenta: #b15dde;
  --blog-orange: #ff7a18;

  --blog-gradient: linear-gradient(
    135deg,
    #8b5cf6 0%,
    #b15dde 50%,
    #ff7a18 100%
  );

  --blog-gradient-soft: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.24),
    rgba(255, 122, 24, 0.14)
  );
}

/* Blog background glow */
body {
  background:
    radial-gradient(
      circle at 8% 0%,
      rgba(139, 92, 246, 0.15),
      transparent 28rem
    ),
    radial-gradient(
      circle at 96% 14%,
      rgba(255, 122, 24, 0.09),
      transparent 25rem
    ),
    var(--blog-bg);
}

/* Blog cards hover */
.blog-card:hover {
  border-color: rgba(139, 92, 246, 0.72);
}

/* Search field focus */
.search-box:focus-within {
  border-color: rgba(139, 92, 246, 0.85);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

/* Checkbox color */
.filter-option input {
  accent-color: #8b5cf6;
}

/* Tags and category patches */
.tag:hover,
.tag.is-active {
  color: #ffffff;
  border-color: rgba(139, 92, 246, 0.7);
  background: var(--blog-gradient-soft);
}

/* Subscribe box background */
.subscribe-card {
  background: linear-gradient(
    145deg,
    rgba(139, 92, 246, 0.28),
    rgba(16, 16, 21, 0.94) 58%,
    rgba(255, 122, 24, 0.16)
  );
}
