.ap-hubspot-page {
  --ap-blue: #135cff;
  --ap-blue-dark: #0d3fc0;
  --ap-ink: #071126;
  --ap-muted: #5f6b7a;
  --ap-line: #e5eaf2;
  --ap-soft: #f6f8fc;
  --ap-soft-blue: #eef4ff;
  --ap-green-soft: #eaf8f0;
  --ap-green: #15834e;
  --ap-orange: #ff6b3d;
  color: var(--ap-ink);
}

.ap-hubspot-page * {
  box-sizing: border-box;
}

body.page-id-2252 .entry-hero,
body.page-id-2252 .entry-header,
body.page-id-2252 .page-title-wrap,
body.page-id-2252 .entry-title {
  display: none !important;
}

body.page-id-2252 #inner-wrap,
body.page-id-2252 #primary,
body.page-id-2252 .site-container,
body.page-id-2252 .content-container,
body.page-id-2252 .entry-content-wrap,
body.page-id-2252 .entry-content {
  max-width: none !important;
  width: 100% !important;
}

body.page-id-2252 .entry-content-wrap,
body.page-id-2252 .entry-content {
  padding: 0 !important;
  margin: 0 !important;
}

.ap-hubspot-container {
  max-width: 1180px;
  margin: 0 auto;
}

.ap-hubspot-section {
  padding: 74px 20px;
}

.ap-hubspot-hero {
  padding: 82px 20px 78px;
  background:
    radial-gradient(circle at 80% 40%, rgba(255, 107, 61, 0.12), transparent 28%),
    radial-gradient(circle at 70% 20%, rgba(19, 92, 255, 0.10), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  border-bottom: 1px solid var(--ap-line);
}

.ap-hubspot-breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 34px;
  color: var(--ap-muted);
  font-size: 13px;
  font-weight: 700;
}

.ap-hubspot-breadcrumbs a {
  color: var(--ap-blue) !important;
  text-decoration: none !important;
}

.ap-hubspot-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 520px);
  gap: 72px;
  align-items: center;
}

.ap-hubspot-eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff3ee;
  border: 1px solid #ffd7c7;
  color: #b23b16;
  font-size: 13px;
  font-weight: 850;
}

.ap-hubspot-hero h1 {
  max-width: 700px;
  margin: 0 0 22px;
  color: var(--ap-ink);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.ap-hubspot-hero p {
  max-width: 650px;
  margin: 0 0 30px;
  color: var(--ap-muted);
  font-size: 18px;
  line-height: 1.7;
}

.ap-hubspot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}

.ap-hubspot-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 9px;
  border: 1px solid var(--ap-blue);
  background: var(--ap-blue);
  color: #fff !important;
  font-weight: 850;
  text-decoration: none !important;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(19, 92, 255, 0.18);
}

.ap-hubspot-button:hover {
  background: var(--ap-blue-dark);
  border-color: var(--ap-blue-dark);
}

.ap-hubspot-button-secondary {
  background: #fff;
  color: var(--ap-blue) !important;
  box-shadow: none;
}

.ap-hubspot-button-secondary:hover {
  background: var(--ap-soft-blue);
  color: var(--ap-blue-dark) !important;
}

.ap-hubspot-flow {
  display: grid;
  gap: 17px;
}

.ap-hubspot-flow-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--ap-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(7, 17, 38, 0.07);
}

.ap-hubspot-flow-icon,
.ap-hubspot-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ap-soft-blue);
  color: var(--ap-blue);
  font-size: 22px;
  font-weight: 900;
}

.ap-hubspot-flow-icon-orange {
  background: #fff3ee;
  color: var(--ap-orange);
}

.ap-hubspot-flow-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.ap-hubspot-flow-card p {
  margin: 0;
  color: var(--ap-muted);
  font-size: 14px;
  line-height: 1.45;
}

.ap-hubspot-flow-arrow {
  text-align: center;
  color: var(--ap-muted);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
}

.ap-hubspot-problem {
  padding: 42px;
  border: 1px solid var(--ap-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 84% 55%, rgba(19, 92, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f2f6ff 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  align-items: center;
}

.ap-hubspot-problem h2,
.ap-hubspot-heading h2,
.ap-hubspot-final h2 {
  margin: 0 0 14px;
  color: var(--ap-ink);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.ap-hubspot-problem p,
.ap-hubspot-heading p {
  margin: 0 0 15px;
  color: var(--ap-muted);
  font-size: 17px;
  line-height: 1.65;
}

.ap-hubspot-problem strong {
  color: var(--ap-ink);
}

.ap-hubspot-problem-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.ap-hubspot-pdf-card,
.ap-hubspot-question-card {
  width: 118px;
  height: 144px;
  border-radius: 18px;
  border: 1px solid var(--ap-line);
  background: #fff;
  box-shadow: 0 16px 34px rgba(7, 17, 38, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ap-orange);
  font-size: 28px;
  font-weight: 900;
}

.ap-hubspot-question-card {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  color: var(--ap-blue);
  font-size: 42px;
}

.ap-hubspot-heading {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.ap-hubspot-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.ap-hubspot-data-card,
.ap-hubspot-use-card,
.ap-hubspot-status,
.ap-hubspot-quote,
.ap-hubspot-comparison,
.ap-hubspot-final-box {
  background: #fff;
  border: 1px solid var(--ap-line);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(7, 17, 38, 0.04);
}

.ap-hubspot-data-card {
  padding: 32px;
}

.ap-hubspot-card-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.ap-hubspot-data-card h3,
.ap-hubspot-use-card h3 {
  margin: 0;
  color: var(--ap-ink);
  font-size: 24px;
  letter-spacing: -0.035em;
}

.ap-hubspot-check-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ap-hubspot-check-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ap-ink);
  font-weight: 700;
  font-size: 15px;
}

.ap-hubspot-check-list li:before {
  content: "✓";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 999px;
  background: var(--ap-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.ap-hubspot-workflow-section {
  background: var(--ap-soft);
  border-top: 1px solid var(--ap-line);
  border-bottom: 1px solid var(--ap-line);
}

.ap-hubspot-timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.ap-hubspot-step {
  text-align: center;
  position: relative;
}

.ap-hubspot-step-number {
  width: 30px;
  height: 30px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: var(--ap-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}

.ap-hubspot-step-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 12px;
  border-radius: 22px;
  border: 1px solid var(--ap-line);
  background: #fff;
  color: var(--ap-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(7, 17, 38, 0.05);
}

.ap-hubspot-step p {
  margin: 0;
  color: var(--ap-ink);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.ap-hubspot-quote {
  max-width: 720px;
  margin: 34px auto 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, #ffffff 0%, #f3f7ff 100%);
  color: var(--ap-ink);
  font-size: 17px;
  line-height: 1.65;
  text-align: center;
}

.ap-hubspot-use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ap-hubspot-use-card {
  padding: 28px;
}

.ap-hubspot-use-card .ap-hubspot-icon {
  margin-bottom: 18px;
}

.ap-hubspot-use-card p {
  margin: 12px 0 0;
  color: var(--ap-muted);
  line-height: 1.6;
}

.ap-hubspot-status {
  margin-top: 28px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f6ff 100%);
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.ap-hubspot-status p {
  margin: 0;
  color: var(--ap-muted);
  line-height: 1.6;
}

.ap-hubspot-comparison {
  overflow: hidden;
}

.ap-hubspot-comparison table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.ap-hubspot-comparison th,
.ap-hubspot-comparison td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--ap-line);
  text-align: left;
  font-size: 15px;
}

.ap-hubspot-comparison th {
  background: var(--ap-soft);
  color: var(--ap-ink);
  font-size: 18px;
}

.ap-hubspot-comparison th:last-child {
  background: var(--ap-soft-blue);
  color: var(--ap-blue-dark);
}

.ap-hubspot-comparison tr:last-child td {
  border-bottom: 0;
}

.ap-hubspot-final {
  padding: 74px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
}

.ap-hubspot-final-box {
  padding: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  align-items: center;
}

.ap-hubspot-final p {
  max-width: 700px;
  margin: 0 0 26px;
  color: var(--ap-muted);
  font-size: 17px;
  line-height: 1.65;
}

.ap-hubspot-player-card {
  height: 150px;
  border-radius: 24px;
  border: 1px solid var(--ap-line);
  background: #fff;
  box-shadow: 0 20px 45px rgba(7, 17, 38, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ap-blue);
  font-size: 34px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .ap-hubspot-hero-grid,
  .ap-hubspot-problem,
  .ap-hubspot-final-box {
    grid-template-columns: 1fr;
  }

  .ap-hubspot-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .ap-hubspot-use-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .ap-hubspot-section,
  .ap-hubspot-hero,
  .ap-hubspot-final {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ap-hubspot-hero {
    padding-top: 54px;
  }

  .ap-hubspot-data-grid,
  .ap-hubspot-timeline {
    grid-template-columns: 1fr;
  }

  .ap-hubspot-actions {
    align-items: stretch;
  }

  .ap-hubspot-button {
    width: 100%;
  }

  .ap-hubspot-problem,
  .ap-hubspot-final-box {
    padding: 28px;
  }

  .ap-hubspot-comparison {
    overflow-x: auto;
  }

  .ap-hubspot-comparison table {
    min-width: 680px;
  }
}

/* HubSpot logo polish */
.ap-hubspot-flow-icon-logo,
.ap-hubspot-step-icon-logo {
  background: #fff3ee !important;
}

.ap-hubspot-flow-icon-logo img,
.ap-hubspot-step-icon-logo img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.ap-hubspot-player-card {
  gap: 14px;
  color: var(--ap-blue);
}

.ap-hubspot-player-card img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.ap-hubspot-player-play {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--ap-soft-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.ap-hubspot-player-wave {
  color: var(--ap-blue);
  letter-spacing: -0.16em;
  font-size: 24px;
  opacity: 0.72;
}

.ap-hubspot-player-arrow {
  color: var(--ap-muted);
  font-size: 22px;
}

/* Lead scoring and sales enablement section */
.ap-hubspot-scoring-section {
  background: #fff;
}

.ap-hubspot-scoring-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ap-hubspot-scoring-card {
  padding: 30px;
  border: 1px solid var(--ap-line);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 34px rgba(7, 17, 38, 0.045);
}

.ap-hubspot-scoring-card .ap-hubspot-icon {
  margin-bottom: 18px;
}

.ap-hubspot-scoring-card h3 {
  margin: 0 0 12px;
  color: var(--ap-ink);
  font-size: 24px;
  letter-spacing: -0.035em;
}

.ap-hubspot-scoring-card p {
  margin: 0;
  color: var(--ap-muted);
  font-size: 15px;
  line-height: 1.65;
}

.ap-hubspot-sales-example {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid #d9e6ff;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 20%, rgba(19, 92, 255, 0.12), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f0f6ff 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.ap-hubspot-sales-example strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ap-ink);
  font-size: 18px;
  letter-spacing: -0.025em;
}

.ap-hubspot-sales-example p {
  margin: 0;
  color: var(--ap-muted);
  line-height: 1.65;
}

@media (max-width: 980px) {
  .ap-hubspot-scoring-grid,
  .ap-hubspot-sales-example {
    grid-template-columns: 1fr;
  }
}

/* Team data value section */
.ap-hubspot-team-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-top: 1px solid var(--ap-line);
  border-bottom: 1px solid var(--ap-line);
}

.ap-hubspot-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ap-hubspot-team-card {
  padding: 28px;
  border: 1px solid var(--ap-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 17, 38, 0.045);
}

.ap-hubspot-team-card .ap-hubspot-icon {
  margin-bottom: 18px;
}

.ap-hubspot-team-card h3 {
  margin: 0 0 10px;
  color: var(--ap-ink);
  font-size: 24px;
  letter-spacing: -0.035em;
}

.ap-hubspot-team-card p {
  margin: 0;
  color: var(--ap-muted);
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .ap-hubspot-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .ap-hubspot-team-grid {
    grid-template-columns: 1fr;
  }
}

/* PDF logo polish */
.ap-hubspot-flow-icon-image,
.ap-hubspot-step-icon-image,
.ap-hubspot-pdf-card-image {
  background: #fff !important;
  overflow: hidden;
}

.ap-hubspot-flow-icon-image img,
.ap-hubspot-step-icon-image img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.ap-hubspot-pdf-card-image img {
  display: block;
  width: 82px;
  height: 82px;
  object-fit: contain;
}

/* Auripath favicon/source icon polish */
.ap-hubspot-flow-icon-auripath,
.ap-hubspot-step-icon-auripath {
  background: var(--ap-soft-blue) !important;
}

.ap-hubspot-flow-icon-auripath img,
.ap-hubspot-step-icon-auripath img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.ap-hubspot-player-card-branded {
  justify-content: center;
  gap: 14px;
  padding: 20px;
}

.ap-hubspot-player-card-branded img {
  display: block;
  object-fit: contain;
}

.ap-hubspot-player-auripath {
  width: 42px !important;
  height: 42px !important;
}

.ap-hubspot-player-hubspot {
  width: 42px !important;
  height: 42px !important;
}

/* Keep the normal Auripath footer width on the HubSpot integrations page */
body.page-id-2252 .site-footer .site-container,
body.page-id-2252 footer .site-container,
body.page-id-2252 .ap-site-footer {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-id-2252 .ap-site-footer {
  padding-left: 20px !important;
  padding-right: 20px !important;
}
