/* ==========================================================================
   Futureative Help Site: brand stylesheet for Help Scout Docs
   Matches futureative.com (Oct 2026): Anybody / Readex Pro / JetBrains Mono /
   Instrument Serif, navy base, pastel accents used sparingly.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anybody:wght@700;800;900&family=Readex+Pro:wght@400;500;600&family=JetBrains+Mono:wght@500;700&family=Instrument+Serif&display=swap');

:root {
  --navy: #051133;
  --ink: #020615;
  --blue: #2f66d0;
  --white: #ffffff;
  --paper: #f7f8fb;
  --line: #dfe3ec;

  /* accents from futureative.com */
  --mint: #8fd0b4;
  --mint-soft: #dcebe6;
  --coral: #f69a82;
  --coral-soft: #feded4;
  --amber: #f8cf7c;
  --sky: #98bff6;
  --lilac: #b79ae5;
  --rose: #e9a8c9;

  --font-head: 'Anybody', 'Arial Black', sans-serif;
  --font-body: 'Readex Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-serif: 'Instrument Serif', Georgia, serif;

  --radius: 12px;
}

/* ---------- Base ---------- */
body {
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body, p, li, td, th, input, textarea, select, button,
#fullArticle, #fullArticle p, #fullArticle li, #fullArticle div, #fullArticle td {
  font-family: var(--font-body);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
}
a { color: var(--blue); }
::selection { background: var(--amber); color: var(--navy); }

/* ---------- Top nav ---------- */
.navbar .navbar-inner {
  background: var(--navy);
  border: 0;
  box-shadow: none;
  min-height: 72px;
}
.navbar .brand { padding-top: 14px; padding-bottom: 14px; }
.navbar .brand img {
  height: 64px !important;
  max-height: none !important;
  width: auto !important;
  max-width: 320px !important;
}
.navbar .nav { margin-top: 28px; }
.navbar .nav li a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--mint-soft);
  padding: 8px 16px;
  margin-left: 4px;
  border-radius: 999px;
  text-shadow: none;
  transition: background .15s, color .15s;
}
.navbar .nav li a:hover,
.navbar .nav li a:focus {
  background: rgba(255,255,255,.1);
  color: var(--white);
}
.navbar .nav .active a,
.navbar .nav .active a:hover,
.navbar .nav .active a:focus {
  background: var(--mint);
  color: var(--navy);
}
/* remove Help Scout's little caret under the active link */
.navbar .nav li a:after,
.navbar .nav li a:before,
.navbar .nav .active a:after,
.navbar .nav .active a:before { display: none !important; }
.navbar .btn-navbar { background: transparent; border: 1px solid rgba(255,255,255,.3); }
.navbar .btn-navbar .icon-bar { background: var(--white); box-shadow: none; }

/* ---------- Search hero (home page) ---------- */
#docsSearch {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(152,191,246,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(152,191,246,.14) 1px, transparent 1px);
  background-size: 32px 32px;
  border: 0;
  padding: 64px 20px 72px;
  margin-bottom: 0;
}
#docsSearch h1 {
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 760px;
  margin: 0 auto 28px;
}
#searchBar {
  max-width: 640px;
  padding: 0;
  position: relative;
}
#searchBar .search-query {
  font-family: var(--font-body);
  font-size: 17px;
  height: 58px;
  padding: 0 20px;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  box-shadow: none;
}
#searchBar .search-query::placeholder { color: #6b7591; }
#searchBar .search-query:focus {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}
#searchBar button {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 16px;
  height: 46px;
  top: 6px;
  right: 6px;
  padding: 0 22px;
  background: var(--navy);
  color: var(--white);
  border: 0;
  border-radius: 9px;
  box-shadow: 3px 3px 0 var(--coral);
  text-shadow: none;
  transition: transform .12s, box-shadow .12s;
}
#searchBar button:hover {
  background: var(--navy);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--coral);
}
#searchBar button span { font-family: var(--font-head); }

/* sidebar search on category / article pages */
#searchBar.sm .search-query {
  height: 46px;
  font-size: 15px;
  border-width: 2px;
}
#searchBar.sm button {
  height: 34px;
  top: 6px;
  right: 6px;
  padding: 0 12px;
  box-shadow: 2px 2px 0 var(--coral);
}

/* live search dropdown */
#serp-dd {
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--sky);
  overflow: hidden;
}
#serp-dd .result a { font-family: var(--font-body); color: var(--navy); }
#serp-dd .result > li.active,
#serp-dd .result a:hover { background: var(--mint-soft); color: var(--navy); }

/* ---------- Content area ---------- */
#contentArea { padding-top: 56px; }

/* section headings get the brand "highlight block" treatment */
.most-pop-articles h2,
.collection-category h2,
#categoryHead h1 {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 26px;
  line-height: 1.15;
  color: var(--navy);
  background: var(--mint-soft);
  padding: 6px 14px;
  margin-bottom: 28px;
}
.most-pop-articles { text-align: center; }
.most-pop-articles .popArticles { text-align: left; }

/* popular article list */
.most-pop-articles .popArticles a,
.articleList a {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--navy);
  line-height: 1.45;
  text-decoration: none;
}
.most-pop-articles .popArticles a:hover span,
.articleList a:hover span {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.most-pop-articles .popArticles li,
.articleList li { padding-bottom: 6px; }
.icon-article-doc { color: var(--coral) !important; }

hr.sep {
  border: 0;
  border-top: 2px dashed var(--line);
  margin: 48px 0;
}
/* Help Scout adds its own dotted rule here too; hide it so there's only one line */
.most-pop-articles { border-bottom: 0 !important; }
.most-pop-articles:after, hr.sep:after, hr.sep:before { display: none !important; }

/* ---------- Category cards (home page) ---------- */
.category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin: 0;
  padding: 0;
  border: 0;
}
.category-list:before,
.category-list:after { display: none !important; }
.category-list .category {
  float: none;
  width: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--mint);
  padding: 32px 20px 28px;
  margin: 0;
  transition: transform .15s, box-shadow .15s;
}
.category-list .category:nth-child(6n+2) { box-shadow: 5px 5px 0 var(--coral); }
.category-list .category:nth-child(6n+3) { box-shadow: 5px 5px 0 var(--amber); }
.category-list .category:nth-child(6n+4) { box-shadow: 5px 5px 0 var(--sky); }
.category-list .category:nth-child(6n+5) { box-shadow: 5px 5px 0 var(--lilac); }
.category-list .category:nth-child(6n+6) { box-shadow: 5px 5px 0 var(--rose); }
.category-list .category:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--navy);
}
.category-list h3 {
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 19px;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 12px;
}
.category-list .category .article-count,
.category-list .category:hover .article-count {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  padding: 3px 10px;
  margin: 0;
}
.category-list .category .article-count span { font-family: var(--font-mono); }

/* ---------- Category page ---------- */
#categoryHead { margin-bottom: 20px; }
#categoryHead h1 { font-size: 30px; margin-bottom: 12px; }
#categoryHead .descrip {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.3;
  color: var(--navy);
}
#categoryHead .sort select { font-family: var(--font-body); border-radius: 8px; }
.articleList { border-top: 2px solid var(--navy); padding-top: 20px; }
.contentWrapper {
  border: 0;
  box-shadow: none;
  background: var(--white);
  padding: 0 40px 40px 0;
}

/* ---------- Article page ---------- */
#fullArticle { max-width: 720px; }
#fullArticle .title {
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 34px;
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  padding-right: 40px;
}
#fullArticle hr { border: 0; border-top: 2px solid var(--navy); margin: 0 0 28px; }
#fullArticle,
#fullArticle p,
#fullArticle ul,
#fullArticle ol,
#fullArticle li,
#fullArticle dd,
#fullArticle blockquote,
#fullArticle table {
  font-size: 17px;
  line-height: 1.7;
  color: var(--navy);
}
#fullArticle p { margin-bottom: 1.1em; }
#fullArticle h2 {
  font-size: 22px;
  text-transform: uppercase;
  margin: 40px 0 12px;
  line-height: 1.2;
}
#fullArticle h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0;
  margin: 30px 0 8px;
}
#fullArticle h4 {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 24px 0 6px;
}
#fullArticle a,
#fullArticle strong a,
#fullArticle a strong {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
#fullArticle a:hover { color: var(--navy); background: var(--amber); text-decoration: none; }
#fullArticle strong { font-weight: 600; }
#fullArticle ul li::marker { color: var(--coral); }
#fullArticle ol li::marker { font-family: var(--font-mono); font-weight: 700; color: var(--navy); }
#fullArticle img {
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  max-width: 100%;
  height: auto;
}
#fullArticle blockquote {
  border-left: 4px solid var(--coral);
  background: var(--paper);
  padding: 14px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.4;
}
#fullArticle code {
  font-family: var(--font-mono);
  font-size: .88em;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--navy);
}
#fullArticle table { border-collapse: collapse; width: 100%; }
#fullArticle th {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--navy);
  color: var(--white);
}
#fullArticle th, #fullArticle td { border: 1px solid var(--line); padding: 10px 12px; }
.printArticle { color: var(--navy); opacity: .5; }
.printArticle:hover { opacity: 1; }

/* Help Scout callout boxes (Insert > Callout in the editor) */
#fullArticle .callout,
#fullArticle .callout-blue,
#fullArticle .callout-green,
#fullArticle .callout-yellow,
#fullArticle .callout-red {
  border: 2px solid var(--navy);
  border-left-width: 2px;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--sky);
}
#fullArticle .callout-green  { box-shadow: 4px 4px 0 var(--mint); }
#fullArticle .callout-yellow { box-shadow: 4px 4px 0 var(--amber); }
#fullArticle .callout-red    { box-shadow: 4px 4px 0 var(--coral); }

/* "Did this answer your question?" */
.articleRatings {
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  background: var(--paper);
  max-width: 720px;
  padding: 18px;
  margin-top: 40px;
}
.articleRatings-question {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 15px;
  color: var(--navy);
}

.articleFoot { max-width: 720px; }
.articleFoot p, .articleFoot time {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #59627c;
}
.articleFoot a, .contactUs { color: var(--blue); font-weight: 700; }

/* ---------- Sidebar ---------- */
#sidebar h3 {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
  margin: 28px 0 10px;
}
#sidebar .nav-list { margin: 0; }
#sidebar .nav-list li a {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--navy);
  padding: 8px 12px;
  border-radius: 8px;
  text-shadow: none;
}
#sidebar .nav-list li a:hover { background: var(--paper); color: var(--navy); }
#sidebar .nav-list .active a,
#sidebar .nav-list .active a:hover {
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
}
#sidebar .nav-list .icon-arrow { display: none; }

/* ---------- Footer ---------- */
footer, footer.center {
  border-top: 2px solid var(--navy);
  margin-top: 64px;
  padding: 24px 0 40px;
}
footer p, footer a, footer span {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--navy) !important;
}

/* ---------- Category & article page fixes ---------- */
/* remove Help Scout's grey shadow image down the left of the content */
#main-content {
  background: none !important;
  box-shadow: none !important;
  padding: 32px 0 0 40px;
}

/* category heading: tighter, no empty gap */
#categoryHead { margin-bottom: 0; }
#categoryHead h1 { margin: 0 0 16px; }
#categoryHead .descrip:empty { display: none; }
#categoryHead .descrip { margin: 4px 0 16px; }

/* article list: tidy rows with divider lines instead of big gaps */
.articleList {
  font-size: 16px;
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  border-top: 2px solid var(--navy);
}
.articleList li {
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--line);
}
.articleList li a {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 !important;
  padding: 16px 8px;
  font-size: 17px;
  line-height: 1.4;
  color: var(--navy);
  border-radius: 8px;
  transition: background .12s;
}
.articleList li a:hover { background: var(--paper); }
.articleList li a:after {
  content: "\2192";
  margin-left: auto;
  font-family: var(--font-mono);
  color: var(--coral);
  font-weight: 700;
  opacity: 0;
  transition: opacity .12s;
}
.articleList li a:hover:after { opacity: 1; }
.articleList .icon-article-doc { flex: none; margin: 0 !important; opacity: .8; }

/* sidebar search: navy outline, plain icon button, no shadow */
#sidebar #searchBar .search-query,
#searchBar.sm .search-query {
  border: 2px solid var(--navy) !important;
  border-radius: 10px;
  height: 46px;
  padding: 0 40px 0 14px;
}
#sidebar #searchBar button,
#searchBar.sm button {
  background: transparent !important;
  box-shadow: none !important;
  color: var(--navy);
  height: 34px;
  width: 34px;
  padding: 0;
  top: 6px;
  right: 6px;
  transform: none !important;
}
#sidebar #searchBar button:hover { color: var(--blue); }

/* sidebar nav: align with heading, drop the arrow */
#sidebar h3 { padding-left: 12px; }
#sidebar .nav-list li a {
  display: block;
  margin: 0 0 2px !important;
  padding: 9px 12px;
}
#sidebar .nav-list li a i,
#sidebar .nav-list .icon-arrow { display: none !important; }

/* ---------- Tablet: two cards per row ---------- */
@media (max-width: 979px) and (min-width: 768px) {
  .category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  #docsSearch { padding: 40px 16px 48px; }
  #docsSearch h1 { font-size: 30px; }
  #searchBar .search-query { height: 52px; font-size: 16px; }
  #searchBar button { height: 40px; padding: 0 14px; }
  .most-pop-articles h2, #categoryHead h1 { font-size: 21px; }
  #fullArticle .title { font-size: 27px; }
  .contentWrapper { padding: 0; }
  #main-content { padding: 24px 0 0; }
  .category-list { grid-template-columns: 1fr; gap: 18px; }
  .navbar .nav li a { margin-left: 0; }
  .navbar .brand img { height: 44px !important; max-width: 220px !important; }
  .navbar .nav { margin-top: 0; }
}

/* ---------- "Still stuck?" contact section (home page) ----------
   The section itself is added by the small script in
   futureative-helpscout-contact-snippet.html (paste into Help Scout's head code). */
.ft-contact {
  grid-column: 1 / -1;
  text-align: center;
  padding: 72px 16px 24px;
  margin-top: 24px;
}
.ft-contact__stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
}
.ft-contact__kicker,
.ft-contact__title {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  border: 3px solid var(--navy);
  border-radius: 6px;
  margin: 0;
}
.ft-contact__kicker {
  position: relative;
  z-index: 2;
  font-size: 56px;
  letter-spacing: -0.02em;
  color: var(--navy);
  background: var(--rose);
  padding: 10px 26px 8px;
  box-shadow: 6px 6px 0 var(--navy);
  transform: rotate(-2deg);
}
.ft-contact__title {
  position: relative;
  z-index: 1;
  font-size: 26px;
  font-weight: 800;
  text-transform: none;
  color: #fdf0dc;
  background: var(--navy);
  padding: 16px 30px;
  margin-top: -6px;
  box-shadow: 6px 6px 0 var(--navy);
  transform: rotate(1.5deg);
}
.ft-contact__text {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.55;
  color: var(--navy);
  max-width: 560px;
  margin: 0 auto 32px;
}
.ft-contact__btn,
.ft-contact__btn:visited {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  color: var(--white) !important;
  background: var(--navy);
  padding: 18px 30px;
  border-radius: 14px;
  box-shadow: 6px 6px 0 var(--amber);
  text-decoration: none !important;
  transition: transform .12s, box-shadow .12s;
}
.ft-contact__btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--amber);
}
.ft-contact__btn svg { width: 20px; height: 20px; }

@media (max-width: 767px) {
  .ft-contact { padding-top: 48px; }
  .ft-contact__kicker { font-size: 36px; padding: 8px 18px 6px; }
  .ft-contact__title { font-size: 18px; padding: 12px 18px; }
  .ft-contact__text { font-size: 17px; }
}
