/* EventPassHero Help Center — design system copied from faq-page.php
 * (build artifact of tutorials/kb/_scripts/build-help.py — do not hand-edit) */
:root {
  --red:        #FB0404;
  --red-soft:   #ffe6e6;
  --red-deep:   #c80303;
  --ink:        #0b0d12;
  --ink-soft:   #525866;
  --ink-softer: #868c98;
  --white:      #ffffff;
  --bg-page:    #ffffff;
  --bg-alt:     #f7f7f8;
  --bg-dark:    #0a0a0b;
  --border:     #e5e7eb;
  --radius:     12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.03);
  --shadow-md:  0 4px 16px rgba(0,0,0,.06);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.12);
  --max:        1100px;
  --font:       'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }

/* NAV (faq-page.php topbar, verbatim) */
.topbar {
  background: var(--bg-dark); color: var(--white);
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: saturate(1.5) blur(6px);
}
.topbar-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 17px; letter-spacing: -.01em;
  color: var(--white); min-width: 0;
}
.brand .mark {
  height: 36px; width: auto;
  border-radius: 50%; background: white; padding: 2px;
  border: 2px solid rgba(255,255,255,.4);
  box-shadow: 0 0 8px rgba(0,0,0,.25);
  transition: box-shadow .3s, transform .3s;
}
.brand .mark:hover { box-shadow: 0 0 12px rgba(251,4,4,.7); transform: scale(1.05); }
.brand .wordmark { height: 18px; width: auto; max-width: 160px; }
.nav-links {
  display: flex; gap: 26px; list-style: none;
  font-size: 14px; font-weight: 600;
}
.nav-links a { color: rgba(255,255,255,.82); transition: color .15s; }
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 999px;
  transition: transform .15s, background .15s, border-color .15s, color .15s, filter .15s;
  white-space: nowrap; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn-ghost-dark {
  background: transparent; color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.22);
}
.btn-ghost-dark:hover { border-color: rgba(255,255,255,.55); }
.btn-ghost {
  background: var(--white); color: var(--ink); border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--ink-softer); }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.mobile-toggle {
  display: none; align-items: center; justify-content: center;
  height: 40px; width: 40px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08); color: #fff;
}
.mobile-menu {
  position: fixed; inset: 64px 0 0 0;
  background: #0b0b0b; color: #fff;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: .2s ease; padding: 1rem 0;
  z-index: 55; border-top: 1px solid rgba(255,255,255,.08);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 28px; display: grid; gap: .75rem;
}
.mobile-menu a {
  padding: .9rem 1rem; border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  color: #fff; font-weight: 600;
}
.mobile-menu .mobile-ctas { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .5rem; }

/* HERO (faq-page.php hero, verbatim look) */
.hero {
  background: var(--bg-dark); color: var(--white);
  padding: 64px 28px 96px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(251,4,4,.22), transparent 60%),
    radial-gradient(900px 400px at 10% 100%, rgba(251,4,4,.10), transparent 60%);
  pointer-events: none;
}
.hero-inner { max-width: 860px; margin: 0 auto; position: relative; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); }
h1.hero-title {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.06; letter-spacing: -.02em;
  font-weight: 900;
  margin: 20px auto 14px; max-width: 820px;
}
.hero-title .accent { color: var(--red); }
p.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,.78);
  max-width: 640px; margin: 0 auto 26px; line-height: 1.55;
}
.search-bar { max-width: 540px; margin: 0 auto 6px; position: relative; }
.search-bar input {
  width: 100%;
  padding: 16px 48px 16px 46px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .15s, background .15s;
  outline: none;
}
.search-bar input::placeholder { color: rgba(255,255,255,.5); }
.search-bar input:focus { border-color: var(--red); background: rgba(255,255,255,.1); }
.search-bar .search-icon {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,.55); font-size: 15px;
}
.search-bar .clear-btn {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); color: var(--white);
  width: 28px; height: 28px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  font-size: 13px;
}
.search-bar .clear-btn:hover { background: rgba(255,255,255,.22); }
.search-bar.has-value .clear-btn { display: inline-flex; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* AUDIENCE TABS (faq-page.php pills, verbatim look) */
.pillrow {
  max-width: var(--max); margin: -54px auto 0;
  padding: 0 28px; position: relative; z-index: 5;
}
.pills {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 14px; display: flex; gap: 6px;
  overflow-x: auto; scrollbar-width: none;
}
.pills::-webkit-scrollbar { display: none; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px;
  font-size: 13.5px; font-weight: 600;
  color: var(--ink-soft); background: transparent;
  white-space: nowrap; transition: background .15s, color .15s;
}
.pill:hover { background: var(--bg-alt); color: var(--ink); }
.pill.active { background: var(--ink); color: var(--white); }
.pill i { font-size: 13px; }

/* INDEX — audience sections + category groups + article cards */
section { scroll-margin-top: 80px; }
.aud-section { max-width: var(--max); margin: 0 auto; padding: 64px 28px 8px; }
.aud-section.hidden-by-tab, .aud-section.hidden-by-search { display: none; }
.section-head { margin-bottom: 8px; }
.kicker {
  color: var(--red);
  font-weight: 800; font-size: 12.5px;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 10px;
}
h2.section-title {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15; letter-spacing: -.02em;
  font-weight: 800; color: var(--ink);
}
h3.cat-title {
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-softer); margin: 28px 0 14px;
}
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card-grid .hidden-by-search { display: none; }
.cat-group.hidden-by-search { display: none; }
.card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--red); }
.card h3 { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.card .card-more {
  margin-top: auto; padding-top: 6px;
  font-size: 13px; font-weight: 700; color: var(--red);
}
.help-zero {
  display: none;
  max-width: var(--max); margin: 40px auto 0;
  padding: 28px;
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: 16px;
  text-align: center;
}
.help-zero.active { display: block; }
.help-zero h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.help-zero p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 14px; }

/* ARTICLE PAGE — ~760px column */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 40px 24px 24px; }
.crumbs {
  font-size: 13px; font-weight: 600; color: var(--ink-softer);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--red); }
.crumbs .sep { color: var(--border); }
.crumbs .here { color: var(--ink); }
.article-wrap h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12; letter-spacing: -.02em; font-weight: 900;
  margin-bottom: 16px;
}
.article-wrap h2 {
  font-size: 22px; font-weight: 800; letter-spacing: -.01em;
  margin: 36px 0 10px;
}
.article-wrap h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }
.article-wrap p { font-size: 16px; color: #2c3240; margin: 0 0 14px; line-height: 1.65; }
.article-wrap li { font-size: 16px; color: #2c3240; margin: 6px 0 6px 4px; line-height: 1.6; }
.article-wrap ol, .article-wrap ul { padding-left: 24px; margin-bottom: 14px; }
.article-wrap a { color: var(--red); font-weight: 600; }
.article-wrap a:hover { color: var(--red-deep); }
.article-wrap img {
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); margin: 14px 0 20px;
}
.article-wrap code {
  background: var(--bg-alt); border: 1px solid var(--border);
  padding: 1px 6px; border-radius: 6px; font-size: 14px;
}
.updated {
  color: var(--ink-softer); font-size: 13.5px;
  margin-top: 40px; padding-top: 18px;
  border-top: 1px solid var(--border);
}

/* RELATED */
.related { margin-top: 40px; }
.related h2 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.related .card-grid { grid-template-columns: repeat(2, 1fr); }
.related-videos { list-style: none; padding: 0; margin: 14px 0 0; }
.related-videos li { margin: 8px 0; }
.related-videos a {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 700; color: var(--ink);
}
.related-videos a:hover { color: var(--red); }
.related-videos i { color: var(--red); font-size: 16px; }

/* CTA STRIP (dark, mirrors faq still-questions) */
.cta-strip {
  background: var(--bg-dark); color: var(--white);
  padding: 72px 28px; margin-top: 56px;
  text-align: center;
}
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-strip h2 {
  font-size: clamp(26px, 3.3vw, 36px);
  line-height: 1.1; letter-spacing: -.02em; font-weight: 800;
  margin-bottom: 10px;
}
.cta-strip p { font-size: 16px; color: rgba(255,255,255,.7); margin-bottom: 26px; }

/* 404 */
.help-404 { max-width: 640px; margin: 0 auto; padding: 72px 24px 40px; text-align: center; }
.help-404 .code { font-size: 60px; font-weight: 900; color: var(--red); letter-spacing: -.03em; }
.help-404 h1 { font-size: 30px; font-weight: 800; margin: 8px 0 10px; }
.help-404 p { font-size: 16px; color: var(--ink-soft); margin-bottom: 22px; }
.help-404 .search-bar input { background: var(--bg-alt); border-color: var(--border); color: var(--ink); }
.help-404 .search-bar input::placeholder { color: var(--ink-softer); }
.help-404 .search-bar .search-icon { color: var(--ink-softer); }
.popular { text-align: left; margin: 30px auto 0; max-width: 480px; }
.popular h5 {
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-softer); margin-bottom: 10px;
}
.popular ul { list-style: none; }
.popular li { margin: 8px 0; }
.popular a { color: var(--ink); font-weight: 600; font-size: 15px; }
.popular a:hover { color: var(--red); }

/* FOOTER (faq-page.php, verbatim) */
footer.site-footer {
  background: #050506; color: rgba(255,255,255,.7);
  padding: 56px 28px 32px; font-size: 14px;
}
.foot-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
}
.foot-brand .brand { color: var(--white); margin-bottom: 12px; }
.foot-brand p { font-size: 13.5px; color: rgba(255,255,255,.55); max-width: 320px; }
.foot-col h5 {
  font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--white); margin-bottom: 14px;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.foot-col a:hover { color: var(--white); }
.foot-bottom {
  max-width: var(--max); margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255,255,255,.45);
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-toggle { display: inline-flex; }
}
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .related .card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) { .foot-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .brand .wordmark { display: none; }
  .hide-mobile { display: none !important; }
  .card-grid { grid-template-columns: 1fr; }
  .aud-section { padding-top: 44px; }
}
