/* Guide Analytics, archived: guideanalytics.ca as it stood in March 2021, rebuilt without its template, jQuery or trackers.
   Colours and sizes are the original's; muted text and nav links are a shade darker so they pass WCAG AA.
   Fonts: DM Sans (with its optical sizes, so big headings sit tight as they did) and Nunito, self-hosted from Google Fonts (SIL OFL 1.1, licences in fonts/). */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/dmsans-latin.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/nunito-latin.woff2") format("woff2"); }
:root { --primary: #2e3190; --primary-hover: #4f53ff; --ink: #343a40; --muted: #737373; --nav: #6f6f88; --light: #fbfbfb; --icon: #726eff; --lilac: #c4c6ff; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 78px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.5 "Nunito", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { font-family: "DM Sans", sans-serif; font-weight: 500; line-height: 1.2; color: var(--ink); }
p { line-height: 1.8; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--primary-hover); outline-offset: 3px; border-radius: 3px; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.muted { color: var(--muted); }
.f-15 { font-size: 15px; }
.f-18 { font-size: 18px; }

/* the archive note */
.archive { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin: 0; padding: 10px 16px; background: var(--ink); color: var(--light); font-size: 14px; line-height: 20px; text-align: center; }
.archive a { color: var(--lilac); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.archive a:hover { color: #fff; }

/* navbar: white, pinned to the top, with a shadow once the page moves */
.navbar { position: sticky; top: 0; z-index: 50; padding: 14px 0; background: #fff; transition: box-shadow .5s ease-in-out; }
.navbar.nav-sticky { box-shadow: 0 0 10px 0 rgba(0, 0, 0, .06); }
.nav-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.logo { padding: 5px 0; }
.logo img { width: auto; height: 40px; }
.nav-links { display: flex; }
.nav-links a { margin: 0 20px; padding: 6px 0; font-size: 15px; font-weight: 600; line-height: 26px; color: var(--nav); transition: color .3s; }
.nav-links a:last-child { margin-right: 5px; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-toggle { display: none; padding: 4px 6px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.nav-toggle svg { display: block; width: 26px; height: 26px; fill: currentColor; }

/* buttons */
.btn { display: inline-flex; align-items: center; padding: 12px 30px; border: 1px solid var(--primary); border-radius: 50rem; background: var(--primary); color: #fff; font: 700 15px/1.5 "Nunito", sans-serif; box-shadow: 0 4px 20px rgba(94, 98, 255, .15); transition: all .5s; }
.btn:hover, .btn:focus-visible { border-color: var(--primary-hover); background: var(--primary-hover); box-shadow: 0 3px 10px rgba(94, 98, 255, .5); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }
.right-icon { margin-left: 8px; font-size: 19px; line-height: 0; }

/* hero */
.hero { padding: 92px 0 140px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 540fr) minmax(0, 445fr); column-gap: 125px; align-items: center; }
.hero-small-title { margin-bottom: 24px; font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); }
.main-title { margin-bottom: 24px; font-size: 2.8rem; font-weight: 700; line-height: 1.35; color: var(--primary); }
.hero-text { margin-bottom: 32px; }

/* sections */
.section { position: relative; padding: 100px 0; }
.bg-light { background: var(--light); }
.section-head { max-width: 540px; margin: 0 auto 48px; text-align: center; }
.head-title { font-size: 28px; }
.head-bold { margin-bottom: 24px; font-weight: 700; }
.head-sm { font-size: 24px; }
.upper { text-transform: uppercase; }
.title-border { margin: 16px auto; }
.section-head p { margin-bottom: 16px; }
#services_new .section-head { margin-bottom: 0; }
#services_new .section-head p { margin-bottom: 40px; }
.wordcloud { width: 1026px; margin: 0 auto 48px; border-radius: 5%; }

/* product: four alternating rows, then the sources funnel; soft lilac circles sit behind them */
.product { overflow: hidden; }
.product .container { position: relative; z-index: 1; }
.blob { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.blob-1 { top: -15.6vw; right: -11.4vw; width: 26.8vw; height: 26.8vw; background: linear-gradient(135deg, #f8f8fc 15%, #dddcf4); }
.blob-2 { top: 49.5vw; left: -12.4vw; width: 24.7vw; height: 24.7vw; background: linear-gradient(225deg, #f9f9fd 10%, #dcdcfc); }
.blob-3 { top: 115.3vw; right: -7.7vw; width: 21.8vw; height: 21.8vw; background: linear-gradient(135deg, #f8f8fc 15%, #d9d9f0); }
.feature { display: grid; grid-template-columns: minmax(0, 350fr) minmax(0, 730fr); column-gap: 30px; align-items: center; margin-bottom: 48px; }
.feature-right { grid-template-columns: minmax(0, 730fr) minmax(0, 350fr); }
.feature-right .product-illust { order: 2; }
.feature-right .feature-text { text-align: right; }
.product-illust { width: 100%; }
.feature-text { padding: 8px; }
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 74px; height: 74px; margin: 16px 0 24px; border-radius: 7% 50% 50% 50%; background: rgba(94, 98, 255, .08); color: var(--icon); transition: border-radius .3s; }
.service-icon:hover { border-radius: 50% 50% 7% 50%; }
.service-icon svg { width: 30px; height: 30px; fill: currentColor; }
.service-title { margin-bottom: 24px; font-size: 24px; }
.feature-text p { margin-bottom: 16px; }
.sources { display: grid; grid-template-columns: minmax(0, 445fr) minmax(0, 540fr); column-gap: 30px; align-items: center; max-width: 1015px; margin: 0 auto 48px; padding-top: 24px; }
.sources-img { width: 70%; margin: 0 auto; }
.title-md { margin-bottom: 24px; font-size: 32px; }
.sources-text p, .about-grid p { margin-bottom: 24px; }

/* the early access band */
.band { background: var(--primary) url("img/band-shapes.png") no-repeat 0 0; }
.band-grid { display: grid; grid-template-columns: minmax(0, 730fr) minmax(0, 350fr); column-gap: 30px; align-items: center; }
.band-title { margin-bottom: 24px; font-size: 32px; color: #fff; }
.text-white-70 { margin-bottom: 24px; color: rgba(255, 255, 255, .7); }
.pill-closed { justify-self: start; margin-left: 48px; padding: 11px 28px; border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 50rem; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.5; }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 445fr) minmax(0, 540fr); column-gap: 125px; align-items: center; }
.about-grid img { width: 100%; margin: 0 auto; }

/* contact: closed */
.closed { display: grid; justify-items: center; gap: 24px; max-width: 540px; margin: 0 auto; text-align: center; }
.closed p { font-size: 18px; text-wrap: balance; }

/* footer */
.footer { padding: 60px 0 0; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 350fr) minmax(0, 640fr); column-gap: 120px; }
.footer-grid img { width: auto; height: 40px; margin-bottom: 24px; }
.footer-desc, .footer-alt { color: rgba(251, 251, 251, .62); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 30px; }
.footer-list-title { margin-bottom: 16px; font-size: 18px; font-weight: 400; color: var(--light); }
.company-sub-menu li { padding: 8px 0; }
.company-sub-menu a { color: rgba(251, 251, 251, .62); transition: color .5s; }
.company-sub-menu a:hover { color: var(--light); }
.footer-alt { margin-top: 48px; padding: 16px 0; text-align: center; }

/* tablets and phones: one column, pictures first, centred text, a menu button */
@media (max-width: 991px) {
  .wordcloud { width: 100%; }
  .nav-toggle { display: block; }
  html.js .nav-links { display: none; }
  html.js .navbar.open .nav-links { display: flex; }
  .nav-links { flex-direction: column; flex-basis: 100%; padding: 8px 5px 4px; }
  .nav-links a, .nav-links a:last-child { margin: 0; }
  .hero { padding: 64px 0 100px; }
  .hero-grid, .feature, .feature-right, .sources, .band-grid, .about-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-img { margin-top: 48px; }
  .hero-img img { margin: 0 auto; }
  .feature { row-gap: 8px; }
  .feature-right .product-illust { order: 0; }
  .feature-text, .feature-right .feature-text, .sources-text { text-align: center; }
  .product-illust { max-width: 600px; margin: 0 auto; }
  .sources { row-gap: 32px; }
  .sources-img { width: min(70%, 312px); }
  .pill-closed { margin: 8px 0 0; }
  .about-grid { row-gap: 48px; }
  .about-grid img { max-width: 445px; }
  .footer-grid { row-gap: 32px; }
}
@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .footer { padding-top: 56px; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 425px) {
  .main-title { font-size: 2rem; }
  .title-md, .band-title { font-size: 28px; }
}
