/* Standalone Explore template — terminology hub + pillar pages.
   Not wired into the main site nav. Uses v2.css tokens. */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.explore-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg-0) 78%, transparent);
  border-bottom: 1px solid var(--border-0);
}
.explore-bar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.explore-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.explore-brand img { height: 22px; width: auto; }
.explore-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-light);
  padding: 3px 8px;
  border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  border-radius: 999px;
  white-space: nowrap;
}
.explore-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.explore-bar-actions .btn { white-space: nowrap; }

.explore-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

.explore-hero {
  padding: 56px 0 36px;
  max-width: 760px;
}
.explore-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 14px;
}
.explore-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--text-0);
  margin-bottom: 16px;
}
.explore-lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 22px;
}
.explore-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  color: var(--text-3);
}

.explore-search {
  margin: 8px 0 36px;
  max-width: 520px;
}
.explore-search input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  color: var(--text-1);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
.explore-search input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.explore-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.explore-cat-chip {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: 999px;
  padding: 6px 12px;
  text-decoration: none;
}
.explore-cat-chip:hover { color: var(--text-0); border-color: var(--brand); }

.explore-section { margin: 48px 0; }
.explore-section h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-0);
  margin-bottom: 8px;
}
.explore-section > p {
  color: var(--text-2);
  max-width: 680px;
  margin-bottom: 20px;
  line-height: 1.65;
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 760px) {
  .term-grid { grid-template-columns: 1fr; }
}

.term-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: 16px;
  padding: 20px 20px 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  min-height: 100%;
}
.term-card:hover {
  border-color: color-mix(in srgb, var(--brand) 50%, var(--border-1));
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(111, 81, 206, 0.1);
}
.term-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--text-0);
  margin-bottom: 8px;
}
.term-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}
.term-card .term-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-light);
}
.term-card.is-hidden { display: none; }

/* Pillar long-read */
.pillar-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-top: 28px;
}
@media (max-width: 900px) {
  .pillar-layout { grid-template-columns: 1fr; }
  .pillar-toc { display: none; }
}
.pillar-toc {
  position: sticky;
  top: 76px;
  font-size: 13px;
}
.pillar-toc p {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.pillar-toc a {
  display: block;
  color: var(--text-3);
  padding: 6px 0;
  border-left: 2px solid var(--border-0);
  padding-left: 12px;
  line-height: 1.4;
}
.pillar-toc a:hover,
.pillar-toc a.is-active {
  color: var(--text-0);
  border-left-color: var(--brand);
}

.pillar-body { max-width: 740px; padding-bottom: 24px; }
.pillar-body h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-0);
  margin: 2.4em 0 0.7em;
  padding-top: 0.4em;
  border-top: 1px solid var(--border-0);
  scroll-margin-top: 84px;
}
.pillar-body [id] { scroll-margin-top: 84px; }
.pillar-body h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.pillar-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.12rem;
  font-weight: 750;
  color: var(--text-0);
  margin: 1.6em 0 0.5em;
}
.pillar-body p,
.pillar-body li {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-2);
}
.pillar-body p { margin-bottom: 1.15em; }
.pillar-body ul, .pillar-body ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.pillar-body li { margin-bottom: 0.45em; }
.pillar-body strong { color: var(--text-1); font-weight: 650; }
.pillar-body a { color: var(--brand-light); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent); text-underline-offset: 3px; }
.pillar-body code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.86em;
  background: color-mix(in srgb, var(--brand) 12%, var(--bg-card));
  color: var(--brand-light);
  padding: 1px 6px;
  border-radius: 4px;
}

.def-box {
  background: color-mix(in srgb, var(--brand) 8%, var(--bg-card));
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--border-1));
  border-radius: 16px;
  padding: 22px 24px;
  margin: 0 0 28px;
}
.def-box p {
  margin: 0;
  color: var(--text-1);
  font-size: 17px;
  line-height: 1.7;
}

.takeaways {
  display: grid;
  gap: 10px;
  margin: 0 0 8px;
}
.takeaway {
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}
.takeaway strong { color: var(--text-0); }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin: 8px 0 24px;
}
.compare-table th,
.compare-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 12px;
  border-bottom: 1px solid var(--border-0);
  color: var(--text-2);
}
.compare-table th {
  color: var(--text-0);
  font-weight: 700;
  font-size: 13px;
}
.compare-table td:first-child { color: var(--text-1); font-weight: 650; width: 28%; }

.domain {
  border: 1px solid var(--border-1);
  border-radius: 14px;
  padding: 18px 18px 8px;
  margin-bottom: 12px;
  background: var(--bg-card);
}
.domain-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 6px;
}

.explore-faq .faq-item {
  border: 1px solid var(--border-1);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--bg-card);
}
.explore-faq .faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--text-0);
  font-weight: 650;
  font-size: 15.5px;
  padding: 14px 16px;
}
.explore-faq .faq-a {
  display: none;
  padding: 0 16px 16px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}
.explore-faq .faq-item.open .faq-a { display: block; }

.explore-cta {
  margin-top: 40px;
  padding: 28px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--brand) 10%, var(--bg-card));
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
}
.explore-cta h2 { border: 0; margin: 0 0 8px; padding: 0; font-size: 1.25rem; }
.explore-cta p { margin-bottom: 16px; }
.explore-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.explore-foot {
  border-top: 1px solid var(--border-0);
  padding: 28px 24px 40px;
}
.explore-foot-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-3);
}
.explore-foot a { color: var(--text-3); }
.explore-foot a:hover { color: var(--text-1); }
.explore-foot-links { display: flex; gap: 14px; }

@media (max-width: 640px) {
  .explore-bar-inner { padding: 10px 16px; }
  .explore-kicker { display: none; }
  .explore-bar-actions .btn-ghost { display: none; }
  .explore-wrap { padding: 0 16px 72px; }
  .explore-hero { padding-top: 36px; }
}
