/* corjlweb site styles.
 *
 * Written to reproduce www.corjl.com as it looked when it moved off WordPress, so
 * some values (negative offsets, odd paddings) carry over deliberately. Breakpoints:
 * 576, 768, 1020 (layout), 1030 (header switches to the desktop menu), 1370.
 */

/* ---------------------------------------------------------------- tokens */

:root {
  --red: #d63e36;
  --teal: #086674;
  --teal-light: #3c99a7;
  --yellow: #f5b461;
  --light: #f7f8f8;
  --dark: #444546;
  --gray: #676f78;
  --text: #1b1b1b;
  --white: #fff;
  --font-sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-heading: Montserrat, sans-serif;
  --shadow: 10px 8px 37px rgba(8, 102, 116, 0.1);
}

/* ---------------------------------------------------------------- base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  text-align: left;
  background-color: var(--white);
  overflow-x: clip;
}

/* The desktop header is fixed; the page starts 3rem down and the header overlaps it. */
@media (min-width: 1030px) and (orientation: landscape) {
  body {
    margin-top: 3rem;
  }
}

h1, h2, h3, h4, h5, h6, p {
  margin-top: 0;
  margin-bottom: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.25;
}

ul, ol {
  margin-top: 0;
  margin-bottom: 1rem;
}

b, strong {
  font-weight: 800;
}

a {
  color: var(--red);
  text-decoration: none;
  background-color: transparent;
  transition: all 0.25s ease-in-out;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}

svg {
  overflow: hidden;
  vertical-align: middle;
}

button {
  font-family: inherit;
}

.icon {
  display: inline-block;
  vertical-align: -0.125em;
}

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.5rem 1rem;
  background: var(--white);
  color: var(--teal);
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
}

/* Elements that fade in when scrolled to (site.js adds .is-visible). */
.reveal {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.reveal.is-visible,
.no-js .reveal {
  opacity: 1;
}

/* Layout grid: a centred container and 20px-gutter rows of columns. */
.container {
  width: 100%;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container { max-width: 540px; }
}

@media (min-width: 768px) {
  .container { max-width: 720px; }
}

@media (min-width: 1020px) {
  .container { max-width: 980px; }
}

@media (min-width: 1370px) {
  .container { max-width: 1330px; }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -20px;
  margin-left: -20px;
}

.col {
  position: relative;
  width: 100%;
  padding-right: 20px;
  padding-left: 20px;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .col-md { flex-basis: 0; flex-grow: 1; max-width: 100%; }
  .col-md-4 { flex: 0 0 33.3333333333%; max-width: 33.3333333333%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-7 { flex: 0 0 58.3333333333%; max-width: 58.3333333333%; }
}

@media (min-width: 1020px) {
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
}

/* Columns whose side padding follows the container edge at each breakpoint. */
@media (min-width: 576px) {
  .col--edge { padding-left: calc(50vw - 270px); padding-right: calc(50vw - 270px); }
}

@media (min-width: 768px) {
  .col--edge { padding-left: 0; padding-right: 0; }
}

/* Teal pill button with a white sweep on hover. */
.button {
  display: inline-block;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  background-color: var(--teal);
  background-size: 200% 100%;
  border: 1px solid var(--teal);
  min-height: 2.5rem;
  transition: background-position 0.4s, color 0.4s;
  cursor: pointer;
}

.button:hover {
  color: var(--teal);
  background-color: var(--white);
  background-image: linear-gradient(90deg, var(--teal) 50%, var(--white) 0);
  background-position: -100% 0;
}

/* Section headings ("How Corjl works", "FAQs"). */
.section-heading {
  font-size: 2.8125rem;
  line-height: 1.22;
  color: var(--teal);
  margin-bottom: 1rem;
}

@media (max-width: 1200px) {
  .section-heading { font-size: calc(1.40625rem + 1.875vw); }
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background-color: var(--white);
  transition: top 0.5s ease-in-out;
}

@media (max-width: 1030px) {
  .site-header { z-index: 9999; }
}

.site-header a,
.site-header__toggle {
  display: inline-block;
  padding: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.site-header ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
  padding: 0.3125rem 0 0.625rem;
}

@media (min-width: 1030px) {
  .site-header__inner { max-width: 980px; }
}

@media (min-width: 1370px) {
  .site-header__inner { max-width: 1330px; }
}

.site-header__primary {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  width: 77%;
}

.site-header a.site-header__logo {
  display: block;
  max-width: 100px;
}

.site-header__logo img {
  position: relative;
  margin-bottom: -14px;
}

.site-header__actions {
  display: flex;
  align-items: center;
}

.site-header__cta {
  display: block;
  margin-right: 1rem;
}

@media (min-width: 1370px) {
  .site-header__cta { margin-right: 0.5rem; }
}

.site-header a.site-header__edit {
  font-size: 0.95rem;
  color: var(--white);
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  background-color: var(--teal);
  background-size: 200% 100%;
  border: 1px solid var(--teal);
  border-radius: 1.875rem;
  min-height: 2.5rem;
  margin: 0 15px -13px 0;
  padding: 10px 2rem;
  transition: background-position 0.4s, color 0.4s;
}

.site-header a.site-header__edit:hover {
  color: var(--teal);
  background-color: var(--white);
  background-image: linear-gradient(90deg, var(--teal) 50%, var(--white) 0);
  background-position: -100% 0;
}

@media (max-width: 1369px) {
  .site-header a.site-header__edit {
    margin-right: 0;
    padding: 11px 1rem 10px;
    font-size: 0.85rem;
  }
}

@media (max-width: 767px) {
  .site-header a.site-header__edit { font-size: 0.8rem; }
}

.site-header a.site-header__login {
  position: relative;
  padding: 28px 15px 20px 30px;
  color: var(--dark);
}

.site-header__login-icon {
  position: absolute;
  top: 28px;
  left: 10px;
  color: var(--red);
}

.site-header__toggle {
  display: none;
  position: relative;
  z-index: 9999;
  padding: 16px 10px 10px;
  font-size: 1.4rem;
  color: var(--red);
  background: none;
  border: 0;
  cursor: pointer;
}

.site-header__toggle-close,
.nav-open .site-header__toggle-open {
  display: none;
}

.nav-open .site-header__toggle-close {
  display: inline-block;
}

/* Main navigation: inline on desktop, a sliding panel below 1030px. */
.site-nav {
  width: 100%;
}

.site-nav__list {
  width: 100%;
}

.site-nav__item--right {
  float: right;
}

.site-nav__login,
.site-nav__social {
  display: none;
}

@media (min-width: 1030px) {
  .site-nav {
    margin-left: 1.05rem;
  }

  .site-nav__item {
    position: relative;
    display: inline-block;
  }

  .site-nav__item > a {
    color: var(--dark);
  }

  .site-nav__item > a:hover,
  .site-nav__item.is-current > a {
    color: var(--teal);
  }
}

/* Menu links keep this padding in the mobile panel too, as on the live site. */
.site-header .site-nav__item > a {
  padding: 28px 20px 20px 15px;
}

@media (min-width: 1370px) {
  .site-header .site-nav__item > a { padding-right: 30px; }
}

@media (max-width: 1029px) {
  .site-header__toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 100%;
    height: 100%;
    overflow-y: scroll;
    padding: 90px 33px 70px;
    background: var(--teal);
    transition: left 0.4s ease-in-out;
  }

  .nav-open {
    overflow-y: hidden;
  }

  .nav-open .site-nav {
    left: 20%;
  }

  .nav-open .site-header__toggle {
    color: var(--white);
  }

  .site-nav__item {
    position: relative;
    margin-bottom: 6px;
  }

  .site-nav__item--inline {
    display: inline-block;
  }

  .site-nav a {
    display: block;
    color: var(--white);
  }

  .site-nav__item > a,
  .site-nav__login a {
    font-size: 26px;
    font-weight: 700;
  }

  .site-nav__login {
    display: block;
  }

  .site-nav__social {
    display: block;
    margin-top: 3rem;
  }

  .site-nav__social .social {
    display: flex;
  }

  .site-nav__social .social__link {
    padding: 10px 3px 10px 10px;
    font-size: 1.5rem;
  }
}

/* Nav items that open a menu (the seller nav): a button, and a panel of links with an
   optional icon and description, in groups. A plain version until the new design. */
.site-nav__toggle {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.site-header .site-nav__toggle {
  padding: 28px 20px 20px 15px;
}

.site-nav__chevron {
  margin-left: 0.4em;
  font-size: 0.7em;
  transition: transform 0.2s;
}

.site-nav__toggle[aria-expanded="true"] .site-nav__chevron {
  transform: rotate(180deg);
}

.site-nav__menu[hidden] {
  display: none;
}

.site-nav__group-title {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-header .site-nav__link {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
  font-size: 0.9rem;
  line-height: 1.3;
}

.site-nav__link-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.site-nav__link-title {
  display: block;
  font-weight: 700;
}

.site-nav__link-description {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
}

.site-nav__toggle:focus-visible,
.site-nav__link:focus-visible {
  outline: 2px solid var(--teal-light);
  outline-offset: 2px;
}

@media (min-width: 1030px) {
  .site-nav__toggle {
    color: var(--dark);
  }

  .site-nav__toggle:hover,
  .site-nav__toggle[aria-expanded="true"] {
    color: var(--teal);
  }

  .site-nav__menu {
    position: absolute;
    z-index: 10;
    top: 100%;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    width: max-content;
    max-width: 860px;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .site-nav__menu > .site-nav__links {
    flex-basis: 100%;
  }

  .site-nav__group {
    min-width: 190px;
  }

  .site-nav__chevron {
    color: var(--red);
  }

  .site-nav__group-title,
  .site-header .site-nav__link {
    color: var(--teal);
  }

  .site-nav__link:hover .site-nav__link-title {
    color: var(--teal-light);
  }

  .site-nav__link-description {
    color: var(--gray);
  }
}

@media (max-width: 1029px) {
  .site-header .site-nav__toggle {
    padding: 28px 20px 20px 15px;
    font-size: 26px;
    color: var(--white);
  }

  .site-nav__menu {
    padding: 0 0 0.75rem 15px;
  }

  .site-nav__group {
    margin-top: 0.75rem;
  }

  .site-nav__group-title,
  .site-nav__link-description {
    color: var(--white);
    opacity: 0.8;
  }
}

/* Social icons (mobile menu and footer). */
.social {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.social__item {
  display: inline-block;
  margin-right: 1rem;
}

.social__link {
  color: var(--white);
  font-size: 1.375rem;
  line-height: 1;
}

.social__link:hover .icon {
  transition: all 0.25s ease-out;
  transform: translateY(-1px);
}

.social__link:hover .icon-facebook { color: #0071bb; }
.social__link:hover .icon-youtube { color: #cc5e5e; }
.social__link:hover .icon-pinterest { color: #cc2127; }

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding: 0 0 4.6875rem;
  background-color: var(--light);
  color: var(--dark);
}

.hero__frame {
  position: relative;
}

@media (min-width: 768px) {
  .hero__frame { height: 600px; }
}

@media (min-width: 1020px) {
  .hero__frame { height: 700px; }
}

.hero__container,
.hero__row {
  position: relative;
  z-index: 1;
  height: 100%;
}

.hero__row {
  align-items: flex-end;
  justify-content: flex-start;
}

.hero__media {
  order: 13;
  align-self: center;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .hero__media { padding: 0 0 0 1rem; }
}

.hero__body {
  display: block;
  top: -80px;
  margin-top: -75px;
}

@media (min-width: 576px) {
  .hero__body { padding-left: calc(50vw - 270px); }
}

@media (min-width: 768px) {
  .hero__body { padding-left: 0; padding-right: 1.5rem; }
}

@media (min-width: 1020px) {
  .hero__body { padding-right: 3rem; }
}

@media (min-width: 1370px) {
  .hero__body { padding-right: 6rem; }
}

.hero__image {
  position: relative;
  width: auto;
  height: auto;
  max-width: 120%;
  margin-top: 100px;
  margin-left: -62px;
}

.hero__eyebrow-wrap {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--gray);
  font-size: 24px;
  font-weight: 800;
}

.hero__eyebrow {
  display: block;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #4b5563;
}

.hero__heading {
  margin-bottom: 1rem;
  font-size: 3.75rem;
  line-height: 1.2;
  color: var(--teal);
  overflow: hidden;
}

@media (max-width: 1200px) {
  .hero__heading { font-size: calc(1.5rem + 3vw); }
}

@media (max-width: 1024px) {
  .hero__heading { font-size: calc(1.40625rem + 1.875vw); }
}

.hero__accent {
  color: var(--teal-light);
}

.hero__text p {
  font-size: 18px;
  line-height: 1.38;
}

.hero__text a {
  color: var(--teal);
}

.hero .hero__button {
  margin: 20px 15px -13px 0;
  padding: 10px 1.75rem 10px 2.25rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--white);
  border-radius: 0.875rem;
}

.hero .hero__button:hover {
  color: var(--teal);
}

.hero__button-icon {
  box-sizing: content-box;
  padding-left: 10px;
}

.hero__text .hero__note {
  padding-top: 10px;
  font-size: 15px;
  font-weight: 400;
}

.hero__note a {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.38;
}

@media (max-width: 767.98px) {
  .hero__content {
    text-align: center;
    margin-bottom: 2rem;
  }

  .hero__heading {
    margin-top: 5rem;
  }
}

/* ---------------------------------------------------------------- steps */

.steps-intro {
  position: relative;
  padding: 4.6875rem 0 4rem;
  background-color: var(--light);
  color: #000;
}

.steps-intro__col {
  padding-top: 1.5rem;
}

@media (min-width: 1020px) {
  .steps-intro__col { padding-top: 3rem; }
}

.steps-intro__row {
  align-items: center;
  justify-content: flex-start;
  padding: 0 1.5rem;
}

.steps-intro__heading {
  color: #141413;
}

.steps-intro__text {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: #45453e;
}

.steps-intro__text a {
  color: var(--teal);
  font-size: 18px;
  line-height: 1.38;
}

.steps-intro__text br {
  display: none;
}

@media (min-width: 768px) {
  .steps-intro__text br { display: block; }
}

.steps__frame {
  background: var(--white);
}

.steps__inner {
  max-width: 1300px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .steps__inner { margin: 0 30px; }
}

.steps__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  min-height: 248px;
  padding: 24px 23px 22px;
  background: #f7f6f1;
  border: 1px solid #e8e6de;
  border-radius: 14px;
}

.step__number {
  margin-bottom: 15px;
  font-family: monospace;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1.2px;
  color: #4d4d46;
}

.step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 72px;
  margin-bottom: 17px;
  background: var(--white);
  border: 1px solid #ddd9cf;
  border-radius: 5px;
}

.step__icon svg {
  display: block;
}

.step__name-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 25px;
  border: 2px solid #168a93;
  color: #242420;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.step__title {
  margin: 0 0 9px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.25px;
  color: #1b1b18;
}

.step__text {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: #45453e;
}

@media (max-width: 767px) {
  .steps__frame { padding: 30px 0; }
  .steps__inner { margin: 0 20px; }

  .steps__list {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 22px;
  }

  .step { min-height: auto; }
}

.spacer {
  padding: calc(4.6875rem + 1.5rem) 0 4.6875rem;
  background-color: var(--light);
}

@media (min-width: 1020px) {
  .spacer { padding-top: calc(4.6875rem + 3rem); }
}

/* ---------------------------------------------------------------- faq */

.faq {
  position: relative;
  padding: 4.6875rem 0;
  background-color: var(--light);
  color: var(--dark);
}

.faq__media-col {
  order: -1;
  padding: 0;
}

.faq__media {
  position: relative;
  height: 15.625rem;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 768px) {
  .faq__media { height: 100%; min-height: 31.25rem; }
}

@media (min-width: 1020px) {
  .faq__media { min-height: 40.625rem; }
}

@media (min-width: 1370px) {
  .faq__media { min-height: 50rem; }
}

.faq__play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 4.6875rem;
  height: 4.6875rem;
  transform: translate(-50%, -50%);
  border-radius: 100%;
  background-color: var(--white);
  color: var(--teal);
  font-size: 18px;
  line-height: 4.6875rem;
  text-align: center;
}

@media (min-width: 1020px) {
  .faq__play {
    width: 6.25rem;
    height: 6.25rem;
    font-size: 2.421875rem;
    line-height: 6.25rem;
  }
}

.faq__body {
  padding-top: 1.5rem;
}

@media (min-width: 1020px) {
  .faq__body { padding-top: 3rem; }
}

.faq__heading-row {
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  text-align: center;
}

.faq__columns {
  justify-content: center;
  padding-top: 3rem;
}

.faq__list {
  overflow-x: hidden;
  overflow-anchor: none;
}

.faq__item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-bottom: 0.3125rem;
  padding: 12px;
  overflow: hidden;
  word-wrap: break-word;
}

/* An open item is lifted: shadow, all corners rounded, more space below. */
.faq__item.is-open {
  margin-bottom: 0.9375rem;
  border-radius: 0.875rem;
  box-shadow: var(--shadow);
}

@media (min-width: 1370px) {
  .faq__item { display: block; max-width: 900px; }
}

.faq__item:first-child {
  border-top-left-radius: 0.875rem;
  border-top-right-radius: 0.875rem;
}

.faq__item:last-child {
  border-bottom-left-radius: 0.875rem;
  border-bottom-right-radius: 0.875rem;
}

.faq__question {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 3px;
  padding: 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.38;
  text-align: left;
  color: #000;
  background-color: var(--white);
  border: 1px solid transparent;
  border-radius: 0.875rem;
  white-space: normal;
  vertical-align: middle;
  user-select: none;
  cursor: pointer;
}

.faq__question[aria-expanded="true"] {
  margin-bottom: 0;
  border-radius: 0.875rem 0.875rem 0 0;
}

@media (min-width: 768px) {
  .faq__question span { font-size: 18px; }
}

.faq__icon {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--red);
}

.faq__icon--close,
.faq__question[aria-expanded="true"] .faq__icon--open {
  display: none;
}

.faq__icon--open,
.faq__question[aria-expanded="true"] .faq__icon--close {
  display: block;
}

.faq__answer {
  overflow: hidden;
  transition: height 0.35s ease;
}

.faq__answer-body {
  padding: 0 1.25rem 0.625rem;
  color: #000;
  background-color: var(--white);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

@media (min-width: 768px) {
  .faq__answer-body { padding-bottom: 1.25rem; }
}

.faq__answer-body * {
  font-size: 0.875rem;
}

.faq__answer-body p {
  line-height: 1.38;
}

.faq__answer-body a {
  color: var(--teal);
}

/* ---------------------------------------------------------------- search */

/* The header is fixed and overlaps the top of the page, at every width. */
.search {
  padding: 7rem 0 4rem;
}

.search__label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.search__row {
  display: flex;
  gap: 0.75rem;
  max-width: 640px;
}

.search__input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 1rem;
  font: inherit;
  color: var(--text);
  border: 1px solid #c9ced3;
  border-radius: 1.875rem;
}

.search__input:focus-visible,
.search__button:focus-visible,
.search__more:focus-visible,
.search__template a:focus-visible,
.search__page a:focus-visible {
  outline: 2px solid var(--teal-light);
  outline-offset: 2px;
}

.search__button {
  padding: 0.5rem 1.5rem;
  border-radius: 1.875rem;
}

.search__status {
  margin: 1.5rem 0;
  color: var(--gray);
}

.search__group {
  margin-top: 2rem;
}

.search__group-title {
  font-size: 1.5rem;
  color: var(--teal);
}

.search__templates,
.search__pages {
  padding: 0;
  margin: 0;
  list-style: none;
}

.search__templates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}

.search__template a {
  display: block;
  color: var(--dark);
  text-decoration: none;
}

.search__template img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--light);
  border-radius: 8px;
}

.search__template span {
  display: -webkit-box;
  margin-top: 0.5rem;
  overflow: hidden;
  font-size: 0.85rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.search__template a:hover span {
  color: var(--teal);
}

.search__more {
  margin-top: 1.5rem;
  padding: 0.5rem 1.5rem;
  font: inherit;
  font-weight: 700;
  color: var(--teal);
  background: none;
  border: 1px solid var(--teal);
  border-radius: 1.875rem;
  cursor: pointer;
}

.search__page {
  padding: 1rem 0;
  border-bottom: 1px solid #e5e8eb;
}

.search__page a {
  font-weight: 700;
  color: var(--teal);
}

.search__page p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--gray);
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  position: relative;
  padding: 4.6875rem 0;
  background: var(--teal);
  color: var(--white);
}

.site-footer__top {
  flex-direction: column;
}

@media (min-width: 768px) {
  .site-footer__top {
    flex-direction: row;
    justify-content: flex-end;
  }
}

@media (min-width: 1370px) {
  .site-footer__top { margin-right: 3rem; margin-left: 3rem; }
}

.site-footer__button {
  display: block;
  width: 16.25rem;
  min-height: 2.5rem;
  margin: auto auto 1.5rem;
  padding: 0.4375rem 2rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--white);
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  background-color: transparent;
  background-size: 200% 100%;
  border: 1px solid var(--white);
  border-radius: 1.875rem;
  transition: background-position 0.4s, color 0.4s;
  cursor: pointer;
}

.site-footer__button:hover {
  color: var(--teal);
  background-color: var(--white);
  background-image: linear-gradient(90deg, var(--teal) 50%, var(--white) 0);
  background-position: -100% 0;
}

@media (min-width: 768px) {
  .site-footer__button { width: 12.9375rem; }
}

@media (min-width: 1020px) {
  .site-footer__button { margin-right: 1rem; margin-left: 1rem; }
}

.site-footer__menus {
  justify-content: flex-start;
  padding: 1.5rem 0 3rem;
}

.site-footer__column {
  padding-bottom: 1rem;
}

.site-footer__column:last-child {
  padding-bottom: 0;
}

/* Footer menus keep the WordPress list shape: each item is a 16px line holding a
   larger link, which is what sets the spacing between items. */
.footer-menu,
.footer-menu ul {
  padding-left: 0;
  list-style: none;
}

.footer-menu ul {
  margin-bottom: 0;
}

.footer-menu li {
  text-align: center;
  transition: all 0.4s ease;
}

@media (min-width: 768px) {
  .footer-menu li { text-align: left; }
}

.footer-menu a,
.footer-menu__label {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.38;
  color: var(--white);
}

.footer-menu .footer-menu__title {
  font-size: 1.8125rem;
}

/* Footer links fill yellow from the left on hover. Labels are drawn the same way so
   their text renders identically, without the hover. */
.footer-menu a,
.footer-menu__label,
.site-footer__legal-links a {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, var(--yellow), var(--yellow) 50%, var(--white) 0);
  background-size: 200% 100%;
  background-position: 100%;
}

.footer-menu a:hover,
.site-footer__legal-links a:hover {
  transition: all 0.35s cubic-bezier(0, 0, 0.23, 1);
  background-position: 0;
}

/* Platform */
.footer-menu--links > li > ul {
  margin-top: 1.25rem;
}

.footer-menu--links > li > ul > li {
  margin: 6px 0;
}

/* Support */
.footer-menu--groups .footer-menu__group {
  margin-top: 1.1rem;
}

.footer-menu--groups .footer-menu__group li {
  line-height: 1.35;
}

.footer-menu--groups .footer-menu__group li:first-child {
  margin-top: 0.5rem;
}

.footer-menu--groups .footer-menu__group a {
  font-size: 0.875rem;
  font-weight: 400;
}

/* Integrations */
.footer-menu--columns > li:last-of-type {
  margin-bottom: 1.75rem;
}

.footer-menu--columns ul {
  margin: 0.5rem 0;
  font-size: 18px;
  font-weight: 700;
}

.footer-menu--columns li li {
  margin: 0;
  line-height: 1.15;
}

.footer-menu--columns li li:first-child {
  margin-top: 0.5rem;
}

.footer-menu--columns li li:last-child {
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-menu--columns li li:last-child { margin-bottom: 3rem; }
}

.footer-menu--columns .footer-menu__group:first-child {
  position: relative;
  top: 10px;
}

.footer-menu--columns .footer-menu__group:first-child li:first-child {
  margin-top: 10px;
}

.footer-menu--columns .footer-menu__group a {
  font-size: 0.875rem;
  font-weight: 400;
}

.site-footer__bottom {
  flex-direction: column-reverse;
  align-items: center;
  padding-top: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer__bottom { justify-content: space-between; }
}

@media (min-width: 1020px) {
  .site-footer__bottom {
    flex-direction: row;
    margin-top: 1rem;
  }
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1020px) {
  .site-footer__legal { flex-direction: row; }
}

.site-footer__logo-wrap {
  margin: 3rem auto 1.5rem;
}

@media (min-width: 1020px) {
  .site-footer__logo-wrap { margin: auto 1rem auto auto; }
}

.site-footer__fine-print {
  display: flex;
  flex-direction: column-reverse;
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .site-footer__fine-print {
    flex-direction: row;
    margin-top: 0.9375rem;
  }
}

.site-footer__legal-links {
  display: inline-block;
  margin-top: 1rem;
  padding-left: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .site-footer__legal-links { margin-top: auto; margin-left: 1rem; }
}

.site-footer__legal-links li {
  display: inline-block;
  font-size: 0.75rem;
  transition: all 0.4s ease;
}

.site-footer__legal-links li:not(:last-child) {
  margin-right: 0.5rem;
}

@media (min-width: 768px) {
  .site-footer__legal-links li:not(:last-child) { margin-right: 1rem; }
}

.site-footer__legal-links a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  line-height: 1.38;
  color: var(--white);
}

.site-footer__social {
  margin-left: 3rem;
}

@media (min-width: 768px) {
  .site-footer__social { margin-left: 1.5rem; }
}

.site-footer__social .icon {
  margin-right: 1rem;
}

/* An SVG's baseline is its bottom margin edge, where a font icon's is the glyph
   baseline, so a bottom margin is offset in vertical-align to keep the same line. */
@media (min-width: 768px) and (max-width: 1019.98px) {
  .site-footer__social .icon {
    margin: 1rem 1.15rem;
    vertical-align: calc(-0.125em - 1rem);
  }
}

.site-footer__social .social__link:hover .icon {
  color: var(--yellow);
}

/* ---------------------------------------------------------------- modal */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  overflow-x: hidden;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.5);
}

.modal[hidden] {
  display: none;
}

@media (min-width: 768px) {
  .modal {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.modal__dialog {
  position: relative;
  margin: 6rem 1rem;
  background-color: var(--white);
  border-radius: 1.875rem;
}

@media (min-width: 768px) {
  .modal__dialog { width: 100%; max-width: 700px; margin: auto; }
}

@media (min-width: 1020px) and (orientation: landscape) {
  .modal__dialog { max-width: 66.1875rem; }
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  z-index: 1;
  padding: 0.5rem;
  font-size: 1.25rem;
  color: var(--dark);
  background: none;
  border: 0;
  cursor: pointer;
}

.modal__body {
  display: flex;
}

.modal__image {
  display: none;
  flex: 0 0 41.6666666667%;
  max-width: 41.6666666667%;
}

.modal__image img {
  height: 100%;
  object-fit: cover;
  border-radius: 1.875rem 0 0 1.875rem;
}

@media (min-width: 768px) {
  .modal__image { display: block; }
}

.modal__text {
  flex: 1 1 0;
  padding: 3rem 2rem;
  color: var(--dark);
}

@media (min-width: 768px) {
  .modal__text { padding: 3rem; }
}

.newsletter-form label {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
}

.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font: inherit;
  border: 1px solid #c3c3c3;
  border-radius: 0.5rem;
}

.newsletter-form .required {
  color: red;
}

.newsletter-form__title {
  font-weight: 700;
}

.newsletter-form__captcha {
  margin-top: 1rem;
}

.newsletter-form__submit {
  margin-top: 20px;
  padding: 0.4375rem 2rem;
  font-weight: 600;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 1.875rem;
  cursor: pointer;
}

/* ---------------------------------------------------------------- video modal */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(30, 30, 30, 0.87);
}

.video-modal__frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
}

.video-modal__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  padding: 0.25rem 0.5rem;
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
  background: none;
  border: 0;
  cursor: pointer;
}
