/* Exact shared CSS system */
:root {
  --ink: #18121F; --ink-soft: #4A4356; --slate: #79738C; --paper: #FBF9FC;
  --panel: #F4F1F9; --panel-2: #ECE7F5; --line: #E3DDEF;
  --search: #4C3AE3; --search-soft: #ECE9FD; --answer: #A63FD1; --answer-soft: #F6E9FB;
  --generative: #F2447D; --generative-soft: #FDE9EF; --mint: #12A17E; --mint-soft: #E1F7EF;
  --display: 'Fraunces', Georgia, serif; --body: 'Inter', system-ui, -apple-system, sans-serif;
  --gut: clamp(1.25rem, 4vw, 3.5rem); --maxw: 1180px; --content-w: 800px; --navh: 68px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--navh) + 18px); }
body {
  background: var(--paper); color: var(--ink); font-family: var(--body);
  font-size: clamp(.96rem, .3vw + .9rem, 1.02rem); line-height: 1.8;
  background-image: radial-gradient(circle at 10% 15%, rgba(86, 62, 220, .035), transparent 28%),
                    radial-gradient(circle at 88% 38%, rgba(236, 61, 137, .035), transparent 30%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.content-wrap { max-width: var(--content-w); margin-inline: auto; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 200; height: var(--navh); background: rgba(251, 249, 252, .85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); height: 100%; display: flex; align-items: center; gap: 1.2rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--ink); margin-right: auto; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--search), var(--answer) 55%, var(--generative)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .86rem; font-weight: 700; }
.nav-links { display: flex; gap: .05rem; align-items: center; }
.nav-links a { font-size: .81rem; font-weight: 500; color: var(--ink-soft); padding: .5rem .62rem; border-radius: 20px; }
.nav-links a:hover { background: var(--panel); color: var(--ink); }
.nav-links a.on { color: var(--search); background: var(--search-soft); }
.nav-cta { font-size: .85rem; font-weight: 600; color: #fff !important; padding: .6rem 1.15rem; border-radius: 22px; background: linear-gradient(120deg, var(--search), var(--generative)); }
.nav-toggle { display: none; width: 34px; height: 34px; position: relative; }
.nav-toggle span { display: block; width: 19px; height: 2px; background: var(--ink); position: absolute; border-radius: 2px; }
.nav-toggle span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle span:nth-child(3) { transform: translateY(6px); }
.prog { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: linear-gradient(90deg, var(--search), var(--answer), var(--generative)); }

@media (max-width: 1010px) {
  .nav-links { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .4rem var(--gut) .8rem; max-height: 0; overflow: hidden; opacity: 0; }
  .nav-links.open { max-height: 70vh; opacity: 1; overflow: auto; }
  .nav-links a { padding: .85rem .3rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta { display: none; }
}

/* Article Styles */
.article-header { padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: 2rem; }
.breadcrumb { display: flex; gap: .45rem; font-size: .78rem; font-weight: 600; color: var(--slate); margin-bottom: 1.2rem; }
.eyebrow { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--search); display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--generative); }
.article-title { font-family: var(--display); font-weight: 700; font-size: clamp(2.1rem, 4.8vw, 3.4rem); line-height: 1.15; margin-bottom: 1.2rem; }
.article-title em { font-style: italic; color: var(--search); }
.article-lede { font-size: clamp(1.08rem, .4vw + 1rem, 1.25rem); line-height: 1.65; color: var(--ink-soft); margin-bottom: 1.8rem; }
.author-card { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 2.5rem; }

.author-avatar-badge {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--search), var(--answer) 55%, var(--generative));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: .95rem; flex: none;
}

.author-name { font-weight: 700; font-size: .95rem; }
.author-role { font-size: .76rem; color: var(--slate); }

.article-body h2 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin: 3.2rem 0 1.2rem; line-height: 1.25; }
.article-body p { margin-bottom: 1.5rem; color: var(--ink-soft); }
.article-body a { color: var(--search); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; transition: color .2s ease; }
.article-body a:hover { color: var(--generative); }
.article-body ul, .article-body ol { margin-bottom: 1.6rem; padding-left: 1.5rem; color: var(--ink-soft); }
.article-body li { margin-bottom: .6rem; }
.article-body strong { color: var(--ink); font-weight: 700; }

.direct-answer { background: linear-gradient(145deg, #fff, var(--answer-soft)); border-left: 5px solid var(--answer); border-radius: 16px; padding: 1.5rem 1.8rem; margin: 2.2rem 0; box-shadow: 0 4px 20px rgba(166, 63, 209, 0.05); }
.direct-answer-tag { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--answer); margin-bottom: .4rem; display: block; }

.moat-diagram {
  background: var(--ink); color: #fff; border-radius: 20px; padding: 2rem; margin: 2.5rem 0;
  box-shadow: 0 16px 40px rgba(24, 18, 31, .15);
}
.moat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.2rem; }
@media (max-width: 680px) { .moat-grid { grid-template-columns: 1fr; } }
.moat-box { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: 14px; padding: 1.2rem; }
.moat-box h4 { font-family: var(--display); color: var(--generative); margin-bottom: .5rem; font-size: 1.1rem; }
.moat-box p { font-size: .84rem; color: #d6cde2; margin-bottom: 0; line-height: 1.5; }

.table-wrap { width: 100%; overflow-x: auto; margin: 2.5rem 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.geo-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .88rem; }
.geo-table th, .geo-table td { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.geo-table th { background: var(--panel); font-family: var(--display); font-size: .95rem; font-weight: 700; }

/* FAQ */
.faq-sec { margin-top: 4rem; padding-top: 2.8rem; border-top: 1px solid var(--line); }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: .9rem; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 1.15rem 1.4rem; font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--search); line-height: 1; transition: transform .2s ease; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 1.4rem 1.4rem; color: var(--ink-soft); font-size: .92rem; line-height: 1.7; }

/* CTA */
.post-cta { background: linear-gradient(120deg, var(--search), var(--answer) 55%, var(--generative)); border-radius: 24px; padding: clamp(2.2rem, 5vw, 3.5rem); color: #fff; text-align: center; margin-top: 4.5rem; }
.btn-cta { display: inline-block; font-size: .9rem; font-weight: 700; color: var(--search) !important; background: #fff; padding: .85rem 1.8rem; border-radius: 26px; margin-top: 1.4rem; text-decoration: none !important; }

/* Footer */
.foot { background: #120e18; color: #c9c3d4; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; margin-top: 5rem; position: relative; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 0.85fr 1fr 1.15fr; gap: 2.5rem; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; gap: 2rem; } }
.foot-brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: #fff; margin-bottom: 1.1rem; }
.foot-brand .brand-mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--search), var(--answer) 55%, var(--generative)); color: #fff; display: flex; align-items: center; justify-content: center; }
.foot-blurb { font-size: .86rem; color: #a79fb7; max-width: 34ch; margin-bottom: 1.4rem; line-height: 1.6; }
.foot-social { display: flex; gap: .65rem; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: center; color: #fff; }
.foot-social a svg { width: 18px; height: 18px; fill: currentColor; }
.foot-h { font-size: .82rem; font-weight: 800; text-transform: uppercase; color: #fff; margin-bottom: 1.25rem; letter-spacing: .06em; }
.foot-col ul { list-style: none; display: grid; gap: .75rem; padding-left: 0; }
.foot-col a { color: #b3abd0; font-size: .88rem; }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 3.5rem; padding-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; font-size: .78rem; color: #79718a; }
.to-top { position: fixed; right: 1.5rem; bottom: 1.5rem; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: linear-gradient(120deg, var(--search), var(--generative)); opacity: 0; pointer-events: none; transition: all .2s; }
.to-top.show { opacity: 1; pointer-events: auto; }
.wa-float { position: fixed; left: 1.5rem; bottom: 1.5rem; width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(37, 211, 102, .4); z-index: 99; }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }

.breadcrumb{display:flex;align-items:center;gap:.45rem;font-size:.78rem;font-weight:600;color:var(--slate);margin-bottom:1.2rem;flex-wrap:wrap}.breadcrumb a{color:var(--slate);text-decoration:none}.breadcrumb a:hover{color:var(--search)}.breadcrumb span{opacity:.5}.breadcrumb [aria-current="page"]{color:var(--slate)}

/* ---- Helper classes (moved from inline style="" attributes) ----
   !important keeps the same precedence the inline styles had. */
.author-meta-row{display:flex !important;align-items:center !important;gap:.9rem !important}
.author-meta-sub{font-size:.78rem !important;color:var(--slate) !important;font-weight:500 !important}
.cta-title{font-family:var(--display) !important;color:#fff !important;font-size:1.35rem !important}
.cta-text{font-size:.85rem !important;color:#c8c0d5 !important}
