/* AliveIt Help Center — custom styles for Help Scout Docs
   Upload in: Docs > [site] > Custom Code > Custom Stylesheet URL (upload file) */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --ai-orange: #FF6A13;       /* brand accent: match to logo hex */
  --ai-orange-soft: #FFF3EB;  /* callout background */
  --ai-text: #1F2430;
  --ai-muted: #6B7280;
  --ai-border: #ECEEF2;
  --ai-bg: #F7F8FA;
}

/* Base */
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ai-text);
  background: var(--ai-bg);
}

a { color: var(--ai-orange); }
a:hover, a:focus { color: #E25500; }

/* Header */
#mainNav {
  background: #fff;
  border-bottom: 1px solid var(--ai-border);
}
#mainNav .nav li a,
.navbar .nav > li > a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ai-text);
}
#mainNav .nav li a:hover,
.navbar .nav > li > a:hover,
.navbar .nav > li.active > a {
  color: var(--ai-orange);
}

/* Sidebar */
#sidebar h3 {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ai-muted);
}
#sidebar .nav-list a {
  font-size: 15px;
  color: var(--ai-text);
}
#sidebar .nav-list .active a,
#sidebar .nav-list a:hover {
  color: var(--ai-orange);
}
#searchBar .search-query,
#sidebar form .search-query {
  border-radius: 10px;
  border-color: var(--ai-border);
}

/* Article container */
#contentArea .contentWrapper {
  border: 1px solid var(--ai-border);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(17, 24, 39, .04);
  padding: 40px 48px;
}

/* Article typography */
#fullArticle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ai-text);
}
#fullArticle .title,
#fullArticle h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}
#fullArticle h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 12px;
}
#fullArticle h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 8px;
}
#fullArticle p,
#fullArticle li {
  font-size: 16px;
  line-height: 1.7;
}
#fullArticle ol,
#fullArticle ul {
  padding-left: 22px;
}
#fullArticle li { margin-bottom: 8px; }
#fullArticle strong { font-weight: 600; }

/* Numbered list: orange numbers */
#fullArticle ol li::marker {
  color: var(--ai-orange);
  font-weight: 700;
}

/* Screenshots */
#fullArticle img {
  border: 1px solid var(--ai-border);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(17, 24, 39, .06);
  margin: 12px 0 20px;
}

/* Callouts: all colors use brand style */
#fullArticle .callout,
#fullArticle .callout-green,
#fullArticle .callout-blue,
#fullArticle .callout-yellow {
  background: var(--ai-orange-soft);
  border: none;
  border-left: 4px solid var(--ai-orange);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 24px 0;
  color: var(--ai-text);
}
#fullArticle .callout-red {
  border-radius: 10px;
  border-left-width: 4px;
}
#fullArticle [class^="callout"] p:last-child { margin-bottom: 0; }

/* Inline code */
#fullArticle code {
  background: #F2F3F5;
  color: var(--ai-text);
  border: none;
  border-radius: 6px;
  padding: 2px 6px;
}

/* Hide "View in Help Scout" button for logged-in editors? Leave visible by default */

/* Feedback & related */
.articleFoot,
.articleRatings {
  border-radius: 12px;
}
.related h3 {
  font-size: 16px;
  font-weight: 700;
}
.related ul li a { color: var(--ai-text); }
.related ul li a:hover { color: var(--ai-orange); }

/* Buttons */
.btn-primary,
#contactModal .btn-primary {
  background: var(--ai-orange);
  border-color: var(--ai-orange);
  border-radius: 10px;
}

/* ===== Homepage ===== */

/* Hero: replace default headline */
#docsSearch {
  background: linear-gradient(180deg, #FFF6F0 0%, var(--ai-bg) 100%);
  border-bottom: none;
  padding: 56px 0 64px;
}
#docsSearch h1 {
  font-size: 0;            /* hides "Common questions and support documentation" */
  margin-bottom: 28px;
}
#docsSearch h1::after {
  content: "Hi! How can we help?";
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--ai-text);
}

/* Search */
#searchBar .search-query {
  height: 56px;
  font-size: 17px;
  border: 1px solid var(--ai-border);
  border-radius: 14px 0 0 14px;
  box-shadow: 0 4px 20px rgba(17, 24, 39, .05);
  padding-left: 20px;
}
#searchBar button {
  height: 56px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 17px;
  background: var(--ai-orange);
  border: none;
  border-radius: 0 14px 14px 0;
  text-shadow: none;
  padding: 0 28px;
}
#searchBar button:hover { background: #E25500; }

/* Collection and category cards */
.collection-category,
.category-list .category,
.most-pop-articles {
  background: #fff;
  border: 1px solid var(--ai-border);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(17, 24, 39, .04);
  transition: box-shadow .2s, transform .2s;
}
.category-list .category:hover {
  box-shadow: 0 8px 28px rgba(255, 106, 19, .12);
  transform: translateY(-2px);
}
.collection-category h2,
.category-list h3,
.most-pop-articles h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--ai-text);
}
.category-list .category p,
.collection-category .description {
  color: var(--ai-muted);
}
.popArticles a,
.most-pop-articles a {
  color: var(--ai-text);
  font-weight: 500;
}
.popArticles a:hover,
.most-pop-articles a:hover { color: var(--ai-orange); }
.popArticles a i,
.most-pop-articles a i { color: var(--ai-orange); }

/* Footer */
footer, footer a { color: var(--ai-muted); }

/* Mobile */
@media (max-width: 768px) {
  #contentArea .contentWrapper { padding: 24px 20px; }
  #fullArticle .title, #fullArticle h1 { font-size: 26px; }
  #fullArticle h2 { font-size: 20px; }
}
