/* The BluffHR blog, in the landing page's own design language: cream ground, ink text,
   the blue→violet→pink→amber gradient, aurora glows, Bricolage Grotesque headings,
   Outfit body, gradient-framed rounded cards, tinted bands and the dark statement band. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: #fdfaf5; color: #1c1730; font-family: "Outfit", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: #7c3aed; }
a:hover { color: #ec4899; }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid #7c3aed; outline-offset: 3px; border-radius: 8px; }

/* ── Type ── */
.display { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
.grad { background: linear-gradient(120deg, #3b82f6, #a855f7 45%, #ec4899 75%, #f59e0b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #7c3aed; }
.lead { font-size: clamp(16px, 1.8vw, 19px); line-height: 1.65; color: rgba(28, 23, 48, 0.72); }
.brand { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 23px; letter-spacing: -0.02em; text-decoration: none; background: linear-gradient(120deg, #3b82f6, #a855f7 45%, #ec4899 75%, #f59e0b); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Buttons and chips (as on the home page) ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: "Outfit", sans-serif; font-size: 15px; font-weight: 700; padding: 14px 26px; border-radius: 100px; text-decoration: none; white-space: nowrap; transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease; }
.btn:hover { transform: translateY(-3px); }
.btn i { font-style: normal; transition: transform 0.25s ease; }
.btn:hover i { transform: translateX(4px); }
.btn-primary { color: #fff; background: linear-gradient(120deg, #3b82f6, #a855f7 55%, #ec4899); box-shadow: 0 14px 30px -10px rgba(124, 58, 237, 0.55); }
.btn-primary:hover { color: #fff; box-shadow: 0 20px 38px -10px rgba(124, 58, 237, 0.65); }
.btn-dark { color: #fff; background: #1c1730; }
.btn-dark:hover { color: #fff; box-shadow: 0 16px 30px -12px rgba(28, 23, 48, 0.6); }
.btn-ghost { color: #1c1730; background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(28, 23, 48, 0.14); }
.btn-ghost:hover { color: #1c1730; border-color: rgba(124, 58, 237, 0.5); }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.btn-ghost-light:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; padding: 6px 13px; border-radius: 100px; text-decoration: none; white-space: nowrap; }
.chip-blue { background: rgba(6, 182, 212, 0.12); color: #0e7490; }
.chip-violet { background: rgba(168, 85, 247, 0.12); color: #7c3aed; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #ec4899; animation: pulseDot 2s infinite; }
.newtag { display: inline-block; padding: 2px; border-radius: 100px; background: linear-gradient(110deg, #3b82f6, #a855f7, #ec4899, #f59e0b, #3b82f6); background-size: 220% 100%; animation: sheen 5s linear infinite; box-shadow: 0 14px 34px -14px rgba(168, 85, 247, 0.7); }
.newtag > span { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 4px 10px; padding: 8px 18px 8px 8px; border-radius: 100px; background: #fff; font-size: 13.5px; font-weight: 700; color: #1c1730; }
.newtag b { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: linear-gradient(120deg, #a855f7, #ec4899); padding: 5px 12px; border-radius: 100px; white-space: nowrap; }

/* ── Nav (identical to the home page) ── */
.bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 999; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #3b82f6, #a855f7, #ec4899, #f59e0b); }
.nav { position: sticky; top: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(18px, 4vw, 48px); background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid rgba(28, 23, 48, 0.06); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 14px; font-weight: 600; color: rgba(28, 23, 48, 0.68); text-decoration: none; }
.nav-link:hover, .nav-link.here { color: #1c1730; }
.nav-link.here { position: relative; }
.nav-link.here::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #3b82f6, #ec4899); }

/* ── Aurora and bands ── */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; animation: auroraDrift 18s ease-in-out infinite; }
@keyframes auroraDrift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(4%, -6%) scale(1.08); } 66% { transform: translate(-3%, 4%) scale(0.94); } }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.5); } 60% { box-shadow: 0 0 0 9px rgba(236, 72, 153, 0); } }
@keyframes sheen { to { background-position: 220% 0; } }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; width: 100%; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; width: 100%; }
.hero { position: relative; overflow: hidden; padding: 26px 0 clamp(56px, 8vw, 96px); }
.hero-aurora { background: #fdfaf5; }
.hero-blue { background: linear-gradient(180deg, rgba(186, 230, 253, 0.55), rgba(167, 243, 208, 0.35)); }
.hero-violet { background: linear-gradient(165deg, rgba(216, 180, 254, 0.5), rgba(165, 243, 252, 0.32)); }
.hero-inner { position: relative; text-align: center; }
.hero h1 { font-size: clamp(38px, 6.4vw, 72px); margin: 22px auto 18px; max-width: 900px; }
.hero .lead { max-width: 640px; margin: 0 auto; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; align-items: center; font-size: 13px; color: rgba(28, 23, 48, 0.5); margin-bottom: clamp(28px, 4vw, 44px); }
.crumbs + .section-tabs { margin-top: calc(-1 * clamp(10px, 2vw, 22px)); }
.crumbs a { color: rgba(28, 23, 48, 0.62); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: #7c3aed; }
.section { position: relative; padding: clamp(56px, 8vw, 104px) 0; }
.section-lilac { background: linear-gradient(165deg, rgba(216, 180, 254, 0.42), rgba(165, 243, 252, 0.32)); }
.section-head { text-align: center; margin-bottom: clamp(30px, 4vw, 46px); }
.section-head h2 { font-size: clamp(28px, 4.2vw, 44px); margin-top: 12px; }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ── Articles | Ask an Industry Expert ── */
.section-tabs { display: flex; width: fit-content; max-width: 100%; gap: 6px; padding: 6px; margin: 0 auto 26px; border-radius: 100px; background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(124, 58, 237, 0.16); box-shadow: 0 14px 30px -20px rgba(124, 58, 237, 0.5); }
.section-tabs a { font-size: 14.5px; font-weight: 800; text-decoration: none; color: #7c3aed; padding: 10px 20px; border-radius: 100px; white-space: nowrap; }
.section-tabs a.on { color: #fff; background: linear-gradient(120deg, #3b82f6, #a855f7 55%, #ec4899); }

/* ── The two audience cards (like the home page's product cards) ── */
.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin: clamp(36px, 5vw, 54px) auto 0; text-align: left; }
.audience { display: block; padding: 2px; border-radius: 26px; background: var(--frame); text-decoration: none; color: inherit; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease; }
.audience:hover { color: inherit; transform: translateY(-6px); box-shadow: 0 30px 56px -30px rgba(124, 58, 237, 0.55); }
.audience.on { box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18); }
.audience-inner { display: flex; gap: 16px; align-items: flex-start; height: 100%; padding: 22px 24px; border-radius: 24px; background: rgba(255, 255, 255, 0.94); }
.audience-icon { flex-shrink: 0; width: 50px; height: 50px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(168, 85, 247, 0.14)); }
.audience-name { font-family: "Bricolage Grotesque", sans-serif; font-size: 21px; font-weight: 800; }
.audience-blurb { font-size: 14px; line-height: 1.55; color: rgba(28, 23, 48, 0.66); margin: 5px 0 10px; }
.audience-count { font-size: 13px; font-weight: 800; color: #7c3aed; }

/* ── Article cards ── */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: block; padding: 2px; border-radius: 26px; background: rgba(28, 23, 48, 0.07); text-decoration: none; color: inherit; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, background 0.4s ease; }
.post-card:hover { color: inherit; background: var(--frame); transform: translateY(-8px); box-shadow: 0 34px 60px -30px rgba(124, 58, 237, 0.55); }
.post-card-inner { height: 100%; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #fff; }
.cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cover-job-seekers { background: radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.45), transparent 42%), radial-gradient(circle at 85% 80%, rgba(245, 158, 11, 0.35), transparent 45%), linear-gradient(135deg, #3b82f6, #06b6d4); }
.cover-placement-cells { background: radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.45), transparent 42%), radial-gradient(circle at 15% 85%, rgba(245, 158, 11, 0.3), transparent 45%), linear-gradient(135deg, #a855f7, #ec4899); }
.cover::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1.2px, transparent 1.2px); background-size: 18px 18px; mask-image: linear-gradient(135deg, #000, transparent 70%); }
.cover-icon { position: relative; z-index: 1; font-size: 46px; width: 84px; height: 84px; border-radius: 26px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px); box-shadow: 0 18px 30px -16px rgba(28, 23, 48, 0.45); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.post-card:hover .cover-icon { transform: scale(1.08) rotate(-4deg); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-top { display: flex; align-items: center; gap: 8px; }
.post-card h3 { font-family: "Bricolage Grotesque", sans-serif; font-size: 20px; line-height: 1.28; letter-spacing: -0.01em; margin: 14px 0 8px; }
.post-card p { font-size: 14.5px; line-height: 1.6; color: rgba(28, 23, 48, 0.66); flex: 1; }
.by { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: rgba(28, 23, 48, 0.6); margin-top: 16px; }
.by .arrow { margin-left: auto; color: #7c3aed; transition: transform 0.25s ease; }
.post-card:hover .by .arrow { transform: translateX(4px); }
.avatar-xs { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #3b82f6, #a855f7); }
.draft-tag { font-size: 11px; font-weight: 800; color: #92400e; background: #fef3c7; padding: 4px 9px; border-radius: 100px; }
.draft-banner { margin: 0 auto 18px; max-width: 640px; font-size: 13px; font-weight: 700; color: #92400e; background: #fef3c7; border: 1px solid #fcd34d; padding: 10px 14px; border-radius: 12px; }

/* ── Empty state ── */
.empty { max-width: 760px; margin: 0 auto; padding: 2px; border-radius: 28px; background: linear-gradient(140deg, #3b82f6, #a855f7, #ec4899, #f59e0b); box-shadow: 0 30px 60px -30px rgba(168, 85, 247, 0.55); }
.empty-inner { border-radius: 26px; background: rgba(255, 255, 255, 0.96); padding: clamp(30px, 5vw, 52px); text-align: center; }
.empty h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 18px 0 14px; }
.empty p { font-size: 16px; line-height: 1.7; color: rgba(28, 23, 48, 0.7); max-width: 560px; margin: 0 auto 26px; }

/* ── Article ── */
.article-hero { text-align: center; }
.article-hero h1 { font-size: clamp(32px, 5.2vw, 56px); line-height: 1.1; max-width: 860px; }
.meta { display: flex; justify-content: center; margin-top: 26px; }
.author-chip { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #1c1730; text-align: left; background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(124, 58, 237, 0.16); padding: 8px 18px 8px 8px; border-radius: 100px; }
.author-chip:hover { color: #1c1730; border-color: rgba(124, 58, 237, 0.45); }
.author-chip b { display: block; font-size: 14.5px; }
.author-chip small { display: block; font-size: 12.5px; color: rgba(28, 23, 48, 0.6); }
.avatar-sm, .avatar-lg, .avatar-xl { flex-shrink: 0; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; color: #fff; background: linear-gradient(135deg, #3b82f6, #a855f7, #ec4899); }
.avatar-sm { width: 38px; height: 38px; font-size: 16px; }
.avatar-lg { width: 68px; height: 68px; font-size: 28px; }
.avatar-xl { width: 112px; height: 112px; font-size: 46px; box-shadow: 0 20px 40px -18px rgba(124, 58, 237, 0.6); }

.article-layout { position: relative; max-width: 1180px; margin: calc(-1 * clamp(28px, 4vw, 48px)) auto 0; padding: 0 24px clamp(56px, 7vw, 90px); display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: start; z-index: 2; }
.paper { background: #fff; border-radius: 28px; border: 1px solid rgba(28, 23, 48, 0.06); box-shadow: 0 30px 70px -40px rgba(76, 29, 149, 0.35); padding: clamp(26px, 4.5vw, 56px); min-width: 0; }
.hero-img { width: 100%; border-radius: 20px; margin-bottom: 28px; }
.prose { font-size: 18px; line-height: 1.82; color: rgba(28, 23, 48, 0.86); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(25px, 3.2vw, 32px); line-height: 1.2; letter-spacing: -0.02em; margin: 48px 0 14px; color: #1c1730; }
.prose h2::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; margin-bottom: 14px; background: linear-gradient(90deg, #3b82f6, #a855f7, #ec4899); }
.prose h3 { font-family: "Bricolage Grotesque", sans-serif; font-size: 22px; letter-spacing: -0.01em; margin: 34px 0 10px; color: #1c1730; }
.prose h4 { font-size: 18px; margin: 26px 0 8px; color: #1c1730; }
.prose p { margin: 0 0 20px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.prose ul li::before { content: ""; position: absolute; left: 10px; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #3b82f6, #ec4899); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0.18em; width: 24px; height: 24px; border-radius: 8px; font-size: 13px; font-weight: 800; line-height: 24px; text-align: center; color: #fff; background: linear-gradient(135deg, #3b82f6, #a855f7); }
.prose strong { color: #1c1730; }
.prose a { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: rgba(124, 58, 237, 0.35); }
.prose blockquote { margin: 30px 0; padding: 20px 24px; border-radius: 18px; background: linear-gradient(135deg, rgba(59, 130, 246, 0.07), rgba(236, 72, 153, 0.07)); border-left: 4px solid #a855f7; font-family: "Bricolage Grotesque", sans-serif; font-size: 20px; line-height: 1.5; color: #1c1730; }
.prose blockquote p { margin: 0; }
.prose code { font-size: 0.88em; background: rgba(124, 58, 237, 0.08); color: #6d28d9; padding: 2px 7px; border-radius: 6px; }
.prose pre { background: #1c1730; color: #f5f3ff; padding: 20px; border-radius: 16px; overflow-x: auto; font-size: 14px; }
.prose pre code { background: none; color: inherit; padding: 0; }
.prose figure { margin: 30px 0; }
.prose figure img { border-radius: 18px; }
.prose figcaption { font-size: 14px; color: rgba(28, 23, 48, 0.55); text-align: center; margin-top: 10px; }
.prose hr { border: none; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.35), transparent); margin: 40px 0; }

.cta-frame { margin: 46px 0 28px; padding: 2px; border-radius: 26px; background: var(--frame); box-shadow: 0 30px 60px -32px rgba(168, 85, 247, 0.6); }
.cta-inner { border-radius: 24px; padding: clamp(24px, 4vw, 36px); background: radial-gradient(circle at 92% 8%, rgba(236, 72, 153, 0.12), transparent 40%), radial-gradient(circle at 6% 92%, rgba(59, 130, 246, 0.12), transparent 40%), #fff; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 32px); margin: 10px 0 12px; }
.cta-inner p { font-size: 16px; line-height: 1.65; color: rgba(28, 23, 48, 0.7); margin-bottom: 22px; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px 0; border-top: 1px solid rgba(28, 23, 48, 0.08); border-bottom: 1px solid rgba(28, 23, 48, 0.08); font-size: 14px; }
.share span { font-weight: 800; margin-right: 6px; }
.share a { font-weight: 700; text-decoration: none; padding: 8px 15px; border-radius: 100px; background: rgba(124, 58, 237, 0.08); transition: background 0.2s ease, color 0.2s ease; }
.share a:hover { color: #fff; background: linear-gradient(120deg, #3b82f6, #a855f7); }

.author-box { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; padding: 22px; border-radius: 22px; background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(168, 85, 247, 0.06)); border: 1px solid rgba(124, 58, 237, 0.12); }
.author-box .name { display: inline-block; font-family: "Bricolage Grotesque", sans-serif; font-size: 20px; font-weight: 800; color: #1c1730; text-decoration: none; margin: 4px 0 6px; }
.author-box p { font-size: 15px; line-height: 1.6; color: rgba(28, 23, 48, 0.72); }
.author-box .li { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; text-decoration: none; }

.side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.toc { padding: 20px 22px; border-radius: 22px; background: #fff; border: 1px solid rgba(28, 23, 48, 0.07); box-shadow: 0 16px 40px -30px rgba(76, 29, 149, 0.35); }
.toc ol { margin: 12px 0 0; padding: 0; list-style: none; counter-reset: t; }
.toc li { counter-increment: t; font-size: 14.5px; line-height: 1.45; padding: 7px 0; border-top: 1px solid rgba(28, 23, 48, 0.06); }
.toc li::before { content: counter(t, decimal-leading-zero) "  "; font-weight: 800; color: #a855f7; }
.toc a { color: #1c1730; text-decoration: none; font-weight: 600; }
.toc a:hover { color: #7c3aed; }
.side-cta { padding: 2px; border-radius: 22px; background: var(--frame); }
.side-cta > div { border-radius: 20px; background: #fff; padding: 20px 22px; }
.side-icon { display: inline-flex; width: 40px; height: 40px; border-radius: 13px; align-items: center; justify-content: center; font-size: 20px; background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(168, 85, 247, 0.14)); margin-bottom: 10px; }
.side-cta b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 17px; }
.side-cta p { font-size: 13.5px; line-height: 1.5; color: rgba(28, 23, 48, 0.65); margin: 6px 0 14px; }

.author-hero { display: flex; gap: 28px; align-items: center; text-align: left; max-width: 760px; margin: 0 auto; }
.author-hero h1 { font-size: clamp(32px, 5vw, 52px); margin: 8px 0 10px; }
.author-hero .lead { margin: 0 0 16px; }

/* ── Dark statement band and footer (as on the home page) ── */
.band-dark { position: relative; overflow: hidden; background: #1c1730; color: #fff; padding: clamp(60px, 8vw, 100px) 24px; text-align: center; }
.band-inner { position: relative; max-width: 900px; margin: 0 auto; }
.band-dark h2 { font-size: clamp(28px, 4.6vw, 50px); margin: 16px 0 30px; }
.band-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.foot { text-align: center; padding: 44px 24px; }
.foot .brand { font-size: 24px; }
.foot-tag { font-size: 14px; margin-top: 8px; color: rgba(28, 23, 48, 0.62); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 18px; font-size: 14px; font-weight: 600; }
.foot-links a { text-decoration: none; }
.foot-note { font-size: 12.5px; margin-top: 20px; color: rgba(28, 23, 48, 0.55); }

/* ── Smaller screens ── */
@media (max-width: 1020px) {
  .article-layout { grid-template-columns: 1fr; }
  .side { position: static; order: -1; }
  .side-cta { display: none; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hide-md { display: none; }
  .audiences { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .author-hero { flex-direction: column; text-align: center; }
}
@media (max-width: 620px) {
  .grid { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .section-tabs a { padding: 9px 13px; font-size: 13px; }
  .prose { font-size: 17px; }
  .author-box { flex-direction: column; }
  .btn { white-space: normal; text-align: center; }
  .band-ctas .btn { width: 100%; }
  .article-layout { padding: 0 14px 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ══ Ask an Industry Expert ══════════════════════════════════════════════ */
.ask-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.flair { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; text-decoration: none; color: #7c3aed; background: rgba(124, 58, 237, 0.09); border: 1px solid rgba(124, 58, 237, 0.14); padding: 6px 12px; border-radius: 100px; white-space: nowrap; transition: background 0.2s ease, color 0.2s ease; }
a.flair:hover { color: #fff; background: linear-gradient(120deg, #a855f7, #ec4899); }
.flair.on { color: #fff; background: linear-gradient(120deg, #3b82f6, #a855f7 55%, #ec4899); border-color: transparent; }
.flair-strip { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: clamp(30px, 4vw, 46px); }

.q-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; background: #fff; border-radius: 24px; padding: 22px; border: 1px solid rgba(28, 23, 48, 0.07); box-shadow: 0 12px 34px -24px rgba(76, 29, 149, 0.45); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease; }
.q-card:hover { color: inherit; transform: translateY(-6px); border-color: rgba(168, 85, 247, 0.45); box-shadow: 0 30px 56px -30px rgba(124, 58, 237, 0.55); }
.q-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.q-card h3 { font-family: "Bricolage Grotesque", sans-serif; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
.q-card p { font-size: 14.5px; line-height: 1.6; color: rgba(28, 23, 48, 0.66); flex: 1; }
.us-pill { font-size: 13px; font-weight: 800; color: #be185d; background: rgba(236, 72, 153, 0.1); padding: 5px 11px; border-radius: 100px; }
.q-expert { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: rgba(28, 23, 48, 0.62); }
.expert-badge { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; background: linear-gradient(135deg, #10b981, #06b6d4); }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-step { background: #fff; border-radius: 24px; padding: 24px; border: 1px solid rgba(28, 23, 48, 0.07); box-shadow: 0 12px 34px -26px rgba(76, 29, 149, 0.45); }
.how-n { font-family: "Bricolage Grotesque", sans-serif; font-size: 30px; font-weight: 800; background: linear-gradient(120deg, #3b82f6, #a855f7, #ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; }
.how-step b { display: block; font-size: 18px; margin: 8px 0 6px; }
.how-step p { font-size: 14.5px; line-height: 1.6; color: rgba(28, 23, 48, 0.66); }

.asked-by { font-size: 14.5px; color: rgba(28, 23, 48, 0.65); margin-top: 6px; }
.qa-layout { position: relative; max-width: 860px; margin: calc(-1 * clamp(28px, 4vw, 48px)) auto 0; padding: 0 24px clamp(56px, 7vw, 90px); z-index: 2; }
.q-title { font-size: clamp(24px, 3.4vw, 32px); margin: 12px 0 6px; }
.q-body { padding-bottom: 6px; }
.react-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0 6px; }
.react { display: inline-flex; align-items: center; gap: 8px; font-family: "Outfit", sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; padding: 10px 18px; border-radius: 100px; border: 1.5px solid rgba(124, 58, 237, 0.25); background: #fff; color: #1c1730; transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.react:hover { transform: translateY(-2px); border-color: #a855f7; }
.react b { font-weight: 800; color: #7c3aed; }
.react.on { color: #fff; border-color: transparent; background: linear-gradient(120deg, #a855f7, #ec4899); }
.react.on b { color: #fff; }
.react-agree.on { background: linear-gradient(120deg, #3b82f6, #10b981); }
.react-hint { font-size: 13px; color: rgba(28, 23, 48, 0.55); }
.answer { margin-top: 26px; padding: clamp(20px, 3vw, 30px); border-radius: 24px; background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(59, 130, 246, 0.06)); border: 1px solid rgba(16, 185, 129, 0.22); }
.answer-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.answer-head .eyebrow { color: #047857; }
.expert-name { font-family: "Bricolage Grotesque", sans-serif; font-size: 21px; font-weight: 800; margin-top: 2px; }
.expert-meta { font-size: 14px; font-weight: 600; color: rgba(28, 23, 48, 0.62); }

/* Forms and the in-browser pages */
.loading-box { display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 700; color: rgba(28, 23, 48, 0.6); }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(124, 58, 237, 0.2); border-top-color: #7c3aed; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.who { text-align: right; font-size: 13.5px; color: rgba(28, 23, 48, 0.6); margin-bottom: 12px; }
.link { background: none; border: none; padding: 0; font: inherit; font-weight: 700; color: #7c3aed; cursor: pointer; }
.signin { max-width: 520px; margin: 0 auto; text-align: center; }
.signin h2 { font-size: clamp(24px, 3.2vw, 32px); margin: 10px 0 8px; }
.signin-note { font-size: 14.5px; line-height: 1.6; color: rgba(28, 23, 48, 0.65); margin-bottom: 20px; }
.signin .google { width: 100%; }
.g { font-weight: 800; color: #3b82f6; }
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0; font-size: 13px; font-weight: 700; color: rgba(28, 23, 48, 0.45); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: rgba(28, 23, 48, 0.12); }
.signin form { display: flex; flex-direction: column; gap: 12px; text-align: left; margin-bottom: 14px; }
.signin label, .ask-form label.sub { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 700; }
input, textarea { font-family: "Outfit", sans-serif; font-size: 15.5px; color: #1c1730; padding: 13px 15px; border-radius: 14px; border: 1.5px solid rgba(28, 23, 48, 0.14); background: #fdfaf5; width: 100%; }
input:focus, textarea:focus { outline: none; border-color: #a855f7; box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15); }
textarea { resize: vertical; line-height: 1.6; }
.form-error { font-size: 14px; font-weight: 600; color: #be123c; background: rgba(244, 63, 94, 0.08); border: 1px solid rgba(244, 63, 94, 0.2); padding: 11px 14px; border-radius: 12px; }
.ask-form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; border: none; padding: 0; margin: 0; min-width: 0; }
.field > span, .field > legend { font-size: 15px; font-weight: 800; padding: 0; margin-bottom: 2px; }
.field em { font-style: normal; font-size: 12px; font-weight: 700; color: rgba(28, 23, 48, 0.5); margin-left: 6px; }
.field small { font-size: 12.5px; color: rgba(28, 23, 48, 0.55); }
.field small b { color: #7c3aed; }
.flair-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.flair-opt, .as-opt { position: relative; cursor: pointer; }
.flair-opt input, .as-opt input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.flair-opt span { display: inline-flex; font-size: 14px; font-weight: 700; padding: 9px 14px; border-radius: 100px; border: 1.5px solid rgba(124, 58, 237, 0.2); background: #fff; color: #1c1730; transition: all 0.2s ease; }
.flair-opt.on span { color: #fff; border-color: transparent; background: linear-gradient(120deg, #3b82f6, #a855f7 55%, #ec4899); }
.flair-opt input:focus-visible + span, .as-opt:focus-within { outline: 3px solid #7c3aed; outline-offset: 2px; }
.post-as { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.as-opt { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid rgba(124, 58, 237, 0.2); background: #fff; }
.as-opt.on { border-color: #a855f7; background: rgba(168, 85, 247, 0.06); box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12); }
.as-opt small { font-size: 12.5px; color: rgba(28, 23, 48, 0.6); }
.ask-form .submit { align-self: flex-start; }
.fine { font-size: 12.5px; line-height: 1.6; color: rgba(28, 23, 48, 0.55); }
.done { text-align: center; }
.done-icon { font-size: 48px; margin-bottom: 8px; }
.done h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 10px; }
.done p { font-size: 15.5px; line-height: 1.65; color: rgba(28, 23, 48, 0.68); max-width: 520px; margin: 0 auto 22px; }
.done-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.mine { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.mine-row { width: 100%; padding: 22px 24px; }
.mine-row h3 { font-family: "Bricolage Grotesque", sans-serif; font-size: 19px; line-height: 1.3; margin: 12px 0 6px; }
.mine-meta { font-size: 13px; color: rgba(28, 23, 48, 0.55); margin-bottom: 12px; }
.status { font-size: 12.5px; font-weight: 800; padding: 5px 11px; border-radius: 100px; }
.status.ok { color: #047857; background: rgba(16, 185, 129, 0.12); }
.status.wait { color: #b45309; background: rgba(245, 158, 11, 0.14); }
.status.no { color: rgba(28, 23, 48, 0.6); background: rgba(28, 23, 48, 0.07); }

@media (max-width: 900px) { .how { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .post-as { grid-template-columns: 1fr; } .qa-layout { padding: 0 14px 56px; } .ask-form .submit { align-self: stretch; } }

/* ══ Articles ⇄ Ask: one smooth movement, not a reload ══════════════════
   Supporting browsers (Chrome, Edge, Safari 18+) animate between the two pages:
   the menu and the tabs stay put, the highlighted tab slides across and the
   rest cross-fades. The other tab's page is prepared in the background, and
   arriving by the switch skips the hero's entrance animation. */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
.section-tabs { position: relative; view-transition-name: section-tabs; }
.section-tabs a { position: relative; z-index: 1; transition: color 0.3s ease; }
.section-tabs a.on { view-transition-name: tab-pill; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.32s; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
::view-transition-group(tab-pill) { animation-duration: 0.5s; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
.no-intro .hero .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* The in-browser pages: a page heading, then the card with clear room around it. */
.page-head { position: relative; overflow: hidden; padding: clamp(30px, 5vw, 56px) 0 clamp(34px, 5vw, 54px); background: linear-gradient(165deg, rgba(216, 180, 254, 0.5), rgba(165, 243, 252, 0.32)); border-bottom: 1px solid rgba(124, 58, 237, 0.1); }
.page-head-inner { position: relative; text-align: center; }
.page-head .crumbs { margin-bottom: 22px; }
.ph-title { font-size: clamp(32px, 5vw, 54px); line-height: 1.06; max-width: 820px; margin: 0 auto; }
.ph-intro { max-width: 560px; margin: 14px auto 0; font-size: clamp(15.5px, 1.6vw, 17.5px); line-height: 1.6; color: rgba(28, 23, 48, 0.66); }
.app-section { padding-top: clamp(36px, 5vw, 60px); background: linear-gradient(180deg, #faf8ff, rgba(237, 233, 254, 0.55)); }
.slim-head { position: fixed; left: 0; right: 0; top: var(--nav-h, 64px); z-index: 150; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid rgba(124, 58, 237, 0.12); box-shadow: 0 16px 30px -26px rgba(76, 29, 149, 0.6); transform: translateY(-110%); opacity: 0; visibility: hidden; transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0s linear 0.42s; }
.slim-head.on { transform: none; opacity: 1; visibility: visible; transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0s; }
.slim-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
.slim-title { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The steps only show while the question form is on screen. */
body:not(:has(.composer)) .slim-steps { display: none; }
.slim-steps { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; counter-reset: st; }
.slim-steps li { counter-increment: st; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: rgba(28, 23, 48, 0.5); padding: 5px 11px 5px 5px; border-radius: 100px; background: rgba(124, 58, 237, 0.06); transition: color 0.3s ease, background 0.3s ease; }
.slim-steps li::before { content: counter(st); width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #7c3aed; background: #fff; border: 1px solid rgba(124, 58, 237, 0.2); }
.slim-steps li.done { color: #1c1730; background: rgba(16, 185, 129, 0.1); }
.slim-steps li.done::before { content: "✓"; color: #fff; border-color: transparent; background: #10b981; }
@media (max-width: 720px) { .slim-steps li { font-size: 0; gap: 0; padding: 3px; } .slim-title { font-size: 17px; } }

.spinner.light { border-color: rgba(255, 255, 255, 0.35); border-top-color: #fff; width: 18px; height: 18px; vertical-align: middle; }

/* ── Sign-in card ── */
.auth-card { display: grid; grid-template-columns: 0.95fr 1.05fr; max-width: 940px; margin: 0 auto; border-radius: 30px; overflow: hidden; background: #fff; border: 1px solid rgba(28, 23, 48, 0.07); box-shadow: 0 40px 90px -46px rgba(76, 29, 149, 0.55); }
.auth-side { position: relative; overflow: hidden; color: #fff; background: linear-gradient(150deg, #1c1730, #2e1a5e 55%, #4c1d95); padding: clamp(28px, 4vw, 44px); display: flex; }
.auth-glow { position: absolute; border-radius: 50%; filter: blur(50px); pointer-events: none; animation: auroraDrift 18s ease-in-out infinite; }
.auth-glow.a { width: 300px; height: 300px; top: -90px; right: -70px; background: radial-gradient(circle, rgba(236, 72, 153, 0.55), transparent 70%); }
.auth-glow.b { width: 320px; height: 320px; bottom: -120px; left: -90px; background: radial-gradient(circle, rgba(59, 130, 246, 0.5), transparent 70%); animation-delay: -7s; }
.auth-side-inner { position: relative; display: flex; flex-direction: column; gap: 18px; }
.auth-badge { align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 13px; border-radius: 100px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); }
.auth-side h2 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.12; }
.auth-points { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
.auth-points li span { flex-shrink: 0; width: 24px; height: 24px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; background: linear-gradient(135deg, #a855f7, #ec4899); }
.auth-foot { margin-top: auto; padding-top: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.6); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.auth-main { padding: clamp(26px, 4vw, 42px); display: flex; flex-direction: column; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 100px; background: rgba(124, 58, 237, 0.08); margin-bottom: 24px; }
.seg button { position: relative; z-index: 1; border: none; background: none; cursor: pointer; font: 700 14px "Outfit", sans-serif; color: #7c3aed; padding: 10px 12px; border-radius: 100px; transition: color 0.3s ease; }
.seg button.on { color: #fff; }
.seg-pill { position: absolute; top: 5px; left: 5px; width: calc(50% - 5px); height: calc(100% - 10px); border-radius: 100px; background: linear-gradient(120deg, #3b82f6, #a855f7 55%, #ec4899); box-shadow: 0 10px 22px -10px rgba(124, 58, 237, 0.7); transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.auth-main h3 { font-family: "Bricolage Grotesque", sans-serif; font-size: 24px; letter-spacing: -0.01em; }
.auth-sub { font-size: 14.5px; color: rgba(28, 23, 48, 0.6); margin: 4px 0 20px; }
.google-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 13px 18px; border-radius: 14px; border: 1.5px solid rgba(28, 23, 48, 0.12); background: #fff; font: 700 15px "Outfit", sans-serif; color: #1c1730; cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.google-btn:hover { border-color: rgba(124, 58, 237, 0.4); box-shadow: 0 12px 26px -16px rgba(124, 58, 237, 0.6); transform: translateY(-1px); }
.auth-main .or { margin: 20px 0; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.in-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: rgba(28, 23, 48, 0.75); }
.in-field input { background: #faf8ff; border-color: rgba(124, 58, 237, 0.14); }
.auth-submit { width: 100%; margin-top: 4px; }

/* ── The composer ── */
.who { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: rgba(28, 23, 48, 0.62); background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(124, 58, 237, 0.14); padding: 5px 12px 5px 5px; border-radius: 100px; margin: 0; }
.who-avatar { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #3b82f6, #a855f7); }
.who b { color: #1c1730; }
.mine > .who, .app-section .wrap-narrow > div > .who { margin-bottom: 14px; }
.composer { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; max-width: 1080px; margin: 0 auto; }
.compose-card { background: #fff; border-radius: 28px; border: 1px solid rgba(28, 23, 48, 0.07); box-shadow: 0 40px 90px -46px rgba(76, 29, 149, 0.5); }
.compose-head { border-radius: 28px 28px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 22px 28px; background: linear-gradient(135deg, rgba(59, 130, 246, 0.07), rgba(168, 85, 247, 0.08), rgba(236, 72, 153, 0.06)); border-bottom: 1px solid rgba(124, 58, 237, 0.1); }
.compose-title { font-family: "Bricolage Grotesque", sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin-top: 3px; }
.c-block { padding: 20px 28px 0; }
.c-label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.c-label em { font-style: normal; font-size: 12px; font-weight: 700; color: rgba(28, 23, 48, 0.45); }
.c-step { width: 22px; height: 22px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #3b82f6, #a855f7); transition: background 0.3s ease; }
.c-block.done .c-step { font-size: 0; background: #10b981; }
.c-block.done .c-step::after { content: "✓"; font-size: 12px; }
.c-count { margin-left: auto; font-size: 12px; font-weight: 700; color: rgba(28, 23, 48, 0.4); }
.c-count span { color: #7c3aed; }
.c-title { font-family: "Bricolage Grotesque", sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; padding: 14px 16px; background: #faf8ff; border-color: rgba(124, 58, 237, 0.14); }
.c-title::placeholder { font-weight: 500; color: rgba(28, 23, 48, 0.35); }
.c-body { min-height: 112px; background: #faf8ff; border-color: rgba(124, 58, 237, 0.14); overflow: hidden; }
.c-hint { font-size: 12.5px; color: rgba(28, 23, 48, 0.5); margin-top: 8px; }
.c-flair-icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; background: rgba(124, 58, 237, 0.08); }
.c-select { position: relative; text-align: left; }
.c-select-btn { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer; padding: 10px 16px 10px 10px; border-radius: 14px; border: 1.5px solid rgba(124, 58, 237, 0.14); background: #faf8ff; font: inherit; color: #1c1730; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.c-select-btn:hover { border-color: rgba(124, 58, 237, 0.38); background: #fff; }
.c-select-btn:focus-visible, .c-select.open .c-select-btn { outline: none; border-color: #7c3aed; background: #fff; box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12); }
.c-select-value { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.opt-text { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.opt-text b { font-size: 14.5px; font-weight: 800; }
.opt-text small { font-size: 12.5px; color: rgba(28, 23, 48, 0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chev { flex-shrink: 0; color: #7c3aed; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.c-select.open .chev { transform: rotate(180deg); }
.c-select-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; max-height: 340px; overflow-y: auto; border-radius: 16px; background: #fff; border: 1px solid rgba(124, 58, 237, 0.14); box-shadow: 0 30px 60px -30px rgba(76, 29, 149, 0.55); opacity: 0; visibility: hidden; transform: translateY(-6px) scale(0.98); transform-origin: top; transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.25s; }
.c-select.open .c-select-list { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s; }
.c-select-list li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 11px; cursor: pointer; }
.c-select-list li .opt-text { flex: 1; }
.c-select-list li:hover, .c-select-list li.active { background: rgba(124, 58, 237, 0.07); }
.c-select-list li .tick { opacity: 0; color: #7c3aed; font-weight: 800; }
.c-select-list li[aria-selected="true"] .tick { opacity: 1; }
.c-select-list li[aria-selected="true"] .c-flair-icon { background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(236, 72, 153, 0.18)); }
.c-postas { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; }
.toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 100px; background: rgba(124, 58, 237, 0.08); min-width: 300px; }
.toggle label { position: relative; z-index: 1; cursor: pointer; text-align: center; font-size: 13.5px; font-weight: 700; color: #7c3aed; padding: 9px 12px; border-radius: 100px; white-space: nowrap; transition: color 0.3s ease; }
.toggle label.on { color: #fff; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.toggle label:focus-within { outline: 3px solid #7c3aed; outline-offset: 2px; }
.toggle-pill { position: absolute; top: 4px; left: 4px; width: calc(50% - 4px); height: calc(100% - 8px); border-radius: 100px; background: linear-gradient(120deg, #3b82f6, #a855f7 55%, #ec4899); box-shadow: 0 10px 20px -10px rgba(124, 58, 237, 0.7); transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.c-small { padding: 11px 14px; font-size: 14.5px; background: #faf8ff; border-color: rgba(124, 58, 237, 0.14); }
.compose-card .form-error { margin: 18px 28px 0; }
.compose-foot { border-radius: 0 0 28px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding: 18px 28px; border-top: 1px solid rgba(28, 23, 48, 0.07); background: rgba(250, 248, 255, 0.7); }
.compose-foot p { font-size: 12.5px; line-height: 1.5; color: rgba(28, 23, 48, 0.55); max-width: 340px; }
.compose-foot .submit { flex-shrink: 0; }

.compose-side { position: sticky; top: calc(var(--nav-h, 64px) + 78px); display: flex; flex-direction: column; gap: 14px; }
.preview-label { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #7c3aed; display: flex; align-items: center; gap: 8px; }
.preview-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ec4899; animation: pulseDot 2s infinite; }
.preview-card { pointer-events: none; }
.preview-card h3 { word-break: break-word; }
.preview-card p { word-break: break-word; }
.tips { border-radius: 20px; padding: 18px 20px; background: rgba(255, 255, 255, 0.75); border: 1px dashed rgba(124, 58, 237, 0.3); }
.tips-title { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.tips ul { margin: 0; padding-left: 18px; }
.tips li { font-size: 13.5px; line-height: 1.6; color: rgba(28, 23, 48, 0.68); }
.done-card { max-width: 640px; margin: 0 auto; }

@media (max-width: 980px) {
  .composer { grid-template-columns: 1fr; }
  .compose-side { position: static; }
  .auth-card { grid-template-columns: 1fr; max-width: 560px; }
  .auth-side { padding: 26px; }
  .auth-points li:nth-child(n + 2) { display: none; }
  .auth-foot { display: none; }
}
@media (max-width: 620px) {
  .compose-head, .c-block, .compose-foot { padding-left: 18px; padding-right: 18px; }
  .compose-card .form-error { margin: 18px 18px 0; }
  .c-postas { grid-template-columns: 1fr; }
  .toggle { min-width: 0; }
  .compose-foot { flex-direction: column; align-items: stretch; }
  .compose-foot .submit { width: 100%; }
  .c-select-list { max-height: 300px; }
}

/* Buttons drawn as <button> lose the browser frame, like the link buttons. */
button.btn { border: none; cursor: pointer; font-family: "Outfit", sans-serif; }
button.btn-ghost { border: 1px solid rgba(28, 23, 48, 0.14); }
button.btn:disabled { opacity: 0.75; cursor: wait; transform: none; }

/* ── 👍 Helpful, at the end of an article ── */
.helpful { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 26px 0 0; padding: 16px 18px; border-radius: 18px; background: linear-gradient(135deg, rgba(59, 130, 246, 0.07), rgba(168, 85, 247, 0.08), rgba(236, 72, 153, 0.06)); border: 1px solid rgba(124, 58, 237, 0.12); }
.helpful .h-q { font-size: 15px; font-weight: 700; color: #1c1730; }
.helpful-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 100px; border: 1.5px solid rgba(124, 58, 237, 0.25); background: #fff; font: 700 14px "Outfit", sans-serif; color: #7c3aed; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease; }
.helpful-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -14px rgba(124, 58, 237, 0.7); }
.helpful-btn.on { color: #fff; border-color: transparent; background: linear-gradient(120deg, #3b82f6, #a855f7 55%, #ec4899); cursor: default; }
.helpful-btn:disabled { cursor: default; }
.helpful-btn .h-count { min-width: 22px; padding: 1px 7px; border-radius: 100px; font-size: 12px; background: rgba(124, 58, 237, 0.1); text-align: center; }
.helpful-btn.on .h-count { background: rgba(255, 255, 255, 0.25); }
.helpful .h-thanks { font-size: 13.5px; font-weight: 600; color: #0f766e; }

/* ══ Editorial pages: articles and answered questions ══════════════════
   Left-aligned, measured type, one quiet accent — a publication, not a flyer. */
/* The title block lines up with the text inside the reading card below it:
   same container as that card, indented by the card's own padding. */
.wrap-read { margin: 0 auto; padding: 0 24px 0 calc(24px + clamp(26px, 4.5vw, 56px)); }
.wrap-read.ed-article { max-width: 1180px; }
.wrap-read.ed-article > * { max-width: 760px; }
.wrap-read.ed-qa { max-width: 860px; padding-right: calc(24px + clamp(26px, 4.5vw, 56px)); }
.editorial-hero { padding: 22px 0 clamp(64px, 8vw, 96px); background: linear-gradient(180deg, #f6f2ff 0%, #fbf8ff 55%, #fdfaf5 100%); border-bottom: 1px solid rgba(28, 23, 48, 0.05); }
.editorial-hero .hero-inner { text-align: left; }
.editorial-hero .crumbs { justify-content: flex-start; margin-bottom: 28px; font-size: 12.5px; }
.editorial-hero .crumbs span:last-child { max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; font-weight: 700; color: rgba(28, 23, 48, 0.55); }
.ed-kicker .flair { font-size: 12px; }
.ed-cat { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #7c3aed; text-decoration: none; }
.ed-cat:hover { color: #be185d; }
.ed-dot { color: rgba(28, 23, 48, 0.3); }
.editorial-hero h1 { font-size: clamp(30px, 3.9vw, 46px); line-height: 1.12; letter-spacing: -0.025em; margin: 16px 0 16px; max-width: 22ch; text-wrap: balance; }
.editorial-hero .lead { margin: 0; max-width: 62ch; font-size: clamp(16.5px, 1.5vw, 18.5px); color: rgba(28, 23, 48, 0.66); }
.editorial-hero .meta { justify-content: flex-start; margin-top: 24px; }
.editorial-hero .author-chip { background: none; border: none; padding: 0; }
.ed-meta { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; color: rgba(28, 23, 48, 0.62); }
.ed-meta b { color: #1c1730; }
.ed-meta small { display: block; font-size: 12.5px; color: rgba(28, 23, 48, 0.5); }
.ed-av { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #64748b, #334155); }

/* The reading column */
.paper { border-radius: 22px; box-shadow: 0 1px 0 rgba(28, 23, 48, 0.04), 0 24px 60px -40px rgba(30, 18, 64, 0.35); }
.prose { font-size: 17.5px; line-height: 1.78; color: rgba(28, 23, 48, 0.84); }
.prose h2 { font-size: clamp(23px, 2.6vw, 28px); margin: 44px 0 12px; }
.prose h2::before { width: 28px; height: 3px; margin-bottom: 12px; background: #7c3aed; }
.prose h3 { font-size: 19px; margin: 30px 0 8px; }
.prose ul li::before { left: 12px; top: 0.78em; width: 6px; height: 6px; background: #7c3aed; }
.prose ol li::before { width: 24px; height: 24px; border-radius: 50%; font-size: 12.5px; color: #6d28d9; background: rgba(124, 58, 237, 0.1); }
.prose blockquote { font-family: "Outfit", sans-serif; font-size: 17px; line-height: 1.7; padding: 18px 22px; border-radius: 14px; background: #f7f4ff; border-left: 3px solid #7c3aed; color: rgba(28, 23, 48, 0.86); }
.prose .table-wrap { margin: 24px 0 28px; overflow-x: auto; border-radius: 14px; border: 1px solid rgba(124, 58, 237, 0.16); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.55; }
.prose th { text-align: left; padding: 12px 16px; font-weight: 800; color: #1c1730; background: #f7f4ff; }
.prose td { padding: 11px 16px; border-top: 1px solid rgba(124, 58, 237, 0.10); vertical-align: top; }
.prose td:first-child { font-weight: 700; color: #1c1730; }
.prose blockquote strong { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #7c3aed; margin-bottom: 4px; }
.toc { border-radius: 18px; }
.toc li::before { color: rgba(28, 23, 48, 0.35); }
.side-cta, .cta-frame { box-shadow: none; }

/* Answered questions */

.react-row { gap: 12px; margin: 22px 0 4px; }
.react { gap: 8px; font-size: 14px; padding: 9px 16px; border: 1px solid rgba(28, 23, 48, 0.14); border-radius: 12px; color: rgba(28, 23, 48, 0.78); }
.react .ic { width: 17px; height: 17px; }
.react:hover { transform: none; border-color: rgba(124, 58, 237, 0.45); color: #6d28d9; }
.react b { font-weight: 800; color: rgba(28, 23, 48, 0.55); padding-left: 8px; border-left: 1px solid rgba(28, 23, 48, 0.12); }
.react.on { color: #6d28d9; border-color: rgba(124, 58, 237, 0.45); background: rgba(124, 58, 237, 0.07); }
.react.on b { color: #6d28d9; }
.react-agree.on { background: rgba(124, 58, 237, 0.07); }
.react-hint { font-size: 13px; color: rgba(28, 23, 48, 0.5); }
.answer { position: relative; margin-top: 30px; padding: clamp(22px, 3vw, 32px); border-radius: 18px; background: #fff; border: 1px solid rgba(28, 23, 48, 0.09); box-shadow: 0 18px 44px -34px rgba(30, 18, 64, 0.4); }
.answer::before { content: ""; position: absolute; left: -1px; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #7c3aed, #ec4899); }
.answer-head { padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid rgba(28, 23, 48, 0.07); }
.answer-head .eyebrow { color: #0f766e; letter-spacing: 0.1em; }
.answer-head .avatar-lg { position: relative; }
.av-check { position: absolute; right: -2px; bottom: -2px; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #10b981; color: #fff; border: 2px solid #fff; }
.av-check svg { width: 11px; height: 11px; }
.expert-name { font-size: 19px; }
.share { border-color: rgba(28, 23, 48, 0.07); }
.share a { background: none; border: 1px solid rgba(28, 23, 48, 0.12); padding: 7px 14px; border-radius: 10px; color: rgba(28, 23, 48, 0.75); }
.share a:hover { color: #6d28d9; background: rgba(124, 58, 237, 0.06); border-color: rgba(124, 58, 237, 0.35); }

/* Question cards */
.us-pill { display: inline-flex; align-items: center; gap: 5px; color: rgba(28, 23, 48, 0.6); background: rgba(28, 23, 48, 0.05); }
.us-pill .ic { width: 15px; height: 15px; }
.expert-badge svg { width: 11px; height: 11px; }

/* Browse by topic */
.topic-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 44px); padding: 14px 16px 14px 22px; border-radius: 18px; background: rgba(255, 255, 255, 0.85); border: 1px solid rgba(28, 23, 48, 0.07); box-shadow: 0 14px 40px -32px rgba(30, 18, 64, 0.45); }
.tb-title { font-family: "Bricolage Grotesque", sans-serif; font-size: 18px; font-weight: 800; color: #1c1730; }
.tb-sub { font-size: 13px; color: rgba(28, 23, 48, 0.55); margin-top: 1px; }
.topic-menu { position: relative; }
.topic-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(28, 23, 48, 0.12); background: #fff; font-size: 14px; font-weight: 700; color: #1c1730; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.topic-menu summary::-webkit-details-marker { display: none; }
.topic-menu summary:hover, .topic-menu[open] summary { border-color: rgba(124, 58, 237, 0.45); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08); }
.topic-menu summary:focus-visible { outline: 3px solid #7c3aed; outline-offset: 2px; }
.tm-k { font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(28, 23, 48, 0.45); }
.tm-chev { width: 16px; height: 16px; color: rgba(28, 23, 48, 0.5); transition: transform 0.2s ease; }
.topic-menu[open] .tm-chev { transform: rotate(180deg); }
.tm-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: min(320px, 86vw); max-height: 380px; overflow-y: auto; padding: 6px; border-radius: 16px; background: #fff; border: 1px solid rgba(28, 23, 48, 0.08); box-shadow: 0 30px 60px -24px rgba(30, 18, 64, 0.45); }
.tm-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; text-decoration: none; color: #1c1730; font-size: 14px; font-weight: 600; }
.tm-item:hover { background: rgba(124, 58, 237, 0.06); color: #1c1730; }
.tm-item.on { background: rgba(124, 58, 237, 0.09); color: #6d28d9; font-weight: 800; }
.tm-ic { width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; background: rgba(28, 23, 48, 0.04); }
.tm-name { flex: 1; }
.tm-item.is-empty { color: rgba(28, 23, 48, 0.5); }
.tm-item.is-empty .tm-ic { opacity: 0.6; }
.tm-n { font-size: 12px; font-weight: 800; color: rgba(28, 23, 48, 0.45); }
@media (max-width: 620px) {
  .topic-bar { padding: 14px; }
  .topic-menu, .topic-menu summary { width: 100%; }
  .topic-menu summary .tm-v { flex: 1; }
  .tm-list { left: 0; right: auto; width: 100%; }
  .editorial-hero h1 { max-width: none; }
  .wrap-read, .wrap-read.ed-qa { padding-left: calc(14px + clamp(26px, 4.5vw, 56px)); padding-right: calc(14px + clamp(26px, 4.5vw, 56px)); }
}
