/*
 * Styles for the structured content types: solutions, demos, integrations,
 * case studies. Loaded only on those singles and archives.
 */

/* -------------------------------------------------------- statuses ------- */
/*
 * Availability must be readable at a glance: an integration that is only
 * planned should never look like one that ships today.
 */

.vpf-status {
  border: 1px solid transparent;
}

.vpf-status-available {
  background: rgba(18, 199, 164, .12);
  border-color: rgba(18, 199, 164, .35);
  color: #0a7c66;
}

.vpf-status-coming_soon {
  background: rgba(234, 165, 12, .12);
  border-color: rgba(234, 165, 12, .35);
  color: #8a6100;
}

.vpf-status-planned {
  background: rgba(105, 119, 138, .12);
  border-color: rgba(105, 119, 138, .3);
  color: var(--vpf-muted, #69778a);
}

.vpf-status-note {
  color: var(--vpf-muted, #69778a);
  margin: 16px 0 0;
  max-width: 60ch;
}

.vpf-integrations-coming_soon .vpf-card,
.vpf-integrations-planned .vpf-card {
  background: var(--vpf-cloud, var(--vpf-cloud));
}

.vpf-integration-thumb img,
.vpf-integration-logo img {
  height: auto;
  max-width: 140px;
}

.vpf-integration-logo {
  display: grid;
  place-items: center;
  padding: 32px;
}

/* ------------------------------------------------------------- demo ------ */

.vpf-demo-frame {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--vpf-line, var(--vpf-line));
  border-radius: 18px;
  overflow: hidden;
  background: var(--vpf-cloud, var(--vpf-cloud));
}

.vpf-demo-frame iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.vpf-demo-media img,
.vpf-case-media img,
.vpf-solution-media img {
  border-radius: 14px;
  display: block;
  height: auto;
  width: 100%;
}

/* -------------------------------------------------------- solutions ------ */

.vpf-solution-outcome {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.45;
  margin: 14px 0 0;
}

.vpf-card-outcome {
  align-items: baseline;
  color: var(--vpf-muted, #69778a);
  display: flex;
  flex-wrap: wrap;
  font-size: 15px;
  gap: 8px;
}

/* ------------------------------------------------------------ quote ------ */

.vpf-quote {
  border-left: 4px solid var(--vpf-primary, var(--vpf-primary));
  margin: 0;
  max-width: 68ch;
  padding-left: 28px;
}

/*
 * main.css already styles every blockquote with its own left border, padding,
 * background and italics. Reset it here so the figure's border is not doubled.
 */
.vpf-quote blockquote {
  background: none;
  border: 0;
  font-style: normal;
  margin: 0;
  padding: 0;
}

.vpf-quote p {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.45;
  margin: 0;
}

.vpf-quote figcaption {
  color: var(--vpf-muted, #69778a);
  font-size: 15px;
  margin-top: 16px;
}

/* ---------------------------------------------- product facts strip ------ */
/*
 * Shared by the home page (profile facts) and case studies (result metrics),
 * so it lives here rather than in home.css, which only loads on the front page.
 */
.vpf-product-facts {
  background: var(--vpf-cloud, var(--vpf-cloud));
  border-block: 1px solid var(--vpf-line, var(--vpf-line));
  padding: 56px 0;
}

.vpf-product-facts-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  margin: 0 0 28px;
  text-transform: uppercase;
  color: var(--vpf-muted, #69778a);
}

.vpf-product-facts-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin: 0;
}

.vpf-product-fact dt {
  color: var(--vpf-ink, var(--vpf-ink));
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.vpf-product-fact dd {
  color: var(--vpf-muted, #69778a);
  font-size: 15px;
  line-height: 1.5;
  margin: 6px 0 0;
}

.vpf-product-facts-note {
  color: var(--vpf-muted, #69778a);
  font-size: 15px;
  margin: 28px 0 0;
  max-width: 70ch;
}

.vpf-product-facts-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0 0;
}


/* ------------------------------------------------ page templates -------- */

.vpf-landing-intro {
  max-width: 62ch;
}

/*
 * A landing page is built from blocks, so the editor content is not wrapped in
 * the reading measure — full-width and wide blocks behave as authored.
 */
.vpf-landing-body > .alignfull {
  margin-inline: calc(50% - 50vw);
  max-width: 100vw;
}

.vpf-content-page-header {
  border-bottom: 1px solid var(--vpf-line, var(--vpf-line));
  margin-bottom: 44px;
  padding-bottom: 32px;
}

.vpf-content-page-header .vpf-title {
  margin-top: 12px;
}

.vpf-full-width > .alignfull,
.vpf-full-width > .alignwide {
  margin-inline: 0;
  max-width: none;
}
